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 void detectEntities​(java.lang.Class<?>[] expected, int[] sizes, org.nuiton.topia.persistence.TopiaEntity... data)  
    protected void detectEntityIds​(java.lang.Class<?>[] expected, int[] sizes, org.nuiton.topia.persistence.TopiaEntity... data)  
    protected void detectTypes​(java.lang.Class<?>[] expected, org.nuiton.topia.persistence.TopiaEntity... data)  
    protected void getContractClass​(java.lang.Class<?> expected, java.lang.Class<? extends org.nuiton.topia.persistence.TopiaEntity> klass)  
    static void setUpClass()  
    static void tearDownClass()  
    void testDetector()  
    void testDetectTypes()
    Test of detectTypes method, of class TopiaEntityHelper.
    void testgetContract()
    Test of getContractClass method, of class TopiaEntityHelper.
    void testRetainContracts()
    Test of retainContracts method, of class TopiaEntityHelper.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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.TopiaException
      Test 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)