LibreTasks icon indicating copy to clipboard operation
LibreTasks copied to clipboard

Pre-populate data test

Open GoogleCodeExporter opened this issue 8 years ago • 3 comments

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 [email protected] on 22 Jul 2009 at 8:13

GoogleCodeExporter avatar Apr 05 '16 23:04 GoogleCodeExporter

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 [email protected] on 15 Jun 2010 at 10:07

GoogleCodeExporter avatar Apr 05 '16 23:04 GoogleCodeExporter

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 [email protected] on 1 Jul 2010 at 11:25

  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

GoogleCodeExporter avatar Apr 05 '16 23:04 GoogleCodeExporter

Original comment by [email protected] on 6 Jul 2010 at 1:42

GoogleCodeExporter avatar Apr 05 '16 23:04 GoogleCodeExporter