Mercurial > hg > mpdl-group
comparison software/eXist/mpdl-modules/src/de/mpg/mpiwg/berlin/mpdl/escidoc/TestESciDoc.java @ 6:2396a569e446
new functions: externalObjects, normalizer, Unicode2Betacode
author | Josef Willenborg <jwillenborg@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 08 Feb 2011 14:54:09 +0100 |
parents | 408254cf2f1d |
children | 5df60f24e997 |
comparison
equal
deleted
inserted
replaced
5:94305c504178 | 6:2396a569e446 |
---|---|
59 */ | 59 */ |
60 | 60 |
61 TestESciDoc test = new TestESciDoc(); | 61 TestESciDoc test = new TestESciDoc(); |
62 test.init("jwillenborg"); // init eSciDoc-Session with cookie as user jwillenborg | 62 test.init("jwillenborg"); // init eSciDoc-Session with cookie as user jwillenborg |
63 | 63 |
64 // test.grant("aeisemann", "admin"); | 64 // test.grant("urte", "admin"); |
65 String uid = test.getUserId("aeisemann"); | 65 String uid = test.getUserId("urte"); |
66 String users = test.getAllUsers(); | 66 String users = test.getAllUsers(); |
67 String grantAdmin = test.getGrantHrefByUserNameAndRoleName("aeisemann", "escidoc:role-system-administrator"); | 67 String grantAdmin = test.getGrantHrefByUserNameAndRoleName("urte", "escidoc:role-system-administrator"); |
68 String grants = test.getGrantsByUserName("aeisemann"); | 68 String grants = test.getGrantsByUserName("urte"); |
69 String bla = ""; | 69 String bla = ""; |
70 | 70 |
71 // test.testSchemaValidation(); | 71 // test.testSchemaValidation(); |
72 | 72 |
73 // test.deleteItem("/ir/item/escidoc:48488"); | 73 // test.deleteItem("/ir/item/escidoc:48488"); |