org.alfresco.web.forms.xforms
Class Schema2XFormsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.util.BaseTest
              extended by org.alfresco.web.forms.xforms.Schema2XFormsTest
All Implemented Interfaces:
junit.framework.Test

public class Schema2XFormsTest
extends org.alfresco.util.BaseTest

JUnit tests to exercise the the schema to xforms converter


Constructor Summary
Schema2XFormsTest()
           
 
Method Summary
 void testAnnotation()
           
 void testConstraint()
           
 void testDerivedType()
           
 void testNumbers()
           
 void testOneStringTestWithEmptyInstanceDocument()
           
 void testOneStringTestWithInstanceDocument()
           
 void testRecursive()
           
 void testRepeatConstraintsTest()
           
 void testRootElementWithExtension()
           
 void testSwitch()
           
 
Methods inherited from class org.alfresco.util.BaseTest
assertFileIsValid, getResourcesDir, initXMLConfigService, initXMLConfigService, initXMLConfigService
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Schema2XFormsTest

public Schema2XFormsTest()
Method Detail

testOneStringTestWithEmptyInstanceDocument

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

testOneStringTestWithInstanceDocument

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

testNumbers

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

testRepeatConstraintsTest

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

testRootElementWithExtension

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

testSwitch

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

testDerivedType

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

testRecursive

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

testAnnotation

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

testConstraint

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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.