tests
Class AnnotationTest

java.lang.Object
  extended by org.junit.Assert
      extended by tests.AnnotationTest

public class AnnotationTest
extends org.junit.Assert


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 org.junit.Assert
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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-2015 The Apache Software Foundation. All Rights Reserved.