public void StCancelTest4() { var target = new BuildComponentAcs(); Assert.Throws <IncorrectSyntaxException>(() => target.Eval("[Build cancel = 1true]") ); }
public void StSolutionTest2() { var target = new BuildComponentAcs(); Assert.Throws <ArgumentException>(() => Assert.Equal(Value.Empty, target.Eval("[Build solution.path()]")) ); }
public void ParseTest() { var target = new BuildComponentAcs(); Assert.Throws <SubtypeNotFoundException>(() => target.Eval("[Build UnitTestChecking = true]") ); }
public void StProjectsTest1() { var target = new BuildComponentAcs(); Assert.Throws <PMLevelException>(() => target.Eval("[Build projects.find(name)]") ); }
public void StCancelTest3() { var target = new BuildComponentAcs(); Assert.Equal(Value.Empty, target.Eval("[Build cancel = true]")); Assert.Equal(Value.Empty, target.Eval("[Build cancel = 1]")); Assert.Equal(Value.Empty, target.Eval("[Build cancel = false]")); Assert.Equal(Value.Empty, target.Eval("[Build cancel = 0]")); Assert.Equal(Value.Empty, target.Eval("[Build cancel = true ] ")); }
public void StCancelTest5() { var target = new BuildComponentAcs(); Assert.Throws <IncorrectNodeException>(() => target.Eval("[Build cancel]") ); Assert.Throws <IncorrectNodeException>(() => target.Eval("[Build cancel : true]") ); }