Re: Introducing mockito-inline library among test dependencies

2023-02-03 Thread Miklosovic, Stefan
: Thursday, January 12, 2023 14:59 To: dev@cassandra.apache.org Subject: Re: Introducing mockito-inline library among test dependencies NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe. Hi Jacek

Re: Introducing mockito-inline library among test dependencies

2023-01-12 Thread Miklosovic, Stefan
: dev@cassandra.apache.org Subject: Re: Introducing mockito-inline library among test dependencies NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe. Will it work with Java17? czw., 12 sty

Re: Introducing mockito-inline library among test dependencies

2023-01-12 Thread Jacek Lewandowski
Will it work with Java17? czw., 12 sty 2023, 12:56 użytkownik Brandon Williams napisał: > +1 > > Kind Regards, > Brandon > > On Wed, Jan 11, 2023 at 2:02 PM Miklosovic, Stefan > wrote: > > > > Hi list, > > > > the test for (1) is using mockito-inline dependency for mocking static > methods as m

Re: Introducing mockito-inline library among test dependencies

2023-01-12 Thread Brandon Williams
+1 Kind Regards, Brandon On Wed, Jan 11, 2023 at 2:02 PM Miklosovic, Stefan wrote: > > Hi list, > > the test for (1) is using mockito-inline dependency for mocking static > methods as mockito-core is not able to do that on its own. mockito-inline was > not part of our test dependencies prior t

Re: Introducing mockito-inline library among test dependencies

2023-01-12 Thread Andrés de la Peña
+1 for the same reasons. On Wed, 11 Jan 2023 at 20:14, David Capwell wrote: > +1. We already use mockito. Also that library is basically empty, its > just defining configs for extensions (see > https://github.com/mockito/mockito/tree/main/subprojects/inline/src/main/resources/mockito-extensions

Re: Introducing mockito-inline library among test dependencies

2023-01-11 Thread David Capwell
+1. We already use mockito. Also that library is basically empty, its just defining configs for extensions (see https://github.com/mockito/mockito/tree/main/subprojects/inline/src/main/resources/mockito-extensions

Introducing mockito-inline library among test dependencies

2023-01-11 Thread Miklosovic, Stefan
Hi list, the test for (1) is using mockito-inline dependency for mocking static methods as mockito-core is not able to do that on its own. mockito-inline was not part of our test dependencies prior this work. I want to ask if we are all OK with being able to mock static methods from now on with