Java Date Picker v2.0.0

com.standbysoft.datepicker
Class DefaultMonthModelTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--com.standbysoft.datepicker.DefaultMonthModelTest
All Implemented Interfaces:
junit.framework.Test

public class DefaultMonthModelTest
extends junit.framework.TestCase

Author:
Nicolae Cismaru

Constructor Summary
DefaultMonthModelTest()
           
 
Method Summary
 void testAllowedInterval()
           
 void testDefaultDateModel()
          This test is to make sure that all the constructors initialize correctly.
 void testDowFirst()
          This test checks if the first day of week is always set correctly.
 void testDowNames()
          Test the names of the days of the week.
 void testDows()
          Test that the days of week keep the proper order.
 void testRollMonth()
           
 void testRollYear()
           
 void testSetDowFirst()
          Whatever happens when the first day of week should be tested here.
 void testSetDowFormat()
          Tests whatever happens when the format used to display the names of the week changes.
 void testSetMonthFormat()
          Check that the names of the months are correct.
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultMonthModelTest

public DefaultMonthModelTest()
Method Detail

testDefaultDateModel

public void testDefaultDateModel()
This test is to make sure that all the constructors initialize correctly.

testSetDowFirst

public void testSetDowFirst()
Whatever happens when the first day of week should be tested here.

testSetDowFormat

public void testSetDowFormat()
Tests whatever happens when the format used to display the names of the week changes.

testSetMonthFormat

public void testSetMonthFormat()
Check that the names of the months are correct. The names of the months depend only on the used locale and the display format.

testDowFirst

public void testDowFirst()
This test checks if the first day of week is always set correctly. The first day of week is set either implicitly or explicitly.

testDowNames

public void testDowNames()
Test the names of the days of the week. They change whenever the locale is changed, the first day of week or the display format.

testDows

public void testDows()
Test that the days of week keep the proper order. This order is locale and first day of week dependant.

testAllowedInterval

public void testAllowedInterval()

testRollMonth

public void testRollMonth()

testRollYear

public void testRollYear()

Java Date Picker v2.0.0

Copyright © 2003 Standby Soft Ltd. All Rights Reserved.