summaryrefslogtreecommitdiff
path: root/passgen/diceware/src
diff options
context:
space:
mode:
Diffstat (limited to 'passgen/diceware/src')
-rw-r--r--passgen/diceware/src/main/AndroidManifest.xml6
-rw-r--r--passgen/diceware/src/main/res/raw/diceware_wordlist.txt (renamed from passgen/diceware/src/main/resources/diceware_wordlist.txt)0
-rw-r--r--passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/WordListParserTest.kt5
3 files changed, 8 insertions, 3 deletions
diff --git a/passgen/diceware/src/main/AndroidManifest.xml b/passgen/diceware/src/main/AndroidManifest.xml
new file mode 100644
index 00000000..6dff3e51
--- /dev/null
+++ b/passgen/diceware/src/main/AndroidManifest.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?><!--
+ ~ Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+ ~ SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception
+ -->
+
+<manifest package="dev.msfjarvis.aps.passgen.diceware" />
diff --git a/passgen/diceware/src/main/resources/diceware_wordlist.txt b/passgen/diceware/src/main/res/raw/diceware_wordlist.txt
index 43f88a92..43f88a92 100644
--- a/passgen/diceware/src/main/resources/diceware_wordlist.txt
+++ b/passgen/diceware/src/main/res/raw/diceware_wordlist.txt
diff --git a/passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/WordListParserTest.kt b/passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/WordListParserTest.kt
index a1633c69..9364085d 100644
--- a/passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/WordListParserTest.kt
+++ b/passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/WordListParserTest.kt
@@ -30,9 +30,8 @@ class WordListParserTest {
companion object {
fun getDefaultWordList(): InputStream {
- return requireNotNull(
- this::class.java.classLoader.getResourceAsStream("diceware_wordlist.txt")
- )
+ return requireNotNull(this::class.java.classLoader)
+ .getResourceAsStream("diceware_wordlist.txt")
}
}
}