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