From ab7cf13ba359cecf173d7c7f06868405d20b2bf2 Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Mon, 19 Nov 2012 07:12:36 +0100 Subject: [PATCH] Update versions of depdencies. * pom.xml: Increase some version numbers based on the output of , using mvn versions:display-dependency-updates. * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Use the annotation instead of getModuleName(). * src/test/java/org/glom/web/server/SelfHostConfiguredDocumentTest.java: Do not use deprecated assert() classes/methods. --- ChangeLog | 11 +++++++++++ pom.xml | 20 ++++++++++---------- .../java/org/glom/web/client/GwtTestOnlineGlom.java | 7 ++----- .../web/server/SelfHostConfiguredDocumentTest.java | 4 +--- 4 files changed, 24 insertions(+), 18 deletions(-) diff --git a/ChangeLog b/ChangeLog index 730357d..3ed747b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,16 @@ 2012-11-18 Murray Cumming + Update versions of depdencies. + + * pom.xml: Increase some version numbers based on the output of + , using mvn versions:display-dependency-updates. + * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: + Use the annotation instead of getModuleName(). + * src/test/java/org/glom/web/server/SelfHostConfiguredDocumentTest.java: + Do not use deprecated assert() classes/methods. + +2012-11-18 Murray Cumming + Document: Correct an import to use the correct Log API. * src/main/java/org/glom/web/server/libglom/Document.java: diff --git a/pom.xml b/pom.xml index e0837dd..a2af24b 100644 --- a/pom.xml +++ b/pom.xml @@ -59,7 +59,7 @@ commons-io commons-io - 2.3 + 2.4 jar compile @@ -86,29 +86,29 @@ org.apache.httpcomponents httpclient - 4.2.1 + 4.2.2 commons-codec commons-codec - 1.4 + 1.7 compile com.google.guava guava - 11.0.2 + 13.0.1 org.jooq jooq - 2.3.1 + 2.6.0 compile net.sf.jasperreports jasperreports - 4.5.1 + 4.8.0 compile @@ -133,20 +133,20 @@ org.slf4j slf4j-simple - 1.6.6 + 1.7.2 test junit junit - 4.10 + 4.11 test com.googlecode.gwt-test-utils gwt-test-utils - 0.39 + 0.42 test diff --git a/src/test/java/org/glom/web/client/GwtTestOnlineGlom.java b/src/test/java/org/glom/web/client/GwtTestOnlineGlom.java index 2edc4dc..714f571 100644 --- a/src/test/java/org/glom/web/client/GwtTestOnlineGlom.java +++ b/src/test/java/org/glom/web/client/GwtTestOnlineGlom.java @@ -6,8 +6,10 @@ import org.glom.web.client.ui.DocumentSelectionView; import org.junit.Before; import org.junit.Test; +import com.googlecode.gwt.test.GwtModule; import com.googlecode.gwt.test.GwtTestWithEasyMock; +@GwtModule("org.glom.web.OnlineGlom") public class GwtTestOnlineGlom extends GwtTestWithEasyMock { /** @@ -31,11 +33,6 @@ public class GwtTestOnlineGlom extends GwtTestWithEasyMock { */ } - @Override - public String getModuleName() { - return "org.glom.web.OnlineGlom"; - } - @Before public void beforeOnlineGlom() { app = new OnlineGlom(); diff --git a/src/test/java/org/glom/web/server/SelfHostConfiguredDocumentTest.java b/src/test/java/org/glom/web/server/SelfHostConfiguredDocumentTest.java index da47803..d5b137c 100644 --- a/src/test/java/org/glom/web/server/SelfHostConfiguredDocumentTest.java +++ b/src/test/java/org/glom/web/server/SelfHostConfiguredDocumentTest.java @@ -27,8 +27,6 @@ import java.sql.SQLException; import java.util.ArrayList; import java.util.List; -import junit.framework.Assert; - import org.apache.commons.lang3.StringUtils; import org.glom.web.server.libglom.Document; import org.glom.web.server.libglom.DocumentTest; @@ -84,7 +82,7 @@ public class SelfHostConfiguredDocumentTest { public void testGetListViewLayoutGroup(final String locale, final String field0Title, final String field1Title) { final LayoutGroup group = configuredDoc.getListViewLayoutGroup("albums", defaultLocale); - Assert.assertNotNull(group); + assertNotNull(group); List items = group.getItems(); assertNotNull(items); -- 2.1.4