mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-28 00:48:50 +00:00 
			
		
		
		
	Check that tests are working with the right account by commenting teardown
This commit is contained in:
		
							parent
							
								
									800b04d520
								
							
						
					
					
						commit
						9fabc88ca6
					
				| @ -126,7 +126,7 @@ public class CreateFolderTest extends ActivityInstrumentationTestCase2<TestActiv | ||||
| 
 | ||||
| 	@Override | ||||
| 	protected void tearDown() throws Exception { | ||||
| 		Iterator<String> it = mCreatedFolderPaths.iterator(); | ||||
| 		/*Iterator<String> it = mCreatedFolderPaths.iterator(); | ||||
| 		RemoteOperationResult removeResult = null; | ||||
| 		while (it.hasNext()) { | ||||
| 			removeResult = mActivity.removeFile(it.next()); | ||||
| @ -134,6 +134,7 @@ public class CreateFolderTest extends ActivityInstrumentationTestCase2<TestActiv | ||||
| 				Utils.logAndThrow(LOG_TAG, removeResult); | ||||
| 			} | ||||
| 		} | ||||
| 		*/ | ||||
| 		super.tearDown(); | ||||
| 	} | ||||
| 	 | ||||
|  | ||||
| @ -115,12 +115,12 @@ public class UploadFileTest extends ActivityInstrumentationTestCase2<TestActivit | ||||
| 
 | ||||
| 	@Override | ||||
| 	protected void tearDown() throws Exception { | ||||
| 		if (mUploadedFilePath != null) { | ||||
| 		/*if (mUploadedFilePath != null) { | ||||
| 			RemoteOperationResult removeResult = mActivity.removeFile(mUploadedFilePath); | ||||
| 			if (!removeResult.isSuccess()) { | ||||
| 				Utils.logAndThrow(LOG_TAG, removeResult); | ||||
| 			} | ||||
| 		} | ||||
| 		}*/ | ||||
| 		super.tearDown(); | ||||
| 	} | ||||
| 	 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user