Skip to content

Commit

Permalink
Add missing @RunWith annotations. (#1179)
Browse files Browse the repository at this point in the history
  • Loading branch information
prbprbprb authored Nov 2, 2023
1 parent 7e90d8d commit 0ecfb8e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@
import javax.net.ssl.SSLEngine;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import org.mockito.ArgumentMatchers;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;

@RunWith(JUnit4.class)
public class ApplicationProtocolSelectorAdapterTest {
private static Charset US_ASCII = Charset.forName("US-ASCII");
private static final String[] PROTOCOLS = new String[] {"a", "b", "c"};
Expand Down
3 changes: 3 additions & 0 deletions openjdk/src/test/java/org/conscrypt/PlatformTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,13 @@
import org.conscrypt.testing.FailingSniMatcher;
import org.conscrypt.testing.RestrictedAlgorithmConstraints;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

/**
* Test for Platform
*/
@RunWith(JUnit4.class)
public class PlatformTest {
private static final Method SSL_PARAMETERS_GET_APPLICATION_PROTOCOLS_METHOD;
private static final Method SSL_PARAMETERS_SET_APPLICATION_PROTOCOLS_METHOD;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
import static org.junit.Assert.assertArrayEquals;

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

@RunWith(JUnit4.class)
public class TestSessionBuilderTest {
@Test
public void buildsValidBasicSession() {
Expand Down

0 comments on commit 0ecfb8e

Please sign in to comment.