]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3934 Extract sonar-surefire-plugin into Sonar Java
authorEvgeny Mandrikov <mandrikov@gmail.com>
Tue, 6 Nov 2012 15:54:08 +0000 (16:54 +0100)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Tue, 6 Nov 2012 16:08:07 +0000 (17:08 +0100)
69 files changed:
plugins/sonar-surefire-plugin/infinitest.args [deleted file]
plugins/sonar-surefire-plugin/pom.xml [deleted file]
plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/SurefirePlugin.java [deleted file]
plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/SurefireSensor.java [deleted file]
plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/api/AbstractSurefireParser.java [deleted file]
plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/api/SurefireUtils.java [deleted file]
plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/data/SurefireStaxHandler.java [deleted file]
plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/data/UnitTestClassReport.java [deleted file]
plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/data/UnitTestIndex.java [deleted file]
plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/data/UnitTestResult.java [deleted file]
plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/SurefirePluginTest.java [deleted file]
plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/SurefireSensorTest.java [deleted file]
plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/api/AbstractSurefireParserTest.java [deleted file]
plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/api/SurefireUtilsTest.java [deleted file]
plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest.java [deleted file]
plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/data/UnitTestClassReportTest.java [deleted file]
plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/data/UnitTestIndexTest.java [deleted file]
plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/data/UnitTestResultTest.java [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/doNotSaveInnerClasses/TEST-org.apache.commons.collections.TestAllPackages.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/ignoreSuiteAsInnerClass/TEST-org.apache.shindig.protocol.TestHandler$Input.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/ignoreSuiteAsInnerClass/TEST-org.apache.shindig.protocol.TestHandler.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/many-results/TEST-ch.hortis.sonar.mvn.SonarMojoTest.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/many-results/TEST-ch.hortis.sonar.mvn.mc.CheckstyleCollectorTest.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/many-results/TEST-ch.hortis.sonar.mvn.mc.CloverCollectorTest.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/many-results/TEST-ch.hortis.sonar.mvn.mc.JDependsCollectorTest.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/many-results/TEST-ch.hortis.sonar.mvn.mc.JavaNCSSCollectorTest.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/many-results/TEST-ch.hortis.sonar.mvn.mc.MetricsCollectorRegistryTest.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/measuresShouldNotIncludeSkippedTests/TEST-FooTest.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/noSuccessRatioIfNoTests/TEST-FooTest.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/roundingTests/TEST-Rounding.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldHandleMultipleSuitesInSameFile/TESTS-MutlipleSuites.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldHandleTestSuiteDetails/ExtensionsFinderTest-expected-result.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldHandleTestSuiteDetails/ExtensionsFinderTest2-expected-result.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldHandleTestSuiteDetails/ExtensionsFinderTest3-expected-result.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldHandleTestSuiteDetails/TEST-org.sonar.core.ExtensionsFinderTestSuite.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldManageClassesWithDefaultPackage/TEST-NoPackagesTest.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldNotFailIfReportsNotFound/pom.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldSaveErrorsAndFailuresInXML/TEST-org.sonar.core.ExtensionsFinderTest.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldSaveErrorsAndFailuresInXML/expected-test-details.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/successRatioIsZeroWhenAllTestsFail/TEST-FooTest.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/groovyAndJavaTests/TEST-groovy.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/groovyAndJavaTests/TEST-java.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/innerClasses/TEST-org.apache.commons.collections.TestAllPackages.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TEST-ch.hortis.sonar.mvn.SonarMojoTest.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TEST-ch.hortis.sonar.mvn.mc.CheckstyleCollectorTest.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TEST-ch.hortis.sonar.mvn.mc.CloverCollectorTest.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TEST-ch.hortis.sonar.mvn.mc.JDependsCollectorTest.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TEST-ch.hortis.sonar.mvn.mc.JavaNCSSCollectorTest.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TEST-ch.hortis.sonar.mvn.mc.MetricsCollectorRegistryTest.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TESTS-AllTests.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/nestedInnerClasses/TEST-org.sonar.plugins.surefire.NestedTest$Inner1$Run.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/nestedInnerClasses/TEST-org.sonar.plugins.surefire.NestedTest$Inner2$Run.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/noReports/hack [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/noTests/TEST-noTests.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/onlyTestSuiteReport/TESTS-AllTests.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/SurefireUtilsTest/shouldGetReportsFromPluginConfiguration/build/junit/hack.txt [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/SurefireUtilsTest/shouldGetReportsFromPluginConfiguration/pom.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/SurefireUtilsTest/shouldGetReportsFromProperty/pom.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/SurefireUtilsTest/shouldGetReportsFromProperty/target/surefire/hack.txt [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/errorsAndFailures.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/innerClasses.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/multipleSuites.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/rootPackage.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/skippedTests.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/suiteInnerClass.xml [deleted file]
plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/zeroTests.xml [deleted file]
pom.xml
sonar-application/pom.xml
sonar-server/pom.xml

diff --git a/plugins/sonar-surefire-plugin/infinitest.args b/plugins/sonar-surefire-plugin/infinitest.args
deleted file mode 100644 (file)
index ed9f41d..0000000
+++ /dev/null
@@ -1 +0,0 @@
--Djava.awt.headless=true
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/pom.xml b/plugins/sonar-surefire-plugin/pom.xml
deleted file mode 100644 (file)
index 2fdd294..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-
-  <parent>
-    <groupId>org.codehaus.sonar</groupId>
-    <artifactId>sonar</artifactId>
-    <version>3.4-SNAPSHOT</version>
-    <relativePath>../..</relativePath>
-  </parent>
-
-  <groupId>org.codehaus.sonar.plugins</groupId>
-  <artifactId>sonar-surefire-plugin</artifactId>
-  <packaging>sonar-plugin</packaging>
-
-  <name>Sonar :: Plugins :: Surefire</name>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.codehaus.sonar</groupId>
-      <artifactId>sonar-plugin-api</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.maven</groupId>
-      <artifactId>maven-project</artifactId>
-      <scope>provided</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>org.codehaus.sonar</groupId>
-      <artifactId>sonar-testing-harness</artifactId>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <testResources>
-      <testResource>
-        <directory>${basedir}/src/main/resources</directory>
-      </testResource>
-      <testResource>
-        <directory>${basedir}/src/test/resources</directory>
-      </testResource>
-    </testResources>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.sonar</groupId>
-        <artifactId>sonar-packaging-maven-plugin</artifactId>
-        <configuration>
-          <pluginKey>surefire</pluginKey>
-          <pluginName>Surefire</pluginName>
-          <pluginClass>org.sonar.plugins.surefire.SurefirePlugin</pluginClass>
-          <pluginDescription>
-            <![CDATA[Get results of unit tests with <a href='http://maven.apache.org/plugins/maven-surefire-plugin/'>Surefire</a>.]]></pluginDescription>
-        </configuration>
-      </plugin>
-      <!-- Running JUnit tests in parallel -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <parallel>classes</parallel>
-          <threadCount>3</threadCount>
-          <perCoreThreadCount>true</perCoreThreadCount>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/SurefirePlugin.java b/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/SurefirePlugin.java
deleted file mode 100644 (file)
index b4eb8cc..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.plugins.surefire;
-
-import com.google.common.collect.ImmutableList;
-import org.sonar.api.CoreProperties;
-import org.sonar.api.Properties;
-import org.sonar.api.Property;
-import org.sonar.api.SonarPlugin;
-
-import java.util.List;
-
-@Properties({
-  @Property(
-    key = CoreProperties.SUREFIRE_REPORTS_PATH_PROPERTY,
-    name = "Report path",
-    description = "Path (absolute or relative) to XML report files.",
-    project = true,
-    global = false)
-})
-public final class SurefirePlugin extends SonarPlugin {
-
-  public List<Class<SurefireSensor>> getExtensions() {
-    return ImmutableList.of(SurefireSensor.class);
-  }
-
-}
diff --git a/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/SurefireSensor.java b/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/SurefireSensor.java
deleted file mode 100644 (file)
index a6978f5..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.plugins.surefire;
-
-import org.apache.commons.lang.StringUtils;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.sonar.api.batch.CoverageExtension;
-import org.sonar.api.batch.DependsUpon;
-import org.sonar.api.batch.Sensor;
-import org.sonar.api.batch.SensorContext;
-import org.sonar.api.resources.Java;
-import org.sonar.api.resources.JavaFile;
-import org.sonar.api.resources.Project;
-import org.sonar.api.resources.Resource;
-import org.sonar.plugins.surefire.api.AbstractSurefireParser;
-import org.sonar.plugins.surefire.api.SurefireUtils;
-
-import java.io.File;
-
-public class SurefireSensor implements Sensor {
-
-  private static Logger logger = LoggerFactory.getLogger(SurefireSensor.class);
-
-  @DependsUpon
-  public Class dependsUponCoverageSensors() {
-    return CoverageExtension.class;
-  }
-
-  public boolean shouldExecuteOnProject(Project project) {
-    return project.getAnalysisType().isDynamic(true) && Java.KEY.equals(project.getLanguageKey());
-  }
-
-  public void analyse(Project project, SensorContext context) {
-    File dir = SurefireUtils.getReportsDirectory(project);
-    collect(project, context, dir);
-  }
-
-  protected void collect(Project project, SensorContext context, File reportsDir) {
-    logger.info("parsing {}", reportsDir);
-    new AbstractSurefireParser() {
-      @Override
-      protected Resource<?> getUnitTestResource(String classKey) {
-        if (!StringUtils.contains(classKey, "$")) {
-          // temporary hack waiting for http://jira.codehaus.org/browse/SONAR-1865
-          return new JavaFile(classKey, true);
-        }
-        return null;
-      }
-    }.collect(project, context, reportsDir);
-  }
-
-  @Override
-  public String toString() {
-    return getClass().getSimpleName();
-  }
-}
diff --git a/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/api/AbstractSurefireParser.java b/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/api/AbstractSurefireParser.java
deleted file mode 100644 (file)
index 4e6248f..0000000
+++ /dev/null
@@ -1,142 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.plugins.surefire.api;
-
-import java.io.File;
-import java.io.FilenameFilter;
-import java.util.Map;
-
-import javax.xml.stream.XMLStreamException;
-
-import org.apache.commons.lang.StringUtils;
-import org.sonar.api.batch.SensorContext;
-import org.sonar.api.measures.CoreMetrics;
-import org.sonar.api.measures.Measure;
-import org.sonar.api.measures.Metric;
-import org.sonar.api.resources.Project;
-import org.sonar.api.resources.Resource;
-import org.sonar.api.utils.ParsingUtils;
-import org.sonar.api.utils.SonarException;
-import org.sonar.api.utils.StaxParser;
-import org.sonar.plugins.surefire.data.SurefireStaxHandler;
-import org.sonar.plugins.surefire.data.UnitTestClassReport;
-import org.sonar.plugins.surefire.data.UnitTestIndex;
-
-/**
- * @since 2.4
- */
-public abstract class AbstractSurefireParser {
-
-  public void collect(Project project, SensorContext context, File reportsDir) {
-    File[] xmlFiles = getReports(reportsDir);
-
-    if (xmlFiles.length == 0) {
-      // See http://jira.codehaus.org/browse/SONAR-2371
-      if (project.getModules().isEmpty()) {
-        context.saveMeasure(CoreMetrics.TESTS, 0.0);
-      }
-    } else {
-      parseFiles(context, xmlFiles);
-    }
-  }
-
-  private File[] getReports(File dir) {
-    if (dir == null || !dir.isDirectory() || !dir.exists()) {
-      return new File[0];
-    }
-    File[] unitTestResultFiles = findXMLFilesStartingWith(dir, "TEST-");
-    if (unitTestResultFiles.length == 0) {
-      // maybe there's only a test suite result file
-      unitTestResultFiles = findXMLFilesStartingWith(dir, "TESTS-");
-    }
-    return unitTestResultFiles;
-  }
-
-  private File[] findXMLFilesStartingWith(File dir, final String fileNameStart) {
-    return dir.listFiles(new FilenameFilter() {
-      public boolean accept(File dir, String name) {
-        return name.startsWith(fileNameStart) && name.endsWith(".xml");
-      }
-    });
-  }
-
-  private void parseFiles(SensorContext context, File[] reports) {
-    UnitTestIndex index = new UnitTestIndex();
-    parseFiles(reports, index);
-    sanitize(index);
-    save(index, context);
-  }
-
-  private void parseFiles(File[] reports, UnitTestIndex index) {
-    SurefireStaxHandler staxParser = new SurefireStaxHandler(index);
-    StaxParser parser = new StaxParser(staxParser, false);
-    for (File report : reports) {
-      try {
-        parser.parse(report);
-      } catch (XMLStreamException e) {
-        throw new SonarException("Fail to parse the Surefire report: " + report, e);
-      }
-    }
-  }
-
-  private void sanitize(UnitTestIndex index) {
-    for (String classname : index.getClassnames()) {
-      if (StringUtils.contains(classname, "$")) {
-        // Surefire reports classes whereas sonar supports files
-        String parentClassName = StringUtils.substringBefore(classname, "$");
-        index.merge(classname, parentClassName);
-      }
-    }
-  }
-
-  private void save(UnitTestIndex index, SensorContext context) {
-    for (Map.Entry<String, UnitTestClassReport> entry : index.getIndexByClassname().entrySet()) {
-      UnitTestClassReport report = entry.getValue();
-      if (report.getTests() > 0) {
-        Resource resource = getUnitTestResource(entry.getKey());
-        double testsCount = report.getTests() - report.getSkipped();
-        saveMeasure(context, resource, CoreMetrics.SKIPPED_TESTS, report.getSkipped());
-        saveMeasure(context, resource, CoreMetrics.TESTS, testsCount);
-        saveMeasure(context, resource, CoreMetrics.TEST_ERRORS, report.getErrors());
-        saveMeasure(context, resource, CoreMetrics.TEST_FAILURES, report.getFailures());
-        saveMeasure(context, resource, CoreMetrics.TEST_EXECUTION_TIME, report.getDurationMilliseconds());
-        double passedTests = testsCount - report.getErrors() - report.getFailures();
-        if (testsCount > 0) {
-          double percentage = passedTests * 100d / testsCount;
-          saveMeasure(context, resource, CoreMetrics.TEST_SUCCESS_DENSITY, ParsingUtils.scaleValue(percentage));
-        }
-        saveResults(context, resource, report);
-      }
-    }
-  }
-
-  private void saveMeasure(SensorContext context, Resource resource, Metric metric, double value) {
-    if (!Double.isNaN(value)) {
-      context.saveMeasure(resource, metric, value);
-    }
-  }
-
-  private void saveResults(SensorContext context, Resource resource, UnitTestClassReport report) {
-    context.saveMeasure(resource, new Measure(CoreMetrics.TEST_DATA, report.toXml()));
-  }
-
-  protected abstract Resource<?> getUnitTestResource(String classKey);
-
-}
diff --git a/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/api/SurefireUtils.java b/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/api/SurefireUtils.java
deleted file mode 100644 (file)
index e5b27a2..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.plugins.surefire.api;
-
-import org.sonar.api.CoreProperties;
-import org.sonar.api.batch.maven.MavenPlugin;
-import org.sonar.api.batch.maven.MavenSurefireUtils;
-import org.sonar.api.resources.Project;
-
-import java.io.File;
-
-/**
- * @since 2.4
- */
-public final class SurefireUtils {
-
-  public static File getReportsDirectory(Project project) {
-    File dir = getReportsDirectoryFromProperty(project);
-    if (dir == null) {
-      dir = getReportsDirectoryFromPluginConfiguration(project);
-    }
-    if (dir == null) {
-      dir = getReportsDirectoryFromDefaultConfiguration(project);
-    }
-    return dir;
-  }
-
-  private static File getReportsDirectoryFromProperty(Project project) {
-    String path = (String) project.getProperty(CoreProperties.SUREFIRE_REPORTS_PATH_PROPERTY);
-    if (path != null) {
-      return project.getFileSystem().resolvePath(path);
-    }
-    return null;
-  }
-
-  private static File getReportsDirectoryFromPluginConfiguration(Project project) {
-    MavenPlugin plugin = MavenPlugin.getPlugin(project.getPom(), MavenSurefireUtils.GROUP_ID, MavenSurefireUtils.ARTIFACT_ID);
-    if (plugin != null) {
-      String path = plugin.getParameter("reportsDirectory");
-      if (path != null) {
-        return project.getFileSystem().resolvePath(path);
-      }
-    }
-    return null;
-  }
-
-  private static File getReportsDirectoryFromDefaultConfiguration(Project project) {
-    return new File(project.getFileSystem().getBuildDir(), "surefire-reports");
-  }
-
-  private SurefireUtils() {
-  }
-
-}
diff --git a/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/data/SurefireStaxHandler.java b/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/data/SurefireStaxHandler.java
deleted file mode 100644 (file)
index fc2ed5b..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.plugins.surefire.data;
-
-import java.text.ParseException;
-import java.util.Locale;
-
-import javax.xml.stream.XMLStreamException;
-
-import org.apache.commons.lang.StringUtils;
-import org.codehaus.staxmate.in.ElementFilter;
-import org.codehaus.staxmate.in.SMEvent;
-import org.codehaus.staxmate.in.SMHierarchicCursor;
-import org.codehaus.staxmate.in.SMInputCursor;
-import org.sonar.api.utils.ParsingUtils;
-import org.sonar.api.utils.StaxParser.XmlStreamHandler;
-
-public class SurefireStaxHandler implements XmlStreamHandler {
-
-  private UnitTestIndex index;
-
-  public SurefireStaxHandler(UnitTestIndex index) {
-    this.index = index;
-  }
-
-  public void stream(SMHierarchicCursor rootCursor) throws XMLStreamException {
-    SMInputCursor testSuite = rootCursor.constructDescendantCursor(new ElementFilter("testsuite"));
-    SMEvent testSuiteEvent;
-    while ((testSuiteEvent = testSuite.getNext()) != null) {
-      if (testSuiteEvent.compareTo(SMEvent.START_ELEMENT) == 0) {
-        String testSuiteClassName = testSuite.getAttrValue("name");
-        if (StringUtils.contains(testSuiteClassName, "$")) {
-          // test suites for inner classes are ignored
-          return;
-        }
-        SMInputCursor testCase = testSuite.childCursor(new ElementFilter("testcase"));
-        SMEvent event;
-        while ((event = testCase.getNext()) != null) {
-          if (event.compareTo(SMEvent.START_ELEMENT) == 0) {
-            String testClassName = getClassname(testCase, testSuiteClassName);
-            UnitTestClassReport classReport = index.index(testClassName);
-            parseTestCase(testCase, classReport);
-          }
-        }
-      }
-    }
-  }
-
-  private String getClassname(SMInputCursor testCaseCursor, String defaultClassname) throws XMLStreamException {
-    String testClassName = testCaseCursor.getAttrValue("classname");
-    return StringUtils.defaultIfBlank(testClassName, defaultClassname);
-  }
-
-  private void parseTestCase(SMInputCursor testCaseCursor, UnitTestClassReport report) throws XMLStreamException {
-    report.add(parseTestResult(testCaseCursor));
-  }
-
-  private void setStackAndMessage(UnitTestResult result, SMInputCursor stackAndMessageCursor) throws XMLStreamException {
-    result.setMessage(stackAndMessageCursor.getAttrValue("message"));
-    String stack = stackAndMessageCursor.collectDescendantText();
-    result.setStackTrace(stack);
-  }
-
-  private UnitTestResult parseTestResult(SMInputCursor testCaseCursor) throws XMLStreamException {
-    UnitTestResult detail = new UnitTestResult();
-    String name = getTestCaseName(testCaseCursor);
-    detail.setName(name);
-
-    String status = UnitTestResult.STATUS_OK;
-    long duration = getTimeAttributeInMS(testCaseCursor);
-
-    SMInputCursor childNode = testCaseCursor.descendantElementCursor();
-    if (childNode.getNext() != null) {
-      String elementName = childNode.getLocalName();
-      if ("skipped".equals(elementName)) {
-        status = UnitTestResult.STATUS_SKIPPED;
-        // bug with surefire reporting wrong time for skipped tests
-        duration = 0L;
-
-      } else if ("failure".equals(elementName)) {
-        status = UnitTestResult.STATUS_FAILURE;
-        setStackAndMessage(detail, childNode);
-
-      } else if ("error".equals(elementName)) {
-        status = UnitTestResult.STATUS_ERROR;
-        setStackAndMessage(detail, childNode);
-      }
-    }
-    while (childNode.getNext() != null) {
-      // make sure we loop till the end of the elements cursor
-    }
-    detail.setDurationMilliseconds(duration);
-    detail.setStatus(status);
-    return detail;
-  }
-
-  private long getTimeAttributeInMS(SMInputCursor testCaseCursor) throws XMLStreamException {
-    // hardcoded to Locale.ENGLISH see http://jira.codehaus.org/browse/SONAR-602
-    try {
-      Double time = ParsingUtils.parseNumber(testCaseCursor.getAttrValue("time"), Locale.ENGLISH);
-      return !Double.isNaN(time) ? new Double(ParsingUtils.scaleValue(time * 1000, 3)).longValue() : 0L;
-    } catch (ParseException e) {
-      throw new XMLStreamException(e);
-    }
-  }
-
-  private String getTestCaseName(SMInputCursor testCaseCursor) throws XMLStreamException {
-    String classname = testCaseCursor.getAttrValue("classname");
-    String name = testCaseCursor.getAttrValue("name");
-    if (StringUtils.contains(classname, "$")) {
-      return StringUtils.substringAfter(classname, "$") + "/" + name;
-    }
-    return name;
-  }
-
-}
diff --git a/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/data/UnitTestClassReport.java b/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/data/UnitTestClassReport.java
deleted file mode 100644 (file)
index b271add..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.plugins.surefire.data;
-
-import com.google.common.collect.Lists;
-
-import java.util.Collections;
-import java.util.List;
-
-public final class UnitTestClassReport {
-  private long errors = 0L, failures = 0L, skipped = 0L, tests = 0L, durationMilliseconds = 0L;
-  private List<UnitTestResult> results = null;
-
-  public UnitTestClassReport add(UnitTestClassReport other) {
-    for (UnitTestResult otherResult : other.getResults()) {
-      add(otherResult);
-    }
-    return this;
-  }
-
-  public UnitTestClassReport add(UnitTestResult result) {
-    initResults();
-    results.add(result);
-    if (result.getStatus().equals(UnitTestResult.STATUS_SKIPPED)) {
-      skipped += 1;
-
-    } else if (result.getStatus().equals(UnitTestResult.STATUS_FAILURE)) {
-      failures += 1;
-
-    } else if (result.getStatus().equals(UnitTestResult.STATUS_ERROR)) {
-      errors += 1;
-    }
-    tests += 1;
-    durationMilliseconds += result.getDurationMilliseconds();
-    return this;
-  }
-
-  private void initResults() {
-    if (results == null) {
-      results = Lists.newArrayList();
-    }
-  }
-
-  public long getErrors() {
-    return errors;
-  }
-
-  public long getFailures() {
-    return failures;
-  }
-
-  public long getSkipped() {
-    return skipped;
-  }
-
-  public long getTests() {
-    return tests;
-  }
-
-  public long getDurationMilliseconds() {
-    return durationMilliseconds;
-  }
-
-  public List<UnitTestResult> getResults() {
-    if (results==null) {
-      return Collections.emptyList();
-    }
-    return results;
-  }
-
-  public String toXml() {
-    StringBuilder sb = new StringBuilder(256);
-    sb.append("<tests-details>");
-    for (UnitTestResult result : results) {
-      result.appendXml(sb);
-    }
-    sb.append("</tests-details>");
-    return sb.toString();
-  }
-}
diff --git a/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/data/UnitTestIndex.java b/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/data/UnitTestIndex.java
deleted file mode 100644 (file)
index de5d45d..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.plugins.surefire.data;
-
-import com.google.common.collect.Maps;
-import com.google.common.collect.Sets;
-
-import java.util.*;
-
-/**
- * @since 2.8
- */
-public class UnitTestIndex {
-
-  private Map<String, UnitTestClassReport> indexByClassname;
-
-  public UnitTestIndex() {
-    this.indexByClassname = Maps.newHashMap();
-  }
-
-  public UnitTestClassReport index(String classname) {
-    UnitTestClassReport classReport = indexByClassname.get(classname);
-    if (classReport == null) {
-      classReport = new UnitTestClassReport();
-      indexByClassname.put(classname, classReport);
-    }
-    return classReport;
-  }
-
-  public UnitTestClassReport get(String classname) {
-    return indexByClassname.get(classname);
-  }
-
-  public Set<String> getClassnames() {
-    return Sets.newHashSet(indexByClassname.keySet());
-  }
-
-  public Map<String, UnitTestClassReport> getIndexByClassname() {
-    return indexByClassname;
-  }
-
-  public int size() {
-    return indexByClassname.size();
-  }
-
-  public UnitTestClassReport merge(String classname, String intoClassname) {
-    UnitTestClassReport from = indexByClassname.get(classname);
-    if (from!=null) {
-      UnitTestClassReport to = index(intoClassname);
-      to.add(from);
-      indexByClassname.remove(classname);
-      return to;
-    }
-    return null;
-  }
-
-  public void remove(String classname) {
-    indexByClassname.remove(classname);
-  }
-
-
-}
diff --git a/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/data/UnitTestResult.java b/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/data/UnitTestResult.java
deleted file mode 100644 (file)
index 17b8f8a..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.plugins.surefire.data;
-
-import org.apache.commons.lang.StringEscapeUtils;
-
-public final class UnitTestResult {
-  public static final String STATUS_OK = "ok";
-  public static final String STATUS_ERROR = "error";
-  public static final String STATUS_FAILURE = "failure";
-  public static final String STATUS_SKIPPED = "skipped";
-
-  private String name, status, stackTrace, message;
-  private long durationMilliseconds = 0L;
-
-  public String getName() {
-    return name;
-  }
-
-  public UnitTestResult setName(String name) {
-    this.name = name;
-    return this;
-  }
-
-  public String getStatus() {
-    return status;
-  }
-
-  public UnitTestResult setStatus(String status) {
-    this.status = status;
-    return this;
-  }
-
-  public UnitTestResult setStackTrace(String stackTrace) {
-    this.stackTrace = stackTrace;
-    return this;
-  }
-
-  public String getMessage() {
-    return message;
-  }
-
-  public UnitTestResult setMessage(String message) {
-    this.message = message;
-    return this;
-  }
-
-  public long getDurationMilliseconds() {
-    return durationMilliseconds;
-  }
-
-  public UnitTestResult setDurationMilliseconds(long l) {
-    this.durationMilliseconds = l;
-    return this;
-  }
-
-  public boolean isErrorOrFailure() {
-    return STATUS_ERROR.equals(status) || STATUS_FAILURE.equals(status);
-  }
-
-  public boolean isError() {
-    return STATUS_ERROR.equals(status);
-  }
-
-  public String toXml() {
-    StringBuilder sb = new StringBuilder();
-    return appendXml(sb).toString();
-  }
-  public StringBuilder appendXml(StringBuilder sb) {
-    sb
-        .append("<testcase status=\"")
-        .append(status)
-        .append("\" time=\"")
-        .append(durationMilliseconds)
-        .append("\" name=\"")
-        .append(StringEscapeUtils.escapeXml(name))
-        .append("\"");
-
-    if (isErrorOrFailure()) {
-      sb
-          .append(">")
-          .append(isError() ? "<error message=\"" : "<failure message=\"")
-          .append(StringEscapeUtils.escapeXml(message))
-          .append("\">")
-          .append("<![CDATA[")
-          .append(StringEscapeUtils.escapeXml(stackTrace))
-          .append("]]>")
-          .append(isError() ? "</error>" : "</failure>")
-          .append("</testcase>");
-    } else {
-      sb.append("/>");
-    }
-    return sb;
-  }
-
-}
diff --git a/plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/SurefirePluginTest.java b/plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/SurefirePluginTest.java
deleted file mode 100644 (file)
index 3df14f0..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.plugins.surefire;
-
-import org.junit.Test;
-
-import static org.hamcrest.Matchers.greaterThan;
-import static org.junit.Assert.assertThat;
-
-public class SurefirePluginTest {
-
-  @Test
-  public void shouldGetExtensions() {
-    assertThat(new SurefirePlugin().getExtensions().size(), greaterThan(0));
-  }
-}
diff --git a/plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/SurefireSensorTest.java b/plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/SurefireSensorTest.java
deleted file mode 100644 (file)
index e641d4a..0000000
+++ /dev/null
@@ -1,243 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.plugins.surefire;
-
-import org.apache.commons.lang.ObjectUtils;
-import org.custommonkey.xmlunit.DetailedDiff;
-import org.custommonkey.xmlunit.Diff;
-import org.custommonkey.xmlunit.XMLUnit;
-import org.hamcrest.BaseMatcher;
-import org.hamcrest.Description;
-import org.junit.Test;
-import org.sonar.api.batch.SensorContext;
-import org.sonar.api.measures.CoreMetrics;
-import org.sonar.api.measures.Measure;
-import org.sonar.api.measures.Metric;
-import org.sonar.api.resources.Java;
-import org.sonar.api.resources.JavaFile;
-import org.sonar.api.resources.Project;
-import org.sonar.api.resources.Qualifiers;
-import org.sonar.api.resources.Resource;
-import org.sonar.api.resources.Scopes;
-import org.sonar.api.test.IsMeasure;
-import org.sonar.api.test.IsResource;
-import org.sonar.api.test.MavenTestUtils;
-
-import java.io.File;
-import java.io.FileReader;
-import java.io.StringReader;
-import java.net.URISyntaxException;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertThat;
-import static org.mockito.Matchers.any;
-import static org.mockito.Matchers.anyDouble;
-import static org.mockito.Matchers.argThat;
-import static org.mockito.Matchers.eq;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.never;
-import static org.mockito.Mockito.times;
-import static org.mockito.Mockito.verify;
-import static org.mockito.Mockito.when;
-
-public class SurefireSensorTest {
-
-  @Test
-  public void shouldNotAnalyseIfStaticAnalysis() {
-    Project project = mock(Project.class);
-    when(project.getLanguageKey()).thenReturn(Java.KEY);
-    when(project.getAnalysisType()).thenReturn(Project.AnalysisType.STATIC);
-    assertFalse(new SurefireSensor().shouldExecuteOnProject(project));
-  }
-
-  @Test
-  public void shouldAnalyseIfReuseDynamicReports() {
-    Project project = mock(Project.class);
-    when(project.getLanguageKey()).thenReturn(Java.KEY);
-    when(project.getAnalysisType()).thenReturn(Project.AnalysisType.REUSE_REPORTS);
-    assertThat(new SurefireSensor().shouldExecuteOnProject(project), is(true));
-  }
-
-  @Test
-  public void shouldNotFailIfReportsNotFound() {
-    Project project = MavenTestUtils.loadProjectFromPom(getClass(), "shouldNotFailIfReportsNotFound/pom.xml");
-    new SurefireSensor().collect(project, mock(SensorContext.class), new File("unknown"));
-  }
-
-  private SensorContext mockContext() {
-    SensorContext context = mock(SensorContext.class);
-    when(context.isIndexed(any(Resource.class), eq(false))).thenReturn(true);
-    return context;
-  }
-
-  @Test
-  public void shouldHandleTestSuiteDetails() throws URISyntaxException {
-    SensorContext context = mockContext();
-    new SurefireSensor().collect(new Project("key"), context, new File(getClass().getResource(
-        "/org/sonar/plugins/surefire/SurefireSensorTest/shouldHandleTestSuiteDetails/").toURI()));
-
-    // 3 classes, 6 measures by class
-    verify(context, times(3)).saveMeasure(argThat(new IsResource(Scopes.FILE, Qualifiers.UNIT_TEST_FILE)),
-        eq(CoreMetrics.SKIPPED_TESTS), anyDouble());
-    verify(context, times(3)).saveMeasure(argThat(new IsResource(Scopes.FILE, Qualifiers.UNIT_TEST_FILE)),
-        eq(CoreMetrics.TESTS), anyDouble());
-    verify(context, times(18)).saveMeasure(argThat(new IsResource(Scopes.FILE, Qualifiers.UNIT_TEST_FILE)),
-        any(Metric.class), anyDouble());
-    verify(context, times(3)).saveMeasure(argThat(new IsResource(Scopes.FILE, Qualifiers.UNIT_TEST_FILE)),
-        argThat(new IsMeasure(CoreMetrics.TEST_DATA)));
-
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest", true)), eq(CoreMetrics.TESTS), eq(4d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest", true)), eq(CoreMetrics.TEST_EXECUTION_TIME),
-        eq(111d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest", true)), eq(CoreMetrics.TEST_FAILURES), eq(1d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest", true)), eq(CoreMetrics.TEST_ERRORS), eq(1d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest", true)), eq(CoreMetrics.SKIPPED_TESTS), eq(0d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest", true)),
-        argThat(getTestDetailsMatcher("shouldHandleTestSuiteDetails/ExtensionsFinderTest-expected-result.xml")));
-
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest2", true)), eq(CoreMetrics.TESTS), eq(2d));
-    verify(context)
-        .saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest2", true)), eq(CoreMetrics.TEST_EXECUTION_TIME), eq(2d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest2", true)), eq(CoreMetrics.TEST_FAILURES), eq(0d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest2", true)), eq(CoreMetrics.TEST_ERRORS), eq(0d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest2", true)), eq(CoreMetrics.SKIPPED_TESTS), eq(0d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest2", true)),
-        argThat(getTestDetailsMatcher("shouldHandleTestSuiteDetails/ExtensionsFinderTest2-expected-result.xml")));
-
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest3", true)), eq(CoreMetrics.TESTS), eq(1d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest3", true)), eq(CoreMetrics.TEST_EXECUTION_TIME),
-        eq(16d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest3", true)), eq(CoreMetrics.TEST_FAILURES), eq(0d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest3", true)), eq(CoreMetrics.TEST_ERRORS), eq(0d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest3", true)), eq(CoreMetrics.SKIPPED_TESTS), eq(1d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest3", true)),
-        argThat(getTestDetailsMatcher("shouldHandleTestSuiteDetails/ExtensionsFinderTest3-expected-result.xml")));
-  }
-
-  @Test
-  public void shouldSaveErrorsAndFailuresInXML() throws URISyntaxException {
-    SensorContext context = mockContext();
-    new SurefireSensor().collect(new Project("key"), context, new File(getClass().getResource(
-        "/org/sonar/plugins/surefire/SurefireSensorTest/shouldSaveErrorsAndFailuresInXML/").toURI()));
-
-    // 1 classes, 6 measures by class
-    verify(context, times(1)).saveMeasure(argThat(new IsResource(Scopes.FILE, Qualifiers.UNIT_TEST_FILE)),
-        eq(CoreMetrics.SKIPPED_TESTS), anyDouble());
-
-    verify(context, times(1)).saveMeasure(argThat(new IsResource(Scopes.FILE, Qualifiers.UNIT_TEST_FILE)),
-        eq(CoreMetrics.TESTS), anyDouble());
-    verify(context, times(6)).saveMeasure(argThat(new IsResource(Scopes.FILE, Qualifiers.UNIT_TEST_FILE)),
-        any(Metric.class), anyDouble());
-    verify(context, times(1)).saveMeasure(argThat(new IsResource(Scopes.FILE, Qualifiers.UNIT_TEST_FILE)),
-        argThat(new IsMeasure(CoreMetrics.TEST_DATA)));
-
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.core.ExtensionsFinderTest", true)),
-        argThat(getTestDetailsMatcher("shouldSaveErrorsAndFailuresInXML/expected-test-details.xml")));
-  }
-
-  @Test
-  public void shouldManageClassesWithDefaultPackage() throws URISyntaxException {
-    SensorContext context = mockContext();
-    new SurefireSensor().collect(new Project("key"), context, new File(getClass().getResource(
-        "/org/sonar/plugins/surefire/SurefireSensorTest/shouldManageClassesWithDefaultPackage/").toURI()));
-
-    verify(context).saveMeasure(new JavaFile("NoPackagesTest", true), CoreMetrics.TESTS, 2d);
-  }
-
-  @Test
-  public void successRatioIsZeroWhenAllTestsFail() throws URISyntaxException {
-    SensorContext context = mockContext();
-    new SurefireSensor().collect(new Project("key"), context, new File(getClass().getResource(
-        "/org/sonar/plugins/surefire/SurefireSensorTest/successRatioIsZeroWhenAllTestsFail/").toURI()));
-
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.Foo", true)), eq(CoreMetrics.TESTS), eq(2d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.Foo", true)), eq(CoreMetrics.TEST_FAILURES), eq(1d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.Foo", true)), eq(CoreMetrics.TEST_ERRORS), eq(1d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.Foo", true)), eq(CoreMetrics.TEST_SUCCESS_DENSITY), eq(0d));
-  }
-
-  @Test
-  public void measuresShouldNotIncludeSkippedTests() throws URISyntaxException {
-    SensorContext context = mockContext();
-    new SurefireSensor().collect(new Project("key"), context, new File(getClass().getResource(
-        "/org/sonar/plugins/surefire/SurefireSensorTest/measuresShouldNotIncludeSkippedTests/").toURI()));
-
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.Foo", true)), eq(CoreMetrics.TESTS), eq(2d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.Foo", true)), eq(CoreMetrics.TEST_FAILURES), eq(1d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.Foo", true)), eq(CoreMetrics.TEST_ERRORS), eq(0d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.Foo", true)), eq(CoreMetrics.SKIPPED_TESTS), eq(1d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.Foo", true)), eq(CoreMetrics.TEST_SUCCESS_DENSITY), eq(50d));
-  }
-
-  @Test
-  public void noSuccessRatioIfNoTests() throws URISyntaxException {
-    SensorContext context = mockContext();
-    new SurefireSensor().collect(new Project("key"), context, new File(getClass().getResource(
-        "/org/sonar/plugins/surefire/SurefireSensorTest/noSuccessRatioIfNoTests/").toURI()));
-
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.Foo", true)), eq(CoreMetrics.TESTS), eq(0d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.Foo", true)), eq(CoreMetrics.TEST_FAILURES), eq(0d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.Foo", true)), eq(CoreMetrics.TEST_ERRORS), eq(0d));
-    verify(context).saveMeasure(eq(new JavaFile("org.sonar.Foo", true)), eq(CoreMetrics.SKIPPED_TESTS), eq(2d));
-    verify(context, never()).saveMeasure(eq(new JavaFile("org.sonar.Foo")), eq(CoreMetrics.TEST_SUCCESS_DENSITY), anyDouble());
-  }
-
-  @Test
-  public void ignoreSuiteAsInnerClass() throws URISyntaxException {
-    SensorContext context = mockContext();
-    new SurefireSensor().collect(new Project("key"), context, new File(getClass().getResource(
-        "/org/sonar/plugins/surefire/SurefireSensorTest/ignoreSuiteAsInnerClass/").toURI()));
-
-    // ignore TestHandler$Input.xml
-    verify(context).saveMeasure(eq(new JavaFile("org.apache.shindig.protocol.TestHandler")), eq(CoreMetrics.TESTS), eq(0.0));
-    verify(context).saveMeasure(eq(new JavaFile("org.apache.shindig.protocol.TestHandler")), eq(CoreMetrics.SKIPPED_TESTS), eq(1.0));
-  }
-
-  private BaseMatcher<Measure> getTestDetailsMatcher(final String xmlBaseFile) {
-    return new BaseMatcher<Measure>() {
-
-      private Diff diff;
-
-      public boolean matches(Object obj) {
-        try {
-          if (!ObjectUtils.equals(CoreMetrics.TEST_DATA, ((Measure) obj).getMetric())) {
-            return false;
-          }
-
-          File expectedXML = new File(getClass().getResource("/org/sonar/plugins/surefire/SurefireSensorTest/" + xmlBaseFile).toURI());
-          XMLUnit.setIgnoreWhitespace(true);
-          XMLUnit.setIgnoreDiffBetweenTextAndCDATA(true);
-          XMLUnit.setNormalize(true);
-          XMLUnit.setNormalizeWhitespace(true);
-          diff = XMLUnit.compareXML(new FileReader(expectedXML), new StringReader(((Measure) obj).getData()));
-          return diff.similar();
-        } catch (Exception e) {
-          throw new RuntimeException(e);
-        }
-      }
-
-      public void describeTo(Description d) {
-        DetailedDiff dd = new DetailedDiff(diff);
-        d.appendText("XML differences in " + xmlBaseFile + ": " + dd.getAllDifferences());
-      }
-    };
-  }
-}
diff --git a/plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/api/AbstractSurefireParserTest.java b/plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/api/AbstractSurefireParserTest.java
deleted file mode 100644 (file)
index 7853b8d..0000000
+++ /dev/null
@@ -1,169 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.plugins.surefire.api;
-
-import org.junit.Test;
-import org.mockito.ArgumentMatcher;
-import org.sonar.api.batch.SensorContext;
-import org.sonar.api.measures.CoreMetrics;
-import org.sonar.api.measures.Metric;
-import org.sonar.api.resources.File;
-import org.sonar.api.resources.Project;
-import org.sonar.api.resources.Qualifiers;
-import org.sonar.api.resources.Resource;
-import org.sonar.api.resources.Scopes;
-import org.sonar.api.test.IsMeasure;
-import org.sonar.api.test.IsResource;
-
-import java.net.URISyntaxException;
-import java.util.Arrays;
-
-import static org.mockito.Matchers.any;
-import static org.mockito.Matchers.anyDouble;
-import static org.mockito.Matchers.argThat;
-import static org.mockito.Matchers.eq;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.never;
-import static org.mockito.Mockito.times;
-import static org.mockito.Mockito.verify;
-import static org.mockito.Mockito.when;
-
-public class AbstractSurefireParserTest {
-
-  @Test
-  public void shouldAggregateReports() throws URISyntaxException {
-    AbstractSurefireParser parser = newParser();
-    SensorContext context = mockContext();
-
-    parser.collect(new Project("foo"), context, getDir("multipleReports"));
-
-    // Only 6 tests measures should be stored, no more: the TESTS-AllTests.xml must not be read as there's 1 file result per unit test
-    // (SONAR-2841).
-    verify(context, times(6)).saveMeasure(argThat(new IsResource(Scopes.FILE, Qualifiers.FILE)), eq(CoreMetrics.TESTS), anyDouble());
-    verify(context, times(6)).saveMeasure(argThat(new IsResource(Scopes.FILE, Qualifiers.FILE)), eq(CoreMetrics.TEST_ERRORS), anyDouble());
-    verify(context, times(6)).saveMeasure(argThat(new IsResource(Scopes.FILE, Qualifiers.FILE)), argThat(new IsMeasure(CoreMetrics.TEST_DATA)));
-  }
-
-  // SONAR-2841: if there's only a test suite report, then it should be read.
-  @Test
-  public void shouldUseTestSuiteReportIfAlone() throws URISyntaxException {
-    AbstractSurefireParser parser = newParser();
-    SensorContext context = mockContext();
-
-    parser.collect(new Project("foo"), context, getDir("onlyTestSuiteReport"));
-
-    verify(context, times(2)).saveMeasure(argThat(new IsResource(Scopes.FILE, Qualifiers.FILE)), eq(CoreMetrics.TESTS), anyDouble());
-    verify(context, times(2)).saveMeasure(argThat(new IsResource(Scopes.FILE, Qualifiers.FILE)), eq(CoreMetrics.TEST_ERRORS), anyDouble());
-    verify(context, times(2)).saveMeasure(argThat(new IsResource(Scopes.FILE, Qualifiers.FILE)), argThat(new IsMeasure(CoreMetrics.TEST_DATA)));
-  }
-
-  /**
-   * See http://jira.codehaus.org/browse/SONAR-2371
-   */
-  @Test
-  public void shouldInsertZeroWhenNoReports() throws URISyntaxException {
-    AbstractSurefireParser parser = newParser();
-    SensorContext context = mockContext();
-    Project project = mock(Project.class);
-
-    parser.collect(project, context, getDir("noReports"));
-
-    verify(context).saveMeasure(CoreMetrics.TESTS, 0.0);
-  }
-
-  /**
-   * See http://jira.codehaus.org/browse/SONAR-2371
-   */
-  @Test
-  public void shouldNotInsertZeroWhenNoReports() throws URISyntaxException {
-    AbstractSurefireParser parser = newParser();
-    SensorContext context = mockContext();
-    Project project = mock(Project.class);
-    when(project.getModules()).thenReturn(Arrays.asList(new Project("foo")));
-
-    parser.collect(project, context, getDir("noReports"));
-
-    verify(context, never()).saveMeasure(CoreMetrics.TESTS, 0.0);
-  }
-
-  @Test
-  public void shouldNotInsertZeroOnFiles() throws URISyntaxException {
-    AbstractSurefireParser parser = newParser();
-    SensorContext context = mockContext();
-
-    parser.collect(new Project("foo"), context, getDir("noTests"));
-
-    verify(context, never()).saveMeasure(any(Resource.class), any(Metric.class), anyDouble());
-  }
-
-  @Test
-  public void shouldMergeInnerClasses() throws URISyntaxException {
-    AbstractSurefireParser parser = newParser();
-
-    SensorContext context = mock(SensorContext.class);
-    when(context.isIndexed(argThat(new ArgumentMatcher<Resource>() {
-      @Override
-      public boolean matches(Object o) {
-        return !((Resource) o).getName().contains("$");
-      }
-    }), eq(false))).thenReturn(true);
-
-    parser.collect(new Project("foo"), context, getDir("innerClasses"));
-
-    verify(context)
-        .saveMeasure(argThat(new IsResource(Scopes.FILE, Qualifiers.FILE, "org.apache.commons.collections.bidimap.AbstractTestBidiMap")), eq(CoreMetrics.TESTS), eq(7.0));
-    verify(context).saveMeasure(argThat(new IsResource(Scopes.FILE, Qualifiers.FILE, "org.apache.commons.collections.bidimap.AbstractTestBidiMap")), eq(CoreMetrics.TEST_ERRORS),
-        eq(1.0));
-    verify(context, never()).saveMeasure(argThat(new IsResource(Scopes.FILE, Qualifiers.FILE, "org.apache.commons.collections.bidimap.AbstractTestBidiMap$TestBidiMapEntrySet")),
-        any(Metric.class), anyDouble());
-  }
-
-  @Test
-  public void shouldMergeNestedInnerClasses() throws URISyntaxException {
-    AbstractSurefireParser parser = newParser();
-
-    SensorContext context = mockContext();
-    parser.collect(new Project("foo"), context, getDir("nestedInnerClasses"));
-
-    verify(context).saveMeasure(
-        argThat(new IsResource(Scopes.FILE, Qualifiers.FILE, "org.sonar.plugins.surefire.NestedInnerTest")),
-        eq(CoreMetrics.TESTS),
-        eq(3.0));
-  }
-
-  private AbstractSurefireParser newParser() {
-    return new AbstractSurefireParser() {
-      @Override
-      protected Resource<?> getUnitTestResource(String classKey) {
-        return new File(classKey);
-      }
-    };
-  }
-
-  private java.io.File getDir(String dirname) throws URISyntaxException {
-    return new java.io.File(getClass().getResource("/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/" + dirname).toURI());
-  }
-
-  private SensorContext mockContext() {
-    SensorContext context = mock(SensorContext.class);
-    when(context.isIndexed(any(Resource.class), eq(false))).thenReturn(true);
-    return context;
-  }
-}
diff --git a/plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/api/SurefireUtilsTest.java b/plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/api/SurefireUtilsTest.java
deleted file mode 100644 (file)
index 0be6b98..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.plugins.surefire.api;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-
-import org.junit.Test;
-import org.sonar.api.resources.Project;
-import org.sonar.api.test.MavenTestUtils;
-
-public class SurefireUtilsTest {
-
-  @Test
-  public void shouldGetReportsFromProperty() {
-    Project project = MavenTestUtils.loadProjectFromPom(getClass(), "shouldGetReportsFromProperty/pom.xml");
-    assertThat(SurefireUtils.getReportsDirectory(project).exists(), is(true));
-    assertThat(SurefireUtils.getReportsDirectory(project).isDirectory(), is(true));
-  }
-
-  @Test
-  public void shouldGetReportsFromPluginConfiguration() {
-    Project project = MavenTestUtils.loadProjectFromPom(getClass(), "shouldGetReportsFromPluginConfiguration/pom.xml");
-    assertThat(SurefireUtils.getReportsDirectory(project).exists(), is(true));
-    assertThat(SurefireUtils.getReportsDirectory(project).isDirectory(), is(true));
-  }
-
-}
diff --git a/plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest.java b/plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest.java
deleted file mode 100644 (file)
index e99590d..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.plugins.surefire.data;
-
-import org.junit.Before;
-import org.junit.Test;
-import org.sonar.api.utils.StaxParser;
-import org.sonar.test.TestUtils;
-
-import javax.xml.stream.XMLStreamException;
-import java.io.File;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.Matchers.startsWith;
-import static org.junit.Assert.assertThat;
-
-public class SurefireStaxHandlerTest {
-
-  private UnitTestIndex index;
-
-  @Before
-  public void setUp() {
-    index = new UnitTestIndex();
-  }
-
-  @Test
-  public void shouldLoadInnerClasses() throws XMLStreamException {
-    parse("innerClasses.xml");
-
-    UnitTestClassReport publicClass = index.get("org.apache.commons.collections.bidimap.AbstractTestBidiMap");
-    assertThat(publicClass.getTests(), is(2L));
-
-    UnitTestClassReport innerClass1 = index.get("org.apache.commons.collections.bidimap.AbstractTestBidiMap$TestBidiMapEntrySet");
-    assertThat(innerClass1.getTests(), is(2L));
-
-    UnitTestClassReport innerClass2 = index.get("org.apache.commons.collections.bidimap.AbstractTestBidiMap$TestInverseBidiMap");
-    assertThat(innerClass2.getTests(), is(3L));
-    assertThat(innerClass2.getDurationMilliseconds(), is(30 + 1L));
-    assertThat(innerClass2.getErrors(), is(1L));
-  }
-
-  @Test
-  public void shouldSuiteAsInnerClass() throws XMLStreamException {
-    parse("suiteInnerClass.xml");
-    assertThat(index.size(), is(0));
-  }
-
-  @Test
-  public void shouldHaveSkippedTests() throws XMLStreamException {
-    parse("skippedTests.xml");
-    UnitTestClassReport report = index.get("org.sonar.Foo");
-    assertThat(report.getTests(), is(3L));
-    assertThat(report.getSkipped(), is(1L));
-  }
-
-  @Test
-  public void shouldHaveZeroTests() throws XMLStreamException {
-    parse("zeroTests.xml");
-    assertThat(index.size(), is(0));
-  }
-
-  @Test
-  public void shouldHaveTestOnRootPackage() throws XMLStreamException {
-    parse("rootPackage.xml");
-    assertThat(index.size(), is(1));
-    UnitTestClassReport report = index.get("NoPackagesTest");
-    assertThat(report.getTests(), is(2L));
-  }
-
-  @Test
-  public void shouldHaveErrorsAndFailures() throws XMLStreamException {
-    parse("errorsAndFailures.xml");
-    UnitTestClassReport report = index.get("org.sonar.Foo");
-    assertThat(report.getErrors(), is(1L));
-    assertThat(report.getFailures(), is(1L));
-    assertThat(report.getResults().size(), is(2));
-
-    // failure
-    UnitTestResult failure = report.getResults().get(0);
-    assertThat(failure.getDurationMilliseconds(), is(5L));
-    assertThat(failure.getStatus(), is(UnitTestResult.STATUS_FAILURE));
-    assertThat(failure.getName(), is("testOne"));
-    assertThat(failure.getMessage(), startsWith("expected"));
-
-    // error
-    UnitTestResult error = report.getResults().get(1);
-    assertThat(error.getDurationMilliseconds(), is(0L));
-    assertThat(error.getStatus(), is(UnitTestResult.STATUS_ERROR));
-    assertThat(error.getName(), is("testTwo"));
-  }
-
-  @Test
-  public void shouldSupportMultipleSuitesInSameReport() throws XMLStreamException {
-    parse("multipleSuites.xml");
-
-    assertThat(index.get("org.sonar.JavaNCSSCollectorTest").getTests(), is(11L));
-    assertThat(index.get("org.sonar.SecondTest").getTests(), is(4L));
-  }
-
-  private void parse(String path) throws XMLStreamException {
-    File xml = TestUtils.getResource(getClass(), path);
-    SurefireStaxHandler staxParser = new SurefireStaxHandler(index);
-    StaxParser parser = new StaxParser(staxParser, false);
-    parser.parse(xml);
-  }
-}
diff --git a/plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/data/UnitTestClassReportTest.java b/plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/data/UnitTestClassReportTest.java
deleted file mode 100644 (file)
index ecc845d..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.plugins.surefire.data;
-
-import org.junit.Test;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.MatcherAssert.assertThat;
-
-public class UnitTestClassReportTest {
-  @Test
-  public void shouldExportToXml() {
-    UnitTestClassReport report = new UnitTestClassReport();
-    report.add(new UnitTestResult().setStatus(UnitTestResult.STATUS_ERROR).setDurationMilliseconds(500L));
-    report.add(new UnitTestResult().setStatus(UnitTestResult.STATUS_OK).setDurationMilliseconds(200L));
-
-    String xml = report.toXml();
-
-    assertThat(xml, is("<tests-details><testcase status=\"error\" time=\"500\" name=\"null\"><error message=\"null\"><![CDATA[null]]></error></testcase><testcase status=\"ok\" time=\"200\" name=\"null\"/></tests-details>"));
-  }
-
-  @Test
-  public void shouldIncrementCounters() {
-    UnitTestClassReport report = new UnitTestClassReport();
-    report.add(new UnitTestResult().setStatus(UnitTestResult.STATUS_ERROR).setDurationMilliseconds(500L));
-    report.add(new UnitTestResult().setStatus(UnitTestResult.STATUS_OK).setDurationMilliseconds(200L));
-    report.add(new UnitTestResult().setStatus(UnitTestResult.STATUS_SKIPPED));
-
-    assertThat(report.getResults().size(), is(3));
-    assertThat(report.getSkipped(), is(1L));
-    assertThat(report.getTests(), is(3L));
-    assertThat(report.getDurationMilliseconds(), is(500L + 200L));
-    assertThat(report.getErrors(), is(1L));
-    assertThat(report.getFailures(), is(0L));
-  }
-
-  @Test
-  public void shouldHaveEmptyReport() {
-    UnitTestClassReport report = new UnitTestClassReport();
-    assertThat(report.getResults().size(), is(0));
-    assertThat(report.getSkipped(), is(0L));
-    assertThat(report.getTests(), is(0L));
-    assertThat(report.getDurationMilliseconds(), is(0L));
-    assertThat(report.getErrors(), is(0L));
-    assertThat(report.getFailures(), is(0L));
-  }
-}
diff --git a/plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/data/UnitTestIndexTest.java b/plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/data/UnitTestIndexTest.java
deleted file mode 100644 (file)
index 3ca1ce7..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.plugins.surefire.data;
-
-import org.junit.Test;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.CoreMatchers.nullValue;
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.junit.Assert.assertSame;
-
-public class UnitTestIndexTest {
-
-  @Test
-  public void shouldIndexNewClassname() {
-    UnitTestIndex index = new UnitTestIndex();
-
-    UnitTestClassReport report = index.index("org.sonar.Foo");
-
-    assertThat(report.getTests(), is(0L));
-    assertThat(index.size(), is(1));
-    assertSame(index.get("org.sonar.Foo"), report);
-  }
-
-  @Test
-  public void shouldNotReIndex() {
-    UnitTestIndex index = new UnitTestIndex();
-
-    UnitTestClassReport report1 = index.index("org.sonar.Foo");
-    UnitTestClassReport report2 = index.index("org.sonar.Foo");
-
-    assertSame(report1, report2);
-    assertThat(report1.getTests(), is(0L));
-    assertThat(index.size(), is(1));
-    assertSame(index.get("org.sonar.Foo"), report1);
-  }
-
-  @Test
-  public void shouldRemoveClassname() {
-    UnitTestIndex index = new UnitTestIndex();
-
-    index.index("org.sonar.Foo");
-    index.remove("org.sonar.Foo");
-
-    assertThat(index.size(), is(0));
-    assertThat(index.get("org.sonar.Foo"), nullValue());
-  }
-
-  @Test
-  public void shouldMergeClasses() {
-    UnitTestIndex index = new UnitTestIndex();
-    UnitTestClassReport innerClass = index.index("org.sonar.Foo$Bar");
-    innerClass.add(new UnitTestResult().setStatus(UnitTestResult.STATUS_ERROR).setDurationMilliseconds(500L));
-    innerClass.add(new UnitTestResult().setStatus(UnitTestResult.STATUS_OK).setDurationMilliseconds(200L));
-    UnitTestClassReport publicClass = index.index("org.sonar.Foo");
-    publicClass.add(new UnitTestResult().setStatus(UnitTestResult.STATUS_ERROR).setDurationMilliseconds(1000L));
-    publicClass.add(new UnitTestResult().setStatus(UnitTestResult.STATUS_FAILURE).setDurationMilliseconds(350L));
-
-    index.merge("org.sonar.Foo$Bar", "org.sonar.Foo");
-
-    assertThat(index.size(), is(1));
-    UnitTestClassReport report = index.get("org.sonar.Foo");
-    assertThat(report.getTests(), is(4L));
-    assertThat(report.getFailures(), is(1L));
-    assertThat(report.getErrors(), is(2L));
-    assertThat(report.getSkipped(), is(0L));
-    assertThat(report.getResults().size(), is(4));
-    assertThat(report.getDurationMilliseconds(), is(500L + 200L + 1000L + 350L));
-  }
-
-  @Test
-  public void shouldRenameClassWhenMergingToNewClass() {
-    UnitTestIndex index = new UnitTestIndex();
-    UnitTestClassReport innerClass = index.index("org.sonar.Foo$Bar");
-    innerClass.add(new UnitTestResult().setStatus(UnitTestResult.STATUS_ERROR).setDurationMilliseconds(500L));
-    innerClass.add(new UnitTestResult().setStatus(UnitTestResult.STATUS_OK).setDurationMilliseconds(200L));
-
-    index.merge("org.sonar.Foo$Bar", "org.sonar.Foo");
-
-    assertThat(index.size(), is(1));
-    UnitTestClassReport report = index.get("org.sonar.Foo");
-    assertThat(report.getTests(), is(2L));
-    assertThat(report.getFailures(), is(0L));
-    assertThat(report.getErrors(), is(1L));
-    assertThat(report.getSkipped(), is(0L));
-    assertThat(report.getResults().size(), is(2));
-    assertThat(report.getDurationMilliseconds(), is(500L + 200L));
-  }
-
-  @Test
-  public void shouldNotFailWhenMergingUnknownClass() {
-    UnitTestIndex index = new UnitTestIndex();
-
-    index.merge("org.sonar.Foo$Bar", "org.sonar.Foo");
-
-    assertThat(index.size(), is(0));
-  }
-}
diff --git a/plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/data/UnitTestResultTest.java b/plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/data/UnitTestResultTest.java
deleted file mode 100644 (file)
index d990276..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.plugins.surefire.data;
-
-import org.junit.Test;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-
-public class UnitTestResultTest {
-
-  @Test
-  public void shouldBeError() {
-    UnitTestResult result = new UnitTestResult().setStatus(UnitTestResult.STATUS_ERROR);
-    assertThat(result.getStatus(), is(UnitTestResult.STATUS_ERROR));
-    assertThat(result.isError(), is(true));
-    assertThat(result.isErrorOrFailure(), is(true));
-  }
-
-  @Test
-  public void shouldBeFailure() {
-    UnitTestResult result = new UnitTestResult().setStatus(UnitTestResult.STATUS_FAILURE);
-    assertThat(result.getStatus(), is(UnitTestResult.STATUS_FAILURE));
-    assertThat(result.isError(), is(false));
-    assertThat(result.isErrorOrFailure(), is(true));
-  }
-
-  @Test
-  public void shouldBeSuccess() {
-    UnitTestResult result = new UnitTestResult().setStatus(UnitTestResult.STATUS_OK);
-    assertThat(result.getStatus(), is(UnitTestResult.STATUS_OK));
-    assertThat(result.isError(), is(false));
-    assertThat(result.isErrorOrFailure(), is(false));
-  }
-
-  @Test
-  public void shouldExportSuccessToXml() {
-    UnitTestResult result = new UnitTestResult().setStatus(UnitTestResult.STATUS_OK);
-    result.setDurationMilliseconds(520L);
-    result.setName("testOne");
-
-    assertThat(result.toXml(), is("<testcase status=\"ok\" time=\"520\" name=\"testOne\"/>"));
-  }
-
-  @Test
-  public void shouldExportErrorToXml() {
-    UnitTestResult result = new UnitTestResult().setStatus(UnitTestResult.STATUS_ERROR);
-    result.setDurationMilliseconds(580L);
-    result.setName("testOne");
-    result.setStackTrace("java.lang.RuntimeException");
-    result.setMessage("expected xxx");
-
-    assertThat(result.toXml(), is("<testcase status=\"error\" time=\"580\" name=\"testOne\"><error message=\"expected xxx\"><![CDATA[java.lang.RuntimeException]]></error></testcase>"));
-  }
-}
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/doNotSaveInnerClasses/TEST-org.apache.commons.collections.TestAllPackages.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/doNotSaveInnerClasses/TEST-org.apache.commons.collections.TestAllPackages.xml
deleted file mode 100644 (file)
index e3f5933..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite failures="0" time="157.199" errors="18" skipped="0" tests="13025"
-           name="org.apache.commons.collections.TestAllPackages">
-  <properties>
-    <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
-    <property name="sun.boot.library.path"
-              value="/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Libraries"/>
-    <property name="java.vm.version" value="11.3-b02-83"/>
-  </properties>
-  <testcase time="0.012" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap"
-            name="testMapEntrySetIteratorEntrySetValueCrossCheck"/>
-  <testcase time="0.001" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap"
-            name="testMapEntrySetIteratorEntry"/>
-  <testcase time="0.001" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap$TestBidiMapEntrySet"
-            name="testCanonicalEmptyCollectionExists"/>
-  <testcase time="0" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap$TestBidiMapEntrySet"
-            name="testCanonicalFullCollectionExists"/>
-  <testcase time="0.03" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap$TestInverseBidiMap"
-            name="testMapPut"/>
-  <testcase time="0" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap$TestInverseBidiMap"
-            name="testMapPutNullKey"/>
-  <testcase time="0.001" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap$TestInverseBidiMap"
-            name="testMapPutNullValue">
-    <error
-        message="org.apache.commons.collections.FastArrayList; local class incompatible: stream classdesc serialVersionUID = 1566341225434603896, local class serialVersionUID = 7918928878747177577"
-        type="java.io.InvalidClassException">java.io.InvalidClassException:
-      org.apache.commons.collections.FastArrayList;
-      local class incompatible: stream classdesc serialVersionUID = 1566341225434603896, local class serialVersionUID =
-      7918928878747177577
-      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
-      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
-      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
-      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
-      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
-      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
-      at org.apache.commons.collections.AbstractTestObject.readExternalFormFromStream(AbstractTestObject.java:326)
-      at org.apache.commons.collections.AbstractTestObject.readExternalFormFromDisk(AbstractTestObject.java:301)
-      at org.apache.commons.collections.list.AbstractTestList.testEmptyListCompatibility(AbstractTestList.java:1077)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:597)
-      at junit.framework.TestCase.runTest(TestCase.java:154)
-      at junit.framework.TestCase.runBare(TestCase.java:127)
-      at junit.framework.TestResult$1.protect(TestResult.java:106)
-      at junit.framework.TestResult.runProtected(TestResult.java:124)
-      at junit.framework.TestResult.run(TestResult.java:109)
-      at junit.framework.TestCase.run(TestCase.java:118)
-      at junit.framework.TestSuite.runTest(TestSuite.java:208)
-      at junit.framework.TestSuite.run(TestSuite.java:203)
-      at junit.framework.TestSuite.runTest(TestSuite.java:208)
-      at junit.framework.TestSuite.run(TestSuite.java:203)
-      at junit.framework.TestSuite.runTest(TestSuite.java:208)
-      at junit.framework.TestSuite.run(TestSuite.java:203)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:597)
-      at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
-      at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:597)
-      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
-      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
-    </error>
-  </testcase>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/ignoreSuiteAsInnerClass/TEST-org.apache.shindig.protocol.TestHandler$Input.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/ignoreSuiteAsInnerClass/TEST-org.apache.shindig.protocol.TestHandler$Input.xml
deleted file mode 100644 (file)
index 9984c04..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="1" tests="1" time="0" failures="0" name="org.apache.shindig.protocol.TestHandler$Input">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries" name="sun.boot.library.path"/>
-    <property value="1.5.0_19-137" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="Apple Inc." name="java.vm.vendor"/>
-    <property value="http://www.apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="target/test-classes/logging.properties" name="java.util.logging.config.file"/>
-    <property value="US" name="user.country"/>
-    <property value="SUN_STANDARD" name="sun.java.launcher"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/simon/projects/shindig/java/common" name="user.dir"/>
-    <property value="1.5.0_19-b02-304" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/simon/projects/shindig/java/common" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed" name="java.endorsed.dirs"/>
-    <property value="i386" name="os.arch"/>
-    <property value="/var/folders/uV/uVfBAWUpFX0gPfeUuu2yaU+++TI/-Tmp-/surefirebooter4356411895122546772.jar" name="surefire.real.class.path"/>
-    <property value="/var/folders/uV/uVfBAWUpFX0gPfeUuu2yaU+++TI/-Tmp-/" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value="/Applications/jprofiler5/bin/macos:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java" name="java.library.path"/>
-    <property value="/Users/simon/projects/shindig/java/common/target/test-classes:/Users/simon/projects/shindig/java/common/target/generated-classes/cobertura:/Users/simon/.m2/repository/net/oauth/core/oauth/20090531/oauth-20090531.jar:/Users/simon/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar:/Users/simon/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/simon/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/simon/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar:/Users/simon/.m2/repository/net/sourceforge/cobertura/cobertura/1.9/cobertura-1.9.jar:/Users/simon/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar:/Users/simon/.m2/repository/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar:/Users/simon/.m2/repository/joda-time/joda-time/1.6/joda-time-1.6.jar:/Users/simon/.m2/repository/net/sf/ehcache/ehcache/1.6.1/ehcache-1.6.1.jar:/Users/simon/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar:/Users/simon/.m2/repository/de/odysseus/juel/juel-impl/2.1.2/juel-impl-2.1.2.jar:/Users/simon/.m2/repository/de/odysseus/juel/juel-api/2.1.2/juel-api-2.1.2.jar:/Users/simon/.m2/repository/commons-fileupload/commons-fileupload/1.2/commons-fileupload-1.2.jar:/Users/simon/.m2/repository/org/json/json/20070829/json-20070829.jar:/Users/simon/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/Users/simon/.m2/repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar:/Users/simon/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar:/Users/simon/.m2/repository/xmlunit/xmlunit/1.2/xmlunit-1.2.jar:/Users/simon/.m2/repository/org/easymock/easymockclassextension/2.4/easymockclassextension-2.4.jar:/Users/simon/.m2/repository/org/easymock/easymock/2.5.1/easymock-2.5.1.jar:/Users/simon/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/simon/.m2/repository/junit/junit/4.5/junit-4.5.jar:/Users/simon/.m2/repository/junit-addons/junit-addons/1.4/junit-addons-1.4.jar:/Users/simon/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar:/Users/simon/.m2/repository/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar:/Users/simon/.m2/repository/com/google/collections/google-collections/1.0-rc2/google-collections-1.0-rc2.jar:/Users/simon/.m2/repository/com/google/code/guice/guice/2.0/guice-2.0.jar:/Users/simon/.m2/repository/commons-betwixt/commons-betwixt/0.8/commons-betwixt-0.8.jar:/Users/simon/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar:/Users/simon/.m2/repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar:/Users/simon/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/simon/.m2/repository/commons-digester/commons-digester/1.7/commons-digester-1.7.jar:/Users/simon/.m2/repository/commons-beanutils/commons-beanutils/1.6/commons-beanutils-1.6.jar:" name="surefire.test.class.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.5.8" name="os.version"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="http.nonProxyHosts"/>
-    <property value="/Users/simon" name="user.home"/>
-    <property value="Europe/Zurich" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="simon" name="user.name"/>
-    <property value="/Users/simon/projects/shindig/java/common/target/test-classes:/Users/simon/projects/shindig/java/common/target/generated-classes/cobertura:/Users/simon/.m2/repository/net/oauth/core/oauth/20090531/oauth-20090531.jar:/Users/simon/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar:/Users/simon/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/simon/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/simon/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar:/Users/simon/.m2/repository/net/sourceforge/cobertura/cobertura/1.9/cobertura-1.9.jar:/Users/simon/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar:/Users/simon/.m2/repository/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar:/Users/simon/.m2/repository/joda-time/joda-time/1.6/joda-time-1.6.jar:/Users/simon/.m2/repository/net/sf/ehcache/ehcache/1.6.1/ehcache-1.6.1.jar:/Users/simon/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar:/Users/simon/.m2/repository/de/odysseus/juel/juel-impl/2.1.2/juel-impl-2.1.2.jar:/Users/simon/.m2/repository/de/odysseus/juel/juel-api/2.1.2/juel-api-2.1.2.jar:/Users/simon/.m2/repository/commons-fileupload/commons-fileupload/1.2/commons-fileupload-1.2.jar:/Users/simon/.m2/repository/org/json/json/20070829/json-20070829.jar:/Users/simon/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/Users/simon/.m2/repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar:/Users/simon/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar:/Users/simon/.m2/repository/xmlunit/xmlunit/1.2/xmlunit-1.2.jar:/Users/simon/.m2/repository/org/easymock/easymockclassextension/2.4/easymockclassextension-2.4.jar:/Users/simon/.m2/repository/org/easymock/easymock/2.5.1/easymock-2.5.1.jar:/Users/simon/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/simon/.m2/repository/junit/junit/4.5/junit-4.5.jar:/Users/simon/.m2/repository/junit-addons/junit-addons/1.4/junit-addons-1.4.jar:/Users/simon/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar:/Users/simon/.m2/repository/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar:/Users/simon/.m2/repository/com/google/collections/google-collections/1.0-rc2/google-collections-1.0-rc2.jar:/Users/simon/.m2/repository/com/google/code/guice/guice/2.0/guice-2.0.jar:/Users/simon/.m2/repository/commons-betwixt/commons-betwixt/0.8/commons-betwixt-0.8.jar:/Users/simon/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar:/Users/simon/.m2/repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar:/Users/simon/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/simon/.m2/repository/commons-digester/commons-digester/1.7/commons-digester-1.7.jar:/Users/simon/.m2/repository/commons-beanutils/commons-beanutils/1.6/commons-beanutils-1.6.jar:" name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="en" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_19" name="java.version"/>
-    <property value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext" name="java.ext.dirs"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsfd.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar" name="sun.boot.class.path"/>
-    <property value="Apple Inc." name="java.vendor"/>
-    <property value="/Users/simon/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://bugreport.apple.com/" name="java.vendor.url.bug"/>
-    <property value="little" name="sun.cpu.endian"/>
-    <property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
-    <property value="1050.1.5.0_19-304" name="mrj.version"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="socksNonProxyHosts"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="ftp.nonProxyHosts"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-  <testcase classname="org.apache.shindig.protocol.TestHandler$Input" time="0.007" name="org.apache.shindig.protocol.TestHandler$Input">
-    <skipped/>
-  </testcase>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/ignoreSuiteAsInnerClass/TEST-org.apache.shindig.protocol.TestHandler.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/ignoreSuiteAsInnerClass/TEST-org.apache.shindig.protocol.TestHandler.xml
deleted file mode 100644 (file)
index 253127c..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="1" tests="1" time="0.001" failures="0" name="org.apache.shindig.protocol.TestHandler">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries" name="sun.boot.library.path"/>
-    <property value="1.5.0_19-137" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="Apple Inc." name="java.vm.vendor"/>
-    <property value="http://www.apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="target/test-classes/logging.properties" name="java.util.logging.config.file"/>
-    <property value="US" name="user.country"/>
-    <property value="SUN_STANDARD" name="sun.java.launcher"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/simon/projects/shindig/java/common" name="user.dir"/>
-    <property value="1.5.0_19-b02-304" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/simon/projects/shindig/java/common" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed" name="java.endorsed.dirs"/>
-    <property value="i386" name="os.arch"/>
-    <property value="/var/folders/uV/uVfBAWUpFX0gPfeUuu2yaU+++TI/-Tmp-/surefirebooter4356411895122546772.jar" name="surefire.real.class.path"/>
-    <property value="/var/folders/uV/uVfBAWUpFX0gPfeUuu2yaU+++TI/-Tmp-/" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value="/Applications/jprofiler5/bin/macos:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java" name="java.library.path"/>
-    <property value="/Users/simon/projects/shindig/java/common/target/test-classes:/Users/simon/projects/shindig/java/common/target/generated-classes/cobertura:/Users/simon/.m2/repository/net/oauth/core/oauth/20090531/oauth-20090531.jar:/Users/simon/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar:/Users/simon/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/simon/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/simon/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar:/Users/simon/.m2/repository/net/sourceforge/cobertura/cobertura/1.9/cobertura-1.9.jar:/Users/simon/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar:/Users/simon/.m2/repository/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar:/Users/simon/.m2/repository/joda-time/joda-time/1.6/joda-time-1.6.jar:/Users/simon/.m2/repository/net/sf/ehcache/ehcache/1.6.1/ehcache-1.6.1.jar:/Users/simon/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar:/Users/simon/.m2/repository/de/odysseus/juel/juel-impl/2.1.2/juel-impl-2.1.2.jar:/Users/simon/.m2/repository/de/odysseus/juel/juel-api/2.1.2/juel-api-2.1.2.jar:/Users/simon/.m2/repository/commons-fileupload/commons-fileupload/1.2/commons-fileupload-1.2.jar:/Users/simon/.m2/repository/org/json/json/20070829/json-20070829.jar:/Users/simon/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/Users/simon/.m2/repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar:/Users/simon/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar:/Users/simon/.m2/repository/xmlunit/xmlunit/1.2/xmlunit-1.2.jar:/Users/simon/.m2/repository/org/easymock/easymockclassextension/2.4/easymockclassextension-2.4.jar:/Users/simon/.m2/repository/org/easymock/easymock/2.5.1/easymock-2.5.1.jar:/Users/simon/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/simon/.m2/repository/junit/junit/4.5/junit-4.5.jar:/Users/simon/.m2/repository/junit-addons/junit-addons/1.4/junit-addons-1.4.jar:/Users/simon/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar:/Users/simon/.m2/repository/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar:/Users/simon/.m2/repository/com/google/collections/google-collections/1.0-rc2/google-collections-1.0-rc2.jar:/Users/simon/.m2/repository/com/google/code/guice/guice/2.0/guice-2.0.jar:/Users/simon/.m2/repository/commons-betwixt/commons-betwixt/0.8/commons-betwixt-0.8.jar:/Users/simon/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar:/Users/simon/.m2/repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar:/Users/simon/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/simon/.m2/repository/commons-digester/commons-digester/1.7/commons-digester-1.7.jar:/Users/simon/.m2/repository/commons-beanutils/commons-beanutils/1.6/commons-beanutils-1.6.jar:" name="surefire.test.class.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.5.8" name="os.version"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="http.nonProxyHosts"/>
-    <property value="/Users/simon" name="user.home"/>
-    <property value="Europe/Zurich" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="simon" name="user.name"/>
-    <property value="/Users/simon/projects/shindig/java/common/target/test-classes:/Users/simon/projects/shindig/java/common/target/generated-classes/cobertura:/Users/simon/.m2/repository/net/oauth/core/oauth/20090531/oauth-20090531.jar:/Users/simon/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar:/Users/simon/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/simon/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/simon/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar:/Users/simon/.m2/repository/net/sourceforge/cobertura/cobertura/1.9/cobertura-1.9.jar:/Users/simon/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar:/Users/simon/.m2/repository/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar:/Users/simon/.m2/repository/joda-time/joda-time/1.6/joda-time-1.6.jar:/Users/simon/.m2/repository/net/sf/ehcache/ehcache/1.6.1/ehcache-1.6.1.jar:/Users/simon/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar:/Users/simon/.m2/repository/de/odysseus/juel/juel-impl/2.1.2/juel-impl-2.1.2.jar:/Users/simon/.m2/repository/de/odysseus/juel/juel-api/2.1.2/juel-api-2.1.2.jar:/Users/simon/.m2/repository/commons-fileupload/commons-fileupload/1.2/commons-fileupload-1.2.jar:/Users/simon/.m2/repository/org/json/json/20070829/json-20070829.jar:/Users/simon/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/Users/simon/.m2/repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar:/Users/simon/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar:/Users/simon/.m2/repository/xmlunit/xmlunit/1.2/xmlunit-1.2.jar:/Users/simon/.m2/repository/org/easymock/easymockclassextension/2.4/easymockclassextension-2.4.jar:/Users/simon/.m2/repository/org/easymock/easymock/2.5.1/easymock-2.5.1.jar:/Users/simon/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/simon/.m2/repository/junit/junit/4.5/junit-4.5.jar:/Users/simon/.m2/repository/junit-addons/junit-addons/1.4/junit-addons-1.4.jar:/Users/simon/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar:/Users/simon/.m2/repository/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar:/Users/simon/.m2/repository/com/google/collections/google-collections/1.0-rc2/google-collections-1.0-rc2.jar:/Users/simon/.m2/repository/com/google/code/guice/guice/2.0/guice-2.0.jar:/Users/simon/.m2/repository/commons-betwixt/commons-betwixt/0.8/commons-betwixt-0.8.jar:/Users/simon/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar:/Users/simon/.m2/repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar:/Users/simon/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/simon/.m2/repository/commons-digester/commons-digester/1.7/commons-digester-1.7.jar:/Users/simon/.m2/repository/commons-beanutils/commons-beanutils/1.6/commons-beanutils-1.6.jar:" name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="en" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_19" name="java.version"/>
-    <property value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext" name="java.ext.dirs"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsfd.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar" name="sun.boot.class.path"/>
-    <property value="Apple Inc." name="java.vendor"/>
-    <property value="/Users/simon/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://bugreport.apple.com/" name="java.vendor.url.bug"/>
-    <property value="little" name="sun.cpu.endian"/>
-    <property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
-    <property value="1050.1.5.0_19-304" name="mrj.version"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="socksNonProxyHosts"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="ftp.nonProxyHosts"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-  <testcase classname="org.apache.shindig.protocol.TestHandler" time="0.003" name="org.apache.shindig.protocol.TestHandler">
-    <skipped/>
-  </testcase>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/many-results/TEST-ch.hortis.sonar.mvn.SonarMojoTest.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/many-results/TEST-ch.hortis.sonar.mvn.SonarMojoTest.xml
deleted file mode 100644 (file)
index c11af66..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="5" time="9.138" failures="0" name="ch.hortis.sonar.mvn.SonarMojoTest">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="1.5.0_06-64" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="&quot;Apple Computer, Inc.&quot;" name="java.vm.vendor"/>
-    <property value="http://apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="FR" name="user.country"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="user.dir"/>
-    <property value="1.5.0_06-112" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="ppc" name="os.arch"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.4.8" name="os.version"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="Europe/Zurich" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="cmunger" name="user.name"/>
-    <property
-        value="/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/Users/cmunger/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar"
-        name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="fr" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_06" name="java.version"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="Apple Computer, Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://developer.apple.com/java/" name="java.vendor.url.bug"/>
-    <property value="big" name="sun.cpu.endian"/>
-    <property value="UnicodeBig" name="sun.io.unicode.encoding"/>
-    <property value="1040.1.5.0_06-112" name="mrj.version"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-  <testcase time="0.035" name="testGetUnKnownCollector"/>
-  <testcase time="0" name="testGetJDependsCollector"/>
-  <testcase time="0" name="testGetJavaNCSSCollector"/>
-  <testcase time="0" name="testGetCloverCollector"/>
-  <testcase time="0.644" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.015" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.044" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.013" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.024" name="testGetEmptyJdbcPassword"/>
-  <testcase time="6.889" name="testPopulateWithoutAnyReport"/>
-  <testcase time="0.697" name="testPopulateWithJavaNcssReport"/>
-  <testcase time="0.665" name="testPopulateWithJDependsReport"/>
-  <testcase time="0.283" name="testPopulateWithCloverReport"/>
-  <testcase time="0.592" name="testPopulateWithCheckstyleReport"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/many-results/TEST-ch.hortis.sonar.mvn.mc.CheckstyleCollectorTest.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/many-results/TEST-ch.hortis.sonar.mvn.mc.CheckstyleCollectorTest.xml
deleted file mode 100644 (file)
index 71e443d..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="2" time="1,134.193" failures="0"
-           name="ch.hortis.sonar.mvn.mc.CheckstyleCollectorTest">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="1.5.0_06-64" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="&quot;Apple Computer, Inc.&quot;" name="java.vm.vendor"/>
-    <property value="http://apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="FR" name="user.country"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="user.dir"/>
-    <property value="1.5.0_06-112" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="ppc" name="os.arch"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.4.8" name="os.version"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="cmunger" name="user.name"/>
-    <property
-        value="/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/Users/cmunger/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar"
-        name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="fr" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_06" name="java.version"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="Apple Computer, Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://developer.apple.com/java/" name="java.vendor.url.bug"/>
-    <property value="big" name="sun.cpu.endian"/>
-    <property value="UnicodeBig" name="sun.io.unicode.encoding"/>
-    <property value="1040.1.5.0_06-112" name="mrj.version"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-  <testcase time="0.035" name="testGetUnKnownCollector"/>
-  <testcase time="0" name="testGetJDependsCollector"/>
-  <testcase time="0" name="testGetJavaNCSSCollector"/>
-  <testcase time="0" name="testGetCloverCollector"/>
-  <testcase time="0.644" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.015" name="testCollectWithPluginConfiguration"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/many-results/TEST-ch.hortis.sonar.mvn.mc.CloverCollectorTest.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/many-results/TEST-ch.hortis.sonar.mvn.mc.CloverCollectorTest.xml
deleted file mode 100644 (file)
index f803b69..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="2" time="0.061" failures="0" name="ch.hortis.sonar.mvn.mc.CloverCollectorTest">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="1.5.0_06-64" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="&quot;Apple Computer, Inc.&quot;" name="java.vm.vendor"/>
-    <property value="http://apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="FR" name="user.country"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="user.dir"/>
-    <property value="1.5.0_06-112" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="ppc" name="os.arch"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.4.8" name="os.version"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="cmunger" name="user.name"/>
-    <property
-        value="/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/Users/cmunger/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar"
-        name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="fr" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_06" name="java.version"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="Apple Computer, Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://developer.apple.com/java/" name="java.vendor.url.bug"/>
-    <property value="big" name="sun.cpu.endian"/>
-    <property value="UnicodeBig" name="sun.io.unicode.encoding"/>
-    <property value="1040.1.5.0_06-112" name="mrj.version"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-  <testcase time="0.035" name="testGetUnKnownCollector"/>
-  <testcase time="0" name="testGetJDependsCollector"/>
-  <testcase time="0" name="testGetJavaNCSSCollector"/>
-  <testcase time="0" name="testGetCloverCollector"/>
-  <testcase time="0.644" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.015" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.044" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.013" name="testCollectWithPluginConfiguration"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/many-results/TEST-ch.hortis.sonar.mvn.mc.JDependsCollectorTest.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/many-results/TEST-ch.hortis.sonar.mvn.mc.JDependsCollectorTest.xml
deleted file mode 100644 (file)
index 0fc45fc..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="2" time="0.031" failures="0"
-           name="ch.hortis.sonar.mvn.mc.JDependsCollectorTest">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="1.5.0_06-64" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="&quot;Apple Computer, Inc.&quot;" name="java.vm.vendor"/>
-    <property value="http://apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="FR" name="user.country"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="user.dir"/>
-    <property value="1.5.0_06-112" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="ppc" name="os.arch"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.4.8" name="os.version"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="Europe/Zurich" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="cmunger" name="user.name"/>
-    <property
-        value="/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/Users/cmunger/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar"
-        name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="fr" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_06" name="java.version"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="Apple Computer, Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://developer.apple.com/java/" name="java.vendor.url.bug"/>
-    <property value="big" name="sun.cpu.endian"/>
-    <property value="UnicodeBig" name="sun.io.unicode.encoding"/>
-    <property value="1040.1.5.0_06-112" name="mrj.version"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-  <testcase time="0.035" name="testGetUnKnownCollector"/>
-  <testcase time="0" name="testGetJDependsCollector"/>
-  <testcase time="0" name="testGetJavaNCSSCollector"/>
-  <testcase time="0" name="testGetCloverCollector"/>
-  <testcase time="0.644" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.015" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.044" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.013" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.024" name="testGetEmptyJdbcPassword"/>
-  <testcase time="6.889" name="testPopulateWithoutAnyReport"/>
-  <testcase time="0.697" name="testPopulateWithJavaNcssReport"/>
-  <testcase time="0.665" name="testPopulateWithJDependsReport"/>
-  <testcase time="0.283" name="testPopulateWithCloverReport"/>
-  <testcase time="0.592" name="testPopulateWithCheckstyleReport"/>
-  <testcase time="0.014" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.001" name="testCollectWithPluginConfiguration"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/many-results/TEST-ch.hortis.sonar.mvn.mc.JavaNCSSCollectorTest.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/many-results/TEST-ch.hortis.sonar.mvn.mc.JavaNCSSCollectorTest.xml
deleted file mode 100644 (file)
index 693f3fa..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="2" time="0.08" failures="0"
-           name="ch.hortis.sonar.mvn.mc.JavaNCSSCollectorTest">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="1.5.0_06-64" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="&quot;Apple Computer, Inc.&quot;" name="java.vm.vendor"/>
-    <property value="http://apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="FR" name="user.country"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="user.dir"/>
-    <property value="1.5.0_06-112" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="ppc" name="os.arch"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.4.8" name="os.version"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="Europe/Zurich" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="cmunger" name="user.name"/>
-    <property
-        value="/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/Users/cmunger/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar"
-        name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="fr" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_06" name="java.version"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="Apple Computer, Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://developer.apple.com/java/" name="java.vendor.url.bug"/>
-    <property value="big" name="sun.cpu.endian"/>
-    <property value="UnicodeBig" name="sun.io.unicode.encoding"/>
-    <property value="1040.1.5.0_06-112" name="mrj.version"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-  <testcase time="0.035" name="testGetUnKnownCollector"/>
-  <testcase time="0" name="testGetJDependsCollector"/>
-  <testcase time="0" name="testGetJavaNCSSCollector"/>
-  <testcase time="0" name="testGetCloverCollector"/>
-  <testcase time="0.644" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.015" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.044" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.013" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.024" name="testGetEmptyJdbcPassword"/>
-  <testcase time="6.889" name="testPopulateWithoutAnyReport"/>
-  <testcase time="0.697" name="testPopulateWithJavaNcssReport"/>
-  <testcase time="0.665" name="testPopulateWithJDependsReport"/>
-  <testcase time="0.283" name="testPopulateWithCloverReport"/>
-  <testcase time="0.592" name="testPopulateWithCheckstyleReport"/>
-  <testcase time="0.014" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.001" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.074" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.003" name="testCollectWithPluginConfiguration"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/many-results/TEST-ch.hortis.sonar.mvn.mc.MetricsCollectorRegistryTest.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/many-results/TEST-ch.hortis.sonar.mvn.mc.MetricsCollectorRegistryTest.xml
deleted file mode 100644 (file)
index dc3b31a..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="4" time="0.078" failures="0"
-           name="ch.hortis.sonar.mvn.mc.MetricsCollectorRegistryTest">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="1.5.0_06-64" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="&quot;Apple Computer, Inc.&quot;" name="java.vm.vendor"/>
-    <property value="http://apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="FR" name="user.country"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="user.dir"/>
-    <property value="1.5.0_06-112" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="ppc" name="os.arch"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.4.8" name="os.version"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="cmunger" name="user.name"/>
-    <property
-        value="/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/Users/cmunger/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar"
-        name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="fr" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_06" name="java.version"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="Apple Computer, Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://developer.apple.com/java/" name="java.vendor.url.bug"/>
-    <property value="big" name="sun.cpu.endian"/>
-    <property value="UnicodeBig" name="sun.io.unicode.encoding"/>
-    <property value="1040.1.5.0_06-112" name="mrj.version"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-  <testcase time="0.035" name="testGetUnKnownCollector"/>
-  <testcase time="0" name="testGetJDependsCollector"/>
-  <testcase time="0" name="testGetJavaNCSSCollector"/>
-  <testcase time="0" name="testGetCloverCollector"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/measuresShouldNotIncludeSkippedTests/TEST-FooTest.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/measuresShouldNotIncludeSkippedTests/TEST-FooTest.xml
deleted file mode 100644 (file)
index 7268a35..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="1" tests="3" time="0.032" failures="1" name="org.sonar.Foo">
-  <properties>
-    <property value="Apple Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="../Resources/Eclipse.icns" name="env.APP_ICON_175"/>
-    <property value="SUN_STANDARD" name="sun.java.launcher"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="6b0270" name="env.SECURITYSESSIONID"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="/var/folders/Ea/Ea1AbxXfF6u1WpNRWAq8q++++TI/-Tmp-/" name="env.TMPDIR"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="1.5.0_16-b06-284" name="java.runtime.version"/>
-    <property value="/tmp/launch-sNnktt/Render" name="env.Apple_PubSub_Socket_Render"/>
-    <property value="/tmp/launch-fxz1jZ/:0" name="env.DISPLAY"/>
-    <property value="cmunger" name="user.name"/>
-    <property value="cmunger" name="env.USER"/>
-    <property value="/bin/bash" name="env.SHELL"/>
-    <property value="0x1F5:0:0" name="env.__CF_USER_TEXT_ENCODING"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="/usr/bin:/bin:/usr/sbin:/sbin" name="env.PATH"/>
-    <property value="en" name="user.language"/>
-    <property value="./testDBStop52578" name="derby.system.home"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="/usr/share/apache-maven-2.0.9/bin/m2.conf" name="classworlds.conf"/>
-    <property value="1.5.0_16" name="java.version"/>
-    <property value="Europe/Zurich" name="user.timezone"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="http.nonProxyHosts"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="" name="sun.cpu.isalist"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="/" name="file.separator"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="US" name="user.country"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="cmunger" name="env.LOGNAME"/>
-    <property value="10.5.6" name="os.version"/>
-    <property value=":" name="path.separator"/>
-    <property value="org.codehaus.classworlds.Launcher" name="env.JAVA_MAIN_CLASS_1410"/>
-    <property value="1.5.0_16-133" name="java.vm.version"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="socksNonProxyHosts"/>
-    <property value="1" name="env.JAVA_STARTED_ON_FIRST_THREAD_175"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="ftp.nonProxyHosts"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="http://www.apple.com/" name="java.vendor.url"/>
-    <property value="Apple Inc." name="java.vm.vendor"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="/usr/share/apache-maven-2.0.9" name="maven.home"/>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/usr/share/apache-maven-2.0.9/boot/classworlds-1.1.jar" name="java.class.path"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="little" name="sun.cpu.endian"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="/Users/cmunger" name="env.HOME"/>
-    <property
-        value="/Users/cmunger/dev/workspace/sonar/sonar-core/target/test-classes:/Users/cmunger/dev/workspace/sonar/sonar-core/target/classes:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-commons/1.7-SNAPSHOT/sonar-commons-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/org/picocontainer/picocontainer/2.7/picocontainer-2.7.jar:/Users/cmunger/.m2/repository/org/slf4j/slf4j-api/1.5.0/slf4j-api-1.5.0.jar:/Users/cmunger/.m2/repository/org/slf4j/jcl104-over-slf4j/1.4.3/jcl104-over-slf4j-1.4.3.jar:/Users/cmunger/.m2/repository/ch/qos/logback/logback-classic/0.9.9/logback-classic-0.9.9.jar:/Users/cmunger/.m2/repository/ch/qos/logback/logback-core/0.9.9/logback-core-0.9.9.jar:/Users/cmunger/.m2/repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar:/Users/cmunger/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar:/Users/cmunger/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/cmunger/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar:/Users/cmunger/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/cmunger/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar:/Users/cmunger/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar:/Users/cmunger/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga.jar:/Users/cmunger/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:/Users/cmunger/.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar:/Users/cmunger/.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-entitymanager/3.3.1.ga/hibernate-entitymanager-3.3.1.ga.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-validator/3.0.0.ga/hibernate-validator-3.0.0.ga.jar:/Users/cmunger/.m2/repository/jboss/javassist/3.3.ga/javassist-3.3.ga.jar:/Users/cmunger/.m2/repository/jboss/jboss-common-core/2.0.4.GA/jboss-common-core-2.0.4.GA.jar:/Users/cmunger/.m2/repository/commons-configuration/commons-configuration/1.5/commons-configuration-1.5.jar:/Users/cmunger/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/cmunger/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:/Users/cmunger/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/cmunger/.m2/repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar:/Users/cmunger/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/Users/cmunger/.m2/repository/commons-dbcp/commons-dbcp/1.2.1/commons-dbcp-1.2.1.jar:/Users/cmunger/.m2/repository/commons-pool/commons-pool/1.2/commons-pool-1.2.jar:/Users/cmunger/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar:/Users/cmunger/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-commons/1.7-SNAPSHOT/sonar-commons-1.7-SNAPSHOT-tests.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.7-SNAPSHOT/sonar-plugin-api-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar:/Users/cmunger/.m2/repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar:/Users/cmunger/.m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar:/Users/cmunger/.m2/repository/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar:/Users/cmunger/.m2/repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/plugins/sonar-plugin-core/1.7-SNAPSHOT/sonar-plugin-core-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.7-SNAPSHOT/sonar-plugin-api-1.7-SNAPSHOT-tests.jar:/Users/cmunger/.m2/repository/mysql/mysql-connector-java/5.0.8/mysql-connector-java-5.0.8.jar:/Users/cmunger/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar:/Users/cmunger/.m2/repository/logkit/logkit/1.0.1/logkit-1.0.1.jar:/Users/cmunger/.m2/repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar:/Users/cmunger/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar:/Users/cmunger/.m2/repository/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.jar:/Users/cmunger/.m2/repository/org/apache/derby/derbynet/10.4.1.3/derbynet-10.4.1.3.jar:/Users/cmunger/.m2/repository/junit/junit/4.4/junit-4.4.jar:/Users/cmunger/.m2/repository/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1.jar:/Users/cmunger/.m2/repository/org/dbunit/dbunit/2.2/dbunit-2.2.jar:/Users/cmunger/.m2/repository/junit-addons/junit-addons/1.4/junit-addons-1.4.jar:/Users/cmunger/.m2/repository/poi/poi/2.5.1-final-20040804/poi-2.5.1-final-20040804.jar:/Users/cmunger/.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar:/Users/cmunger/.m2/repository/org/apache/derby/derbyclient/10.4.1.3/derbyclient-10.4.1.3.jar:/Users/cmunger/.m2/repository/org/easymock/easymock/2.3/easymock-2.3.jar:/Users/cmunger/.m2/repository/org/easymock/easymockclassextension/2.3/easymockclassextension-2.3.jar:/Users/cmunger/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/cmunger/.m2/repository/xmlunit/xmlunit/1.2/xmlunit-1.2.jar:/Users/cmunger/.m2/repository/org/mockito/mockito-all/1.5/mockito-all-1.5.jar:"
-        name="surefire.test.class.path"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="http://bugreport.apple.com/" name="java.vendor.url.bug"/>
-    <property value="/tmp/launch-a2Hs8j/Listeners" name="env.SSH_AUTH_SOCK"/>
-    <property value="legacy" name="env.COMMAND_MODE"/>
-    <property value="i386" name="os.arch"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property value="/Users/cmunger/dev/workspace/sonar/sonar-core" name="user.dir"/>
-    <property value="1050.1.5.0_16-284" name="mrj.version"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="/Users/cmunger/dev/workspace/sonar/sonar-core" name="basedir"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-  </properties>
-  <testcase classname="org.sonar.Foo" time="0.005" name="testOne">
-    <failure type="java.lang.AssertionError" message="expected:&lt;2&gt; but was:&lt;1&gt;">java.lang.AssertionError:
-      expected:&lt;2&gt; but was:&lt;1&gt;
-      at org.junit.Assert.fail(Assert.java:74)
-      at org.junit.Assert.failNotEquals(Assert.java:448)
-      at org.junit.Assert.assertEquals(Assert.java:102)
-      at org.junit.Assert.assertEquals(Assert.java:323)
-      at org.junit.Assert.assertEquals(Assert.java:319)
-      at org.sonar.core.ExtensionsFinderTest.shouldFindJdbcDrivers(ExtensionsFinderTest.java:45)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
-      at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
-      at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
-      at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
-      at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
-      at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
-      at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
-      at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
-      at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
-      at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
-      at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
-      at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
-      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
-      at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
-      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
-    </failure>
-  </testcase>
-  <testcase classname="org.sonar.Foo" time="0.20" name="testTwo"/>
-  <testcase classname="org.sonar.Foo" time="0.10" name="skippedTest">
-    <skipped/>
-  </testcase>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/noSuccessRatioIfNoTests/TEST-FooTest.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/noSuccessRatioIfNoTests/TEST-FooTest.xml
deleted file mode 100644 (file)
index f4e91d5..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="2" tests="2" time="0.032" failures="0" name="org.sonar.Foo">
-  <properties>
-    <property value="Apple Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="../Resources/Eclipse.icns" name="env.APP_ICON_175"/>
-    <property value="SUN_STANDARD" name="sun.java.launcher"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="6b0270" name="env.SECURITYSESSIONID"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="/var/folders/Ea/Ea1AbxXfF6u1WpNRWAq8q++++TI/-Tmp-/" name="env.TMPDIR"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="1.5.0_16-b06-284" name="java.runtime.version"/>
-    <property value="/tmp/launch-sNnktt/Render" name="env.Apple_PubSub_Socket_Render"/>
-    <property value="/tmp/launch-fxz1jZ/:0" name="env.DISPLAY"/>
-    <property value="cmunger" name="user.name"/>
-    <property value="cmunger" name="env.USER"/>
-    <property value="/bin/bash" name="env.SHELL"/>
-    <property value="0x1F5:0:0" name="env.__CF_USER_TEXT_ENCODING"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="/usr/bin:/bin:/usr/sbin:/sbin" name="env.PATH"/>
-    <property value="en" name="user.language"/>
-    <property value="./testDBStop52578" name="derby.system.home"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="/usr/share/apache-maven-2.0.9/bin/m2.conf" name="classworlds.conf"/>
-    <property value="1.5.0_16" name="java.version"/>
-    <property value="Europe/Zurich" name="user.timezone"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="http.nonProxyHosts"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="" name="sun.cpu.isalist"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="/" name="file.separator"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="US" name="user.country"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="cmunger" name="env.LOGNAME"/>
-    <property value="10.5.6" name="os.version"/>
-    <property value=":" name="path.separator"/>
-    <property value="org.codehaus.classworlds.Launcher" name="env.JAVA_MAIN_CLASS_1410"/>
-    <property value="1.5.0_16-133" name="java.vm.version"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="socksNonProxyHosts"/>
-    <property value="1" name="env.JAVA_STARTED_ON_FIRST_THREAD_175"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="ftp.nonProxyHosts"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="http://www.apple.com/" name="java.vendor.url"/>
-    <property value="Apple Inc." name="java.vm.vendor"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="/usr/share/apache-maven-2.0.9" name="maven.home"/>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/usr/share/apache-maven-2.0.9/boot/classworlds-1.1.jar" name="java.class.path"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="little" name="sun.cpu.endian"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="/Users/cmunger" name="env.HOME"/>
-    <property
-        value="/Users/cmunger/dev/workspace/sonar/sonar-core/target/test-classes:/Users/cmunger/dev/workspace/sonar/sonar-core/target/classes:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-commons/1.7-SNAPSHOT/sonar-commons-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/org/picocontainer/picocontainer/2.7/picocontainer-2.7.jar:/Users/cmunger/.m2/repository/org/slf4j/slf4j-api/1.5.0/slf4j-api-1.5.0.jar:/Users/cmunger/.m2/repository/org/slf4j/jcl104-over-slf4j/1.4.3/jcl104-over-slf4j-1.4.3.jar:/Users/cmunger/.m2/repository/ch/qos/logback/logback-classic/0.9.9/logback-classic-0.9.9.jar:/Users/cmunger/.m2/repository/ch/qos/logback/logback-core/0.9.9/logback-core-0.9.9.jar:/Users/cmunger/.m2/repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar:/Users/cmunger/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar:/Users/cmunger/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/cmunger/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar:/Users/cmunger/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/cmunger/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar:/Users/cmunger/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar:/Users/cmunger/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga.jar:/Users/cmunger/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:/Users/cmunger/.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar:/Users/cmunger/.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-entitymanager/3.3.1.ga/hibernate-entitymanager-3.3.1.ga.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-validator/3.0.0.ga/hibernate-validator-3.0.0.ga.jar:/Users/cmunger/.m2/repository/jboss/javassist/3.3.ga/javassist-3.3.ga.jar:/Users/cmunger/.m2/repository/jboss/jboss-common-core/2.0.4.GA/jboss-common-core-2.0.4.GA.jar:/Users/cmunger/.m2/repository/commons-configuration/commons-configuration/1.5/commons-configuration-1.5.jar:/Users/cmunger/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/cmunger/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:/Users/cmunger/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/cmunger/.m2/repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar:/Users/cmunger/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/Users/cmunger/.m2/repository/commons-dbcp/commons-dbcp/1.2.1/commons-dbcp-1.2.1.jar:/Users/cmunger/.m2/repository/commons-pool/commons-pool/1.2/commons-pool-1.2.jar:/Users/cmunger/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar:/Users/cmunger/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-commons/1.7-SNAPSHOT/sonar-commons-1.7-SNAPSHOT-tests.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.7-SNAPSHOT/sonar-plugin-api-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar:/Users/cmunger/.m2/repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar:/Users/cmunger/.m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar:/Users/cmunger/.m2/repository/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar:/Users/cmunger/.m2/repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/plugins/sonar-plugin-core/1.7-SNAPSHOT/sonar-plugin-core-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.7-SNAPSHOT/sonar-plugin-api-1.7-SNAPSHOT-tests.jar:/Users/cmunger/.m2/repository/mysql/mysql-connector-java/5.0.8/mysql-connector-java-5.0.8.jar:/Users/cmunger/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar:/Users/cmunger/.m2/repository/logkit/logkit/1.0.1/logkit-1.0.1.jar:/Users/cmunger/.m2/repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar:/Users/cmunger/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar:/Users/cmunger/.m2/repository/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.jar:/Users/cmunger/.m2/repository/org/apache/derby/derbynet/10.4.1.3/derbynet-10.4.1.3.jar:/Users/cmunger/.m2/repository/junit/junit/4.4/junit-4.4.jar:/Users/cmunger/.m2/repository/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1.jar:/Users/cmunger/.m2/repository/org/dbunit/dbunit/2.2/dbunit-2.2.jar:/Users/cmunger/.m2/repository/junit-addons/junit-addons/1.4/junit-addons-1.4.jar:/Users/cmunger/.m2/repository/poi/poi/2.5.1-final-20040804/poi-2.5.1-final-20040804.jar:/Users/cmunger/.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar:/Users/cmunger/.m2/repository/org/apache/derby/derbyclient/10.4.1.3/derbyclient-10.4.1.3.jar:/Users/cmunger/.m2/repository/org/easymock/easymock/2.3/easymock-2.3.jar:/Users/cmunger/.m2/repository/org/easymock/easymockclassextension/2.3/easymockclassextension-2.3.jar:/Users/cmunger/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/cmunger/.m2/repository/xmlunit/xmlunit/1.2/xmlunit-1.2.jar:/Users/cmunger/.m2/repository/org/mockito/mockito-all/1.5/mockito-all-1.5.jar:"
-        name="surefire.test.class.path"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="http://bugreport.apple.com/" name="java.vendor.url.bug"/>
-    <property value="/tmp/launch-a2Hs8j/Listeners" name="env.SSH_AUTH_SOCK"/>
-    <property value="legacy" name="env.COMMAND_MODE"/>
-    <property value="i386" name="os.arch"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property value="/Users/cmunger/dev/workspace/sonar/sonar-core" name="user.dir"/>
-    <property value="1050.1.5.0_16-284" name="mrj.version"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="/Users/cmunger/dev/workspace/sonar/sonar-core" name="basedir"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-  </properties>
-  <testcase classname="org.sonar.Foo" time="0.005" name="skippedOne">
-    <skipped/>
-  </testcase>
-  <testcase classname="org.sonar.Foo" time="0.10" name="skippedTwo">
-    <skipped/>
-  </testcase>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/roundingTests/TEST-Rounding.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/roundingTests/TEST-Rounding.xml
deleted file mode 100644 (file)
index c46ab7a..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="1" skipped="0" tests="2250" time="0.032" failures="0" name="org.sonar.Foo">
-
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldHandleMultipleSuitesInSameFile/TESTS-MutlipleSuites.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldHandleMultipleSuitesInSameFile/TESTS-MutlipleSuites.xml
deleted file mode 100644 (file)
index e5bd8c0..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuites>
-<testsuite errors="0" skipped="1" tests="11" time="0.08" failures="0"
-           name="org.sonar.JavaNCSSCollectorTest">
-  <testcase time="0.013" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.024" name="testGetEmptyJdbcPassword"/>
-  <testcase time="6.889" name="testPopulateWithoutAnyReport"/>
-  <testcase time="0.697" name="testPopulateWithJavaNcssReport"/>
-  <testcase time="0.665" name="testPopulateWithJDependsReport"/>
-  <testcase time="0.283" name="testPopulateWithCloverReport"/>
-  <testcase time="0.592" name="testPopulateWithCheckstyleReport"/>
-  <testcase time="0.014" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.001" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.074" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.003" name="testCollectWithPluginConfiguration"/>
-</testsuite>
-<testsuite errors="0" skipped="1" tests="4" time="0.08" failures="0"
-           name="org.sonar.SecondTest">
-  <testcase time="0.014" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.001" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.074" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.003" name="testCollectWithPluginConfiguration"/>
-</testsuite>
-</testsuites>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldHandleTestSuiteDetails/ExtensionsFinderTest-expected-result.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldHandleTestSuiteDetails/ExtensionsFinderTest-expected-result.xml
deleted file mode 100644 (file)
index b99f02c..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<tests-details>
-  <testcase status="failure" time="5" name="shouldFindJdbcDrivers">
-    <failure message="expected:&lt;2&gt; but was:&lt;1&gt;"><![CDATA[java.lang.AssertionError: expected:&lt;2&gt; but was:&lt;1&gt;
-  at org.junit.Assert.fail(Assert.java:74)
-  at org.junit.Assert.failNotEquals(Assert.java:448)
-  at org.junit.Assert.assertEquals(Assert.java:102)
-  at org.junit.Assert.assertEquals(Assert.java:323)
-  at org.junit.Assert.assertEquals(Assert.java:319)
-  at org.sonar.core.ExtensionsFinderTest.shouldFindJdbcDrivers(ExtensionsFinderTest.java:45)
-  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-  at java.lang.reflect.Method.invoke(Method.java:585)
-  at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
-  at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
-  at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
-  at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
-  at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
-  at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
-  at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
-  at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
-  at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
-  at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
-  at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
-  at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
-  at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
-  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
-  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
-  at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
-  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-  at java.lang.reflect.Method.invoke(Method.java:585)
-  at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
-  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
-]]></failure>
-  </testcase>
-  <testcase status="ok" time="2" name="shouldFailIfNoJdbcDrivers"/>
-  <testcase status="error" time="100" name="shouldFindPlugins">
-    <error message="TEST"><![CDATA[java.lang.RuntimeException: TEST
-  at org.sonar.core.ExtensionsFinderTest.shouldFindPlugins(ExtensionsFinderTest.java:57)
-  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-  at java.lang.reflect.Method.invoke(Method.java:585)
-  at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
-  at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
-  at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
-  at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
-  at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
-  at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
-  at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
-  at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
-  at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
-  at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
-  at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
-  at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
-  at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
-  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
-  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
-  at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
-  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-  at java.lang.reflect.Method.invoke(Method.java:585)
-  at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
-  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
-]]></error>
-  </testcase>
-  <testcase status="ok" time="4" name="shouldNotFailIfNoPlugins"/>
-</tests-details>
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldHandleTestSuiteDetails/ExtensionsFinderTest2-expected-result.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldHandleTestSuiteDetails/ExtensionsFinderTest2-expected-result.xml
deleted file mode 100644 (file)
index e424345..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<tests-details>
-  <testcase status="ok" time="1" name="shouldFindCheckstyleExtensions"/>
-  <testcase status="ok" time="1"
-            name="shouldNotFailIfNoCheckstyleExtensions"/>
-</tests-details>
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldHandleTestSuiteDetails/ExtensionsFinderTest3-expected-result.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldHandleTestSuiteDetails/ExtensionsFinderTest3-expected-result.xml
deleted file mode 100644 (file)
index d4f2edf..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<tests-details>
-  <testcase status="ok" time="16"
-            name="shouldFindCheckstyleExtensionsFromOverridenPath"/>
-  <testcase status="skipped" time="0"
-            name="shouldFailIfOverridenRulesExtensionsPathDoesNotExist"/>
-</tests-details>
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldHandleTestSuiteDetails/TEST-org.sonar.core.ExtensionsFinderTestSuite.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldHandleTestSuiteDetails/TEST-org.sonar.core.ExtensionsFinderTestSuite.xml
deleted file mode 100644 (file)
index 0178747..0000000
+++ /dev/null
@@ -1,170 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="1" skipped="1" tests="8" time="0.032" failures="1" name="org.sonar.core.ExtensionsFinderTestSuite">
-  <properties>
-    <property value="Apple Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="../Resources/Eclipse.icns" name="env.APP_ICON_175"/>
-    <property value="SUN_STANDARD" name="sun.java.launcher"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="6b0270" name="env.SECURITYSESSIONID"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="/var/folders/Ea/Ea1AbxXfF6u1WpNRWAq8q++++TI/-Tmp-/" name="env.TMPDIR"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="1.5.0_16-b06-284" name="java.runtime.version"/>
-    <property value="/tmp/launch-sNnktt/Render" name="env.Apple_PubSub_Socket_Render"/>
-    <property value="/tmp/launch-fxz1jZ/:0" name="env.DISPLAY"/>
-    <property value="cmunger" name="user.name"/>
-    <property value="cmunger" name="env.USER"/>
-    <property value="/bin/bash" name="env.SHELL"/>
-    <property value="0x1F5:0:0" name="env.__CF_USER_TEXT_ENCODING"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="/usr/bin:/bin:/usr/sbin:/sbin" name="env.PATH"/>
-    <property value="en" name="user.language"/>
-    <property value="./testDBStop52578" name="derby.system.home"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="/usr/share/apache-maven-2.0.9/bin/m2.conf" name="classworlds.conf"/>
-    <property value="1.5.0_16" name="java.version"/>
-    <property value="Europe/Zurich" name="user.timezone"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="http.nonProxyHosts"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="" name="sun.cpu.isalist"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="/" name="file.separator"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="US" name="user.country"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="cmunger" name="env.LOGNAME"/>
-    <property value="10.5.6" name="os.version"/>
-    <property value=":" name="path.separator"/>
-    <property value="org.codehaus.classworlds.Launcher" name="env.JAVA_MAIN_CLASS_1410"/>
-    <property value="1.5.0_16-133" name="java.vm.version"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="socksNonProxyHosts"/>
-    <property value="1" name="env.JAVA_STARTED_ON_FIRST_THREAD_175"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="ftp.nonProxyHosts"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="http://www.apple.com/" name="java.vendor.url"/>
-    <property value="Apple Inc." name="java.vm.vendor"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="/usr/share/apache-maven-2.0.9" name="maven.home"/>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/usr/share/apache-maven-2.0.9/boot/classworlds-1.1.jar" name="java.class.path"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="little" name="sun.cpu.endian"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="/Users/cmunger" name="env.HOME"/>
-    <property
-        value="/Users/cmunger/dev/workspace/sonar/sonar-core/target/test-classes:/Users/cmunger/dev/workspace/sonar/sonar-core/target/classes:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-commons/1.7-SNAPSHOT/sonar-commons-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/org/picocontainer/picocontainer/2.7/picocontainer-2.7.jar:/Users/cmunger/.m2/repository/org/slf4j/slf4j-api/1.5.0/slf4j-api-1.5.0.jar:/Users/cmunger/.m2/repository/org/slf4j/jcl104-over-slf4j/1.4.3/jcl104-over-slf4j-1.4.3.jar:/Users/cmunger/.m2/repository/ch/qos/logback/logback-classic/0.9.9/logback-classic-0.9.9.jar:/Users/cmunger/.m2/repository/ch/qos/logback/logback-core/0.9.9/logback-core-0.9.9.jar:/Users/cmunger/.m2/repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar:/Users/cmunger/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar:/Users/cmunger/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/cmunger/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar:/Users/cmunger/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/cmunger/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar:/Users/cmunger/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar:/Users/cmunger/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga.jar:/Users/cmunger/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:/Users/cmunger/.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar:/Users/cmunger/.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-entitymanager/3.3.1.ga/hibernate-entitymanager-3.3.1.ga.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-validator/3.0.0.ga/hibernate-validator-3.0.0.ga.jar:/Users/cmunger/.m2/repository/jboss/javassist/3.3.ga/javassist-3.3.ga.jar:/Users/cmunger/.m2/repository/jboss/jboss-common-core/2.0.4.GA/jboss-common-core-2.0.4.GA.jar:/Users/cmunger/.m2/repository/commons-configuration/commons-configuration/1.5/commons-configuration-1.5.jar:/Users/cmunger/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/cmunger/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:/Users/cmunger/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/cmunger/.m2/repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar:/Users/cmunger/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/Users/cmunger/.m2/repository/commons-dbcp/commons-dbcp/1.2.1/commons-dbcp-1.2.1.jar:/Users/cmunger/.m2/repository/commons-pool/commons-pool/1.2/commons-pool-1.2.jar:/Users/cmunger/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar:/Users/cmunger/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-commons/1.7-SNAPSHOT/sonar-commons-1.7-SNAPSHOT-tests.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.7-SNAPSHOT/sonar-plugin-api-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar:/Users/cmunger/.m2/repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar:/Users/cmunger/.m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar:/Users/cmunger/.m2/repository/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar:/Users/cmunger/.m2/repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/plugins/sonar-plugin-core/1.7-SNAPSHOT/sonar-plugin-core-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.7-SNAPSHOT/sonar-plugin-api-1.7-SNAPSHOT-tests.jar:/Users/cmunger/.m2/repository/mysql/mysql-connector-java/5.0.8/mysql-connector-java-5.0.8.jar:/Users/cmunger/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar:/Users/cmunger/.m2/repository/logkit/logkit/1.0.1/logkit-1.0.1.jar:/Users/cmunger/.m2/repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar:/Users/cmunger/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar:/Users/cmunger/.m2/repository/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.jar:/Users/cmunger/.m2/repository/org/apache/derby/derbynet/10.4.1.3/derbynet-10.4.1.3.jar:/Users/cmunger/.m2/repository/junit/junit/4.4/junit-4.4.jar:/Users/cmunger/.m2/repository/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1.jar:/Users/cmunger/.m2/repository/org/dbunit/dbunit/2.2/dbunit-2.2.jar:/Users/cmunger/.m2/repository/junit-addons/junit-addons/1.4/junit-addons-1.4.jar:/Users/cmunger/.m2/repository/poi/poi/2.5.1-final-20040804/poi-2.5.1-final-20040804.jar:/Users/cmunger/.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar:/Users/cmunger/.m2/repository/org/apache/derby/derbyclient/10.4.1.3/derbyclient-10.4.1.3.jar:/Users/cmunger/.m2/repository/org/easymock/easymock/2.3/easymock-2.3.jar:/Users/cmunger/.m2/repository/org/easymock/easymockclassextension/2.3/easymockclassextension-2.3.jar:/Users/cmunger/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/cmunger/.m2/repository/xmlunit/xmlunit/1.2/xmlunit-1.2.jar:/Users/cmunger/.m2/repository/org/mockito/mockito-all/1.5/mockito-all-1.5.jar:"
-        name="surefire.test.class.path"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="http://bugreport.apple.com/" name="java.vendor.url.bug"/>
-    <property value="/tmp/launch-a2Hs8j/Listeners" name="env.SSH_AUTH_SOCK"/>
-    <property value="legacy" name="env.COMMAND_MODE"/>
-    <property value="i386" name="os.arch"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property value="/Users/cmunger/dev/workspace/sonar/sonar-core" name="user.dir"/>
-    <property value="1050.1.5.0_16-284" name="mrj.version"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="/Users/cmunger/dev/workspace/sonar/sonar-core" name="basedir"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-  </properties>
-  <testcase classname="org.sonar.core.ExtensionsFinderTest" time="0.005" name="shouldFindJdbcDrivers">
-    <failure type="java.lang.AssertionError" message="expected:&lt;2&gt; but was:&lt;1&gt;">java.lang.AssertionError:
-      expected:&lt;2&gt; but was:&lt;1&gt;
-      at org.junit.Assert.fail(Assert.java:74)
-      at org.junit.Assert.failNotEquals(Assert.java:448)
-      at org.junit.Assert.assertEquals(Assert.java:102)
-      at org.junit.Assert.assertEquals(Assert.java:323)
-      at org.junit.Assert.assertEquals(Assert.java:319)
-      at org.sonar.core.ExtensionsFinderTest.shouldFindJdbcDrivers(ExtensionsFinderTest.java:45)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
-      at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
-      at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
-      at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
-      at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
-      at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
-      at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
-      at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
-      at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
-      at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
-      at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
-      at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
-      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
-      at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
-      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
-    </failure>
-  </testcase>
-  <testcase classname="org.sonar.core.ExtensionsFinderTest" time="0.002" name="shouldFailIfNoJdbcDrivers"/>
-  <testcase classname="org.sonar.core.ExtensionsFinderTest" time="0.1" name="shouldFindPlugins">
-    <error type="java.lang.RuntimeException" message="TEST">java.lang.RuntimeException: TEST
-      at org.sonar.core.ExtensionsFinderTest.shouldFindPlugins(ExtensionsFinderTest.java:57)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
-      at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
-      at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
-      at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
-      at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
-      at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
-      at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
-      at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
-      at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
-      at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
-      at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
-      at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
-      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
-      at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
-      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
-    </error>
-  </testcase>
-  <testcase classname="org.sonar.core.ExtensionsFinderTest" time="0.004" name="shouldNotFailIfNoPlugins"/>
-  <testcase classname="org.sonar.core.ExtensionsFinderTest2" time="0.001" name="shouldFindCheckstyleExtensions"/>
-  <testcase classname="org.sonar.core.ExtensionsFinderTest2" time="0.001" name="shouldNotFailIfNoCheckstyleExtensions"/>
-  <testcase classname="org.sonar.core.ExtensionsFinderTest3" time="0.016"
-            name="shouldFindCheckstyleExtensionsFromOverridenPath"/>
-  <testcase classname="org.sonar.core.ExtensionsFinderTest3" time="0.001"
-            name="shouldFailIfOverridenRulesExtensionsPathDoesNotExist">
-    <skipped/>
-  </testcase>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldManageClassesWithDefaultPackage/TEST-NoPackagesTest.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldManageClassesWithDefaultPackage/TEST-NoPackagesTest.xml
deleted file mode 100644 (file)
index d3bb90a..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="2" time="0.032" failures="0" name="NoPackagesTest">
-  <properties>
-    <property value="Apple Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="../Resources/Eclipse.icns" name="env.APP_ICON_175"/>
-    <property value="SUN_STANDARD" name="sun.java.launcher"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="6b0270" name="env.SECURITYSESSIONID"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="/var/folders/Ea/Ea1AbxXfF6u1WpNRWAq8q++++TI/-Tmp-/" name="env.TMPDIR"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="1.5.0_16-b06-284" name="java.runtime.version"/>
-    <property value="/tmp/launch-sNnktt/Render" name="env.Apple_PubSub_Socket_Render"/>
-    <property value="/tmp/launch-fxz1jZ/:0" name="env.DISPLAY"/>
-    <property value="cmunger" name="user.name"/>
-    <property value="cmunger" name="env.USER"/>
-    <property value="/bin/bash" name="env.SHELL"/>
-    <property value="0x1F5:0:0" name="env.__CF_USER_TEXT_ENCODING"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="/usr/bin:/bin:/usr/sbin:/sbin" name="env.PATH"/>
-    <property value="en" name="user.language"/>
-    <property value="./testDBStop52578" name="derby.system.home"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="/usr/share/apache-maven-2.0.9/bin/m2.conf" name="classworlds.conf"/>
-    <property value="1.5.0_16" name="java.version"/>
-    <property value="Europe/Zurich" name="user.timezone"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="http.nonProxyHosts"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="" name="sun.cpu.isalist"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="/" name="file.separator"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="US" name="user.country"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="cmunger" name="env.LOGNAME"/>
-    <property value="10.5.6" name="os.version"/>
-    <property value=":" name="path.separator"/>
-    <property value="org.codehaus.classworlds.Launcher" name="env.JAVA_MAIN_CLASS_1410"/>
-    <property value="1.5.0_16-133" name="java.vm.version"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="socksNonProxyHosts"/>
-    <property value="1" name="env.JAVA_STARTED_ON_FIRST_THREAD_175"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="ftp.nonProxyHosts"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="http://www.apple.com/" name="java.vendor.url"/>
-    <property value="Apple Inc." name="java.vm.vendor"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="/usr/share/apache-maven-2.0.9" name="maven.home"/>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/usr/share/apache-maven-2.0.9/boot/classworlds-1.1.jar" name="java.class.path"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="little" name="sun.cpu.endian"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="/Users/cmunger" name="env.HOME"/>
-    <property
-        value="/Users/cmunger/dev/workspace/sonar/sonar-core/target/test-classes:/Users/cmunger/dev/workspace/sonar/sonar-core/target/classes:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-commons/1.7-SNAPSHOT/sonar-commons-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/org/picocontainer/picocontainer/2.7/picocontainer-2.7.jar:/Users/cmunger/.m2/repository/org/slf4j/slf4j-api/1.5.0/slf4j-api-1.5.0.jar:/Users/cmunger/.m2/repository/org/slf4j/jcl104-over-slf4j/1.4.3/jcl104-over-slf4j-1.4.3.jar:/Users/cmunger/.m2/repository/ch/qos/logback/logback-classic/0.9.9/logback-classic-0.9.9.jar:/Users/cmunger/.m2/repository/ch/qos/logback/logback-core/0.9.9/logback-core-0.9.9.jar:/Users/cmunger/.m2/repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar:/Users/cmunger/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar:/Users/cmunger/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/cmunger/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar:/Users/cmunger/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/cmunger/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar:/Users/cmunger/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar:/Users/cmunger/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga.jar:/Users/cmunger/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:/Users/cmunger/.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar:/Users/cmunger/.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-entitymanager/3.3.1.ga/hibernate-entitymanager-3.3.1.ga.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-validator/3.0.0.ga/hibernate-validator-3.0.0.ga.jar:/Users/cmunger/.m2/repository/jboss/javassist/3.3.ga/javassist-3.3.ga.jar:/Users/cmunger/.m2/repository/jboss/jboss-common-core/2.0.4.GA/jboss-common-core-2.0.4.GA.jar:/Users/cmunger/.m2/repository/commons-configuration/commons-configuration/1.5/commons-configuration-1.5.jar:/Users/cmunger/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/cmunger/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:/Users/cmunger/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/cmunger/.m2/repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar:/Users/cmunger/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/Users/cmunger/.m2/repository/commons-dbcp/commons-dbcp/1.2.1/commons-dbcp-1.2.1.jar:/Users/cmunger/.m2/repository/commons-pool/commons-pool/1.2/commons-pool-1.2.jar:/Users/cmunger/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar:/Users/cmunger/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-commons/1.7-SNAPSHOT/sonar-commons-1.7-SNAPSHOT-tests.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.7-SNAPSHOT/sonar-plugin-api-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar:/Users/cmunger/.m2/repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar:/Users/cmunger/.m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar:/Users/cmunger/.m2/repository/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar:/Users/cmunger/.m2/repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/plugins/sonar-plugin-core/1.7-SNAPSHOT/sonar-plugin-core-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.7-SNAPSHOT/sonar-plugin-api-1.7-SNAPSHOT-tests.jar:/Users/cmunger/.m2/repository/mysql/mysql-connector-java/5.0.8/mysql-connector-java-5.0.8.jar:/Users/cmunger/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar:/Users/cmunger/.m2/repository/logkit/logkit/1.0.1/logkit-1.0.1.jar:/Users/cmunger/.m2/repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar:/Users/cmunger/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar:/Users/cmunger/.m2/repository/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.jar:/Users/cmunger/.m2/repository/org/apache/derby/derbynet/10.4.1.3/derbynet-10.4.1.3.jar:/Users/cmunger/.m2/repository/junit/junit/4.4/junit-4.4.jar:/Users/cmunger/.m2/repository/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1.jar:/Users/cmunger/.m2/repository/org/dbunit/dbunit/2.2/dbunit-2.2.jar:/Users/cmunger/.m2/repository/junit-addons/junit-addons/1.4/junit-addons-1.4.jar:/Users/cmunger/.m2/repository/poi/poi/2.5.1-final-20040804/poi-2.5.1-final-20040804.jar:/Users/cmunger/.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar:/Users/cmunger/.m2/repository/org/apache/derby/derbyclient/10.4.1.3/derbyclient-10.4.1.3.jar:/Users/cmunger/.m2/repository/org/easymock/easymock/2.3/easymock-2.3.jar:/Users/cmunger/.m2/repository/org/easymock/easymockclassextension/2.3/easymockclassextension-2.3.jar:/Users/cmunger/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/cmunger/.m2/repository/xmlunit/xmlunit/1.2/xmlunit-1.2.jar:/Users/cmunger/.m2/repository/org/mockito/mockito-all/1.5/mockito-all-1.5.jar:"
-        name="surefire.test.class.path"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="http://bugreport.apple.com/" name="java.vendor.url.bug"/>
-    <property value="/tmp/launch-a2Hs8j/Listeners" name="env.SSH_AUTH_SOCK"/>
-    <property value="legacy" name="env.COMMAND_MODE"/>
-    <property value="i386" name="os.arch"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property value="/Users/cmunger/dev/workspace/sonar/sonar-core" name="user.dir"/>
-    <property value="1050.1.5.0_16-284" name="mrj.version"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="/Users/cmunger/dev/workspace/sonar/sonar-core" name="basedir"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-  </properties>
-  <testcase classname="NoPackagesTest" time="0.001" name="test1"/>
-  <testcase classname="NoPackagesTest" time="0.001" name="test2"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldNotFailIfReportsNotFound/pom.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldNotFailIfReportsNotFound/pom.xml
deleted file mode 100644 (file)
index 76a22ad..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>fake.group</groupId>
-  <artifactId>fake.artifactId</artifactId>
-  <packaging>jar</packaging>
-  <version>1.0-SNAPSHOT</version>
-
-  <properties>
-    <sonar.surefire.reportsPath>unknown</sonar.surefire.reportsPath>
-  </properties>
-</project>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldSaveErrorsAndFailuresInXML/TEST-org.sonar.core.ExtensionsFinderTest.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldSaveErrorsAndFailuresInXML/TEST-org.sonar.core.ExtensionsFinderTest.xml
deleted file mode 100644 (file)
index 5210e86..0000000
+++ /dev/null
@@ -1,170 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="1" skipped="1" tests="8" time="0.032" failures="1" name="org.sonar.core.ExtensionsFinderTest">
-  <properties>
-    <property value="Apple Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="../Resources/Eclipse.icns" name="env.APP_ICON_175"/>
-    <property value="SUN_STANDARD" name="sun.java.launcher"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="6b0270" name="env.SECURITYSESSIONID"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="/var/folders/Ea/Ea1AbxXfF6u1WpNRWAq8q++++TI/-Tmp-/" name="env.TMPDIR"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="1.5.0_16-b06-284" name="java.runtime.version"/>
-    <property value="/tmp/launch-sNnktt/Render" name="env.Apple_PubSub_Socket_Render"/>
-    <property value="/tmp/launch-fxz1jZ/:0" name="env.DISPLAY"/>
-    <property value="cmunger" name="user.name"/>
-    <property value="cmunger" name="env.USER"/>
-    <property value="/bin/bash" name="env.SHELL"/>
-    <property value="0x1F5:0:0" name="env.__CF_USER_TEXT_ENCODING"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="/usr/bin:/bin:/usr/sbin:/sbin" name="env.PATH"/>
-    <property value="en" name="user.language"/>
-    <property value="./testDBStop52578" name="derby.system.home"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="/usr/share/apache-maven-2.0.9/bin/m2.conf" name="classworlds.conf"/>
-    <property value="1.5.0_16" name="java.version"/>
-    <property value="Europe/Zurich" name="user.timezone"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="http.nonProxyHosts"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="" name="sun.cpu.isalist"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="/" name="file.separator"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="US" name="user.country"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="cmunger" name="env.LOGNAME"/>
-    <property value="10.5.6" name="os.version"/>
-    <property value=":" name="path.separator"/>
-    <property value="org.codehaus.classworlds.Launcher" name="env.JAVA_MAIN_CLASS_1410"/>
-    <property value="1.5.0_16-133" name="java.vm.version"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="socksNonProxyHosts"/>
-    <property value="1" name="env.JAVA_STARTED_ON_FIRST_THREAD_175"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="ftp.nonProxyHosts"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="http://www.apple.com/" name="java.vendor.url"/>
-    <property value="Apple Inc." name="java.vm.vendor"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="/usr/share/apache-maven-2.0.9" name="maven.home"/>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/usr/share/apache-maven-2.0.9/boot/classworlds-1.1.jar" name="java.class.path"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="little" name="sun.cpu.endian"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="/Users/cmunger" name="env.HOME"/>
-    <property
-        value="/Users/cmunger/dev/workspace/sonar/sonar-core/target/test-classes:/Users/cmunger/dev/workspace/sonar/sonar-core/target/classes:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-commons/1.7-SNAPSHOT/sonar-commons-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/org/picocontainer/picocontainer/2.7/picocontainer-2.7.jar:/Users/cmunger/.m2/repository/org/slf4j/slf4j-api/1.5.0/slf4j-api-1.5.0.jar:/Users/cmunger/.m2/repository/org/slf4j/jcl104-over-slf4j/1.4.3/jcl104-over-slf4j-1.4.3.jar:/Users/cmunger/.m2/repository/ch/qos/logback/logback-classic/0.9.9/logback-classic-0.9.9.jar:/Users/cmunger/.m2/repository/ch/qos/logback/logback-core/0.9.9/logback-core-0.9.9.jar:/Users/cmunger/.m2/repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar:/Users/cmunger/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar:/Users/cmunger/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/cmunger/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar:/Users/cmunger/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/cmunger/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar:/Users/cmunger/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar:/Users/cmunger/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga.jar:/Users/cmunger/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:/Users/cmunger/.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar:/Users/cmunger/.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-entitymanager/3.3.1.ga/hibernate-entitymanager-3.3.1.ga.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-validator/3.0.0.ga/hibernate-validator-3.0.0.ga.jar:/Users/cmunger/.m2/repository/jboss/javassist/3.3.ga/javassist-3.3.ga.jar:/Users/cmunger/.m2/repository/jboss/jboss-common-core/2.0.4.GA/jboss-common-core-2.0.4.GA.jar:/Users/cmunger/.m2/repository/commons-configuration/commons-configuration/1.5/commons-configuration-1.5.jar:/Users/cmunger/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/cmunger/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:/Users/cmunger/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/cmunger/.m2/repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar:/Users/cmunger/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/Users/cmunger/.m2/repository/commons-dbcp/commons-dbcp/1.2.1/commons-dbcp-1.2.1.jar:/Users/cmunger/.m2/repository/commons-pool/commons-pool/1.2/commons-pool-1.2.jar:/Users/cmunger/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar:/Users/cmunger/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-commons/1.7-SNAPSHOT/sonar-commons-1.7-SNAPSHOT-tests.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.7-SNAPSHOT/sonar-plugin-api-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar:/Users/cmunger/.m2/repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar:/Users/cmunger/.m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar:/Users/cmunger/.m2/repository/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar:/Users/cmunger/.m2/repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/plugins/sonar-plugin-core/1.7-SNAPSHOT/sonar-plugin-core-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.7-SNAPSHOT/sonar-plugin-api-1.7-SNAPSHOT-tests.jar:/Users/cmunger/.m2/repository/mysql/mysql-connector-java/5.0.8/mysql-connector-java-5.0.8.jar:/Users/cmunger/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar:/Users/cmunger/.m2/repository/logkit/logkit/1.0.1/logkit-1.0.1.jar:/Users/cmunger/.m2/repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar:/Users/cmunger/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar:/Users/cmunger/.m2/repository/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.jar:/Users/cmunger/.m2/repository/org/apache/derby/derbynet/10.4.1.3/derbynet-10.4.1.3.jar:/Users/cmunger/.m2/repository/junit/junit/4.4/junit-4.4.jar:/Users/cmunger/.m2/repository/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1.jar:/Users/cmunger/.m2/repository/org/dbunit/dbunit/2.2/dbunit-2.2.jar:/Users/cmunger/.m2/repository/junit-addons/junit-addons/1.4/junit-addons-1.4.jar:/Users/cmunger/.m2/repository/poi/poi/2.5.1-final-20040804/poi-2.5.1-final-20040804.jar:/Users/cmunger/.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar:/Users/cmunger/.m2/repository/org/apache/derby/derbyclient/10.4.1.3/derbyclient-10.4.1.3.jar:/Users/cmunger/.m2/repository/org/easymock/easymock/2.3/easymock-2.3.jar:/Users/cmunger/.m2/repository/org/easymock/easymockclassextension/2.3/easymockclassextension-2.3.jar:/Users/cmunger/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/cmunger/.m2/repository/xmlunit/xmlunit/1.2/xmlunit-1.2.jar:/Users/cmunger/.m2/repository/org/mockito/mockito-all/1.5/mockito-all-1.5.jar:"
-        name="surefire.test.class.path"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="http://bugreport.apple.com/" name="java.vendor.url.bug"/>
-    <property value="/tmp/launch-a2Hs8j/Listeners" name="env.SSH_AUTH_SOCK"/>
-    <property value="legacy" name="env.COMMAND_MODE"/>
-    <property value="i386" name="os.arch"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property value="/Users/cmunger/dev/workspace/sonar/sonar-core" name="user.dir"/>
-    <property value="1050.1.5.0_16-284" name="mrj.version"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="/Users/cmunger/dev/workspace/sonar/sonar-core" name="basedir"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-  </properties>
-  <testcase classname="org.sonar.core.ExtensionsFinderTest" time="0.005" name="shouldFindJdbcDrivers">
-    <failure type="java.lang.AssertionError" message="expected:&lt;2&gt; but was:&lt;1&gt;">java.lang.AssertionError:
-      expected:&lt;2&gt; but was:&lt;1&gt;
-      at org.junit.Assert.fail(Assert.java:74)
-      at org.junit.Assert.failNotEquals(Assert.java:448)
-      at org.junit.Assert.assertEquals(Assert.java:102)
-      at org.junit.Assert.assertEquals(Assert.java:323)
-      at org.junit.Assert.assertEquals(Assert.java:319)
-      at org.sonar.core.ExtensionsFinderTest.shouldFindJdbcDrivers(ExtensionsFinderTest.java:45)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
-      at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
-      at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
-      at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
-      at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
-      at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
-      at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
-      at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
-      at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
-      at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
-      at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
-      at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
-      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
-      at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
-      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
-    </failure>
-  </testcase>
-  <testcase classname="org.sonar.core.ExtensionsFinderTest" time="0.002" name="shouldFailIfNoJdbcDrivers"/>
-  <testcase classname="org.sonar.core.ExtensionsFinderTest" time="0" name="shouldFindPlugins">
-    <error type="java.lang.RuntimeException" message="TEST">java.lang.RuntimeException: TEST
-      at org.sonar.core.ExtensionsFinderTest.shouldFindPlugins(ExtensionsFinderTest.java:57)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
-      at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
-      at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
-      at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
-      at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
-      at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
-      at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
-      at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
-      at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
-      at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
-      at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
-      at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
-      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
-      at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
-      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
-    </error>
-  </testcase>
-  <testcase classname="org.sonar.core.ExtensionsFinderTest" time="0" name="shouldNotFailIfNoPlugins"/>
-  <testcase classname="org.sonar.core.ExtensionsFinderTest" time="0.001" name="shouldFindCheckstyleExtensions"/>
-  <testcase classname="org.sonar.core.ExtensionsFinderTest" time="0.001" name="shouldNotFailIfNoCheckstyleExtensions"/>
-  <testcase classname="org.sonar.core.ExtensionsFinderTest" time="0.016"
-            name="shouldFindCheckstyleExtensionsFromOverridenPath"/>
-  <testcase classname="org.sonar.core.ExtensionsFinderTest" time="0.001"
-            name="shouldFailIfOverridenRulesExtensionsPathDoesNotExist">
-    <skipped/>
-  </testcase>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldSaveErrorsAndFailuresInXML/expected-test-details.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/shouldSaveErrorsAndFailuresInXML/expected-test-details.xml
deleted file mode 100644 (file)
index 1eb84ef..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-<tests-details>
-  <testcase status="failure" time="5" name="shouldFindJdbcDrivers">
-    <failure message="expected:&lt;2&gt; but was:&lt;1&gt;"><![CDATA[java.lang.AssertionError: expected:&lt;2&gt; but was:&lt;1&gt;
-  at org.junit.Assert.fail(Assert.java:74)
-  at org.junit.Assert.failNotEquals(Assert.java:448)
-  at org.junit.Assert.assertEquals(Assert.java:102)
-  at org.junit.Assert.assertEquals(Assert.java:323)
-  at org.junit.Assert.assertEquals(Assert.java:319)
-  at org.sonar.core.ExtensionsFinderTest.shouldFindJdbcDrivers(ExtensionsFinderTest.java:45)
-  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-  at java.lang.reflect.Method.invoke(Method.java:585)
-  at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
-  at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
-  at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
-  at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
-  at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
-  at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
-  at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
-  at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
-  at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
-  at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
-  at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
-  at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
-  at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
-  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
-  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
-  at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
-  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-  at java.lang.reflect.Method.invoke(Method.java:585)
-  at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
-  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
-]]></failure>
-  </testcase>
-  <testcase status="ok" time="2" name="shouldFailIfNoJdbcDrivers"/>
-  <testcase status="error" time="0" name="shouldFindPlugins">
-    <error message="TEST"><![CDATA[java.lang.RuntimeException: TEST
-  at org.sonar.core.ExtensionsFinderTest.shouldFindPlugins(ExtensionsFinderTest.java:57)
-  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-  at java.lang.reflect.Method.invoke(Method.java:585)
-  at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
-  at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
-  at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
-  at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
-  at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
-  at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
-  at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
-  at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
-  at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
-  at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
-  at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
-  at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
-  at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
-  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
-  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
-  at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
-  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-  at java.lang.reflect.Method.invoke(Method.java:585)
-  at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
-  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
-]]></error>
-  </testcase>
-  <testcase status="ok" time="0" name="shouldNotFailIfNoPlugins"/>
-  <testcase status="ok" time="1" name="shouldFindCheckstyleExtensions"/>
-  <testcase status="ok" time="1"
-            name="shouldNotFailIfNoCheckstyleExtensions"/>
-  <testcase status="ok" time="16"
-            name="shouldFindCheckstyleExtensionsFromOverridenPath"/>
-  <testcase status="skipped" time="0"
-            name="shouldFailIfOverridenRulesExtensionsPathDoesNotExist"/>
-</tests-details>
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/successRatioIsZeroWhenAllTestsFail/TEST-FooTest.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/SurefireSensorTest/successRatioIsZeroWhenAllTestsFail/TEST-FooTest.xml
deleted file mode 100644 (file)
index 950b847..0000000
+++ /dev/null
@@ -1,160 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="1" skipped="0" tests="2" time="0.032" failures="1" name="org.sonar.Foo">
-  <properties>
-    <property value="Apple Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="../Resources/Eclipse.icns" name="env.APP_ICON_175"/>
-    <property value="SUN_STANDARD" name="sun.java.launcher"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="6b0270" name="env.SECURITYSESSIONID"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="/var/folders/Ea/Ea1AbxXfF6u1WpNRWAq8q++++TI/-Tmp-/" name="env.TMPDIR"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="1.5.0_16-b06-284" name="java.runtime.version"/>
-    <property value="/tmp/launch-sNnktt/Render" name="env.Apple_PubSub_Socket_Render"/>
-    <property value="/tmp/launch-fxz1jZ/:0" name="env.DISPLAY"/>
-    <property value="cmunger" name="user.name"/>
-    <property value="cmunger" name="env.USER"/>
-    <property value="/bin/bash" name="env.SHELL"/>
-    <property value="0x1F5:0:0" name="env.__CF_USER_TEXT_ENCODING"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="/usr/bin:/bin:/usr/sbin:/sbin" name="env.PATH"/>
-    <property value="en" name="user.language"/>
-    <property value="./testDBStop52578" name="derby.system.home"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="/usr/share/apache-maven-2.0.9/bin/m2.conf" name="classworlds.conf"/>
-    <property value="1.5.0_16" name="java.version"/>
-    <property value="Europe/Zurich" name="user.timezone"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="http.nonProxyHosts"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="" name="sun.cpu.isalist"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="/" name="file.separator"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="US" name="user.country"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="cmunger" name="env.LOGNAME"/>
-    <property value="10.5.6" name="os.version"/>
-    <property value=":" name="path.separator"/>
-    <property value="org.codehaus.classworlds.Launcher" name="env.JAVA_MAIN_CLASS_1410"/>
-    <property value="1.5.0_16-133" name="java.vm.version"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="socksNonProxyHosts"/>
-    <property value="1" name="env.JAVA_STARTED_ON_FIRST_THREAD_175"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="ftp.nonProxyHosts"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="http://www.apple.com/" name="java.vendor.url"/>
-    <property value="Apple Inc." name="java.vm.vendor"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="/usr/share/apache-maven-2.0.9" name="maven.home"/>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/usr/share/apache-maven-2.0.9/boot/classworlds-1.1.jar" name="java.class.path"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="little" name="sun.cpu.endian"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="/Users/cmunger" name="env.HOME"/>
-    <property
-        value="/Users/cmunger/dev/workspace/sonar/sonar-core/target/test-classes:/Users/cmunger/dev/workspace/sonar/sonar-core/target/classes:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-commons/1.7-SNAPSHOT/sonar-commons-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/org/picocontainer/picocontainer/2.7/picocontainer-2.7.jar:/Users/cmunger/.m2/repository/org/slf4j/slf4j-api/1.5.0/slf4j-api-1.5.0.jar:/Users/cmunger/.m2/repository/org/slf4j/jcl104-over-slf4j/1.4.3/jcl104-over-slf4j-1.4.3.jar:/Users/cmunger/.m2/repository/ch/qos/logback/logback-classic/0.9.9/logback-classic-0.9.9.jar:/Users/cmunger/.m2/repository/ch/qos/logback/logback-core/0.9.9/logback-core-0.9.9.jar:/Users/cmunger/.m2/repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar:/Users/cmunger/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar:/Users/cmunger/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/cmunger/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar:/Users/cmunger/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/cmunger/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar:/Users/cmunger/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar:/Users/cmunger/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga.jar:/Users/cmunger/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:/Users/cmunger/.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar:/Users/cmunger/.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-entitymanager/3.3.1.ga/hibernate-entitymanager-3.3.1.ga.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-validator/3.0.0.ga/hibernate-validator-3.0.0.ga.jar:/Users/cmunger/.m2/repository/jboss/javassist/3.3.ga/javassist-3.3.ga.jar:/Users/cmunger/.m2/repository/jboss/jboss-common-core/2.0.4.GA/jboss-common-core-2.0.4.GA.jar:/Users/cmunger/.m2/repository/commons-configuration/commons-configuration/1.5/commons-configuration-1.5.jar:/Users/cmunger/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/cmunger/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:/Users/cmunger/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/cmunger/.m2/repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar:/Users/cmunger/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/Users/cmunger/.m2/repository/commons-dbcp/commons-dbcp/1.2.1/commons-dbcp-1.2.1.jar:/Users/cmunger/.m2/repository/commons-pool/commons-pool/1.2/commons-pool-1.2.jar:/Users/cmunger/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar:/Users/cmunger/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-commons/1.7-SNAPSHOT/sonar-commons-1.7-SNAPSHOT-tests.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.7-SNAPSHOT/sonar-plugin-api-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar:/Users/cmunger/.m2/repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar:/Users/cmunger/.m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar:/Users/cmunger/.m2/repository/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar:/Users/cmunger/.m2/repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/plugins/sonar-plugin-core/1.7-SNAPSHOT/sonar-plugin-core-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.7-SNAPSHOT/sonar-plugin-api-1.7-SNAPSHOT-tests.jar:/Users/cmunger/.m2/repository/mysql/mysql-connector-java/5.0.8/mysql-connector-java-5.0.8.jar:/Users/cmunger/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar:/Users/cmunger/.m2/repository/logkit/logkit/1.0.1/logkit-1.0.1.jar:/Users/cmunger/.m2/repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar:/Users/cmunger/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar:/Users/cmunger/.m2/repository/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.jar:/Users/cmunger/.m2/repository/org/apache/derby/derbynet/10.4.1.3/derbynet-10.4.1.3.jar:/Users/cmunger/.m2/repository/junit/junit/4.4/junit-4.4.jar:/Users/cmunger/.m2/repository/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1.jar:/Users/cmunger/.m2/repository/org/dbunit/dbunit/2.2/dbunit-2.2.jar:/Users/cmunger/.m2/repository/junit-addons/junit-addons/1.4/junit-addons-1.4.jar:/Users/cmunger/.m2/repository/poi/poi/2.5.1-final-20040804/poi-2.5.1-final-20040804.jar:/Users/cmunger/.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar:/Users/cmunger/.m2/repository/org/apache/derby/derbyclient/10.4.1.3/derbyclient-10.4.1.3.jar:/Users/cmunger/.m2/repository/org/easymock/easymock/2.3/easymock-2.3.jar:/Users/cmunger/.m2/repository/org/easymock/easymockclassextension/2.3/easymockclassextension-2.3.jar:/Users/cmunger/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/cmunger/.m2/repository/xmlunit/xmlunit/1.2/xmlunit-1.2.jar:/Users/cmunger/.m2/repository/org/mockito/mockito-all/1.5/mockito-all-1.5.jar:"
-        name="surefire.test.class.path"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="http://bugreport.apple.com/" name="java.vendor.url.bug"/>
-    <property value="/tmp/launch-a2Hs8j/Listeners" name="env.SSH_AUTH_SOCK"/>
-    <property value="legacy" name="env.COMMAND_MODE"/>
-    <property value="i386" name="os.arch"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property value="/Users/cmunger/dev/workspace/sonar/sonar-core" name="user.dir"/>
-    <property value="1050.1.5.0_16-284" name="mrj.version"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="/Users/cmunger/dev/workspace/sonar/sonar-core" name="basedir"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-  </properties>
-  <testcase classname="org.sonar.Foo" time="0.005" name="testOne">
-    <failure type="java.lang.AssertionError" message="expected:&lt;2&gt; but was:&lt;1&gt;">java.lang.AssertionError:
-      expected:&lt;2&gt; but was:&lt;1&gt;
-      at org.junit.Assert.fail(Assert.java:74)
-      at org.junit.Assert.failNotEquals(Assert.java:448)
-      at org.junit.Assert.assertEquals(Assert.java:102)
-      at org.junit.Assert.assertEquals(Assert.java:323)
-      at org.junit.Assert.assertEquals(Assert.java:319)
-      at org.sonar.core.ExtensionsFinderTest.shouldFindJdbcDrivers(ExtensionsFinderTest.java:45)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
-      at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
-      at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
-      at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
-      at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
-      at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
-      at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
-      at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
-      at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
-      at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
-      at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
-      at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
-      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
-      at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
-      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
-    </failure>
-  </testcase>
-  <testcase classname="org.sonar.Foo" time="0" name="testTwo">
-    <error type="java.lang.RuntimeException" message="TEST">java.lang.RuntimeException: TEST
-      at org.sonar.core.ExtensionsFinderTest.shouldFindPlugins(ExtensionsFinderTest.java:57)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
-      at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
-      at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
-      at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
-      at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
-      at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
-      at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
-      at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
-      at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
-      at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
-      at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
-      at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
-      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
-      at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
-      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
-    </error>
-  </testcase>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/groovyAndJavaTests/TEST-groovy.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/groovyAndJavaTests/TEST-groovy.xml
deleted file mode 100644 (file)
index 42a888e..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="2" time="1,134.193" failures="0"
-           name="groovy.Foo">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="1.5.0_06-64" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="&quot;Apple Computer, Inc.&quot;" name="java.vm.vendor"/>
-    <property value="http://apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="FR" name="user.country"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="user.dir"/>
-    <property value="1.5.0_06-112" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="ppc" name="os.arch"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.4.8" name="os.version"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="cmunger" name="user.name"/>
-    <property
-        value="/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/Users/cmunger/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar"
-        name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="fr" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_06" name="java.version"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="Apple Computer, Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://developer.apple.com/java/" name="java.vendor.url.bug"/>
-    <property value="big" name="sun.cpu.endian"/>
-    <property value="UnicodeBig" name="sun.io.unicode.encoding"/>
-    <property value="1040.1.5.0_06-112" name="mrj.version"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-  <testcase time="0.035" name="testGetUnKnownCollector"/>
-  <testcase time="0" name="testGetJDependsCollector"/>
-  <testcase time="0" name="testGetJavaNCSSCollector"/>
-  <testcase time="0" name="testGetCloverCollector"/>
-  <testcase time="0.644" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.015" name="testCollectWithPluginConfiguration"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/groovyAndJavaTests/TEST-java.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/groovyAndJavaTests/TEST-java.xml
deleted file mode 100644 (file)
index 2d6bb0c..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="2" time="1,134.193" failures="0"
-           name="java.Foo">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="1.5.0_06-64" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="&quot;Apple Computer, Inc.&quot;" name="java.vm.vendor"/>
-    <property value="http://apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="FR" name="user.country"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="user.dir"/>
-    <property value="1.5.0_06-112" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="ppc" name="os.arch"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.4.8" name="os.version"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="cmunger" name="user.name"/>
-    <property
-        value="/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/Users/cmunger/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar"
-        name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="fr" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_06" name="java.version"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="Apple Computer, Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://developer.apple.com/java/" name="java.vendor.url.bug"/>
-    <property value="big" name="sun.cpu.endian"/>
-    <property value="UnicodeBig" name="sun.io.unicode.encoding"/>
-    <property value="1040.1.5.0_06-112" name="mrj.version"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-  <testcase time="0.035" name="testGetUnKnownCollector"/>
-  <testcase time="0" name="testGetJDependsCollector"/>
-  <testcase time="0" name="testGetJavaNCSSCollector"/>
-  <testcase time="0" name="testGetCloverCollector"/>
-  <testcase time="0.644" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.015" name="testCollectWithPluginConfiguration"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/innerClasses/TEST-org.apache.commons.collections.TestAllPackages.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/innerClasses/TEST-org.apache.commons.collections.TestAllPackages.xml
deleted file mode 100644 (file)
index e3f5933..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite failures="0" time="157.199" errors="18" skipped="0" tests="13025"
-           name="org.apache.commons.collections.TestAllPackages">
-  <properties>
-    <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
-    <property name="sun.boot.library.path"
-              value="/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Libraries"/>
-    <property name="java.vm.version" value="11.3-b02-83"/>
-  </properties>
-  <testcase time="0.012" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap"
-            name="testMapEntrySetIteratorEntrySetValueCrossCheck"/>
-  <testcase time="0.001" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap"
-            name="testMapEntrySetIteratorEntry"/>
-  <testcase time="0.001" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap$TestBidiMapEntrySet"
-            name="testCanonicalEmptyCollectionExists"/>
-  <testcase time="0" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap$TestBidiMapEntrySet"
-            name="testCanonicalFullCollectionExists"/>
-  <testcase time="0.03" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap$TestInverseBidiMap"
-            name="testMapPut"/>
-  <testcase time="0" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap$TestInverseBidiMap"
-            name="testMapPutNullKey"/>
-  <testcase time="0.001" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap$TestInverseBidiMap"
-            name="testMapPutNullValue">
-    <error
-        message="org.apache.commons.collections.FastArrayList; local class incompatible: stream classdesc serialVersionUID = 1566341225434603896, local class serialVersionUID = 7918928878747177577"
-        type="java.io.InvalidClassException">java.io.InvalidClassException:
-      org.apache.commons.collections.FastArrayList;
-      local class incompatible: stream classdesc serialVersionUID = 1566341225434603896, local class serialVersionUID =
-      7918928878747177577
-      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
-      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
-      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
-      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
-      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
-      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
-      at org.apache.commons.collections.AbstractTestObject.readExternalFormFromStream(AbstractTestObject.java:326)
-      at org.apache.commons.collections.AbstractTestObject.readExternalFormFromDisk(AbstractTestObject.java:301)
-      at org.apache.commons.collections.list.AbstractTestList.testEmptyListCompatibility(AbstractTestList.java:1077)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:597)
-      at junit.framework.TestCase.runTest(TestCase.java:154)
-      at junit.framework.TestCase.runBare(TestCase.java:127)
-      at junit.framework.TestResult$1.protect(TestResult.java:106)
-      at junit.framework.TestResult.runProtected(TestResult.java:124)
-      at junit.framework.TestResult.run(TestResult.java:109)
-      at junit.framework.TestCase.run(TestCase.java:118)
-      at junit.framework.TestSuite.runTest(TestSuite.java:208)
-      at junit.framework.TestSuite.run(TestSuite.java:203)
-      at junit.framework.TestSuite.runTest(TestSuite.java:208)
-      at junit.framework.TestSuite.run(TestSuite.java:203)
-      at junit.framework.TestSuite.runTest(TestSuite.java:208)
-      at junit.framework.TestSuite.run(TestSuite.java:203)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:597)
-      at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
-      at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:597)
-      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
-      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
-    </error>
-  </testcase>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TEST-ch.hortis.sonar.mvn.SonarMojoTest.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TEST-ch.hortis.sonar.mvn.SonarMojoTest.xml
deleted file mode 100644 (file)
index c11af66..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="5" time="9.138" failures="0" name="ch.hortis.sonar.mvn.SonarMojoTest">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="1.5.0_06-64" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="&quot;Apple Computer, Inc.&quot;" name="java.vm.vendor"/>
-    <property value="http://apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="FR" name="user.country"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="user.dir"/>
-    <property value="1.5.0_06-112" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="ppc" name="os.arch"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.4.8" name="os.version"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="Europe/Zurich" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="cmunger" name="user.name"/>
-    <property
-        value="/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/Users/cmunger/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar"
-        name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="fr" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_06" name="java.version"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="Apple Computer, Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://developer.apple.com/java/" name="java.vendor.url.bug"/>
-    <property value="big" name="sun.cpu.endian"/>
-    <property value="UnicodeBig" name="sun.io.unicode.encoding"/>
-    <property value="1040.1.5.0_06-112" name="mrj.version"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-  <testcase time="0.035" name="testGetUnKnownCollector"/>
-  <testcase time="0" name="testGetJDependsCollector"/>
-  <testcase time="0" name="testGetJavaNCSSCollector"/>
-  <testcase time="0" name="testGetCloverCollector"/>
-  <testcase time="0.644" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.015" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.044" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.013" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.024" name="testGetEmptyJdbcPassword"/>
-  <testcase time="6.889" name="testPopulateWithoutAnyReport"/>
-  <testcase time="0.697" name="testPopulateWithJavaNcssReport"/>
-  <testcase time="0.665" name="testPopulateWithJDependsReport"/>
-  <testcase time="0.283" name="testPopulateWithCloverReport"/>
-  <testcase time="0.592" name="testPopulateWithCheckstyleReport"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TEST-ch.hortis.sonar.mvn.mc.CheckstyleCollectorTest.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TEST-ch.hortis.sonar.mvn.mc.CheckstyleCollectorTest.xml
deleted file mode 100644 (file)
index 71e443d..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="2" time="1,134.193" failures="0"
-           name="ch.hortis.sonar.mvn.mc.CheckstyleCollectorTest">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="1.5.0_06-64" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="&quot;Apple Computer, Inc.&quot;" name="java.vm.vendor"/>
-    <property value="http://apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="FR" name="user.country"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="user.dir"/>
-    <property value="1.5.0_06-112" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="ppc" name="os.arch"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.4.8" name="os.version"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="cmunger" name="user.name"/>
-    <property
-        value="/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/Users/cmunger/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar"
-        name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="fr" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_06" name="java.version"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="Apple Computer, Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://developer.apple.com/java/" name="java.vendor.url.bug"/>
-    <property value="big" name="sun.cpu.endian"/>
-    <property value="UnicodeBig" name="sun.io.unicode.encoding"/>
-    <property value="1040.1.5.0_06-112" name="mrj.version"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-  <testcase time="0.035" name="testGetUnKnownCollector"/>
-  <testcase time="0" name="testGetJDependsCollector"/>
-  <testcase time="0" name="testGetJavaNCSSCollector"/>
-  <testcase time="0" name="testGetCloverCollector"/>
-  <testcase time="0.644" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.015" name="testCollectWithPluginConfiguration"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TEST-ch.hortis.sonar.mvn.mc.CloverCollectorTest.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TEST-ch.hortis.sonar.mvn.mc.CloverCollectorTest.xml
deleted file mode 100644 (file)
index f803b69..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="2" time="0.061" failures="0" name="ch.hortis.sonar.mvn.mc.CloverCollectorTest">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="1.5.0_06-64" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="&quot;Apple Computer, Inc.&quot;" name="java.vm.vendor"/>
-    <property value="http://apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="FR" name="user.country"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="user.dir"/>
-    <property value="1.5.0_06-112" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="ppc" name="os.arch"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.4.8" name="os.version"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="cmunger" name="user.name"/>
-    <property
-        value="/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/Users/cmunger/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar"
-        name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="fr" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_06" name="java.version"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="Apple Computer, Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://developer.apple.com/java/" name="java.vendor.url.bug"/>
-    <property value="big" name="sun.cpu.endian"/>
-    <property value="UnicodeBig" name="sun.io.unicode.encoding"/>
-    <property value="1040.1.5.0_06-112" name="mrj.version"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-  <testcase time="0.035" name="testGetUnKnownCollector"/>
-  <testcase time="0" name="testGetJDependsCollector"/>
-  <testcase time="0" name="testGetJavaNCSSCollector"/>
-  <testcase time="0" name="testGetCloverCollector"/>
-  <testcase time="0.644" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.015" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.044" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.013" name="testCollectWithPluginConfiguration"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TEST-ch.hortis.sonar.mvn.mc.JDependsCollectorTest.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TEST-ch.hortis.sonar.mvn.mc.JDependsCollectorTest.xml
deleted file mode 100644 (file)
index 0fc45fc..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="2" time="0.031" failures="0"
-           name="ch.hortis.sonar.mvn.mc.JDependsCollectorTest">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="1.5.0_06-64" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="&quot;Apple Computer, Inc.&quot;" name="java.vm.vendor"/>
-    <property value="http://apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="FR" name="user.country"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="user.dir"/>
-    <property value="1.5.0_06-112" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="ppc" name="os.arch"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.4.8" name="os.version"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="Europe/Zurich" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="cmunger" name="user.name"/>
-    <property
-        value="/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/Users/cmunger/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar"
-        name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="fr" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_06" name="java.version"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="Apple Computer, Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://developer.apple.com/java/" name="java.vendor.url.bug"/>
-    <property value="big" name="sun.cpu.endian"/>
-    <property value="UnicodeBig" name="sun.io.unicode.encoding"/>
-    <property value="1040.1.5.0_06-112" name="mrj.version"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-  <testcase time="0.035" name="testGetUnKnownCollector"/>
-  <testcase time="0" name="testGetJDependsCollector"/>
-  <testcase time="0" name="testGetJavaNCSSCollector"/>
-  <testcase time="0" name="testGetCloverCollector"/>
-  <testcase time="0.644" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.015" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.044" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.013" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.024" name="testGetEmptyJdbcPassword"/>
-  <testcase time="6.889" name="testPopulateWithoutAnyReport"/>
-  <testcase time="0.697" name="testPopulateWithJavaNcssReport"/>
-  <testcase time="0.665" name="testPopulateWithJDependsReport"/>
-  <testcase time="0.283" name="testPopulateWithCloverReport"/>
-  <testcase time="0.592" name="testPopulateWithCheckstyleReport"/>
-  <testcase time="0.014" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.001" name="testCollectWithPluginConfiguration"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TEST-ch.hortis.sonar.mvn.mc.JavaNCSSCollectorTest.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TEST-ch.hortis.sonar.mvn.mc.JavaNCSSCollectorTest.xml
deleted file mode 100644 (file)
index 693f3fa..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="2" time="0.08" failures="0"
-           name="ch.hortis.sonar.mvn.mc.JavaNCSSCollectorTest">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="1.5.0_06-64" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="&quot;Apple Computer, Inc.&quot;" name="java.vm.vendor"/>
-    <property value="http://apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="FR" name="user.country"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="user.dir"/>
-    <property value="1.5.0_06-112" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="ppc" name="os.arch"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.4.8" name="os.version"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="Europe/Zurich" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="cmunger" name="user.name"/>
-    <property
-        value="/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/Users/cmunger/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar"
-        name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="fr" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_06" name="java.version"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="Apple Computer, Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://developer.apple.com/java/" name="java.vendor.url.bug"/>
-    <property value="big" name="sun.cpu.endian"/>
-    <property value="UnicodeBig" name="sun.io.unicode.encoding"/>
-    <property value="1040.1.5.0_06-112" name="mrj.version"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-  <testcase time="0.035" name="testGetUnKnownCollector"/>
-  <testcase time="0" name="testGetJDependsCollector"/>
-  <testcase time="0" name="testGetJavaNCSSCollector"/>
-  <testcase time="0" name="testGetCloverCollector"/>
-  <testcase time="0.644" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.015" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.044" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.013" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.024" name="testGetEmptyJdbcPassword"/>
-  <testcase time="6.889" name="testPopulateWithoutAnyReport"/>
-  <testcase time="0.697" name="testPopulateWithJavaNcssReport"/>
-  <testcase time="0.665" name="testPopulateWithJDependsReport"/>
-  <testcase time="0.283" name="testPopulateWithCloverReport"/>
-  <testcase time="0.592" name="testPopulateWithCheckstyleReport"/>
-  <testcase time="0.014" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.001" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.074" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.003" name="testCollectWithPluginConfiguration"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TEST-ch.hortis.sonar.mvn.mc.MetricsCollectorRegistryTest.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TEST-ch.hortis.sonar.mvn.mc.MetricsCollectorRegistryTest.xml
deleted file mode 100644 (file)
index dc3b31a..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="4" time="0.078" failures="0"
-           name="ch.hortis.sonar.mvn.mc.MetricsCollectorRegistryTest">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="1.5.0_06-64" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="&quot;Apple Computer, Inc.&quot;" name="java.vm.vendor"/>
-    <property value="http://apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="FR" name="user.country"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="user.dir"/>
-    <property value="1.5.0_06-112" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="ppc" name="os.arch"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.4.8" name="os.version"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="cmunger" name="user.name"/>
-    <property
-        value="/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/Users/cmunger/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar"
-        name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="fr" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_06" name="java.version"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="Apple Computer, Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://developer.apple.com/java/" name="java.vendor.url.bug"/>
-    <property value="big" name="sun.cpu.endian"/>
-    <property value="UnicodeBig" name="sun.io.unicode.encoding"/>
-    <property value="1040.1.5.0_06-112" name="mrj.version"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-  <testcase time="0.035" name="testGetUnKnownCollector"/>
-  <testcase time="0" name="testGetJDependsCollector"/>
-  <testcase time="0" name="testGetJavaNCSSCollector"/>
-  <testcase time="0" name="testGetCloverCollector"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TESTS-AllTests.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/multipleReports/TESTS-AllTests.xml
deleted file mode 100644 (file)
index 86a1c26..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="2" time="1,134.193" failures="0"
-           name="ch.hortis.sonar.mvn.mc.AnotherCheckstyleCollectorTest">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="1.5.0_06-64" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="&quot;Apple Computer, Inc.&quot;" name="java.vm.vendor"/>
-    <property value="http://apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="FR" name="user.country"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="user.dir"/>
-    <property value="1.5.0_06-112" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="ppc" name="os.arch"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.4.8" name="os.version"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="cmunger" name="user.name"/>
-    <property
-        value="/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/Users/cmunger/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar"
-        name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="fr" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_06" name="java.version"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="Apple Computer, Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://developer.apple.com/java/" name="java.vendor.url.bug"/>
-    <property value="big" name="sun.cpu.endian"/>
-    <property value="UnicodeBig" name="sun.io.unicode.encoding"/>
-    <property value="1040.1.5.0_06-112" name="mrj.version"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-  <testcase time="0.035" name="testGetUnKnownCollector"/>
-  <testcase time="0" name="testGetJDependsCollector"/>
-  <testcase time="0" name="testGetJavaNCSSCollector"/>
-  <testcase time="0" name="testGetCloverCollector"/>
-  <testcase time="0.644" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.015" name="testCollectWithPluginConfiguration"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/nestedInnerClasses/TEST-org.sonar.plugins.surefire.NestedTest$Inner1$Run.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/nestedInnerClasses/TEST-org.sonar.plugins.surefire.NestedTest$Inner1$Run.xml
deleted file mode 100644 (file)
index b3357bd..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite failures="0" time="0.001" errors="0" skipped="0" tests="1" name="org.sonar.plugins.surefire.NestedInnerTest">
-  <properties>
-    <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
-    <property name="sun.boot.library.path" value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries"/>
-    <property name="java.vm.version" value="20.1-b02-384"/>
-    <property name="awt.nativeDoubleBuffering" value="true"/>
-    <property name="gopherProxySet" value="false"/>
-    <property name="mrj.build" value="10M3425"/>
-    <property name="java.vm.vendor" value="Apple Inc."/>
-    <property name="java.vendor.url" value="http://www.apple.com/"/>
-    <property name="path.separator" value=":"/>
-    <property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
-    <property name="file.encoding.pkg" value="sun.io"/>
-    <property name="user.country" value="US"/>
-    <property name="sun.java.launcher" value="SUN_STANDARD"/>
-    <property name="sun.os.patch.level" value="unknown"/>
-    <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
-    <property name="user.dir" value="/Users/sbrandhof/projects/github/sonar/plugins/sonar-surefire-plugin"/>
-    <property name="java.runtime.version" value="1.6.0_26-b03-384-10M3425"/>
-    <property name="java.awt.graphicsenv" value="apple.awt.CGraphicsEnvironment"/>
-    <property name="java.endorsed.dirs" value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed"/>
-    <property name="os.arch" value="x86_64"/>
-    <property name="java.io.tmpdir" value="/var/folders/H1/H1p3aGauF5myqknnfgovp++++TI/-Tmp-/"/>
-    <property name="line.separator" value="
-"/>
-    <property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
-    <property name="os.name" value="Mac OS X"/>
-    <property name="classworlds.conf" value="/Users/sbrandhof/Dropbox/dev/softwares/apache-maven-2.2.1/bin/m2.conf"/>
-    <property name="sun.jnu.encoding" value="MacRoman"/>
-    <property name="java.library.path" value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"/>
-    <property name="java.specification.name" value="Java Platform API Specification"/>
-    <property name="java.class.version" value="50.0"/>
-    <property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
-    <property name="os.version" value="10.6.8"/>
-    <property name="http.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
-    <property name="user.home" value="/Users/sbrandhof"/>
-    <property name="user.timezone" value="Europe/Paris"/>
-    <property name="java.awt.printerjob" value="apple.awt.CPrinterJob"/>
-    <property name="java.specification.version" value="1.6"/>
-    <property name="file.encoding" value="MacRoman"/>
-    <property name="user.name" value="sbrandhof"/>
-    <property name="java.class.path" value="/Users/sbrandhof/Dropbox/dev/softwares/apache-maven-2.2.1/boot/classworlds-1.1.jar"/>
-    <property name="java.vm.specification.version" value="1.0"/>
-    <property name="sun.arch.data.model" value="64"/>
-    <property name="java.home" value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home"/>
-    <property name="sun.java.command" value="org.codehaus.classworlds.Launcher &quot;clean&quot; &quot;install&quot;"/>
-    <property name="java.specification.vendor" value="Sun Microsystems Inc."/>
-    <property name="user.language" value="en"/>
-    <property name="awt.toolkit" value="apple.awt.CToolkit"/>
-    <property name="java.vm.info" value="mixed mode"/>
-    <property name="java.version" value="1.6.0_26"/>
-    <property name="java.ext.dirs" value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext"/>
-    <property name="sun.boot.class.path" value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar"/>
-    <property name="java.vendor" value="Apple Inc."/>
-    <property name="maven.home" value="/Users/sbrandhof/Dropbox/dev/softwares/apache-maven-2.2.1"/>
-    <property name="file.separator" value="/"/>
-    <property name="java.vendor.url.bug" value="http://bugreport.apple.com/"/>
-    <property name="sun.cpu.endian" value="little"/>
-    <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
-    <property name="mrj.version" value="1060.1.6.0_26-384"/>
-    <property name="socksNonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
-    <property name="ftp.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
-    <property name="sun.cpu.isalist" value=""/>
-  </properties>
-  <testcase time="0" classname="org.sonar.plugins.surefire.NestedInnerTest$Inner1$Run" name="test1"/>
-  <testcase time="0" classname="org.sonar.plugins.surefire.NestedInnerTest$Inner2$Run" name="test2"/>
-  <testcase time="0" classname="org.sonar.plugins.surefire.NestedInnerTest$Inner3$Run" name="test3"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/nestedInnerClasses/TEST-org.sonar.plugins.surefire.NestedTest$Inner2$Run.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/nestedInnerClasses/TEST-org.sonar.plugins.surefire.NestedTest$Inner2$Run.xml
deleted file mode 100644 (file)
index 677686a..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite failures="0" time="0.023" errors="0" skipped="0" tests="1" name="org.sonar.plugins.surefire.NestedInnerTest$Inner2$Run">
-  <properties>
-    <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
-    <property name="sun.boot.library.path" value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries"/>
-    <property name="java.vm.version" value="20.1-b02-384"/>
-    <property name="awt.nativeDoubleBuffering" value="true"/>
-    <property name="gopherProxySet" value="false"/>
-    <property name="mrj.build" value="10M3425"/>
-    <property name="java.vm.vendor" value="Apple Inc."/>
-    <property name="java.vendor.url" value="http://www.apple.com/"/>
-    <property name="path.separator" value=":"/>
-    <property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
-    <property name="file.encoding.pkg" value="sun.io"/>
-    <property name="user.country" value="US"/>
-    <property name="sun.java.launcher" value="SUN_STANDARD"/>
-    <property name="sun.os.patch.level" value="unknown"/>
-    <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
-    <property name="user.dir" value="/Users/sbrandhof/projects/github/sonar/plugins/sonar-surefire-plugin"/>
-    <property name="java.runtime.version" value="1.6.0_26-b03-384-10M3425"/>
-    <property name="java.awt.graphicsenv" value="apple.awt.CGraphicsEnvironment"/>
-    <property name="java.endorsed.dirs" value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed"/>
-    <property name="os.arch" value="x86_64"/>
-    <property name="java.io.tmpdir" value="/var/folders/H1/H1p3aGauF5myqknnfgovp++++TI/-Tmp-/"/>
-    <property name="line.separator" value="
-"/>
-    <property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
-    <property name="os.name" value="Mac OS X"/>
-    <property name="classworlds.conf" value="/Users/sbrandhof/Dropbox/dev/softwares/apache-maven-2.2.1/bin/m2.conf"/>
-    <property name="sun.jnu.encoding" value="MacRoman"/>
-    <property name="java.library.path" value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"/>
-    <property name="java.specification.name" value="Java Platform API Specification"/>
-    <property name="java.class.version" value="50.0"/>
-    <property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
-    <property name="os.version" value="10.6.8"/>
-    <property name="http.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
-    <property name="user.home" value="/Users/sbrandhof"/>
-    <property name="user.timezone" value="Europe/Paris"/>
-    <property name="java.awt.printerjob" value="apple.awt.CPrinterJob"/>
-    <property name="java.specification.version" value="1.6"/>
-    <property name="file.encoding" value="MacRoman"/>
-    <property name="user.name" value="sbrandhof"/>
-    <property name="java.class.path" value="/Users/sbrandhof/Dropbox/dev/softwares/apache-maven-2.2.1/boot/classworlds-1.1.jar"/>
-    <property name="java.vm.specification.version" value="1.0"/>
-    <property name="sun.arch.data.model" value="64"/>
-    <property name="java.home" value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home"/>
-    <property name="sun.java.command" value="org.codehaus.classworlds.Launcher &quot;clean&quot; &quot;install&quot;"/>
-    <property name="java.specification.vendor" value="Sun Microsystems Inc."/>
-    <property name="user.language" value="en"/>
-    <property name="awt.toolkit" value="apple.awt.CToolkit"/>
-    <property name="java.vm.info" value="mixed mode"/>
-    <property name="java.version" value="1.6.0_26"/>
-    <property name="java.ext.dirs" value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext"/>
-    <property name="sun.boot.class.path" value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar"/>
-    <property name="java.vendor" value="Apple Inc."/>
-    <property name="maven.home" value="/Users/sbrandhof/Dropbox/dev/softwares/apache-maven-2.2.1"/>
-    <property name="file.separator" value="/"/>
-    <property name="java.vendor.url.bug" value="http://bugreport.apple.com/"/>
-    <property name="sun.cpu.endian" value="little"/>
-    <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
-    <property name="mrj.version" value="1060.1.6.0_26-384"/>
-    <property name="socksNonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
-    <property name="ftp.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
-    <property name="sun.cpu.isalist" value=""/>
-  </properties>
-  <testcase time="0" classname="org.sonar.plugins.surefire.NestedInnerTest$Inner2$Run" name="test2"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/noReports/hack b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/noReports/hack
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/noTests/TEST-noTests.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/noTests/TEST-noTests.xml
deleted file mode 100644 (file)
index fb55bf5..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="0" time="1,134.193" failures="0"
-           name="ch.hortis.sonar.mvn.mc.CheckstyleCollectorTest">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="1.5.0_06-64" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="&quot;Apple Computer, Inc.&quot;" name="java.vm.vendor"/>
-    <property value="http://apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="FR" name="user.country"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="user.dir"/>
-    <property value="1.5.0_06-112" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="ppc" name="os.arch"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.4.8" name="os.version"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="cmunger" name="user.name"/>
-    <property
-        value="/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/Users/cmunger/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar"
-        name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="fr" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_06" name="java.version"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="Apple Computer, Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://developer.apple.com/java/" name="java.vendor.url.bug"/>
-    <property value="big" name="sun.cpu.endian"/>
-    <property value="UnicodeBig" name="sun.io.unicode.encoding"/>
-    <property value="1040.1.5.0_06-112" name="mrj.version"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/onlyTestSuiteReport/TESTS-AllTests.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/AbstractSurefireParserTest/onlyTestSuiteReport/TESTS-AllTests.xml
deleted file mode 100644 (file)
index e5bd8c0..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuites>
-<testsuite errors="0" skipped="1" tests="11" time="0.08" failures="0"
-           name="org.sonar.JavaNCSSCollectorTest">
-  <testcase time="0.013" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.024" name="testGetEmptyJdbcPassword"/>
-  <testcase time="6.889" name="testPopulateWithoutAnyReport"/>
-  <testcase time="0.697" name="testPopulateWithJavaNcssReport"/>
-  <testcase time="0.665" name="testPopulateWithJDependsReport"/>
-  <testcase time="0.283" name="testPopulateWithCloverReport"/>
-  <testcase time="0.592" name="testPopulateWithCheckstyleReport"/>
-  <testcase time="0.014" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.001" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.074" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.003" name="testCollectWithPluginConfiguration"/>
-</testsuite>
-<testsuite errors="0" skipped="1" tests="4" time="0.08" failures="0"
-           name="org.sonar.SecondTest">
-  <testcase time="0.014" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.001" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.074" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.003" name="testCollectWithPluginConfiguration"/>
-</testsuite>
-</testsuites>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/SurefireUtilsTest/shouldGetReportsFromPluginConfiguration/build/junit/hack.txt b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/SurefireUtilsTest/shouldGetReportsFromPluginConfiguration/build/junit/hack.txt
deleted file mode 100644 (file)
index b1fdc56..0000000
+++ /dev/null
@@ -1 +0,0 @@
-hack for maven in order the directory target/surefire to be included in unit tests classpath
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/SurefireUtilsTest/shouldGetReportsFromPluginConfiguration/pom.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/SurefireUtilsTest/shouldGetReportsFromPluginConfiguration/pom.xml
deleted file mode 100644 (file)
index 4e3df75..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>fake.group</groupId>
-  <artifactId>fake.artifactId</artifactId>
-  <packaging>jar</packaging>
-  <version>1.0-SNAPSHOT</version>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <version>2.4</version>
-        <configuration>
-          <reportsDirectory>build/junit</reportsDirectory>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-</project>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/SurefireUtilsTest/shouldGetReportsFromProperty/pom.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/SurefireUtilsTest/shouldGetReportsFromProperty/pom.xml
deleted file mode 100644 (file)
index 948c4a8..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>fake.group</groupId>
-  <artifactId>fake.artifactId</artifactId>
-  <packaging>jar</packaging>
-  <version>1.0-SNAPSHOT</version>
-
-  <properties>
-    <sonar.surefire.reportsPath>target/surefire</sonar.surefire.reportsPath>
-  </properties>
-</project>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/SurefireUtilsTest/shouldGetReportsFromProperty/target/surefire/hack.txt b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/api/SurefireUtilsTest/shouldGetReportsFromProperty/target/surefire/hack.txt
deleted file mode 100644 (file)
index b1fdc56..0000000
+++ /dev/null
@@ -1 +0,0 @@
-hack for maven in order the directory target/surefire to be included in unit tests classpath
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/errorsAndFailures.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/errorsAndFailures.xml
deleted file mode 100644 (file)
index 950b847..0000000
+++ /dev/null
@@ -1,160 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="1" skipped="0" tests="2" time="0.032" failures="1" name="org.sonar.Foo">
-  <properties>
-    <property value="Apple Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="../Resources/Eclipse.icns" name="env.APP_ICON_175"/>
-    <property value="SUN_STANDARD" name="sun.java.launcher"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="6b0270" name="env.SECURITYSESSIONID"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="/var/folders/Ea/Ea1AbxXfF6u1WpNRWAq8q++++TI/-Tmp-/" name="env.TMPDIR"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="1.5.0_16-b06-284" name="java.runtime.version"/>
-    <property value="/tmp/launch-sNnktt/Render" name="env.Apple_PubSub_Socket_Render"/>
-    <property value="/tmp/launch-fxz1jZ/:0" name="env.DISPLAY"/>
-    <property value="cmunger" name="user.name"/>
-    <property value="cmunger" name="env.USER"/>
-    <property value="/bin/bash" name="env.SHELL"/>
-    <property value="0x1F5:0:0" name="env.__CF_USER_TEXT_ENCODING"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="/usr/bin:/bin:/usr/sbin:/sbin" name="env.PATH"/>
-    <property value="en" name="user.language"/>
-    <property value="./testDBStop52578" name="derby.system.home"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="/usr/share/apache-maven-2.0.9/bin/m2.conf" name="classworlds.conf"/>
-    <property value="1.5.0_16" name="java.version"/>
-    <property value="Europe/Zurich" name="user.timezone"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="http.nonProxyHosts"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="" name="sun.cpu.isalist"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="/" name="file.separator"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="US" name="user.country"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="cmunger" name="env.LOGNAME"/>
-    <property value="10.5.6" name="os.version"/>
-    <property value=":" name="path.separator"/>
-    <property value="org.codehaus.classworlds.Launcher" name="env.JAVA_MAIN_CLASS_1410"/>
-    <property value="1.5.0_16-133" name="java.vm.version"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="socksNonProxyHosts"/>
-    <property value="1" name="env.JAVA_STARTED_ON_FIRST_THREAD_175"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="ftp.nonProxyHosts"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="http://www.apple.com/" name="java.vendor.url"/>
-    <property value="Apple Inc." name="java.vm.vendor"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="/usr/share/apache-maven-2.0.9" name="maven.home"/>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/usr/share/apache-maven-2.0.9/boot/classworlds-1.1.jar" name="java.class.path"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="little" name="sun.cpu.endian"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="/Users/cmunger" name="env.HOME"/>
-    <property
-        value="/Users/cmunger/dev/workspace/sonar/sonar-core/target/test-classes:/Users/cmunger/dev/workspace/sonar/sonar-core/target/classes:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-commons/1.7-SNAPSHOT/sonar-commons-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/org/picocontainer/picocontainer/2.7/picocontainer-2.7.jar:/Users/cmunger/.m2/repository/org/slf4j/slf4j-api/1.5.0/slf4j-api-1.5.0.jar:/Users/cmunger/.m2/repository/org/slf4j/jcl104-over-slf4j/1.4.3/jcl104-over-slf4j-1.4.3.jar:/Users/cmunger/.m2/repository/ch/qos/logback/logback-classic/0.9.9/logback-classic-0.9.9.jar:/Users/cmunger/.m2/repository/ch/qos/logback/logback-core/0.9.9/logback-core-0.9.9.jar:/Users/cmunger/.m2/repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar:/Users/cmunger/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar:/Users/cmunger/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/cmunger/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar:/Users/cmunger/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/cmunger/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar:/Users/cmunger/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar:/Users/cmunger/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga.jar:/Users/cmunger/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:/Users/cmunger/.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar:/Users/cmunger/.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-entitymanager/3.3.1.ga/hibernate-entitymanager-3.3.1.ga.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-validator/3.0.0.ga/hibernate-validator-3.0.0.ga.jar:/Users/cmunger/.m2/repository/jboss/javassist/3.3.ga/javassist-3.3.ga.jar:/Users/cmunger/.m2/repository/jboss/jboss-common-core/2.0.4.GA/jboss-common-core-2.0.4.GA.jar:/Users/cmunger/.m2/repository/commons-configuration/commons-configuration/1.5/commons-configuration-1.5.jar:/Users/cmunger/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/cmunger/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:/Users/cmunger/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/cmunger/.m2/repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar:/Users/cmunger/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/Users/cmunger/.m2/repository/commons-dbcp/commons-dbcp/1.2.1/commons-dbcp-1.2.1.jar:/Users/cmunger/.m2/repository/commons-pool/commons-pool/1.2/commons-pool-1.2.jar:/Users/cmunger/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar:/Users/cmunger/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-commons/1.7-SNAPSHOT/sonar-commons-1.7-SNAPSHOT-tests.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.7-SNAPSHOT/sonar-plugin-api-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar:/Users/cmunger/.m2/repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar:/Users/cmunger/.m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar:/Users/cmunger/.m2/repository/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar:/Users/cmunger/.m2/repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/plugins/sonar-plugin-core/1.7-SNAPSHOT/sonar-plugin-core-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.7-SNAPSHOT/sonar-plugin-api-1.7-SNAPSHOT-tests.jar:/Users/cmunger/.m2/repository/mysql/mysql-connector-java/5.0.8/mysql-connector-java-5.0.8.jar:/Users/cmunger/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar:/Users/cmunger/.m2/repository/logkit/logkit/1.0.1/logkit-1.0.1.jar:/Users/cmunger/.m2/repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar:/Users/cmunger/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar:/Users/cmunger/.m2/repository/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.jar:/Users/cmunger/.m2/repository/org/apache/derby/derbynet/10.4.1.3/derbynet-10.4.1.3.jar:/Users/cmunger/.m2/repository/junit/junit/4.4/junit-4.4.jar:/Users/cmunger/.m2/repository/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1.jar:/Users/cmunger/.m2/repository/org/dbunit/dbunit/2.2/dbunit-2.2.jar:/Users/cmunger/.m2/repository/junit-addons/junit-addons/1.4/junit-addons-1.4.jar:/Users/cmunger/.m2/repository/poi/poi/2.5.1-final-20040804/poi-2.5.1-final-20040804.jar:/Users/cmunger/.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar:/Users/cmunger/.m2/repository/org/apache/derby/derbyclient/10.4.1.3/derbyclient-10.4.1.3.jar:/Users/cmunger/.m2/repository/org/easymock/easymock/2.3/easymock-2.3.jar:/Users/cmunger/.m2/repository/org/easymock/easymockclassextension/2.3/easymockclassextension-2.3.jar:/Users/cmunger/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/cmunger/.m2/repository/xmlunit/xmlunit/1.2/xmlunit-1.2.jar:/Users/cmunger/.m2/repository/org/mockito/mockito-all/1.5/mockito-all-1.5.jar:"
-        name="surefire.test.class.path"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="http://bugreport.apple.com/" name="java.vendor.url.bug"/>
-    <property value="/tmp/launch-a2Hs8j/Listeners" name="env.SSH_AUTH_SOCK"/>
-    <property value="legacy" name="env.COMMAND_MODE"/>
-    <property value="i386" name="os.arch"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property value="/Users/cmunger/dev/workspace/sonar/sonar-core" name="user.dir"/>
-    <property value="1050.1.5.0_16-284" name="mrj.version"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="/Users/cmunger/dev/workspace/sonar/sonar-core" name="basedir"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-  </properties>
-  <testcase classname="org.sonar.Foo" time="0.005" name="testOne">
-    <failure type="java.lang.AssertionError" message="expected:&lt;2&gt; but was:&lt;1&gt;">java.lang.AssertionError:
-      expected:&lt;2&gt; but was:&lt;1&gt;
-      at org.junit.Assert.fail(Assert.java:74)
-      at org.junit.Assert.failNotEquals(Assert.java:448)
-      at org.junit.Assert.assertEquals(Assert.java:102)
-      at org.junit.Assert.assertEquals(Assert.java:323)
-      at org.junit.Assert.assertEquals(Assert.java:319)
-      at org.sonar.core.ExtensionsFinderTest.shouldFindJdbcDrivers(ExtensionsFinderTest.java:45)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
-      at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
-      at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
-      at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
-      at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
-      at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
-      at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
-      at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
-      at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
-      at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
-      at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
-      at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
-      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
-      at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
-      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
-    </failure>
-  </testcase>
-  <testcase classname="org.sonar.Foo" time="0" name="testTwo">
-    <error type="java.lang.RuntimeException" message="TEST">java.lang.RuntimeException: TEST
-      at org.sonar.core.ExtensionsFinderTest.shouldFindPlugins(ExtensionsFinderTest.java:57)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
-      at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
-      at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
-      at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
-      at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
-      at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
-      at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
-      at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
-      at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
-      at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
-      at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
-      at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
-      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
-      at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
-      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
-    </error>
-  </testcase>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/innerClasses.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/innerClasses.xml
deleted file mode 100644 (file)
index e3f5933..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite failures="0" time="157.199" errors="18" skipped="0" tests="13025"
-           name="org.apache.commons.collections.TestAllPackages">
-  <properties>
-    <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
-    <property name="sun.boot.library.path"
-              value="/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Libraries"/>
-    <property name="java.vm.version" value="11.3-b02-83"/>
-  </properties>
-  <testcase time="0.012" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap"
-            name="testMapEntrySetIteratorEntrySetValueCrossCheck"/>
-  <testcase time="0.001" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap"
-            name="testMapEntrySetIteratorEntry"/>
-  <testcase time="0.001" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap$TestBidiMapEntrySet"
-            name="testCanonicalEmptyCollectionExists"/>
-  <testcase time="0" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap$TestBidiMapEntrySet"
-            name="testCanonicalFullCollectionExists"/>
-  <testcase time="0.03" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap$TestInverseBidiMap"
-            name="testMapPut"/>
-  <testcase time="0" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap$TestInverseBidiMap"
-            name="testMapPutNullKey"/>
-  <testcase time="0.001" classname="org.apache.commons.collections.bidimap.AbstractTestBidiMap$TestInverseBidiMap"
-            name="testMapPutNullValue">
-    <error
-        message="org.apache.commons.collections.FastArrayList; local class incompatible: stream classdesc serialVersionUID = 1566341225434603896, local class serialVersionUID = 7918928878747177577"
-        type="java.io.InvalidClassException">java.io.InvalidClassException:
-      org.apache.commons.collections.FastArrayList;
-      local class incompatible: stream classdesc serialVersionUID = 1566341225434603896, local class serialVersionUID =
-      7918928878747177577
-      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
-      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
-      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
-      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
-      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
-      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
-      at org.apache.commons.collections.AbstractTestObject.readExternalFormFromStream(AbstractTestObject.java:326)
-      at org.apache.commons.collections.AbstractTestObject.readExternalFormFromDisk(AbstractTestObject.java:301)
-      at org.apache.commons.collections.list.AbstractTestList.testEmptyListCompatibility(AbstractTestList.java:1077)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:597)
-      at junit.framework.TestCase.runTest(TestCase.java:154)
-      at junit.framework.TestCase.runBare(TestCase.java:127)
-      at junit.framework.TestResult$1.protect(TestResult.java:106)
-      at junit.framework.TestResult.runProtected(TestResult.java:124)
-      at junit.framework.TestResult.run(TestResult.java:109)
-      at junit.framework.TestCase.run(TestCase.java:118)
-      at junit.framework.TestSuite.runTest(TestSuite.java:208)
-      at junit.framework.TestSuite.run(TestSuite.java:203)
-      at junit.framework.TestSuite.runTest(TestSuite.java:208)
-      at junit.framework.TestSuite.run(TestSuite.java:203)
-      at junit.framework.TestSuite.runTest(TestSuite.java:208)
-      at junit.framework.TestSuite.run(TestSuite.java:203)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:597)
-      at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
-      at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:597)
-      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
-      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
-    </error>
-  </testcase>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/multipleSuites.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/multipleSuites.xml
deleted file mode 100644 (file)
index e5bd8c0..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuites>
-<testsuite errors="0" skipped="1" tests="11" time="0.08" failures="0"
-           name="org.sonar.JavaNCSSCollectorTest">
-  <testcase time="0.013" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.024" name="testGetEmptyJdbcPassword"/>
-  <testcase time="6.889" name="testPopulateWithoutAnyReport"/>
-  <testcase time="0.697" name="testPopulateWithJavaNcssReport"/>
-  <testcase time="0.665" name="testPopulateWithJDependsReport"/>
-  <testcase time="0.283" name="testPopulateWithCloverReport"/>
-  <testcase time="0.592" name="testPopulateWithCheckstyleReport"/>
-  <testcase time="0.014" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.001" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.074" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.003" name="testCollectWithPluginConfiguration"/>
-</testsuite>
-<testsuite errors="0" skipped="1" tests="4" time="0.08" failures="0"
-           name="org.sonar.SecondTest">
-  <testcase time="0.014" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.001" name="testCollectWithPluginConfiguration"/>
-  <testcase time="0.074" name="testCollectWithoutPluginConfiguration"/>
-  <testcase time="0.003" name="testCollectWithPluginConfiguration"/>
-</testsuite>
-</testsuites>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/rootPackage.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/rootPackage.xml
deleted file mode 100644 (file)
index d3bb90a..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="2" time="0.032" failures="0" name="NoPackagesTest">
-  <properties>
-    <property value="Apple Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="../Resources/Eclipse.icns" name="env.APP_ICON_175"/>
-    <property value="SUN_STANDARD" name="sun.java.launcher"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="6b0270" name="env.SECURITYSESSIONID"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="/var/folders/Ea/Ea1AbxXfF6u1WpNRWAq8q++++TI/-Tmp-/" name="env.TMPDIR"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="1.5.0_16-b06-284" name="java.runtime.version"/>
-    <property value="/tmp/launch-sNnktt/Render" name="env.Apple_PubSub_Socket_Render"/>
-    <property value="/tmp/launch-fxz1jZ/:0" name="env.DISPLAY"/>
-    <property value="cmunger" name="user.name"/>
-    <property value="cmunger" name="env.USER"/>
-    <property value="/bin/bash" name="env.SHELL"/>
-    <property value="0x1F5:0:0" name="env.__CF_USER_TEXT_ENCODING"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="/usr/bin:/bin:/usr/sbin:/sbin" name="env.PATH"/>
-    <property value="en" name="user.language"/>
-    <property value="./testDBStop52578" name="derby.system.home"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="/usr/share/apache-maven-2.0.9/bin/m2.conf" name="classworlds.conf"/>
-    <property value="1.5.0_16" name="java.version"/>
-    <property value="Europe/Zurich" name="user.timezone"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="http.nonProxyHosts"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="" name="sun.cpu.isalist"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="/" name="file.separator"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="US" name="user.country"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="cmunger" name="env.LOGNAME"/>
-    <property value="10.5.6" name="os.version"/>
-    <property value=":" name="path.separator"/>
-    <property value="org.codehaus.classworlds.Launcher" name="env.JAVA_MAIN_CLASS_1410"/>
-    <property value="1.5.0_16-133" name="java.vm.version"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="socksNonProxyHosts"/>
-    <property value="1" name="env.JAVA_STARTED_ON_FIRST_THREAD_175"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="ftp.nonProxyHosts"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="http://www.apple.com/" name="java.vendor.url"/>
-    <property value="Apple Inc." name="java.vm.vendor"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="/usr/share/apache-maven-2.0.9" name="maven.home"/>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/usr/share/apache-maven-2.0.9/boot/classworlds-1.1.jar" name="java.class.path"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="little" name="sun.cpu.endian"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="/Users/cmunger" name="env.HOME"/>
-    <property
-        value="/Users/cmunger/dev/workspace/sonar/sonar-core/target/test-classes:/Users/cmunger/dev/workspace/sonar/sonar-core/target/classes:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-commons/1.7-SNAPSHOT/sonar-commons-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/org/picocontainer/picocontainer/2.7/picocontainer-2.7.jar:/Users/cmunger/.m2/repository/org/slf4j/slf4j-api/1.5.0/slf4j-api-1.5.0.jar:/Users/cmunger/.m2/repository/org/slf4j/jcl104-over-slf4j/1.4.3/jcl104-over-slf4j-1.4.3.jar:/Users/cmunger/.m2/repository/ch/qos/logback/logback-classic/0.9.9/logback-classic-0.9.9.jar:/Users/cmunger/.m2/repository/ch/qos/logback/logback-core/0.9.9/logback-core-0.9.9.jar:/Users/cmunger/.m2/repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar:/Users/cmunger/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar:/Users/cmunger/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/cmunger/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar:/Users/cmunger/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/cmunger/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar:/Users/cmunger/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar:/Users/cmunger/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga.jar:/Users/cmunger/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:/Users/cmunger/.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar:/Users/cmunger/.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-entitymanager/3.3.1.ga/hibernate-entitymanager-3.3.1.ga.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-validator/3.0.0.ga/hibernate-validator-3.0.0.ga.jar:/Users/cmunger/.m2/repository/jboss/javassist/3.3.ga/javassist-3.3.ga.jar:/Users/cmunger/.m2/repository/jboss/jboss-common-core/2.0.4.GA/jboss-common-core-2.0.4.GA.jar:/Users/cmunger/.m2/repository/commons-configuration/commons-configuration/1.5/commons-configuration-1.5.jar:/Users/cmunger/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/cmunger/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:/Users/cmunger/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/cmunger/.m2/repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar:/Users/cmunger/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/Users/cmunger/.m2/repository/commons-dbcp/commons-dbcp/1.2.1/commons-dbcp-1.2.1.jar:/Users/cmunger/.m2/repository/commons-pool/commons-pool/1.2/commons-pool-1.2.jar:/Users/cmunger/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar:/Users/cmunger/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-commons/1.7-SNAPSHOT/sonar-commons-1.7-SNAPSHOT-tests.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.7-SNAPSHOT/sonar-plugin-api-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar:/Users/cmunger/.m2/repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar:/Users/cmunger/.m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar:/Users/cmunger/.m2/repository/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar:/Users/cmunger/.m2/repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/plugins/sonar-plugin-core/1.7-SNAPSHOT/sonar-plugin-core-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.7-SNAPSHOT/sonar-plugin-api-1.7-SNAPSHOT-tests.jar:/Users/cmunger/.m2/repository/mysql/mysql-connector-java/5.0.8/mysql-connector-java-5.0.8.jar:/Users/cmunger/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar:/Users/cmunger/.m2/repository/logkit/logkit/1.0.1/logkit-1.0.1.jar:/Users/cmunger/.m2/repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar:/Users/cmunger/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar:/Users/cmunger/.m2/repository/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.jar:/Users/cmunger/.m2/repository/org/apache/derby/derbynet/10.4.1.3/derbynet-10.4.1.3.jar:/Users/cmunger/.m2/repository/junit/junit/4.4/junit-4.4.jar:/Users/cmunger/.m2/repository/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1.jar:/Users/cmunger/.m2/repository/org/dbunit/dbunit/2.2/dbunit-2.2.jar:/Users/cmunger/.m2/repository/junit-addons/junit-addons/1.4/junit-addons-1.4.jar:/Users/cmunger/.m2/repository/poi/poi/2.5.1-final-20040804/poi-2.5.1-final-20040804.jar:/Users/cmunger/.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar:/Users/cmunger/.m2/repository/org/apache/derby/derbyclient/10.4.1.3/derbyclient-10.4.1.3.jar:/Users/cmunger/.m2/repository/org/easymock/easymock/2.3/easymock-2.3.jar:/Users/cmunger/.m2/repository/org/easymock/easymockclassextension/2.3/easymockclassextension-2.3.jar:/Users/cmunger/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/cmunger/.m2/repository/xmlunit/xmlunit/1.2/xmlunit-1.2.jar:/Users/cmunger/.m2/repository/org/mockito/mockito-all/1.5/mockito-all-1.5.jar:"
-        name="surefire.test.class.path"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="http://bugreport.apple.com/" name="java.vendor.url.bug"/>
-    <property value="/tmp/launch-a2Hs8j/Listeners" name="env.SSH_AUTH_SOCK"/>
-    <property value="legacy" name="env.COMMAND_MODE"/>
-    <property value="i386" name="os.arch"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property value="/Users/cmunger/dev/workspace/sonar/sonar-core" name="user.dir"/>
-    <property value="1050.1.5.0_16-284" name="mrj.version"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="/Users/cmunger/dev/workspace/sonar/sonar-core" name="basedir"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-  </properties>
-  <testcase classname="NoPackagesTest" time="0.001" name="test1"/>
-  <testcase classname="NoPackagesTest" time="0.001" name="test2"/>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/skippedTests.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/skippedTests.xml
deleted file mode 100644 (file)
index 7268a35..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="1" tests="3" time="0.032" failures="1" name="org.sonar.Foo">
-  <properties>
-    <property value="Apple Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="../Resources/Eclipse.icns" name="env.APP_ICON_175"/>
-    <property value="SUN_STANDARD" name="sun.java.launcher"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="6b0270" name="env.SECURITYSESSIONID"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="/var/folders/Ea/Ea1AbxXfF6u1WpNRWAq8q++++TI/-Tmp-/" name="env.TMPDIR"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="1.5.0_16-b06-284" name="java.runtime.version"/>
-    <property value="/tmp/launch-sNnktt/Render" name="env.Apple_PubSub_Socket_Render"/>
-    <property value="/tmp/launch-fxz1jZ/:0" name="env.DISPLAY"/>
-    <property value="cmunger" name="user.name"/>
-    <property value="cmunger" name="env.USER"/>
-    <property value="/bin/bash" name="env.SHELL"/>
-    <property value="0x1F5:0:0" name="env.__CF_USER_TEXT_ENCODING"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="/usr/bin:/bin:/usr/sbin:/sbin" name="env.PATH"/>
-    <property value="en" name="user.language"/>
-    <property value="./testDBStop52578" name="derby.system.home"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="/usr/share/apache-maven-2.0.9/bin/m2.conf" name="classworlds.conf"/>
-    <property value="1.5.0_16" name="java.version"/>
-    <property value="Europe/Zurich" name="user.timezone"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="http.nonProxyHosts"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="" name="sun.cpu.isalist"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="/" name="file.separator"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="US" name="user.country"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="cmunger" name="env.LOGNAME"/>
-    <property value="10.5.6" name="os.version"/>
-    <property value=":" name="path.separator"/>
-    <property value="org.codehaus.classworlds.Launcher" name="env.JAVA_MAIN_CLASS_1410"/>
-    <property value="1.5.0_16-133" name="java.vm.version"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="socksNonProxyHosts"/>
-    <property value="1" name="env.JAVA_STARTED_ON_FIRST_THREAD_175"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="ftp.nonProxyHosts"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="http://www.apple.com/" name="java.vendor.url"/>
-    <property value="Apple Inc." name="java.vm.vendor"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="/usr/share/apache-maven-2.0.9" name="maven.home"/>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/usr/share/apache-maven-2.0.9/boot/classworlds-1.1.jar" name="java.class.path"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="little" name="sun.cpu.endian"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="/Users/cmunger" name="env.HOME"/>
-    <property
-        value="/Users/cmunger/dev/workspace/sonar/sonar-core/target/test-classes:/Users/cmunger/dev/workspace/sonar/sonar-core/target/classes:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-commons/1.7-SNAPSHOT/sonar-commons-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/org/picocontainer/picocontainer/2.7/picocontainer-2.7.jar:/Users/cmunger/.m2/repository/org/slf4j/slf4j-api/1.5.0/slf4j-api-1.5.0.jar:/Users/cmunger/.m2/repository/org/slf4j/jcl104-over-slf4j/1.4.3/jcl104-over-slf4j-1.4.3.jar:/Users/cmunger/.m2/repository/ch/qos/logback/logback-classic/0.9.9/logback-classic-0.9.9.jar:/Users/cmunger/.m2/repository/ch/qos/logback/logback-core/0.9.9/logback-core-0.9.9.jar:/Users/cmunger/.m2/repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar:/Users/cmunger/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar:/Users/cmunger/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/cmunger/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar:/Users/cmunger/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/cmunger/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar:/Users/cmunger/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar:/Users/cmunger/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga.jar:/Users/cmunger/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:/Users/cmunger/.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar:/Users/cmunger/.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-entitymanager/3.3.1.ga/hibernate-entitymanager-3.3.1.ga.jar:/Users/cmunger/.m2/repository/org/hibernate/hibernate-validator/3.0.0.ga/hibernate-validator-3.0.0.ga.jar:/Users/cmunger/.m2/repository/jboss/javassist/3.3.ga/javassist-3.3.ga.jar:/Users/cmunger/.m2/repository/jboss/jboss-common-core/2.0.4.GA/jboss-common-core-2.0.4.GA.jar:/Users/cmunger/.m2/repository/commons-configuration/commons-configuration/1.5/commons-configuration-1.5.jar:/Users/cmunger/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/cmunger/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:/Users/cmunger/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/cmunger/.m2/repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar:/Users/cmunger/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/Users/cmunger/.m2/repository/commons-dbcp/commons-dbcp/1.2.1/commons-dbcp-1.2.1.jar:/Users/cmunger/.m2/repository/commons-pool/commons-pool/1.2/commons-pool-1.2.jar:/Users/cmunger/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar:/Users/cmunger/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-commons/1.7-SNAPSHOT/sonar-commons-1.7-SNAPSHOT-tests.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.7-SNAPSHOT/sonar-plugin-api-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar:/Users/cmunger/.m2/repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar:/Users/cmunger/.m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar:/Users/cmunger/.m2/repository/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar:/Users/cmunger/.m2/repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/plugins/sonar-plugin-core/1.7-SNAPSHOT/sonar-plugin-core-1.7-SNAPSHOT.jar:/Users/cmunger/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.7-SNAPSHOT/sonar-plugin-api-1.7-SNAPSHOT-tests.jar:/Users/cmunger/.m2/repository/mysql/mysql-connector-java/5.0.8/mysql-connector-java-5.0.8.jar:/Users/cmunger/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar:/Users/cmunger/.m2/repository/logkit/logkit/1.0.1/logkit-1.0.1.jar:/Users/cmunger/.m2/repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar:/Users/cmunger/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar:/Users/cmunger/.m2/repository/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.jar:/Users/cmunger/.m2/repository/org/apache/derby/derbynet/10.4.1.3/derbynet-10.4.1.3.jar:/Users/cmunger/.m2/repository/junit/junit/4.4/junit-4.4.jar:/Users/cmunger/.m2/repository/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1.jar:/Users/cmunger/.m2/repository/org/dbunit/dbunit/2.2/dbunit-2.2.jar:/Users/cmunger/.m2/repository/junit-addons/junit-addons/1.4/junit-addons-1.4.jar:/Users/cmunger/.m2/repository/poi/poi/2.5.1-final-20040804/poi-2.5.1-final-20040804.jar:/Users/cmunger/.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar:/Users/cmunger/.m2/repository/org/apache/derby/derbyclient/10.4.1.3/derbyclient-10.4.1.3.jar:/Users/cmunger/.m2/repository/org/easymock/easymock/2.3/easymock-2.3.jar:/Users/cmunger/.m2/repository/org/easymock/easymockclassextension/2.3/easymockclassextension-2.3.jar:/Users/cmunger/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/cmunger/.m2/repository/xmlunit/xmlunit/1.2/xmlunit-1.2.jar:/Users/cmunger/.m2/repository/org/mockito/mockito-all/1.5/mockito-all-1.5.jar:"
-        name="surefire.test.class.path"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="http://bugreport.apple.com/" name="java.vendor.url.bug"/>
-    <property value="/tmp/launch-a2Hs8j/Listeners" name="env.SSH_AUTH_SOCK"/>
-    <property value="legacy" name="env.COMMAND_MODE"/>
-    <property value="i386" name="os.arch"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property value="/Users/cmunger/dev/workspace/sonar/sonar-core" name="user.dir"/>
-    <property value="1050.1.5.0_16-284" name="mrj.version"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="/Users/cmunger/dev/workspace/sonar/sonar-core" name="basedir"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-  </properties>
-  <testcase classname="org.sonar.Foo" time="0.005" name="testOne">
-    <failure type="java.lang.AssertionError" message="expected:&lt;2&gt; but was:&lt;1&gt;">java.lang.AssertionError:
-      expected:&lt;2&gt; but was:&lt;1&gt;
-      at org.junit.Assert.fail(Assert.java:74)
-      at org.junit.Assert.failNotEquals(Assert.java:448)
-      at org.junit.Assert.assertEquals(Assert.java:102)
-      at org.junit.Assert.assertEquals(Assert.java:323)
-      at org.junit.Assert.assertEquals(Assert.java:319)
-      at org.sonar.core.ExtensionsFinderTest.shouldFindJdbcDrivers(ExtensionsFinderTest.java:45)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
-      at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
-      at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
-      at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
-      at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
-      at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
-      at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
-      at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
-      at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
-      at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
-      at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
-      at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
-      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
-      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
-      at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
-      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
-      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-      at java.lang.reflect.Method.invoke(Method.java:585)
-      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
-      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
-    </failure>
-  </testcase>
-  <testcase classname="org.sonar.Foo" time="0.20" name="testTwo"/>
-  <testcase classname="org.sonar.Foo" time="0.10" name="skippedTest">
-    <skipped/>
-  </testcase>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/suiteInnerClass.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/suiteInnerClass.xml
deleted file mode 100644 (file)
index 9984c04..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="1" tests="1" time="0" failures="0" name="org.apache.shindig.protocol.TestHandler$Input">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries" name="sun.boot.library.path"/>
-    <property value="1.5.0_19-137" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="Apple Inc." name="java.vm.vendor"/>
-    <property value="http://www.apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="target/test-classes/logging.properties" name="java.util.logging.config.file"/>
-    <property value="US" name="user.country"/>
-    <property value="SUN_STANDARD" name="sun.java.launcher"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/simon/projects/shindig/java/common" name="user.dir"/>
-    <property value="1.5.0_19-b02-304" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/simon/projects/shindig/java/common" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed" name="java.endorsed.dirs"/>
-    <property value="i386" name="os.arch"/>
-    <property value="/var/folders/uV/uVfBAWUpFX0gPfeUuu2yaU+++TI/-Tmp-/surefirebooter4356411895122546772.jar" name="surefire.real.class.path"/>
-    <property value="/var/folders/uV/uVfBAWUpFX0gPfeUuu2yaU+++TI/-Tmp-/" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value="/Applications/jprofiler5/bin/macos:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java" name="java.library.path"/>
-    <property value="/Users/simon/projects/shindig/java/common/target/test-classes:/Users/simon/projects/shindig/java/common/target/generated-classes/cobertura:/Users/simon/.m2/repository/net/oauth/core/oauth/20090531/oauth-20090531.jar:/Users/simon/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar:/Users/simon/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/simon/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/simon/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar:/Users/simon/.m2/repository/net/sourceforge/cobertura/cobertura/1.9/cobertura-1.9.jar:/Users/simon/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar:/Users/simon/.m2/repository/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar:/Users/simon/.m2/repository/joda-time/joda-time/1.6/joda-time-1.6.jar:/Users/simon/.m2/repository/net/sf/ehcache/ehcache/1.6.1/ehcache-1.6.1.jar:/Users/simon/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar:/Users/simon/.m2/repository/de/odysseus/juel/juel-impl/2.1.2/juel-impl-2.1.2.jar:/Users/simon/.m2/repository/de/odysseus/juel/juel-api/2.1.2/juel-api-2.1.2.jar:/Users/simon/.m2/repository/commons-fileupload/commons-fileupload/1.2/commons-fileupload-1.2.jar:/Users/simon/.m2/repository/org/json/json/20070829/json-20070829.jar:/Users/simon/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/Users/simon/.m2/repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar:/Users/simon/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar:/Users/simon/.m2/repository/xmlunit/xmlunit/1.2/xmlunit-1.2.jar:/Users/simon/.m2/repository/org/easymock/easymockclassextension/2.4/easymockclassextension-2.4.jar:/Users/simon/.m2/repository/org/easymock/easymock/2.5.1/easymock-2.5.1.jar:/Users/simon/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/simon/.m2/repository/junit/junit/4.5/junit-4.5.jar:/Users/simon/.m2/repository/junit-addons/junit-addons/1.4/junit-addons-1.4.jar:/Users/simon/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar:/Users/simon/.m2/repository/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar:/Users/simon/.m2/repository/com/google/collections/google-collections/1.0-rc2/google-collections-1.0-rc2.jar:/Users/simon/.m2/repository/com/google/code/guice/guice/2.0/guice-2.0.jar:/Users/simon/.m2/repository/commons-betwixt/commons-betwixt/0.8/commons-betwixt-0.8.jar:/Users/simon/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar:/Users/simon/.m2/repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar:/Users/simon/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/simon/.m2/repository/commons-digester/commons-digester/1.7/commons-digester-1.7.jar:/Users/simon/.m2/repository/commons-beanutils/commons-beanutils/1.6/commons-beanutils-1.6.jar:" name="surefire.test.class.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.5.8" name="os.version"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="http.nonProxyHosts"/>
-    <property value="/Users/simon" name="user.home"/>
-    <property value="Europe/Zurich" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="simon" name="user.name"/>
-    <property value="/Users/simon/projects/shindig/java/common/target/test-classes:/Users/simon/projects/shindig/java/common/target/generated-classes/cobertura:/Users/simon/.m2/repository/net/oauth/core/oauth/20090531/oauth-20090531.jar:/Users/simon/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar:/Users/simon/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/simon/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/simon/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar:/Users/simon/.m2/repository/net/sourceforge/cobertura/cobertura/1.9/cobertura-1.9.jar:/Users/simon/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar:/Users/simon/.m2/repository/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar:/Users/simon/.m2/repository/joda-time/joda-time/1.6/joda-time-1.6.jar:/Users/simon/.m2/repository/net/sf/ehcache/ehcache/1.6.1/ehcache-1.6.1.jar:/Users/simon/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar:/Users/simon/.m2/repository/de/odysseus/juel/juel-impl/2.1.2/juel-impl-2.1.2.jar:/Users/simon/.m2/repository/de/odysseus/juel/juel-api/2.1.2/juel-api-2.1.2.jar:/Users/simon/.m2/repository/commons-fileupload/commons-fileupload/1.2/commons-fileupload-1.2.jar:/Users/simon/.m2/repository/org/json/json/20070829/json-20070829.jar:/Users/simon/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/Users/simon/.m2/repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar:/Users/simon/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar:/Users/simon/.m2/repository/xmlunit/xmlunit/1.2/xmlunit-1.2.jar:/Users/simon/.m2/repository/org/easymock/easymockclassextension/2.4/easymockclassextension-2.4.jar:/Users/simon/.m2/repository/org/easymock/easymock/2.5.1/easymock-2.5.1.jar:/Users/simon/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/simon/.m2/repository/junit/junit/4.5/junit-4.5.jar:/Users/simon/.m2/repository/junit-addons/junit-addons/1.4/junit-addons-1.4.jar:/Users/simon/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar:/Users/simon/.m2/repository/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar:/Users/simon/.m2/repository/com/google/collections/google-collections/1.0-rc2/google-collections-1.0-rc2.jar:/Users/simon/.m2/repository/com/google/code/guice/guice/2.0/guice-2.0.jar:/Users/simon/.m2/repository/commons-betwixt/commons-betwixt/0.8/commons-betwixt-0.8.jar:/Users/simon/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar:/Users/simon/.m2/repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar:/Users/simon/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/simon/.m2/repository/commons-digester/commons-digester/1.7/commons-digester-1.7.jar:/Users/simon/.m2/repository/commons-beanutils/commons-beanutils/1.6/commons-beanutils-1.6.jar:" name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="en" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_19" name="java.version"/>
-    <property value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext" name="java.ext.dirs"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsfd.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar" name="sun.boot.class.path"/>
-    <property value="Apple Inc." name="java.vendor"/>
-    <property value="/Users/simon/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://bugreport.apple.com/" name="java.vendor.url.bug"/>
-    <property value="little" name="sun.cpu.endian"/>
-    <property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
-    <property value="1050.1.5.0_19-304" name="mrj.version"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="socksNonProxyHosts"/>
-    <property value="local|*.local|169.254/16|*.169.254/16" name="ftp.nonProxyHosts"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-  <testcase classname="org.apache.shindig.protocol.TestHandler$Input" time="0.007" name="org.apache.shindig.protocol.TestHandler$Input">
-    <skipped/>
-  </testcase>
-</testsuite>
\ No newline at end of file
diff --git a/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/zeroTests.xml b/plugins/sonar-surefire-plugin/src/test/resources/org/sonar/plugins/surefire/data/SurefireStaxHandlerTest/zeroTests.xml
deleted file mode 100644 (file)
index fb55bf5..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="0" skipped="0" tests="0" time="1,134.193" failures="0"
-           name="ch.hortis.sonar.mvn.mc.CheckstyleCollectorTest">
-  <properties>
-    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries"
-              name="sun.boot.library.path"/>
-    <property value="1.5.0_06-64" name="java.vm.version"/>
-    <property value="true" name="awt.nativeDoubleBuffering"/>
-    <property value="false" name="gopherProxySet"/>
-    <property value="&quot;Apple Computer, Inc.&quot;" name="java.vm.vendor"/>
-    <property value="http://apple.com/" name="java.vendor.url"/>
-    <property value=":" name="path.separator"/>
-    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
-    <property value="sun.io" name="file.encoding.pkg"/>
-    <property value="FR" name="user.country"/>
-    <property value="unknown" name="sun.os.patch.level"/>
-    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="user.dir"/>
-    <property value="1.5.0_06-112" name="java.runtime.version"/>
-    <property value="apple.awt.CGraphicsEnvironment" name="java.awt.graphicsenv"/>
-    <property value="/Users/cmunger/Documents/workspace/sonar/sonar-maven-plugin" name="basedir"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed"
-              name="java.endorsed.dirs"/>
-    <property value="ppc" name="os.arch"/>
-    <property value="/tmp" name="java.io.tmpdir"/>
-    <property value="
-" name="line.separator"/>
-    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
-    <property value="Mac OS X" name="os.name"/>
-    <property value="MacRoman" name="sun.jnu.encoding"/>
-    <property value=".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"
-              name="java.library.path"/>
-    <property value="Java Platform API Specification" name="java.specification.name"/>
-    <property value="49.0" name="java.class.version"/>
-    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
-    <property value="10.4.8" name="os.version"/>
-    <property value="/Users/cmunger" name="user.home"/>
-    <property value="" name="user.timezone"/>
-    <property value="apple.awt.CPrinterJob" name="java.awt.printerjob"/>
-    <property value="MacRoman" name="file.encoding"/>
-    <property value="1.5" name="java.specification.version"/>
-    <property value="cmunger" name="user.name"/>
-    <property
-        value="/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/Users/cmunger/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/Users/cmunger/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar"
-        name="java.class.path"/>
-    <property value="1.0" name="java.vm.specification.version"/>
-    <property value="32" name="sun.arch.data.model"/>
-    <property value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" name="java.home"/>
-    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
-    <property value="fr" name="user.language"/>
-    <property value="apple.awt.CToolkit" name="awt.toolkit"/>
-    <property value="mixed mode, sharing" name="java.vm.info"/>
-    <property value="1.5.0_06" name="java.version"/>
-    <property
-        value="/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
-        name="java.ext.dirs"/>
-    <property
-        value="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar"
-        name="sun.boot.class.path"/>
-    <property value="Apple Computer, Inc." name="java.vendor"/>
-    <property value="/Users/cmunger/.m2/repository" name="localRepository"/>
-    <property value="/" name="file.separator"/>
-    <property value="http://developer.apple.com/java/" name="java.vendor.url.bug"/>
-    <property value="big" name="sun.cpu.endian"/>
-    <property value="UnicodeBig" name="sun.io.unicode.encoding"/>
-    <property value="1040.1.5.0_06-112" name="mrj.version"/>
-    <property value="" name="sun.cpu.isalist"/>
-  </properties>
-</testsuite>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 6ba7634f8d940576254112fa92159a416e891c6e..5a2596a7aceaf20d6e8807aa9fce0e91e9b655d0 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -36,7 +36,6 @@
     <module>plugins/sonar-core-plugin</module>
     <module>plugins/sonar-dbcleaner-plugin</module>
     <module>plugins/sonar-cobertura-plugin</module>
