continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r649342 - in /continuum/trunk/continuum-reports: ./ src/test/java/org/apache/maven/continuum/reports/surefire/ src/test/resources/org/apache/maven/continuum/reports/surefire/
Date Fri, 18 Apr 2008 01:00:30 GMT
Author: carlos
Date: Thu Apr 17 18:00:29 2008
New Revision: 649342

URL: http://svn.apache.org/viewvc?rev=649342&view=rev
Log:
Use ConfigurationServiceMock from continuum-test

Added:
    continuum/trunk/continuum-reports/src/test/java/org/apache/maven/continuum/reports/surefire/ConfigurationServiceMock.java
  (with props)
Removed:
    continuum/trunk/continuum-reports/src/test/java/org/apache/maven/continuum/reports/surefire/MockConfigurationService.java
Modified:
    continuum/trunk/continuum-reports/pom.xml
    continuum/trunk/continuum-reports/src/test/resources/org/apache/maven/continuum/reports/surefire/DefaultReportTestSuiteGeneratorTest.xml

Modified: continuum/trunk/continuum-reports/pom.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-reports/pom.xml?rev=649342&r1=649341&r2=649342&view=diff
==============================================================================
--- continuum/trunk/continuum-reports/pom.xml (original)
+++ continuum/trunk/continuum-reports/pom.xml Thu Apr 17 18:00:29 2008
@@ -37,6 +37,11 @@
       <artifactId>continuum-store</artifactId>
     </dependency>
     -->
+    <dependency>
+      <groupId>org.apache.continuum</groupId>
+      <artifactId>continuum-test</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
   <build>
     <plugins>

Added: continuum/trunk/continuum-reports/src/test/java/org/apache/maven/continuum/reports/surefire/ConfigurationServiceMock.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-reports/src/test/java/org/apache/maven/continuum/reports/surefire/ConfigurationServiceMock.java?rev=649342&view=auto
==============================================================================
--- continuum/trunk/continuum-reports/src/test/java/org/apache/maven/continuum/reports/surefire/ConfigurationServiceMock.java
(added)
+++ continuum/trunk/continuum-reports/src/test/java/org/apache/maven/continuum/reports/surefire/ConfigurationServiceMock.java
Thu Apr 17 18:00:29 2008
@@ -0,0 +1,16 @@
+package org.apache.maven.continuum.reports.surefire;
+
+import java.io.File;
+
+import org.apache.maven.continuum.configuration.ConfigurationException;
+
+public class ConfigurationServiceMock
+    extends org.apache.maven.continuum.configuration.ConfigurationServiceMock
+{
+    public File getTestReportsDirectory( int buildId, int projectId )
+        throws ConfigurationException
+    {
+        return new File( "src" + File.separatorChar + "test" + File.separatorChar + "resources"
+ File.separatorChar +
+            "continuum-core" );
+    }
+}

Propchange: continuum/trunk/continuum-reports/src/test/java/org/apache/maven/continuum/reports/surefire/ConfigurationServiceMock.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-reports/src/test/java/org/apache/maven/continuum/reports/surefire/ConfigurationServiceMock.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: continuum/trunk/continuum-reports/src/test/resources/org/apache/maven/continuum/reports/surefire/DefaultReportTestSuiteGeneratorTest.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-reports/src/test/resources/org/apache/maven/continuum/reports/surefire/DefaultReportTestSuiteGeneratorTest.xml?rev=649342&r1=649341&r2=649342&view=diff
==============================================================================
--- continuum/trunk/continuum-reports/src/test/resources/org/apache/maven/continuum/reports/surefire/DefaultReportTestSuiteGeneratorTest.xml
(original)
+++ continuum/trunk/continuum-reports/src/test/resources/org/apache/maven/continuum/reports/surefire/DefaultReportTestSuiteGeneratorTest.xml
Thu Apr 17 18:00:29 2008
@@ -21,7 +21,7 @@
   <components>
     <component>
       <role>org.apache.maven.continuum.configuration.ConfigurationService</role>
-      <implementation>org.apache.maven.continuum.reports.surefire.MockConfigurationService</implementation>
+      <implementation>org.apache.maven.continuum.reports.surefire.ConfigurationServiceMock</implementation>
     </component>
   </components>
 </plexus>



Mime
View raw message