Package org.nuiton.topiatest
Class EnumTest
java.lang.Object
org.nuiton.topiatest.EnumTest
Test the support of possibility to have an attribute of type enumeration
in a entity
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCreate an entity having two field of type enumeration.
-
Field Details
-
db
-
-
Constructor Details
-
EnumTest
public EnumTest()
-
-
Method Details
-
storeEntityWithEnumValue
public void storeEntityWithEnumValue() throws org.nuiton.topia.TopiaExceptionCreate an entity having two field of type enumeration. One is stored using ordinal, the other using the name. The test check that values are stored, and that find methods works- Throws:
org.nuiton.topia.TopiaException- if any exception with db
-