Пример #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();
 }