HasErrors() public method

public HasErrors ( ) : bool
return bool
Ejemplo n.º 1
0
        public void collapse_with_a_single_child_brings_in_the_exception_text_and_removes_the_child()
        {
            var frame = new Frame();
            frame.Next().AppendException("some bad exception");

            frame.Collapse();

            frame.HasErrors().ShouldBeTrue();
            frame.ExceptionText.ShouldEqual("some bad exception");
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Were there any exceptions related to this Step?
 /// </summary>
 /// <returns></returns>
 public bool HasErrors()
 {
     return(_current.HasErrors());
 }