Source:
public void testMultiIntentWithError ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( "AndroidManifest.xml:21: Error: android:host missing [AppIndexingError]\n" + " <data android:scheme=\"http\"\n" ) + " ^\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( xml ( "AndroidManifest.xml" , ( "" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " package=\"com.example.helloworld\" >\n" ) + "\n" ) + " <application\n" ) + " android:allowBackup=\"true\"\n" ) + " android:icon=\"@mipmap/ic_launcher\"\n" ) + " android:label=\"@string/app_name\"\n" ) + " android:theme=\"@style/AppTheme\" >\n" ) + " <activity\n" ) + " android:name=\".FullscreenActivity\"\n" ) + " android:configChanges=\"orientation|keyboardHidden|screenSize\"\n" ) + " android:label=\"@string/title_activity_fullscreen\"\n" ) + " android:theme=\"@style/FullscreenTheme\" >\n" ) + " <intent-filter>\n" ) + " <action android:name=\"android.intent.action.MAIN\" />\n" ) + " <category android:name=\"android.intent.category.LAUNCHER\" />\n" ) + " </intent-filter>" ) + " <intent-filter android:label=\"@string/title_activity_fullscreen\">\n" ) + " <action android:name=\"android.intent.action.VIEW\" />\n" ) + " <!-- Accepts URIs that begin with \"http://example.com/gizmos” -->\n" ) + " <data android:scheme=\"http\"\n" ) + " android:pathPrefix=\"/gizmos\" />\n" ) + " <category android:name=\"android.intent.category.DEFAULT\" />\n" ) + " <category android:name=\"android.intent.category.BROWSABLE\" />\n" ) + " </intent-filter>\n" ) + " </activity>\n" ) + " </application>\n" ) + "\n" ) + "</manifest>\n" ) ) ) ) ) ; }

Target:
public void testMultiIntentWithError ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( "AndroidManifest.xml:20: Error: android:host missing [AppIndexingError]\n" + " <data android:scheme=\"http\"\n" ) + " ^\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( xml ( "AndroidManifest.xml" , ( "" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " package=\"com.example.helloworld\" >\n" ) + "\n" ) + " <application\n" ) + " android:allowBackup=\"true\"\n" ) + " android:icon=\"@mipmap/ic_launcher\"\n" ) + " android:label=\"@string/app_name\"\n" ) + " android:theme=\"@style/AppTheme\" >\n" ) + " <activity\n" ) + " android:name=\".FullscreenActivity\"\n" ) + " android:configChanges=\"orientation|keyboardHidden|screenSize\"\n" ) + " android:label=\"@string/title_activity_fullscreen\"\n" ) + " android:theme=\"@style/FullscreenTheme\" >\n" ) + " <intent-filter>\n" ) + " <action android:name=\"android.intent.action.MAIN\" />\n" ) + " <category android:name=\"android.intent.category.LAUNCHER\" />\n" ) + " </intent-filter>" ) + " <intent-filter android:label=\"@string/title_activity_fullscreen\">\n" ) + " <action android:name=\"android.intent.action.VIEW\" />\n" ) + " <data android:scheme=\"http\"\n" ) + " android:pathPrefix=\"/gizmos\" />\n" ) + " <category android:name=\"android.intent.category.DEFAULT\" />\n" ) + " <category android:name=\"android.intent.category.BROWSABLE\" />\n" ) + " </intent-filter>\n" ) + " </activity>\n" ) + " </application>\n" ) + "\n" ) + "</manifest>\n" ) ) ) ) ) ; }