summaryrefslogtreecommitdiff
path: root/dev-java/stringtemplate
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/stringtemplate')
-rw-r--r--dev-java/stringtemplate/Manifest1
-rw-r--r--dev-java/stringtemplate/files/3.2.1-test-fixes.patch53
2 files changed, 0 insertions, 54 deletions
diff --git a/dev-java/stringtemplate/Manifest b/dev-java/stringtemplate/Manifest
index 54cc940c0a2e..391778abf45d 100644
--- a/dev-java/stringtemplate/Manifest
+++ b/dev-java/stringtemplate/Manifest
@@ -1,4 +1,3 @@
-AUX 3.2.1-test-fixes.patch 1706 BLAKE2B e3bb6f698109d0290b67221807eb8648642e40aed936502ce4c86d57c2d44355bdaa70ce5147bb8f2a86fcb8123f5e5982e61acd2fb9fcd93f7f216916def4aa SHA512 c161e28851d40e6b9615f7880f746f0a2426a1f705609cfbb10f66c1c3fc3935bc5ee6f4f76991d57e6261bba05269e3ce1eb33fe72e50e7199dab629372cee7
AUX 4.0.8-r1-test-fixes.patch 3059 BLAKE2B 8b278f4d13067c5abc4994aca7cf7a011712d59fbe4595eb86a07a095680bba4a14fb5f1ae4ccee2705b21e0ad857562725c4e773a361eb4d392d64e8031dd09 SHA512 d1ed78332950c1ee81846f51086acec62e19c84293cf45d01a07379e4e96d0dfcfc3af933e78eb986d087a1083eeeead0d5bd80c2ed040861ca931df112d795d
AUX stringtemplate-4.0.8-fix-tests.patch 2956 BLAKE2B 698727b248f9ebbeda46f099c3880b104a6713c600d820f7576757ba69f72d207ff4ecb7271afd8113a4250d51dd63d16f908a3f2aeff76f6112637934dce411 SHA512 29d33536a6abbbb3b0c99263b15a3ba4cc90b5beb03965884598c5d946c41a4727d582b5143d3e7356c9f22fc148ad899efa3281927bf3aca0c4d9dc758d1a8e
DIST antlr-3.5.2-complete.jar 2456317 BLAKE2B d9afa08ad98dbff16d30425b97a0ddac7402055916e6a7dd290c3b9a2b26a4751c02f405d8d13c186333430c370c94bd73419b14c8e46df2971f68536cc484a0 SHA512 560f208e38759b5e626de56816e1fce9c191c526c04ca782513859d468ac444d1e8e62c03870a68f8f9d8daee0f45fca465150e2bbfc71b46e46b952519044b1
diff --git a/dev-java/stringtemplate/files/3.2.1-test-fixes.patch b/dev-java/stringtemplate/files/3.2.1-test-fixes.patch
deleted file mode 100644
index fd625abd0668..000000000000
--- a/dev-java/stringtemplate/files/3.2.1-test-fixes.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-https://github.com/antlr/stringtemplate3/pull/3
-
---- test/org/antlr/stringtemplate/test/TestStringTemplate.java.orig 2015-09-18 22:04:18.131902875 +0100
-+++ test/org/antlr/stringtemplate/test/TestStringTemplate.java 2015-09-18 22:04:21.651848456 +0100
-@@ -36,6 +36,10 @@
- import java.text.SimpleDateFormat;
- import java.util.*;
-
-+import org.junit.FixMethodOrder;
-+import org.junit.runners.MethodSorters;
-+
-+@FixMethodOrder(MethodSorters.NAME_ASCENDING)
- public class TestStringTemplate extends TestCase {
- static final String newline = System.getProperty("line.separator");
-
-@@ -87,7 +91,7 @@
- assertEquals(expecting,I.toString());
- }
-
-- public void testNoGroupLoader() throws Exception {
-+ public void testAaaNoGroupLoader() throws Exception {
- // this also tests the group loader
- StringTemplateErrorListener errors = new ErrorBuffer();
- String tmpdir = System.getProperty("java.io.tmpdir");
-@@ -2214,8 +2218,12 @@
- s.add("2");
- s.add("3");
- st.setAttribute("items", s);
-- expecting = "<li>3</li><li>2</li><li>1</li>";
-- assertEquals(expecting, st.toString());
-+ String[] split = st.toString().split("(</?li>){1,2}");
-+ Arrays.sort(split);
-+ assertEquals("", split[0]);
-+ assertEquals("1", split[1]);
-+ assertEquals("2", split[2]);
-+ assertEquals("3", split[3]);
- }
-
- public void testDumpMapAndSet() throws Exception {
-@@ -2235,8 +2243,11 @@
- s.add("2");
- s.add("3");
- st.setAttribute("items", s);
-- expecting = "3,2,1";
-- assertEquals(expecting, st.toString());
-+ String[] split = st.toString().split(",");
-+ Arrays.sort(split);
-+ assertEquals("1", split[0]);
-+ assertEquals("2", split[1]);
-+ assertEquals("3", split[2]);
- }
-
- public class Connector3 {