com.ail.coretest
Class TestGenerateDocument

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.ail.coretest.CoreUserTestCase
              extended by com.ail.coretest.TestGenerateDocument
All Implemented Interfaces:
ConfigurationOwner, CoreUser, java.io.Serializable, junit.framework.Test

public class TestGenerateDocument
extends CoreUserTestCase

Version:
$Revision: 1.11 $
See Also:
Serialized Form

Constructor Summary
TestGenerateDocument(java.lang.String name)
          Constructs a test case with the given name.
 
Method Summary
 VersionEffectiveDate getVersionEffectiveDate()
          Always select the latest configurations
static void main(java.lang.String[] args)
           
static junit.framework.Test suite()
           
 void testDocGenService()
           
 void testDocGenServiceExists()
          Test that the Doc Gen service fails if no arguments are supplied.
 void testDocRenderData()
           
 void testDocRenderModel()
          Test that a simple document definition can be marshalled/unmarshalled.
 void testGenerateDocumentFromCore()
           
 void testTypeConversion()
           
 
Methods inherited from class com.ail.coretest.CoreUserTestCase
getConfiguration, getConfigurationNamespace, getCore, getSecurityPrincipal, resetConfiguration, setConfiguration, setCore, setupSystemProperties, setVersionEffectiveDate
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestGenerateDocument

public TestGenerateDocument(java.lang.String name)
Constructs a test case with the given name.

Method Detail

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] args)

getVersionEffectiveDate

public VersionEffectiveDate getVersionEffectiveDate()
Always select the latest configurations

Specified by:
getVersionEffectiveDate in interface CoreUser
Overrides:
getVersionEffectiveDate in class CoreUserTestCase
Returns:

testDocGenServiceExists

public void testDocGenServiceExists()
                             throws java.lang.Exception
Test that the Doc Gen service fails if no arguments are supplied.

Throws:
java.lang.Exception

testDocRenderModel

public void testDocRenderModel()
                        throws java.lang.Exception
Test that a simple document definition can be marshalled/unmarshalled.

Throws:
java.lang.Exception

testDocRenderData

public void testDocRenderData()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testTypeConversion

public void testTypeConversion()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testDocGenService

public void testDocGenService()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testGenerateDocumentFromCore

public void testGenerateDocumentFromCore()
                                  throws java.lang.Exception
Throws:
java.lang.Exception