Java Date Picker v2.0.0

com.standbysoft.datepicker
Class DefaultDateSelectionModelTest

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

public class DefaultDateSelectionModelTest
extends junit.framework.TestCase

Author:
Nicolae Cismaru

Constructor Summary
DefaultDateSelectionModelTest()
           
 
Method Summary
 void testSingleIntervalSelection()
          Tests the selection model for the selection mode SINGLE_INTERVAL.
 void testSingleSelection()
          Tests the selection model for the selection mode SINGLE.
 void testSwitchSelectionMode()
          Checks if changing the selection mode keeps the state of the selection model consistent.
 
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

DefaultDateSelectionModelTest

public DefaultDateSelectionModelTest()
Method Detail

testSingleSelection

public void testSingleSelection()
Tests the selection model for the selection mode SINGLE. This means that only one date can be selected at one moment.

testSingleIntervalSelection

public void testSingleIntervalSelection()
Tests the selection model for the selection mode SINGLE_INTERVAL. This means that only one date interval can be selected at one moment.

testSwitchSelectionMode

public void testSwitchSelectionMode()
Checks if changing the selection mode keeps the state of the selection model consistent.

Java Date Picker v2.0.0

Copyright © 2003 Standby Soft Ltd. All Rights Reserved.