Skip to content

Write tests for findUniqueFilename() in UploadWorker.kt #5923

@AlexG-2003

Description

@AlexG-2003

Description

Look at PR #5877 for more details.

I have updated the method findUniqueFilename() in UploadWorker.kt to improve its efficiency in finding a unique name, fixing #2506. I don't have time to write tests for it at the moment so if someone would like to write tests for it that would be appreciated.

Tests should insure that the file name is changed as expected (appended with a three digit hash in the form #XXX) and that the file name is indeed unique.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions