You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.
In the TestDb.java Line 70
` // verify that the tables have been created
do {
tableNameHashSet.remove(c.getString(0));
} while( c.moveToNext() );
// if this fails, it means that your database doesn't contain both the location entry
// and weather entry tables
assertTrue("Error: Your database was created without both the location entry and weather entry tables",
tableNameHashSet.isEmpty());`
I was wondering if there was only one table in the database, then the assertTrue would still fail. In that case the error message "both tables are not created" might not be informative, and this----"Error: Your database was created without the location entry table or the weather entry table or both" would be better.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In the TestDb.java Line 70
` // verify that the tables have been created
do {
tableNameHashSet.remove(c.getString(0));
} while( c.moveToNext() );
I was wondering if there was only one table in the database, then the assertTrue would still fail. In that case the error message "both tables are not created" might not be informative, and this----"Error: Your database was created without the location entry table or the weather entry table or both" would be better.
The text was updated successfully, but these errors were encountered: