34 lines
555 B
Java
Raw Normal View History

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;
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 {
@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
}