Added basic JUnit files
This commit is contained in:
parent
674ed9352f
commit
ec69678da4
6 changed files with 65 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
|||
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 LogInTest {
|
||||
@Rule
|
||||
public ActivityTestRule<LogIn> mActivityTestRule = new ActivityTestRule<LogIn>(LogIn.class);
|
||||
private LogIn mActivity = null;
|
||||
private TextView text;
|
||||
|
||||
|
||||
@Test
|
||||
@UiThreadTest
|
||||
public void signInInvalid() throws Exception{
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
package com.uottawa.olympus.olympusservices;
|
||||
|
||||
public class ServiceProviderTest {
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
package com.uottawa.olympus.olympusservices;
|
||||
|
||||
public class ServiceTest {
|
||||
}
|
|
@ -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<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{
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue