lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.tests.TestError Class Reference

Indicator for an error during test execution. More...

Inherits Exception.

Public Member Functions

boolean causeIsException ()
 Return true, if the TestError instance was created based on an exception.
String getOriginalStackTrace ()
 Retrieve the stack trace of the exception that caused the test error.
Result getResult ()
 TestError (Result result)
 TestError (String errorMessage, Result result)
 TestError (String errorMessage, Result result, Throwable exception)

Detailed Description

Indicator for an error during test execution.

Constructor & Destructor Documentation

◆ TestError() [1/3]

org.lflang.tests.TestError.TestError ( String errorMessage,
Result result,
Throwable exception )

◆ TestError() [2/3]

org.lflang.tests.TestError.TestError ( String errorMessage,
Result result )

◆ TestError() [3/3]

org.lflang.tests.TestError.TestError ( Result result)

Member Function Documentation

◆ causeIsException()

boolean org.lflang.tests.TestError.causeIsException ( )

Return true, if the TestError instance was created based on an exception.

◆ getOriginalStackTrace()

String org.lflang.tests.TestError.getOriginalStackTrace ( )

Retrieve the stack trace of the exception that caused the test error.

◆ getResult()

Result org.lflang.tests.TestError.getResult ( )

The documentation for this class was generated from the following file:
  • /Users/runner/work/lingua-franca/lingua-franca/core/src/testFixtures/java/org/lflang/tests/TestError.java