#NEWLINE# def test_extracts_correct_info_from_resource( self ) : #NEWLINE# #INDENT# issues = clean_app . parse_lint_result ( './test/android_app/lint-result.xml' , './test/android_app/AndroidManifest.xml' ) #NEWLINE# not_remove_entire_file = list ( filter ( ( lambda issue : ( not issue . remove_file ) ) , issues ) ) #NEWLINE# actual = list ( filter ( ( lambda issue : ( os . path . normpath ( issue . filepath ) == os . path . normpath ( 'res/values/strings.xml' ) ) ) , actual ) ) [ 0 ] #NEWLINE# self . assertGreater ( len ( actual . elements ) , 0 ) #NEWLINE# self . assertEqual ( ( 'string' , 'missing' ) , actual . elements [ 0 ] )