Skip to content

Commit aae52de

Browse files
committed
stub: Add RunWith(JUnit4) to support varied environments
Some JUnit environments require the RunWith annotation. Notably Blaze/Bazel needs it.
1 parent a13fca2 commit aae52de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stub/src/test/java/io/grpc/stub/StreamObserversTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@
1717
package io.grpc.stub;
1818

1919
import org.junit.Test;
20+
import org.junit.runner.RunWith;
21+
import org.junit.runners.JUnit4;
2022
import org.mockito.InOrder;
2123
import org.mockito.Mockito;
2224

25+
@RunWith(JUnit4.class)
2326
public class StreamObserversTest {
2427

2528
@Test

0 commit comments

Comments
 (0)