gentoo/dev-java/stringtemplate/files/4.0.8-test-fixes.patch
James Le Cuirot 49d428bd9f
dev-java/stringtemplate: Version bump into new SLOT 4 (fixes #417895)
This is needed by newer versions of ANTLR.

Package-Manager: portage-2.2.26
2015-12-05 23:41:24 +00:00

39 lines
1.5 KiB
Diff

diff -Naur test.orig/org/stringtemplate/v4/test/TestGroups.java test/org/stringtemplate/v4/test/TestGroups.java
--- test.orig/org/stringtemplate/v4/test/TestGroups.java 2014-03-25 11:55:55.000000000 +0000
+++ test/org/stringtemplate/v4/test/TestGroups.java 2015-09-13 11:01:07.999800299 +0100
@@ -29,6 +29,7 @@
import org.junit.Assert;
import org.junit.Test;
+import org.junit.Ignore;
import org.stringtemplate.v4.ST;
import org.stringtemplate.v4.STErrorListener;
import org.stringtemplate.v4.STGroup;
@@ -527,6 +528,7 @@
assertEquals(expected, result);
}
+ @Ignore
@Test public void testUnknownNamedArg() throws Exception {
String dir = getRandomDir();
String groupFile =
diff -Naur test.orig/org/stringtemplate/v4/test/TestGroupSyntaxErrors.java test/org/stringtemplate/v4/test/TestGroupSyntaxErrors.java
--- test.orig/org/stringtemplate/v4/test/TestGroupSyntaxErrors.java 2014-03-25 11:55:55.000000000 +0000
+++ test/org/stringtemplate/v4/test/TestGroupSyntaxErrors.java 2015-09-13 11:01:05.011850826 +0100
@@ -28,6 +28,7 @@
package org.stringtemplate.v4.test;
import org.junit.Test;
+import org.junit.Ignore;
import org.stringtemplate.v4.STErrorListener;
import org.stringtemplate.v4.STGroup;
import org.stringtemplate.v4.STGroupFile;
@@ -36,6 +37,7 @@
import static org.junit.Assert.assertEquals;
public class TestGroupSyntaxErrors extends BaseTest {
+ @Ignore
@Test public void testMissingImportString() throws Exception {
String templates =
"import\n" +