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

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

public class IOUtilsTest
extends junit.framework.TestCase

Tests saving and loading models from xml.


Constructor Summary
IOUtilsTest()
           
 
Method Summary
 void testComplex()
          Load the "goodfile.xml" from the complex test case and build a Model object from it, then save it again and compare to the original.
 
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

IOUtilsTest

public IOUtilsTest()
Method Detail

testComplex

public void testComplex()
                 throws Exception
Load the "goodfile.xml" from the complex test case and build a Model object from it, then save it again and compare to the original.

Throws:
Exception


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