Package jline.unified

Class UnifiedTestSuite

java.lang.Object
jline.unified.UnifiedTestSuite

@TestInstance(PER_CLASS) @DisplayName("Unified Cross-Language Tests") public class UnifiedTestSuite extends Object
JUnit5 test suite for unified cross-language tests. This class provides JUnit5-compatible test methods that run the unified tests against all available JSON definitions. Usage: mvn test -Dtest=UnifiedTestSuite
  • Constructor Details

    • UnifiedTestSuite

      public UnifiedTestSuite()
  • Method Details

    • setup

      @BeforeAll public void setup()
    • testAllModels

      @TestFactory @DisplayName("Model Tests") public List<org.junit.jupiter.api.DynamicTest> testAllModels()
      Dynamic test factory that generates a test for each model definition.
    • testRegistryHasModels

      @Test @DisplayName("Registry has models registered") public void testRegistryHasModels()
      Test that the ModelRegistry has models registered.
    • testRegistryCanBuildModels

      @TestFactory @DisplayName("Registry can build models") public List<org.junit.jupiter.api.DynamicTest> testRegistryCanBuildModels()
      Test that basic models can be built from the registry.
    • testDefinitionsValidJson

      @TestFactory @DisplayName("Definitions are valid JSON") public List<org.junit.jupiter.api.DynamicTest> testDefinitionsValidJson()
      Test that all definition files are valid JSON.
    • testDefinitionsMatchSchema

      @TestFactory @DisplayName("Definitions match schema") public List<org.junit.jupiter.api.DynamicTest> testDefinitionsMatchSchema()
      Test that definitions conform to schema structure.