Last active
April 27, 2017 07:16
-
-
Save izmajlowiczl/599cdb77eca73bedb79d678ae4c329c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test fun columnsForCategoryTable() { | |
val columns = getTableColumns(database.readableDatabase, "tbl_category") | |
assertThat(columns).containsExactly("uuid", "name", "color") | |
} | |
@Test fun createDefaultCategoriesTable() { | |
assertThat(database.readableDatabase.doesTableExist("tbl_category")).isTrue() | |
} | |
@Test fun createPolishCategoriesTable() { | |
assertThat(database.readableDatabase.doesTableExist("tbl_category_pl")).isTrue() | |
} | |
@Test fun createGermanCategoriesTable() { | |
assertThat(database.readableDatabase.doesTableExist("tbl_category_de")).isTrue() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment