File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
cloudinary-http43/src/test/java/com/cloudinary/test
cloudinary-http44/src/test/java/com/cloudinary/test Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 44import com .cloudinary .utils .ObjectUtils ;
55import org .apache .http .conn .ConnectTimeoutException ;
66import org .junit .Test ;
7+ import org .junit .experimental .categories .Category ;
78
89import java .net .SocketTimeoutException ;
910import java .util .Map ;
1011
1112public class UploaderTest extends AbstractUploaderTest {
1213
14+ @ Category (TimeoutTest .class )
1315 @ Test (expected = ConnectTimeoutException .class )
1416 public void testConnectTimeoutParameter () throws Exception {
1517 // should allow listing resources
@@ -19,6 +21,7 @@ public void testConnectTimeoutParameter() throws Exception {
1921 ApiResponse result = cloudinary .api ().resources (options );
2022 }
2123
24+ @ Category (TimeoutTest .class )
2225 @ Test (expected = SocketTimeoutException .class )
2326 public void testTimeoutParameter () throws Exception {
2427 // should allow listing resources
Original file line number Diff line number Diff line change 44import com .cloudinary .utils .ObjectUtils ;
55import org .apache .http .conn .ConnectTimeoutException ;
66import org .junit .Test ;
7+ import org .junit .experimental .categories .Category ;
78
89import java .net .SocketTimeoutException ;
910import java .util .Map ;
1011
1112public class UploaderTest extends AbstractUploaderTest {
1213
14+ @ Category (TimeoutTest .class )
1315 @ Test (expected = ConnectTimeoutException .class )
1416 public void testConnectTimeoutParameter () throws Exception {
1517 // should allow listing resources
@@ -19,6 +21,7 @@ public void testConnectTimeoutParameter() throws Exception {
1921 ApiResponse result = cloudinary .api ().resources (options );
2022 }
2123
24+ @ Category (TimeoutTest .class )
2225 @ Test (expected = SocketTimeoutException .class )
2326 public void testTimeoutParameter () throws Exception {
2427 // should allow listing resources
You can’t perform that action at this time.
0 commit comments