aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-04-24 11:20:28 +0200
committerDavid Gageot <david@gageot.net>2012-04-25 09:53:33 +0200
commitf341ea6efa8bd7c08318b78b50f200a6af830932 (patch)
tree149c9e8bcffc78aefd6d159f720e8293808c25eb
parent262219e1ac0729358fc9745d986cec7aa91c5ece (diff)
downloadsonarqube-f341ea6efa8bd7c08318b78b50f200a6af830932.tar.gz
sonarqube-f341ea6efa8bd7c08318b78b50f200a6af830932.zip
SONAR-3428 Configure Infinitest
-rw-r--r--plugins/sonar-checkstyle-plugin/infinitest.args1
-rw-r--r--plugins/sonar-cobertura-plugin/infinitest.args1
-rw-r--r--plugins/sonar-core-gwt/infinitest.args1
-rw-r--r--plugins/sonar-core-plugin/infinitest.args1
-rw-r--r--plugins/sonar-cpd-plugin/infinitest.args1
-rw-r--r--plugins/sonar-dbcleaner-plugin/infinitest.args1
-rw-r--r--plugins/sonar-design-plugin/infinitest.args1
-rw-r--r--plugins/sonar-email-notifications-plugin/infinitest.args1
-rw-r--r--plugins/sonar-findbugs-plugin/infinitest.args1
-rw-r--r--plugins/sonar-jacoco-plugin/infinitest.args1
-rw-r--r--plugins/sonar-jacoco-plugin/infinitest.filters4
-rw-r--r--plugins/sonar-l10n-en-plugin/infinitest.args1
-rw-r--r--plugins/sonar-pmd-plugin/infinitest.args1
-rw-r--r--plugins/sonar-pmd-plugin/infinitest.filters3
-rw-r--r--plugins/sonar-squid-java-plugin/infinitest.args1
-rw-r--r--plugins/sonar-surefire-plugin/infinitest.args1
-rw-r--r--pom.xml4
-rw-r--r--sonar-application/infinitest.args1
-rw-r--r--sonar-batch-bootstrapper/infinitest.args1
-rw-r--r--sonar-batch-bootstrapper/infinitest.filters3
-rw-r--r--sonar-batch-maven-compat/infinitest.args1
-rw-r--r--sonar-batch/infinitest.args1
-rw-r--r--sonar-channel/infinitest.args1
-rw-r--r--sonar-check-api/infinitest.args1
-rw-r--r--sonar-colorizer/infinitest.args1
-rw-r--r--sonar-colorizer/infinitest.filters5
-rw-r--r--sonar-core/infinitest.args1
-rw-r--r--sonar-deprecated/infinitest.args1
-rw-r--r--sonar-duplications/infinitest.args1
-rw-r--r--sonar-graph/infinitest.args1
-rw-r--r--sonar-gwt-api/infinitest.args1
-rw-r--r--sonar-java-api/infinitest.args1
-rw-r--r--sonar-markdown/infinitest.args1
-rw-r--r--sonar-maven-plugin/infinitest.args1
-rw-r--r--sonar-maven3-plugin/infinitest.args1
-rw-r--r--sonar-plugin-api/infinitest.args1
-rw-r--r--sonar-plugin-api/infinitest.filters3
-rw-r--r--sonar-server/infinitest.args1
-rw-r--r--sonar-server/infinitest.filters3
-rw-r--r--sonar-squid/infinitest.args1
-rw-r--r--sonar-testing-harness/infinitest.args1
-rw-r--r--sonar-ws-client/infinitest.args1
42 files changed, 58 insertions, 2 deletions
diff --git a/plugins/sonar-checkstyle-plugin/infinitest.args b/plugins/sonar-checkstyle-plugin/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/plugins/sonar-checkstyle-plugin/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/plugins/sonar-cobertura-plugin/infinitest.args b/plugins/sonar-cobertura-plugin/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/plugins/sonar-cobertura-plugin/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/plugins/sonar-core-gwt/infinitest.args b/plugins/sonar-core-gwt/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/plugins/sonar-core-gwt/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/plugins/sonar-core-plugin/infinitest.args b/plugins/sonar-core-plugin/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/plugins/sonar-core-plugin/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/plugins/sonar-cpd-plugin/infinitest.args b/plugins/sonar-cpd-plugin/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/plugins/sonar-cpd-plugin/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/plugins/sonar-dbcleaner-plugin/infinitest.args b/plugins/sonar-dbcleaner-plugin/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/plugins/sonar-dbcleaner-plugin/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/plugins/sonar-design-plugin/infinitest.args b/plugins/sonar-design-plugin/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/plugins/sonar-design-plugin/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/plugins/sonar-email-notifications-plugin/infinitest.args b/plugins/sonar-email-notifications-plugin/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/plugins/sonar-email-notifications-plugin/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/plugins/sonar-findbugs-plugin/infinitest.args b/plugins/sonar-findbugs-plugin/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/plugins/sonar-findbugs-plugin/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/plugins/sonar-jacoco-plugin/infinitest.args b/plugins/sonar-jacoco-plugin/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/plugins/sonar-jacoco-plugin/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/plugins/sonar-jacoco-plugin/infinitest.filters b/plugins/sonar-jacoco-plugin/infinitest.filters
new file mode 100644
index 00000000000..dfc9c555025
--- /dev/null
+++ b/plugins/sonar-jacoco-plugin/infinitest.filters
@@ -0,0 +1,4 @@
+# These tests fail in Eclipse. Until they are fixed, let's ignore them
+
+.*JaCoCoItSensorTest
+.*JaCoCoSensorTest
diff --git a/plugins/sonar-l10n-en-plugin/infinitest.args b/plugins/sonar-l10n-en-plugin/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/plugins/sonar-l10n-en-plugin/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/plugins/sonar-pmd-plugin/infinitest.args b/plugins/sonar-pmd-plugin/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/plugins/sonar-pmd-plugin/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/plugins/sonar-pmd-plugin/infinitest.filters b/plugins/sonar-pmd-plugin/infinitest.filters
new file mode 100644
index 00000000000..d0aa9ab8cc6
--- /dev/null
+++ b/plugins/sonar-pmd-plugin/infinitest.filters
@@ -0,0 +1,3 @@
+# These tests fail in Eclipse. Until they are fixed, let's ignore them
+
+.*PmdExecutorTest
diff --git a/plugins/sonar-squid-java-plugin/infinitest.args b/plugins/sonar-squid-java-plugin/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/plugins/sonar-squid-java-plugin/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/infinitest.args b/plugins/sonar-surefire-plugin/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/plugins/sonar-surefire-plugin/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 71d4144a722..875a16a5293 100644
--- a/pom.xml
+++ b/pom.xml
@@ -494,7 +494,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<runOrder>random</runOrder>
- <argLine>-Xmx256m</argLine>
+ <argLine>-Xmx256m -Djava.awt.headless=true</argLine>
<systemPropertyVariables>
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
</systemPropertyVariables>
@@ -976,7 +976,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.9</version>
+ <version>4.10</version>
</dependency>
<dependency>
<groupId>xerces</groupId>
diff --git a/sonar-application/infinitest.args b/sonar-application/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-application/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-batch-bootstrapper/infinitest.args b/sonar-batch-bootstrapper/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-batch-bootstrapper/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-batch-bootstrapper/infinitest.filters b/sonar-batch-bootstrapper/infinitest.filters
new file mode 100644
index 00000000000..172859d4062
--- /dev/null
+++ b/sonar-batch-bootstrapper/infinitest.filters
@@ -0,0 +1,3 @@
+# These tests fail in Eclipse. Until they are fixed, let's ignore them
+
+.*BootstrapperVersionTest
diff --git a/sonar-batch-maven-compat/infinitest.args b/sonar-batch-maven-compat/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-batch-maven-compat/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-batch/infinitest.args b/sonar-batch/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-batch/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-channel/infinitest.args b/sonar-channel/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-channel/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-check-api/infinitest.args b/sonar-check-api/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-check-api/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-colorizer/infinitest.args b/sonar-colorizer/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-colorizer/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-colorizer/infinitest.filters b/sonar-colorizer/infinitest.filters
new file mode 100644
index 00000000000..61cfdb0402e
--- /dev/null
+++ b/sonar-colorizer/infinitest.filters
@@ -0,0 +1,5 @@
+# These tests fail in Eclipse. Until they are fixed, let's ignore them
+
+.*CodeColorizerTest
+.*HtmlRendererTest
+.*UserGuideTest \ No newline at end of file
diff --git a/sonar-core/infinitest.args b/sonar-core/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-core/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-deprecated/infinitest.args b/sonar-deprecated/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-deprecated/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-duplications/infinitest.args b/sonar-duplications/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-duplications/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-graph/infinitest.args b/sonar-graph/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-graph/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-gwt-api/infinitest.args b/sonar-gwt-api/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-gwt-api/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-java-api/infinitest.args b/sonar-java-api/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-java-api/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-markdown/infinitest.args b/sonar-markdown/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-markdown/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-maven-plugin/infinitest.args b/sonar-maven-plugin/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-maven-plugin/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-maven3-plugin/infinitest.args b/sonar-maven3-plugin/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-maven3-plugin/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-plugin-api/infinitest.args b/sonar-plugin-api/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-plugin-api/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-plugin-api/infinitest.filters b/sonar-plugin-api/infinitest.filters
new file mode 100644
index 00000000000..bff54e0c82e
--- /dev/null
+++ b/sonar-plugin-api/infinitest.filters
@@ -0,0 +1,3 @@
+# These tests fail in Eclipse. Until they are fixed, let's ignore them
+
+.*DefaultProjectFileSystemTest
diff --git a/sonar-server/infinitest.args b/sonar-server/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-server/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-server/infinitest.filters b/sonar-server/infinitest.filters
new file mode 100644
index 00000000000..61f1f0b53ba
--- /dev/null
+++ b/sonar-server/infinitest.filters
@@ -0,0 +1,3 @@
+# These tests fail in Eclipse. Until they are fixed, let's ignore them
+
+.*ServerImplTest
diff --git a/sonar-squid/infinitest.args b/sonar-squid/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-squid/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-testing-harness/infinitest.args b/sonar-testing-harness/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-testing-harness/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file
diff --git a/sonar-ws-client/infinitest.args b/sonar-ws-client/infinitest.args
new file mode 100644
index 00000000000..ed9f41dadc7
--- /dev/null
+++ b/sonar-ws-client/infinitest.args
@@ -0,0 +1 @@
+-Djava.awt.headless=true \ No newline at end of file