You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by if...@apache.org on 2014/09/12 23:41:46 UTC

[1/2] git commit: better default test projects work directory

Repository: maven-plugin-testing
Updated Branches:
  refs/heads/master 616468599 -> 08cbd1847


better default test projects work directory

Signed-off-by: Igor Fedorenko <if...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/maven-plugin-testing/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-plugin-testing/commit/1023486e
Tree: http://git-wip-us.apache.org/repos/asf/maven-plugin-testing/tree/1023486e
Diff: http://git-wip-us.apache.org/repos/asf/maven-plugin-testing/diff/1023486e

Branch: refs/heads/master
Commit: 1023486e887922615512b7e364a469c33f04d40d
Parents: 6164685
Author: Igor Fedorenko <if...@apache.org>
Authored: Fri Sep 12 17:37:56 2014 -0400
Committer: Igor Fedorenko <if...@apache.org>
Committed: Fri Sep 12 17:37:56 2014 -0400

----------------------------------------------------------------------
 .../org/apache/maven/plugin/testing/resources/TestResources.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-plugin-testing/blob/1023486e/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/resources/TestResources.java
----------------------------------------------------------------------
diff --git a/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/resources/TestResources.java b/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/resources/TestResources.java
index 1f5a33a..5d0ce0e 100644
--- a/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/resources/TestResources.java
+++ b/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/resources/TestResources.java
@@ -47,7 +47,7 @@ public class TestResources
 
     public TestResources()
     {
-        this( "src/test/projects", "target/ut/" );
+        this( "src/test/projects", "target/test-projects" );
     }
 
     public TestResources( String projectsDir, String workDir )


[2/2] git commit: code format

Posted by if...@apache.org.
code format

Signed-off-by: Igor Fedorenko <if...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/maven-plugin-testing/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-plugin-testing/commit/08cbd184
Tree: http://git-wip-us.apache.org/repos/asf/maven-plugin-testing/tree/08cbd184
Diff: http://git-wip-us.apache.org/repos/asf/maven-plugin-testing/diff/08cbd184

Branch: refs/heads/master
Commit: 08cbd184768439ab0625ab142be7cd2a2231a6a0
Parents: 1023486
Author: Igor Fedorenko <if...@apache.org>
Authored: Fri Sep 12 17:41:29 2014 -0400
Committer: Igor Fedorenko <if...@apache.org>
Committed: Fri Sep 12 17:41:29 2014 -0400

----------------------------------------------------------------------
 .../org/apache/maven/plugin/testing/resources/TestResources.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-plugin-testing/blob/08cbd184/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/resources/TestResources.java
----------------------------------------------------------------------
diff --git a/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/resources/TestResources.java b/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/resources/TestResources.java
index 5d0ce0e..9df14f7 100644
--- a/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/resources/TestResources.java
+++ b/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/resources/TestResources.java
@@ -64,7 +64,7 @@ public class TestResources
         String methodName = d.getMethodName();
         if ( methodName != null )
         {
-            methodName = methodName.replace('/', '_').replace('\\', '_');
+            methodName = methodName.replace( '/', '_' ).replace( '\\', '_' );
         }
         name = d.getTestClass().getSimpleName() + "_" + methodName;
     }