MCPcopy Create free account
hub / github.com/ebarlas/microhttp / beforeEach

Method beforeEach

src/test/java/org/microhttp/EventLoopTest.java:82–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80 }
81
82 @BeforeEach
83 public void beforeEach() throws IOException {
84 logger.clear();
85 socket = new Socket("localhost", server.port());
86 socket.setSoTimeout(5_000);
87 inputStream = socket.getInputStream();
88 outputStream = socket.getOutputStream();
89 }
90
91 @AfterEach
92 public void afterEach() throws IOException {

Callers

nothing calls this directly

Calls 2

clearMethod · 0.80
portMethod · 0.80

Tested by

no test coverage detected