Updated test files
This commit is contained in:
		
							parent
							
								
									518f765d8e
								
							
						
					
					
						commit
						e18b97a1a9
					
				
					 3 changed files with 27 additions and 4 deletions
				
			
		| 
						 | 
					@ -1,11 +1,9 @@
 | 
				
			||||||
package com.uottawa.olympus.olympusservices;
 | 
					package com.uottawa.olympus.olympusservices;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import android.support.test.annotation.UiThreadTest;
 | 
					 | 
				
			||||||
import android.support.test.rule.ActivityTestRule;
 | 
					import android.support.test.rule.ActivityTestRule;
 | 
				
			||||||
import android.support.test.runner.AndroidJUnit4;
 | 
					import android.support.test.runner.AndroidJUnit4;
 | 
				
			||||||
import android.widget.TextView;
 | 
					import android.widget.TextView;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import org.junit.Before;
 | 
					 | 
				
			||||||
import org.junit.Rule;
 | 
					import org.junit.Rule;
 | 
				
			||||||
import org.junit.Test;
 | 
					import org.junit.Test;
 | 
				
			||||||
import org.junit.runner.RunWith;
 | 
					import org.junit.runner.RunWith;
 | 
				
			||||||
| 
						 | 
					@ -17,9 +15,7 @@ public class LogInTest {
 | 
				
			||||||
    private LogIn mActivity = null;
 | 
					    private LogIn mActivity = null;
 | 
				
			||||||
    private TextView text;
 | 
					    private TextView text;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Test
 | 
					    @Test
 | 
				
			||||||
    @UiThreadTest
 | 
					 | 
				
			||||||
    public void signInInvalid() throws Exception{
 | 
					    public void signInInvalid() throws Exception{
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,27 @@
 | 
				
			||||||
package com.uottawa.olympus.olympusservices;
 | 
					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 {
 | 
					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{
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,4 @@
 | 
				
			||||||
 | 
					package com.uottawa.olympus.olympusservices;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					public class ServiceTest2 {
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue