|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.jomc.model.modlet.test.DefaultModelValidatorTest
public class DefaultModelValidatorTest
Test cases for class org.jomc.model.modlet.DefaultModelValidator implementations.
| Constructor Summary | |
|---|---|
DefaultModelValidatorTest()
Creates a new DefaultModelValidatorTest instance. |
|
| Method Summary | |
|---|---|
ModelContext |
getModelContext()
Gets the ModelContext instance tests are performed with. |
DefaultModelValidator |
getModelValidator()
Gets the DefaultModelValidator instance tests are performed with. |
TestSuite |
getTestSuite()
Gets the TestSuite instance holding module tests to run. |
protected ModelContext |
newModelContext()
Creates a new ModelContext instance to perform tests with. |
protected DefaultModelValidator |
newModelValidator()
Create a new DefaultModelValidator instance to test. |
protected TestSuite |
newTestSuite()
Creates a new TestSuite instance holding module tests to run. |
void |
testIllegalArguments()
|
void |
testLegalArguments()
|
void |
testModulesConstraints(String identifier)
Runs a ModulesConstraintsTestType test. |
void |
testSchemaConstraints(String identifier)
Runs a SchemaConstraintsTestType test. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultModelValidatorTest()
DefaultModelValidatorTest instance.
| Method Detail |
|---|
public DefaultModelValidator getModelValidator()
DefaultModelValidator instance tests are performed with.
DefaultModelValidator instance tests are performed with.newModelValidator()protected DefaultModelValidator newModelValidator()
DefaultModelValidator instance to test.
DefaultModelValidator instance to test.getModelValidator()public ModelContext getModelContext()
ModelContext instance tests are performed with.
ModelContext instance tests are performed with.newModelContext()protected ModelContext newModelContext()
ModelContext instance to perform tests with.
ModelContext instance to perform tests with.public TestSuite getTestSuite()
TestSuite instance holding module tests to run.
TestSuite instance holding module tests to run.newTestSuite()protected TestSuite newTestSuite()
TestSuite instance holding module tests to run.
TestSuite instance holding module tests to run.
public final void testIllegalArguments()
throws Exception
Exception
public final void testLegalArguments()
throws Exception
Exception
public final void testSchemaConstraints(String identifier)
throws Exception
SchemaConstraintsTestType test.
identifier - The identifier of the SchemaConstraintsTestType to run.
Exception - if running the test fails.
public final void testModulesConstraints(String identifier)
throws Exception
ModulesConstraintsTestType test.
identifier - The identifier of the ModulesConstraintsTestType to run.
Exception - if running the test fails.
|
||||||||||
| 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. |