Skip to content

Commit d6f991c

Browse files
committed
port abstract json parser test to JUnit4
1 parent 818da9a commit d6f991c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

google-http-client-test/src/main/java/com/google/api/client/test/json/AbstractJsonParserTest.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
*/
1414
package com.google.api.client.test.json;
1515

16+
import static org.junit.Assert.assertEquals;
17+
import static org.junit.Assert.assertTrue;
18+
import static org.junit.Assert.fail;
19+
1620
import com.google.api.client.json.GenericJson;
1721
import com.google.api.client.json.JsonFactory;
1822
import com.google.api.client.json.JsonObjectParser;
@@ -24,8 +28,11 @@
2428
import junit.framework.TestCase;
2529
import org.junit.Assert;
2630
import org.junit.Test;
31+
import org.junit.runner.RunWith;
32+
import org.junit.runners.JUnit4;
2733

28-
public abstract class AbstractJsonParserTest extends TestCase {
34+
@RunWith(JUnit4.class)
35+
public abstract class AbstractJsonParserTest {
2936

3037
protected abstract JsonFactory newJsonFactory();
3138

0 commit comments

Comments
 (0)