
public class ModulesTest extends Object
org.jomc.model.Modules.| Constructor and Description |
|---|
ModulesTest()
Creates a new
ModulesTest instance. |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertEquals(org.jomc.model.Dependencies expected,
org.jomc.model.Dependencies computed) |
static void |
assertEquals(org.jomc.model.Dependency expected,
org.jomc.model.Dependency computed) |
static void |
assertEquals(org.jomc.model.Implementation expected,
org.jomc.model.Implementation computed) |
static void |
assertEquals(org.jomc.model.Implementations expected,
org.jomc.model.Implementations computed) |
static void |
assertEquals(org.jomc.model.Instance expected,
org.jomc.model.Instance computed) |
static void |
assertEquals(org.jomc.model.Message expected,
org.jomc.model.Message computed) |
static void |
assertEquals(org.jomc.model.Messages expected,
org.jomc.model.Messages computed) |
static void |
assertEquals(org.jomc.model.ModelObject expected,
org.jomc.model.ModelObject computed) |
static void |
assertEquals(org.jomc.model.Properties expected,
org.jomc.model.Properties computed) |
static void |
assertEquals(org.jomc.model.Property expected,
org.jomc.model.Property computed) |
static void |
assertEquals(org.jomc.model.SpecificationReference expected,
org.jomc.model.SpecificationReference computed) |
static void |
assertEquals(org.jomc.model.Specification expected,
org.jomc.model.Specification computed) |
static void |
assertEquals(org.jomc.model.Specifications expected,
org.jomc.model.Specifications computed) |
static void |
assertEquals(org.jomc.model.Texts expected,
org.jomc.model.Texts computed) |
ModelContext |
getModelContext()
Gets the
ModelContext instance tests are performed with. |
TestSuite |
getTestSuite()
Gets the
TestSuite holding the module tests to run. |
protected ModelContext |
newModelContext()
Creates a new
ModelContext instance tests are performed with. |
protected TestSuite |
newTestSuite()
Creates a new
TestSuite holding module tests to run. |
void |
testImplementation(String identifier)
Runs a
ImplementationTestType test. |
void |
testInstance(String identifier)
Runs a
InstanceTestType test. |
public ModulesTest()
ModulesTest instance.public TestSuite getTestSuite()
TestSuite holding the module tests to run.TestSuite holding the module tests to run.newTestSuite()protected TestSuite newTestSuite()
TestSuite holding module tests to run.TestSuite holding module tests to run.getTestSuite()public ModelContext getModelContext()
ModelContext instance tests are performed with.ModelContext instance tests are performed with.newModelContext()protected ModelContext newModelContext()
ModelContext instance tests are performed with.ModelContext instance tests are performed with.getModelContext()public final void testImplementation(String identifier) throws Exception
ImplementationTestType test.identifier - The identifier of the ImplementationTestType to run.Exception - if running the test fails.public final void testInstance(String identifier) throws Exception
InstanceTestType test.identifier - The identifier of the InstanceTestType to run.Exception - if running the test fails.public static void assertEquals(org.jomc.model.ModelObject expected, org.jomc.model.ModelObject computed) throws Exception
Exceptionpublic static void assertEquals(org.jomc.model.Instance expected, org.jomc.model.Instance computed) throws Exception
Exceptionpublic static void assertEquals(org.jomc.model.Implementations expected, org.jomc.model.Implementations computed) throws Exception
Exceptionpublic static void assertEquals(org.jomc.model.Implementation expected, org.jomc.model.Implementation computed) throws Exception
Exceptionpublic static void assertEquals(org.jomc.model.Specifications expected, org.jomc.model.Specifications computed) throws Exception
Exceptionpublic static void assertEquals(org.jomc.model.SpecificationReference expected, org.jomc.model.SpecificationReference computed) throws Exception
Exceptionpublic static void assertEquals(org.jomc.model.Specification expected, org.jomc.model.Specification computed) throws Exception
Exceptionpublic static void assertEquals(org.jomc.model.Dependencies expected, org.jomc.model.Dependencies computed) throws Exception
Exceptionpublic static void assertEquals(org.jomc.model.Dependency expected, org.jomc.model.Dependency computed) throws Exception
Exceptionpublic static void assertEquals(org.jomc.model.Messages expected, org.jomc.model.Messages computed) throws Exception
Exceptionpublic static void assertEquals(org.jomc.model.Message expected, org.jomc.model.Message computed) throws Exception
Exceptionpublic static void assertEquals(org.jomc.model.Texts expected, org.jomc.model.Texts computed) throws Exception
Exceptionpublic static void assertEquals(org.jomc.model.Properties expected, org.jomc.model.Properties computed) throws Exception
Exceptionpublic static void assertEquals(org.jomc.model.Property expected, org.jomc.model.Property computed) throws Exception
ExceptionCopyright © 2005–2014 The JOMC Project. All rights reserved.