Package org.fastnate.generator.test.date
Class DateEntityTest
java.lang.Object
org.fastnate.generator.test.AbstractEntitySqlGeneratorTest
org.fastnate.generator.test.date.DateEntityTest
Tests that temporal properties are written correctly.
- Author:
- Tobias Liefke
-
Field Summary
Fields inherited from class org.fastnate.generator.test.AbstractEntitySqlGeneratorTest
WRITER_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTests to write properties with absolute dates.voidTests to write properties with reference dates.voidTests to write properties with relative dates.Methods inherited from class org.fastnate.generator.test.AbstractEntitySqlGeneratorTest
createQuery, executeSql, findResults, findResults, findSingleResult, findSingleResult, getConnection, getEm, getGenerator, getGeneratorProperties, setup, setup, tearDown, write
-
Constructor Details
-
DateEntityTest
public DateEntityTest()
-
-
Method Details
-
testAbsoluteDates
Tests to write properties with absolute dates.- Throws:
IOException- if the generator throws one
-
testReferenceDates
Tests to write properties with reference dates.- Throws:
IOException- if the generator throws one
-
testRelativeDates
Tests to write properties with relative dates.- Throws:
IOException- if the generator throws one
-