예제 #1
0
 public void Then_it_should_fail_validation()
 {
     Errors = new MacroDataValidator().Validate(TestMacro);
     Errors.ShouldNotBe(null);
     Errors.ShouldContain("Minimal deployment order has not been set");
     Errors.ShouldContain("Screen element 'Collect All' does not have a mouse location defined");
     Errors.ShouldContain("Screen element 'Confirm Button' does not have a mouse location defined");
 }
예제 #2
0
 public void Then_it_should_fail_validation()
 {
     Errors = new MacroDataValidator().Validate(TestMacro);
     Errors.ShouldNotBe(null);
     Errors.ShouldContain("Screen element 'Jet Bay 1' does not have a mouse location defined");
     Errors.ShouldContain("Screen element 'Hero Slot 3' does not have a mouse location defined");
 }