Source:
public void testAll ( ) throws java.lang.Exception { assertEquals ( ( "formatstrings.xml:5: Warning: Formatting string \'missing\' is not referencing numbered arguments [1, 2]\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( "pkg/StringFormatActivity.java:13: Error: Wrong argument type for formatting argument \'#1\' in hello: conversion is \'d\', received String\n" + "=> values-es/formatstrings.xml:3: Conflicting argument declaration here\n" ) + "pkg/StringFormatActivity.java:15: Error: Wrong argument count, format string hello2 requires 3 but format call supplies 2\n" ) + "=> values-es/formatstrings.xml:4: This definition requires 3 arguments\n" ) + "pkg/StringFormatActivity.java:24: Error: Wrong argument count, format string hello2 requires 3 but format call supplies 2\n" ) + "=> values-es/formatstrings.xml:4: This definition requires 3 arguments\n" ) + "pkg/StringFormatActivity.java:25: Error: Wrong argument count, format string hello2 requires 3 but format call supplies 2\n" ) + "=> values-es/formatstrings.xml:4: This definition requires 3 arguments\n" ) + "pkg/StringFormatActivity.java:26: Error: Wrong argument count, format string hello2 requires 3 but format call supplies 2\n" ) + "=> values-es/formatstrings.xml:4: This definition requires 3 arguments\n" ) + "values-es/formatstrings.xml:3: Error: Inconsistent formatting types for argument #1 in format string hello (\'%1$d\'): Found both \'s\' and \'d\' (in values/formatstrings.xml)\n" ) + "=> values/formatstrings.xml:3: Conflicting argument type here\n" ) + "values-es/formatstrings.xml:4: Warning: Inconsistent number of arguments in formatting string hello2; found both 2 and 3\n" ) + "=> values/formatstrings.xml:4: Conflicting number of arguments here" ) ) , lintProject ( "res/values/formatstrings.xml" , "res/values-es/formatstrings.xml" , "src/test/pkg/StringFormatActivity.java.txt=>src/test/pkg/StringFormatActivity.java" ) ) ; }

Target:
public void testAll ( ) throws java.lang.Exception { assertEquals ( ( "formatstrings.xml:5: Warning: Formatting string \'missing\' is not referencing numbered arguments [1, 2]\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "pkg/StringFormatActivity.java:13: Error: Wrong argument type for formatting argument \'#1\' in hello: conversion is \'d\', received String\n" + "=> values-es/formatstrings.xml:3: Conflicting argument declaration here\n" ) + "pkg/StringFormatActivity.java:15: Error: Wrong argument count, format string hello2 requires 3 but format call supplies 2\n" ) + "=> values-es/formatstrings.xml:4: This definition requires 3 arguments\n" ) + "pkg/StringFormatActivity.java:24: Error: Wrong argument count, format string hello2 requires 3 but format call supplies 2\n" ) + "=> values-es/formatstrings.xml:4: This definition requires 3 arguments\n" ) + "pkg/StringFormatActivity.java:25: Error: Wrong argument count, format string hello2 requires 3 but format call supplies 2\n" ) + "=> values-es/formatstrings.xml:4: This definition requires 3 arguments\n" ) + "pkg/StringFormatActivity.java:26: Error: Wrong argument count, format string hello2 requires 3 but format call supplies 2\n" ) + "=> values-es/formatstrings.xml:4: This definition requires 3 arguments\n" ) + "pkg/StringFormatActivity.java:33: Error: Wrong argument type for formatting argument \'#1\' in hello: conversion is \'d\', received String\n" ) + "=> values-es/formatstrings.xml:3: Conflicting argument declaration here\n" ) + "values-es/formatstrings.xml:3: Error: Inconsistent formatting types for argument #1 in format string hello (\'%1$d\'): Found both \'s\' and \'d\' (in values/formatstrings.xml)\n" ) + "=> values/formatstrings.xml:3: Conflicting argument type here\n" ) + "values-es/formatstrings.xml:4: Warning: Inconsistent number of arguments in formatting string hello2; found both 2 and 3\n" ) + "=> values/formatstrings.xml:4: Conflicting number of arguments here" ) ) , lintProject ( "res/values/formatstrings.xml" , "res/values-es/formatstrings.xml" , "src/test/pkg/StringFormatActivity.java.txt=>src/test/pkg/StringFormatActivity.java" ) ) ; }