aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com/android/volley/toolbox/StringRequestTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/android/volley/toolbox/StringRequestTest.java')
-rw-r--r--src/test/java/com/android/volley/toolbox/StringRequestTest.java17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/test/java/com/android/volley/toolbox/StringRequestTest.java b/src/test/java/com/android/volley/toolbox/StringRequestTest.java
index eadd73f..0ecb06b 100644
--- a/src/test/java/com/android/volley/toolbox/StringRequestTest.java
+++ b/src/test/java/com/android/volley/toolbox/StringRequestTest.java
@@ -16,22 +16,27 @@
package com.android.volley.toolbox;
+import static org.junit.Assert.assertNotNull;
+
import com.android.volley.Response;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
-import static org.junit.Assert.assertNotNull;
-
@RunWith(RobolectricTestRunner.class)
public class StringRequestTest {
@Test
public void publicMethods() throws Exception {
// Catch-all test to find API-breaking changes.
- assertNotNull(StringRequest.class.getConstructor(String.class, Response.Listener.class,
- Response.ErrorListener.class));
- assertNotNull(StringRequest.class.getConstructor(int.class, String.class,
- Response.Listener.class, Response.ErrorListener.class));
+ assertNotNull(
+ StringRequest.class.getConstructor(
+ String.class, Response.Listener.class, Response.ErrorListener.class));
+ assertNotNull(
+ StringRequest.class.getConstructor(
+ int.class,
+ String.class,
+ Response.Listener.class,
+ Response.ErrorListener.class));
}
}