aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/androidTest/java/com/zeapo/pwdstore/DecryptTest.kt
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2019-11-06 19:42:39 +0530
committerHarsh Shandilya <msfjarvis@gmail.com>2019-11-06 19:42:39 +0530
commitbe0d89958ad0ee18d3bba79db8d21666148d52ce (patch)
treef53e0181ec6ee8eb91994cd01623aec2464afd79 /app/src/androidTest/java/com/zeapo/pwdstore/DecryptTest.kt
parentb2d352e3ea671e84cc4f356a49786d1d3b2eaef6 (diff)
downloadHardenedPass-be0d89958ad0ee18d3bba79db8d21666148d52ce.tar.gz
HardenedPass-be0d89958ad0ee18d3bba79db8d21666148d52ce.zip
treewide: Reformat with latest ktlint
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to 'app/src/androidTest/java/com/zeapo/pwdstore/DecryptTest.kt')
-rw-r--r--app/src/androidTest/java/com/zeapo/pwdstore/DecryptTest.kt19
1 files changed, 9 insertions, 10 deletions
diff --git a/app/src/androidTest/java/com/zeapo/pwdstore/DecryptTest.kt b/app/src/androidTest/java/com/zeapo/pwdstore/DecryptTest.kt
index 448edc00..290f7a98 100644
--- a/app/src/androidTest/java/com/zeapo/pwdstore/DecryptTest.kt
+++ b/app/src/androidTest/java/com/zeapo/pwdstore/DecryptTest.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
package com.zeapo.pwdstore
import android.annotation.SuppressLint
@@ -11,6 +15,10 @@ import androidx.test.filters.LargeTest
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.rule.ActivityTestRule
import com.zeapo.pwdstore.crypto.PgpActivity
+import java.io.File
+import java.io.FileOutputStream
+import java.io.IOException
+import java.nio.charset.StandardCharsets
import kotlinx.android.synthetic.main.decrypt_layout.crypto_extra_show
import kotlinx.android.synthetic.main.decrypt_layout.crypto_password_category_decrypt
import kotlinx.android.synthetic.main.decrypt_layout.crypto_password_file
@@ -23,11 +31,6 @@ import org.junit.Assert.assertNotNull
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
-import java.io.File
-import java.io.FileOutputStream
-import java.io.IOException
-import java.nio.charset.StandardCharsets
-
@RunWith(AndroidJUnit4::class)
@LargeTest
@@ -121,7 +124,7 @@ class DecryptTest {
SystemClock.sleep(4000)
// The clipboard should be cleared!!
- for(i in 0..clipboard.primaryClip.itemCount) {
+ for (i in 0..clipboard.primaryClip.itemCount) {
assertEquals("", clipboard.primaryClip.getItemAt(i).text)
}
@@ -161,8 +164,4 @@ class DecryptTest {
}
}
}
-
}
-
-
-