javax.faces
Class FactoryFinderTestCase

java.lang.Object
  extended by TestCase
      extended by javax.faces.FactoryFinderTestCase

public class FactoryFinderTestCase
extends TestCase

Unit tests for UISelectBooleanBase.


Field Summary
static java.lang.String[][] FACTORIES
           
 
Constructor Summary
FactoryFinderTestCase(java.lang.String name)
          Construct a new instance of this test case.
 
Method Summary
static void printRelevantSystemProperties()
           
 void setUp()
           
static Test suite()
           
 void tearDown()
           
 void testFacesConfigCase()
          verify that the overrides specified in the faces-config.xml in the user's webapp take precedence.
 void testNoFacesContext()
           
 void testNoFacesContextInitially()
           
 void testServicesCase()
          In the absence of webapp faces-config.xml, verify that the overrides specified in the META-INF/services take precedence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FACTORIES

public static java.lang.String[][] FACTORIES
Constructor Detail

FactoryFinderTestCase

public FactoryFinderTestCase(java.lang.String name)
Construct a new instance of this test case.

Parameters:
name - Name of the test case
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

suite

public static Test suite()

tearDown

public void tearDown()
              throws java.lang.Exception
Throws:
java.lang.Exception

testFacesConfigCase

public void testFacesConfigCase()
                         throws java.lang.Exception

verify that the overrides specified in the faces-config.xml in the user's webapp take precedence.

Throws:
java.lang.Exception

testNoFacesContext

public void testNoFacesContext()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testServicesCase

public void testServicesCase()
                      throws java.lang.Exception

In the absence of webapp faces-config.xml, verify that the overrides specified in the META-INF/services take precedence.

Throws:
java.lang.Exception

testNoFacesContextInitially

public void testNoFacesContextInitially()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

printRelevantSystemProperties

public static void printRelevantSystemProperties()


Copyright 2002-2011 Oracle America Inc, Inc. All Rights Reserved.