/external/mockito/src/test/java/org/mockitousage/misuse/ |
D | DetectingFinalMethodsTest.java | 14 import static org.junit.Assume.assumeTrue; 29 assumeTrue("Does not apply for inline mocks", withFinal.getClass() != WithFinal.class); in shouldFailWithUnfinishedVerification() 39 assumeTrue("Does not apply for inline mocks", withFinal.getClass() != WithFinal.class); in shouldFailWithUnfinishedStubbing()
|
D | DetectingMisusedMatchersTest.java | 18 import static org.junit.Assume.assumeTrue; 89 assumeTrue("Does not apply for inline mocks", withFinal.getClass() != WithFinal.class); in shouldSayUnfinishedVerificationButNotInvalidUseOfMatchers()
|
/external/junit/src/main/java/org/junit/ |
D | Assume.java | 49 public static void assumeTrue(boolean b) { in assumeTrue() method in Assume 67 public static void assumeTrue(String message, boolean b) { in assumeTrue() method in Assume 75 assumeTrue(message, !b); in assumeFalse()
|
/external/okio/okio/src/jvmTest/kotlin/okio/ |
D | BufferCursorKotlinTest.kt | 20 import org.junit.Assume.assumeTrue in <lambda>() 46 assumeTrue(buffer.size > 0L) in <lambda>() 59 assumeTrue(buffer.size > 0L) in <lambda>() 72 assumeTrue(buffer.size > 0L) in <lambda>()
|
/external/vogar/test/vogar/target/junit4/ |
D | AssumeTest.java | 30 Assume.assumeTrue(true); in assumesCorrectly() 36 Assume.assumeTrue(false); in assumesIncorrectly()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | TypeResolutionWithSameNameTest.java | 18 import static org.junit.jupiter.api.Assumptions.assumeTrue; 42 assumeTrue(extendingTypeClass.getExtendedTypes().size() > 0); in testTypesWithSameNameInPackageAndNested_directExtends() 73 assumeTrue(implementingTypeClass.getImplementedTypes().size() > 0); in testTypesWithSameNameInPackageAndNested_directImplements()
|
/external/mockito/src/test/java/org/mockitoutil/ |
D | VmArgAssumptions.java | 11 import static org.junit.Assume.assumeTrue; 15 assumeTrue(assertEnabled(vmArg)); in assumeVmArgPresent()
|
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/ |
D | ChannelAndServerBuilderTest.java | 76 Assume.assumeTrue(ServerBuilder.class.isAssignableFrom(builderClass)); in serverBuilderHidesMethod_forPort() 86 Assume.assumeTrue(ManagedChannelBuilder.class.isAssignableFrom(builderClass)); in channelBuilderHidesMethod_forAddress() 96 Assume.assumeTrue(ManagedChannelBuilder.class.isAssignableFrom(builderClass)); in channelBuilderHidesMethod_forTarget()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/ |
D | ResourceTableFactoryIntegrationTest.java | 4 import static org.junit.Assume.assumeTrue; 20 assumeTrue(useLegacy()); in shouldIncludeStyleableAttributesThatDoNotHaveACorrespondingEntryInAttrClass()
|
D | ResourceLoaderTest.java | 5 import static org.junit.Assume.assumeTrue; 35 assumeTrue(useLegacy()); in setUp()
|
D | DrawableResourceLoaderTest.java | 8 import static org.junit.Assume.assumeTrue; 34 assumeTrue(useLegacy()); in setup()
|
/external/mockito/src/test/java/org/mockitousage/spies/ |
D | SpyingOnInterfacesTest.java | 23 import static org.junit.Assume.assumeTrue; 66 …assumeTrue("Test can only be executed on Java 8 capable VMs", ClassFileVersion.ofThisVm().isAtLeas… in shouldAllowDelegatingToDefaultMethod() 87 …assumeTrue("Test can only be executed on Java 8 capable VMs", ClassFileVersion.ofThisVm().isAtLeas… in shouldAllowSpyingOnDefaultMethod()
|
D | SpyingOnRealObjectsTest.java | 23 import static org.junit.Assume.assumeTrue; 187 …assumeTrue("Using inline mocks, it is possible to spy on private types", spy.getClass() != real.ge… in shouldSayNiceMessageWhenSpyingOnPrivateClass()
|
/external/dexmaker/dexmaker-mockito-tests/src/main/java/com/android/dx/mockito/tests/ |
D | BlacklistedApis.java | 21 import static org.junit.Assume.assumeTrue; 51 assumeTrue(Build.VERSION.SDK_INT >= 28); in onlyRunOnPlatformsThatSupportBlacklisting() 99 assumeTrue(isDebuggable()); in copyBlacklistedFields()
|
/external/connectedappssdk/tests/instrumented/src/main/java/com/google/android/enterprise/connectedapps/instrumented/tests/ |
D | AvailabilityListenerTest.java | 20 import static org.junit.Assume.assumeTrue; 61 assumeTrue( in workProfileTurnedOff_availabilityListenerFires() 76 assumeTrue( in workProfileTurnedOn_availabilityListenerFires()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/ |
D | CoroutineSchedulerLivenessStressTest.kt | 25 Assume.assumeTrue(CORE_POOL_SIZE >= 2) in testInternalSubmissions() 41 Assume.assumeTrue(CORE_POOL_SIZE >= 2) in testExternalSubmissions()
|
/external/okio/okio/src/jvmTest/java/okio/ |
D | BufferCursorTest.java | 37 import static org.junit.Assume.assumeTrue; 157 assumeTrue(bufferFactory == BufferFactory.SMALL_SEGMENTED_BUFFER); in seekWithinSegment() 300 assumeTrue(buffer.size() > 3); in shrink() 315 assumeTrue(buffer.size() <= 1_000_000); in shrinkByManySegments() 337 assumeTrue(buffer.size() > 4); in shrinkAdjustOffset() 388 assumeTrue(buffer.size() > 0); in resizeShrinkMovesCursorToEnd() 425 assumeTrue(originalSize > 0); in expandSameSegment() 430 assumeTrue(originalEnd < SEGMENT_SIZE); in expandSameSegment()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/ |
D | StyleResourceLoaderTest.java | 5 import static org.junit.Assume.assumeTrue; 21 assumeTrue(RuntimeEnvironment.useLegacyResources()); in setUp()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowAssetManagerTest.java | 5 import static org.junit.Assume.assumeTrue; 49 assumeTrue(!useLegacy()); in openFd_shouldProvideFileDescriptorForDeflatedAsset() 82 assumeTrue(useLegacy()); in openNonAssetShouldThrowExceptionWhenFileDoesNotExist() 93 assumeTrue(useLegacy()); in unknownResourceIdsShouldReportPackagesSearched()
|
/external/mockito/src/test/java/org/mockito/internal/framework/ |
D | DefaultMockitoFrameworkTest.java | 25 import static org.junit.Assume.assumeTrue; 138 assumeTrue(Plugins.getMockMaker() instanceof InlineMockMaker); in clears_all_mocks() 157 assumeTrue(Plugins.getMockMaker() instanceof InlineMockMaker); in clears_mock()
|
/external/auto/common/src/test/java/com/google/auto/common/ |
D | GeneratedAnnotationsTest.java | 21 import static org.junit.Assume.assumeTrue; 198 assumeTrue(isJdk9OrLater()); in source9() 206 assumeTrue(isJdk9OrLater()); in source9_masked()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/ |
D | TestUtils.java | 153 Assume.assumeTrue("Skipping test: " + classname + " unavailable", in assumeClassAvailable() 177 Assume.assumeTrue("Skipping test: " in assumeSetEndpointIdentificationAlgorithmAvailable() 196 Assume.assumeTrue(isAndroid()); in assumeAndroid() 201 Assume.assumeTrue(isAndroid() in assumeAllowsUnsignedCrypto() 213 Assume.assumeTrue("SHA2 with DSA signatures not available", available); in assumeSHA2WithDSAAvailable() 751 Assume.assumeTrue("Require Java 8: " + javaVersion(), isJavaVersion(8)); in assumeJava8()
|
/external/mockito/src/test/java/org/mockito/ |
D | AnnotationsAreCopiedFromMockedTypeTest.java | 19 import static org.junit.Assume.assumeTrue; 29 …assumeTrue("Annotation copying does not apply for inline mocks", mock(OnClass.class).getClass() !=… in mock_should_have_annotations_copied_from_mocked_type_at_class_level()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/ |
D | URLStreamHandlerRuntimeTest.java | 31 Assume.assumeTrue(!jdk9); in checkJDK()
|
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/ |
D | AnnotationIdTest.java | 22 import static org.junit.Assume.assumeTrue; 236 assumeTrue(Build.VERSION.SDK_INT >= 21); in addMethodAnnotationWithEnumElement() 270 assumeTrue(Build.VERSION.SDK_INT >= 21); in addMethodAnnotationWithMultiElements() 293 assumeTrue(Build.VERSION.SDK_INT >= 21); in addMethodAnnotationWithDuplicateElements()
|