Added JUnit for SignUp

This commit is contained in:
Batuhan Berk Başoğlu 2018-11-01 21:04:55 -04:00
parent e18b97a1a9
commit 94e4bb4286
5 changed files with 0 additions and 87 deletions

View file

@ -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<LogIn> mActivityTestRule = new ActivityTestRule<LogIn>(LogIn.class);
private LogIn mActivity = null;
private TextView text;
@Test
public void signInInvalid() throws Exception{
}
}

View file

@ -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<ServiceProvider> mActivityTestRule = new ActivityTestRule<ServiceProvider>(ServiceProvider.class);
private ServiceProvider mActivity = null;
private TextView text;
@Before
public void addService() throws Exception{
}
@Test
@UiThreadTest
public void checkServices() throws Exception{
}
}

View file

@ -1,4 +0,0 @@
package com.uottawa.olympus.olympusservices;
public class ServiceTest {
}

View file

@ -1,4 +0,0 @@
package com.uottawa.olympus.olympusservices;
public class ServiceTest2 {
}

View file

@ -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<SignUp> mActivityTestRule = new ActivityTestRule<SignUp>(SignUp.class);
private SignUp mActivity = null;
private TextView text;
@Before
public void signUp() throws Exception{
}
@Test
@UiThreadTest
public void checkSignUp() throws Exception{
}
}