Home
last modified time | relevance | path

Searched refs:failCount (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/test/java/util/Scanner/
DScanTest.java49 private static int failCount = 0; field in ScanTest
140 failCount++; in useCase1()
142 failCount++; in useCase1()
144 failCount++; in useCase1()
146 failCount++; in useCase1()
155 failCount++; in useCase2()
157 failCount++; in useCase2()
159 failCount++; in useCase2()
161 failCount++; in useCase2()
163 failCount++; in useCase2()
[all …]
/libcore/ojluni/src/test/java/lang/StringBuffer/
DIndexOf.java52 private static void report(String testName, int failCount) { in report() argument
54 (failCount==0 ? "Passed":"Failed("+failCount+")")); in report()
55 if (failCount > 0) in report()
77 int failCount = 0; in simpleTest() local
93 failCount++; in simpleTest()
95 failCount++; in simpleTest()
97 failCount++; in simpleTest()
100 report("Basic Test ", failCount); in simpleTest()
106 int failCount = 0; in compareIndexOfLastIndexOf() local
131 failCount++; in compareIndexOfLastIndexOf()
[all …]
/libcore/ojluni/src/test/java/util/BitSet/
DBSMethods.java148 private static void report(String testName, int failCount) { in report() argument
150 (failCount==0 ? "Passed":"Failed("+failCount+")")); in report()
151 if (failCount > 0) in report()
177 int failCount = 0; in testNextSetBit() local
196 failCount++; in testNextSetBit()
202 report("NextSetBit ", failCount); in testNextSetBit()
206 int failCount = 0; in testNextClearBit() local
228 failCount++; in testNextClearBit()
237 failCount++; in testNextClearBit()
241 failCount++; in testNextClearBit()
[all …]
/libcore/ojluni/src/test/java/util/Properties/
DPropertiesTest.java54 private static int failCount = 0; field in PropertiesTest
85 (failCount==0 ? "Passed":"Failed("+failCount+")")); in report()
86 if (failCount > 0) in report()
88 failCount = 0; in report()
93 failCount++; in check()
239 failCount++; in LoadParsing()
266 failCount++; in SaveEncoding()
384 failCount++; in SaveSeparator()
391 failCount++; in SaveSeparator()
409 failCount++; in SaveClose()
[all …]
/libcore/ojluni/src/test/java/util/Random/
DRandomTestMoments.java54 static int failCount = 0; field in RandomTestMoments
57 if (failCount != 0) { in exceptionOnFail()
58 throw new RuntimeException(failCount + " fails detected"); in exceptionOnFail()
73 failCount++; in fail()
DRandomTestChiSquared.java58 static int failCount = 0; field in RandomTestChiSquared
61 if (failCount != 0) { in exceptionOnFail()
62 throw new RuntimeException(failCount + " fails detected"); in exceptionOnFail()
77 failCount++; in fail()
DRandomTestBsi1999.java106 static int failCount = 0; field in RandomTestBsi1999
109 if (failCount != 0) { in exceptionOnFail()
110 throw new RuntimeException(failCount + " fails detected"); in exceptionOnFail()
125 failCount++; in fail()
DRandomTestBsi1999Split.java60 RandomTestBsi1999.failCount = 0; in randomTestBsi1999()
/libcore/luni/src/test/java/libcore/java/text/
DDateFormatSymbolsTest.java146 int failCount = 0; in test_getZoneStrings_no_nulls() local
151 ++failCount; in test_getZoneStrings_no_nulls()
155 assertEquals(0, failCount); in test_getZoneStrings_no_nulls()