Class CollectionsTest
java.lang.Object
org.fastnate.generator.test.AbstractEntitySqlGeneratorTest
org.fastnate.generator.test.collections.CollectionsTest
Test collections in entities.
- 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 embedded collections and prevent circular dependencies.voidTests to writeConvert.voidTests to write plural properties.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
-
CollectionsTest
public CollectionsTest()
-
-
Method Details
-
testEmbedded
Tests to write embedded collections and prevent circular dependencies.- Throws:
IOException- if the generator throws one
-
testListConverter
Tests to writeConvert.- Throws:
IOException- if the generator throws one
-
testPlural
Tests to write plural properties.- Throws:
IOException- if the generator throws one
-