Running unit tests with Robolectric instead of starting up emulator every time

This commit is contained in:
Mary Tran 2018-10-08 16:25:15 -04:00
parent 0762919f74
commit 5587abae8b
3 changed files with 29 additions and 10 deletions

View file

@ -6,6 +6,13 @@ import android.database.sqlite.SQLiteOpenHelper;
import android.database.Cursor;
import android.content.ContentValues;
/**
* The class DBHelper allows the Android application to access and perform
* CRUD operations on the tables of the SQLite database.
* There is currently a table of all users' login information.
*
* To use, create an object of this class with the current activity as context.
*/
public class DBHelper extends SQLiteOpenHelper {