aboutsummaryrefslogtreecommitdiff
path: root/app/src/test
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2024-05-28 15:11:50 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2024-05-28 15:11:50 +0530
commitc980c898de8417e16942741d469ebef8532b822a (patch)
treecc0639b9bbe45bb7ff89fe3a956c0619f3d943b2 /app/src/test
parentde6cdfee0e37aab03bfb91e5e90c3ec4bd740fe3 (diff)
chore: reformat with trailing commas changes
Diffstat (limited to 'app/src/test')
-rw-r--r--app/src/test/java/app/passwordstore/util/settings/MigrationsTest.kt18
1 files changed, 9 insertions, 9 deletions
diff --git a/app/src/test/java/app/passwordstore/util/settings/MigrationsTest.kt b/app/src/test/java/app/passwordstore/util/settings/MigrationsTest.kt
index d8864453..ca72513b 100644
--- a/app/src/test/java/app/passwordstore/util/settings/MigrationsTest.kt
+++ b/app/src/test/java/app/passwordstore/util/settings/MigrationsTest.kt
@@ -61,12 +61,12 @@ class MigrationsTest {
runMigrations(
filesDir,
sharedPrefs,
- GitSettings(sharedPrefs, encryptedSharedPreferences, proxySharedPreferences, filesDir)
+ GitSettings(sharedPrefs, encryptedSharedPreferences, proxySharedPreferences, filesDir),
)
checkOldKeysAreRemoved()
assertEquals(
sharedPrefs.getString(PreferenceKeys.GIT_REMOTE_URL),
- "ssh://msfjarvis@192.168.0.102:2200/mnt/disk3/pass-repo"
+ "ssh://msfjarvis@192.168.0.102:2200/mnt/disk3/pass-repo",
)
}
@@ -82,12 +82,12 @@ class MigrationsTest {
runMigrations(
filesDir,
sharedPrefs,
- GitSettings(sharedPrefs, encryptedSharedPreferences, proxySharedPreferences, filesDir)
+ GitSettings(sharedPrefs, encryptedSharedPreferences, proxySharedPreferences, filesDir),
)
checkOldKeysAreRemoved()
assertEquals(
sharedPrefs.getString(PreferenceKeys.GIT_REMOTE_URL),
- "msfjarvis@192.168.0.102:/mnt/disk3/pass-repo"
+ "msfjarvis@192.168.0.102:/mnt/disk3/pass-repo",
)
}
@@ -103,12 +103,12 @@ class MigrationsTest {
runMigrations(
filesDir,
sharedPrefs,
- GitSettings(sharedPrefs, encryptedSharedPreferences, proxySharedPreferences, filesDir)
+ GitSettings(sharedPrefs, encryptedSharedPreferences, proxySharedPreferences, filesDir),
)
checkOldKeysAreRemoved()
assertEquals(
sharedPrefs.getString(PreferenceKeys.GIT_REMOTE_URL),
- "https://github.com/Android-Password-Store/pass-test"
+ "https://github.com/Android-Password-Store/pass-test",
)
}
@@ -117,7 +117,7 @@ class MigrationsTest {
runMigrations(
filesDir,
sharedPrefs,
- GitSettings(sharedPrefs, encryptedSharedPreferences, proxySharedPreferences, filesDir)
+ GitSettings(sharedPrefs, encryptedSharedPreferences, proxySharedPreferences, filesDir),
)
assertEquals(true, sharedPrefs.getBoolean(PreferenceKeys.SHOW_HIDDEN_FOLDERS, true))
assertEquals(false, sharedPrefs.getBoolean(PreferenceKeys.SHOW_HIDDEN_CONTENTS, false))
@@ -129,7 +129,7 @@ class MigrationsTest {
runMigrations(
filesDir,
sharedPrefs,
- GitSettings(sharedPrefs, encryptedSharedPreferences, proxySharedPreferences, filesDir)
+ GitSettings(sharedPrefs, encryptedSharedPreferences, proxySharedPreferences, filesDir),
)
assertEquals(false, sharedPrefs.getBoolean(PreferenceKeys.SHOW_HIDDEN_FOLDERS, false))
assertEquals(true, sharedPrefs.getBoolean(PreferenceKeys.SHOW_HIDDEN_CONTENTS, false))
@@ -141,7 +141,7 @@ class MigrationsTest {
runMigrations(
filesDir,
sharedPrefs,
- GitSettings(sharedPrefs, encryptedSharedPreferences, proxySharedPreferences, filesDir)
+ GitSettings(sharedPrefs, encryptedSharedPreferences, proxySharedPreferences, filesDir),
)
assertEquals(true, sharedPrefs.getBoolean(PreferenceKeys.CLEAR_CLIPBOARD_HISTORY, false))
assertFalse(sharedPrefs.contains(PreferenceKeys.CLEAR_CLIPBOARD_20X))