diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2020-12-05 06:07:18 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-05 06:07:18 +0530 |
commit | 5e66d99c852ea67a88b650c03b0e8d55e83eccde (patch) | |
tree | aee323a08253fe7b863976eff92a1bd412bd1430 /app/src/androidTest/java | |
parent | 8eb55f18a11d6b2f155c7c9d48ca833313ee13db (diff) |
Refactor package structure (#1233)
* idea: default test runner to Gradle
* Kick off package structure revamp
* Reparent all classes under dev.msfjarvis.aps
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/androidTest/java')
-rw-r--r-- | app/src/androidTest/java/dev/msfjarvis/aps/data/password/PasswordEntryAndroidTest.kt (renamed from app/src/androidTest/java/com/zeapo/pwdstore/model/PasswordEntryAndroidTest.kt) | 6 | ||||
-rw-r--r-- | app/src/androidTest/java/dev/msfjarvis/aps/util/settings/MigrationsTest.kt (renamed from app/src/androidTest/java/com/zeapo/pwdstore/MigrationsTest.kt) | 10 | ||||
-rw-r--r-- | app/src/androidTest/java/dev/msfjarvis/aps/util/totp/UriTotpFinderTest.kt (renamed from app/src/androidTest/java/com/zeapo/pwdstore/utils/UriTotpFinderTest.kt) | 2 | ||||
-rw-r--r-- | app/src/androidTest/java/dev/msfjarvis/aps/util/viewmodel/StrictDomainRegexTest.kt (renamed from app/src/androidTest/java/com/zeapo/pwdstore/StrictDomainRegexTest.kt) | 2 |
4 files changed, 9 insertions, 11 deletions
diff --git a/app/src/androidTest/java/com/zeapo/pwdstore/model/PasswordEntryAndroidTest.kt b/app/src/androidTest/java/dev/msfjarvis/aps/data/password/PasswordEntryAndroidTest.kt index 53df8209..521b4c4f 100644 --- a/app/src/androidTest/java/com/zeapo/pwdstore/model/PasswordEntryAndroidTest.kt +++ b/app/src/androidTest/java/dev/msfjarvis/aps/data/password/PasswordEntryAndroidTest.kt @@ -3,11 +3,11 @@ * SPDX-License-Identifier: GPL-3.0-only */ -package com.zeapo.pwdstore.model +package dev.msfjarvis.aps.data.password import com.github.michaelbull.result.get -import com.zeapo.pwdstore.utils.Otp -import com.zeapo.pwdstore.utils.UriTotpFinder +import dev.msfjarvis.aps.util.totp.Otp +import dev.msfjarvis.aps.util.totp.UriTotpFinder import java.util.Date import kotlin.test.assertEquals import kotlin.test.assertFalse diff --git a/app/src/androidTest/java/com/zeapo/pwdstore/MigrationsTest.kt b/app/src/androidTest/java/dev/msfjarvis/aps/util/settings/MigrationsTest.kt index 5ba1b307..d27b4c1c 100644 --- a/app/src/androidTest/java/com/zeapo/pwdstore/MigrationsTest.kt +++ b/app/src/androidTest/java/dev/msfjarvis/aps/util/settings/MigrationsTest.kt @@ -5,15 +5,13 @@ @file:Suppress("DEPRECATION") -package com.zeapo.pwdstore +package dev.msfjarvis.aps.util.settings import android.content.Context import androidx.core.content.edit -import com.zeapo.pwdstore.git.config.AuthMode -import com.zeapo.pwdstore.git.config.Protocol -import com.zeapo.pwdstore.utils.PreferenceKeys -import com.zeapo.pwdstore.utils.getString -import com.zeapo.pwdstore.utils.sharedPrefs +import dev.msfjarvis.aps.Application +import dev.msfjarvis.aps.util.extensions.getString +import dev.msfjarvis.aps.util.extensions.sharedPrefs import org.junit.Assert.assertEquals import org.junit.Assert.assertNull import org.junit.Test diff --git a/app/src/androidTest/java/com/zeapo/pwdstore/utils/UriTotpFinderTest.kt b/app/src/androidTest/java/dev/msfjarvis/aps/util/totp/UriTotpFinderTest.kt index 0e4ac51c..6dba51b3 100644 --- a/app/src/androidTest/java/com/zeapo/pwdstore/utils/UriTotpFinderTest.kt +++ b/app/src/androidTest/java/dev/msfjarvis/aps/util/totp/UriTotpFinderTest.kt @@ -3,7 +3,7 @@ * SPDX-License-Identifier: GPL-3.0-only */ -package com.zeapo.pwdstore.utils +package dev.msfjarvis.aps.util.totp import kotlin.test.assertEquals import org.junit.Test diff --git a/app/src/androidTest/java/com/zeapo/pwdstore/StrictDomainRegexTest.kt b/app/src/androidTest/java/dev/msfjarvis/aps/util/viewmodel/StrictDomainRegexTest.kt index 2631cb41..876a0478 100644 --- a/app/src/androidTest/java/com/zeapo/pwdstore/StrictDomainRegexTest.kt +++ b/app/src/androidTest/java/dev/msfjarvis/aps/util/viewmodel/StrictDomainRegexTest.kt @@ -2,7 +2,7 @@ * Copyright © 2014-2020 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ -package com.zeapo.pwdstore +package dev.msfjarvis.aps.util.viewmodel import kotlin.test.assertFalse import kotlin.test.assertNull |