summaryrefslogtreecommitdiff
path: root/android/testData/lint
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2014-02-25 15:02:51 -0700
committerTor Norbye <tnorbye@google.com>2014-02-25 15:02:51 -0700
commita847b166318b07796c00dd6213bab7a974a77328 (patch)
tree709b2d39df62743ed4ee239674e348a6e7d3089e /android/testData/lint
parent451e92f2bf71de38e0d25157be4080377e563036 (diff)
downloadidea-a847b166318b07796c00dd6213bab7a974a77328.tar.gz
Register new NFC lint check, and update lint unit test
The severity of the wrong id detector increased from warning to error recently, so update the unit test. Also register the recently added NFC detector in lint as an IntelliJ inspection. Change-Id: If938ac9a0ea204657803c50948ffcaa0d199063a
Diffstat (limited to 'android/testData/lint')
-rw-r--r--android/testData/lint/duplicatedIds.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/testData/lint/duplicatedIds.xml b/android/testData/lint/duplicatedIds.xml
index 9da23d4df6a..0f4f0ddd61b 100644
--- a/android/testData/lint/duplicatedIds.xml
+++ b/android/testData/lint/duplicatedIds.xml
@@ -6,12 +6,12 @@
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- <warning descr="Duplicate id @+id/id123, already defined earlier in this layout (@+id/id123 originally defined here)">android:id="@+id/id123"</warning>
+ <error descr="Duplicate id @+id/id123, already defined earlier in this layout (@+id/id123 originally defined here)">android:id="@+id/id123"</error>
/>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- <warning descr="Duplicate id @+id/id123, already defined earlier in this layout">android:id="@+id/id123"</warning>
+ <error descr="Duplicate id @+id/id123, already defined earlier in this layout">android:id="@+id/id123"</error>
/>
</LinearLayout>