Ignore:
Timestamp:
08/22/14 18:23:26 (10 years ago)
Author:
olhsha@mpi.nl
Message:

little fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/trunk/ComponentRegistry/src/test/java/clarin/cmdi/componentregistry/rest/ComponentRegistryRestServiceTest.java

    r5563 r5603  
    861861                RegisterResponse.class, form);
    862862        assertTrue(response.isProfile());
    863         assertTrue(response.isInUserSpace());
     863        assertTrue(response.isPrivate());
    864864        ProfileDescription profileDesc = (ProfileDescription) response
    865865                .getDescription();
     
    993993                form);
    994994        assertTrue(response.isProfile());
    995         assertTrue(response.isInUserSpace());
     995        assertTrue(response.isPrivate());
    996996        ProfileDescription profileDesc = (ProfileDescription) response
    997997                .getDescription();
     
    11511151        assertTrue(response.isRegistered());
    11521152        assertFalse(response.isProfile());
    1153         assertTrue(response.isInUserSpace());
     1153        assertTrue(response.isPrivate());
    11541154        ComponentDescription desc = (ComponentDescription) response
    11551155                .getDescription();
     
    12831283        assertTrue(response.isRegistered());
    12841284        assertFalse(response.isProfile());
    1285         assertTrue(response.isInUserSpace());
     1285        assertTrue(response.isPrivate());
    12861286        ComponentDescription desc = (ComponentDescription) response
    12871287                .getDescription();
     
    13091309        assertTrue(response.isRegistered());
    13101310        assertFalse(response.isProfile());
    1311         assertTrue(response.isInUserSpace());
     1311        assertTrue(response.isPrivate());
    13121312        desc = (ComponentDescription) response.getDescription();
    13131313        assertNotNull(desc);
     
    13451345        assertTrue(response.isRegistered());
    13461346        assertTrue(response.isProfile());
    1347         assertTrue(response.isInUserSpace());
     1347        assertTrue(response.isPrivate());
    13481348        ProfileDescription desc = (ProfileDescription) response
    13491349                .getDescription();
     
    13721372        assertTrue(response.isRegistered());
    13731373        assertTrue(response.isProfile());
    1374         assertTrue(response.isInUserSpace());
     1374        assertTrue(response.isPrivate());
    13751375        desc = (ProfileDescription) response.getDescription();
    13761376        assertNotNull(desc);
     
    14341434        assertTrue(response.isRegistered());
    14351435        assertFalse(response.isProfile());
    1436         assertTrue(response.isInUserSpace());
     1436        assertTrue(response.isPrivate());
    14371437        ComponentDescription desc = (ComponentDescription) response
    14381438                .getDescription();
     
    14691469                .post(CommentResponse.class, form);
    14701470        assertTrue(response.isRegistered());
    1471         assertFalse(response.isInUserSpace());
     1471        assertFalse(response.isPrivate());
    14721472        Comment comment = response.getComment();
    14731473        assertNotNull(comment);
Note: See TracChangeset for help on using the changeset viewer.