Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimize junit Assert usage #4214

Merged
merged 1 commit into from
Jun 1, 2019
Merged

optimize junit Assert usage #4214

merged 1 commit into from
Jun 1, 2019

Conversation

slievrly
Copy link
Member

Signed-off-by: jimin.jm [email protected]

What is the purpose of the change

optimize junit Assert usage

Brief changelog

optimize junit Assert usage

Verifying this change

ci

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

  • Make sure there is a GITHUB_issue field 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 sample in dubbo samples project.
  • Run mvn clean install -DskipTests=false & 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

Codecov Report

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

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #4214      +/-   ##
============================================
+ Coverage     62.93%   62.98%   +0.05%     
- Complexity      507      511       +4     
============================================
  Files           769      769              
  Lines         33058    33350     +292     
  Branches       5217     5267      +50     
============================================
+ Hits          20806    21007     +201     
- Misses         9858     9946      +88     
- Partials       2394     2397       +3
Impacted Files Coverage Δ Complexity Δ
.../remoting/transport/netty4/NettyClientHandler.java 58.82% <0%> (-9.6%) 0% <0%> (ø)
...che/dubbo/remoting/transport/mina/MinaChannel.java 44.73% <0%> (-9.22%) 17% <0%> (ø)
...e/dubbo/remoting/transport/netty/NettyChannel.java 57.64% <0%> (-4.71%) 20% <0%> (-1%)
...ml/rpc/protocol/xmlrpc/XmlRpcProxyFactoryBean.java 63.88% <0%> (-2.78%) 7% <0%> (+2%)
.../main/java/org/apache/dubbo/rpc/RpcInvocation.java 65.25% <0%> (-1.42%) 0% <0%> (ø)
...dubbo/rpc/protocol/dubbo/CallbackServiceCodec.java 80.14% <0%> (-0.74%) 0% <0%> (ø)
...main/java/org/apache/dubbo/remoting/Constants.java 100% <0%> (ø) 0% <0%> (ø) ⬇️
...ibaba/dubbo/registry/support/AbstractRegistry.java 0% <0%> (ø) 0% <0%> (ø) ⬇️
...bo/remoting/transport/netty4/NettyTransporter.java 100% <0%> (ø) 0% <0%> (ø) ⬇️
...ibaba/dubbo/registry/support/FailbackRegistry.java 0% <0%> (ø) 0% <0%> (ø) ⬇️
... and 13 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 4b97a0b...256c7aa. Read the comment docs.

Copy link
Member

@lovepoem lovepoem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

3 participants