You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2021/10/26 07:31:00 UTC

[jira] [Resolved] (ORC-1038) Bump mockito.version from 3.12.4 to 4.0.0

     [ https://issues.apache.org/jira/browse/ORC-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongjoon Hyun resolved ORC-1038.
--------------------------------
    Fix Version/s: 1.8.0
         Assignee: Dongjoon Hyun
       Resolution: Fixed

This is resolved via https://issues.apache.org/jira/browse/ORC-1038

> Bump mockito.version from 3.12.4 to 4.0.0
> -----------------------------------------
>
>                 Key: ORC-1038
>                 URL: https://issues.apache.org/jira/browse/ORC-1038
>             Project: ORC
>          Issue Type: Test
>          Components: Java
>    Affects Versions: 1.8.0
>            Reporter: Dongjoon Hyun
>            Assignee: Dongjoon Hyun
>            Priority: Major
>             Fix For: 1.8.0
>
>
> {code}
> v4.0.0
> Mockito 4: Removing deprecated APIs.
> All of these APIs have been marked as deprecated and have been present in Mockito for quite a while.
> An overview of now-deleted classes/methods:
> org.mockito.Matchers which was an alias for org.mockito.ArgumentMatchers
> org.mockito.ArgumentMatchers#{anyObject,anyVararg} both which were aliases for org.mockito.ArgumentMatchers#any
> org.mockito.ArgumentMatchers#any*Of, which were aliases for the same method name without the Of and the generic parameters (which were ignored)
> org.mockito.ArgumentMatchers#{is}{Not}Null(Class) which took a class which was ignored. Aliases for the same methods without the parameter
> org.mockito.MockedStatic#verify which had the parameter types reversed
> org.mockito.Mockito#verifyZeroInteractions an alias of verifyNoMoreInteractions
> org.mockito.Mockito#debug framework integration API that we later refactored
> org.mockito.configuration.AnnotationEngine which was leaking internal APIs and instead users should use org.mockito.plugins.AnnotationEngine
> org.mockito.exceptions.verification.TooLittleActualInvocations fixed the grammar from "Little" to "Few"
> Numerous internal APIs that we never officially supported and can now remove
> org.mockito.plugins.InstantiatorProvider which was leaking internal APIs and instead users should use InstantiatorProvider2 (we should probably rename back to remove the number in a future major release)
> org.mockito.runners a package that hosted several old JUnit runners which were no longer supported. Users should instead use org.mockito.junit.MockitoJUnitRunner which is our official JUnit4 runner.
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)