Use shipped GWT 2.8.0 (yay).

Also made main source target 1.8 (from 1.6) and nixed some GWT test
cruft.
This commit is contained in:
Michael Bayne
2016-11-20 11:33:50 -08:00
parent 8da02a18e8
commit 49720df4ea
2 changed files with 3 additions and 31 deletions
+3 -5
View File
@@ -46,10 +46,10 @@
</prerequisites> </prerequisites>
<properties> <properties>
<source.level>1.6</source.level> <source.level>1.8</source.level>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<gwt.version>2.8.0-beta1</gwt.version> <gwt.version>2.8.0</gwt.version>
<gwt.maven.version>2.7.0</gwt.maven.version> <gwt.maven.version>2.8.0</gwt.maven.version>
</properties> </properties>
<dependencies> <dependencies>
@@ -102,8 +102,6 @@
<configuration> <configuration>
<source>${source.level}</source> <source>${source.level}</source>
<target>${source.level}</target> <target>${source.level}</target>
<testSource>1.8</testSource>
<testTarget>1.8</testTarget>
<fork>true</fork> <fork>true</fork>
<showDeprecation>true</showDeprecation> <showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings> <showWarnings>true</showWarnings>
@@ -20,30 +20,4 @@ public class GwtTestMustache extends SharedTests
public String getModuleName () { public String getModuleName () {
return "com.samskivert.Mustache"; 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<String, Object> ctx = new HashMap<String, Object>();
// for (int ii = 0; ii < data.length; ii += 2) {
// ctx.put(data[ii].toString(), data[ii+1]);
// }
// return ctx;
// }
} }