linkis icon indicating copy to clipboard operation
linkis copied to clipboard

feat: linkis-storage-script-dev-server unit test

Open ruY9527 opened this issue 3 years ago • 1 comments
trafficstars

What is the purpose of the change

add linkis-storage-script-dev-server unit test

Related issues/PRs

Related issues: #3103

Brief change log

  • add api/service/dao test
  • add const test
  • add exception test

Checklist

  • [x] I have read the Contributing Guidelines on pull requests.
  • [ ] I have explained the need for this PR and the problem it solves
  • [ ] I have explained the changes or the new features added to this PR
  • [ ] I have added tests corresponding to this change
  • [ ] I have updated the documentation to reflect this change
  • [ ] I have verified that this change is backward compatible (If not, please discuss on the Linkis mailing list first)
  • [ ] If this is a code change: I have written unit tests to fully verify the new behavior.

ruY9527 avatar Sep 20 '22 15:09 ruY9527

Codecov Report

Merging #3486 (cc4271b) into dev-1.3.1 (11ccae1) will decrease coverage by 0.35%. The diff coverage is n/a.

@@               Coverage Diff               @@
##             dev-1.3.1    #3486      +/-   ##
===============================================
- Coverage        14.26%   13.90%   -0.36%     
- Complexity        1255     1341      +86     
===============================================
  Files              820      889      +69     
  Lines            31613    34700    +3087     
  Branches          4676     5059     +383     
===============================================
+ Hits              4509     4826     +317     
- Misses           26453    29198    +2745     
- Partials           651      676      +25     
Impacted Files Coverage Δ
...ay/authentication/service/CachedTokenService.scala 38.46% <0.00%> (-5.02%) :arrow_down:
...ava/org/apache/linkis/cs/DefaultContextSearch.java 53.84% <0.00%> (-2.16%) :arrow_down:
...g/apache/linkis/common/conf/BDPConfiguration.scala 24.46% <0.00%> (-0.27%) :arrow_down:
...iguration/restful/api/ConfigurationRestfulApi.java 16.99% <0.00%> (-0.12%) :arrow_down:
...nfiguration/service/impl/ConfigKeyServiceImpl.java 3.70% <0.00%> (-0.10%) :arrow_down:
...linkis/configuration/validate/FloatValidator.scala 12.50% <0.00%> (ø)
...nkis/configuration/util/LabelParameterParser.scala 47.05% <0.00%> (ø)
...is/configuration/validate/NumericalValidator.scala 6.66% <0.00%> (ø)
...linkis/instance/label/restful/InstanceRestful.java 0.00% <0.00%> (ø)
...nce/label/service/impl/DefaultInsLabelService.java 10.43% <0.00%> (ø)
... and 72 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar Sep 22 '22 13:09 codecov[bot]