@Ignore test that covers when 1000 apps are installed on the device
This commit is contained in:
		
							parent
							
								
									36cb4e8a4c
								
							
						
					
					
						commit
						611974ecbf
					
				@ -12,6 +12,7 @@ import org.fdroid.fdroid.data.Schema.AppMetadataTable.Cols;
 | 
			
		||||
import org.junit.After;
 | 
			
		||||
import org.junit.Before;
 | 
			
		||||
import org.junit.BeforeClass;
 | 
			
		||||
import org.junit.Ignore;
 | 
			
		||||
import org.junit.Test;
 | 
			
		||||
import org.junit.runner.RunWith;
 | 
			
		||||
import org.robolectric.RobolectricTestRunner;
 | 
			
		||||
@ -63,6 +64,7 @@ public class AppProviderTest extends FDroidProviderTest {
 | 
			
		||||
     * the {@link AppProvider} used to stumble across this bug when asking for installed apps,
 | 
			
		||||
     * and the device had over 1000 apps installed.
 | 
			
		||||
     */
 | 
			
		||||
    @Ignore("takes a long time and covers a rare situation (over 1000 apps installed)")
 | 
			
		||||
    @Test
 | 
			
		||||
    public void testMaxSqliteParams() {
 | 
			
		||||
        insertApp("com.example.app1", "App 1");
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user