test_class.file: collect_app/src/test/java/org/odk/collect/android/utilities/SQLiteUtilsTest.java
test_class.identifier: SQLiteUtilsTest
test_case.body: @Test
      public void doesColumnExistTest() {
          String tableName = "testTable";
  
          SQLiteDatabase db = Collect.getInstance().openOrCreateDatabase("testDatabase", MODE_PRIVATE, null);
          db.execSQL("CREATE TABLE " + tableName + " (id integer, column1 text);");
  
          assertTrue(SQLiteUtils.doesColumnExist(db, tableName, "id"));
          assertTrue(SQLiteUtils.doesColumnExist(db, tableName, "column1"));
  
          assertFalse(SQLiteUtils.doesColumnExist(db, tableName, "column2"));
      }
test_case.class_method_signature: SQLiteUtilsTest.doesColumnExistTest()
test_case.full_signature: @Test public void doesColumnExistTest()
test_case.identifier: doesColumnExistTest
test_case.invocations: openOrCreateDatabase getInstance execSQL assertTrue doesColumnExist assertTrue doesColumnExist assertFalse doesColumnExist
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void doesColumnExistTest()
focal_class.file: collect_app/src/main/java/org/odk/collect/android/utilities/SQLiteUtils.java
focal_class.identifier: SQLiteUtils
focal_class.class_method_signature: SQLiteUtils.SQLiteUtils()
focal_class.full_signature: private  SQLiteUtils()
focal_class.identifier: SQLiteUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  SQLiteUtils()
focal_class.class_method_signature: SQLiteUtils.doesColumnExist(SQLiteDatabase db, String tableName, String columnName)
focal_class.full_signature: public static boolean doesColumnExist(SQLiteDatabase db, String tableName, String columnName)
focal_class.identifier: doesColumnExist
focal_class.modifiers: public static
focal_class.parameters: (SQLiteDatabase db, String tableName, String columnName)
focal_class.return: boolean
focal_class.signature: boolean doesColumnExist(SQLiteDatabase db, String tableName, String columnName)
focal_class.class_method_signature: SQLiteUtils.getColumnNames(SQLiteDatabase db, String tableName)
focal_class.full_signature: public static List<String> getColumnNames(SQLiteDatabase db, String tableName)
focal_class.identifier: getColumnNames
focal_class.modifiers: public static
focal_class.parameters: (SQLiteDatabase db, String tableName)
focal_class.return: List<String>
focal_class.signature: List<String> getColumnNames(SQLiteDatabase db, String tableName)
focal_method.body: public static boolean doesColumnExist(SQLiteDatabase db, String tableName, String columnName) {
          return getColumnNames(db, tableName).contains(columnName);
      }
focal_method.class_method_signature: SQLiteUtils.doesColumnExist(SQLiteDatabase db, String tableName, String columnName)
focal_method.full_signature: public static boolean doesColumnExist(SQLiteDatabase db, String tableName, String columnName)
focal_method.identifier: doesColumnExist
focal_method.invocations: contains getColumnNames
focal_method.modifiers: public static
focal_method.parameters: (SQLiteDatabase db, String tableName, String columnName)
focal_method.return: boolean
focal_method.signature: boolean doesColumnExist(SQLiteDatabase db, String tableName, String columnName)