[mockito] 02/04: Merge tag 'upstream/1.10.19'
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Jun 28 13:33:30 UTC 2016
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository mockito.
commit 6c39c98328e36e8d4a845a87090a63d34ae57d58
Merge: 8d302c7 0048e89
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Tue Jun 28 12:13:35 2016 +0200
Merge tag 'upstream/1.10.19'
Upstream version 1.10.19
.checkstyle | 15 +
.gitignore | 19 +
.travis.yml | 20 +
HOWTO.BUILD.TXT | 1 +
META-INF/MANIFEST.MF | 51 -
README.md | 142 ++
build-ant.xml | 57 +
build.gradle | 170 ++
build.xml | 514 +++++
buildSrc/build.gradle | 19 +
.../mockito/release/comparison/PomComparator.java | 31 +
.../release/comparison/PublicationsComparator.java | 26 +
.../comparison/PublicationsComparatorTask.java | 42 +
.../mockito/release/comparison/ZipComparator.java | 46 +
.../org/mockito/release/comparison/ZipCompare.java | 132 ++
.../mockito/release/exec/DefaultProcessRunner.java | 42 +
.../main/groovy/org/mockito/release/exec/Exec.java | 16 +
.../org/mockito/release/exec/ProcessRunner.java | 15 +
.../org/mockito/release/git/DefaultGitAuthor.java | 30 +
.../org/mockito/release/git/DefaultGitTool.java | 21 +
.../main/groovy/org/mockito/release/git/Git.java | 16 +
.../groovy/org/mockito/release/git/GitAuthor.java | 12 +
.../groovy/org/mockito/release/git/GitTool.java | 13 +
.../gradle/notes/ReleaseNotesExtension.groovy | 62 +
.../release/gradle/notes/ReleaseNotesPlugin.groovy | 25 +
.../release/gradle/steps/ReleaseExtension.groovy | 25 +
.../release/gradle/steps/ReleasePlugin.groovy | 40 +
.../release/gradle/steps/ReleaseTask.groovy | 15 +
.../org/mockito/release/notes/GitNotesBuilder.java | 43 +
.../groovy/org/mockito/release/notes/Notes.java | 30 +
.../org/mockito/release/notes/NotesBuilder.java | 16 +
.../org/mockito/release/notes/NotesPrinter.java | 20 +
.../main/groovy/org/mockito/release/notes/TODO.txt | 6 +
.../notes/improvements/DefaultImprovements.java | 25 +
.../notes/improvements/GitHubAuthToken.java | 20 +
.../improvements/GitHubImprovementsProvider.java | 22 +
.../notes/improvements/GitHubTicketFetcher.java | 61 +
.../release/notes/improvements/Improvement.java | 24 +
.../release/notes/improvements/ImprovementSet.java | 14 +
.../release/notes/improvements/Improvements.java | 16 +
.../notes/improvements/ImprovementsProvider.java | 8 +
.../mockito/release/notes/util/HumanReadable.java | 12 +
.../org/mockito/release/notes/util/IOUtil.java | 44 +
.../org/mockito/release/notes/util/Predicate.java | 12 +
.../release/notes/util/ReleaseNotesException.java | 8 +
.../org/mockito/release/notes/vcs/Commit.java | 26 +
.../mockito/release/notes/vcs/Contribution.java | 37 +
.../mockito/release/notes/vcs/ContributionSet.java | 26 +
.../release/notes/vcs/ContributionsProvider.java | 12 +
.../release/notes/vcs/DefaultContributionSet.java | 62 +
.../org/mockito/release/notes/vcs/GitCommit.java | 35 +
.../notes/vcs/GitContributionsProvider.java | 41 +
.../mockito/release/notes/vcs/GitLogProvider.java | 17 +
.../mockito/release/notes/vcs/IgnoreCiSkip.java | 16 +
.../mockito/release/notes/vcs/TicketParser.java | 23 +
.../groovy/org/mockito/release/notes/vcs/Vcs.java | 16 +
.../release/notes/versions/FromNotesContent.java | 28 +
.../release/notes/versions/PreviousVersion.java | 12 +
.../mockito/release/notes/versions/Versions.java | 14 +
.../release/steps/ConfigurableReleaseStep.java | 18 +
.../mockito/release/steps/DefaultReleaseStep.java | 53 +
.../mockito/release/steps/DefaultReleaseSteps.java | 57 +
.../org/mockito/release/steps/ReleaseStep.java | 12 +
.../org/mockito/release/steps/ReleaseSteps.java | 12 +
.../groovy/org/mockito/release/steps/Steps.java | 8 +
.../mockito/release/util/ArgumentValidation.java | 31 +
.../mockito/release/util/operations/Operation.java | 5 +
.../release/util/operations/Operations.java | 14 +
.../gradle-plugins/release-notes.properties | 1 +
.../META-INF/gradle-plugins/release.properties | 1 +
.../release/comparison/PomComparatorTest.groovy | 68 +
.../release/comparison/ZipComparatorTest.groovy | 42 +
.../release/comparison/ZipCompareTest.groovy | 44 +
.../release/exec/DefaultProcessRunnerTest.groovy | 28 +
.../org/mockito/release/exec/TestUtil.groovy | 11 +
.../release/git/DefaultGitAuthorTest.groovy | 31 +
.../mockito/release/git/DefaultGitToolTest.groovy | 23 +
.../mockito/release/notes/NotesPrinterTest.groovy | 21 +
.../improvements/DefaultImprovementsTest.groovy | 28 +
.../improvements/GitHubTicketFetcherTest.groovy | 23 +
.../mockito/release/notes/util/IOUtilTest.groovy | 22 +
.../release/notes/vcs/ContributionTest.groovy | 40 +
.../notes/vcs/DefaultContributionSetTest.groovy | 54 +
.../notes/vcs/GitContributionsProviderTest.groovy | 57 +
.../release/notes/vcs/GitLogProviderTest.groovy | 24 +
.../release/notes/vcs/TicketParserTest.groovy | 22 +
.../notes/versions/FromNotesContentTest.groovy | 22 +
.../release/util/ArgumentValidationTest.groovy | 41 +
.../src/test/groovy/testutil/OfflineChecker.groovy | 17 +
.../test/groovy/testutil/OfflineCheckerTest.groovy | 11 +
buildSrc/src/test/groovy/testutil/ZipMaker.groovy | 42 +
conf/checkstyle-code.xml | 135 ++
conf/checkstyle-test.xml | 134 ++
conf/mockito-all.bnd | 34 +
conf/mockito-core.bnd | 22 +
conf/pmd-rules.xml | 65 +
doc/jars-info.txt | 11 +
doc/licenses/README | 1 +
doc/licenses/commons-lang-license.txt | 202 ++
doc/licenses/easymock-license.txt | 7 +
.../jmock => doc/licenses}/jmock-license.txt | 0
doc/notes.txt | 14 +
doc/release-notes/official.md | 269 +++
doc/wishlist.txt | 15 +
dummy-commit.txt | 1 +
gradle.properties | 2 +
gradle/coverage.gradle | 5 +
gradle/ide.gradle | 18 +
gradle/javadoc.gradle | 87 +
gradle/pom.gradle | 28 +
gradle/publish.gradle | 46 +
gradle/release.gradle | 185 ++
gradle/version.gradle | 34 +
gradle/wrapper/gradle-wrapper.properties | 6 +
gradlew | 164 ++
gradlew.bat | 90 +
lib/build/sorcerer-license.txt | 7 +
lib/repackaged/asm-license.txt | 29 +
lib/repackaged/cglib-license.txt | 201 ++
lib/run/hamcrest-license.txt | 27 +
lib/run/objenesis-license.txt | 18 +
maven/mockito-all.pom | 28 +
maven/mockito-core.pom | 41 +
maven/readme.txt | 4 +
org/mockito/AdditionalAnswers.java | 194 --
org/mockito/AdditionalMatchers.java | 992 ---------
org/mockito/Answers.java | 83 -
org/mockito/ArgumentCaptor.java | 147 --
org/mockito/ArgumentMatcher.java | 90 -
org/mockito/BDDMockito.java | 334 ---
org/mockito/Incubating.java | 30 -
org/mockito/InjectMocks.java | 154 --
org/mockito/Matchers.java | 881 --------
org/mockito/Mock.java | 71 -
org/mockito/MockSettings.java | 200 --
org/mockito/MockingDetails.java | 31 -
org/mockito/Mockito.java | 2172 ------------------
org/mockito/Spy.java | 105 -
.../configuration/DefaultMockitoConfiguration.java | 57 -
.../configuration/IMockitoConfiguration.java | 84 -
org/mockito/exceptions/Reporter.java | 755 -------
.../exceptions/base/MockitoAssertionError.java | 29 -
org/mockito/exceptions/base/MockitoException.java | 37 -
.../exceptions/stacktrace/StackTraceCleaner.java | 29 -
.../verification/junit/ArgumentsAreDifferent.java | 41 -
org/mockito/internal/MockitoCore.java | 181 --
.../internal/configuration/ClassPathLoader.java | 180 --
.../configuration/GlobalConfiguration.java | 69 -
.../configuration/InjectingAnnotationEngine.java | 103 -
.../configuration/MockAnnotationProcessor.java | 32 -
.../configuration/SpyAnnotationEngine.java | 85 -
.../configuration/injection/MockInjection.java | 97 -
.../injection/PropertyAndSetterInjection.java | 148 --
.../injection/scanner/MockScanner.java | 89 -
.../creation/AbstractMockitoMethodProxy.java | 12 -
org/mockito/internal/creation/CglibMockMaker.java | 50 -
org/mockito/internal/creation/ClassNameFinder.java | 17 -
.../internal/creation/DelegatingMethod.java | 53 -
.../creation/DelegatingMockitoMethodProxy.java | 20 -
.../internal/creation/MethodInterceptorFilter.java | 75 -
.../internal/creation/MockSettingsImpl.java | 158 --
.../internal/creation/MockitoMethodProxy.java | 15 -
.../creation/SerializableMockitoMethodProxy.java | 37 -
.../internal/creation/cglib/CGLIBHacker.java | 46 -
.../creation/cglib/MockitoNamingPolicy.java | 17 -
.../internal/creation/jmock/ClassImposterizer.java | 142 --
.../creation/jmock/SearchingClassLoader.java | 76 -
.../internal/creation/jmock/SerializableNoOp.java | 17 -
org/mockito/internal/creation/jmock/package.html | 6 -
.../creation/settings/CreationSettings.java | 91 -
.../internal/debugging/LoggingListener.java | 52 -
.../internal/debugging/MockitoDebuggerImpl.java | 58 -
.../internal/debugging/WarningsPrinterImpl.java | 41 -
.../stacktrace/ConditionalStackTraceFilter.java | 26 -
.../exceptions/stacktrace/StackTraceFilter.java | 57 -
.../handler/InvocationNotifierHandler.java | 84 -
org/mockito/internal/handler/MockHandlerImpl.java | 122 --
.../internal/invocation/ArgumentsComparator.java | 71 -
.../internal/invocation/InvocationImpl.java | 130 --
.../internal/invocation/InvocationMatcher.java | 137 --
.../internal/invocation/InvocationsFinder.java | 186 --
org/mockito/internal/invocation/MockitoMethod.java | 22 -
.../internal/invocation/SerializableMethod.java | 102 -
org/mockito/internal/invocation/StubInfoImpl.java | 24 -
.../invocation/finder/AllInvocationsFinder.java | 38 -
.../finder/VerifiableInvocationsFinder.java | 28 -
.../realmethod/CGLIBProxyRealMethod.java | 28 -
.../realmethod/FilteredCGLIBProxyRealMethod.java | 37 -
.../invocation/realmethod/HasCGLIBMethodProxy.java | 14 -
.../internal/invocation/realmethod/RealMethod.java | 12 -
org/mockito/internal/junit/JUnitTool.java | 36 -
.../internal/listeners/CollectCreatedMocks.java | 23 -
.../listeners/NotifiedMethodInvocationReport.java | 85 -
.../internal/matchers/CapturingMatcher.java | 51 -
org/mockito/internal/matchers/Equality.java | 41 -
org/mockito/internal/matchers/Equals.java | 76 -
org/mockito/internal/matchers/EqualsWithDelta.java | 36 -
.../internal/matchers/LocalizedMatcher.java | 69 -
.../matchers/apachecommons/EqualsBuilder.java | 815 -------
.../progress/ArgumentMatcherStorageImpl.java | 125 --
.../internal/progress/HandyReturnValues.java | 62 -
.../internal/progress/MockingProgressImpl.java | 123 --
.../progress/ThreadSafeMockingProgress.java | 79 -
.../runners/JUnit45AndHigherRunnerImpl.java | 47 -
org/mockito/internal/stubbing/BaseStubbing.java | 79 -
.../internal/stubbing/InvocationContainerImpl.java | 131 --
.../internal/stubbing/VoidMethodStubbableImpl.java | 39 -
.../stubbing/answers/AnswersValidator.java | 91 -
.../stubbing/answers/CallsRealMethods.java | 38 -
.../internal/stubbing/answers/MethodInfo.java | 66 -
.../stubbing/answers/ReturnsElementsOf.java | 43 -
.../stubbing/answers/ThrowsExceptionClass.java | 36 -
.../internal/stubbing/defaultanswers/Answers.java | 39 -
.../defaultanswers/ForwardsInvocations.java | 33 -
.../stubbing/defaultanswers/ReturnsDeepStubs.java | 69 -
.../defaultanswers/ReturnsEmptyValues.java | 123 --
.../stubbing/defaultanswers/ReturnsMocks.java | 37 -
.../defaultanswers/ReturnsMoreEmptyValues.java | 75 -
.../internal/util/ConsoleMockitoLogger.java | 15 -
.../internal/util/DefaultMockingDetails.java | 38 -
.../internal/util/MockCreationValidator.java | 55 -
org/mockito/internal/util/MockUtil.java | 79 -
org/mockito/internal/util/MockitoSpy.java | 13 -
org/mockito/internal/util/ObjectMethodsGuru.java | 38 -
org/mockito/internal/util/Primitives.java | 87 -
.../collections/HashCodeAndEqualsMockWrapper.java | 68 -
.../util/collections/HashCodeAndEqualsSafeSet.java | 158 --
.../internal/util/collections/ListUtil.java | 26 -
.../util/reflection/BeanPropertySetter.java | 98 -
.../util/reflection/FieldInitializationReport.java | 58 -
.../internal/util/reflection/FieldInitializer.java | 273 ---
org/mockito/internal/util/reflection/Fields.java | 132 --
.../internal/util/reflection/GenericMaster.java | 33 -
.../internal/util/reflection/InstanceField.java | 128 --
org/mockito/internal/util/reflection/Whitebox.java | 55 -
.../verification/RegisteredInvocations.java | 55 -
.../verification/VerificationDataImpl.java | 44 -
.../verification/VerificationModeFactory.java | 39 -
.../verification/VerificationWithTimeoutImpl.java | 60 -
org/mockito/invocation/DescribedInvocation.java | 29 -
org/mockito/invocation/Invocation.java | 79 -
org/mockito/invocation/InvocationOnMock.java | 48 -
org/mockito/invocation/Location.java | 20 -
org/mockito/invocation/MockHandler.java | 33 -
org/mockito/invocation/StubInfo.java | 19 -
org/mockito/mock/MockCreationSettings.java | 55 -
org/mockito/plugins/MockMaker.java | 97 -
org/mockito/plugins/StackTraceCleanerProvider.java | 28 -
.../runners/ConsoleSpammingMockitoJUnitRunner.java | 132 --
org/mockito/runners/VerboseMockitoJUnitRunner.java | 84 -
org/mockito/stubbing/Answer.java | 39 -
org/mockito/verification/Timeout.java | 89 -
.../verification/VerificationWithTimeout.java | 120 -
osgi.gradle | 80 +
settings.gradle | 12 +
src/org/mockito/AdditionalAnswers.java | 198 ++
src/org/mockito/AdditionalMatchers.java | 992 +++++++++
src/org/mockito/Answers.java | 83 +
src/org/mockito/ArgumentCaptor.java | 172 ++
src/org/mockito/ArgumentMatcher.java | 92 +
src/org/mockito/BDDMockito.java | 416 ++++
{org => src/org}/mockito/Captor.java | 0
{org => src/org}/mockito/InOrder.java | 0
src/org/mockito/Incubating.java | 30 +
src/org/mockito/InjectMocks.java | 163 ++
src/org/mockito/Matchers.java | 880 ++++++++
src/org/mockito/Mock.java | 73 +
src/org/mockito/MockSettings.java | 269 +++
src/org/mockito/MockingDetails.java | 43 +
src/org/mockito/Mockito.java | 2297 ++++++++++++++++++++
{org => src/org}/mockito/MockitoAnnotations.java | 0
{org => src/org}/mockito/MockitoDebugger.java | 0
{org => src/org}/mockito/ReturnValues.java | 0
src/org/mockito/Spy.java | 109 +
.../mockito/configuration/AnnotationEngine.java | 0
.../configuration/DefaultMockitoConfiguration.java | 57 +
.../configuration/IMockitoConfiguration.java | 84 +
.../org}/mockito/configuration/package.html | 0
.../org}/mockito/exceptions/Discrepancy.java | 0
.../org}/mockito/exceptions/Pluralizer.java | 0
.../mockito/exceptions/PrintableInvocation.java | 0
src/org/mockito/exceptions/Reporter.java | 792 +++++++
.../exceptions/base/MockitoAssertionError.java | 29 +
.../mockito/exceptions/base/MockitoException.java | 48 +
.../exceptions/base/MockitoSerializationIssue.java | 49 +
.../org}/mockito/exceptions/base/package.html | 0
.../CannotStubVoidMethodWithReturnValue.java | 9 +
.../misusing/CannotVerifyStubOnlyMock.java | 15 +
.../misusing/FriendlyReminderException.java | 0
.../misusing/InvalidUseOfMatchersException.java | 0
.../misusing/MissingMethodInvocationException.java | 0
.../misusing/MockitoConfigurationException.java | 0
.../exceptions/misusing/NotAMockException.java | 0
.../misusing/NullInsteadOfMockException.java | 0
.../misusing/UnfinishedStubbingException.java | 0
.../misusing/UnfinishedVerificationException.java | 0
.../misusing/WrongTypeOfReturnValue.java | 0
.../org}/mockito/exceptions/misusing/package.html | 0
{org => src/org}/mockito/exceptions/package.html | 0
.../exceptions/stacktrace/StackTraceCleaner.java | 26 +
.../mockito/exceptions/stacktrace/package.html | 0
.../verification/ArgumentsAreDifferent.java | 0
.../verification/NeverWantedButInvoked.java | 0
.../verification/NoInteractionsWanted.java | 0
.../verification/SmartNullPointerException.java | 0
.../verification/TooLittleActualInvocations.java | 0
.../verification/TooManyActualInvocations.java | 0
.../verification/VerificationInOrderFailure.java | 0
.../verification/WantedButNotInvoked.java | 0
.../verification/junit/ArgumentsAreDifferent.java | 41 +
.../exceptions/verification/junit/JUnitTool.java | 0
.../exceptions/verification/junit/package.html | 0
.../mockito/exceptions/verification/package.html | 0
{org => src/org}/mockito/internal/InOrderImpl.java | 0
.../org}/mockito/internal/InternalMockHandler.java | 0
src/org/mockito/internal/MockitoCore.java | 189 ++
.../configuration/CaptorAnnotationProcessor.java | 0
.../internal/configuration/ClassPathLoader.java | 82 +
.../configuration/DefaultAnnotationEngine.java | 0
.../configuration/DefaultInjectionEngine.java | 0
.../configuration/FieldAnnotationProcessor.java | 0
.../configuration/GlobalConfiguration.java | 69 +
.../configuration/InjectingAnnotationEngine.java | 103 +
.../configuration/MockAnnotationProcessor.java | 35 +
.../MockitoAnnotationsMockAnnotationProcessor.java | 0
.../configuration/SpyAnnotationEngine.java | 129 ++
.../injection/ConstructorInjection.java | 0
.../configuration/injection/MockInjection.java | 97 +
.../injection/MockInjectionStrategy.java | 0
.../injection/PropertyAndSetterInjection.java | 151 ++
.../injection/SpyOnInjectedFieldsHandler.java | 0
.../injection/filter/FinalMockCandidateFilter.java | 0
.../injection/filter/MockCandidateFilter.java | 0
.../injection/filter/NameBasedCandidateFilter.java | 0
.../injection/filter/OngoingInjecter.java | 0
.../injection/filter/TypeBasedCandidateFilter.java | 0
.../injection/scanner/InjectMocksScanner.java | 0
.../injection/scanner/MockScanner.java | 89 +
.../mockito/internal/configuration/package.html | 0
.../configuration/plugins/DefaultPluginSwitch.java | 9 +
.../configuration/plugins/PluginFileReader.java | 28 +
.../configuration/plugins/PluginFinder.java | 41 +
.../configuration/plugins/PluginLoader.java | 70 +
.../configuration/plugins/PluginRegistry.java | 35 +
.../internal/configuration/plugins/Plugins.java | 29 +
.../internal/creation/DelegatingMethod.java | 70 +
.../internal/creation/MockSettingsImpl.java | 194 ++
.../cglib/AcrossJVMSerializationFeature.java | 426 ++++
.../internal/creation/cglib/CGLIBHacker.java | 42 +
.../internal/creation/cglib/CglibMockMaker.java | 51 +
.../internal/creation/cglib/ClassImposterizer.java | 160 ++
.../cglib/DelegatingMockitoMethodProxy.java | 21 +
.../creation/cglib/MethodInterceptorFilter.java | 83 +
.../creation/cglib/MockitoNamingPolicy.java | 17 +
.../cglib/SerializableMockitoMethodProxy.java | 44 +
.../internal/creation/cglib/SerializableNoOp.java | 20 +
.../mockito/internal/creation/cglib/package.html | 0
.../creation/instance/ConstructorInstantiator.java | 61 +
.../creation/instance/InstantationException.java | 10 +
.../internal/creation/instance/Instantiator.java | 13 +
.../creation/instance/InstantiatorProvider.java | 16 +
.../creation/instance/ObjenesisInstantiator.java | 16 +
.../org}/mockito/internal/creation/package.html | 0
.../creation/settings/CreationSettings.java | 117 +
.../internal/creation/util/MockitoMethodProxy.java | 10 +
.../creation/util/SearchingClassLoader.java | 76 +
.../mockito/internal/creation/util/package.html | 5 +
.../internal/debugging/FindingsListener.java | 0
.../org}/mockito/internal/debugging/Localized.java | 0
.../mockito/internal/debugging/LocationImpl.java | 0
.../internal/debugging/LoggingListener.java | 52 +
.../internal/debugging/MockitoDebuggerImpl.java | 58 +
.../debugging/VerboseMockInvocationLogger.java | 0
.../internal/debugging/WarningsCollector.java | 0
.../mockito/internal/debugging/WarningsFinder.java | 0
.../internal/debugging/WarningsPrinterImpl.java | 41 +
.../org}/mockito/internal/debugging/package.html | 0
.../ExceptionIncludingMockitoWarnings.java | 0
.../internal/exceptions/MockitoLimitations.java | 7 +
.../exceptions/VerificationAwareInvocation.java | 0
.../stacktrace/ConditionalStackTraceFilter.java | 26 +
.../stacktrace/DefaultStackTraceCleaner.java | 0
.../DefaultStackTraceCleanerProvider.java | 0
.../exceptions/stacktrace/StackTraceFilter.java | 57 +
.../internal/exceptions/stacktrace/package.html | 0
.../internal/exceptions/util/ScenarioPrinter.java | 0
.../handler/InvocationNotifierHandler.java | 84 +
.../internal/handler/MockHandlerFactory.java | 0
.../mockito/internal/handler/MockHandlerImpl.java | 130 ++
.../internal/handler/NullResultGuardian.java | 0
.../internal/invocation/AbstractAwareMethod.java | 10 +
.../internal/invocation/ArgumentsComparator.java | 71 +
.../internal/invocation/ArgumentsProcessor.java | 0
.../invocation/CapturesArgumensFromInvocation.java | 0
.../internal/invocation/InvocationImpl.java | 134 ++
.../internal/invocation/InvocationMarker.java | 0
.../internal/invocation/InvocationMatcher.java | 164 ++
.../internal/invocation/InvocationsFinder.java | 186 ++
.../internal/invocation/MatchersBinder.java | 0
.../mockito/internal/invocation/MockitoMethod.java | 22 +
.../internal/invocation/SerializableMethod.java | 109 +
.../mockito/internal/invocation/StubInfoImpl.java | 24 +
.../internal/invocation/UnusedStubsFinder.java | 0
.../invocation/finder/AllInvocationsFinder.java | 38 +
.../finder/VerifiableInvocationsFinder.java | 29 +
.../org}/mockito/internal/invocation/package.html | 0
.../realmethod/CleanTraceRealMethod.java | 36 +
.../invocation/realmethod/DefaultRealMethod.java | 23 +
.../internal/invocation/realmethod/RealMethod.java | 11 +
.../internal/invocation/realmethod/package.html | 0
.../internal/junit/FriendlyExceptionMaker.java | 32 +
src/org/mockito/internal/junit/JUnitDetecter.java | 19 +
src/org/mockito/internal/junit/JUnitRule.java | 21 +
src/org/mockito/internal/junit/JUnitTool.java | 18 +
.../internal/listeners/CollectCreatedMocks.java | 21 +
.../listeners/MockingProgressListener.java | 0
.../internal/listeners/MockingStartedListener.java | 0
.../listeners/NotifiedMethodInvocationReport.java | 86 +
.../org}/mockito/internal/matchers/And.java | 0
.../org}/mockito/internal/matchers/Any.java | 0
.../org}/mockito/internal/matchers/AnyVararg.java | 0
.../mockito/internal/matchers/ArrayEquals.java | 0
.../internal/matchers/CapturesArguments.java | 0
.../internal/matchers/CapturingMatcher.java | 51 +
.../mockito/internal/matchers/CompareEqual.java | 0
.../org}/mockito/internal/matchers/CompareTo.java | 0
.../org}/mockito/internal/matchers/Contains.java | 0
.../matchers/ContainsExtraTypeInformation.java | 0
.../org}/mockito/internal/matchers/EndsWith.java | 0
src/org/mockito/internal/matchers/Equality.java | 43 +
src/org/mockito/internal/matchers/Equals.java | 73 +
.../mockito/internal/matchers/EqualsWithDelta.java | 44 +
.../org}/mockito/internal/matchers/Find.java | 0
.../mockito/internal/matchers/GreaterOrEqual.java | 0
.../mockito/internal/matchers/GreaterThan.java | 0
.../org}/mockito/internal/matchers/InstanceOf.java | 0
.../mockito/internal/matchers/LessOrEqual.java | 0
.../org}/mockito/internal/matchers/LessThan.java | 0
.../internal/matchers/LocalizedMatcher.java | 71 +
.../internal/matchers/MatcherDecorator.java | 0
.../mockito/internal/matchers/MatchersPrinter.java | 0
.../org}/mockito/internal/matchers/Matches.java | 0
.../org}/mockito/internal/matchers/Not.java | 0
.../org}/mockito/internal/matchers/NotNull.java | 0
.../org}/mockito/internal/matchers/Null.java | 0
{org => src/org}/mockito/internal/matchers/Or.java | 0
.../org}/mockito/internal/matchers/Same.java | 0
.../org}/mockito/internal/matchers/StartsWith.java | 0
.../internal/matchers/VarargCapturingMatcher.java | 59 +
.../mockito/internal/matchers/VarargMatcher.java | 0
.../matchers/apachecommons/EqualsBuilder.java | 794 +++++++
.../matchers/apachecommons/ReflectionEquals.java | 0
.../apachecommons/commons-lang-license.txt | 0
.../internal/matchers/apachecommons/package.html | 0
.../org}/mockito/internal/matchers/package.html | 0
{org => src/org}/mockito/internal/package.html | 0
.../internal/progress/ArgumentMatcherStorage.java | 0
.../progress/ArgumentMatcherStorageImpl.java | 125 ++
.../internal/progress/HandyReturnValues.java | 58 +
.../internal/progress/IOngoingStubbing.java | 0
.../mockito/internal/progress/MockingProgress.java | 0
.../internal/progress/MockingProgressImpl.java | 122 ++
.../mockito/internal/progress/SequenceNumber.java | 0
.../progress/ThreadSafeMockingProgress.java | 78 +
.../org}/mockito/internal/progress/package.html | 0
.../mockito/internal/reporting/Discrepancy.java | 0
.../mockito/internal/reporting/Pluralizer.java | 0
.../mockito/internal/reporting/PrintSettings.java | 0
.../mockito/internal/reporting/SmartPrinter.java | 0
.../org}/mockito/internal/reporting/package.html | 0
.../internal/runners/JUnit44RunnerImpl.java | 0
.../runners/JUnit45AndHigherRunnerImpl.java | 47 +
.../mockito/internal/runners/RunnerFactory.java | 0
.../org}/mockito/internal/runners/RunnerImpl.java | 0
.../org}/mockito/internal/runners/package.html | 0
.../runners/util/FrameworkUsageValidator.java | 0
.../internal/runners/util/RunnerProvider.java | 0
.../internal/runners/util/TestMethodsFinder.java | 0
.../mockito/internal/runners/util/package.html | 0
.../mockito/internal/stubbing/BaseStubbing.java | 82 +
.../internal/stubbing/ConsecutiveStubbing.java | 0
.../internal/stubbing/InvocationContainer.java | 0
.../internal/stubbing/InvocationContainerImpl.java | 141 ++
.../internal/stubbing/OngoingStubbingImpl.java | 0
.../stubbing/StubbedInvocationMatcher.java | 0
.../mockito/internal/stubbing/StubberImpl.java | 0
.../internal/stubbing/VoidMethodStubbableImpl.java | 39 +
.../answers/AnswerReturnValuesAdapter.java | 0
.../stubbing/answers/AnswersValidator.java | 91 +
.../stubbing/answers/CallsRealMethods.java | 43 +
.../internal/stubbing/answers/ClonesArguments.java | 0
.../internal/stubbing/answers/DoesNothing.java | 0
.../internal/stubbing/answers/MethodInfo.java | 72 +
.../mockito/internal/stubbing/answers/Returns.java | 0
.../stubbing/answers/ReturnsArgumentAt.java | 0
.../stubbing/answers/ReturnsElementsOf.java | 51 +
.../internal/stubbing/answers/ThrowsException.java | 0
.../stubbing/answers/ThrowsExceptionClass.java | 35 +
.../mockito/internal/stubbing/answers/package.html | 0
.../internal/stubbing/defaultanswers/Answers.java | 39 +
.../defaultanswers/ForwardsInvocations.java | 68 +
.../defaultanswers/GloballyConfiguredAnswer.java | 0
.../stubbing/defaultanswers/ReturnsDeepStubs.java | 167 ++
.../defaultanswers/ReturnsEmptyValues.java | 123 ++
.../stubbing/defaultanswers/ReturnsMocks.java | 36 +
.../defaultanswers/ReturnsMoreEmptyValues.java | 75 +
.../stubbing/defaultanswers/ReturnsSmartNulls.java | 0
.../internal/stubbing/defaultanswers/package.html | 0
.../org}/mockito/internal/stubbing/package.html | 0
{org => src/org}/mockito/internal/util/Checks.java | 0
.../internal/util/ConsoleMockitoLogger.java | 15 +
.../org}/mockito/internal/util/Decamelizer.java | 0
.../internal/util/DefaultMockingDetails.java | 45 +
.../internal/util/MockCreationValidator.java | 73 +
.../org}/mockito/internal/util/MockNameImpl.java | 0
src/org/mockito/internal/util/MockUtil.java | 92 +
.../org}/mockito/internal/util/MockitoLogger.java | 0
.../mockito/internal/util/ObjectMethodsGuru.java | 44 +
src/org/mockito/internal/util/Primitives.java | 87 +
.../mockito/internal/util/RemoveFirstLine.java | 0
.../mockito/internal/util/SimpleMockitoLogger.java | 0
.../org}/mockito/internal/util/StringJoiner.java | 0
src/org/mockito/internal/util/Timer.java | 26 +
.../internal/util/collections/ArrayUtils.java | 0
.../collections/HashCodeAndEqualsMockWrapper.java | 68 +
.../util/collections/HashCodeAndEqualsSafeSet.java | 158 ++
.../internal/util/collections/IdentitySet.java | 0
.../internal/util/collections/Iterables.java | 22 +
.../internal/util/collections/ListUtil.java | 26 +
.../mockito/internal/util/collections/Sets.java | 0
src/org/mockito/internal/util/io/IOUtil.java | 71 +
.../internal/util/junit/JUnitFailureHacker.java | 0
.../org}/mockito/internal/util/package.html | 0
.../util/reflection/AccessibilityChanger.java | 0
.../util/reflection/BeanPropertySetter.java | 98 +
.../internal/util/reflection/Constructors.java | 20 +
.../internal/util/reflection/FieldCopier.java | 0
.../util/reflection/FieldInitializationReport.java | 58 +
.../internal/util/reflection/FieldInitializer.java | 291 +++
.../internal/util/reflection/FieldReader.java | 0
.../internal/util/reflection/FieldSetter.java | 0
.../mockito/internal/util/reflection/Fields.java | 130 ++
.../internal/util/reflection/GenericMaster.java | 34 +
.../util/reflection/GenericMetadataSupport.java | 627 ++++++
.../internal/util/reflection/InstanceField.java | 124 ++
.../internal/util/reflection/LenientCopyTool.java | 0
.../mockito/internal/util/reflection/Whitebox.java | 55 +
.../mockito/internal/util/reflection/package.html | 0
.../mockito/internal/verification/AtLeast.java | 0
.../org}/mockito/internal/verification/AtMost.java | 0
.../org}/mockito/internal/verification/Calls.java | 0
.../verification/DefaultRegisteredInvocations.java | 59 +
.../internal/verification/InOrderContextImpl.java | 0
.../internal/verification/InOrderWrapper.java | 0
.../verification/MockAwareVerificationMode.java | 0
.../internal/verification/NoMoreInteractions.java | 0
.../org}/mockito/internal/verification/Only.java | 0
.../verification/RegisteredInvocations.java | 26 +
.../verification/SingleRegisteredInvocation.java | 33 +
.../org}/mockito/internal/verification/Times.java | 0
.../verification/VerificationDataImpl.java | 44 +
.../verification/VerificationModeFactory.java | 39 +
.../verification/VerificationOverTimeImpl.java | 139 ++
.../internal/verification/api/InOrderContext.java | 0
.../verification/api/VerificationData.java | 0
.../verification/api/VerificationDataInOrder.java | 0
.../api/VerificationDataInOrderImpl.java | 0
.../verification/api/VerificationInOrderMode.java | 0
.../mockito/internal/verification/api/package.html | 0
.../argumentmatching/ArgumentMatchingTool.java | 0
.../verification/argumentmatching/package.html | 0
.../verification/checkers/AtLeastDiscrepancy.java | 0
.../AtLeastXNumberOfInvocationsChecker.java | 0
.../AtLeastXNumberOfInvocationsInOrderChecker.java | 0
.../checkers/MissingInvocationChecker.java | 0
.../checkers/MissingInvocationInOrderChecker.java | 0
...NonGreedyNumberOfInvocationsInOrderChecker.java | 0
.../checkers/NumberOfInvocationsChecker.java | 0
.../NumberOfInvocationsInOrderChecker.java | 0
.../internal/verification/checkers/package.html | 0
.../mockito/internal/verification/package.html | 0
.../mockito/invocation/DescribedInvocation.java | 27 +
src/org/mockito/invocation/Invocation.java | 76 +
src/org/mockito/invocation/InvocationOnMock.java | 57 +
src/org/mockito/invocation/Location.java | 17 +
src/org/mockito/invocation/MockHandler.java | 29 +
src/org/mockito/invocation/StubInfo.java | 16 +
{org => src/org}/mockito/invocation/package.html | 0
src/org/mockito/junit/MockitoJUnit.java | 19 +
src/org/mockito/junit/MockitoJUnitRule.java | 42 +
src/org/mockito/junit/MockitoRule.java | 37 +
.../org}/mockito/listeners/InvocationListener.java | 0
.../mockito/listeners/MethodInvocationReport.java | 0
{org => src/org}/mockito/listeners/package.html | 0
src/org/mockito/mock/MockCreationSettings.java | 83 +
{org => src/org}/mockito/mock/MockName.java | 0
src/org/mockito/mock/SerializableMode.java | 26 +
{org => src/org}/mockito/package.html | 0
src/org/mockito/plugins/MockMaker.java | 95 +
src/org/mockito/plugins/PluginSwitch.java | 24 +
.../mockito/plugins/StackTraceCleanerProvider.java | 24 +
src/org/mockito/plugins/package.html | 10 +
.../runners/ConsoleSpammingMockitoJUnitRunner.java | 132 ++
.../org}/mockito/runners/MockitoJUnit44Runner.java | 0
.../org}/mockito/runners/MockitoJUnitRunner.java | 0
.../mockito/runners/VerboseMockitoJUnitRunner.java | 84 +
{org => src/org}/mockito/runners/package.html | 0
src/org/mockito/stubbing/Answer.java | 39 +
.../stubbing/DeprecatedOngoingStubbing.java | 0
.../org}/mockito/stubbing/OngoingStubbing.java | 0
{org => src/org}/mockito/stubbing/Stubber.java | 0
.../org}/mockito/stubbing/VoidMethodStubbable.java | 0
.../stubbing/answers/ReturnsElementsOf.java | 0
{org => src/org}/mockito/stubbing/package.html | 0
src/org/mockito/verification/After.java | 32 +
src/org/mockito/verification/Timeout.java | 57 +
.../verification/VerificationAfterDelay.java | 64 +
.../mockito/verification/VerificationMode.java | 0
.../verification/VerificationWithTimeout.java | 122 ++
.../mockito/verification/VerificationWrapper.java | 44 +
subprojects/extTest/extTest.gradle | 10 +
.../stacktrace/MyStackTraceCleanerProvider.java | 23 +
.../stacktrace/PluginStackTraceFilteringTest.java | 65 +
.../mockitousage/plugins/switcher/MyMockMaker.java | 25 +
.../plugins/switcher/MyPluginSwitch.java | 16 +
.../plugins/switcher/PluginSwitchTest.java | 43 +
.../org.mockito.plugins.MockMaker | 1 +
.../org.mockito.plugins.PluginSwitch | 1 +
.../org.mockito.plugins.StackTraceCleanerProvider | 1 +
.../mockito/testng/MockitoAfterTestNGMethod.java | 64 +
.../mockito/testng/MockitoBeforeTestNGMethod.java | 61 +
.../org/mockito/testng/MockitoTestNGListener.java | 95 +
...ldBeInitializedByMockitoTestNGListenerTest.java | 32 +
.../CaptorAnnotatedFieldShouldBeClearedTest.java | 39 +
.../testng/ConfigurationMethodTest.java | 29 +
.../testng/DontResetMocksIfNoListenerTest.java | 34 +
...sAreInitializedBeforeBeforeClassMethodTest.java | 26 +
...itializeChildTestWhenParentHasListenerTest.java | 20 +
...kFieldsShouldBeResetBetweenTestMethodsTest.java | 59 +
.../java/org/mockitousage/testng/ParentTest.java | 15 +
.../testng/ResetMocksInParentTestClassTooTest.java | 18 +
.../java/org/mockitousage/testng/SomeType.java | 9 +
...enerShouldNotInitializeAnnotatedFieldsTest.java | 30 +
...ngOnPurposeBecauseIncorrectAnnotationUsage.java | 21 +
...ingOnPurposeBecauseIncorrectStubbingSyntax.java | 30 +
...seWrongStubbingSyntaxInConfigurationMethod.java | 34 +
...stNGShouldFailWhenMockitoListenerFailsTest.java | 66 +
.../testng/utils/FailureRecordingListener.java | 47 +
.../testng/src/test/resources/mockito-testng.xml | 18 +
subprojects/testng/testng.gradle | 57 +
...readVerifiesContinuoslyInteractingMockTest.java | 52 +
.../ThreadsRunAllTestsHalfManualTest.java | 175 ++
.../concurrentmockito/ThreadsShareAMockTest.java | 42 +
.../ThreadsShareGenerouslyStubbedMockTest.java | 61 +
.../ThreadsStubSharedMockTest.java | 53 +
...VerificationInOrderFromMultipleThreadsTest.java | 44 +
test/org/mockito/ArgumentCaptorTest.java | 42 +
test/org/mockito/MockingDetailsTest.java | 49 +
test/org/mockito/MockitoTest.java | 70 +
test/org/mockito/StateMaster.java | 22 +
.../configuration/MockitoConfiguration.java | 77 +
test/org/mockito/exceptions/ReporterTest.java | 26 +
.../exceptions/base/MockitoAssertionErrorTest.java | 26 +
.../exceptions/base/MockitoExceptionTest.java | 26 +
.../mockito/exceptions/base/StackTraceBuilder.java | 33 +
test/org/mockito/exceptions/base/TraceBuilder.java | 51 +
.../mockito/internal/AllInvocationsFinderTest.java | 59 +
test/org/mockito/internal/InOrderImplTest.java | 36 +
.../internal/InvalidStateDetectionTest.java | 279 +++
.../configuration/ClassPathLoaderTest.java | 24 +
.../configuration/ConfigurationAccess.java | 14 +
.../internal/configuration/MockInjectionTest.java | 104 +
.../injection/ConstructorInjectionTest.java | 62 +
.../injection/FieldTypeAndNameComparatorTest.java | 79 +
.../injection/SimpleArgumentResolverTest.java | 64 +
.../plugins/PluginFileReaderTest.java | 53 +
.../configuration/plugins/PluginFinderTest.java | 110 +
.../internal/creation/DelegatingMethodTest.java | 54 +
.../internal/creation/MockSettingsImplTest.java | 155 ++
.../internal/creation/cglib/CGLIBHackerTest.java | 44 +
.../creation/cglib/ClassImposterizerTest.java | 96 +
.../cglib/MethodInterceptorFilterTest.java | 109 +
.../cglib/SerializableMockitoMethodProxyTest.java | 51 +
.../instance/ConstructorInstantiatorTest.java | 33 +
.../internal/debugging/LoggingListenerTest.java | 67 +
.../debugging/VerboseMockInvocationLoggerTest.java | 107 +
.../internal/debugging/WarningsFinderTest.java | 65 +
.../debugging/WarningsPrinterImplTest.java | 62 +
.../ConditionalStackTraceFilterTest.java | 45 +
.../stacktrace/StackTraceFilterTest.java | 124 ++
.../exceptions/util/ScenarioPrinterTest.java | 46 +
.../handler/InvocationNotifierHandlerTest.java | 139 ++
.../internal/handler/MockHandlerFactoryTest.java | 58 +
.../internal/handler/MockHandlerImplTest.java | 107 +
.../invocation/ArgumentsComparatorTest.java | 214 ++
.../internal/invocation/InvocationBuilder.java | 117 +
.../internal/invocation/InvocationImplTest.java | 164 ++
.../internal/invocation/InvocationMarkerTest.java | 67 +
.../internal/invocation/InvocationMatcherTest.java | 180 ++
.../internal/invocation/InvocationsFinderTest.java | 184 ++
.../invocation/SerializableMethodTest.java | 75 +
test/org/mockito/internal/junit/JUnitRuleTest.java | 107 +
.../internal/matchers/CapturingMatcherTest.java | 53 +
.../internal/matchers/ComparableMatchersTest.java | 53 +
.../mockito/internal/matchers/EqualityTest.java | 37 +
test/org/mockito/internal/matchers/EqualsTest.java | 98 +
.../internal/matchers/LocalizedMatcherTest.java | 65 +
.../internal/matchers/MatchersPrinterTest.java | 54 +
.../internal/matchers/MatchersToStringTest.java | 123 ++
.../matchers/VarargCapturingMatcherTest.java | 62 +
.../matchers/apachecommons/EqualsBuilderTest.java | 994 +++++++++
.../org/mockito/internal/progress/AtLeastTest.java | 28 +
.../internal/progress/HandyReturnValuesTest.java | 68 +
.../internal/progress/MockingProgressImplTest.java | 76 +
.../progress/ThreadSafeMockingProgressTest.java | 44 +
test/org/mockito/internal/progress/TimesTest.java | 24 +
.../internal/progress/VerificationModeBuilder.java | 24 +
.../mockito/internal/reporting/PluralizerTest.java | 20 +
.../internal/runners/RunnerFactoryTest.java | 121 ++
.../internal/runners/util/RunnerProviderTest.java | 32 +
.../runners/util/TestMethodsFinderTest.java | 25 +
.../InvocationContainerImplStubbingTest.java | 125 ++
.../stubbing/InvocationContainerImplTest.java | 116 +
.../stubbing/answers/AnswersValidatorTest.java | 197 ++
.../internal/stubbing/answers/MethodInfoTest.java | 30 +
.../stubbing/answers/ReturnsArgumentAtTest.java | 63 +
.../defaultanswers/HasPrimitiveMethods.java | 17 +
.../defaultanswers/ReturnsEmptyValuesTest.java | 80 +
.../ReturnsGenericDeepStubsTest.java | 109 +
.../stubbing/defaultanswers/ReturnsMocksTest.java | 71 +
.../defaultanswers/ReturnsMoreEmptyValuesTest.java | 25 +
.../defaultanswers/ReturnsSmartNullsTest.java | 80 +
.../org/mockito/internal/util/DecamelizerTest.java | 23 +
.../internal/util/MockCreationValidatorTest.java | 74 +
.../mockito/internal/util/MockNameImplTest.java | 40 +
test/org/mockito/internal/util/MockUtilTest.java | 103 +
test/org/mockito/internal/util/ObjectBox.java | 19 +
.../internal/util/ObjectMethodsGuruTest.java | 60 +
.../internal/util/SimpleMockitoLoggerTest.java | 21 +
test/org/mockito/internal/util/TimerTest.java | 36 +
.../collections/HashCodeAndEqualsSafeSetTest.java | 124 ++
.../internal/util/collections/IdentitySetTest.java | 50 +
.../internal/util/collections/ListUtilTest.java | 39 +
test/org/mockito/internal/util/io/IOUtilTest.java | 33 +
.../util/junit/JUnitFailureHackerTest.java | 78 +
.../util/reflection/AccessibilityChangerTest.java | 34 +
.../util/reflection/BeanPropertySetterTest.java | 162 ++
.../util/reflection/DummyClassForTests.java | 9 +
.../util/reflection/DummyParentClassForTests.java | 11 +
.../util/reflection/FieldInitializerTest.java | 207 ++
.../internal/util/reflection/FieldReaderTest.java | 33 +
.../internal/util/reflection/FieldsTest.java | 79 +
.../util/reflection/GenericMasterTest.java | 59 +
.../reflection/GenericMetadataSupportTest.java | 217 ++
.../util/reflection/LenientCopyToolTest.java | 185 ++
.../ParameterizedConstructorInstantiatorTest.java | 151 ++
.../internal/util/reflection/WhiteboxTest.java | 33 +
.../DefaultRegisteredInvocationsTest.java | 34 +
.../verification/DummyVerificationMode.java | 13 +
.../verification/NoMoreInteractionsTest.java | 119 +
.../mockito/internal/verification/OnlyTest.java | 69 +
.../internal/verification/SmartPrinterTest.java | 69 +
.../verification/VerificationDataImplTest.java | 23 +
.../verification/VerificationOverTimeImplTest.java | 64 +
.../argumentmatching/ArgumentMatchingToolTest.java | 105 +
.../AtLeastXNumberOfInvocationsCheckerTest.java | 33 +
.../checkers/InvocationsFinderStub.java | 57 +
.../checkers/MissingInvocationCheckerTest.java | 107 +
.../MissingInvocationInOrderCheckerTest.java | 105 +
.../checkers/NumberOfInvocationsCheckerTest.java | 144 ++
.../NumberOfInvocationsInOrderCheckerTest.java | 96 +
.../ConsoleSpammingMockitoJUnitRunnerTest.java | 74 +
.../runners/RunnersValidateFrameworkUsageTest.java | 75 +
test/org/mockito/verification/TimeoutTest.java | 105 +
test/org/mockitousage/IMethods.java | 222 ++
test/org/mockitousage/MethodsImpl.java | 421 ++++
test/org/mockitousage/PlaygroundTest.java | 107 +
...undWithDemoOfUnclonedParametersProblemTest.java | 183 ++
.../mockitousage/annotation/AnnotationsTest.java | 118 +
.../annotation/CaptorAnnotationBasicTest.java | 104 +
.../annotation/CaptorAnnotationTest.java | 149 ++
.../CaptorAnnotationUnhappyPathTest.java | 40 +
.../DeprecatedAnnotationEngineApiTest.java | 70 +
.../annotation/DeprecatedMockAnnotationTest.java | 42 +
.../InjectionOfInlinedMockDeclarationTest.java | 67 +
.../MockInjectionUsingConstructorIssue421Test.java | 46 +
.../MockInjectionUsingConstructorTest.java | 124 ++
.../MockInjectionUsingSetterOrPropertyTest.java | 171 ++
.../SpyAnnotationInitializedInBaseClassTest.java | 58 +
.../mockitousage/annotation/SpyAnnotationTest.java | 188 ++
.../mockitousage/annotation/SpyInjectionTest.java | 32 +
.../annotation/WrongSetOfAnnotationsTest.java | 65 +
test/org/mockitousage/basicapi/MockAccessTest.java | 34 +
.../mockitousage/basicapi/MockingDetailsTest.java | 52 +
.../basicapi/MockingMultipleInterfacesTest.java | 111 +
.../mockitousage/basicapi/MocksCreationTest.java | 103 +
.../MocksSerializationForAnnotationTest.java | 372 ++++
.../basicapi/MocksSerializationTest.java | 416 ++++
.../basicapi/ObjectsSerializationTest.java | 45 +
.../basicapi/ReplacingObjectMethodsTest.java | 67 +
test/org/mockitousage/basicapi/ResetTest.java | 114 +
.../mockitousage/basicapi/UsingVarargsTest.java | 176 ++
.../bugs/AIOOBExceptionWithAtLeastTest.java | 35 +
.../ActualInvocationHasNullArgumentNPEBugTest.java | 37 +
.../bugs/AtLeastMarksAllInvocationsVerified.java | 31 +
.../bugs/BridgeMethodsHitAgainTest.java | 47 +
.../bugs/CaptorAnnotationAutoboxingTest.java | 43 +
.../ChildWithSameParentFieldInjectionTest.java | 54 +
...onExceptionOnMultiThreadedVerificationTest.java | 90 +
.../mockitousage/bugs/CovariantOverrideTest.java | 53 +
...ubsWronglyReportsSerializationProblemsTest.java | 32 +
.../org/mockitousage/bugs/EqualsWithDeltaTest.java | 40 +
...alHashCodeAndEqualsRaiseNPEInInitMocksTest.java | 33 +
...ShouldNotBeThrownWhenNotCodingFluentlyTest.java | 38 +
.../bugs/InheritedGenericsPolimorphicCallTest.java | 75 +
...yPropertySettersFirstBeforeFieldAccessTest.java | 48 +
...houldFirstLookForExactTypeThenAncestorTest.java | 72 +
...onMightNotHappenInCertainConfigurationTest.java | 35 +
.../bugs/ListenersLostOnResetMockTest.java | 29 +
.../MockitoRunnerBreaksWhenNoTestMethodsTest.java | 36 +
.../mockitousage/bugs/MultipleInOrdersTest.java | 37 +
.../bugs/MultithreadedStubbingHalfManualTest.java | 97 +
.../bugs/NPEOnAnyClassMatcherAutounboxTest.java | 26 +
.../bugs/NPEWhenMockingThrowablesTest.java | 33 +
.../bugs/NPEWithCertainMatchersTest.java | 67 +
.../bugs/ParentClassNotPublicTest.java | 91 +
.../bugs/ParentTestMockInjectionTest.java | 71 +
.../bugs/ShouldAllowInlineMockCreationTest.java | 30 +
...ldMocksCompareToBeConsistentWithEqualsTest.java | 74 +
.../bugs/ShouldNotDeadlockAnswerExecutionTest.java | 117 +
...uldNotTryToInjectInFinalOrStaticFieldsTest.java | 47 +
.../ShouldOnlyModeAllowCapturingArgumentsTest.java | 33 +
.../bugs/SpyShouldHaveNiceNameTest.java | 35 +
...ingMocksThatAreConfiguredToReturnMocksTest.java | 28 +
...meoutWithAtMostOrNeverShouldBeDisabledTest.java | 37 +
.../VarargsErrorWhenCallingRealMethodTest.java | 28 +
...rifyingWithAnExtraCallToADifferentMockTest.java | 37 +
...epStubFailingWhenGenricNestedAsRawTypeTest.java | 28 +
...rgsAndAnyObjectPicksUpExtraInvocationsTest.java | 53 +
.../VarargsNotPlayingWithAnyObjectTest.java | 55 +
.../ClassCacheVersusClassReloadingTest.java | 108 +
.../configuration/ClassToBeMocked.java | 10 +
.../CustomizedAnnotationForSmartMockTest.java | 22 +
test/org/mockitousage/configuration/SmartMock.java | 15 +
.../CreatingMocksWithConstructorTest.java | 128 ++
.../mockitousage/customization/BDDMockitoTest.java | 245 +++
test/org/mockitousage/debugging/Foo.java | 10 +
.../debugging/InvocationListenerCallbackTest.java | 98 +
test/org/mockitousage/debugging/NewMockito.java | 17 +
.../PrintingInvocationsDetectsUnusedStubTest.java | 30 +
.../PrintingInvocationsWhenEverythingOkTest.java | 55 +
.../PrintingInvocationsWhenStubNotUsedTest.java | 55 +
.../VerboseLoggingOfInvocationsOnMockTest.java | 183 ++
test/org/mockitousage/examples/use/Article.java | 19 +
.../examples/use/ArticleCalculator.java | 13 +
.../mockitousage/examples/use/ArticleDatabase.java | 27 +
.../mockitousage/examples/use/ArticleManager.java | 37 +
.../org/mockitousage/examples/use/ExampleTest.java | 98 +
.../internal/debugging/LocationImplTest.java | 36 +
.../realmethod/CleanTraceRealMethodTest.java | 47 +
test/org/mockitousage/internal/package.html | 9 +
.../InvalidTargetMockitoJUnitRuleTest.java | 29 +
.../junitrule/MockitoJUnitRuleTest.java | 42 +
.../junitrule/RuleTestWithFactoryMethodTest.java | 44 +
.../RuleTestWithParameterConstructorTest.java | 42 +
test/org/mockitousage/junitrunner/Filters.java | 24 +
.../junitrunner/JUnit44RunnerTest.java | 55 +
.../junitrunner/JUnit45RunnerTest.java | 54 +
.../junitrunner/ModellingVerboseMockitoTest.java | 68 +
.../junitrunner/VerboseMockitoRunnerTest.java | 88 +
.../matchers/AnyXMatchersAcceptNullsTest.java | 63 +
.../matchers/CapturingArgumentsTest.java | 296 +++
.../matchers/CustomMatcherDoesYieldCCETest.java | 43 +
.../mockitousage/matchers/CustomMatchersTest.java | 161 ++
.../mockitousage/matchers/GenericMatchersTest.java | 36 +
.../matchers/HamcrestMatchersTest.java | 51 +
.../matchers/InvalidUseOfMatchersTest.java | 97 +
.../MatchersMixedWithRawArgumentsTest.java | 44 +
test/org/mockitousage/matchers/MatchersTest.java | 529 +++++
.../mockitousage/matchers/MoreMatchersTest.java | 89 +
.../org/mockitousage/matchers/NewMatchersTest.java | 69 +
.../matchers/ReflectionMatchersTest.java | 100 +
.../VerificationAndStubbingUsingMatchersTest.java | 80 +
.../misuse/CleaningUpPotentialStubbingTest.java | 53 +
.../misuse/DescriptiveMessagesOnMisuseTest.java | 99 +
.../misuse/DetectingFinalMethodsTest.java | 42 +
.../misuse/DetectingMisusedMatchersTest.java | 91 +
.../misuse/ExplicitFrameworkValidationTest.java | 50 +
test/org/mockitousage/misuse/InvalidUsageTest.java | 115 +
.../misuse/RestrictedObjectMethodsTest.java | 63 +
.../mockitousage/misuse/SpyStubbingMisuseTest.java | 54 +
test/org/mockitousage/package.html | 8 +
.../MockingPackageProtectedTest.java | 25 +
.../packageprotected/PackageProtected.java | 9 +
.../mockitousage/performance/LoadsOfMocksTest.java | 40 +
.../StubOnlyAvoidMemoryConsumptionTest.java | 32 +
.../puzzlers/BridgeMethodPuzzleTest.java | 67 +
.../puzzlers/OverloadingPuzzleTest.java | 43 +
.../AcrossClassLoaderSerializationTest.java | 99 +
.../serialization/DeepStubsSerializableTest.java | 87 +
.../serialization/DeserializeMockFromFile.java | 62 +
.../serialization/ParallelSerializationTest.java | 83 +
.../serialization/SerializeMockToFile.java | 76 +
.../spies/PartialMockingWithSpiesTest.java | 142 ++
.../mockitousage/spies/SpyingOnInterfacesTest.java | 50 +
.../spies/SpyingOnRealObjectsTest.java | 191 ++
.../spies/StubbingSpiesDoesNotYieldNPETest.java | 44 +
.../stacktrace/ClickableStackTracesTest.java | 39 +
...ickableStackTracesWhenFrameworkMisusedTest.java | 76 +
.../ModellingDescriptiveMessagesTest.java | 201 ++
...ackTraceToActualInvocationChunkInOrderTest.java | 105 +
...ingStackTraceToActualInvocationInOrderTest.java | 125 ++
.../PointingStackTraceToActualInvocationTest.java | 67 +
.../stacktrace/StackTraceFilteringTest.java | 137 ++
.../mockitousage/stubbing/BasicStubbingTest.java | 115 +
.../stubbing/CallingRealMethodTest.java | 75 +
.../stubbing/CloningParameterTest.java | 108 +
.../mockitousage/stubbing/DeepStubbingTest.java | 315 +++
.../stubbing/DeprecatedStubbingTest.java | 78 +
.../stubbing/ReturningDefaultValuesTest.java | 85 +
.../stubbing/SmartNullsStubbingTest.java | 134 ++
.../stubbing/StubbingConsecutiveAnswersTest.java | 221 ++
.../stubbing/StubbingUsingDoReturnTest.java | 248 +++
.../stubbing/StubbingWithAdditionalAnswers.java | 56 +
.../stubbing/StubbingWithCustomAnswerTest.java | 132 ++
.../stubbing/StubbingWithDelegateTest.java | 180 ++
.../stubbing/StubbingWithExtraAnswersTest.java | 60 +
.../stubbing/StubbingWithThrowablesTest.java | 237 ++
.../verification/AtLeastXVerificationTest.java | 56 +
.../verification/AtMostXVerificationTest.java | 114 +
.../verification/BasicVerificationInOrderTest.java | 271 +++
.../verification/BasicVerificationTest.java | 118 +
...iveMessagesOnVerificationInOrderErrorsTest.java | 199 ++
...iveMessagesWhenTimesXVerificationFailsTest.java | 58 +
...scriptiveMessagesWhenVerificationFailsTest.java | 431 ++++
.../ExactNumberOfTimesVerificationTest.java | 129 ++
.../FindingRedundantInvocationsInOrderTest.java | 119 +
.../NoMoreInteractionsVerificationTest.java | 132 ++
.../verification/OnlyVerificationTest.java | 85 +
...inaryVerificationPrintsAllInteractionsTest.java | 71 +
.../PrintingVerboseTypesWithArgumentsTest.java | 130 ++
.../RelaxedVerificationInOrderTest.java | 257 +++
.../SelectedMocksInOrderVerificationTest.java | 187 ++
.../verification/VerificationAfterDelayTest.java | 125 ++
.../VerificationExcludingStubsTest.java | 71 +
...onInOrderMixedWithOrdiraryVerificationTest.java | 163 ++
.../verification/VerificationInOrderTest.java | 101 +
.../VerificationInOrderWithCallsTest.java | 497 +++++
...rificationOnMultipleMocksUsingMatchersTest.java | 65 +
.../VerificationUsingMatchersTest.java | 87 +
.../verification/VerificationWithTimeoutTest.java | 203 ++
test/org/mockitoutil/Assertor.java | 10 +
test/org/mockitoutil/ClassLoaders.java | 136 ++
test/org/mockitoutil/ClassLoadersTest.java | 126 ++
test/org/mockitoutil/CustomAssertionsTest.java | 33 +
test/org/mockitoutil/ExtraMatchers.java | 150 ++
test/org/mockitoutil/SimpleClassGenerator.java | 21 +
.../SimplePerRealmReloadingClassLoader.java | 118 +
test/org/mockitoutil/SimpleSerializationUtil.java | 37 +
test/org/mockitoutil/TestBase.java | 189 ++
version.properties | 2 +
961 files changed, 51691 insertions(+), 14643 deletions(-)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/mockito.git
More information about the pkg-java-commits
mailing list