23 lines
		
	
	
		
			752 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			752 B
		
	
	
	
		
			Plaintext
		
	
	
	
| To run all instrumentation tests:
 | |
| $ runtest managed-provisioning
 | |
| 
 | |
| To run all instrumentation tests in a specific class:
 | |
| $ runtest --path src/com/android/managedprovisioning/<class>.java
 | |
| 
 | |
| To run a specific instrumentation test:
 | |
| $ runtest -c com.android.managedprovisioning.<class> -m <method> managed-provisioning
 | |
| 
 | |
| To obtain a test coverage report for instrumentation tests:
 | |
| $ packages/apps/ManagedProvisioning/tools/bash/coverage.sh
 | |
| 
 | |
| More general information can be found at "runtest -h" and
 | |
| http://developer.android.com/reference/android/test/InstrumentationTestRunner.html
 | |
| 
 | |
| To run all robolectric tests:
 | |
| make RunManagedProvisioningRoboTests
 | |
| 
 | |
| To run a specific robolectric class:
 | |
| make RunManagedProvisioningRoboTests ROBOLECTRIC_FILTER=<class name>
 | |
| 
 | |
| 
 |