METHOD_0 ( ) { com . facebook . buck . IDENT_0 . integration . IDENT_1 IDENT_2 = com . facebook . buck . IDENT_0 . integration . IDENT_3 . METHOD_1 ( this , STRING_0 , IDENT_4 ) ; IDENT_2 . METHOD_2 ( ) ; com . google . common . collect . ImmutableList < java . lang . String > IDENT_5 = com . google . common . collect . ImmutableList . of ( STRING_1 , STRING_2 0 , STRING_3 ) ; com . facebook . buck . core . model . IDENT_6 target = com . facebook . buck . core . model . IDENT_7 . newInstance ( STRING_4 ) ; com . facebook . buck . core . rules . IDENT_8 IDENT_9 = new com . facebook . buck . core . rules . resolver . impl . METHOD_3 ( ) ; com . facebook . buck . core . rules . IDENT_10 IDENT_11 = new com . facebook . buck . core . rules . METHOD_4 ( IDENT_9 ) ; com . facebook . buck . io . IDENT_12 . IDENT_13 IDENT_14 = com . facebook . buck . io . IDENT_12 . IDENT_15 . METHOD_5 ( IDENT_4 . METHOD_6 ( ) ) ; com . facebook . buck . core . model . IDENT_6 IDENT_16 = com . facebook . buck . core . model . IDENT_7 . newInstance ( STRING_5 ) ; com . facebook . buck . IDENT_17 . IDENT_18 test = new com . facebook . buck . IDENT_17 . METHOD_7 ( IDENT_16 , new com . facebook . buck . io . IDENT_12 . impl . METHOD_8 ( ) , IDENT_11 , com . facebook . buck . core . IDENT_19 . IDENT_20 . get ( IDENT_14 ) , IDENT_21 . IDENT_22 . METHOD_9 ( ) . resolve ( IDENT_9 , IDENT_23 . INSTANCE ) , java . nio . file . IDENT_24 . get ( STRING_6 ) , com . google . common . collect . ImmutableMap . of ( ) , com . google . common . collect . ImmutableList . of ( ) , java . util . Optional . empty ( ) , java . util . Optional . empty ( ) , true , false , false ) , new com . facebook . buck . core . IDENT_25 . IDENT_26 . impl . IDENT_27 . Builder ( ) . METHOD_10 ( com . facebook . buck . rules . args . IDENT_28 . of ( "" ) ) . build ( ) , com . google . common . collect . ImmutableMap . of ( ) , com . google . common . collect . ImmutableList . of ( ) , com . google . common . collect . IDENT_29 . of ( ) , com . google . common . collect . IDENT_30 . of ( ) , ( IDENT_31 ) -> com . google . common . collect . IDENT_29 . of ( ) , com . google . common . collect . IDENT_30 . of ( ) , com . google . common . collect . IDENT_30 . of ( ) , false , java . util . Optional . empty ( ) ) ; for ( java . lang . String IDENT_32 : IDENT_5 ) { java . nio . file . Path IDENT_33 = java . nio . file . IDENT_24 . get ( STRING_2 ) ; java . nio . file . Path output = IDENT_2 . resolve ( java . nio . file . IDENT_24 . get ( IDENT_32 ) ) . resolve ( STRING_6 ) ; java . nio . file . Path results = IDENT_2 . resolve ( java . nio . file . IDENT_24 . get ( IDENT_32 ) ) . resolve ( STRING_7 ) ; java . nio . file . Path IDENT_34 = IDENT_2 . resolve ( java . nio . file . IDENT_24 . get ( IDENT_32 ) ) . resolve ( STRING_8 ) ; java . util . List < com . facebook . buck . test . IDENT_35 > IDENT_36 = com . facebook . buck . util . json . IDENT_37 . METHOD_11 ( IDENT_34 , com . facebook . buck . IDENT_17 . IDENT_38 . IDENT_39 ) ; com . google . common . collect . ImmutableList < com . facebook . buck . test . IDENT_35 > IDENT_40 = test . METHOD_12 ( IDENT_33 , output , results ) ; "<AssertPlaceHolder>" ; } } METHOD_12 ( java . nio . file . Path , java . nio . file . Path , java . nio . file . Path ) { java . util . Optional < java . lang . String > IDENT_41 = METHOD_13 ( METHOD_14 ( ) . resolve ( IDENT_33 ) ) ; if ( IDENT_41 . METHOD_15 ( ) ) { return com . google . common . collect . ImmutableList . of ( METHOD_16 ( IDENT_41 . get ( ) , METHOD_14 ( ) . METHOD_17 ( output ) . METHOD_18 ( "" ) ) ) ; } org . w3c . dom . Document doc ; try { doc = com . facebook . buck . util . xml . IDENT_42 . parse ( METHOD_14 ( ) . resolve ( results ) ) ; } catch ( org . xml . IDENT_43 . IDENT_44 e ) { return com . google . common . collect . ImmutableList . of ( METHOD_16 ( STRING_9 , METHOD_14 ( ) . METHOD_17 ( output ) . METHOD_18 ( "" ) ) ) ; } com . google . common . collect . ImmutableList . Builder < com . facebook . buck . test . IDENT_35 > IDENT_45 = com . google . common . collect . ImmutableList . builder ( ) ; java . util . Optional < java . lang . String > IDENT_46 = java . util . Optional . empty ( ) ; java . util . Map < java . lang . String , com . facebook . buck . util . IDENT_47 > IDENT_48 = new java . util . HashMap ( ) ; java . nio . IDENT_49 . IDENT_50 IDENT_51 = IDENT_52 . UTF_8 . METHOD_19 ( ) ; IDENT_51 . METHOD_20 ( IDENT_53 . IDENT_54 ) ; try ( java . io . InputStream input = METHOD_14 ( ) . METHOD_21 ( output ) ; java . io . IDENT_55 reader = new java . io . METHOD_22 ( new java . io . METHOD_23 ( input , IDENT_51 ) ) ) { java . lang . String line ; while ( ( line = reader . METHOD_24 ( ) ) != null ) { java . util . regex . IDENT_56 matcher ; if ( ( matcher = com . facebook . buck . IDENT_17 . IDENT_57 . IDENT_58 . matcher ( line . trim ( ) ) ) . matches ( ) ) { java . lang . String test = matcher . group ( 1 ) ; IDENT_46 = java . util . Optional . of ( test ) ; IDENT_48 . put ( test , new com . facebook . buck . util . METHOD_25 ( com . google . common . base . IDENT_52 . UTF_8 , IDENT_59 ) ) ; } else if ( com . facebook . buck . IDENT_17 . IDENT_57 . IDENT_60 . matcher ( line . trim ( ) ) . matches ( ) ) { IDENT_46 = java . util . Optional . empty ( ) ; } else if ( IDENT_46 . METHOD_15 ( ) ) { java . util . IDENT_61 . METHOD_26 ( IDENT_48 . get ( IDENT_46 . get ( ) ) ) . append ( line ) ; } } } org . w3c . dom . IDENT_62 IDENT_63 = doc . METHOD_27 ( STRING_10 ) ; for ( int index = 0 ; index < ( IDENT_63 . METHOD_28 ( ) ) ; index ++ ) { org . w3c . dom . Node IDENT_64 = IDENT_63 . item ( index ) ; org . w3c . dom . IDENT_65 attributes = IDENT_64 . METHOD_29 ( ) ; java . lang . String IDENT_66 = attributes . METHOD_30 ( STRING_11 ) . METHOD_31 ( ) ; java . lang . String IDENT_67 = attributes . METHOD_30 ( "name" ) . METHOD_31 ( ) ; java . lang . String IDENT_68 = java . lang . String . format ( STRING_12 , IDENT_66 , IDENT_67 ) ; java . lang . Double time = ( java . lang . Double . METHOD_32 ( attributes . METHOD_30 ( STRING_13 ) . METHOD_31 ( ) ) ) * 1000 ; com . facebook . buck . test . result . type . IDENT_69 type = com . facebook . buck . test . result . type . IDENT_69 . IDENT_70 ; java . lang . String message = "" ; if ( ( IDENT_64 . METHOD_33 ( ) . METHOD_28 ( ) ) > 0 ) { org . w3c . dom . Node IDENT_71 = IDENT_64 . METHOD_33 ( ) . item ( 1 ) ; type = com . facebook . buck . test . result . type . IDENT_69 . IDENT_72 ; message = IDENT_71 . METHOD_29 ( ) . METHOD_30 ( STRING_14 ) . METHOD_31 ( ) ; } else if ( attributes . METHOD_30 ( STRING_15 ) . METHOD_31 ( ) . equals ( com . facebook . buck . IDENT_17 . IDENT_57 . IDENT_73 ) ) { type = com . facebook . buck . test . result . type . IDENT_69 . IDENT_74 ; message = STRING_16 ; } java . lang . String IDENT_75 = "" ; if ( IDENT_48 . containsKey ( IDENT_68 ) ) { IDENT_75 = com . google . common . base . IDENT_76 . METHOD_34 ( java . lang . System . METHOD_35 ( ) ) . join ( IDENT_48 . get ( IDENT_68 ) . METHOD_36 ( ) ) ; } IDENT_45 . add ( new com . facebook . buck . test . METHOD_37 ( IDENT_66 , IDENT_67 , type , time . METHOD_38 ( ) , message , "" , IDENT_75 , "" ) ) ; } return IDENT_45 . build ( ) ; }
org . junit . Assert . assertEquals ( IDENT_32 , IDENT_36 , IDENT_40 )