Skip to content

Commit a06c1f6

Browse files
committed
remove useless test
1 parent 5edc6e7 commit a06c1f6

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

library/src/androidTest/java/com/qiniu/android/HttpsTest.java

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -80,24 +80,24 @@ public void complete(ResponseInfo rinfo, JSONObject response) {
8080
Assert.assertNotNull(info.reqId);
8181
}
8282

83-
@SmallTest
84-
public void testPost3() throws Throwable {
85-
httpManager.asyncPost("https://up.qiniu.com",
86-
"hello".getBytes(), null, null, new CompletionHandler() {
87-
@Override
88-
public void complete(ResponseInfo rinfo, JSONObject response) {
89-
Log.d("qiniutest", rinfo.toString());
90-
info = rinfo;
91-
signal.countDown();
92-
}
93-
}, null);
94-
95-
try {
96-
signal.await(60000, TimeUnit.SECONDS); // wait for callback
97-
} catch (InterruptedException e) {
98-
e.printStackTrace();
99-
}
100-
// cert is not match
101-
Assert.assertEquals(info.error, -1, info.statusCode);
102-
}
83+
// @SmallTest
84+
// public void testPost3() throws Throwable {
85+
// httpManager.asyncPost("https://up.qiniu.com",
86+
// "hello".getBytes(), null, null, new CompletionHandler() {
87+
// @Override
88+
// public void complete(ResponseInfo rinfo, JSONObject response) {
89+
// Log.d("qiniutest", rinfo.toString());
90+
// info = rinfo;
91+
// signal.countDown();
92+
// }
93+
// }, null);
94+
//
95+
// try {
96+
// signal.await(60000, TimeUnit.SECONDS); // wait for callback
97+
// } catch (InterruptedException e) {
98+
// e.printStackTrace();
99+
// }
100+
// // cert is not match
101+
// Assert.assertEquals(info.error, -1, info.statusCode);
102+
// }
103103
}

0 commit comments

Comments
 (0)