/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/ |
D | IsInTest.java | 20 Matcher<String> isIn = new IsIn<String>(collection); in testReturnsTrueIfArgumentIsInCollection() local 22 assertMatches("a", isIn, "a"); in testReturnsTrueIfArgumentIsInCollection() 23 assertMatches("b", isIn, "b"); in testReturnsTrueIfArgumentIsInCollection() 24 assertMatches("c", isIn, "c"); in testReturnsTrueIfArgumentIsInCollection() 25 assertDoesNotMatch("d", isIn, "d"); in testReturnsTrueIfArgumentIsInCollection() 29 Matcher<String> isIn = new IsIn<String>(elements); in testReturnsTrueIfArgumentIsInArray() local 31 assertMatches("a", isIn, "a"); in testReturnsTrueIfArgumentIsInArray() 32 assertMatches("b", isIn, "b"); in testReturnsTrueIfArgumentIsInArray() 33 assertMatches("c", isIn, "c"); in testReturnsTrueIfArgumentIsInArray() 34 assertDoesNotMatch("d", isIn, "d"); in testReturnsTrueIfArgumentIsInArray() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | usettest.c | 34 UBool isIn); 256 UBool isIn) { in expectContainment() argument 285 if (uset_containsString(set, ustr, stringLength) == isIn) { in expectContainment() 287 (isIn ? "contains" : "does not contain"), in expectContainment() 291 (isIn ? "does not contain" : "contains"), in expectContainment() 302 if (uset_contains(set, c) == isIn) { in expectContainment() 304 (isIn ? "contains" : "does not contain"), in expectContainment() 308 (isIn ? "does not contain" : "contains"), in expectContainment() 317 if (uset_containsRange(set, rangeStart, rangeEnd) == isIn) { in expectContainment() 319 (isIn ? "contains" : "does not contain"), in expectContainment() [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | SimpleTimeLimiterTest.java | 103 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS)); in testNewProxy_goodMethodWithEnoughTime() 118 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(NOT_ENOUGH_MS, DELAY_MS * 2)); in testNewProxy_goodMethodWithNotEnoughTime() 136 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS)); in testNewProxy_badMethodWithEnoughTime() 150 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(NOT_ENOUGH_MS, DELAY_MS * 2)); in testNewProxy_badMethodWithNotEnoughTime() 159 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS)); in testCallWithTimeout_goodCallableWithEnoughTime() 185 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS)); in testCallUninterruptiblyWithTimeout_goodCallableWithEnoughTime() 210 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS)); in testRunWithTimeout_goodRunnableWithEnoughTime() 235 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS)); in testRunUninterruptiblyWithTimeout_goodRunnableWithEnoughTime()
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | SimpleTimeLimiterTest.java | 103 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS)); in testNewProxy_goodMethodWithEnoughTime() 118 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(NOT_ENOUGH_MS, DELAY_MS * 2)); in testNewProxy_goodMethodWithNotEnoughTime() 136 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS)); in testNewProxy_badMethodWithEnoughTime() 150 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(NOT_ENOUGH_MS, DELAY_MS * 2)); in testNewProxy_badMethodWithNotEnoughTime() 159 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS)); in testCallWithTimeout_goodCallableWithEnoughTime() 185 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS)); in testCallUninterruptiblyWithTimeout_goodCallableWithEnoughTime() 210 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS)); in testRunWithTimeout_goodRunnableWithEnoughTime() 235 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS)); in testRunUninterruptiblyWithTimeout_goodRunnableWithEnoughTime()
|
/external/junit-params/src/test/java/junitparams/ |
D | EnumsAsParamsTest.java | 16 assertThat(person).isIn(PersonType.SOME_VALUE, PersonType.OTHER_VALUE); in passEnumAsString() 22 assertThat(person).isIn(parametersForPassEnumFromMethod()); in passEnumFromMethod()
|
D | CastingParamsTest.java | 36 assertThat(character.getName()).isIn("Tarzan", "Jane"); in cartoonCharacters() 37 assertThat(character.getAge()).isIn(0, 20); in cartoonCharacters()
|
D | OverloadedTestMethodNameTest.java | 18 assertThat(number).isIn(1, 2); in aTest()
|
D | ClassesAsParamsTest.java | 14 assertThat(clazz).isIn(java.lang.Object.class, java.lang.String.class); in passClassAsString()
|
D | ParametersReaderForMethodTest.java | 62 isIn("a \n ,|b", ",a(asdf)|", ",", ""). in escapedSpecialCharsInParam()
|
D | ParamsInAnnotationTest.java | 40 assertThat(a).isIn("a \n b", "a(asdf)", "a \r a"); in specialCharsInParam()
|
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/ |
D | DexmakerStackTraceCleaner.java | 31 public boolean isIn(StackTraceElement candidate) { in getStackTraceCleaner() 34 return defaultCleaner.isIn(candidate) in getStackTraceCleaner()
|
/external/mockito/src/test/java/org/mockito/exceptions/stacktrace/ |
D | StackTraceCleanerTest.java | 37 …assertThat(cleaner.isIn(stackTraceElementWith(className))).describedAs("Must be accepted in stackt… in assertAcceptedInStackTrace() 41 …assertThat(cleaner.isIn(stackTraceElementWith(className))).describedAs("Must be rejected in stackt… in assertRejectedInStackTrace()
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/ |
D | IsIn.java | 46 public static <T> Matcher<T> isIn(Collection<T> collection) { in isIn() method in IsIn 77 public static <T> Matcher<T> isIn(T[] elements) { in isIn() method in IsIn
|
/external/libchrome/base/test/android/junit/src/org/chromium/base/test/util/ |
D | MinAndroidSdkLevelSkipCheckTest.java | 8 import static org.hamcrest.Matchers.isIn; 63 isIn(shouldSkip ? runListener.skippedTests : runListener.runTests)); in expectShouldSkip()
|
D | TestRunnerTestRule.java | 7 import static org.hamcrest.Matchers.isIn; 91 Assert.assertThat(description, isIn(testLog.runTests)); in runTest()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | RobolectricTestRunnerMultiApiTest.java | 241 assertThat(Build.VERSION.SDK_INT).isIn(Range.closed(JELLY_BEAN, LOLLIPOP)); 249 assertThat(Build.VERSION.SDK_INT).isIn(Range.closed(JELLY_BEAN, LOLLIPOP)); 270 assertThat(Build.VERSION.SDK_INT).isIn(Range.closed(JELLY_BEAN_MR2, LOLLIPOP)); 294 assertThat(Build.VERSION.SDK_INT).isIn(Range.closed(JELLY_BEAN_MR2, LOLLIPOP)); 310 assertThat(Build.VERSION.SDK_INT).isIn(Range.closed(KITKAT, LOLLIPOP));
|
/external/mockito/src/main/java/org/mockito/exceptions/stacktrace/ |
D | StackTraceCleaner.java | 27 boolean isIn(StackTraceElement candidate); in isIn() method
|
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/ |
D | DexmakerMockMaker.java | 165 public boolean isIn(StackTraceElement candidate) { 168 return defaultCleaner.isIn(candidate)
|
/external/mockito/src/main/java/org/mockito/internal/exceptions/stacktrace/ |
D | DefaultStackTraceCleaner.java | 15 public boolean isIn(StackTraceElement e) { in isIn() method in DefaultStackTraceCleaner
|
D | StackTraceFilter.java | 33 if (CLEANER.isIn(element)) { in filter()
|
/external/mockito/src/test/java/org/mockito/internal/junit/ |
D | UnusedStubbingsTest.java | 50 assertThat(filterLineNo(logger.getLoggedInfo())).isIn( in unused_stubbings()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 156 bool isIn(const Function &F, StringRef Category) const { in isIn() function in __anonb39b59e50111::DFSanABIList 157 return isIn(*F.getParent(), Category) || in isIn() 165 bool isIn(const GlobalAlias &GA, StringRef Category) const { in isIn() function in __anonb39b59e50111::DFSanABIList 166 if (isIn(*GA.getParent(), Category)) in isIn() 177 bool isIn(const Module &M, StringRef Category) const { in isIn() function in __anonb39b59e50111::DFSanABIList 492 return !ABIList.isIn(*F, "uninstrumented"); in isInstrumented() 496 return !ABIList.isIn(*GA, "uninstrumented"); in isInstrumented() 504 if (ABIList.isIn(*F, "functional")) in getWrapperKind() 506 if (ABIList.isIn(*F, "discard")) in getWrapperKind() 508 if (ABIList.isIn(*F, "custom")) in getWrapperKind() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 227 bool isIn(const Function &F, StringRef Category) const { in isIn() function in __anon598b4e530111::DFSanABIList 228 return isIn(*F.getParent(), Category) || in isIn() 236 bool isIn(const GlobalAlias &GA, StringRef Category) const { in isIn() function in __anon598b4e530111::DFSanABIList 237 if (isIn(*GA.getParent(), Category)) in isIn() 249 bool isIn(const Module &M, StringRef Category) const { in isIn() function in __anon598b4e530111::DFSanABIList 668 return !ABIList.isIn(*F, "uninstrumented"); in isInstrumented() 672 return !ABIList.isIn(*GA, "uninstrumented"); in isInstrumented() 680 if (ABIList.isIn(*F, "functional")) in getWrapperKind() 682 if (ABIList.isIn(*F, "discard")) in getWrapperKind() 684 if (ABIList.isIn(*F, "custom")) in getWrapperKind() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 188 bool isIn(const Function &F, StringRef Category) const { in isIn() function in __anon59ef1fc70111::DFSanABIList 189 return isIn(*F.getParent(), Category) || in isIn() 197 bool isIn(const GlobalAlias &GA, StringRef Category) const { in isIn() function in __anon59ef1fc70111::DFSanABIList 198 if (isIn(*GA.getParent(), Category)) in isIn() 210 bool isIn(const Module &M, StringRef Category) const { in isIn() function in __anon59ef1fc70111::DFSanABIList 608 return !ABIList.isIn(*F, "uninstrumented"); in isInstrumented() 612 return !ABIList.isIn(*GA, "uninstrumented"); in isInstrumented() 620 if (ABIList.isIn(*F, "functional")) in getWrapperKind() 622 if (ABIList.isIn(*F, "discard")) in getWrapperKind() 624 if (ABIList.isIn(*F, "custom")) in getWrapperKind() [all …]
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | UrlTest.java | 105 assertThat(difference).isIn(Range.closedOpen(0L, 1000L)); in headers()
|