-    <module>plugins/sonar-surefire-plugin</module>
     <module>plugins/sonar-findbugs-plugin</module>
     <module>plugins/sonar-cpd-plugin</module>
     <module>plugins/sonar-design-plugin</module>
         <artifactId>sonar-checkstyle-plugin</artifactId>
         <version>${sonarJava.version}</version>
       </dependency>
+      <dependency>
+        <groupId>org.codehaus.sonar-plugins.java</groupId>
+        <artifactId>sonar-surefire-plugin</artifactId>
+        <version>${sonarJava.version}</version>
+      </dependency>
       <dependency>
         <groupId>asm</groupId>
         <artifactId>asm-all</artifactId>
index 2fc7443213f08b563f520096f68e483c6dbc0e35..9425fc70f286f22b6887c9c6c6a15f6493120d49 100644 (file)
       <scope>runtime</scope>
     </dependency>
     <dependency>
-      <groupId>org.codehaus.sonar.plugins</groupId>
+      <groupId>org.codehaus.sonar-plugins.java</groupId>
       <artifactId>sonar-surefire-plugin</artifactId>
-      <version>${project.version}</version>
       <scope>runtime</scope>
     </dependency>
     <dependency>
index 2714c84e605e7373e993c0a77e6a99f43dd5b3f8..481d68de489705d8f17bf5669cccf8cb290502a6 100644 (file)
           <scope>provided</scope>
         </dependency>
         <dependency>
-          <groupId>org.codehaus.sonar.plugins</groupId>
+          <groupId>org.codehaus.sonar-plugins.java</groupId>
           <artifactId>sonar-surefire-plugin</artifactId>
-          <version>${project.version}</version>
+          <version>${sonarJava.version}</version>
           <type>sonar-plugin</type>
           <scope>provided</scope>
         </dependency>