Skip to content

test: cover filename extension helpers#17088

Open
sgallese wants to merge 1 commit into
nextcloud:masterfrom
sgallese:mal/nextcloud-string-extension-baseline
Open

test: cover filename extension helpers#17088
sgallese wants to merge 1 commit into
nextcloud:masterfrom
sgallese:mal/nextcloud-string-extension-baseline

Conversation

@sgallese
Copy link
Copy Markdown

Summary

  • Add unit coverage for filename extension edge cases.
  • Cover multi-extension, hidden-file, and trailing-dot behavior.

Testing

  • ./gradlew --no-daemon testGplayDebugUnitTest --tests com.nextcloud.android.utils.ExtensionsTest --rerun-tasks
  • ./gradlew --no-daemon spotlessKotlinCheck

Screenshots

Not applicable, test-only change.

Checklist

  • Tests written, or not not needed

Add direct unit coverage for filename extension edge cases in the Kotlin string extension helpers.

AI-assistant: Codex (GPT-5)
Signed-off-by: Sebastian Gallese <140911+sgallese@users.noreply.github.com>
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.

1 participant