File tree Expand file tree Collapse file tree
model-view-presenter/src/test/java/com/iluwatar/model/view/presenter Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ package com .iluwatar .model .view .presenter ;
2+
3+ import org .junit .Test ;
4+
5+ /**
6+ *
7+ * Application test
8+ *
9+ */
10+ public class AppTest {
11+
12+ @ Test
13+ public void test () {
14+ String [] args = {};
15+ App .main (args );
16+ }
17+
18+ }
Original file line number Diff line number Diff line change 1+ package com .iluwatar .model .view .presenter ;
2+
3+ import org .junit .Test ;
4+
5+ import java .io .FileNotFoundException ;
6+ import java .io .IOException ;
7+
8+ import static org .junit .Assert .*;
9+
10+ /**
11+ * Date: 12/21/15 - 12:12 PM
12+ *
13+ * @author Jeroen Meulemeester
14+ */
15+ public class FileLoaderTest {
16+
17+ @ Test
18+ public void testLoadData () throws Exception {
19+ final FileLoader fileLoader = new FileLoader ();
20+ fileLoader .setFileName ("non-existing-file" );
21+ assertNull (fileLoader .loadData ());
22+ }
23+
24+ }
You can’t perform that action at this time.
0 commit comments