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

Make writing tests for WRONG_INDENTATION checks easier #1499

Merged

Conversation

0x6675636b796f75676974687562
Copy link
Member

What's done:

  • Added annotation-based configuration with minimum boilerplate code.

### What's done:

 * Added annotation-based configuration with minimum boilerplate code.
@codecov
Copy link

codecov bot commented Aug 9, 2022

Codecov Report

Merging #1499 (529fc5f) into master (f791e1a) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master    #1499   +/-   ##
=========================================
  Coverage     82.95%   82.96%           
  Complexity     2574     2574           
=========================================
  Files           111      111           
  Lines          7710     7712    +2     
  Branches       2114     2114           
=========================================
+ Hits           6396     6398    +2     
  Misses          418      418           
  Partials        896      896           
Flag Coverage Δ
unittests 82.96% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...set/rules/chapter3/files/IndentationConfigAware.kt 81.25% <ø> (ø)
...at/ruleset/rules/chapter3/files/IndentationRule.kt 75.48% <ø> (-0.29%) ⬇️
...uleset/rules/chapter3/files/IndentedElementType.kt 100.00% <ø> (ø)
...otlin/org/cqfn/diktat/ruleset/utils/StringUtils.kt 88.88% <100.00%> (+1.01%) ⬆️
...tat/ruleset/utils/indentation/IndentationConfig.kt 91.30% <100.00%> (+0.82%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2022

JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v1)

1 300 tests   1 285 ✔️  1m 17s ⏱️
   157 suites       15 💤
   157 files           0

Results for commit 05fff45.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2022

JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v1)

1 315 tests   1 300 ✔️  3m 13s ⏱️
   158 suites       15 💤
   158 files           0

Results for commit 05fff45.

♻️ This comment has been updated with latest results.

@0x6675636b796f75676974687562 0x6675636b796f75676974687562 deleted the bugfix/andrey.shcheglov/indentation branch August 10, 2022 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Improve testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants