Updated test files
This commit is contained in:
		
							parent
							
								
									ec69678da4
								
							
						
					
					
						commit
						aa0fa2a4ba
					
				
					 3 changed files with 27 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -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{
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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{
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,4 @@
 | 
			
		|||
package com.uottawa.olympus.olympusservices;
 | 
			
		||||
 | 
			
		||||
public class ServiceTest2 {
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue