Project

General

Profile

« Previous | Next » 

Revision 5404

Added by berkley over 14 years ago

changed getSessionData so that it will respond property to public tokens

View differences:

test/edu/ucsb/nceas/metacat/dataone/CrudServiceTest.java
108 108
	{
109 109
	    try
110 110
	    {
111
	        System.out.println("XXX");
112 111
	        AuthToken token = new AuthToken("public");
112
	        //AuthToken token = getToken();
113 113
	        CrudService cs = CrudService.getInstance();
114 114
	        ObjectList ol = cs.listObjects(token, null, null, null);
115
	        System.out.println("ol: " + ol.getCount());
116
	        assertTrue(ol.getCount() > 0);
115
	        System.out.println("ol: " + ol.sizeObjectInfoList());
116
	        assertTrue(ol.sizeObjectInfoList() > 0);
117 117
	    }
118 118
	    catch(Exception e)
119 119
	    {

Also available in: Unified diff