mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
483 lines
35 KiB
Plaintext
483 lines
35 KiB
Plaintext
# Copyright 2014 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("//build/config/android/rules.gni")
|
|
|
|
java_library("mockito_java") {
|
|
chromium_code = false
|
|
supports_android = true
|
|
testonly = true
|
|
deps = [
|
|
"//third_party/byte_buddy:byte_buddy_agent_java",
|
|
"//third_party/byte_buddy:byte_buddy_java",
|
|
"//third_party/hamcrest:hamcrest_java",
|
|
"//third_party/junit:junit",
|
|
"//third_party/objenesis:objenesis_java",
|
|
]
|
|
java_files = [
|
|
"src/src/main/java/org/mockito/quality/MockitoHint.java",
|
|
"src/src/main/java/org/mockito/quality/package-info.java",
|
|
"src/src/main/java/org/mockito/quality/Strictness.java",
|
|
"src/src/main/java/org/mockito/AdditionalAnswers.java",
|
|
"src/src/main/java/org/mockito/InjectMocks.java",
|
|
"src/src/main/java/org/mockito/NotExtensible.java",
|
|
"src/src/main/java/org/mockito/verification/VerificationMode.java",
|
|
"src/src/main/java/org/mockito/verification/After.java",
|
|
"src/src/main/java/org/mockito/verification/VerificationAfterDelay.java",
|
|
"src/src/main/java/org/mockito/verification/VerificationStrategy.java",
|
|
"src/src/main/java/org/mockito/verification/VerificationWithTimeout.java",
|
|
"src/src/main/java/org/mockito/verification/VerificationEvent.java",
|
|
"src/src/main/java/org/mockito/verification/package-info.java",
|
|
"src/src/main/java/org/mockito/verification/Timeout.java",
|
|
"src/src/main/java/org/mockito/Matchers.java",
|
|
"src/src/main/java/org/mockito/MockSettings.java",
|
|
"src/src/main/java/org/mockito/Captor.java",
|
|
"src/src/main/java/org/mockito/ArgumentMatcher.java",
|
|
"src/src/main/java/org/mockito/stubbing/OngoingStubbing.java",
|
|
"src/src/main/java/org/mockito/stubbing/ValidableAnswer.java",
|
|
"src/src/main/java/org/mockito/stubbing/VoidAnswer3.java",
|
|
"src/src/main/java/org/mockito/stubbing/VoidAnswer4.java",
|
|
"src/src/main/java/org/mockito/stubbing/Answer1.java",
|
|
"src/src/main/java/org/mockito/stubbing/VoidAnswer1.java",
|
|
"src/src/main/java/org/mockito/stubbing/VoidAnswer2.java",
|
|
"src/src/main/java/org/mockito/stubbing/VoidAnswer5.java",
|
|
"src/src/main/java/org/mockito/stubbing/Answer.java",
|
|
"src/src/main/java/org/mockito/stubbing/Answer2.java",
|
|
"src/src/main/java/org/mockito/stubbing/Answer5.java",
|
|
"src/src/main/java/org/mockito/stubbing/Stubbing.java",
|
|
"src/src/main/java/org/mockito/stubbing/Answer3.java",
|
|
"src/src/main/java/org/mockito/stubbing/package-info.java",
|
|
"src/src/main/java/org/mockito/stubbing/Stubber.java",
|
|
"src/src/main/java/org/mockito/stubbing/Answer4.java",
|
|
"src/src/main/java/org/mockito/Answers.java",
|
|
"src/src/main/java/org/mockito/hamcrest/package-info.java",
|
|
"src/src/main/java/org/mockito/hamcrest/MockitoHamcrest.java",
|
|
"src/src/main/java/org/mockito/MockitoDebugger.java",
|
|
"src/src/main/java/org/mockito/CheckReturnValue.java",
|
|
"src/src/main/java/org/mockito/Mockito.java",
|
|
"src/src/main/java/org/mockito/plugins/InstantiatorProvider2.java",
|
|
"src/src/main/java/org/mockito/plugins/AnnotationEngine.java",
|
|
"src/src/main/java/org/mockito/plugins/MockMaker.java",
|
|
"src/src/main/java/org/mockito/plugins/MockitoPlugins.java",
|
|
"src/src/main/java/org/mockito/plugins/PluginSwitch.java",
|
|
"src/src/main/java/org/mockito/plugins/InstantiatorProvider.java",
|
|
"src/src/main/java/org/mockito/plugins/package-info.java",
|
|
"src/src/main/java/org/mockito/plugins/StackTraceCleanerProvider.java",
|
|
"src/src/main/java/org/mockito/MockitoFramework.java",
|
|
"src/src/main/java/org/mockito/configuration/DefaultMockitoConfiguration.java",
|
|
"src/src/main/java/org/mockito/configuration/AnnotationEngine.java",
|
|
"src/src/main/java/org/mockito/configuration/package-info.java",
|
|
"src/src/main/java/org/mockito/configuration/IMockitoConfiguration.java",
|
|
"src/src/main/java/org/mockito/invocation/StubInfo.java",
|
|
"src/src/main/java/org/mockito/invocation/Invocation.java",
|
|
"src/src/main/java/org/mockito/invocation/MatchableInvocation.java",
|
|
"src/src/main/java/org/mockito/invocation/Location.java",
|
|
"src/src/main/java/org/mockito/invocation/DescribedInvocation.java",
|
|
"src/src/main/java/org/mockito/invocation/package-info.java",
|
|
"src/src/main/java/org/mockito/invocation/InvocationContainer.java",
|
|
"src/src/main/java/org/mockito/invocation/MockHandler.java",
|
|
"src/src/main/java/org/mockito/invocation/InvocationFactory.java",
|
|
"src/src/main/java/org/mockito/invocation/InvocationOnMock.java",
|
|
"src/src/main/java/org/mockito/mock/MockName.java",
|
|
"src/src/main/java/org/mockito/mock/SerializableMode.java",
|
|
"src/src/main/java/org/mockito/mock/package-info.java",
|
|
"src/src/main/java/org/mockito/mock/MockCreationSettings.java",
|
|
"src/src/main/java/org/mockito/codegen/InjectionBase.java",
|
|
"src/src/main/java/org/mockito/ArgumentMatchers.java",
|
|
"src/src/main/java/org/mockito/BDDMockito.java",
|
|
"src/src/main/java/org/mockito/listeners/MockCreationListener.java",
|
|
"src/src/main/java/org/mockito/listeners/InvocationListener.java",
|
|
"src/src/main/java/org/mockito/listeners/MethodInvocationReport.java",
|
|
"src/src/main/java/org/mockito/listeners/VerificationStartedListener.java",
|
|
"src/src/main/java/org/mockito/listeners/MockitoListener.java",
|
|
"src/src/main/java/org/mockito/listeners/VerificationStartedEvent.java",
|
|
"src/src/main/java/org/mockito/listeners/package-info.java",
|
|
"src/src/main/java/org/mockito/listeners/VerificationListener.java",
|
|
"src/src/main/java/org/mockito/package-info.java",
|
|
"src/src/main/java/org/mockito/MockingDetails.java",
|
|
"src/src/main/java/org/mockito/MockitoSession.java",
|
|
"src/src/main/java/org/mockito/exceptions/misusing/MockitoConfigurationException.java",
|
|
"src/src/main/java/org/mockito/exceptions/misusing/FriendlyReminderException.java",
|
|
"src/src/main/java/org/mockito/exceptions/misusing/WrongTypeOfReturnValue.java",
|
|
"src/src/main/java/org/mockito/exceptions/misusing/UnfinishedMockingSessionException.java",
|
|
"src/src/main/java/org/mockito/exceptions/misusing/NotAMockException.java",
|
|
"src/src/main/java/org/mockito/exceptions/misusing/UnfinishedStubbingException.java",
|
|
"src/src/main/java/org/mockito/exceptions/misusing/NullInsteadOfMockException.java",
|
|
"src/src/main/java/org/mockito/exceptions/misusing/CannotStubVoidMethodWithReturnValue.java",
|
|
"src/src/main/java/org/mockito/exceptions/misusing/MissingMethodInvocationException.java",
|
|
"src/src/main/java/org/mockito/exceptions/misusing/UnnecessaryStubbingException.java",
|
|
"src/src/main/java/org/mockito/exceptions/misusing/RedundantListenerException.java",
|
|
"src/src/main/java/org/mockito/exceptions/misusing/InvalidUseOfMatchersException.java",
|
|
"src/src/main/java/org/mockito/exceptions/misusing/PotentialStubbingProblem.java",
|
|
"src/src/main/java/org/mockito/exceptions/misusing/UnfinishedVerificationException.java",
|
|
"src/src/main/java/org/mockito/exceptions/misusing/package-info.java",
|
|
"src/src/main/java/org/mockito/exceptions/misusing/CannotVerifyStubOnlyMock.java",
|
|
"src/src/main/java/org/mockito/exceptions/base/MockitoException.java",
|
|
"src/src/main/java/org/mockito/exceptions/base/MockitoAssertionError.java",
|
|
"src/src/main/java/org/mockito/exceptions/base/MockitoSerializationIssue.java",
|
|
"src/src/main/java/org/mockito/exceptions/base/MockitoInitializationException.java",
|
|
"src/src/main/java/org/mockito/exceptions/base/package-info.java",
|
|
"src/src/main/java/org/mockito/exceptions/verification/ArgumentsAreDifferent.java",
|
|
"src/src/main/java/org/mockito/exceptions/verification/SmartNullPointerException.java",
|
|
"src/src/main/java/org/mockito/exceptions/verification/VerificationInOrderFailure.java",
|
|
"src/src/main/java/org/mockito/exceptions/verification/TooLittleActualInvocations.java",
|
|
"src/src/main/java/org/mockito/exceptions/verification/NoInteractionsWanted.java",
|
|
"src/src/main/java/org/mockito/exceptions/verification/NeverWantedButInvoked.java",
|
|
"src/src/main/java/org/mockito/exceptions/verification/WantedButNotInvoked.java",
|
|
"src/src/main/java/org/mockito/exceptions/verification/TooManyActualInvocations.java",
|
|
"src/src/main/java/org/mockito/exceptions/verification/package-info.java",
|
|
"src/src/main/java/org/mockito/exceptions/verification/junit/ArgumentsAreDifferent.java",
|
|
"src/src/main/java/org/mockito/exceptions/verification/junit/package-info.java",
|
|
"src/src/main/java/org/mockito/exceptions/stacktrace/package-info.java",
|
|
"src/src/main/java/org/mockito/exceptions/stacktrace/StackTraceCleaner.java",
|
|
"src/src/main/java/org/mockito/exceptions/package-info.java",
|
|
"src/src/main/java/org/mockito/Mock.java",
|
|
"src/src/main/java/org/mockito/MockitoAnnotations.java",
|
|
"src/src/main/java/org/mockito/Spy.java",
|
|
"src/src/main/java/org/mockito/AdditionalMatchers.java",
|
|
"src/src/main/java/org/mockito/junit/MockitoJUnit.java",
|
|
"src/src/main/java/org/mockito/junit/MockitoJUnitRunner.java",
|
|
"src/src/main/java/org/mockito/junit/MockitoRule.java",
|
|
"src/src/main/java/org/mockito/junit/package-info.java",
|
|
"src/src/main/java/org/mockito/junit/VerificationCollector.java",
|
|
"src/src/main/java/org/mockito/Incubating.java",
|
|
"src/src/main/java/org/mockito/ArgumentCaptor.java",
|
|
"src/src/main/java/org/mockito/session/MockitoSessionLogger.java",
|
|
"src/src/main/java/org/mockito/session/MockitoSessionBuilder.java",
|
|
"src/src/main/java/org/mockito/InOrder.java",
|
|
"src/src/main/java/org/mockito/runners/ConsoleSpammingMockitoJUnitRunner.java",
|
|
"src/src/main/java/org/mockito/runners/MockitoJUnitRunner.java",
|
|
"src/src/main/java/org/mockito/runners/VerboseMockitoJUnitRunner.java",
|
|
"src/src/main/java/org/mockito/runners/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/verification/argumentmatching/ArgumentMatchingTool.java",
|
|
"src/src/main/java/org/mockito/internal/verification/argumentmatching/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/verification/Calls.java",
|
|
"src/src/main/java/org/mockito/internal/verification/VerificationWrapperInOrderWrapper.java",
|
|
"src/src/main/java/org/mockito/internal/verification/VerificationOverTimeImpl.java",
|
|
"src/src/main/java/org/mockito/internal/verification/AtLeast.java",
|
|
"src/src/main/java/org/mockito/internal/verification/SingleRegisteredInvocation.java",
|
|
"src/src/main/java/org/mockito/internal/verification/InOrderWrapper.java",
|
|
"src/src/main/java/org/mockito/internal/verification/InOrderContextImpl.java",
|
|
"src/src/main/java/org/mockito/internal/verification/VerificationEventImpl.java",
|
|
"src/src/main/java/org/mockito/internal/verification/NoMoreInteractions.java",
|
|
"src/src/main/java/org/mockito/internal/verification/checkers/NumberOfInvocationsChecker.java",
|
|
"src/src/main/java/org/mockito/internal/verification/checkers/AtLeastDiscrepancy.java",
|
|
"src/src/main/java/org/mockito/internal/verification/checkers/MissingInvocationChecker.java",
|
|
"src/src/main/java/org/mockito/internal/verification/checkers/AtLeastXNumberOfInvocationsChecker.java",
|
|
"src/src/main/java/org/mockito/internal/verification/checkers/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/verification/VerificationWrapper.java",
|
|
"src/src/main/java/org/mockito/internal/verification/Description.java",
|
|
"src/src/main/java/org/mockito/internal/verification/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/verification/MockAwareVerificationMode.java",
|
|
"src/src/main/java/org/mockito/internal/verification/DefaultRegisteredInvocations.java",
|
|
"src/src/main/java/org/mockito/internal/verification/RegisteredInvocations.java",
|
|
"src/src/main/java/org/mockito/internal/verification/VerificationDataImpl.java",
|
|
"src/src/main/java/org/mockito/internal/verification/Only.java",
|
|
"src/src/main/java/org/mockito/internal/verification/api/VerificationDataInOrder.java",
|
|
"src/src/main/java/org/mockito/internal/verification/api/VerificationDataInOrderImpl.java",
|
|
"src/src/main/java/org/mockito/internal/verification/api/InOrderContext.java",
|
|
"src/src/main/java/org/mockito/internal/verification/api/VerificationInOrderMode.java",
|
|
"src/src/main/java/org/mockito/internal/verification/api/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/verification/api/VerificationData.java",
|
|
"src/src/main/java/org/mockito/internal/verification/Times.java",
|
|
"src/src/main/java/org/mockito/internal/verification/VerificationModeFactory.java",
|
|
"src/src/main/java/org/mockito/internal/verification/AtMost.java",
|
|
"src/src/main/java/org/mockito/internal/util/ConsoleMockitoLogger.java",
|
|
"src/src/main/java/org/mockito/internal/util/DefaultMockingDetails.java",
|
|
"src/src/main/java/org/mockito/internal/util/io/IOUtil.java",
|
|
"src/src/main/java/org/mockito/internal/util/Checks.java",
|
|
"src/src/main/java/org/mockito/internal/util/reflection/GenericMaster.java",
|
|
"src/src/main/java/org/mockito/internal/util/reflection/GenericMetadataSupport.java",
|
|
"src/src/main/java/org/mockito/internal/util/reflection/BeanPropertySetter.java",
|
|
"src/src/main/java/org/mockito/internal/util/reflection/FieldReader.java",
|
|
"src/src/main/java/org/mockito/internal/util/reflection/LenientCopyTool.java",
|
|
"src/src/main/java/org/mockito/internal/util/reflection/GenericTypeExtractor.java",
|
|
"src/src/main/java/org/mockito/internal/util/reflection/FieldInitializationReport.java",
|
|
"src/src/main/java/org/mockito/internal/util/reflection/FieldInitializer.java",
|
|
"src/src/main/java/org/mockito/internal/util/reflection/FieldCopier.java",
|
|
"src/src/main/java/org/mockito/internal/util/reflection/SuperTypesLastSorter.java",
|
|
"src/src/main/java/org/mockito/internal/util/reflection/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/util/reflection/InstanceField.java",
|
|
"src/src/main/java/org/mockito/internal/util/reflection/Fields.java",
|
|
"src/src/main/java/org/mockito/internal/util/reflection/FieldSetter.java",
|
|
"src/src/main/java/org/mockito/internal/util/reflection/AccessibilityChanger.java",
|
|
"src/src/main/java/org/mockito/internal/util/Primitives.java",
|
|
"src/src/main/java/org/mockito/internal/util/MockUtil.java",
|
|
"src/src/main/java/org/mockito/internal/util/MockNameImpl.java",
|
|
"src/src/main/java/org/mockito/internal/util/collections/HashCodeAndEqualsMockWrapper.java",
|
|
"src/src/main/java/org/mockito/internal/util/collections/IdentitySet.java",
|
|
"src/src/main/java/org/mockito/internal/util/collections/HashCodeAndEqualsSafeSet.java",
|
|
"src/src/main/java/org/mockito/internal/util/collections/Sets.java",
|
|
"src/src/main/java/org/mockito/internal/util/collections/Iterables.java",
|
|
"src/src/main/java/org/mockito/internal/util/collections/ListUtil.java",
|
|
"src/src/main/java/org/mockito/internal/util/StringUtil.java",
|
|
"src/src/main/java/org/mockito/internal/util/concurrent/DetachedThreadLocal.java",
|
|
"src/src/main/java/org/mockito/internal/util/concurrent/WeakConcurrentSet.java",
|
|
"src/src/main/java/org/mockito/internal/util/concurrent/WeakConcurrentMap.java",
|
|
"src/src/main/java/org/mockito/internal/util/Supplier.java",
|
|
"src/src/main/java/org/mockito/internal/util/ObjectMethodsGuru.java",
|
|
"src/src/main/java/org/mockito/internal/util/MockitoLogger.java",
|
|
"src/src/main/java/org/mockito/internal/util/MockCreationValidator.java",
|
|
"src/src/main/java/org/mockito/internal/util/Timer.java",
|
|
"src/src/main/java/org/mockito/internal/util/Platform.java",
|
|
"src/src/main/java/org/mockito/internal/util/JavaEightUtil.java",
|
|
"src/src/main/java/org/mockito/internal/util/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/StubbingComparator.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/OngoingStubbingImpl.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/StubbedInvocationMatcher.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/defaultanswers/ReturnsMocks.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/defaultanswers/ReturnsMoreEmptyValues.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/defaultanswers/ReturnsEmptyValues.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/defaultanswers/ReturnsSmartNulls.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/defaultanswers/ForwardsInvocations.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/defaultanswers/ReturnsDeepStubs.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/defaultanswers/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/defaultanswers/GloballyConfiguredAnswer.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/defaultanswers/TriesToReturnSelf.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/StubberImpl.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/BaseStubbing.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/answers/ReturnsElementsOf.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/answers/AnswersWithDelay.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/answers/ClonesArguments.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/answers/AnswerFunctionalInterfaces.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/answers/ThrowsException.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/answers/ReturnsArgumentAt.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/answers/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/answers/Returns.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/answers/DefaultAnswerValidator.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/answers/DoesNothing.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/answers/InvocationInfo.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/answers/CallsRealMethods.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/ConsecutiveStubbing.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/InvocationContainerImpl.java",
|
|
"src/src/main/java/org/mockito/internal/stubbing/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/InternalMockHandler.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/Same.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/ArrayEquals.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/CapturingMatcher.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/Not.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/apachecommons/EqualsBuilder.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/apachecommons/ReflectionEquals.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/apachecommons/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/Equality.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/CapturesArguments.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/StartsWith.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/GreaterOrEqual.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/Null.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/NotNull.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/CompareEqual.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/Equals.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/ContainsExtraTypeInfo.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/CompareTo.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/InstanceOf.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/VarargMatcher.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/And.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/Find.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/Or.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/text/MatcherToString.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/text/MatchersPrinter.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/text/ValuePrinter.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/text/FormattedText.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/LessThan.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/EndsWith.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/LocalizedMatcher.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/GreaterThan.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/Any.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/LessOrEqual.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/Matches.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/EqualsWithDelta.java",
|
|
"src/src/main/java/org/mockito/internal/matchers/Contains.java",
|
|
"src/src/main/java/org/mockito/internal/InOrderImpl.java",
|
|
"src/src/main/java/org/mockito/internal/MockitoCore.java",
|
|
"src/src/main/java/org/mockito/internal/framework/DefaultMockitoSession.java",
|
|
"src/src/main/java/org/mockito/internal/framework/DefaultMockitoFramework.java",
|
|
"src/src/main/java/org/mockito/internal/hamcrest/MatcherGenericTypeExtractor.java",
|
|
"src/src/main/java/org/mockito/internal/hamcrest/HamcrestArgumentMatcher.java",
|
|
"src/src/main/java/org/mockito/internal/handler/MockHandlerFactory.java",
|
|
"src/src/main/java/org/mockito/internal/handler/NullResultGuardian.java",
|
|
"src/src/main/java/org/mockito/internal/handler/NotifiedMethodInvocationReport.java",
|
|
"src/src/main/java/org/mockito/internal/handler/MockHandlerImpl.java",
|
|
"src/src/main/java/org/mockito/internal/handler/InvocationNotifierHandler.java",
|
|
"src/src/main/java/org/mockito/internal/progress/ThreadSafeMockingProgress.java",
|
|
"src/src/main/java/org/mockito/internal/progress/ArgumentMatcherStorageImpl.java",
|
|
"src/src/main/java/org/mockito/internal/progress/SequenceNumber.java",
|
|
"src/src/main/java/org/mockito/internal/progress/MockingProgress.java",
|
|
"src/src/main/java/org/mockito/internal/progress/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/progress/MockingProgressImpl.java",
|
|
"src/src/main/java/org/mockito/internal/progress/ArgumentMatcherStorage.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/CaptorAnnotationProcessor.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/injection/MockInjection.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/injection/PropertyAndSetterInjection.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/injection/MockInjectionStrategy.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/injection/scanner/MockScanner.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/injection/scanner/InjectMocksScanner.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/injection/SpyOnInjectedFieldsHandler.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/injection/filter/MockCandidateFilter.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/injection/filter/TypeBasedCandidateFilter.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/injection/filter/TerminalMockCandidateFilter.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/injection/filter/OngoingInjector.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/injection/filter/NameBasedCandidateFilter.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/injection/ConstructorInjection.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/injection/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/SpyAnnotationEngine.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/MockAnnotationProcessor.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/InjectingAnnotationEngine.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/FieldAnnotationProcessor.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/IndependentAnnotationEngine.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/DefaultInjectionEngine.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/plugins/DefaultMockitoPlugins.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/plugins/PluginRegistry.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/plugins/DefaultPluginSwitch.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/plugins/Plugins.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/plugins/PluginFinder.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/plugins/PluginFileReader.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/plugins/PluginInitializer.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/plugins/PluginLoader.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/plugins/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/GlobalConfiguration.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/ClassPathLoader.java",
|
|
"src/src/main/java/org/mockito/internal/configuration/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/InvocationMarker.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/MatcherApplicationStrategy.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/StubInfoImpl.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/InterceptedInvocation.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/finder/AllInvocationsFinder.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/finder/VerifiableInvocationsFinder.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/InvocationComparator.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/TypeSafeMatching.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/MatchersBinder.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/RealMethod.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/InvocationMatcher.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/ArgumentMatcherAction.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/InvocationsFinder.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/SerializableMethod.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/AbstractAwareMethod.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/ArgumentsProcessor.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/DefaultInvocationFactory.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/mockref/MockReference.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/mockref/MockStrongReference.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/mockref/MockWeakReference.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/UnusedStubsFinder.java",
|
|
"src/src/main/java/org/mockito/internal/invocation/MockitoMethod.java",
|
|
"src/src/main/java/org/mockito/internal/listeners/VerificationStartedNotifier.java",
|
|
"src/src/main/java/org/mockito/internal/listeners/StubbingLookupListener.java",
|
|
"src/src/main/java/org/mockito/internal/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/exceptions/ExceptionIncludingMockitoWarnings.java",
|
|
"src/src/main/java/org/mockito/internal/exceptions/util/ScenarioPrinter.java",
|
|
"src/src/main/java/org/mockito/internal/exceptions/Reporter.java",
|
|
"src/src/main/java/org/mockito/internal/exceptions/stacktrace/DefaultStackTraceCleanerProvider.java",
|
|
"src/src/main/java/org/mockito/internal/exceptions/stacktrace/DefaultStackTraceCleaner.java",
|
|
"src/src/main/java/org/mockito/internal/exceptions/stacktrace/StackTraceFilter.java",
|
|
"src/src/main/java/org/mockito/internal/exceptions/stacktrace/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/exceptions/stacktrace/ConditionalStackTraceFilter.java",
|
|
"src/src/main/java/org/mockito/internal/exceptions/VerificationAwareInvocation.java",
|
|
"src/src/main/java/org/mockito/internal/debugging/WarningsFinder.java",
|
|
"src/src/main/java/org/mockito/internal/debugging/LoggingListener.java",
|
|
"src/src/main/java/org/mockito/internal/debugging/LocationImpl.java",
|
|
"src/src/main/java/org/mockito/internal/debugging/MockitoDebuggerImpl.java",
|
|
"src/src/main/java/org/mockito/internal/debugging/Localized.java",
|
|
"src/src/main/java/org/mockito/internal/debugging/WarningsPrinterImpl.java",
|
|
"src/src/main/java/org/mockito/internal/debugging/WarningsCollector.java",
|
|
"src/src/main/java/org/mockito/internal/debugging/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/debugging/InvocationsPrinter.java",
|
|
"src/src/main/java/org/mockito/internal/debugging/FindingsListener.java",
|
|
"src/src/main/java/org/mockito/internal/debugging/VerboseMockInvocationLogger.java",
|
|
"src/src/main/java/org/mockito/internal/junit/ArgMismatchFinder.java",
|
|
"src/src/main/java/org/mockito/internal/junit/UnusedStubbings.java",
|
|
"src/src/main/java/org/mockito/internal/junit/DefaultStubbingLookupListener.java",
|
|
"src/src/main/java/org/mockito/internal/junit/JUnitRule.java",
|
|
"src/src/main/java/org/mockito/internal/junit/ExceptionFactory.java",
|
|
"src/src/main/java/org/mockito/internal/junit/util/JUnitFailureHacker.java",
|
|
"src/src/main/java/org/mockito/internal/junit/MismatchReportingTestListener.java",
|
|
"src/src/main/java/org/mockito/internal/junit/StrictStubsRunnerTestListener.java",
|
|
"src/src/main/java/org/mockito/internal/junit/UnusedStubbingsFinder.java",
|
|
"src/src/main/java/org/mockito/internal/junit/VerificationCollectorImpl.java",
|
|
"src/src/main/java/org/mockito/internal/junit/DefaultTestFinishedEvent.java",
|
|
"src/src/main/java/org/mockito/internal/junit/MockitoTestListener.java",
|
|
"src/src/main/java/org/mockito/internal/junit/StubbingArgMismatches.java",
|
|
"src/src/main/java/org/mockito/internal/junit/NoOpTestListener.java",
|
|
"src/src/main/java/org/mockito/internal/junit/UnnecessaryStubbingsReporter.java",
|
|
"src/src/main/java/org/mockito/internal/junit/StubbingHint.java",
|
|
"src/src/main/java/org/mockito/internal/junit/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/junit/TestFinishedEvent.java",
|
|
"src/src/main/java/org/mockito/internal/junit/UniversalTestListener.java",
|
|
"src/src/main/java/org/mockito/internal/session/MockitoLoggerAdapter.java",
|
|
"src/src/main/java/org/mockito/internal/session/DefaultMockitoSessionBuilder.java",
|
|
"src/src/main/java/org/mockito/internal/session/MockitoSessionLoggerAdapter.java",
|
|
"src/src/main/java/org/mockito/internal/reporting/PrintSettings.java",
|
|
"src/src/main/java/org/mockito/internal/reporting/Pluralizer.java",
|
|
"src/src/main/java/org/mockito/internal/reporting/SmartPrinter.java",
|
|
"src/src/main/java/org/mockito/internal/reporting/Discrepancy.java",
|
|
"src/src/main/java/org/mockito/internal/reporting/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/runners/util/RunnerProvider.java",
|
|
"src/src/main/java/org/mockito/internal/runners/util/FailureDetector.java",
|
|
"src/src/main/java/org/mockito/internal/runners/util/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/runners/util/TestMethodsFinder.java",
|
|
"src/src/main/java/org/mockito/internal/runners/InternalRunner.java",
|
|
"src/src/main/java/org/mockito/internal/runners/RunnerFactory.java",
|
|
"src/src/main/java/org/mockito/internal/runners/StrictRunner.java",
|
|
"src/src/main/java/org/mockito/internal/runners/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/runners/DefaultInternalRunner.java",
|
|
"src/src/main/java/org/mockito/internal/creation/DelegatingMethod.java",
|
|
"src/src/main/java/org/mockito/internal/creation/settings/CreationSettings.java",
|
|
"src/src/main/java/org/mockito/internal/creation/util/MockitoMethodProxy.java",
|
|
"src/src/main/java/org/mockito/internal/creation/util/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/creation/MockSettingsImpl.java",
|
|
"src/src/main/java/org/mockito/internal/creation/SuspendMethod.java",
|
|
"src/src/main/java/org/mockito/internal/creation/instance/InstantiationException.java",
|
|
"src/src/main/java/org/mockito/internal/creation/instance/InstantiatorProvider2Adapter.java",
|
|
"src/src/main/java/org/mockito/internal/creation/instance/ObjenesisInstantiator.java",
|
|
"src/src/main/java/org/mockito/internal/creation/instance/Instantiator.java",
|
|
"src/src/main/java/org/mockito/internal/creation/instance/ConstructorInstantiator.java",
|
|
"src/src/main/java/org/mockito/internal/creation/instance/InstantiatorProviderAdapter.java",
|
|
"src/src/main/java/org/mockito/internal/creation/instance/DefaultInstantiatorProvider.java",
|
|
"src/src/main/java/org/mockito/internal/creation/bytebuddy/SubclassInjectionLoader.java",
|
|
"src/src/main/java/org/mockito/internal/creation/bytebuddy/ClassCreatingMockMaker.java",
|
|
"src/src/main/java/org/mockito/internal/creation/bytebuddy/SubclassBytecodeGenerator.java",
|
|
"src/src/main/java/org/mockito/internal/creation/bytebuddy/MockMethodAdvice.java",
|
|
"src/src/main/java/org/mockito/internal/creation/bytebuddy/MockMethodDispatcher.java",
|
|
"src/src/main/java/org/mockito/internal/creation/bytebuddy/MockAccess.java",
|
|
"src/src/main/java/org/mockito/internal/creation/bytebuddy/InlineByteBuddyMockMaker.java",
|
|
"src/src/main/java/org/mockito/internal/creation/bytebuddy/InlineBytecodeGenerator.java",
|
|
"src/src/main/java/org/mockito/internal/creation/bytebuddy/MockMethodInterceptor.java",
|
|
"src/src/main/java/org/mockito/internal/creation/bytebuddy/ByteBuddyCrossClassLoaderSerializationSupport.java",
|
|
"src/src/main/java/org/mockito/internal/creation/bytebuddy/SubclassLoader.java",
|
|
"src/src/main/java/org/mockito/internal/creation/bytebuddy/MockFeatures.java",
|
|
"src/src/main/java/org/mockito/internal/creation/bytebuddy/TypeCachingBytecodeGenerator.java",
|
|
"src/src/main/java/org/mockito/internal/creation/bytebuddy/package-info.java",
|
|
"src/src/main/java/org/mockito/internal/creation/bytebuddy/ByteBuddyMockMaker.java",
|
|
"src/src/main/java/org/mockito/internal/creation/bytebuddy/SubclassByteBuddyMockMaker.java",
|
|
"src/src/main/java/org/mockito/internal/creation/bytebuddy/BytecodeGenerator.java",
|
|
"src/src/main/java/org/mockito/internal/creation/package-info.java",
|
|
"src/src/main/java/org/mockito/creation/instance/InstantiationException.java",
|
|
"src/src/main/java/org/mockito/creation/instance/Instantiator.java",
|
|
]
|
|
}
|
|
|
|
android_library("mockito_android_java") {
|
|
chromium_code = false
|
|
testonly = true
|
|
proguard_configs = [ "//third_party/mockito/proguard.flags" ]
|
|
deps = [
|
|
":mockito_java",
|
|
"//third_party/byte_buddy:byte_buddy_android_java",
|
|
]
|
|
|
|
java_files = [
|
|
"src/subprojects/android/src/main/java/org/mockito/android/internal/creation/AndroidTempFileLocator.java",
|
|
"src/subprojects/android/src/main/java/org/mockito/android/internal/creation/AndroidLoadingStrategy.java",
|
|
"src/subprojects/android/src/main/java/org/mockito/android/internal/creation/AndroidByteBuddyMockMaker.java",
|
|
]
|
|
|
|
include_java_resources = true
|
|
additional_jar_files = [ [
|
|
rebase_path(
|
|
"src/subprojects/android/src/main/resources/mockito-extensions/org.mockito.plugins.MockMaker",
|
|
root_build_dir),
|
|
"mockito-extensions/org.mockito.plugins.MockMaker",
|
|
] ]
|
|
}
|