Source:
public void testRecycle ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/RecycleTest.java:56: Warning: This TypedArray should be recycled after use with #recycle() [Recycle]\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( " final TypedArray a = getContext().obtainStyledAttributes(attrs,\n" + " ~~~~~~~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:63: Warning: This TypedArray should be recycled after use with #recycle() [Recycle]\n" ) + " final TypedArray a = getContext().obtainStyledAttributes(new int[0]);\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:79: Warning: This VelocityTracker should be recycled after use with #recycle() [Recycle]\n" ) + " VelocityTracker tracker = VelocityTracker.obtain();\n" ) + " ~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:92: Warning: This MotionEvent should be recycled after use with #recycle() [Recycle]\n" ) + " MotionEvent event1 = MotionEvent.obtain(null);\n" ) + " ~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:93: Warning: This MotionEvent should be recycled after use with #recycle() [Recycle]\n" ) + " MotionEvent event2 = MotionEvent.obtainNoHistory(null);\n" ) + " ~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:98: Warning: This MotionEvent should be recycled after use with #recycle() [Recycle]\n" ) + " MotionEvent event2 = MotionEvent.obtainNoHistory(null); // Not recycled\n" ) + " ~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:103: Warning: This MotionEvent should be recycled after use with #recycle() [Recycle]\n" ) + " MotionEvent event1 = MotionEvent.obtain(null); // Not recycled\n" ) + " ~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:129: Warning: This Parcel should be recycled after use with #recycle() [Recycle]\n" ) + " Parcel myparcel = Parcel.obtain();\n" ) + " ~~~~~~\n" ) + "0 errors, 8 warnings\n" ) ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk4.xml=>AndroidManifest.xml" , "project.properties19=>project.properties" , "bytecode/RecycleTest.java.txt=>src/test/pkg/RecycleTest.java" , "bytecode/RecycleTest.class.data=>bin/classes/test/pkg/RecycleTest.class" ) ) ; }

Target:
public void testRecycle ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/RecycleTest.java:56: Warning: This TypedArray should be recycled after use with #recycle() [Recycle]\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( " final TypedArray a = getContext().obtainStyledAttributes(attrs,\n" + " ~~~~~~~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:63: Warning: This TypedArray should be recycled after use with #recycle() [Recycle]\n" ) + " final TypedArray a = getContext().obtainStyledAttributes(new int[0]);\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:79: Warning: This VelocityTracker should be recycled after use with #recycle() [Recycle]\n" ) + " VelocityTracker tracker = VelocityTracker.obtain();\n" ) + " ~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:92: Warning: This MotionEvent should be recycled after use with #recycle() [Recycle]\n" ) + " MotionEvent event1 = MotionEvent.obtain(null);\n" ) + " ~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:93: Warning: This MotionEvent should be recycled after use with #recycle() [Recycle]\n" ) + " MotionEvent event2 = MotionEvent.obtainNoHistory(null);\n" ) + " ~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:98: Warning: This MotionEvent should be recycled after use with #recycle() [Recycle]\n" ) + " MotionEvent event2 = MotionEvent.obtainNoHistory(null); // Not recycled\n" ) + " ~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:103: Warning: This MotionEvent should be recycled after use with #recycle() [Recycle]\n" ) + " MotionEvent event1 = MotionEvent.obtain(null); // Not recycled\n" ) + " ~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:129: Warning: This Parcel should be recycled after use with #recycle() [Recycle]\n" ) + " Parcel myparcel = Parcel.obtain();\n" ) + " ~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:190: Warning: This TypedArray should be recycled after use with #recycle() [Recycle]\n" ) + " final TypedArray a = getContext().obtainStyledAttributes(attrs, // Not recycled\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 9 warnings\n" ) ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk4.xml=>AndroidManifest.xml" , "project.properties19=>project.properties" , "bytecode/RecycleTest.java.txt=>src/test/pkg/RecycleTest.java" , "bytecode/RecycleTest.class.data=>bin/classes/test/pkg/RecycleTest.class" ) ) ; }