org.jboss.jsfunit.jsfsession.hellojsf
Class JSFTimerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.cactus.internal.AbstractCactusTestCase
              extended by org.apache.cactus.ServletTestCase
                  extended by org.jboss.jsfunit.jsfsession.hellojsf.JSFTimerTest
All Implemented Interfaces:
junit.framework.Test, org.apache.cactus.internal.CactusTestCase

public class JSFTimerTest
extends org.apache.cactus.ServletTestCase

Tests the JSFTimer class.

Author:
Stan Silvert

Field Summary
 
Fields inherited from class org.apache.cactus.ServletTestCase
config, request, response, session
 
Constructor Summary
JSFTimerTest()
           
 
Method Summary
 void testAnyPhase()
           
 void testClearTimers()
           
 void testNonFacesRequestGeneratesFacesResponse()
           
 void testSimpleTiming()
           
 void testTotalTime()
           
 
Methods inherited from class org.apache.cactus.ServletTestCase
createProtocolHandler
 
Methods inherited from class org.apache.cactus.internal.AbstractCactusTestCase
runBare, runBareServer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, 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
 
Methods inherited from interface org.apache.cactus.internal.CactusTestCase
runBareServer
 

Constructor Detail

JSFTimerTest

public JSFTimerTest()
Method Detail

testSimpleTiming

public void testSimpleTiming()
                      throws SAXException,
                             IOException
Throws:
SAXException
IOException

testNonFacesRequestGeneratesFacesResponse

public void testNonFacesRequestGeneratesFacesResponse()
                                               throws SAXException,
                                                      IOException
Throws:
SAXException
IOException

testTotalTime

public void testTotalTime()
                   throws SAXException,
                          IOException
Throws:
SAXException
IOException

testClearTimers

public void testClearTimers()
                     throws SAXException,
                            IOException
Throws:
SAXException
IOException

testAnyPhase

public void testAnyPhase()
                  throws SAXException,
                         IOException
Throws:
SAXException
IOException


Copyright © 2007-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.