Class ExpectedTestExitCodeOf
java.lang.Object
org.ek9lang.compiler.common.ExpectedTestExitCodeOf
- All Implemented Interfaces:
ToIntFunction<ISymbol>
The exit code a test program must end with for the test to pass: the one it declared with
"EXIT:<n>" (DeclaredTestExitCodeOf), else 0. Hold an instance.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExpectedTestExitCodeOf
public ExpectedTestExitCodeOf()
-
-
Method Details
-
applyAsInt
The expected exit code.- Specified by:
applyAsIntin interfaceToIntFunction<ISymbol>- Parameters:
symbol- any symbol, or null- Returns:
- the expected exit code, 0 when none was declared
-