org.apache.myfaces.commons.test
Class AbstractTagLibTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.myfaces.commons.test.AbstractTagLibTestCase
All Implemented Interfaces:
junit.framework.Test

public abstract class AbstractTagLibTestCase
extends junit.framework.TestCase

Insures the following ...

Author:
Dennis Byrne
See Also:
for dependency download

Field Summary
protected  String[] tldPaths
           
protected  net.sf.maventaglib.checker.Tld[] tlds
           
 
Constructor Summary
AbstractTagLibTestCase()
           
 
Method Summary
protected  void setUp()
          Unmarshall TLDs to an object model.
 void testSetters()
          Make sure the class exists.
 void testUniqueTagAttributes()
           
 void testUniqueTagTestCase()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tlds

protected net.sf.maventaglib.checker.Tld[] tlds

tldPaths

protected String[] tldPaths
Constructor Detail

AbstractTagLibTestCase

public AbstractTagLibTestCase()
Method Detail

setUp

protected void setUp()
              throws Exception
Unmarshall TLDs to an object model. TLDs are supplied by a subclass.

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testUniqueTagTestCase

public void testUniqueTagTestCase()
                           throws Exception
Throws:
Exception

testUniqueTagAttributes

public void testUniqueTagAttributes()
                             throws Exception
Throws:
Exception

testSetters

public void testSetters()
                 throws Exception
Make sure the class exists. Make sure there is a setter for each attribute.

Throws:
Exception


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