org.jomc.modlet.test
Class DefaultModelContextTest

Package class diagram package DefaultModelContextTest
java.lang.Object
  extended by org.jomc.modlet.test.ModelContextTest
      extended by org.jomc.modlet.test.DefaultModelContextTest

public class DefaultModelContextTest
extends ModelContextTest

Test cases for class org.jomc.modlet.DefaultModelContext.

Version:
$JOMC: DefaultModelContextTest.java 4255 2012-02-12 22:54:20Z schulte2005 $
Author:
Christian Schulte 1.0

Field Summary
 
Fields inherited from class org.jomc.modlet.test.ModelContextTest
DEFAULT_MODLET_NAME
 
Constructor Summary
DefaultModelContextTest()
          Creates a new DefaultModelContextTest instance.
 
Method Summary
 DefaultModelContext getModelContext()
          Gets the ModelContext instance tests are performed with.
protected  DefaultModelContext newModelContext()
          Creates a new ModelContext instance to test.
 void testFindModlets()
           
 void testFindModletsWithAttributes()
           
 void testFindTestModel()
           
 void testGetDefaultPlatformProviderLocation()
           
 void testGetDefaultProviderLocation()
           
 void testGetPlatformProviderLocation()
           
 void testGetProviderLocation()
           
 void testProcessTestModel()
           
 void testServiceProperties()
           
 void testTestModel()
           
 void testValidateTestModel()
           
 
Methods inherited from class org.jomc.modlet.test.ModelContextTest
testAttributes, testCreateContext, testCreateEntityResolver, testCreateMarshaller, testCreateModelContext, testCreateResourceResolver, testCreateSchema, testCreateServiceObject, testCreateUnmarshaller, testDefaultLogLevel, testDefaultModletSchemaSystemId, testFindClass, testFindModel, testFindResource, testFindResources, testGetInvalidModlets, testGetModlets, testLogging, testLogLevel, testModletSchemaSystemId, testProcessModel, testValidateModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultModelContextTest

public DefaultModelContextTest()
Creates a new DefaultModelContextTest instance.

Method Detail

getModelContext

public DefaultModelContext getModelContext()
                                    throws ModelException
Gets the ModelContext instance tests are performed with.

Overrides:
getModelContext in class ModelContextTest
Returns:
The ModelContext instance tests are performed with.
Throws:
ModelException - if creating a new instance fails.
See Also:
ModelContextTest.newModelContext()

newModelContext

protected DefaultModelContext newModelContext()
Creates a new ModelContext instance to test.

Overrides:
newModelContext in class ModelContextTest
Returns:
A new ModelContext instance to test.
See Also:
ModelContextTest.getModelContext()

testFindModlets

public final void testFindModlets()
                           throws Exception
Throws:
Exception

testFindModletsWithAttributes

public final void testFindModletsWithAttributes()
                                         throws Exception
Throws:
Exception

testGetDefaultProviderLocation

public final void testGetDefaultProviderLocation()
                                          throws Exception
Throws:
Exception

testGetDefaultPlatformProviderLocation

public final void testGetDefaultPlatformProviderLocation()
                                                  throws Exception
Throws:
Exception

testGetProviderLocation

public final void testGetProviderLocation()
                                   throws Exception
Throws:
Exception

testGetPlatformProviderLocation

public final void testGetPlatformProviderLocation()
                                           throws Exception
Throws:
Exception

testFindTestModel

public final void testFindTestModel()
                             throws Exception
Throws:
Exception

testProcessTestModel

public final void testProcessTestModel()
                                throws Exception
Throws:
Exception

testValidateTestModel

public final void testValidateTestModel()
                                 throws Exception
Throws:
Exception

testTestModel

public final void testTestModel()
                         throws Exception
Throws:
Exception

testServiceProperties

public final void testServiceProperties()
                                 throws Exception
Throws:
Exception


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
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.