Skip to content

Commit cd1ad6a

Browse files
committed
Move integration tests to test module.
1 parent 5fafcca commit cd1ad6a

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

httprpc/src/test/java/org/httprpc/BulkUploadTest.java renamed to httprpc-test/src/test/java/org/httprpc/test/BulkUploadTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@
1212
* limitations under the License.
1313
*/
1414

15-
package org.httprpc;
15+
package org.httprpc.test;
1616

1717
import java.io.IOException;
1818
import java.net.URL;
1919
import java.util.Iterator;
2020
import java.util.Map;
2121

22+
import org.httprpc.AbstractTest;
23+
import org.httprpc.WebServiceProxy;
2224
import org.httprpc.io.CSVEncoder;
2325

2426
public class BulkUploadTest extends AbstractTest {
@@ -62,7 +64,7 @@ public static void main(String[] args) throws Exception {
6264
}
6365

6466
private static void testUpload() throws IOException {
65-
testUpload("http://localhost:8080/httprpc-test/bulk-upload/upload", "Upload", 500);
67+
testUpload("http://localhost:8080/httprpc-test/bulk-upload/upload", "Upload", 5000);
6668
testUpload("http://localhost:8080/httprpc-test/bulk-upload/upload-batch", "Upload Batch", 500000);
6769
}
6870

httprpc/src/test/java/org/httprpc/WebServiceProxyTest.java renamed to httprpc-test/src/test/java/org/httprpc/test/WebServiceProxyTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* limitations under the License.
1313
*/
1414

15-
package org.httprpc;
15+
package org.httprpc.test;
1616

1717
import java.awt.image.BufferedImage;
1818
import java.io.IOException;
@@ -31,6 +31,7 @@
3131

3232
import javax.imageio.ImageIO;
3333

34+
import org.httprpc.*;
3435
import org.httprpc.beans.BeanAdapter;
3536

3637
public class WebServiceProxyTest extends AbstractTest {
@@ -54,7 +55,7 @@ public interface AttachmentInfo {
5455

5556
@RequestMethod("GET")
5657
public Map<String, Object> testGet(@RequestParameter("string") String text, List<String> strings, int number, boolean flag,
57-
Date date, LocalDate localDate, LocalTime localTime, LocalDateTime localDateTime) throws IOException;
58+
Date date, LocalDate localDate, LocalTime localTime, LocalDateTime localDateTime) throws IOException;
5859

5960
@RequestMethod("GET")
6061
@ResourcePath("fibonacci")
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)