181: Fix test data for android lint based tests

This commit is contained in:
Vyacheslav Gerasimov
2017-10-23 18:03:24 +03:00
committed by Nikolay Krasko
parent 585348c590
commit ae338566c2
109 changed files with 2822 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
// INSPECTION_CLASS: com.android.tools.idea.lint.AndroidLintSQLiteStringInspection
import android.database.sqlite.SQLiteDatabase
fun test(db: SQLiteDatabase) {
<warning descr="Using column type STRING; did you mean to use TEXT? (STRING is a numeric type and its value can be adjusted; for example, strings that look like integers can drop leading zeroes. See issue explanation for details.)">db.execSQL("CREATE TABLE COMPANY(NAME STRING)")</warning>
}