MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / channelClosed

Method channelClosed

test/TestRegionClient.java:222–233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

220 }
221
222 @Test
223 public void channelClosed() throws Exception {
224 RegionClient rclient = new RegionClient(hbase_client);
225 assertNotNull(rclient);
226 rclient.becomeReady(chan, SERVER_VERSION_UNKNOWN);
227
228 assertNotNull(Whitebox.getInternalState(rclient, "chan"));
229 rclient.channelClosed(ctx, cse);
230
231 assertNull(Whitebox.getInternalState(rclient, "chan"));
232 verifyPrivate(rclient).invoke("cleanup", mock(Channel.class));
233 }
234
235 @Test
236 public void channelConnected95() throws Exception {

Callers

nothing calls this directly

Calls 2

becomeReadyMethod · 0.95
channelClosedMethod · 0.95

Tested by

no test coverage detected