Skip to content

Commit

Permalink
add startup conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
huangkemingyyds committed Oct 30, 2023
1 parent f42b296 commit 4e2c85d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@ActiveProfiles("prefix")
@SpringBootTest(classes = DefaultTlsContextBuilderTest.class)
public class DefaultTlsContextBuilderTest {

@Before
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,17 @@
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.junit4.SpringRunner;

import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;

@RunWith(SpringRunner.class)
@ActiveProfiles("prefix")
@SpringBootTest(classes = DefaultTlsProtocolNegotiatorBuilderTest.class)
public class DefaultTlsProtocolNegotiatorBuilderTest {

private DefaultTlsProtocolNegotiatorBuilder builder;
Expand Down

0 comments on commit 4e2c85d

Please sign in to comment.