tests
Class AnnotationTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by tests.AnnotationTest
All Implemented Interfaces:
junit.framework.Test

public class AnnotationTest
extends junit.framework.TestCase


Constructor Summary
AnnotationTest()
           
 
Method Summary
 void testEmptyAppInfo()
          This method will test for when the appinfo element of an annotation doesn't include a source attribute and doesn't contain any content.
 void testEmptyAppinfoDocumentation()
          This method will test for when the documentation and appinfo elements of an annotation don't include anything.
 void testEmptyDocumentation()
          This method will test for when the documentation element of an annotation doesn't include a source attribute or xml:lang attribute and doesn't contain any content.
 void testFullDocumentationAppinfo()
          This method will test for when the documentation and appinfo elements contain all the information.
 void testXmlSchemaElementAnnotation()
          This method will test for when an annotation is added to the Xml Schema Element.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationTest

public AnnotationTest()
Method Detail

testEmptyAppInfo

public void testEmptyAppInfo()
                      throws Exception
This method will test for when the appinfo element of an annotation doesn't include a source attribute and doesn't contain any content.

Throws:
Exception - Any exception encountered

testEmptyDocumentation

public void testEmptyDocumentation()
                            throws Exception
This method will test for when the documentation element of an annotation doesn't include a source attribute or xml:lang attribute and doesn't contain any content.

Throws:
Exception - Any exception encountered

testEmptyAppinfoDocumentation

public void testEmptyAppinfoDocumentation()
                                   throws Exception
This method will test for when the documentation and appinfo elements of an annotation don't include anything.

Throws:
Exception - Any exception encountered

testFullDocumentationAppinfo

public void testFullDocumentationAppinfo()
                                  throws Exception
This method will test for when the documentation and appinfo elements contain all the information.

Throws:
Exception - Any exception encountered

testXmlSchemaElementAnnotation

public void testXmlSchemaElementAnnotation()
                                    throws Exception
This method will test for when an annotation is added to the Xml Schema Element.

Throws:
Exception - Any exception encountered


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.