Skip to content

Commit

Permalink
core,xds: add missing JUnit RunWith annotation (grpc#6457)
Browse files Browse the repository at this point in the history
  • Loading branch information
creamsoup authored and ericgribkoff committed Dec 6, 2019
1 parent 1799d18 commit bf37767
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@
import static org.junit.Assert.assertTrue;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

/**
* Tests for the array-backed {@link ReadableBuffer} returned by {@link ReadableBuffers#wrap(byte[],
* int, int)}.
*/
@RunWith(JUnit4.class)
public class ReadableBuffersArrayTest extends ReadableBufferTestBase {

@Test
Expand Down
3 changes: 3 additions & 0 deletions xds/src/test/java/io/grpc/xds/XdsClientImplTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import org.mockito.ArgumentCaptor;
import org.mockito.ArgumentMatcher;
import org.mockito.InOrder;
Expand All @@ -81,6 +83,7 @@
/**
* Tests for {@link XdsClientImpl}.
*/
@RunWith(JUnit4.class)
public class XdsClientImplTest {

private static final String HOSTNAME = "foo.googleapis.com";
Expand Down

0 comments on commit bf37767

Please sign in to comment.