[incubator-dubbo-spring-boot-project] branch 0.1.1 created (now 9c3bc92)

2018-06-13 Thread mercyblitz
This is an automated email from the ASF dual-hosted git repository.

mercyblitz pushed a change to branch 0.1.1
in repository 
https://gitbox.apache.org/repos/asf/incubator-dubbo-spring-boot-project.git.


  at 9c3bc92  Merge pull request #163 from mercyblitz/0.1.x

No new revisions were added by this update.

-- 
To stop receiving notification emails like this one, please contact
mercybl...@apache.org.


[incubator-dubbo-spring-boot-project] branch 0.2.0 updated (e9c91b6 -> 9bf400c)

2018-06-13 Thread mercyblitz
This is an automated email from the ASF dual-hosted git repository.

mercyblitz pushed a change to branch 0.2.0
in repository 
https://gitbox.apache.org/repos/asf/incubator-dubbo-spring-boot-project.git.


from e9c91b6  Merge pull request #173 from mercyblitz/0.2.0
 add 94c13ff  Merge pull request #165 from apache/0.2.0
 add 01635fa  Update README.md
 add ccb0320  Update README_CN.md
 add 21c50c2  Update README.md
 add 1d85dcd  Merge pull request #175 from apache/0.2.0
 new 9bf400c  Merge pull request #176 from apache/master

The 1 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:
 README.md| 2 +-
 README_CN.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
mercybl...@apache.org.


[incubator-dubbo-spring-boot-project] 01/01: Merge pull request #176 from apache/master

2018-06-13 Thread mercyblitz
This is an automated email from the ASF dual-hosted git repository.

mercyblitz pushed a commit to branch 0.2.0
in repository 
https://gitbox.apache.org/repos/asf/incubator-dubbo-spring-boot-project.git

commit 9bf400c75c87d11ddea2a552dcd6af3707d971e2
Merge: e9c91b6 1d85dcd
Author: 小马哥 
AuthorDate: Wed Jun 13 17:37:45 2018 +0800

Merge pull request #176 from apache/master

Update document

 README.md| 2 +-
 README_CN.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
mercybl...@apache.org.


[incubator-dubbo-spring-boot-project] branch master updated (21c50c2 -> 1d85dcd)

2018-06-13 Thread mercyblitz
This is an automated email from the ASF dual-hosted git repository.

mercyblitz pushed a change to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-dubbo-spring-boot-project.git.


from 21c50c2  Update README.md
 add e6d3a49  Fixed apache/incubator-dubbo-spring-boot-project#143
 add 95fc665  Fixed apache/incubator-dubbo-spring-boot-project#169
 add e9c91b6  Merge pull request #173 from mercyblitz/0.2.0
 new 1d85dcd  Merge pull request #175 from apache/0.2.0

The 1 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:
 .../com/alibaba/boot/dubbo/autoconfigure/DubboAutoConfiguration.java | 1 -
 .../alibaba/boot/dubbo/context/event/WelcomeLogoApplicationListener.java | 1 -
 2 files changed, 2 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
mercybl...@apache.org.


[incubator-dubbo-spring-boot-project] branch 0.2.0 updated (577bacb -> e9c91b6)

2018-06-13 Thread mercyblitz
This is an automated email from the ASF dual-hosted git repository.

mercyblitz pushed a change to branch 0.2.0
in repository 
https://gitbox.apache.org/repos/asf/incubator-dubbo-spring-boot-project.git.


from 577bacb  Merge pull request #164 from mercyblitz/0.2.0
 add e6d3a49  Fixed apache/incubator-dubbo-spring-boot-project#143
 add 95fc665  Fixed apache/incubator-dubbo-spring-boot-project#169
 new e9c91b6  Merge pull request #173 from mercyblitz/0.2.0

The 1 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:
 .../com/alibaba/boot/dubbo/autoconfigure/DubboAutoConfiguration.java | 1 -
 .../alibaba/boot/dubbo/context/event/WelcomeLogoApplicationListener.java | 1 -
 2 files changed, 2 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
mercybl...@apache.org.


[incubator-dubbo-spring-boot-project] 01/01: Merge pull request #174 from mercyblitz/0.1.x

2018-06-13 Thread mercyblitz
This is an automated email from the ASF dual-hosted git repository.

mercyblitz pushed a commit to branch 0.1.x
in repository 
https://gitbox.apache.org/repos/asf/incubator-dubbo-spring-boot-project.git

commit 03a3c6091492d3434d037f734c250eab39702c8e
Merge: 9c3bc92 c8a2103
Author: 小马哥 
AuthorDate: Wed Jun 13 17:34:50 2018 +0800

Merge pull request #174 from mercyblitz/0.1.x

0.1.x

 .../com/alibaba/boot/dubbo/autoconfigure/DubboAutoConfiguration.java | 1 -
 .../alibaba/boot/dubbo/context/event/WelcomeLogoApplicationListener.java | 1 -
 2 files changed, 2 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
mercybl...@apache.org.


[incubator-dubbo-spring-boot-project] branch 0.1.x updated (9c3bc92 -> 03a3c60)

2018-06-13 Thread mercyblitz
This is an automated email from the ASF dual-hosted git repository.

mercyblitz pushed a change to branch 0.1.x
in repository 
https://gitbox.apache.org/repos/asf/incubator-dubbo-spring-boot-project.git.


from 9c3bc92  Merge pull request #163 from mercyblitz/0.1.x
 add 740ca80  Fixed apache/incubator-dubbo-spring-boot-project#143
 add c8a2103  Fixed apache/incubator-dubbo-spring-boot-project#169
 new 03a3c60  Merge pull request #174 from mercyblitz/0.1.x

The 1 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:
 .../com/alibaba/boot/dubbo/autoconfigure/DubboAutoConfiguration.java | 1 -
 .../alibaba/boot/dubbo/context/event/WelcomeLogoApplicationListener.java | 1 -
 2 files changed, 2 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
mercybl...@apache.org.


[incubator-dubbo] branch master updated: #1689: Enhance the test coverage part-10 : dubbo-plugin module, unit (#1936)

2018-06-13 Thread iluo
This is an automated email from the ASF dual-hosted git repository.

iluo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git


The following commit(s) were added to refs/heads/master by this push:
 new d2e5652  #1689: Enhance the test coverage part-10 : dubbo-plugin 
module, unit (#1936)
d2e5652 is described below

commit d2e5652cb057bd08bcd39d579bbde32f3f4823a9
Author: Ian Luo 
AuthorDate: Wed Jun 13 14:33:24 2018 +0800

#1689: Enhance the test coverage part-10 : dubbo-plugin module, unit 
(#1936)

test for textui
---
 .../java/com/alibaba/dubbo/qos/textui/TKvTest.java | 33 ++---
 .../qos/textui/TLadderTest.java}   | 26 +++---
 .../com/alibaba/dubbo/qos/textui/TTableTest.java   | 55 ++
 .../qos/textui/{TKvTest.java => TTreeTest.java}| 37 ---
 4 files changed, 122 insertions(+), 29 deletions(-)

diff --git 
a/dubbo-plugin/dubbo-qos/src/test/java/com/alibaba/dubbo/qos/textui/TKvTest.java
 
b/dubbo-plugin/dubbo-qos/src/test/java/com/alibaba/dubbo/qos/textui/TKvTest.java
index d0159e6..b23595b 100644
--- 
a/dubbo-plugin/dubbo-qos/src/test/java/com/alibaba/dubbo/qos/textui/TKvTest.java
+++ 
b/dubbo-plugin/dubbo-qos/src/test/java/com/alibaba/dubbo/qos/textui/TKvTest.java
@@ -18,22 +18,43 @@ package com.alibaba.dubbo.qos.textui;
 
 import org.junit.Test;
 
+import static org.hamcrest.Matchers.containsString;
+import static org.junit.Assert.assertThat;
+
 public class TKvTest {
 @Test
-public void outPutTest() {
-
-final TKv tKv = new TKv(new TTable.ColumnDefine(TTable.Align.RIGHT), 
new TTable.ColumnDefine(10, false, TTable.Align.LEFT));
+public void test1() {
+TKv tKv = new TKv(new TTable.ColumnDefine(TTable.Align.RIGHT), new 
TTable.ColumnDefine(10, false, TTable.Align.LEFT));
 tKv.add("KEY-1", "ABCDEFGHIJKLMNOPQRSTUVWXYZ");
 tKv.add("KEY-2", "1234567890");
 tKv.add("KEY-3", "1234567890");
 
-final TTable tTable = new TTable(new TTable.ColumnDefine[]{
+TTable tTable = new TTable(new TTable.ColumnDefine[]{
 new TTable.ColumnDefine(),
 new TTable.ColumnDefine(20, false, TTable.Align.LEFT)
 });
 
-tTable.addRow("OPTIONS", tKv.rendering());
+String kv = tKv.rendering();
+assertThat(kv, containsString("ABCDEFGHIJ\n"));
+assertThat(kv, containsString("KLMNOPQRST\n"));
+assertThat(kv, containsString("UVWXYZ\n"));
+
+tTable.addRow("OPTIONS", kv);
+String table = tTable.rendering();
+assertThat(table, containsString("|OPTIONS|"));
+assertThat(table, containsString("|KEY-3"));
+
+System.out.println(table);
+}
 
-System.out.println(tTable.rendering());
+@Test
+public void test2() throws Exception {
+TKv tKv = new TKv();
+tKv.add("KEY-1", "ABCDEFGHIJKLMNOPQRSTUVWXYZ");
+tKv.add("KEY-2", "1234567890");
+tKv.add("KEY-3", "1234567890");
+String kv = tKv.rendering();
+assertThat(kv, containsString("ABCDEFGHIJKLMNOPQRSTUVWXYZ"));
+System.out.println(kv);
 }
 }
diff --git 
a/dubbo-plugin/dubbo-qos/src/test/java/com/alibaba/StringSplitTest.java 
b/dubbo-plugin/dubbo-qos/src/test/java/com/alibaba/dubbo/qos/textui/TLadderTest.java
similarity index 54%
rename from 
dubbo-plugin/dubbo-qos/src/test/java/com/alibaba/StringSplitTest.java
rename to 
dubbo-plugin/dubbo-qos/src/test/java/com/alibaba/dubbo/qos/textui/TLadderTest.java
index 499e091..36f1101 100644
--- a/dubbo-plugin/dubbo-qos/src/test/java/com/alibaba/StringSplitTest.java
+++ 
b/dubbo-plugin/dubbo-qos/src/test/java/com/alibaba/dubbo/qos/textui/TLadderTest.java
@@ -6,7 +6,7 @@
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
  *
- * http://www.apache.org/licenses/LICENSE-2.0
+ *  http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -14,14 +14,28 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package com.alibaba;
+package com.alibaba.dubbo.qos.textui;
 
 import org.junit.Test;
 
-public class StringSplitTest {
+
+import static org.hamcrest.Matchers.equalTo;
+import static org.junit.Assert.assertThat;
+
+public class TLadderTest {
 @Test
-public void stringSplitTest(){
-String str = new String("?  helloworld ac");
-String[] result = str.split("(?