Updated test files

This commit is contained in:
Batuhan Berk Başoğlu 2018-10-31 13:31:46 -04:00
parent ec69678da4
commit aa0fa2a4ba
3 changed files with 27 additions and 4 deletions

View file

@ -1,11 +1,9 @@
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;
@ -17,9 +15,7 @@ public class LogInTest {
private LogIn mActivity = null;
private TextView text;
@Test
@UiThreadTest
public void signInInvalid() throws Exception{
}

View file

@ -1,4 +1,27 @@
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

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