You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
2.6 KiB
83 lines
2.6 KiB
# 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);
|
|
|