[gradle-1.12] 142/211: Removed a failing assertion in JUnitTestEventAdapter

Kai-Chung Yan seamlik-guest at moszumanska.debian.org
Wed Jul 1 14:18:35 UTC 2015


This is an automated email from the git hooks/post-receive script.

seamlik-guest pushed a commit to branch master
in repository gradle-1.12.

commit da8b3d477bfbcb36a5a413b0de5cb0b8a53d1702
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri Jun 5 14:40:15 2015 +0200

    Removed a failing assertion in JUnitTestEventAdapter
---
 debian/changelog                                       |  1 +
 debian/patches/39_ignore_test_processor_assertion.diff | 13 +++++++++++++
 debian/patches/series                                  |  1 +
 3 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 50d0934..e02b0d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ gradle (1.5-3) UNRELEASED; urgency=medium
   * Fixed a compatibility issue with testng 6.9
   * Use the JDK 7 API for the chmod/stat operations until jnr-posix
     is fixed in sid
+  * Removed a failing assertion in JUnitTestEventAdapter
 
  -- Emmanuel Bourg <ebourg at apache.org>  Thu, 04 Jun 2015 23:33:33 +0200
 
diff --git a/debian/patches/39_ignore_test_processor_assertion.diff b/debian/patches/39_ignore_test_processor_assertion.diff
new file mode 100644
index 0000000..2204c7e
--- /dev/null
+++ b/debian/patches/39_ignore_test_processor_assertion.diff
@@ -0,0 +1,13 @@
+Description: Remove a failing assertion in JUnitTestEventAdapter (classloader issue?)
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/subprojects/plugins/src/main/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestEventAdapter.java
++++ b/subprojects/plugins/src/main/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestEventAdapter.java
+@@ -42,7 +42,6 @@
+ 
+     public JUnitTestEventAdapter(TestResultProcessor resultProcessor, TimeProvider timeProvider,
+                                  IdGenerator<?> idGenerator) {
+-        assert resultProcessor instanceof ThreadSafe;
+         this.resultProcessor = resultProcessor;
+         this.timeProvider = timeProvider;
+         this.idGenerator = idGenerator;
diff --git a/debian/patches/series b/debian/patches/series
index f9d24ea..ec12cc1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -18,3 +18,4 @@
 36_java8_compatibility.diff
 37_replace_internal_testng_api.diff
 38_use_jdk7_nio_file_api.diff
+39_ignore_test_processor_assertion.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/gradle-1.12.git



More information about the pkg-java-commits mailing list