diff options
author | philip.liard@gmail.com <philip.liard@gmail.com@ee073f10-1060-11df-b6a4-87a95322a99c> | 2011-11-04 12:02:25 +0000 |
---|---|---|
committer | philip.liard@gmail.com <philip.liard@gmail.com@ee073f10-1060-11df-b6a4-87a95322a99c> | 2011-11-04 12:02:25 +0000 |
commit | 443d4ef9ce2bfc469deb52e4879329a3ec98e0d5 (patch) | |
tree | c8d32dc66d07d28341d4cc7f90ce0b2aab41ebdb /java/pom.xml | |
parent | da209d947226205a1d14b751598c5119cc48d347 (diff) | |
download | android_external_libphonenumbergoogle-443d4ef9ce2bfc469deb52e4879329a3ec98e0d5.tar.gz android_external_libphonenumbergoogle-443d4ef9ce2bfc469deb52e4879329a3ec98e0d5.tar.bz2 android_external_libphonenumbergoogle-443d4ef9ce2bfc469deb52e4879329a3ec98e0d5.zip |
Reset PhoneNumberUtil singleton instance in ShortNumberUtilTest and make JUnit tests never fork in both Ant and Maven.
PhoneNumberUtil.resetInstance() should always be used instead. This omission should not be hidden by unit tests that fork.
That also makes the external version consistent with the internal one in which unit tests don't seem to be executed by default in isolated processes.
Review URL: http://codereview.appspot.com/5341042
git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@381 ee073f10-1060-11df-b6a4-87a95322a99c
Diffstat (limited to 'java/pom.xml')
-rw-r--r-- | java/pom.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/java/pom.xml b/java/pom.xml index f4ff3bf..c266e7d 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -110,6 +110,14 @@ </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.10</version> + <configuration> + <forkMode>never</forkMode> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.1.2</version> <executions> |