I have 3 Classes which are as follows:
MovieDbHelper.java extends SQLiteOpenHelper
MovieContract.java inside there are 6 inner Classes each represend SQLite Table and
TestDB.java For testing Database
Now, While running Test Case out of 5 test case 4 passes but the last one Failed on TestDB.java
assertTrue("Error: The database doesn't contain all of the required movie entry columns",
movieColumnHashSet.isEmpty());
I tried debugging, checking all the columns in the table MovieEntry
for current test case on MovieDbHelper.java and MovieContract.java
More Detail info got While debugging:
i think the problem is with c.getColumnNames()
. Did i miss something?
Aucun commentaire:
Enregistrer un commentaire