Пример #1
0
        // END:  ValueCheckMethod

        public void ThisLineAlwaysThrowsExceptions()
        {
            StoryTellerAssert.Fail("No go!");
        }
Пример #2
0
 public void does_not_fail_conditionally()
 {
     StoryTellerAssert.Fail(() => false, "Bad!");
 }
Пример #3
0
        public bool AckWasSuccessful()
        {
            StoryTellerAssert.Fail(_task.IsFaulted, () => _task.Exception.ToString());

            return(true);
        }
Пример #4
0
        public bool TheUrlIs(string url)
        {
            StoryTellerAssert.Fail(Driver.Url.Matches(url), "The actual url is " + url);

            return(true);
        }
Пример #5
0
        public void Assert(JasperRuntime runtime)
        {
            StoryTellerAssert.Fail(runtime == null, "runtime should not be null");

            DidAssert = true;
        }
Пример #6
0
 public void Execute(IStep containerStep, ITestContext context)
 {
     StoryTellerAssert.Fail("I don't want to run");
 }