Base:
method
Execute
Microsoft.Build.Utilities.Task.Execute()
24 references to Execute
Microsoft.Build.Tasks.UnitTests (24)
XslTransformation_Tests.cs (24)
149
Assert.True(t.
Execute
()); // "The test should have passed at the both params correct test"
194
Assert.False(t.
Execute
()); // "The test should fail when there is missing Xsl params"
243
Assert.False(t.
Execute
()); // "The test should fail when there is missing Xml params"
274
Assert.False(t.
Execute
()); // "The test should fail when there is no params"
308
Assert.False(t.
Execute
()); // "The test should fail when there are too many files"
342
Assert.False(t.
Execute
()); // "The test should fail when there are too many files"
373
Assert.True(t.
Execute
()); // "Test out should have given true when executed"
411
t.
Execute
();
460
bool result = t.
Execute
();
501
Assert.True(t.
Execute
()); // "This test should've passed (empty parameters)."
588
t.
Execute
();
624
Assert.False(t.
Execute
()); // "This test should've failed (no output)."
653
Assert.False(t.
Execute
()); // "This test should've failed (bad xml)."
681
Assert.False(t.
Execute
()); // "This test should've failed (bad xslt)."
739
Assert.False(t.
Execute
()); // "This test should've failed (bad params1)."
772
Assert.False(t.
Execute
()); // "This test should've failed (bad output)."
805
t.
Execute
().ShouldBeTrue();
837
Assert.False(t.
Execute
()); // "This test should've failed (xsl with error)."
879
t.
Execute
();
968
Assert.True(t.
Execute
(), "CompiledDllWithTwoTypes execution should've passed" + engine.Log);
1019
Assert.False(t.
Execute
(), "CompiledDllWithTwoTypes execution should've failed" + engine.Log);
1031
Assert.False(t.
Execute
(), "CompiledDllWithTwoTypes execution should've failed" + engine.Log);
1079
Assert.True(t.
Execute
()); // "Test should have passed and allowed the use of the document() function within the xslt file"
1089
Assert.False(t.
Execute
()); // "Test should have failed and not allowed the use of the document() function within the xslt file"