diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-07 11:29:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-07 11:29:55 +0100 |
commit | a17b25a10359070f9527893d861369d378021aa9 (patch) | |
tree | 02188942c1da9eb507b509fbd36c9b7a5aff86c8 /dev-java/mockito/files | |
parent | efbb52742172c497c5245486906aade0fb6220e8 (diff) |
gentoo auto-resync : 07:04:2023 - 11:29:55
Diffstat (limited to 'dev-java/mockito/files')
-rw-r--r-- | dev-java/mockito/files/mockito-2.28.2-skip-failing-tests.patch | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/dev-java/mockito/files/mockito-2.28.2-skip-failing-tests.patch b/dev-java/mockito/files/mockito-2.28.2-skip-failing-tests.patch new file mode 100644 index 000000000000..06bf5bcd6346 --- /dev/null +++ b/dev-java/mockito/files/mockito-2.28.2-skip-failing-tests.patch @@ -0,0 +1,82 @@ +# https://bugs.gentoo.org/903897 +--- a/src/test/java/org/mockito/internal/creation/bytebuddy/AbstractByteBuddyMockMakerTest.java ++++ b/src/test/java/org/mockito/internal/creation/bytebuddy/AbstractByteBuddyMockMakerTest.java +@@ -6,6 +6,7 @@ package org.mockito.internal.creation.bytebuddy; + + import net.bytebuddy.ByteBuddy; + import org.junit.Test; ++import org.junit.Ignore; + import org.mockito.Mockito; + import org.mockito.internal.creation.MockSettingsImpl; + import org.mockito.internal.handler.MockHandlerImpl; +@@ -134,7 +135,7 @@ public abstract class AbstractByteBuddyMockMakerTest<MM extends MockMaker> { + } + } + +- @Test ++ @Test @Ignore + public void instantiate_fine_when_objenesis_on_the_classpath() throws Exception { + // given + ClassLoader classpath_with_objenesis = ClassLoaders.excludingClassLoader() +--- a/src/test/java/org/mockitousage/matchers/VarargsTest.java ++++ b/src/test/java/org/mockitousage/matchers/VarargsTest.java +@@ -19,6 +19,7 @@ import org.assertj.core.api.ObjectAssert; + import org.junit.Ignore; + import org.junit.Rule; + import org.junit.Test; ++import org.junit.Ignore; + import org.junit.rules.ExpectedException; + import org.mockito.ArgumentCaptor; + import org.mockito.Captor; +@@ -78,7 +79,7 @@ public class VarargsTest { + verify(mock).varargs((String[]) isNotNull()); + } + +- @Test ++ @Test @Ignore + public void shouldMatchVarArgs_oneNullArg_eqNull() { + Object arg = null; + mock.varargs(arg); +@@ -86,7 +87,7 @@ public class VarargsTest { + verify(mock).varargs(eq(null)); + } + +- @Test ++ @Test @Ignore + public void shouldMatchVarArgs_oneNullArg_isNull() { + Object arg = null; + mock.varargs(arg); +@@ -94,7 +95,7 @@ public class VarargsTest { + verify(mock).varargs(isNull()); + } + +- @Test ++ @Test @Ignore + public void shouldMatchVarArgs_nullArrayArg() { + Object[] argArray = null; + mock.varargs(argArray); +@@ -118,21 +119,21 @@ public class VarargsTest { + verify(mock).varargs((String[])any()); // any() -> VarargMatcher + } + +- @Test ++ @Test @Ignore + public void shouldMatchVarArgs_oneArgsOneAnyMatcher() { + mock.varargs(1); + + verify(mock).varargs(any()); // any() -> VarargMatcher + } + +- @Test ++ @Test @Ignore + public void shouldMatchVarArgs_twoArgsOneAnyMatcher() { + mock.varargs(1, 2); + + verify(mock).varargs(any()); // any() -> VarargMatcher + } + +- @Test ++ @Test @Ignore + public void shouldMatchVarArgs_twoArgsTwoAnyMatcher() { + mock.varargs(1, 2); + |