Revision 5748
Added by berkley about 14 years ago
test/edu/ucsb/nceas/metacat/dataone/CrudServiceTest.java | ||
---|---|---|
93 | 93 |
public static Test suite() |
94 | 94 |
{ |
95 | 95 |
TestSuite suite = new TestSuite(); |
96 |
suite.addTest(new CrudServiceTest("initialize")); |
|
97 |
suite.addTest(new CrudServiceTest("testSingletonAccessor")); |
|
98 |
suite.addTest(new CrudServiceTest("testCreateAndGet")); |
|
99 |
suite.addTest(new CrudServiceTest("testGetSystemMetadata")); |
|
100 |
suite.addTest(new CrudServiceTest("testUpdate")); |
|
101 |
suite.addTest(new CrudServiceTest("testListObjects")); |
|
102 |
suite.addTest(new CrudServiceTest("testAccessControl")); |
|
103 |
//suite.addTest(new CrudServiceTest("testGenerateMissingSystemMetadata")); |
|
104 |
suite.addTest(new CrudServiceTest("testGetLogRecords")); |
|
105 |
suite.addTest(new CrudServiceTest("testChecksumError")); |
|
106 |
suite.addTest(new CrudServiceTest("testPublicAccess")); |
|
107 |
suite.addTest(new CrudServiceTest("testFailedCreate")); |
|
108 |
suite.addTest(new CrudServiceTest("testChecksum")); |
|
109 |
suite.addTest(new CrudServiceTest("testDescribe")); |
|
110 |
suite.addTest(new CrudServiceTest("testDelete")); |
|
96 |
// suite.addTest(new CrudServiceTest("initialize"));
|
|
97 |
// suite.addTest(new CrudServiceTest("testSingletonAccessor"));
|
|
98 |
// suite.addTest(new CrudServiceTest("testCreateAndGet"));
|
|
99 |
// suite.addTest(new CrudServiceTest("testGetSystemMetadata"));
|
|
100 |
// suite.addTest(new CrudServiceTest("testUpdate"));
|
|
101 |
// suite.addTest(new CrudServiceTest("testListObjects"));
|
|
102 |
// suite.addTest(new CrudServiceTest("testAccessControl"));
|
|
103 |
// //suite.addTest(new CrudServiceTest("testGenerateMissingSystemMetadata"));
|
|
104 |
// suite.addTest(new CrudServiceTest("testGetLogRecords"));
|
|
105 |
// suite.addTest(new CrudServiceTest("testChecksumError"));
|
|
106 |
// suite.addTest(new CrudServiceTest("testPublicAccess"));
|
|
107 |
// suite.addTest(new CrudServiceTest("testFailedCreate"));
|
|
108 |
// suite.addTest(new CrudServiceTest("testChecksum"));
|
|
109 |
// suite.addTest(new CrudServiceTest("testDescribe"));
|
|
110 |
// suite.addTest(new CrudServiceTest("testDelete"));
|
|
111 | 111 |
suite.addTest(new CrudServiceTest("testSemiColonsInIdentifiers")); |
112 | 112 |
return suite; |
113 | 113 |
} |
... | ... | |
125 | 125 |
String testDoc = getTestDoc(); |
126 | 126 |
|
127 | 127 |
Identifier id = new Identifier(); |
128 |
id.setValue("someid:xyz:fff." + new Date().getTime());
|
|
128 |
id.setValue("someid;id;with;semi;colons;in;it." + new Date().getTime());
|
|
129 | 129 |
String docid = generateDocumentId(); |
130 | 130 |
|
131 | 131 |
//create the system metadata then run the create method |
Also available in: Unified diff
changed test to use actual semi-colons instead of colons