METHOD_0 ( ) { org . apache . hadoop . yarn . util . resource . IDENT_0 . METHOD_1 ( ) ; java . lang . String IDENT_1 = STRING_0 ; java . io . File source = new java . io . File ( conf . METHOD_2 ( ) . getResource ( IDENT_1 ) . METHOD_3 ( ) ) ; IDENT_2 = new java . io . File ( source . METHOD_4 ( ) , STRING_1 ) ; org . apache . commons . io . IDENT_3 . METHOD_5 ( source , IDENT_2 ) ; org . apache . hadoop . yarn . server . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 IDENT_8 = ( ( org . apache . hadoop . yarn . server . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 ) ( org . apache . hadoop . yarn . server . IDENT_4 . IDENT_5 . IDENT_6 . TestUtils . METHOD_6 ( conf ) ) ) ; IDENT_8 . METHOD_7 ( IDENT_7 . IDENT_9 , org . apache . hadoop . yarn . util . resource . IDENT_10 . class , org . apache . hadoop . yarn . util . resource . IDENT_11 . class ) ; IDENT_8 . set ( ( ( org . apache . hadoop . yarn . server . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 . METHOD_8 ( STRING_2 ) ) + ( org . apache . hadoop . yarn . server . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_12 ) ) , STRING_3 ) ; IDENT_8 . METHOD_9 ( IDENT_13 . IDENT_14 , false ) ; org . apache . hadoop . yarn . server . IDENT_4 . IDENT_15 IDENT_16 = new org . apache . hadoop . yarn . server . IDENT_4 . METHOD_10 ( IDENT_8 ) ; IDENT_16 . start ( ) ; java . lang . String IDENT_17 = STRING_4 ; org . apache . hadoop . yarn . api . records . IDENT_18 IDENT_19 = org . apache . hadoop . yarn . util . resource . IDENT_20 . METHOD_11 ( ( 4 * ( g ) ) , 4 ) ; IDENT_19 . METHOD_12 ( IDENT_17 , 10 ) ; org . apache . hadoop . yarn . server . IDENT_4 . IDENT_21 IDENT_22 = IDENT_16 . METHOD_13 ( STRING_5 , IDENT_19 ) ; org . apache . hadoop . yarn . api . records . IDENT_18 IDENT_23 = org . apache . hadoop . yarn . util . resource . IDENT_20 . METHOD_11 ( ( 1 * ( g ) ) , 1 ) ; IDENT_23 . METHOD_12 ( IDENT_17 , 1 ) ; org . apache . hadoop . yarn . server . IDENT_4 . IDENT_24 . IDENT_25 IDENT_26 = IDENT_16 . METHOD_14 ( IDENT_23 , STRING_6 , STRING_7 , null , "a" ) ; org . apache . hadoop . yarn . server . IDENT_4 . IDENT_27 IDENT_28 = org . apache . hadoop . yarn . server . IDENT_4 . METHOD_10 . METHOD_15 ( IDENT_26 , IDENT_16 , IDENT_22 ) ; org . apache . hadoop . yarn . api . records . IDENT_18 IDENT_29 = org . apache . hadoop . yarn . util . resource . IDENT_20 . METHOD_11 ( ( 1 * ( g ) ) , 1 ) ; IDENT_23 . METHOD_12 ( IDENT_17 , 1 ) ; IDENT_28 . METHOD_16 ( STRING_8 , IDENT_29 , 2 , new java . util . ArrayList < org . apache . hadoop . yarn . api . records . IDENT_30 > ( ) , null ) ; org . apache . hadoop . yarn . server . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_31 cs = ( ( org . apache . hadoop . yarn . server . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_31 ) ( IDENT_16 . METHOD_17 ( ) ) ) ; org . apache . hadoop . yarn . server . IDENT_4 . IDENT_32 . IDENT_33 IDENT_34 = IDENT_16 . METHOD_18 ( ) . METHOD_19 ( ) . get ( IDENT_22 . METHOD_20 ( ) ) ; org . apache . hadoop . yarn . server . IDENT_4 . IDENT_5 . common . IDENT_35 . IDENT_36 IDENT_37 = cs . METHOD_21 ( IDENT_28 . METHOD_22 ( ) ) ; cs . METHOD_23 ( new org . apache . hadoop . yarn . server . IDENT_4 . IDENT_5 . event . METHOD_24 ( IDENT_34 ) ) ; IDENT_16 . METHOD_25 ( ) ; "<AssertPlaceHolder>" ; IDENT_16 . close ( ) ; } METHOD_26 ( ) { IDENT_38 . METHOD_27 ( ) ; try { return new java . util . ArrayList ( IDENT_39 . values ( ) ) ; } finally { IDENT_38 . METHOD_28 ( ) ; } }
org . junit . Assert . assertEquals ( 2 , IDENT_37 . METHOD_26 ( ) . size ( ) )