Home
last modified time | relevance | path

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

/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
DChannelsTest.java61 private final int testNum = 10; field in ChannelsTest
116 ByteBuffer byteBuf = ByteBuffer.allocate(this.testNum); in testNewChannelInputStream_InputNull()
118 int readres = this.testNum; in testNewChannelInputStream_InputNull()
126 assertEquals(this.testNum, readres); in testNewChannelInputStream_InputNull()
131 ByteBuffer byteBuf = ByteBuffer.allocate(this.testNum); in testNewChannelInputStream_BufferNull()
132 int readres = this.testNum; in testNewChannelInputStream_BufferNull()
142 assertEquals(this.testNum, readres); in testNewChannelInputStream_BufferNull()
149 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.java153 final int testNum = 0; in testReadByteBufferArray() local
154 long readres = testNum; in testReadByteBufferArray()
180 assertEquals(testNum, readres); in testReadByteBufferArray()
182 assertEquals(testNum, readres); in testReadByteBufferArray()
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Number/
D15.7.4.7-1.js41 var testNum = 5.123456; variable
45 actual = testNum.toPrecision(4);
D15.7.4.6-1.js41 var testNum = 77.1234; variable
45 actual = testNum.toExponential(4);
D15.7.4.5-1.js41 var testNum = 234.2040506; variable
45 actual = testNum.toFixed(4);
/external/icu4c/test/cintltst/
Dspreptst.c761 int32_t i, testNum = 0; in TestStringPrepProfiles() local
777 testNum = 0; in TestStringPrepProfiles()
782 testNum++; in TestStringPrepProfiles()
790 log_err("Error occurred on test[%d] for profile: %s\n", testNum, profileName); in TestStringPrepProfiles()
797 log_err("Error expected on test[%d] for profile: %s\n", testNum, profileName); in TestStringPrepProfiles()
801 … log_err("Results do not match expected on test[%d] for profile: %s\n", testNum, profileName); in TestStringPrepProfiles()
/external/icu4c/test/intltest/
Dtztest.cpp2181 for (int testNum = 0; zoneDisplayTestData[testNum].zoneName != NULL; testNum++) { in TestDisplayNamesMeta() local
2182 Locale locale = Locale::createFromName(zoneDisplayTestData[testNum].localeName); in TestDisplayNamesMeta()
2183 TimeZone *zone = TimeZone::createTimeZone(zoneDisplayTestData[testNum].zoneName); in TestDisplayNamesMeta()
2185 zone->getDisplayName(zoneDisplayTestData[testNum].summerTime, in TestDisplayNamesMeta()
2186 zoneDisplayTestData[testNum].style, in TestDisplayNamesMeta()
2189 if (displayName != zoneDisplayTestData[testNum].expectedDisplayName) { in TestDisplayNamesMeta()
2198 " Got \"%s\"\n Error: %s", zoneDisplayTestData[testNum].zoneName, in TestDisplayNamesMeta()
2199 zoneDisplayTestData[testNum].localeName, in TestDisplayNamesMeta()
2200 zoneDisplayTestData[testNum].style==TimeZone::SHORT ? in TestDisplayNamesMeta()
2202 zoneDisplayTestData[testNum].summerTime, in TestDisplayNamesMeta()
[all …]