Class MCRObjectInfoEntityQueryResolverTest

java.lang.Object
org.mycore.common.MCRTestCase
org.mycore.common.MCRJPATestCase
org.mycore.datamodel.objectinfo.MCRObjectInfoEntityQueryResolverTest

public class MCRObjectInfoEntityQueryResolverTest extends MCRJPATestCase
  • Field Details

  • Constructor Details

    • MCRObjectInfoEntityQueryResolverTest

      public MCRObjectInfoEntityQueryResolverTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Description copied from class: MCRTestCase
      initializes MCRConfiguration with an empty property file. This can be used to test MyCoRe classes without any propties set, using default. You may want to set Properties per TestCase with the set() method of MCRConfiguration2
      Overrides:
      setUp in class MCRJPATestCase
      Throws:
      Exception
      See Also:
    • storeObjectInfo

      public MCRObjectInfoEntity storeObjectInfo(String id, Instant createdDate, Instant modifiedDate, String createdBy, String modifiedBy, String state, List<String> linkedCategoryIds)
    • sortByIdTest

      public void sortByIdTest()
    • createdBeforeTest

      public void createdBeforeTest()
    • createdAfterTest

      public void createdAfterTest()
    • modifiedBeforeTest

      public void modifiedBeforeTest()
    • modifiedAfterTest

      public void modifiedAfterTest()
    • createdByTest

      public void createdByTest()
    • objectNumberTest

      public void objectNumberTest()
    • objectTypeTest

      public void objectTypeTest()
    • stateTest

      public void stateTest()
    • categoryTest

      public void categoryTest()
    • getTestProperties

      protected Map<String,String> getTestProperties()
      Overrides:
      getTestProperties in class MCRTestCase