Delete DownloadEmailAttachmentsTest.java
not required.
This commit is contained in:
		
							parent
							
								
									caf8858307
								
							
						
					
					
						commit
						4b71cf5ccb
					
				| @ -1,25 +0,0 @@ | ||||
| package com.baeldung.downloadAttachments; | ||||
| 
 | ||||
| import static org.junit.Assert.fail; | ||||
| import org.junit.Test; | ||||
| 
 | ||||
| public class DownloadEmailAttachmentsTest { | ||||
|     @Test | ||||
|     public void when_Run_then_downloadAttachments() { | ||||
| 
 | ||||
|         String host = "pop.gmail.com"; | ||||
|         String port = "995"; | ||||
|         String userName = "your_email"; | ||||
|         String password = "your_password"; | ||||
| 
 | ||||
|         String saveDirectory = "valid_folder_path"; | ||||
| 
 | ||||
|         DownloadEmailAttachments receiver = new DownloadEmailAttachments(); | ||||
|         receiver.setSaveDirectory(saveDirectory); | ||||
|         try { | ||||
|             receiver.downloadEmailAttachments(host, port, userName, password); | ||||
|         } catch (Exception ex) { | ||||
|             fail("Exception: " + ex); | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user