public class ModelContextTest extends Object
org.jomc.modlet.ModelContext implementations.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_MODLET_NAME
Constant for the name of a modlet provided without
ModletProvider. |
| Constructor and Description |
|---|
ModelContextTest()
Creates a new
ModelContextTest instance. |
| Modifier and Type | Method and Description |
|---|---|
ModelContext |
getModelContext()
Gets the
ModelContext instance tests are performed with. |
protected ModelContext |
newModelContext()
Creates a new
ModelContext instance to test. |
void |
testAttributes() |
void |
testCreateContext() |
void |
testCreateEntityResolver() |
void |
testCreateMarshaller() |
void |
testCreateModelContext() |
void |
testCreateResourceResolver() |
void |
testCreateSchema() |
void |
testCreateServiceObject() |
void |
testCreateUnmarshaller() |
void |
testDefaultLogLevel() |
void |
testDefaultModletSchemaSystemId() |
void |
testFindClass() |
void |
testFindModel() |
void |
testFindResource() |
void |
testFindResources() |
void |
testGetInvalidModlets() |
void |
testGetModlets() |
void |
testLogging() |
void |
testLogLevel() |
void |
testModletSchemaSystemId() |
void |
testProcessModel() |
void |
testValidateModel() |
public static final String DEFAULT_MODLET_NAME
ModletProvider.public ModelContextTest()
ModelContextTest instance.public ModelContext getModelContext() throws ModelException
ModelContext instance tests are performed with.ModelContext instance tests are performed with.ModelException - if creating a new instance fails.newModelContext()protected ModelContext newModelContext()
ModelContext instance to test.ModelContext instance to test.getModelContext()public final void testAttributes() throws Exception
Exceptionpublic final void testFindClass() throws Exception
Exceptionpublic final void testFindResource() throws Exception
Exceptionpublic final void testFindResources() throws Exception
Exceptionpublic final void testGetModlets() throws Exception
Exceptionpublic final void testGetInvalidModlets() throws Exception
Exceptionpublic final void testCreateModelContext() throws Exception
Exceptionpublic final void testCreateEntityResolver() throws Exception
Exceptionpublic final void testCreateResourceResolver() throws Exception
Exceptionpublic final void testCreateContext() throws Exception
Exceptionpublic final void testCreateMarshaller() throws Exception
Exceptionpublic final void testCreateUnmarshaller() throws Exception
Exceptionpublic final void testCreateSchema() throws Exception
Exceptionpublic final void testCreateServiceObject() throws Exception
Exceptionpublic final void testDefaultLogLevel() throws Exception
Exceptionpublic final void testDefaultModletSchemaSystemId() throws Exception
Exceptionpublic final void testLogLevel() throws Exception
Exceptionpublic final void testLogging() throws Exception
Exceptionpublic final void testModletSchemaSystemId() throws Exception
Exceptionpublic final void testFindModel() throws Exception
Exceptionpublic final void testProcessModel() throws Exception
Exceptionpublic final void testValidateModel() throws Exception
ExceptionCopyright © 2005-2012 The JOMC Project. All Rights Reserved.