Skip to content

Commit e7bd4e1

Browse files
committed
run with JUnit 4 explicitly
1 parent e99ea38 commit e7bd4e1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

google-http-client-test/src/main/java/com/google/api/client/test/util/store/AbstractDataStoreFactoryTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,16 @@
3030
import org.junit.After;
3131
import org.junit.Before;
3232
import org.junit.Test;
33+
import org.junit.runner.RunWith;
34+
import org.junit.runners.JUnit4;
3335

3436
/**
3537
* Tests {@link DataStoreFactory}.
3638
*
3739
* @author Yaniv Inbar
3840
*/
3941
@Beta
42+
@RunWith(JUnit4.class)
4043
public abstract class AbstractDataStoreFactoryTest {
4144

4245
private static final String STRING_ID = "String";

google-http-client-test/src/test/java/com/google/api/client/test/util/store/FileDataStoreFactoryTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,15 @@
2424
import java.io.File;
2525
import java.io.IOException;
2626
import org.junit.Test;
27+
import org.junit.runner.RunWith;
28+
import org.junit.runners.JUnit4;
2729

2830
/**
2931
* Tests {@link FileDataStoreFactory}.
3032
*
3133
* @author Yaniv Inbar
3234
*/
35+
@RunWith(JUnit4.class)
3336
public class FileDataStoreFactoryTest extends AbstractDataStoreFactoryTest {
3437

3538
@Override

0 commit comments

Comments
 (0)