MCPcopy Create free account
hub / github.com/grpc/grpc-java / setUp

Method setUp

alts/src/test/java/io/grpc/alts/internal/AltsTsiTest.java:58–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 };
57
58 @Before
59 public void setUp() throws Exception {
60 ResourceLeakDetector.setLevel(Level.PARANOID);
61 // Use MockAltsHandshakerStub for all the tests.
62 AltsHandshakerOptions handshakerOptions = new AltsHandshakerOptions(null);
63 MockAltsHandshakerStub clientStub = new MockAltsHandshakerStub();
64 MockAltsHandshakerStub serverStub = new MockAltsHandshakerStub();
65 NoopChannelLogger channelLogger = new NoopChannelLogger();
66 client = new AltsHandshakerClient(clientStub, handshakerOptions, channelLogger);
67 server = new AltsHandshakerClient(serverStub, handshakerOptions, channelLogger);
68 }
69
70 @After
71 public void tearDown() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected