From 4ffd7ed9bffa5139277ffb91de5a69f2b714222c Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 17 Apr 2020 00:24:13 +0530 Subject: Enable emulator tests (#708) * github: Enable instrumentation testing in PRs Signed-off-by: Harsh Shandilya * Upgrade to Gradle 6.3 Signed-off-by: Harsh Shandilya * Remove outdated and broken tests, redo PasswordEntryTest in Kotlin Signed-off-by: Harsh Shandilya * Remove now unused test assets Signed-off-by: Harsh Shandilya * github: Disable debug APK uploads in PR testing Signed-off-by: Harsh Shandilya * Update .github/workflows/pull_request.yml * Update .github/workflows/pull_request.yml Switching to Ubuntu fails due to the SDK 29 missing. Co-authored-by: Fabian Henneke --- app/src/androidTest/java/com/zeapo/pwdstore/OtpTest.java | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 app/src/androidTest/java/com/zeapo/pwdstore/OtpTest.java (limited to 'app/src/androidTest/java/com/zeapo/pwdstore/OtpTest.java') diff --git a/app/src/androidTest/java/com/zeapo/pwdstore/OtpTest.java b/app/src/androidTest/java/com/zeapo/pwdstore/OtpTest.java deleted file mode 100644 index 76be43a1..00000000 --- a/app/src/androidTest/java/com/zeapo/pwdstore/OtpTest.java +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright © 2014-2020 The Android Password Store Authors. All Rights Reserved. - * SPDX-License-Identifier: GPL-3.0-only - */ -package com.zeapo.pwdstore; - -import com.zeapo.pwdstore.utils.Otp; -import junit.framework.TestCase; - -public class OtpTest extends TestCase { - public void testOtp() { - String code = Otp.calculateCode("JBSWY3DPEHPK3PXP", 0L, "sha1", "s"); - assertEquals("282760", code); - } -} -- cgit v1.2.3