Closed GoogleCodeExporter closed 9 years ago
Here's the detail errors when running all tests in the package
Test run failed: Unable to start activity
ComponentInfo{com.busstopalarm/com.busstopalarm.ConfirmationPage}:
java.lang.NullPointerException
Original comment by QUANGHUY...@gmail.com
on 4 Mar 2010 at 1:08
fixed the BusDbAdapterTest.java
Issue: from now on, for every test about DB, need to open() the Db before using
and
close() after finish.
Also, in order to make the tests of importing DB entries from text files more
dynamically, I changed the structure for those relevant tests to compare
directly
between Db values and text file value.
Original comment by QUANGHUY...@gmail.com
on 9 Mar 2010 at 11:21
Original comment by QUANGHUY...@gmail.com
on 9 Mar 2010 at 11:22
Update issue:
What steps will reproduce the problem?
1. Run BusDbAdapterTest.java only (the version 186, 187 only adds new files)
What is the expected output? What do you see instead?
expected: all tests passed.
instead: all tests are failed due to the error: "Db is not open".
Original comment by QUANGHUY...@gmail.com
on 11 Mar 2010 at 10:11
Original issue reported on code.google.com by
QUANGHUY...@gmail.com
on 3 Mar 2010 at 4:21