Revision 3760
Added by Jing Tao almost 17 years ago
test/edu/ucsb/nceas/metacattest/NonAsciiCharacterTest.java | ||
---|---|---|
197 | 197 |
// Test basic functions |
198 | 198 |
suite.addTest(new NonAsciiCharacterTest("invalidXMLCharactersTest")); |
199 | 199 |
suite.addTest(new NonAsciiCharacterTest("symbolEncodedFormatTest")); |
200 |
//suite.addTest(new NonAsciiCharacterTest("quoteTest"));
|
|
200 |
suite.addTest(new NonAsciiCharacterTest("quoteTest")); |
|
201 | 201 |
suite.addTest(new NonAsciiCharacterTest("numericCharacterReferenceFormatTest")); |
202 | 202 |
suite.addTest(new NonAsciiCharacterTest("nonLatinUnicodeCharacterTest")); |
203 | 203 |
|
... | ... | |
271 | 271 |
newdocid = generateDocid(); |
272 | 272 |
m.login(username, password); |
273 | 273 |
testdocument = getTestEmlDoc("Checking ' ` \""); |
274 |
insertDocid(newdocid + ".1", testdocument, SUCCESS, false); |
|
274 |
insertDocid(newdocid + ".1", testdocument, SUCCESS, true); |
|
275 |
testdocument = getTestEmlDoc("Checking ' ` ""); |
|
275 | 276 |
readDocidWhichEqualsDoc(newdocid, testdocument, SUCCESS, true); |
276 | 277 |
m.logout(); |
277 | 278 |
} |
... | ... | |
297 | 298 |
newdocid = generateDocid(); |
298 | 299 |
m.login(username, password); |
299 | 300 |
testdocument = getTestEmlDoc("Checking µ"); |
300 |
insertDocid(newdocid + ".1", testdocument, SUCCESS, false); |
|
301 |
insertDocid(newdocid + ".1", testdocument, SUCCESS, true); |
|
302 |
testdocument = getTestEmlDoc("Checking µ"); |
|
301 | 303 |
readDocidWhichEqualsDoc(newdocid, testdocument, SUCCESS, true); |
302 | 304 |
m.logout(); |
303 | 305 |
} |
... | ... | |
323 | 325 |
m.login(username, password); |
324 | 326 |
testdocument = getTestEmlDoc("Checking charcters like µ"); |
325 | 327 |
insertDocid(newdocid + ".1", testdocument, SUCCESS, false); |
326 |
testdocument = getTestEmlDoc("Checking charcters like µ"); |
|
328 |
//testdocument = getTestEmlDoc("Checking charcters like µ");
|
|
327 | 329 |
readDocidWhichEqualsDoc(newdocid, testdocument, SUCCESS, true); |
328 | 330 |
m.logout(); |
329 | 331 |
} |
Also available in: Unified diff
Remove commented test case.