You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by li...@apache.org on 2019/12/11 17:11:20 UTC

[incubator-dolphinscheduler] branch dev updated: Feature ci (#1452)

This is an automated email from the ASF dual-hosted git repository.

liuxiaochun pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 97cbdd8  Feature ci (#1452)
97cbdd8 is described below

commit 97cbdd892cccc21ba9c1215dffe270915ce738ea
Author: khadgarmage <kh...@outlook.com>
AuthorDate: Thu Dec 12 01:10:12 2019 +0800

    Feature ci (#1452)
    
    * codecov test
---
 README.md                                                     |  1 +
 README_zh_CN.md                                               |  1 +
 .../dolphinscheduler/common/utils/CollectionUtilsTest.java    | 11 +++++++----
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index b4a7e5c..b442624 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,7 @@ Dolphin Scheduler
 ============
 [![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
 [![Total Lines](https://tokei.rs/b1/github/apache/Incubator-DolphinScheduler?category=lines)](https://github.com/apache/Incubator-DolphinScheduler)
+[![codecov](https://codecov.io/gh/apache/incubator-dolphinscheduler/branch/dev/graph/badge.svg)](https://codecov.io/gh/apache/incubator-dolphinscheduler)
 
 > Dolphin Scheduler for Big Data
 
diff --git a/README_zh_CN.md b/README_zh_CN.md
index 6bdf7be..07b40fb 100644
--- a/README_zh_CN.md
+++ b/README_zh_CN.md
@@ -2,6 +2,7 @@ Dolphin Scheduler
 ============
 [![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
 [![Total Lines](https://tokei.rs/b1/github/apache/Incubator-DolphinScheduler?category=lines)](https://github.com/apache/Incubator-DolphinScheduler)
+[![codecov](https://codecov.io/gh/apache/incubator-dolphinscheduler/branch/dev/graph/badge.svg)](https://codecov.io/gh/apache/incubator-dolphinscheduler)
 
 > Dolphin Scheduler for Big Data
 
diff --git a/dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/CollectionUtilsTest.java b/dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/CollectionUtilsTest.java
index 573e62b..30c1152 100644
--- a/dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/CollectionUtilsTest.java
+++ b/dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/CollectionUtilsTest.java
@@ -19,10 +19,7 @@ package org.apache.dolphinscheduler.common.utils;
 import org.junit.Assert;
 import org.junit.Test;
 
-import java.util.ArrayList;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
+import java.util.*;
 
 
 public class CollectionUtilsTest {
@@ -56,4 +53,10 @@ public class CollectionUtilsTest {
         b.add(4);
         Assert.assertArrayEquals(new Integer[]{1,3},CollectionUtils.subtract(a,b).toArray());
     }
+
+    @Test
+    public void stringToMap() {
+        Map<String, String> a = CollectionUtils.stringToMap("a=b;c=d", ";", "");
+        Assert.assertNotNull(a);
+    }
 }