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