You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/10/26 11:39:00 UTC

[GitHub] lovepoem closed pull request #168: upgrade jacoco version to support jdk11

lovepoem closed pull request #168: upgrade jacoco version to support jdk11
URL: https://github.com/apache/incubator-dubbo-ops/pull/168
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/dubbo-admin-backend/src/test/java/org/apache/dubbo/admin/governance/util/UrlUtilsTest.java b/dubbo-admin-backend/src/test/java/org/apache/dubbo/admin/governance/util/UrlUtilsTest.java
index 5e513f6..0a76271 100644
--- a/dubbo-admin-backend/src/test/java/org/apache/dubbo/admin/governance/util/UrlUtilsTest.java
+++ b/dubbo-admin-backend/src/test/java/org/apache/dubbo/admin/governance/util/UrlUtilsTest.java
@@ -19,7 +19,20 @@
 import org.junit.Assert;
 import org.junit.Test;
 
+import java.util.HashMap;
+import java.util.Map;
+
 public class UrlUtilsTest {
+
+    @Test
+    public void testParamsMapToString() {
+        Map<String, String[]> params = new HashMap<>();
+        params.put("a", new String[]{"1", "2", "3"});
+        params.put("b", new String[]{"8", "7", "6"});
+        String result = UrlUtils.paramsMapToString(params);
+        Assert.assertEquals(result, "&a=1,2,3&b=8,7,6");
+    }
+
     @Test
     public void testArrayToString() {
         String[] strArr = {"1", "2", "3"};
diff --git a/pom.xml b/pom.xml
index ab6e9c8..20385a6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -47,7 +47,7 @@
 		<fastjson-version>1.2.46</fastjson-version>
 		<springfox-swagger-version>2.9.2</springfox-swagger-version>
 		<netty-version>4.1.30.Final</netty-version>
-		<jacoco-version>0.8.1</jacoco-version>
+		<jacoco-version>0.8.2</jacoco-version>
 	</properties>
 
 	<dependencyManagement>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org