org.apache.myfaces.buildtools.maven2.plugin.builder
Class FlattenerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.myfaces.buildtools.maven2.plugin.builder.FlattenerTest
All Implemented Interfaces:
junit.framework.Test

public class FlattenerTest
extends junit.framework.TestCase

Test flattening of a model.


Constructor Summary
FlattenerTest()
           
 
Method Summary
 void testComplex()
          Load the "goodfile.xml" from the complex test case, flattens it and then compares the result to an expected good file.
 void testGeneration()
          Load the "goodfile.xml" from the generation test case, flattens it and then compares the result to an expected good file.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FlattenerTest

public FlattenerTest()
Method Detail

testComplex

public void testComplex()
                 throws Exception
Load the "goodfile.xml" from the complex test case, flattens it and then compares the result to an expected good file.

Throws:
Exception

testGeneration

public void testGeneration()
                    throws Exception
Load the "goodfile.xml" from the generation test case, flattens it and then compares the result to an expected good file.

Throws:
Exception


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.