From b9bc5e038c02d95eae0be0a1c305a9c6238e1b72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Wed, 25 Jan 2012 09:36:46 +0100 Subject: [PATCH] Additional Maven projects for unit tests * Changed names of common packages so they are coherent with the rest * Added new project for tests on common classes (utilities and session) * Added new project for tests on the web clients --- legacyworlds-session/pom.xml | 2 +- legacyworlds-tests/pom.xml | 39 +++++++++++++++ legacyworlds-tests/src/main/java/.empty | 0 legacyworlds-tests/src/main/resources/.empty | 0 legacyworlds-tests/src/test/java/.empty | 0 legacyworlds-tests/src/test/resources/.empty | 0 legacyworlds-utils/pom.xml | 2 +- legacyworlds-web-tests/pom.xml | 49 +++++++++++++++++++ legacyworlds-web-tests/src/main/java/.empty | 0 .../src/main/resources/.empty | 0 legacyworlds-web-tests/src/test/java/.empty | 0 .../src/test/resources/.empty | 0 legacyworlds-web/pom.xml | 3 +- legacyworlds/pom.xml | 3 +- 14 files changed, 94 insertions(+), 4 deletions(-) create mode 100644 legacyworlds-tests/pom.xml create mode 100644 legacyworlds-tests/src/main/java/.empty create mode 100644 legacyworlds-tests/src/main/resources/.empty create mode 100644 legacyworlds-tests/src/test/java/.empty create mode 100644 legacyworlds-tests/src/test/resources/.empty create mode 100644 legacyworlds-web-tests/pom.xml create mode 100644 legacyworlds-web-tests/src/main/java/.empty create mode 100644 legacyworlds-web-tests/src/main/resources/.empty create mode 100644 legacyworlds-web-tests/src/test/java/.empty create mode 100644 legacyworlds-web-tests/src/test/resources/.empty diff --git a/legacyworlds-session/pom.xml b/legacyworlds-session/pom.xml index 7169c86..605acc6 100644 --- a/legacyworlds-session/pom.xml +++ b/legacyworlds-session/pom.xml @@ -9,7 +9,7 @@ legacyworlds-session - Legacy Worlds - Sessions + Legacy Worlds - Common packages - Sessions ${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build} This module contains the definition of sessions used in client-server communications and all related classes and exceptions. diff --git a/legacyworlds-tests/pom.xml b/legacyworlds-tests/pom.xml new file mode 100644 index 0000000..176f5da --- /dev/null +++ b/legacyworlds-tests/pom.xml @@ -0,0 +1,39 @@ + + 4.0.0 + + legacyworlds + com.deepclone.lw + 1.0.0 + ../legacyworlds/pom.xml + + + legacyworlds-tests + ${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build} + Legacy Worlds - Common packages - Tests + This package contains all tests for classes in common packages. + + + + legacyworlds-session + com.deepclone.lw + test + + + legacyworlds-utils + com.deepclone.lw + test + + + + junit + junit + test + + + org.springframework + spring-test + test + + + \ No newline at end of file diff --git a/legacyworlds-tests/src/main/java/.empty b/legacyworlds-tests/src/main/java/.empty new file mode 100644 index 0000000..e69de29 diff --git a/legacyworlds-tests/src/main/resources/.empty b/legacyworlds-tests/src/main/resources/.empty new file mode 100644 index 0000000..e69de29 diff --git a/legacyworlds-tests/src/test/java/.empty b/legacyworlds-tests/src/test/java/.empty new file mode 100644 index 0000000..e69de29 diff --git a/legacyworlds-tests/src/test/resources/.empty b/legacyworlds-tests/src/test/resources/.empty new file mode 100644 index 0000000..e69de29 diff --git a/legacyworlds-utils/pom.xml b/legacyworlds-utils/pom.xml index 34b6e3e..574f035 100644 --- a/legacyworlds-utils/pom.xml +++ b/legacyworlds-utils/pom.xml @@ -10,7 +10,7 @@ legacyworlds-utils ${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build} - Legacy Worlds - Common utilities + Legacy Worlds - Common packages - Utilities The classes in this package are used by all parts of the Legacy Worlds code. diff --git a/legacyworlds-web-tests/pom.xml b/legacyworlds-web-tests/pom.xml new file mode 100644 index 0000000..4f626a6 --- /dev/null +++ b/legacyworlds-web-tests/pom.xml @@ -0,0 +1,49 @@ + + 4.0.0 + + legacyworlds + com.deepclone.lw + 1.0.0 + ../legacyworlds/pom.xml + + + legacyworlds-web-tests + ${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build} + Legacy Worlds - Web - Tests + This package contains all tests for web clients functionalities. + + + + legacyworlds-web-admin + com.deepclone.lw + ${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build} + war + test + + + legacyworlds-web-beans + com.deepclone.lw + test + + + legacyworlds-web-main + com.deepclone.lw + ${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build} + war + test + + + + junit + junit + test + + + org.springframework + spring-test + test + + + + \ No newline at end of file diff --git a/legacyworlds-web-tests/src/main/java/.empty b/legacyworlds-web-tests/src/main/java/.empty new file mode 100644 index 0000000..e69de29 diff --git a/legacyworlds-web-tests/src/main/resources/.empty b/legacyworlds-web-tests/src/main/resources/.empty new file mode 100644 index 0000000..e69de29 diff --git a/legacyworlds-web-tests/src/test/java/.empty b/legacyworlds-web-tests/src/test/java/.empty new file mode 100644 index 0000000..e69de29 diff --git a/legacyworlds-web-tests/src/test/resources/.empty b/legacyworlds-web-tests/src/test/resources/.empty new file mode 100644 index 0000000..e69de29 diff --git a/legacyworlds-web/pom.xml b/legacyworlds-web/pom.xml index 4f90e51..26517d6 100644 --- a/legacyworlds-web/pom.xml +++ b/legacyworlds-web/pom.xml @@ -14,10 +14,11 @@ Root module for Legacy Worlds web sites - ../legacyworlds-web-main ../legacyworlds-web-admin ../legacyworlds-web-beans ../legacyworlds-web-DIST + ../legacyworlds-web-main + ../legacyworlds-web-tests diff --git a/legacyworlds/pom.xml b/legacyworlds/pom.xml index a9ff122..86d3192 100644 --- a/legacyworlds/pom.xml +++ b/legacyworlds/pom.xml @@ -348,8 +348,9 @@ ../legacyworlds-server ../legacyworlds-session - ../legacyworlds-web + ../legacyworlds-tests ../legacyworlds-utils + ../legacyworlds-web