Source:
public void testApi4 ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/deprecation.xml:2: Warning: AbsoluteLayout is deprecated [Deprecated]\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "<AbsoluteLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" + "^\n" ) + "res/layout/deprecation.xml:16: Warning: android:autoText is deprecated: Use inputType instead [Deprecated]\n" ) + " android:autoText=\"true\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:17: Warning: android:capitalize is deprecated: Use inputType instead [Deprecated]\n" ) + " android:capitalize=\"true\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:18: Warning: android:editable is deprecated: Use an <EditText> to make it editable [Deprecated]\n" ) + " android:editable=\"true\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:20: Warning: android:inputMethod is deprecated: Use inputType instead [Deprecated]\n" ) + " android:inputMethod=\"@+id/foo\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:21: Warning: android:numeric is deprecated: Use inputType instead [Deprecated]\n" ) + " android:numeric=\"true\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:22: Warning: android:password is deprecated: Use inputType instead [Deprecated]\n" ) + " android:password=\"true\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:23: Warning: android:phoneNumber is deprecated: Use inputType instead [Deprecated]\n" ) + " android:phoneNumber=\"true\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:26: Warning: android:editable is deprecated: <EditText> is already editable [Deprecated]\n" ) + " <EditText android:editable=\"true\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:27: Warning: android:editable is deprecated: Use inputType instead [Deprecated]\n" ) + " <EditText android:editable=\"false\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 10 warnings\n" ) ) , lintProject ( "apicheck/minsdk4.xml=>AndroidManifest.xml" , "res/layout/deprecation.xml" ) ) ; }

Target:
public void testApi4 ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/deprecation.xml:2: Warning: AbsoluteLayout is deprecated [Deprecated]\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "<AbsoluteLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" + "^\n" ) + "res/layout/deprecation.xml:16: Warning: android:autoText is deprecated: Use inputType instead [Deprecated]\n" ) + " android:autoText=\"true\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:17: Warning: android:capitalize is deprecated: Use inputType instead [Deprecated]\n" ) + " android:capitalize=\"true\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:18: Warning: android:editable is deprecated: Use an <EditText> to make it editable [Deprecated]\n" ) + " android:editable=\"true\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:20: Warning: android:inputMethod is deprecated: Use inputType instead [Deprecated]\n" ) + " android:inputMethod=\"@+id/foo\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:21: Warning: android:numeric is deprecated: Use inputType instead [Deprecated]\n" ) + " android:numeric=\"true\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:22: Warning: android:password is deprecated: Use inputType instead [Deprecated]\n" ) + " android:password=\"true\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:23: Warning: android:phoneNumber is deprecated: Use inputType instead [Deprecated]\n" ) + " android:phoneNumber=\"true\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:24: Warning: android:singleLine is deprecated: Use maxLines=\"1\" instead [Deprecated]\n" ) + " android:singleLine=\"true\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:26: Warning: android:editable is deprecated: <EditText> is already editable [Deprecated]\n" ) + " <EditText android:editable=\"true\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:27: Warning: android:editable is deprecated: Use inputType instead [Deprecated]\n" ) + " <EditText android:editable=\"false\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 11 warnings\n" ) ) , lintProject ( "apicheck/minsdk4.xml=>AndroidManifest.xml" , "res/layout/deprecation.xml" ) ) ; }