2015-05-31 11:55:18 +03:00
|
|
|
package com.iluwatar.tolerantreader;
|
2015-04-28 22:53:37 +03:00
|
|
|
|
2015-04-29 18:54:33 +03:00
|
|
|
import java.io.File;
|
2015-04-29 18:50:08 +03:00
|
|
|
import java.io.IOException;
|
|
|
|
|
2015-04-29 18:54:33 +03:00
|
|
|
import org.junit.After;
|
|
|
|
import org.junit.Before;
|
2015-04-28 22:53:37 +03:00
|
|
|
import org.junit.Test;
|
|
|
|
|
2015-05-31 11:55:18 +03:00
|
|
|
import com.iluwatar.tolerantreader.App;
|
|
|
|
|
2015-08-21 23:25:22 +03:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Application test
|
|
|
|
*
|
|
|
|
*/
|
2015-04-28 22:53:37 +03:00
|
|
|
public class AppTest {
|
2015-11-01 21:29:13 -05:00
|
|
|
|
|
|
|
@Test
|
|
|
|
public void test() throws ClassNotFoundException, IOException {
|
|
|
|
String[] args = {};
|
|
|
|
App.main(args);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Before
|
|
|
|
@After
|
|
|
|
public void cleanup() {
|
|
|
|
File file1 = new File("fish1.out");
|
|
|
|
file1.delete();
|
|
|
|
File file2 = new File("fish2.out");
|
|
|
|
file2.delete();
|
|
|
|
}
|
2015-04-28 22:53:37 +03:00
|
|
|
}
|