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
Exception
public final void testFindClass() throws Exception
Exception
public final void testFindResource() throws Exception
Exception
public final void testFindResources() throws Exception
Exception
public final void testGetModlets() throws Exception
Exception
public final void testGetInvalidModlets() throws Exception
Exception
public final void testCreateModelContext() throws Exception
Exception
public final void testCreateEntityResolver() throws Exception
Exception
public final void testCreateResourceResolver() throws Exception
Exception
public final void testCreateContext() throws Exception
Exception
public final void testCreateMarshaller() throws Exception
Exception
public final void testCreateUnmarshaller() throws Exception
Exception
public final void testCreateSchema() throws Exception
Exception
public final void testCreateServiceObject() throws Exception
Exception
public final void testDefaultLogLevel() throws Exception
Exception
public final void testDefaultModletSchemaSystemId() throws Exception
Exception
public final void testLogLevel() throws Exception
Exception
public final void testLogging() throws Exception
Exception
public final void testModletSchemaSystemId() throws Exception
Exception
public final void testFindModel() throws Exception
Exception
public final void testProcessModel() throws Exception
Exception
public final void testValidateModel() throws Exception
Exception
Copyright © 2005-2013 The JOMC Project. All Rights Reserved.