public void TestComplexReversible() { // When flag is set to false object fakeTaskInstance = CreateFakeTask(); XamlTestHelpers.SetProperty(fakeTaskInstance, "ComplexReversible", false); string expectedResult = "/always /Cr:CF"; CheckCommandLine(expectedResult, XamlTestHelpers.GenerateCommandLine(fakeTaskInstance)); // When flag is set to true fakeTaskInstance = CreateFakeTask(); XamlTestHelpers.SetProperty(fakeTaskInstance, "ComplexReversible", true); expectedResult = "/always /Cr:CT"; CheckCommandLine(expectedResult, XamlTestHelpers.GenerateCommandLine(fakeTaskInstance)); }
public void TestDefaultFlags() { object fakeTaskInstance = CreateFakeTask(); CheckCommandLine("/always /Cr:CT", XamlTestHelpers.GenerateCommandLine(fakeTaskInstance)); }