chokkarg / omnidroid

Automatically exported from code.google.com/p/omnidroid
Apache License 2.0
0 stars 0 forks source link

Pre-populate data test #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This issue is about how to test the pre-populated data in database.

More detail about this:

1. The code to pre-populate data is in
edu.nyu.cs.omnidroid.model.db.DbHelper.populateDefaultData()

2. This method got called by onCreate() callback in
edu.nyu.cs.omnidroid.model.db.DbHelper

Original issue reported on code.google.com by EHo...@gmail.com on 22 Jul 2009 at 8:13

GoogleCodeExporter commented 8 years ago
Maybe what we need is a test class that checks the database structure?  The 
population is now done with edu/nyu/cs/omnidroid/app/model/DbMigration.java 
thanks to Issue71 being resolved.

Original comment by case.and...@gmail.com on 15 Jun 2010 at 10:07

GoogleCodeExporter commented 8 years ago
To help clarify, I think this is probably mainly about making sure the 
appropriate tables and columns have been created by DbMigration.

Original comment by case.and...@gmail.com on 1 Jul 2010 at 11:25

GoogleCodeExporter commented 8 years ago

Original comment by case.and...@gmail.com on 6 Jul 2010 at 1:42