78 references to ValidateHasParameter
Microsoft.Build.Tasks.UnitTests (78)
AxImp_Tests.cs (10)
29
CommandLine.
ValidateHasParameter
(t, testParameterValue, false /* no response file */);
45
CommandLine.
ValidateHasParameter
(t, testParameterValue, false /* no response file */);
64
CommandLine.
ValidateHasParameter
(
83
CommandLine.
ValidateHasParameter
(t, @"/nologo", false /* no response file */);
103
CommandLine.
ValidateHasParameter
(
126
CommandLine.
ValidateHasParameter
(
149
CommandLine.
ValidateHasParameter
(
172
CommandLine.
ValidateHasParameter
(
194
CommandLine.
ValidateHasParameter
(
216
CommandLine.
ValidateHasParameter
(
AxTlbBaseTask_Tests.cs (7)
35
CommandLine.
ValidateHasParameter
(
64
CommandLine.
ValidateHasParameter
(t, @"/keycontainer:" + badParameterValue, false /* no response file */);
79
CommandLine.
ValidateHasParameter
(t, @"/keycontainer:" + goodParameterValue, false /* no response file */);
117
CommandLine.
ValidateHasParameter
(
147
CommandLine.
ValidateHasParameter
(
155
CommandLine.
ValidateHasParameter
(
188
CommandLine.
ValidateHasParameter
(
CommandLine_Support.cs (1)
56
return
ValidateHasParameter
(t, parameter, true /* use response file */);
LC_Tests.cs (14)
33
CommandLine.
ValidateHasParameter
(task, "/complist:complist.licx", false /* don't use response file */);
34
CommandLine.
ValidateHasParameter
(task, "/complist:othersrc.txt", false /* don't use response file */);
35
CommandLine.
ValidateHasParameter
(task, "/target:target.exe", false /* don't use response file */);
36
CommandLine.
ValidateHasParameter
(task, "/outdir:bin\\debug", false /* don't use response file */);
37
CommandLine.
ValidateHasParameter
(task, "/i:LicensedControl.dll", false /* don't use response file */);
38
CommandLine.
ValidateHasParameter
(task, "/i:OtherControl.dll", false /* don't use response file */);
39
CommandLine.
ValidateHasParameter
(task, "/nologo", false /* don't use response file */);
58
CommandLine.
ValidateHasParameter
(task, "/complist:complist.licx", true /* use response file */);
59
CommandLine.
ValidateHasParameter
(task, "/complist:othersrc.txt", true /* use response file */);
60
CommandLine.
ValidateHasParameter
(task, "/target:target.exe", true /* use response file */);
61
CommandLine.
ValidateHasParameter
(task, "/outdir:bin\\debug", true /* use response file */);
62
CommandLine.
ValidateHasParameter
(task, "/i:LicensedControl.dll", true /* use response file */);
63
CommandLine.
ValidateHasParameter
(task, "/i:OtherControl.dll", true /* use response file */);
64
CommandLine.
ValidateHasParameter
(task, "/nologo", true /* use response file */);
ResourceHandling\ResGen_Tests.cs (21)
49
CommandLine.
ValidateHasParameter
(t, commandLineParameter, true /* resgen 4.0 supports response files */);
50
CommandLine.
ValidateHasParameter
(t, @"/compile", true /* resgen 4.0 supports response files */);
56
CommandLine.
ValidateHasParameter
(t, singleTestFile[0].ItemSpec, false /* resgen 4.0 does not appear to support response files for STR */);
57
CommandLine.
ValidateHasParameter
(t, singleOutput[0].ItemSpec, false /* resgen 4.0 does not appear to support response files for STR */);
58
CommandLine.
ValidateHasParameter
(t, "/str:c#,,,", false /* resgen 4.0 does not appear to support response files for STR */);
67
CommandLine.
ValidateHasParameter
(t, @"/compile", true /* resgen 4.0 supports response files */);
71
CommandLine.
ValidateHasParameter
(t, commandLineParameter, true /* resgen 4.0 supports response files */);
132
CommandLine.
ValidateHasParameter
(t, commandLineParameter, true /* resgen 4.0 supports response files */);
133
CommandLine.
ValidateHasParameter
(t, @"/compile", true /* resgen 4.0 supports response files */);
147
CommandLine.
ValidateHasParameter
(t, commandLineParameter, true /* resgen 4.0 supports response files */);
148
CommandLine.
ValidateHasParameter
(t, @"/compile", true /* resgen 4.0 supports response files */);
156
CommandLine.
ValidateHasParameter
(t, commandLineParameter, true /* resgen 4.0 supports response files */);
157
CommandLine.
ValidateHasParameter
(t, @"/compile", true /* resgen 4.0 supports response files */);
177
CommandLine.
ValidateHasParameter
(t, @"/publicClass", true /* resgen 4.0 supports response files */);
206
CommandLine.
ValidateHasParameter
(t, "/r:" + singleReference[0].ItemSpec, true /* resgen 4.0 supports response files */);
214
CommandLine.
ValidateHasParameter
(t, "/r:" + reference.ItemSpec, true /* resgen 4.0 supports response files */);
414
CommandLine.
ValidateHasParameter
(t, "/str:" + strLanguage + ",,,", false /* resgen 4.0 does not appear to support response files for STR */);
417
CommandLine.
ValidateHasParameter
(t, "/str:" + strLanguage + "," + strNamespace + ",,", false /* resgen 4.0 does not appear to support response files for STR */);
420
CommandLine.
ValidateHasParameter
(t, "/str:" + strLanguage + "," + strNamespace + "," + strClass + ",", false /* resgen 4.0 does not appear to support response files for STR */);
423
CommandLine.
ValidateHasParameter
(t, "/str:" + strLanguage + "," + strNamespace + "," + strClass + "," + strFile, false /* resgen 4.0 does not appear to support response files for STR */);
480
CommandLine.
ValidateHasParameter
(t, @"/useSourcePath", true /* resgen 4.0 supports response files */);
TlbImp_Tests.cs (16)
26
CommandLine.
ValidateHasParameter
(
42
CommandLine.
ValidateHasParameter
(
46
CommandLine.
ValidateHasParameter
(
64
CommandLine.
ValidateHasParameter
(t, testParameterValue, false /* no response file */);
80
CommandLine.
ValidateHasParameter
(t, testParameterValue, false /* no response file */);
100
CommandLine.
ValidateHasParameter
(
123
CommandLine.
ValidateHasParameter
(
145
CommandLine.
ValidateHasParameter
(
168
CommandLine.
ValidateHasParameter
(
191
CommandLine.
ValidateHasParameter
(
213
CommandLine.
ValidateHasParameter
(
235
CommandLine.
ValidateHasParameter
(
257
CommandLine.
ValidateHasParameter
(
286
CommandLine.
ValidateHasParameter
(
294
CommandLine.
ValidateHasParameter
(
320
CommandLine.
ValidateHasParameter
(
WinMDExp_Tests.cs (9)
31
CommandLine.
ValidateHasParameter
(
35
CommandLine.
ValidateHasParameter
(
47
CommandLine.
ValidateHasParameter
(t, "/nowarn:41999,42016", useResponseFile: true);
62
CommandLine.
ValidateHasParameter
(t, "/d:output.xml", useResponseFile: true);
63
CommandLine.
ValidateHasParameter
(t, "/md:input.xml", useResponseFile: true);
75
CommandLine.
ValidateHasParameter
(t, "/pdb:output.pdb", useResponseFile: true);
76
CommandLine.
ValidateHasParameter
(t, "/mp:input.pdb", useResponseFile: true);
94
CommandLine.
ValidateHasParameter
(t, "/out:Bob.winmd", useResponseFile: true);
104
CommandLine.
ValidateHasParameter
(t, "/out:Foo.winmd", useResponseFile: true);