HomeSort by relevance Sort by last modified time
    Searched refs:testChannel (Results 1 - 4 of 4) sorted by null

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
AbstractInterruptibleChannelTest.java 44 MockInterruptibleChannel testChannel = new MockInterruptibleChannel();
46 testChannel.superBegin();
49 testChannel.superEnd(complete);
53 testChannel.superBegin();
56 testChannel.superEnd(complete);
60 testChannel.superBegin();
63 testChannel.superEnd(complete);
66 testChannel.superBegin();
68 testChannel.superBegin();
71 testChannel.superEnd(complete)
    [all...]
AbstractSelectableChannelTest.java 37 private MockSelectableChannel testChannel;
41 testChannel = new MockSelectableChannel(SelectorProvider.provider());
45 if (testChannel.isOpen()) {
46 testChannel.close();
54 testChannel.isImplCloseSelectableChannelCalled = false;
55 testChannel.implCloseSelectableChannelCount = 0;
56 testChannel.close();
57 assertFalse(testChannel.isOpen());
58 assertTrue(testChannel.isImplCloseSelectableChannelCalled);
59 assertEquals(1, testChannel.implCloseSelectableChannelCount)
    [all...]
  /packages/apps/TV/tests/unit/src/com/android/tv/data/
ChannelTest.java 173 Channel testChannel = new Channel.Builder()
179 assertEquals("Unexpected app-link type for for " + testChannel,
180 expectedType, testChannel.getAppLinkType(mMockContext));
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
ChannelsTest.java 232 WritableByteChannel testChannel = this.fouts.getChannel();
235 assertTrue(testChannel.isOpen());
254 writeNum = testChannel.write(writebuf);
260 // close of rbchannel does affect on testchannel(same channel)
263 writeNum = testChannel.write(writebuf);

Completed in 147 milliseconds