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