org.jboss.jsfunit.jsfsession.hellojsf
Class ConsoleTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jboss.jsfunit.jsfsession.hellojsf.ConsoleTest
All Implemented Interfaces:
junit.framework.Test

public class ConsoleTest
extends junit.framework.TestCase

Test the JSFUnit Console. This class extends TestCase instead of ServletTestCase. The reason is because we don't want this class to show up the console, which only includes classes that extend ServletTestCase. If this class were included in the console then the "Run All Tests" link would go into an infinite loop.

Author:
Stan Silvert

Constructor Summary
ConsoleTest()
           
 
Method Summary
 void setUp()
           
static junit.framework.Test suite()
           
 void testRunAllTests()
           
 void testRunIndividualTest()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConsoleTest

public ConsoleTest()
Method Detail

setUp

public void setUp()
           throws IOException
Overrides:
setUp in class junit.framework.TestCase
Throws:
IOException

suite

public static junit.framework.Test suite()
Returns:
the suite of tests being tested

testRunAllTests

public void testRunAllTests()
                     throws IOException
Throws:
IOException

testRunIndividualTest

public void testRunIndividualTest()
                           throws IOException
Throws:
IOException


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