Package jline.unified
Class UnifiedTestRunner
-
- All Implemented Interfaces:
public final class UnifiedTestRunnerExecutes unified cross-language tests from JSON definitions.
This class loads JSON test definitions and runs them against Java/Kotlin solvers, comparing results against expected values with appropriate tolerances.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classUnifiedTestRunner.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static DoubleDEFAULT_TOLpublic final static DoubleSIMULATION_TOLprivate final TestResultsresultspublic final static UnifiedTestRunner.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description UnifiedTestRunner()
-
Method Summary
Modifier and Type Method Description final TestResultsgetResults()final TestResultsrunAll(Boolean verbose)Run all available test definitions. final ObjectrunModel(String modelName, Boolean verbose, Boolean jsonOutput)Run tests for a specific model. -
-
Method Detail
-
getResults
final TestResults getResults()
-
runAll
final TestResults runAll(Boolean verbose)
Run all available test definitions.
- Parameters:
verbose- Enable verbose output- Returns:
TestResults with passed/failed/skipped counts and errors
-
runModel
final Object runModel(String modelName, Boolean verbose, Boolean jsonOutput)
Run tests for a specific model.
- Parameters:
modelName- Name of the model (e.g.verbose- Enable verbose outputjsonOutput- Return JsonResult instead of String- Returns:
"passed", "failed", or "skipped" (or JsonResult if jsonOutput=true)
-
-
-
-