Home
last modified time | relevance | path

Searched refs:expectException (Results 1 – 5 of 5) sorted by relevance

/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DMalformedBenchmarksTest.java66 expectException(ABSTRACT, AbstractBenchmark.class); in abstractBenchmark()
71 expectException(String.format(NO_CONSTRUCTOR, BadConstructorBenchmark.class.getName()), in noSuitableConstructor()
82 expectException(NO_METHODS, NoMethodsBenchmark.class); in noBenchmarkMethods()
91 expectException(STATIC_BENCHMARK, StaticBenchmarkMethodBenchmark.class); in staticBenchmarkMethod()
100 expectException(WRONG_ARGUMENTS, BoxedParamBenchmark.class); in wrongSignature()
101 expectException(WRONG_ARGUMENTS, ExtraParamBenchmark.class); in wrongSignature()
116 expectException( in hasBenchmarkOverloads()
134 expectException(STATIC_PARAM, StaticParamBenchmark.class); in staticParam()
141 expectException(RESERVED_PARAM, ReservedParamBenchmark.class); in reservedParameterName()
148 expectException(NO_CONVERSION, UnparsableParamTypeBenchmark.class); in unparsableParamType()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestComparisonBuilder.java224 expectException(comp, "a", "a1"); in TestFallback()
225 expectException(comp, "a1", "b"); in TestFallback()
226 expectException(comp, "a1", "a2"); in TestFallback()
230 private void expectException(DiscreteComparator<String> comp, String a, in expectException() method in TestComparisonBuilder
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/
DBaseDexBufferTest.java226 boolean expectException = val < 0; in testReadRandom()
229 …Assert.assertFalse(String.format("Didn't throw an exception for value: %x", val), expectException); in testReadRandom()
232 … Assert.assertTrue(String.format("Threw an exception for value: %x", val), expectException); in testReadRandom()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DRegexUtilitiesTest.java177 … final boolean expectException = tests[i].length < 2 ? false : tests[i][1].equals("Exception");
192 if (expectException) {
214 if (!expectException) {
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DRegexUtilitiesTest.java174 … final boolean expectException = tests[i].length < 2 ? false : tests[i][1].equals("Exception");
189 if (expectException) {
211 if (!expectException) {