You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2020/06/08 22:02:39 UTC
[maven-surefire] branch SUREFIRE-1796 updated (4537623 -> 1494d88)
This is an automated email from the ASF dual-hosted git repository.
tibordigana pushed a change to branch SUREFIRE-1796
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git.
from 4537623 String instead of UUID, removed UUID_STRING_LENGTH, refactoring
new e5178fe static method
new 1494d88 static method
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../booter/spi/SurefireMasterProcessChannelProcessorFactory.java | 2 +-
.../java/org/apache/maven/surefire/booter/ForkedBooterMockTest.java | 6 ++----
2 files changed, 3 insertions(+), 5 deletions(-)
[maven-surefire] 01/02: static method
Posted by ti...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tibordigana pushed a commit to branch SUREFIRE-1796
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git
commit e5178fe7b766b4c92922b91732fd63659db8710d
Author: tibordigana <ti...@apache.org>
AuthorDate: Tue Jun 9 00:00:24 2020 +0200
static method
---
.../booter/spi/SurefireMasterProcessChannelProcessorFactory.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/surefire-booter/src/main/java/org/apache/maven/surefire/booter/spi/SurefireMasterProcessChannelProcessorFactory.java b/surefire-booter/src/main/java/org/apache/maven/surefire/booter/spi/SurefireMasterProcessChannelProcessorFactory.java
index f17a3db..bfe0157 100644
--- a/surefire-booter/src/main/java/org/apache/maven/surefire/booter/spi/SurefireMasterProcessChannelProcessorFactory.java
+++ b/surefire-booter/src/main/java/org/apache/maven/surefire/booter/spi/SurefireMasterProcessChannelProcessorFactory.java
@@ -129,7 +129,7 @@ public class SurefireMasterProcessChannelProcessorFactory
}
}
- private String parseSessionId( URI uri )
+ private static String parseSessionId( URI uri )
{
String query = uri.getQuery();
if ( query == null )
[maven-surefire] 02/02: static method
Posted by ti...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tibordigana pushed a commit to branch SUREFIRE-1796
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git
commit 1494d88c5d248a809cf8f9862c9e00ed0f244968
Author: tibordigana <ti...@apache.org>
AuthorDate: Tue Jun 9 00:02:27 2020 +0200
static method
---
.../java/org/apache/maven/surefire/booter/ForkedBooterMockTest.java | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/surefire-booter/src/test/java/org/apache/maven/surefire/booter/ForkedBooterMockTest.java b/surefire-booter/src/test/java/org/apache/maven/surefire/booter/ForkedBooterMockTest.java
index 5d501c6..6220bca 100644
--- a/surefire-booter/src/test/java/org/apache/maven/surefire/booter/ForkedBooterMockTest.java
+++ b/surefire-booter/src/test/java/org/apache/maven/surefire/booter/ForkedBooterMockTest.java
@@ -441,10 +441,9 @@ public class ForkedBooterMockTest
@Test
public void shouldParseUUID() throws Exception
{
- SurefireMasterProcessChannelProcessorFactory factory = new SurefireMasterProcessChannelProcessorFactory();
UUID uuid = UUID.randomUUID();
URI uri = new URI( "tcp://localhost:12345?sessionId=" + uuid );
- String parsed = invokeMethod( factory, "parseSessionId", uri );
+ String parsed = invokeMethod( SurefireMasterProcessChannelProcessorFactory.class, "parseSessionId", uri );
assertThat( parsed )
.isEqualTo( uuid.toString() );
}
@@ -452,10 +451,9 @@ public class ForkedBooterMockTest
@Test
public void shouldNotParseUUID() throws Exception
{
- SurefireMasterProcessChannelProcessorFactory factory = new SurefireMasterProcessChannelProcessorFactory();
UUID uuid = UUID.randomUUID();
URI uri = new URI( "tcp://localhost:12345?xxx=" + uuid );
- String parsed = invokeMethod( factory, "parseSessionId", uri );
+ String parsed = invokeMethod( SurefireMasterProcessChannelProcessorFactory.class, "parseSessionId", uri );
assertThat( parsed )
.isNull();
}