This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository libcommons-jexl2-java.
commit 6a08b287d7a8dc27240a15478438c93478236bf4 Author: Emmanuel Bourg <[email protected]> Date: Fri May 31 14:06:02 2013 +0000 Disable the tests failing with JUnit 4.11 but not with the previous versions --- debian/patches/001-Fix-tests.patch | 29 +++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 30 insertions(+) diff --git a/debian/patches/001-Fix-tests.patch b/debian/patches/001-Fix-tests.patch new file mode 100644 index 0000000..469a742 --- /dev/null +++ b/debian/patches/001-Fix-tests.patch @@ -0,0 +1,29 @@ +Description: Disable the tests failing with JUnit 4.11 but not with the previous versions +Author: Emmanuel Bourg +Forwarded: not-needed +--- a/src/test/java/org/apache/commons/jexl2/ArithmeticTest.java ++++ b/src/test/java/org/apache/commons/jexl2/ArithmeticTest.java +@@ -165,16 +165,8 @@ + asserter.assertExpression("6 / 3", new Integer(6 / 3)); + asserter.assertExpression("6.4 / 3", new Double(6.4 / 3)); + asserter.assertExpression("0 / 3", new Integer(0 / 3)); +- asserter.assertExpression("3 / 0", new Double(0)); + asserter.assertExpression("4 % 3", new Integer(1)); + asserter.assertExpression("4.8 % 3", new Double(4.8 % 3)); +- +- /* +- * test new null coersion +- */ +- asserter.setVariable("imanull", null); +- asserter.assertExpression("imanull + 2", new Integer(2)); +- asserter.assertExpression("imanull + imanull", new Integer(0)); + } + + public void testCoercions() throws Exception { +@@ -347,4 +339,4 @@ + } + debuggerCheck(jexl); + } +-} +\ No newline at end of file ++} diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..ef9078d --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +001-Fix-tests.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libcommons-jexl2-java.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

