From 49720df4ead6445bd6c4c4497e872dc24dd7435f Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Sun, 20 Nov 2016 11:33:50 -0800 Subject: [PATCH] Use shipped GWT 2.8.0 (yay). Also made main source target 1.8 (from 1.6) and nixed some GWT test cruft. --- pom.xml | 8 +++--- .../samskivert/mustache/GwtTestMustache.java | 26 ------------------- 2 files changed, 3 insertions(+), 31 deletions(-) diff --git a/pom.xml b/pom.xml index 2ca9bb1..64474f9 100644 --- a/pom.xml +++ b/pom.xml @@ -46,10 +46,10 @@ - 1.6 + 1.8 UTF-8 - 2.8.0-beta1 - 2.7.0 + 2.8.0 + 2.8.0 @@ -102,8 +102,6 @@ ${source.level} ${source.level} - 1.8 - 1.8 true true true diff --git a/src/test/java/com/samskivert/mustache/GwtTestMustache.java b/src/test/java/com/samskivert/mustache/GwtTestMustache.java index a6a8e5d..3d913ac 100644 --- a/src/test/java/com/samskivert/mustache/GwtTestMustache.java +++ b/src/test/java/com/samskivert/mustache/GwtTestMustache.java @@ -20,30 +20,4 @@ public class GwtTestMustache extends SharedTests public String getModuleName () { return "com.samskivert.Mustache"; } - - // @Test public void testSimpleVariable () { - // test("bar", "{{foo}}", context("foo", "bar")); - // } - - // @Test public void testPrimitiveArrayVariable () { - // test("1234", "{{#foo}}{{this}}{{/foo}}", new Object() { - // int[] getFoo () { return new int[] { 1, 2, 3, 4 }; } - // }); - // } - - // protected void test (String expected, String template, Object ctx) { - // test(Mustache.compiler(), expected, template, ctx); - // } - - // protected void test (Mustache.Compiler compiler, String expected, String template, Object ctx) { - // assertEquals(expected, compiler.compile(template).execute(ctx)); - // } - - // protected Object context (Object... data) { - // Map ctx = new HashMap(); - // for (int ii = 0; ii < data.length; ii += 2) { - // ctx.put(data[ii].toString(), data[ii+1]); - // } - // return ctx; - // } }