public void testStart_NoFiles() { start(); assertTrue("listView.isShown == false", listView.isShown()); assertEquals("count:", 0, listAdapter.getCount()); }
public void testStart_Files() { ds.writeNote("Note 1", "test"); start(); assertTrue("listView.isShown == false", listView.isShown()); assertEquals("count:", 1, listAdapter.getCount()); }
public void start() { notes = getActivity(); listView = notes.getListView(); listAdapter = listView.getAdapter(); }