Project

General

Profile

« Previous | Next » 

Revision 3756

Added by Jing Tao over 16 years ago

Modified the test for nonlationcharacter.

View differences:

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

  
......
245 245
        try {
246 246
            newdocid = generateDocid();
247 247
            m.login(username, password);
248
            testdocument = getTestEmlDoc("Checking > & <");
248
            testdocument = getTestEmlDoc("Checking > < " ' &");
249 249
            insertDocid(newdocid + ".1", testdocument, SUCCESS, false);
250 250
            readDocidWhichEqualsDoc(newdocid, testdocument, SUCCESS, false);
251 251
            m.logout();
......
323 323
            m.login(username, password);
324 324
            testdocument = getTestEmlDoc("Checking charcters like ยต");
325 325
            insertDocid(newdocid + ".1", testdocument, SUCCESS, false);
326
            testdocument = getTestEmlDoc("Checking charcters like µ");
326
            testdocument = getTestEmlDoc("Checking charcters like µ");
327 327
            readDocidWhichEqualsDoc(newdocid, testdocument, SUCCESS, true);
328 328
            m.logout();
329 329
        }

Also available in: Unified diff