diff options
Diffstat (limited to 'dev-java/mockito')
-rw-r--r-- | dev-java/mockito/Manifest | 3 | ||||
-rw-r--r-- | dev-java/mockito/files/mockito-2.28.2-fix-unused-stubbings-test.patch | 14 | ||||
-rw-r--r-- | dev-java/mockito/mockito-2.28.2.ebuild | 5 |
3 files changed, 20 insertions, 2 deletions
diff --git a/dev-java/mockito/Manifest b/dev-java/mockito/Manifest index da5881f30d16..ff44de2dcd74 100644 --- a/dev-java/mockito/Manifest +++ b/dev-java/mockito/Manifest @@ -1,8 +1,9 @@ +AUX mockito-2.28.2-fix-unused-stubbings-test.patch 1354 BLAKE2B 257240d42d22dbe9686d5bf219ecbdaf971789b8810b922d2fe96f49b17bd5aba2602e9b83f636014aa0bb9087aabe6798f27ee8d5561d0be7ff68eb8e0d492b SHA512 934e1026a76d66fe7cc9e9e0709cae40c454b9fc5d992ddd46e759a3b16b7e78af6dc1adf635e640d484bc8633fb1018b518e9139e42873a847201d7721cc185 AUX mockito-2.28.2-skip-failing-tests.patch 2622 BLAKE2B 70862d1fe8376ad2514fa53c15e1f6e83dde17d7ff1a8a09701897d89b27ca6a339c532b2615436da727b10c8ec69a0fadda5c841ebb64be12fbd8e8ded6b5ad SHA512 646649ec712b958f02c862ee8d2a52259e5458812f838d9d2622544154c35270a5f5a731c8193850fc804ede87fde1a7d54abef8d4136b5619ac01664f9539e8 DIST mockito-2.28.2.tar.gz 875085 BLAKE2B d0aab378c028530724156f999700506fe64f5bf19371dc9b957e34924d3d17b8191f093054c6dde4f5879d61ddf9614a60b1fd597aae09b92abf559c08fbcdf7 SHA512 9921fe9ffbdff4d7a9a8de56aa5078e68eb6bee38f379f58059dcc42da07a59b7e5953309d646e1fb760f7135f5076e201529370cc5df56d685f7acb08311ea5 DIST mockito-4.11.0.tar.gz 1050218 BLAKE2B 7f7298e233c9cdb0b475aa201300a1063fd8efc587f3a4de0cb1caedd6f6506a32f8e9b0548fa5898892515ec96625153a1a2ad65fc8070b7dc6c254206fbbfd SHA512 b1de01c8e9b2fc4eef0013af562efeac7e22babdebbd8c7842ecd55071627e11c5e6ab575436990ea70d4ceefb56fc260333278c8d4b833e454956bf89841fc5 DIST mockito-core-1.9.5-sources.jar 723074 BLAKE2B e553a923542a1a2574ee0cda5979d168cc3e9644dbbc9fceed2301ae1bac150c4e35dbc4432d50e2479efea2a6cd35ec19c62c3598f61709f1f5dc8959cc0155 SHA512 271e626c3b5be9a7d7c82a2f0bf44077aabd51924b0956a88633ace7fe8c134d8cd1f89ce348ce0d15ccce55a50027e303836d2d2f430500317b6136d308d3d4 EBUILD mockito-1.9.5-r4.ebuild 712 BLAKE2B bbb94a982384032ed4e2fd38cb32be5feb2b3a7aa35ed054c62d73d5b2dbf8853b594cebfadfa49d3134f89131a4cd875ea0ebbac051c23e00d39378fbe11498 SHA512 34bdf3f6c8182307a41b28371c0e8406aea00e3f47184fde5097076c008992e6cf52341413ccedc003c3685f88d7b52d5aaee161632cec7bb909c1958f3be6b4 -EBUILD mockito-2.28.2.ebuild 3313 BLAKE2B bf834db7ad8f156b722c1b09c8253380c2963f0f90c779e7e06a0a3e0feeed485769783d4cf6d1895a4e4dc364f25b0cd3071d19607c3c30cd5bc4edb1067abb SHA512 b312547ec63abffac426e33386d7910de772d3aba5e11217d6439e80a46e42f57d43dd6dfd47330749e0b5bcccd5173cd875d45b19ba0daf7a1d9f87f0271e74 +EBUILD mockito-2.28.2.ebuild 3376 BLAKE2B eacb33f6976ae1665d984de0a811470335c9e2490bbb78459ed309b4557236d8dfaa140827028fcf110e9ffa28166084e75b898d571b1bf27d88eaa3f4ac5a2e SHA512 77b40fa3984e0fff77846365c21eb8306d6d81a2e8fa1e19f275258e25be764381a2f13d1a4232e1d14c6d97db733db8bd5e927766bd9136f9bd0d115bcb0f17 EBUILD mockito-4.11.0.ebuild 1228 BLAKE2B 27c976b0ee2e782d471c91ef89708a62002c6e8a385ea67d865ff5430a34ec932146ee57493ce9684c7d566b1d9f1f54b709287bf0b2fb93b465b7596c641957 SHA512 189d3b3d14f847efce028a87c1706a26ded43f45e28299177bfb86f18d11398b2f03428ed48d9c4944cc277e199cb85424b0735a34fa78fbe82ab368bf7b119d MISC metadata.xml 317 BLAKE2B 209b27a429c1fdeca71c1e215f8fc43bfc66c961b1a3ad3dfcda16d5ea1df51e54cea248f4f152966aa1f91059b91c21fb734c6995f8033150dbda5e1813d121 SHA512 1f7be64d432b4004d2bbf1ec2c6776ec8618875356ea0308b8409f322d48bf3440d692732406ddb3fa7a273c9754c4cc5a6f6cd9808348d0ba8beb7159887a5b diff --git a/dev-java/mockito/files/mockito-2.28.2-fix-unused-stubbings-test.patch b/dev-java/mockito/files/mockito-2.28.2-fix-unused-stubbings-test.patch new file mode 100644 index 000000000000..7689b4e64f65 --- /dev/null +++ b/dev-java/mockito/files/mockito-2.28.2-fix-unused-stubbings-test.patch @@ -0,0 +1,14 @@ +--- a/src/test/java/org/mockito/internal/junit/UnusedStubbingsTest.java ++++ b/src/test/java/org/mockito/internal/junit/UnusedStubbingsTest.java +@@ -53,7 +53,10 @@ public class UnusedStubbingsTest extends TestBase { + "[MockitoHint] 2. Unused -> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n", + "[MockitoHint] MyTest.myTestMethod (see javadoc for MockitoHint):\n" + //Java 9 + "[MockitoHint] 1. Unused -> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n" + +- "[MockitoHint] 2. Unused -> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n" ++ "[MockitoHint] 2. Unused -> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n", ++ "[MockitoHint] MyTest.myTestMethod (see javadoc for MockitoHint):\n" + //Java 21 ++ "[MockitoHint] 1. Unused -> at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:0)\n" + ++ "[MockitoHint] 2. Unused -> at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:0)\n" + ); + } + } diff --git a/dev-java/mockito/mockito-2.28.2.ebuild b/dev-java/mockito/mockito-2.28.2.ebuild index e4b9495c0ec1..92706ad5b55e 100644 --- a/dev-java/mockito/mockito-2.28.2.ebuild +++ b/dev-java/mockito/mockito-2.28.2.ebuild @@ -38,7 +38,10 @@ RDEPEND=" " # see https://bugs.gentoo.org/903897 -PATCHES=( "${FILESDIR}/mockito-2.28.2-skip-failing-tests.patch" ) +PATCHES=( + "${FILESDIR}/mockito-2.28.2-skip-failing-tests.patch" + "${FILESDIR}/mockito-2.28.2-fix-unused-stubbings-test.patch" +) JAVA_AUTOMATIC_MODULE_NAME="org.mockito" JAVA_CLASSPATH_EXTRA="junit-4 opentest4j" |