org.apache.myfaces.custom.date
Class UserDataTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.myfaces.custom.date.UserDataTest
All Implemented Interfaces:
junit.framework.Test

public class UserDataTest
extends junit.framework.TestCase


Constructor Summary
UserDataTest()
           
 
Method Summary
 void testConstructorDoesNotSetDateVariablesWhenTheDateIsNull()
           
 void testItalyDaylightSavingTime()
           
 void testParseGivesCorrectDateWhenValidDataIsEnteredForTypeDate()
           
 void testParseGivesCorrectDateWhenValidDataIsEnteredForTypeTime()
           
 void testParseReturnsNullWhenTypeIsDateAndComponentNotUsed()
           
 void testParseReturnsNullWhenTypeIsFullAndComponentNotUsed()
           
 void testParseReturnsNullWhenTypeIsTimeAndComponentNotUsed()
           
 void testParseThrowsParseExceptionWhenInvalidDataIsEnteredForTypeDate()
           
 void testParseThrowsParseExceptionWhenInvalidDataIsEnteredForTypeFullCase1()
           
 void testParseThrowsParseExceptionWhenInvalidDataIsEnteredForTypeFullCase2()
           
 void testParseThrowsParseExceptionWhenInvalidDataIsEnteredForTypeFullCase3()
           
 void testParseThrowsParseExceptionWhenInvalidDataIsEnteredForTypeFullCase4()
           
 void testParseThrowsParseExceptionWhenInvalidDataIsEnteredForTypeTime()
           
 
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

UserDataTest

public UserDataTest()
Method Detail

testConstructorDoesNotSetDateVariablesWhenTheDateIsNull

public void testConstructorDoesNotSetDateVariablesWhenTheDateIsNull()

testParseReturnsNullWhenTypeIsDateAndComponentNotUsed

public void testParseReturnsNullWhenTypeIsDateAndComponentNotUsed()

testParseThrowsParseExceptionWhenInvalidDataIsEnteredForTypeDate

public void testParseThrowsParseExceptionWhenInvalidDataIsEnteredForTypeDate()

testParseGivesCorrectDateWhenValidDataIsEnteredForTypeDate

public void testParseGivesCorrectDateWhenValidDataIsEnteredForTypeDate()

testParseReturnsNullWhenTypeIsTimeAndComponentNotUsed

public void testParseReturnsNullWhenTypeIsTimeAndComponentNotUsed()

testParseThrowsParseExceptionWhenInvalidDataIsEnteredForTypeTime

public void testParseThrowsParseExceptionWhenInvalidDataIsEnteredForTypeTime()

testParseGivesCorrectDateWhenValidDataIsEnteredForTypeTime

public void testParseGivesCorrectDateWhenValidDataIsEnteredForTypeTime()

testParseReturnsNullWhenTypeIsFullAndComponentNotUsed

public void testParseReturnsNullWhenTypeIsFullAndComponentNotUsed()

testParseThrowsParseExceptionWhenInvalidDataIsEnteredForTypeFullCase1

public void testParseThrowsParseExceptionWhenInvalidDataIsEnteredForTypeFullCase1()

testParseThrowsParseExceptionWhenInvalidDataIsEnteredForTypeFullCase2

public void testParseThrowsParseExceptionWhenInvalidDataIsEnteredForTypeFullCase2()

testParseThrowsParseExceptionWhenInvalidDataIsEnteredForTypeFullCase3

public void testParseThrowsParseExceptionWhenInvalidDataIsEnteredForTypeFullCase3()

testParseThrowsParseExceptionWhenInvalidDataIsEnteredForTypeFullCase4

public void testParseThrowsParseExceptionWhenInvalidDataIsEnteredForTypeFullCase4()

testItalyDaylightSavingTime

public void testItalyDaylightSavingTime()


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