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:
@@ -46,10 +46,10 @@
|
||||
</prerequisites>
|
||||
|
||||
<properties>
|
||||
<source.level>1.6</source.level>
|
||||
<source.level>1.8</source.level>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<gwt.version>2.8.0-beta1</gwt.version>
|
||||
<gwt.maven.version>2.7.0</gwt.maven.version>
|
||||
<gwt.version>2.8.0</gwt.version>
|
||||
<gwt.maven.version>2.8.0</gwt.maven.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
@@ -102,8 +102,6 @@
|
||||
<configuration>
|
||||
<source>${source.level}</source>
|
||||
<target>${source.level}</target>
|
||||
<testSource>1.8</testSource>
|
||||
<testTarget>1.8</testTarget>
|
||||
<fork>true</fork>
|
||||
<showDeprecation>true</showDeprecation>
|
||||
<showWarnings>true</showWarnings>
|
||||
|
||||
@@ -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<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;
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user