Home
last modified time | relevance | path

Searched refs:testNum (Results 1 – 4 of 4) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DChannelsTest.java57 private final int testNum = 10; field in ChannelsTest
112 ByteBuffer byteBuf = ByteBuffer.allocate(this.testNum); in testNewChannelInputStream_InputNull()
114 int readres = this.testNum; in testNewChannelInputStream_InputNull()
122 assertEquals(this.testNum, readres); in testNewChannelInputStream_InputNull()
127 ByteBuffer byteBuf = ByteBuffer.allocate(this.testNum); in testNewChannelInputStream_BufferNull()
128 int readres = this.testNum; in testNewChannelInputStream_BufferNull()
138 assertEquals(this.testNum, readres); in testNewChannelInputStream_BufferNull()
145 assertEquals(this.testNum, readres); in testNewChannelInputStream_BufferNull()
184 int writeres = this.testNum; in testNewChannelOutputStream_inputNull()
204 int writeres = this.testNum; in testNewChannelOutputStream_BufNull()
[all …]
DDatagramChannelTest.java135 final int testNum = 0; in testReadByteBufferArray() local
163 assertEquals(testNum, readres); in testReadByteBufferArray()
165 assertEquals(testNum, readres); in testReadByteBufferArray()
/libcore/support/src/test/java/tests/support/
DSupport_TestWebServer.java310 private int testNum; field in Support_TestWebServer.Worker
607 testNum = -1; in handleClient()
629 … if ((testNum < -1) || (testNum > Support_TestWebData.tests.length - 1)) { in handleClient()
640 if ((testNum > 0) || (testNum < Support_TestWebData.tests.length - 1)) { in handleClient()
715 testNum = Integer.valueOf(testID.substring(4))-1; in printStatus()
718 if ((testNum < -1) || (testNum > Support_TestWebData.tests.length - 1)) { in printStatus()
733 if ((testNum < -1) || (testNum > Support_TestWebData.tests.length - 1)) { in printHeaders()
750 if (testNum == -1) { in printHeaders()
771 if (Support_TestWebData.testParams[testNum].testExp > 0) { in printHeaders()
773 exp = Support_TestWebData.testParams[testNum].testExp; in printHeaders()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DAnnotationTest.java60 String testNum = name.substring(1,3); // 01 in test_equals() local
61 List<Method> mlist = curT.get(testNum); in test_equals()
64 curT.put(testNum, mlist); in test_equals()