Changeset 5549 for ComponentRegistry/trunk/ComponentRegistry/src/test/java/clarin/cmdi/componentregistry/impl/database/AbstractDescriptionDaoTest.java
- Timestamp:
- 08/11/14 16:07:55 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/trunk/ComponentRegistry/src/test/java/clarin/cmdi/componentregistry/impl/database/AbstractDescriptionDaoTest.java
r4098 r5549 14 14 import clarin.cmdi.componentregistry.BaseUnitTest; 15 15 import clarin.cmdi.componentregistry.model.BaseDescription; 16 import clarin.cmdi.componentregistry.model.ComponentDescription; 16 17 import clarin.cmdi.componentregistry.persistence.ComponentDao; 17 18 import clarin.cmdi.componentregistry.persistence.jpa.UserDao; … … 96 97 // returned. Should also test the case where there are userspace 97 98 // descriptions 98 List<BaseDescription> descriptions = getDao().get UserspaceComponents(-1);99 List<BaseDescription> descriptions = getDao().getPrivateBaseDescriptions(-1, ComponentDescription.COMPONENT_PREFIX); 99 100 assertEquals(0, descriptions.size()); 100 101 }
Note: See TracChangeset
for help on using the changeset viewer.