Ignore:
Timestamp:
08/11/14 16:07:55 (10 years ago)
Author:
olhsha@mpi.nl
Message:

Added group service. Tested via the tomcat on loclahots (test URI and postman), old unit tests are adjusted and work well. Todo: retest on localhost tomcat, look at run-time exceptions, add new unit tests, adjust front-end

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/trunk/ComponentRegistry/src/test/java/clarin/cmdi/componentregistry/impl/database/AbstractDescriptionDaoTest.java

    r4098 r5549  
    1414import clarin.cmdi.componentregistry.BaseUnitTest;
    1515import clarin.cmdi.componentregistry.model.BaseDescription;
     16import clarin.cmdi.componentregistry.model.ComponentDescription;
    1617import clarin.cmdi.componentregistry.persistence.ComponentDao;
    1718import clarin.cmdi.componentregistry.persistence.jpa.UserDao;
     
    9697        // returned. Should also test the case where there are userspace
    9798        // descriptions
    98         List<BaseDescription> descriptions = getDao().getUserspaceComponents(-1);
     99        List<BaseDescription> descriptions = getDao().getPrivateBaseDescriptions(-1, ComponentDescription.COMPONENT_PREFIX);
    99100        assertEquals(0, descriptions.size());
    100101    }
Note: See TracChangeset for help on using the changeset viewer.