Class TopiaEntityHelperTest
java.lang.Object
org.nuiton.topia.persistence.util.TopiaEntityHelperTest
public class TopiaEntityHelperTest
extends java.lang.Object
- Author:
- tchemit <chemit@codelutin.com>
-
Constructor Summary
Constructors Constructor Description TopiaEntityHelperTest() -
Method Summary
Modifier and Type Method Description protected voiddetectEntities(java.lang.Class<?>[] expected, int[] sizes, org.nuiton.topia.persistence.TopiaEntity... data)protected voiddetectEntityIds(java.lang.Class<?>[] expected, int[] sizes, org.nuiton.topia.persistence.TopiaEntity... data)protected voiddetectTypes(java.lang.Class<?>[] expected, org.nuiton.topia.persistence.TopiaEntity... data)protected voidgetContractClass(java.lang.Class<?> expected, java.lang.Class<? extends org.nuiton.topia.persistence.TopiaEntity> klass)static voidsetUpClass()static voidtearDownClass()voidtestDetector()voidtestDetectTypes()Test of detectTypes method, of class TopiaEntityHelper.voidtestgetContract()Test of getContractClass method, of class TopiaEntityHelper.voidtestRetainContracts()Test of retainContracts method, of class TopiaEntityHelper.
-
Constructor Details
-
TopiaEntityHelperTest
public TopiaEntityHelperTest()
-
-
Method Details
-
setUpClass
public static void setUpClass() throws java.lang.Exception- Throws:
java.lang.Exception
-
tearDownClass
public static void tearDownClass() throws java.lang.Exception- Throws:
java.lang.Exception
-
testgetContract
public void testgetContract()Test of getContractClass method, of class TopiaEntityHelper. -
testRetainContracts
public void testRetainContracts()Test of retainContracts method, of class TopiaEntityHelper. -
testDetectTypes
public void testDetectTypes() throws org.nuiton.topia.TopiaExceptionTest of detectTypes method, of class TopiaEntityHelper.- Throws:
org.nuiton.topia.TopiaException
-
testDetector
public void testDetector() throws java.lang.Exception- Throws:
java.lang.Exception
-
detectEntities
protected void detectEntities(java.lang.Class<?>[] expected, int[] sizes, org.nuiton.topia.persistence.TopiaEntity... data) throws org.nuiton.topia.TopiaException- Throws:
org.nuiton.topia.TopiaException
-
detectEntityIds
protected void detectEntityIds(java.lang.Class<?>[] expected, int[] sizes, org.nuiton.topia.persistence.TopiaEntity... data) throws org.nuiton.topia.TopiaException- Throws:
org.nuiton.topia.TopiaException
-
detectTypes
protected void detectTypes(java.lang.Class<?>[] expected, org.nuiton.topia.persistence.TopiaEntity... data) throws org.nuiton.topia.TopiaException- Throws:
org.nuiton.topia.TopiaException
-
getContractClass
protected void getContractClass(java.lang.Class<?> expected, java.lang.Class<? extends org.nuiton.topia.persistence.TopiaEntity> klass)
-