|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jomc.model.test.ModulesTest
public class ModulesTest
Test cases for class org.jomc.model.Modules
.
Constructor Summary | |
---|---|
ModulesTest()
Creates a new ModulesTest instance. |
Method Summary | |
---|---|
static void |
assertEquals(Dependencies expected,
Dependencies computed)
|
static void |
assertEquals(Dependency expected,
Dependency computed)
|
static void |
assertEquals(Implementation expected,
Implementation computed)
|
static void |
assertEquals(Implementations expected,
Implementations computed)
|
static void |
assertEquals(Instance expected,
Instance computed)
|
static void |
assertEquals(Message expected,
Message computed)
|
static void |
assertEquals(Messages expected,
Messages computed)
|
static void |
assertEquals(ModelObject expected,
ModelObject computed)
|
static void |
assertEquals(Properties expected,
Properties computed)
|
static void |
assertEquals(Property expected,
Property computed)
|
static void |
assertEquals(SpecificationReference expected,
SpecificationReference computed)
|
static void |
assertEquals(Specification expected,
Specification computed)
|
static void |
assertEquals(Specifications expected,
Specifications computed)
|
static void |
assertEquals(Texts expected,
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModulesTest()
ModulesTest
instance.
Method Detail |
---|
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(ModelObject expected, ModelObject computed) throws Exception
Exception
public static void assertEquals(Instance expected, Instance computed) throws Exception
Exception
public static void assertEquals(Implementations expected, Implementations computed) throws Exception
Exception
public static void assertEquals(Implementation expected, Implementation computed) throws Exception
Exception
public static void assertEquals(Specifications expected, Specifications computed) throws Exception
Exception
public static void assertEquals(SpecificationReference expected, SpecificationReference computed) throws Exception
Exception
public static void assertEquals(Specification expected, Specification computed) throws Exception
Exception
public static void assertEquals(Dependencies expected, Dependencies computed) throws Exception
Exception
public static void assertEquals(Dependency expected, Dependency computed) throws Exception
Exception
public static void assertEquals(Messages expected, Messages computed) throws Exception
Exception
public static void assertEquals(Message expected, Message computed) throws Exception
Exception
public static void assertEquals(Texts expected, Texts computed) throws Exception
Exception
public static void assertEquals(Properties expected, Properties computed) throws Exception
Exception
public static void assertEquals(Property expected, Property computed) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |