Skip to content

[dubbo-1689]: Enhance the test coverage part-10 : dubbo-plugin module#1976

Merged
beiwei30 merged 1 commit intoapache:masterfrom
beiwei30:qos-unit-test
Jun 21, 2018
Merged

[dubbo-1689]: Enhance the test coverage part-10 : dubbo-plugin module#1976
beiwei30 merged 1 commit intoapache:masterfrom
beiwei30:qos-unit-test

Conversation

@beiwei30
Copy link
Copy Markdown
Member

What is the purpose of the change

unit test for dubbo-pluign, tracked by issue#1689

Brief changelog

dubbo-plugin/dubbo-qos/src/test/java/org/apache/dubbo/qos/command/GreetingCommand.java
dubbo-plugin/dubbo-qos/src/test/java/org/apache/dubbo/qos/command/decoder/HttpCommandDecoderTest.java
dubbo-plugin/dubbo-qos/src/test/java/org/apache/dubbo/qos/command/decoder/TelnetCommandDecoderTest.java
dubbo-plugin/dubbo-qos/src/test/java/org/apache/dubbo/qos/command/impl/HelpTest.java
dubbo-plugin/dubbo-qos/src/test/java/org/apache/dubbo/qos/command/impl/LsTest.java

Verifying this change

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a GITHUB_issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
  • Run mvn clean install -DskipTests & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
  • If this contribution is large, please follow the Software Donation Guide.

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #1976 into master will increase coverage by 0.42%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1976      +/-   ##
============================================
+ Coverage     50.04%   50.47%   +0.42%     
- Complexity     4707     4738      +31     
============================================
  Files           562      562              
  Lines         25213    25213              
  Branches       4449     4449              
============================================
+ Hits          12618    12725     +107     
+ Misses        10688    10565     -123     
- Partials       1907     1923      +16
Impacted Files Coverage Δ Complexity Δ
...he/dubbo/remoting/transport/netty/NettyClient.java 72.88% <0%> (-8.48%) 12% <0%> (-1%)
.../dubbo/remoting/transport/netty4/NettyChannel.java 60% <0%> (-5%) 21% <0%> (-1%)
...e/dubbo/remoting/transport/netty4/NettyServer.java 72.13% <0%> (-3.28%) 9% <0%> (-1%)
...bo/remoting/transport/netty/NettyCodecAdapter.java 53.12% <0%> (-1.57%) 3% <0%> (ø)
...ache/dubbo/remoting/transport/mina/MinaClient.java 58.46% <0%> (+1.53%) 9% <0%> (+1%) ⬆️
...he/dubbo/registry/multicast/MulticastRegistry.java 57.74% <0%> (+1.67%) 41% <0%> (+3%) ⬆️
...a/org/apache/dubbo/monitor/dubbo/DubboMonitor.java 89.71% <0%> (+1.86%) 15% <0%> (ø) ⬇️
...ubbo/rpc/protocol/dubbo/ChannelWrappedInvoker.java 50% <0%> (+8.33%) 3% <0%> (ø) ⬇️
...ava/org/apache/dubbo/qos/command/impl/Offline.java 12.5% <0%> (+12.5%) 1% <0%> (+1%) ⬆️
...java/org/apache/dubbo/qos/command/impl/Online.java 12.5% <0%> (+12.5%) 1% <0%> (+1%) ⬆️
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 705bf37...059c7dc. Read the comment docs.

@beiwei30 beiwei30 merged commit cc79b22 into apache:master Jun 21, 2018
@beiwei30 beiwei30 deleted the qos-unit-test branch June 21, 2018 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants