public class DateValidatorTest extends junit.framework.TestCase
Modifier and Type | Field and Description |
---|---|
static DateFormat |
D_M_YY |
static DateFormat |
YYYY_MM_DD |
Constructor and Description |
---|
DateValidatorTest() |
Modifier and Type | Method and Description |
---|---|
static junit.framework.Test |
suite() |
void |
testDefaultDateFormatValidate() |
void |
testDefaultDateTimeFormatValidate() |
void |
testDefaultTimeFormatValidate() |
void |
testDefaultValidator() |
void |
testFormats() |
void |
testMaximumBounds() |
void |
testMinimumBounds() |
void |
testSingleFormatValidate() |
void |
testValidate() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
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
public static final DateFormat D_M_YY
public static final DateFormat YYYY_MM_DD
public DateValidatorTest()
public void testSingleFormatValidate() throws InvalidArgumentException
InvalidArgumentException
public void testDefaultDateFormatValidate() throws InvalidArgumentException
InvalidArgumentException
public void testDefaultTimeFormatValidate() throws InvalidArgumentException
InvalidArgumentException
public void testDefaultDateTimeFormatValidate() throws InvalidArgumentException
InvalidArgumentException
public void testDefaultValidator() throws InvalidArgumentException
InvalidArgumentException
public void testValidate() throws InvalidArgumentException
InvalidArgumentException
public void testMinimumBounds() throws InvalidArgumentException
InvalidArgumentException
public void testFormats() throws InvalidArgumentException
InvalidArgumentException
public void testMaximumBounds() throws InvalidArgumentException
InvalidArgumentException
public static junit.framework.Test suite()
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.