Author: bdelacretaz
Date: Tue Jan 7 11:00:08 2014
New Revision: 1556178
URL: http://svn.apache.org/r1556178
Log:
DMAP-29 - default to executing all tests, and output info about this option
Modified:
incubator/devicemap/trunk/devicemap/java/pom.xml
incubator/devicemap/trunk/devicemap/java/src/test/java/org/apache/devicemap/client/RefDataTest.java
Modified: incubator/devicemap/trunk/devicemap/java/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/devicemap/trunk/devicemap/java/pom.xml?rev=1556178&r1=1556177&r2=1556178&view=diff
==============================================================================
--- incubator/devicemap/trunk/devicemap/java/pom.xml (original)
+++ incubator/devicemap/trunk/devicemap/java/pom.xml Tue Jan 7 11:00:08 2014
@@ -36,8 +36,8 @@
<!-- Test settings that can be overridden from the Maven command line -->
<properties>
- <!-- Set this to 0 to execute all tests -->
- <devicemap.max.tests>5042</devicemap.max.tests>
+ <!-- Set this to N to execute only N tests -->
+ <devicemap.max.tests>0</devicemap.max.tests>
<!-- The test data file maps User-Agent values to expected device
properties -->
<devicemap.test.data.file>${project.build.directory}/devicemap/test-data/dmap_20130522.txt</devicemap.test.data.file>
Modified:
incubator/devicemap/trunk/devicemap/java/src/test/java/org/apache/devicemap/client/RefDataTest.java
URL:
http://svn.apache.org/viewvc/incubator/devicemap/trunk/devicemap/java/src/test/java/org/apache/devicemap/client/RefDataTest.java?rev=1556178&r1=1556177&r2=1556178&view=diff
==============================================================================
---
incubator/devicemap/trunk/devicemap/java/src/test/java/org/apache/devicemap/client/RefDataTest.java
(original)
+++
incubator/devicemap/trunk/devicemap/java/src/test/java/org/apache/devicemap/client/RefDataTest.java
Tue Jan 7 11:00:08 2014
@@ -141,6 +141,10 @@ public class RefDataTest {
totalTests - successful.size()
);
}
+
+ log.info("Note that you can use the {} system property (currently set
to {}) to limit the number of "
+ + "tests executed, 0 means no limit.",
+ MAX_TESTS_PROPERTY, MAX_TESTS);
}
/** If the corresponding option is set, output to stderr the test file