Class TopiaContextFindTest

java.lang.Object
org.nuiton.topia.persistence.TopiaContextFindTest

public class TopiaContextFindTest extends Object
Tests the TopiaContext#find|findAll|findUnique methods
Author:
Arnaud Thimel <thimel@codelutin.com>
  • Field Details

    • db

      public final TopiaDatabase db
    • context

      protected org.nuiton.topia.TopiaContext context
    • addressDAO

      protected AddressDAO addressDAO
    • personneDAO

      protected PersonneDAO personneDAO
    • address

      protected Address address
  • Constructor Details

    • TopiaContextFindTest

      public TopiaContextFindTest()
  • Method Details

    • createCompanies

      public void createCompanies() throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • testFindDAO

      public void testFindDAO() throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • testFindAll

      public void testFindAll() throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • testFind

      public void testFind() throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • testFindUnique

      public void testFindUnique() throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • testFindUniqueOutOfBounds

      public void testFindUniqueOutOfBounds() throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException