Project

General

Profile

« Previous | Next » 

Revision 1222

Added by Jing Tao over 22 years ago

Change the test case order.

View differences:

test/edu/ucsb/nceas/metacatnettest/MetaCatServletNetTest.java
108 108
    suite.addTest(new MetaCatServletNetTest("testInsertXMLDocument", serial));
109 109
    suite.addTest(new MetaCatServletNetTest("testReadXMLDocumentXMLFormat", 
110 110
                                                        serial));
111
        
111
    suite.addTest(new MetaCatServletNetTest("testUpdateXMLDocument",serial));    
112 112
    suite.addTest(new MetaCatServletNetTest("testReadXMLDocumentHTMLFormat", 
113 113
                                                        serial));
114 114
    suite.addTest(new MetaCatServletNetTest("testReadXMLDocumentZipFormat", 
115 115
                                                        serial));
116
    suite.addTest(new MetaCatServletNetTest("testUpdateXMLDocument",serial));
116
    
117 117
    suite.addTest(new MetaCatServletNetTest("testDeleteXMLDocument",serial));
118 118
    
119 119
    //insert invalid xml document
test/edu/ucsb/nceas/metacattest/MetaCatServletTest.java
108 108
    suite.addTest(new MetaCatServletTest("testInsertXMLDocument", serial));
109 109
    suite.addTest(new MetaCatServletTest("testReadXMLDocumentXMLFormat", 
110 110
                                                        serial));
111
    suite.addTest(new MetaCatServletTest("testUpdateXMLDocument",serial));
111 112
        
112 113
    suite.addTest(new MetaCatServletTest("testReadXMLDocumentHTMLFormat", 
113 114
                                                        serial));
114 115
    suite.addTest(new MetaCatServletTest("testReadXMLDocumentZipFormat", 
115 116
                                                        serial));
116
    suite.addTest(new MetaCatServletTest("testUpdateXMLDocument",serial));
117
    
117 118
    suite.addTest(new MetaCatServletTest("testDeleteXMLDocument",serial));
118 119
    
119 120
    //insert invalid xml document
......
125 126
    number = Math.random()*100000;
126 127
    serial = Integer.toString(((new Double(number)).intValue())); 
127 128
    suite.addTest(new MetaCatServletTest("testInsertNonWellFormedXMLDocument",
128
                                                            serial));                                               
129
                                                            serial));
130
    
129 131
    suite.addTest(new MetaCatServletTest("testLogOut"));                   
130 132
                              
131 133
    return suite;

Also available in: Unified diff