From 9d2e3cd3e58f57319e66f1a45d2abd38431b9a52 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Mon, 15 Dec 2014 17:47:48 +0100 Subject: [PATCH] Upgrading to gwt-2.7.0 - Making tests pass - Fixing a couple of issues failing with new RegExp. - Adding profiles to run tests in prod mode --- gwtquery-core/pom.xml | 88 +++++++++++-------- .../com/google/gwt/query/client/GQuery.java | 7 +- .../plugins/effects/TransitionsAnimation.java | 4 +- .../gwt/query/client/GQueryAjaxTestGwt.java | 7 +- .../gwt/query/client/GQueryCoreTestGwt.java | 18 ++-- .../gwt/query/client/GQueryCssTestGwt.java | 15 ++-- .../query/client/GQueryDeferredTestGwt.java | 73 ++++++++------- .../query/client/GQueryEffectsTestGwt.java | 10 ++- .../gwt/query/client/ajax/AjaxTestJre.java | 11 ++- .../gwt/query/client/ajax/AjaxTests.java | 56 ++++++------ pom.xml | 4 +- 11 files changed, 158 insertions(+), 135 deletions(-) diff --git a/gwtquery-core/pom.xml b/gwtquery-core/pom.xml index 67518e26..b8026dcf 100644 --- a/gwtquery-core/pom.xml +++ b/gwtquery-core/pom.xml @@ -6,6 +6,29 @@ 1.4.3-SNAPSHOT + + + + test-prod + + true + + + + test-browser + + true + + true + manual + + + + gwtquery jar Gwt Query Core API @@ -34,19 +57,6 @@ gwt-elemental ${gwtversion} - - javax.validation - validation-api - 1.0.0.GA - provided - - - javax.validation - validation-api - 1.0.0.GA - sources - provided - @@ -74,32 +84,37 @@ emma-maven-plugin 1.0-alpha-1 - + - org.apache.maven.plugins - maven-surefire-plugin - 2.18 - - - ${basedir}/src/main/java - ${basedir}/src/test/java - - - - false - + maven-surefire-plugin + 2.18 + + true + - - org.codehaus.mojo - gwt-maven-plugin - ${gwtmaven} - - ${gwtversion} - false - 300 - **/GQueryGwtSuiteTest.java - + org.codehaus.mojo + gwt-maven-plugin + ${gwtmaven} + + + gwt-tests + test + + test + + + true + true + ${gwtversion} + ${productionMode} + 300 + **/GQueryGwtSuiteTest.java + + ${mode} + + +