Home
last modified time | relevance | path

Searched refs:expectException (Results 1 – 4 of 4) 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/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/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DRegexUtilitiesTest.java171 … final boolean expectException = tests[i].length < 2 ? false : tests[i][1].equals("Exception");
186 if (expectException) {
208 if (!expectException) {
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DRegexUtilitiesTest.java172 … final boolean expectException = tests[i].length < 2 ? false : tests[i][1].equals("Exception");
187 if (expectException) {
209 if (!expectException) {