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

Percent encoding / decoding test enhancements #8693

Merged
merged 4 commits into from
May 24, 2024

Conversation

sschuberth
Copy link
Member

Please have a look at the individual commit messages for the details.

@sschuberth sschuberth requested a review from a team as a code owner May 24, 2024 10:26
@sschuberth sschuberth enabled auto-merge (rebase) May 24, 2024 10:26
utils/common/src/test/kotlin/ExtensionsTest.kt Outdated Show resolved Hide resolved
@@ -375,13 +376,21 @@ class ExtensionsTest : WordSpec({

assertSoftly {
Copy link
Member

Choose a reason for hiding this comment

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

out of scope: It would imo be nice to replace assertSoftly / forEach with reserved.forAll, maybe in a separate commit.

Copy link
Member

Choose a reason for hiding this comment

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

Thanks!

Copy link

codecov bot commented May 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.88%. Comparing base (69f8c6e) to head (963a987).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #8693   +/-   ##
=========================================
  Coverage     67.88%   67.88%           
  Complexity     1165     1165           
=========================================
  Files           244      244           
  Lines          7732     7732           
  Branches        865      865           
=========================================
  Hits           5249     5249           
  Misses         2124     2124           
  Partials        359      359           
Flag Coverage Δ
funTest-non-docker 34.19% <ø> (ø)
test 38.03% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

fviernau
fviernau previously approved these changes May 24, 2024
Verify that Java's regular `URLDecoder` can decode string to the
original.

Signed-off-by: Sebastian Schuberth <[email protected]>
Update some function names in test titles while at it.

Signed-off-by: Sebastian Schuberth <[email protected]>
@sschuberth sschuberth force-pushed the percent-encoding-decoding-test branch from 1f60500 to 779fbc9 Compare May 24, 2024 12:01
@sschuberth sschuberth requested a review from fviernau May 24, 2024 12:01
fviernau
fviernau previously approved these changes May 24, 2024
Move the stand-alone assertion to the begging of the block for
visibility while at it.

Signed-off-by: Sebastian Schuberth <[email protected]>
@sschuberth sschuberth force-pushed the percent-encoding-decoding-test branch from 779fbc9 to 963a987 Compare May 24, 2024 13:15
@sschuberth sschuberth requested a review from fviernau May 24, 2024 13:15
@sschuberth sschuberth merged commit 4fb504e into main May 24, 2024
20 checks passed
@sschuberth sschuberth deleted the percent-encoding-decoding-test branch May 24, 2024 13:32
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