org.nuiton.topiatest
Class EnumTest
java.lang.Object
org.nuiton.topiatest.EnumTest
public class EnumTest
- extends Object
Test the support of possibility to have an attribute of type enumeration
in a entity
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
testBasedir
protected static File testBasedir
EnumTest
public EnumTest()
setUpClass
public static void setUpClass()
throws Exception
- Throws:
Exception
initTopiaContext
protected org.nuiton.topia.TopiaContext initTopiaContext(String testName)
throws IOException,
org.nuiton.topia.TopiaNotFoundException
- Throws:
IOException
org.nuiton.topia.TopiaNotFoundException
storeEntityWithEnumValue
public void storeEntityWithEnumValue()
throws Exception
- Create 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:
Exception
Copyright © 2004-2011 CodeLutin. All Rights Reserved.