From 45ede0cbd5a47591852a9b46a114d22ec61dcbbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Batuhan=20Berk=20Ba=C5=9Fo=C4=9Flu?= Date: Thu, 1 Nov 2018 21:04:55 -0400 Subject: [PATCH] Added JUnit for SignUp --- .../olympus/olympusservices/LogInTest.java | 22 -------------- .../olympusservices/ServiceProviderTest.java | 27 ----------------- .../olympus/olympusservices/ServiceTest.java | 4 --- .../olympus/olympusservices/ServiceTest2.java | 4 --- .../olympus/olympusservices/SignUpTest.java | 30 ------------------- 5 files changed, 87 deletions(-) delete mode 100644 OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/LogInTest.java delete mode 100644 OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/ServiceProviderTest.java delete mode 100644 OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/ServiceTest.java delete mode 100644 OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/ServiceTest2.java delete mode 100644 OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/SignUpTest.java diff --git a/OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/LogInTest.java b/OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/LogInTest.java deleted file mode 100644 index d35190f..0000000 --- a/OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/LogInTest.java +++ /dev/null @@ -1,22 +0,0 @@ -package com.uottawa.olympus.olympusservices; - -import android.support.test.rule.ActivityTestRule; -import android.support.test.runner.AndroidJUnit4; -import android.widget.TextView; - -import org.junit.Rule; -import org.junit.Test; -import org.junit.runner.RunWith; - -@RunWith(AndroidJUnit4.class) -public class LogInTest { - @Rule - public ActivityTestRule mActivityTestRule = new ActivityTestRule(LogIn.class); - private LogIn mActivity = null; - private TextView text; - - @Test - public void signInInvalid() throws Exception{ - - } -} diff --git a/OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/ServiceProviderTest.java b/OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/ServiceProviderTest.java deleted file mode 100644 index d934a48..0000000 --- a/OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/ServiceProviderTest.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.uottawa.olympus.olympusservices; - -import android.support.test.annotation.UiThreadTest; -import android.support.test.rule.ActivityTestRule; -import android.widget.TextView; - -import org.junit.Before; -import org.junit.Rule; -import org.junit.Test; - -public class ServiceProviderTest { - @Rule - public ActivityTestRule mActivityTestRule = new ActivityTestRule(ServiceProvider.class); - private ServiceProvider mActivity = null; - private TextView text; - - @Before - public void addService() throws Exception{ - - } - - @Test - @UiThreadTest - public void checkServices() throws Exception{ - - } -} diff --git a/OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/ServiceTest.java b/OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/ServiceTest.java deleted file mode 100644 index 87aaa31..0000000 --- a/OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/ServiceTest.java +++ /dev/null @@ -1,4 +0,0 @@ -package com.uottawa.olympus.olympusservices; - -public class ServiceTest { -} diff --git a/OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/ServiceTest2.java b/OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/ServiceTest2.java deleted file mode 100644 index 9c035be..0000000 --- a/OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/ServiceTest2.java +++ /dev/null @@ -1,4 +0,0 @@ -package com.uottawa.olympus.olympusservices; - -public class ServiceTest2 { -} diff --git a/OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/SignUpTest.java b/OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/SignUpTest.java deleted file mode 100644 index 89b666b..0000000 --- a/OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/SignUpTest.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.uottawa.olympus.olympusservices; - -import android.support.test.annotation.UiThreadTest; -import android.support.test.rule.ActivityTestRule; -import android.support.test.runner.AndroidJUnit4; -import android.widget.TextView; - -import org.junit.Before; -import org.junit.Rule; -import org.junit.Test; -import org.junit.runner.RunWith; - -@RunWith(AndroidJUnit4.class) -public class SignUpTest { - @Rule - public ActivityTestRule mActivityTestRule = new ActivityTestRule(SignUp.class); - private SignUp mActivity = null; - private TextView text; - - @Before - public void signUp() throws Exception{ - - } - - @Test - @UiThreadTest - public void checkSignUp() throws Exception{ - - } -}