org.apache.myfaces.trinidad.bean
Class PropertyKeyTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.myfaces.trinidad.bean.PropertyKeyTest
All Implemented Interfaces:
junit.framework.Test

public class PropertyKeyTest
extends junit.framework.TestCase

Tests the PropertyKey class.


Constructor Summary
PropertyKeyTest()
           
 
Method Summary
static junit.framework.Test suite()
          Returns a test suite of all PropertyKey tests.
 void testBoxedPrimitiveDefaults()
          Tests that property keys with boxed primitive types still have null as the default, rather than the boxed primitive default.
 void testDefaultSameType()
           
 void testDefaultSubType()
           
 void testDefaultWrongType()
           
 void testPrimitiveDefaults()
          Tests that property keys with primitive types have the corresponding Java Language Specification default value (boxed).
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyKeyTest

public PropertyKeyTest()
Method Detail

suite

public static final junit.framework.Test suite()
Returns a test suite of all PropertyKey tests.


testPrimitiveDefaults

public void testPrimitiveDefaults()
Tests that property keys with primitive types have the corresponding Java Language Specification default value (boxed).


testBoxedPrimitiveDefaults

public void testBoxedPrimitiveDefaults()
Tests that property keys with boxed primitive types still have null as the default, rather than the boxed primitive default.


testDefaultSameType

public void testDefaultSameType()

testDefaultSubType

public void testDefaultSubType()

testDefaultWrongType

public void testDefaultWrongType()


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