Revision 5754
Added by ben leinfelder about 14 years ago
test/edu/ucsb/nceas/metacattest/NonAsciiCharacterTest.java | ||
---|---|---|
273 | 273 |
TestSuite suite = new TestSuite(); |
274 | 274 |
suite.addTest(new NonAsciiCharacterTest("initialize")); |
275 | 275 |
// Test basic functions |
276 |
/*suite.addTest(new NonAsciiCharacterTest("invalidXMLCharacters201Test"));
|
|
276 |
suite.addTest(new NonAsciiCharacterTest("invalidXMLCharacters201Test")); |
|
277 | 277 |
suite.addTest(new NonAsciiCharacterTest("invalidXMLCharacters210Test")); |
278 | 278 |
suite.addTest(new NonAsciiCharacterTest("symbolEncodedFormat201Test")); |
279 | 279 |
suite.addTest(new NonAsciiCharacterTest("symbolEncodedFormat210Test")); |
280 | 280 |
suite.addTest(new NonAsciiCharacterTest("quote201Test")); |
281 | 281 |
suite.addTest(new NonAsciiCharacterTest("quote210Test")); |
282 | 282 |
suite.addTest(new NonAsciiCharacterTest("numericCharacterReferenceFormat201Test")); |
283 |
suite.addTest(new NonAsciiCharacterTest("numericCharacterReferenceFormat210Test"));*/
|
|
284 |
//suite.addTest(new NonAsciiCharacterTest("nonLatinUnicodeCharacter201Test"));
|
|
285 |
//suite.addTest(new NonAsciiCharacterTest("nonLatinUnicodeCharacter210Test"));
|
|
283 |
suite.addTest(new NonAsciiCharacterTest("numericCharacterReferenceFormat210Test")); |
|
284 |
suite.addTest(new NonAsciiCharacterTest("nonLatinUnicodeCharacter201Test")); |
|
285 |
suite.addTest(new NonAsciiCharacterTest("nonLatinUnicodeCharacter210Test")); |
|
286 | 286 |
suite.addTest(new NonAsciiCharacterTest("unicodeCharacterTest")); |
287 | 287 |
|
288 |
|
|
289 | 288 |
return suite; |
290 | 289 |
} |
291 | 290 |
|
... | ... | |
612 | 611 |
Thread.sleep(3000); |
613 | 612 |
queryDocWhichHasTitle(newdocid + ".1", testTitle, EML2_0_1, SUCCESS); |
614 | 613 |
|
615 |
//deleteDocid(newdocid + ".1", SUCCESS, false);
|
|
614 |
deleteDocid(newdocid + ".1", SUCCESS, false); |
|
616 | 615 |
|
617 | 616 |
m.logout(); |
618 | 617 |
} |
... | ... | |
696 | 695 |
queryDocWhichHasTitle(testTitle, testTitle, EML2_1_0, SUCCESS); |
697 | 696 |
|
698 | 697 |
// clean up |
699 |
//deleteDocid(newdocid, SUCCESS, false);
|
|
698 |
deleteDocid(newdocid, SUCCESS, false); |
|
700 | 699 |
|
701 | 700 |
m.logout(); |
702 | 701 |
} |
Also available in: Unified diff
uncomment the other test cases and make sure we do the clean up when the tests are complete (delete the uploaded documents)