de.fzi.kadmos.renderer.impl
Class INRIAFormatRendererTest

java.lang.Object
  extended by de.fzi.kadmos.renderer.impl.INRIAFormatRendererTest

public class INRIAFormatRendererTest
extends Object

Test class for the INRIAFormatRenderer.

Author:
Juergen Bock

Constructor Summary
INRIAFormatRendererTest()
           
 
Method Summary
 void setUp()
           
static void setUpBeforeClass()
           
 void tearDown()
           
static void tearDownAfterClass()
           
 void testAlignmentAPICompatibility()
          The output produced by the renderer can be loaded by the INRIA Alignment API and the contents in both models are the same.
 void testAlignmentNullReference()
          If a null reference is given as parameter for the AlignmentRenderer.render(Alignment) method, an IllegalArgumentException is expected.
 void testInstanceCaching()
          If two instances are requested using the same PrintWriter, the same AlignmentRenderer instance is provided.
 void testXMLValidity()
          The output produced by the renderer is valid XML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

INRIAFormatRendererTest

public INRIAFormatRendererTest()
Method Detail

setUpBeforeClass

public static void setUpBeforeClass()
                             throws Exception
Throws:
Exception

tearDownAfterClass

public static void tearDownAfterClass()
                               throws Exception
Throws:
Exception

setUp

public void setUp()
           throws Exception
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

testAlignmentNullReference

public final void testAlignmentNullReference()
                                      throws Exception
If a null reference is given as parameter for the AlignmentRenderer.render(Alignment) method, an IllegalArgumentException is expected.

Throws:
Exception

testInstanceCaching

public final void testInstanceCaching()
                               throws Exception
If two instances are requested using the same PrintWriter, the same AlignmentRenderer instance is provided. If different PrintWriters are used, different instances are provided.

Throws:
Exception

testXMLValidity

public final void testXMLValidity()
                           throws Exception
The output produced by the renderer is valid XML.

Throws:
Exception

testAlignmentAPICompatibility

public final void testAlignmentAPICompatibility()
                                         throws Exception
The output produced by the renderer can be loaded by the INRIA Alignment API and the contents in both models are the same.

Throws:
Exception


Copyright © 2012. All Rights Reserved.