org.apache.myfaces.buildtools.maven2.plugin.builder.qdox
Class QdoxModelBuilderTest

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

public class QdoxModelBuilderTest
extends junit.framework.TestCase

Tests the QDoxModelBuilderTest generation mojo.


Constructor Summary
QdoxModelBuilderTest()
           
 
Method Summary
 void testComplex()
          Scan a very complex source tree, containing all the different features in various combinations, then dump the result to a file and compare it (line by line) against a "known good" file.
 void testGeneration()
          Scan annotated JSFComponent classes which use code-generation to actually create component classes.
 void testMethodToPropName()
           
 void testScan()
           
 void testSimple()
          Scan a very simple source tree, and compare the result (line by line) against a "known good" file.
 void testSimple15()
          Scan a very simple source tree that uses java15 annotations, and compare the result (line by line) against a "known 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

QdoxModelBuilderTest

public QdoxModelBuilderTest()
Method Detail

testMethodToPropName

public void testMethodToPropName()
                          throws Exception
Throws:
Exception

testScan

public void testScan()
              throws Exception
Throws:
Exception

testSimple

public void testSimple()
                throws Exception
Scan a very simple source tree, and compare the result (line by line) against a "known good" file.

Throws:
Exception

testSimple15

public void testSimple15()
                  throws Exception
Scan a very simple source tree that uses java15 annotations, and compare the result (line by line) against a "known good" file.

Throws:
Exception

testGeneration

public void testGeneration()
                    throws Exception
Scan annotated JSFComponent classes which use code-generation to actually create component classes.

Throws:
Exception

testComplex

public void testComplex()
                 throws Exception
Scan a very complex source tree, containing all the different features in various combinations, then dump the result to a file and compare it (line by line) against a "known good" file.

Throws:
Exception


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