TestResult
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "TestResult" , cprefix = "tr_" , free_function = "free" ) ]
public class TestResult
Opaque type for a test failure
Content:
Methods:
- public ResultContext ctx ()
Retrieve context in which the result occurred for the given test
result.
- public unowned string? lfile ()
Retrieve file name at which a failure occurred, if applicable.
- public int lno ()
Retrieve line number at which a failure occurred, if applicable.
- public unowned string? msg ()
Retrieve failure message from test result, if applicable.
- public int rtype ()
Retrieve type of result that the given test result represents.
- public unowned string? tcname ()
Retrieve test case name in which a failure occurred, if applicable.