org.jomc.modlet.test
Class ModelContextTest
java.lang.Object
org.jomc.modlet.test.ModelContextTest
- Direct Known Subclasses:
- DefaultModelContextTest
public class ModelContextTest
- extends Object
Test cases for org.jomc.modlet.ModelContext
implementations.
- Version:
- $JOMC: ModelContextTest.java 4256 2012-02-13 06:32:10Z schulte2005 $
- Author:
- Christian Schulte 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_MODLET_NAME
public static final String DEFAULT_MODLET_NAME
- Constant for the name of a modlet provided without
ModletProvider
.
ModelContextTest
public ModelContextTest()
- Creates a new
ModelContextTest
instance.
getModelContext
public ModelContext getModelContext()
throws ModelException
- Gets the
ModelContext
instance tests are performed with.
- Returns:
- The
ModelContext
instance tests are performed with.
- Throws:
ModelException
- if creating a new instance fails.- See Also:
newModelContext()
newModelContext
protected ModelContext newModelContext()
- Creates a new
ModelContext
instance to test.
- Returns:
- A new
ModelContext
instance to test. - See Also:
getModelContext()
testAttributes
public final void testAttributes()
throws Exception
- Throws:
Exception
testFindClass
public final void testFindClass()
throws Exception
- Throws:
Exception
testFindResource
public final void testFindResource()
throws Exception
- Throws:
Exception
testFindResources
public final void testFindResources()
throws Exception
- Throws:
Exception
testGetModlets
public final void testGetModlets()
throws Exception
- Throws:
Exception
testGetInvalidModlets
public final void testGetInvalidModlets()
throws Exception
- Throws:
Exception
testCreateModelContext
public final void testCreateModelContext()
throws Exception
- Throws:
Exception
testCreateEntityResolver
public final void testCreateEntityResolver()
throws Exception
- Throws:
Exception
testCreateResourceResolver
public final void testCreateResourceResolver()
throws Exception
- Throws:
Exception
testCreateContext
public final void testCreateContext()
throws Exception
- Throws:
Exception
testCreateMarshaller
public final void testCreateMarshaller()
throws Exception
- Throws:
Exception
testCreateUnmarshaller
public final void testCreateUnmarshaller()
throws Exception
- Throws:
Exception
testCreateSchema
public final void testCreateSchema()
throws Exception
- Throws:
Exception
testCreateServiceObject
public final void testCreateServiceObject()
throws Exception
- Throws:
Exception
testDefaultLogLevel
public final void testDefaultLogLevel()
throws Exception
- Throws:
Exception
testDefaultModletSchemaSystemId
public final void testDefaultModletSchemaSystemId()
throws Exception
- Throws:
Exception
testLogLevel
public final void testLogLevel()
throws Exception
- Throws:
Exception
testLogging
public final void testLogging()
throws Exception
- Throws:
Exception
testModletSchemaSystemId
public final void testModletSchemaSystemId()
throws Exception
- Throws:
Exception
testFindModel
public final void testFindModel()
throws Exception
- Throws:
Exception
testProcessModel
public final void testProcessModel()
throws Exception
- Throws:
Exception
testValidateModel
public final void testValidateModel()
throws Exception
- Throws:
Exception
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.