From 518f765d8e5793cce8d82a52367250eac314df3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Batuhan=20Berk=20Ba=C5=9Fo=C4=9Flu?= Date: Wed, 31 Oct 2018 13:24:01 -0400 Subject: [PATCH] Added basic JUnit files --- .../.idea/caches/build_file_checksums.ser | Bin 537 -> 537 bytes OlympusServices/app/build.gradle | 1 + .../olympus/olympusservices/LogInTest.java | 26 +++++++++++++++ .../olympusservices/ServiceProviderTest.java | 4 +++ .../olympus/olympusservices/ServiceTest.java | 4 +++ .../olympus/olympusservices/SignUpTest.java | 30 ++++++++++++++++++ 6 files changed, 65 insertions(+) create mode 100644 OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/LogInTest.java create mode 100644 OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/ServiceProviderTest.java create mode 100644 OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/ServiceTest.java create mode 100644 OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/SignUpTest.java diff --git a/OlympusServices/.idea/caches/build_file_checksums.ser b/OlympusServices/.idea/caches/build_file_checksums.ser index 2d1081553c3cf2b2dafd64f2eaf06167f8bf0fe8..ce93595522e51c97e902d0543c1a8348bdf6381c 100644 GIT binary patch delta 105 zcmV-v0G9um1epYom;}oqRZWqccOmNZD4b6jF! zbaiNxwgEPiB>_VaQ?ysjll(XQlA5=Ajb2tQlXw9g6Gc)afp>2b{6(K*f>$BX3UmMw LlfMBQlL!J4o0BLD delta 98 zcmV-o0G+%lW-X^`!p?`h;9GqY;y60Ywm@mD5OQwx+K- zu-xT<#7$e1y#XB|A^vnC8bI?OnmGPbXf!9TbO0zrI$TwAWpZ;|Np@jwVUsigHk0fD EEt mActivityTestRule = new ActivityTestRule(LogIn.class); + private LogIn mActivity = null; + private TextView text; + + + @Test + @UiThreadTest + 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 new file mode 100644 index 0000000..e172b92 --- /dev/null +++ b/OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/ServiceProviderTest.java @@ -0,0 +1,4 @@ +package com.uottawa.olympus.olympusservices; + +public class ServiceProviderTest { +} 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 new file mode 100644 index 0000000..87aaa31 --- /dev/null +++ b/OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/ServiceTest.java @@ -0,0 +1,4 @@ +package com.uottawa.olympus.olympusservices; + +public class ServiceTest { +} 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 new file mode 100644 index 0000000..89b666b --- /dev/null +++ b/OlympusServices/app/src/androidTest/java/com/uottawa/olympus/olympusservices/SignUpTest.java @@ -0,0 +1,30 @@ +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{ + + } +}