Class DateTimeTests
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.apache.ofbiz.base.test.GenericTestCaseBase
-
- org.apache.ofbiz.base.conversion.test.DateTimeTests
-
- All Implemented Interfaces:
junit.framework.Test
public class DateTimeTests extends GenericTestCaseBase
-
-
Constructor Summary
Constructors Constructor Description DateTimeTests(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <S,T>
voidassertConversion(java.lang.String label, Converter<S,T> converter, S source, T target)
void
testDateTimeConverters()
-
Methods inherited from class org.apache.ofbiz.base.test.GenericTestCaseBase
assertComparison, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsIterable, assertEqualsIterable, assertEqualsIterable, assertEqualsIterable, assertFuture, assertNotEquals, assertNotEquals, assertStaticHelperClass, list, list, map, set, set, set, set, useAllMemory
-
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
-
-
-
-
Method Detail
-
assertConversion
public static <S,T> void assertConversion(java.lang.String label, Converter<S,T> converter, S source, T target) throws java.lang.Exception
- Throws:
java.lang.Exception
-
testDateTimeConverters
public void testDateTimeConverters() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-