mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-08 19:46:10 +01:00
Added: Add empty and null strings tests for invalid urls to FileReceiverActivityTest
This commit is contained in:
parent
8be53336c3
commit
b84dc703e8
1 changed files with 2 additions and 0 deletions
|
|
@ -26,6 +26,8 @@ public class FileReceiverActivityTest {
|
|||
|
||||
List<String> invalidUrls = new ArrayList<>();
|
||||
invalidUrls.add("a test with example.com");
|
||||
invalidUrls.add("");
|
||||
invalidUrls.add(null);
|
||||
for (String url : invalidUrls) {
|
||||
Assert.assertFalse(FileReceiverActivity.isSharedTextAnUrl(url));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue