input stringlengths 35 67.8k | output stringlengths 39 1.53k |
|---|---|
METHOD_0 ( ) { java . lang . Exception IDENT_0 = mock ( java . io . IDENT_1 . class ) ; METHOD_1 ( IDENT_0 ) . when ( IDENT_2 . IDENT_3 ) . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_4 . IDENT_5 ) ; org . pentaho . platform . web . http . messages . IDENT_6 IDENT_7 = mock ( org . pentaho . platform . web . http . messages . IDENT_6 . class ) ; doReturn ( IDENT_7 ) . when ( IDENT_2 ) . METHOD_3 ( ) ; java . util . List < org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_10 . IDENT_11 > IDENT_12 = IDENT_2 . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_4 . IDENT_5 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 . IDENT_3 , times ( 1 ) ) . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_4 . IDENT_5 ) ; verify ( IDENT_2 , times ( 1 ) ) . METHOD_3 ( ) ; verify ( IDENT_7 , times ( 1 ) ) . METHOD_4 ( STRING_0 , org . pentaho . platform . web . http . api . resources . IDENT_4 . IDENT_5 ) ; } METHOD_2 ( java . lang . String ) { java . util . List < org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_10 . IDENT_11 > list = null ; java . lang . String path = null ; if ( ( IDENT_13 == null ) || ( IDENT_13 . equals ( IDENT_14 . IDENT_15 ) ) ) { path = org . pentaho . platform . web . http . api . resources . utils . IDENT_14 . IDENT_15 ; } else { if ( ! ( IDENT_13 . startsWith ( IDENT_14 . IDENT_15 ) ) ) { path = METHOD_5 ( IDENT_13 ) ; } } final org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_10 . IDENT_16 file = METHOD_6 ( ) . METHOD_7 ( path ) ; if ( file == null ) { throw new java . io . METHOD_8 ( ) ; } list = METHOD_6 ( ) . METHOD_9 ( file . getId ( ) ) ; if ( list != null ) { boolean IDENT_17 = false ; for ( org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_10 . IDENT_11 value : list ) { if ( value . getKey ( ) . equals ( IDENT_18 . IDENT_19 ) ) { IDENT_17 = true ; break ; } } if ( ! IDENT_17 ) { org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_10 . IDENT_11 IDENT_20 = new org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_10 . METHOD_10 ( org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_18 . IDENT_19 , STRING_1 ) ; list . add ( IDENT_20 ) ; } list . add ( new org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_10 . METHOD_10 ( org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_18 . IDENT_21 , java . lang . String . valueOf ( file . METHOD_11 ( ) ) ) ) ; } return list ; } | org . junit . Assert . assertNull ( IDENT_12 ) |
METHOD_0 ( ) { org . apache . hadoop . hbase . IDENT_0 IDENT_1 = org . apache . hadoop . hbase . client . IDENT_2 . IDENT_3 . METHOD_1 ( STRING_0 ) ; IDENT_1 . METHOD_2 ( org . apache . hadoop . hbase . client . IDENT_2 . IDENT_4 ) ; IDENT_1 . METHOD_3 ( org . apache . hadoop . hbase . client . IDENT_2 . IDENT_5 . class . getName ( ) ) ; try { org . apache . hadoop . hbase . client . IDENT_6 table = org . apache . hadoop . hbase . client . IDENT_2 . IDENT_3 . METHOD_4 ( IDENT_1 , new byte [ ] [ ] { org . apache . hadoop . hbase . client . IDENT_2 . f } , null ) ; org . apache . hadoop . hbase . client . IDENT_7 p = new org . apache . hadoop . hbase . client . METHOD_5 ( org . apache . hadoop . hbase . client . IDENT_2 . row ) ; p . METHOD_6 ( org . apache . hadoop . hbase . client . IDENT_2 . f , org . apache . hadoop . hbase . client . IDENT_2 . row , org . apache . hadoop . hbase . client . IDENT_2 . row ) ; table . put ( p ) ; org . apache . hadoop . hbase . client . IDENT_2 . IDENT_3 . METHOD_7 ( table . getName ( ) ) ; try { java . lang . Thread . sleep ( ( 2 * ( org . apache . hadoop . hbase . client . IDENT_2 . IDENT_8 ) ) ) ; } catch ( java . lang . IDENT_9 IDENT_10 ) { org . apache . hadoop . hbase . client . IDENT_2 . LOG . error ( IDENT_10 . toString ( ) , IDENT_10 ) ; } org . apache . hadoop . hbase . client . IDENT_11 g = new org . apache . hadoop . hbase . client . METHOD_8 ( org . apache . hadoop . hbase . client . IDENT_2 . row ) ; g . METHOD_9 ( IDENT_12 . IDENT_13 ) ; org . apache . hadoop . hbase . client . Result r = table . get ( g ) ; "<AssertPlaceHolder>" ; } finally { org . apache . hadoop . hbase . client . IDENT_2 . IDENT_3 . METHOD_10 ( ) . METHOD_11 ( IDENT_1 . METHOD_12 ( ) ) ; org . apache . hadoop . hbase . client . IDENT_2 . IDENT_3 . METHOD_13 ( IDENT_1 . METHOD_12 ( ) ) ; } } METHOD_14 ( ) { return IDENT_14 ; } | org . junit . Assert . assertTrue ( r . METHOD_14 ( ) ) |
METHOD_0 ( ) { java . lang . Throwable IDENT_0 = mock ( org . pentaho . platform . web . http . api . resources . RuntimeException . class ) ; METHOD_1 ( IDENT_0 ) . when ( IDENT_1 . IDENT_2 ) . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_3 . IDENT_4 , org . pentaho . platform . web . http . api . resources . IDENT_3 . IDENT_5 ) ; java . lang . String msg = STRING_0 ; doReturn ( msg ) . when ( IDENT_0 ) . getMessage ( ) ; javax . ws . rs . core . Response IDENT_6 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_6 ) . when ( IDENT_1 ) . METHOD_3 ( msg ) ; javax . ws . rs . core . Response IDENT_7 = IDENT_1 . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_3 . IDENT_4 , org . pentaho . platform . web . http . api . resources . IDENT_3 . IDENT_5 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_1 . IDENT_2 , times ( 1 ) ) . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_3 . IDENT_4 , org . pentaho . platform . web . http . api . resources . IDENT_3 . IDENT_5 ) ; verify ( IDENT_0 , times ( 1 ) ) . getMessage ( ) ; verify ( IDENT_1 , times ( 1 ) ) . METHOD_3 ( msg ) ; } METHOD_2 ( java . lang . String , java . lang . String ) { org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_10 repository = METHOD_4 ( ) ; org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_11 IDENT_12 = repository . METHOD_5 ( org . pentaho . platform . web . http . api . resources . utils . IDENT_13 . METHOD_6 ( IDENT_14 ) ) ; java . lang . StringBuilder buf = new java . lang . StringBuilder ( IDENT_12 . getPath ( ) . length ( ) ) ; buf . append ( METHOD_7 ( IDENT_12 . getPath ( ) ) ) ; buf . append ( IDENT_11 . IDENT_15 ) ; buf . append ( IDENT_16 ) ; if ( ! ( IDENT_12 . METHOD_8 ( ) ) ) { java . lang . String extension = METHOD_9 ( IDENT_12 . getName ( ) ) ; if ( extension != null ) { buf . append ( extension ) ; } } if ( ( repository . METHOD_5 ( buf . toString ( ) ) ) != null ) { throw new java . lang . IllegalArgumentException ( org . pentaho . platform . IDENT_8 . messages . IDENT_17 . getInstance ( ) . getString ( STRING_1 ) ) ; } repository . METHOD_10 ( IDENT_12 . getId ( ) , buf . toString ( ) , STRING_2 ) ; org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_11 IDENT_18 = repository . METHOD_11 ( IDENT_12 . getId ( ) ) ; if ( IDENT_18 != null ) { if ( ! ( IDENT_18 . METHOD_8 ( ) ) ) { java . util . Map < java . lang . String , java . util . Properties > IDENT_19 = IDENT_18 . METHOD_12 ( ) ; if ( IDENT_19 == null ) { IDENT_19 = new java . util . HashMap < java . lang . String , java . util . Properties > ( ) ; java . util . Properties properties = new java . util . Properties ( ) ; properties . setProperty ( STRING_3 , IDENT_16 ) ; properties . setProperty ( STRING_4 , IDENT_16 ) ; IDENT_19 . put ( STRING_5 , properties ) ; } else { for ( Map . Entry < java . lang . String , java . util . Properties > entry : IDENT_19 . entrySet ( ) ) { java . util . Properties properties = entry . getValue ( ) ; if ( properties . containsKey ( STRING_3 ) ) { properties . setProperty ( STRING_3 , IDENT_16 ) ; } if ( properties . containsKey ( STRING_4 ) ) { properties . setProperty ( STRING_4 , IDENT_16 ) ; } } } org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_11 IDENT_20 = new org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_11 . Builder ( IDENT_18 ) . METHOD_13 ( METHOD_13 ) . name ( IDENT_16 ) . METHOD_14 ( IDENT_16 ) . build ( ) ; repository . METHOD_15 ( IDENT_20 , org . pentaho . platform . web . http . api . resources . utils . IDENT_21 . METHOD_16 ( IDENT_18 ) , STRING_6 ) ; } return true ; } else { return false ; } } | org . junit . Assert . assertEquals ( IDENT_6 , IDENT_7 ) |
METHOD_0 ( ) { java . util . List < org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 > metadata = mock ( java . util . List . class ) ; METHOD_1 ( ) . when ( IDENT_4 . IDENT_5 ) . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_6 . IDENT_7 , metadata ) ; javax . ws . rs . core . Response IDENT_8 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_8 ) . when ( IDENT_4 ) . METHOD_3 ( ) ; javax . ws . rs . core . Response IDENT_9 = IDENT_4 . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_6 . IDENT_7 , metadata ) ; "<AssertPlaceHolder>" ; verify ( IDENT_4 . IDENT_5 , times ( 1 ) ) . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_6 . IDENT_7 , metadata ) ; verify ( IDENT_4 , times ( 1 ) ) . METHOD_3 ( ) ; } METHOD_2 ( java . lang . String , java . util . List ) { org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_10 file = METHOD_4 ( ) . METHOD_5 ( METHOD_6 ( IDENT_11 ) ) ; org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_12 IDENT_13 = METHOD_4 ( ) . METHOD_7 ( file . getId ( ) ) ; boolean IDENT_14 = ( METHOD_8 ( ) . getName ( ) . equals ( IDENT_13 . METHOD_9 ( ) ) ) || ( ( ( METHOD_10 ( ) . METHOD_11 ( IDENT_15 . IDENT_16 ) ) && ( METHOD_10 ( ) . METHOD_11 ( IDENT_17 . IDENT_16 ) ) ) && ( METHOD_10 ( ) . METHOD_11 ( IDENT_18 . IDENT_16 ) ) ) ; if ( ! IDENT_14 ) { if ( IDENT_13 . METHOD_12 ( ) ) { java . util . List < org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_19 > IDENT_20 = METHOD_4 ( ) . METHOD_13 ( file . getId ( ) ) ; IDENT_13 . METHOD_14 ( IDENT_20 , IDENT_13 . METHOD_12 ( ) ) ; } for ( int i = 0 ; i < ( IDENT_13 . METHOD_15 ( ) . size ( ) ) ; i ++ ) { org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_19 IDENT_21 = IDENT_13 . METHOD_15 ( ) . get ( i ) ; if ( IDENT_21 . METHOD_16 ( ) . equals ( METHOD_8 ( ) . getName ( ) ) ) { if ( ( IDENT_21 . METHOD_17 ( ) . contains ( IDENT_22 . IDENT_23 . METHOD_18 ( ) ) ) || ( IDENT_21 . METHOD_17 ( ) . contains ( IDENT_22 . IDENT_24 . METHOD_18 ( ) ) ) ) { IDENT_14 = true ; break ; } } } } if ( IDENT_14 ) { java . util . Map < java . lang . String , java . io . IDENT_25 > IDENT_26 = METHOD_19 ( ) . METHOD_20 ( file . getId ( ) ) ; boolean IDENT_27 = org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_28 . IDENT_29 ; boolean IDENT_30 = org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_28 . IDENT_31 ; IDENT_26 . remove ( IDENT_28 . IDENT_32 ) ; for ( org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 IDENT_33 : metadata ) { java . lang . String key = IDENT_33 . getKey ( ) ; if ( IDENT_28 . IDENT_32 . equalsIgnoreCase ( key ) ) { IDENT_27 = org . apache . commons . lang . IDENT_34 . METHOD_21 ( IDENT_33 . getValue ( ) ) ; continue ; } if ( IDENT_28 . IDENT_35 . equalsIgnoreCase ( key ) ) { IDENT_30 = org . apache . commons . lang . IDENT_34 . METHOD_21 ( IDENT_33 . getValue ( ) ) ; } IDENT_26 . put ( key , IDENT_33 . getValue ( ) ) ; } if ( ! ( file . METHOD_22 ( ) ) ) { METHOD_19 ( ) . METHOD_23 ( file . getId ( ) , IDENT_26 ) ; } if ( ( file . METHOD_24 ( ) ) != METHOD_24 ) { file . METHOD_25 ( METHOD_24 ) ; file . METHOD_26 ( ( ! IDENT_30 ) ) ; org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_28 IDENT_36 = METHOD_19 ( ) . METHOD_27 ( file . getId ( ) ) ; org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_10 IDENT_37 = METHOD_28 ( IDENT_36 , null , false ) ; IDENT_37 . METHOD_25 ( METHOD_24 ) ; IDENT_37 . METHOD_26 ( ( ! IDENT_30 ) ) ; org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_28 IDENT_38 = METHOD_29 ( IDENT_37 ) ; org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_39 IDENT_21 = METHOD_19 ( ) . METHOD_7 ( IDENT_36 . getId ( ) ) ; if ( ! ( file . METHOD_22 ( ) ) ) { org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_40 data = org . pentaho . platform . web . http . api . resources . utils . IDENT_41 . METHOD_30 ( IDENT_36 ) ; METHOD_19 ( ) . METHOD_31 ( IDENT_38 , data , null ) ; METHOD_19 ( ) . METHOD_32 ( IDENT_21 ) ; } else { METHOD_19 ( ) . METHOD_33 ( IDENT_38 , null ) ; } } } else { throw new java . security . METHOD_34 ( ) ; } } | org . junit . Assert . assertEquals ( IDENT_8 , IDENT_9 ) |
METHOD_0 ( ) { org . pentaho . platform . web . http . api . resources . IDENT_0 IDENT_1 = new org . pentaho . platform . web . http . api . resources . METHOD_1 ( ) ; IDENT_1 . METHOD_2 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return IDENT_2 ; } | org . junit . Assert . assertEquals ( STRING_0 , IDENT_1 . METHOD_3 ( ) ) |
METHOD_0 ( ) { org . pentaho . platform . web . http . api . resources . IDENT_0 IDENT_1 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_0 . class ) ; org . pentaho . platform . api . IDENT_2 . IDENT_3 IDENT_4 = mock ( org . pentaho . platform . api . IDENT_2 . IDENT_3 . class ) ; doReturn ( IDENT_4 ) . when ( IDENT_5 . IDENT_6 ) . METHOD_1 ( IDENT_1 ) ; java . lang . String IDENT_7 = STRING_0 ; doReturn ( IDENT_7 ) . when ( IDENT_4 ) . METHOD_2 ( ) ; javax . ws . rs . core . Response IDENT_8 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_8 ) . when ( IDENT_5 ) . METHOD_3 ( IDENT_7 ) ; javax . ws . rs . core . Response IDENT_9 = IDENT_5 . METHOD_1 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_5 . IDENT_6 , times ( 1 ) ) . METHOD_1 ( IDENT_1 ) ; verify ( IDENT_4 , times ( 1 ) ) . METHOD_2 ( ) ; verify ( IDENT_5 , times ( 1 ) ) . METHOD_3 ( IDENT_7 ) ; } METHOD_1 ( org . pentaho . platform . web . http . api . resources . IDENT_0 ) { boolean IDENT_10 = ( ( ( IDENT_11 . METHOD_4 ( ) ) == null ) && ( ( IDENT_11 . METHOD_5 ( ) ) == null ) ) && ( ( IDENT_11 . METHOD_6 ( ) ) == null ) ; if ( ( ! IDENT_10 ) && ( ! ( METHOD_7 ( ) . METHOD_8 ( IDENT_12 . IDENT_13 ) ) ) ) { throw new java . lang . METHOD_9 ( ) ; } boolean IDENT_14 = ! ( org . apache . commons . lang . StringUtils . isEmpty ( IDENT_11 . METHOD_10 ( ) ) ) ; org . pentaho . platform . api . IDENT_15 . IDENT_16 . IDENT_17 file = null ; if ( IDENT_14 ) { try { file = METHOD_11 ( ) . METHOD_12 ( IDENT_11 . METHOD_10 ( ) ) ; } catch ( org . pentaho . platform . api . IDENT_15 . IDENT_16 . IDENT_18 IDENT_19 ) { IDENT_14 = false ; org . pentaho . platform . web . http . api . resources . services . IDENT_20 . logger . warn ( IDENT_19 . getMessage ( ) , IDENT_19 ) ; } } if ( IDENT_14 && ( org . apache . commons . lang . StringUtils . isEmpty ( IDENT_11 . METHOD_13 ( ) ) ) ) { IDENT_11 . METHOD_14 ( file . getName ( ) . substring ( 0 , file . getName ( ) . METHOD_15 ( STRING_1 ) ) ) ; } else if ( ! ( org . apache . commons . lang . StringUtils . isEmpty ( IDENT_11 . METHOD_16 ( ) ) ) ) { java . lang . String IDENT_21 = IDENT_11 . METHOD_16 ( ) . substring ( ( ( IDENT_11 . METHOD_16 ( ) . METHOD_15 ( STRING_1 ) ) + 1 ) ) ; IDENT_11 . METHOD_14 ( IDENT_21 ) ; } else if ( ( ! IDENT_14 ) && ( org . apache . commons . lang . StringUtils . isEmpty ( IDENT_11 . METHOD_13 ( ) ) ) ) { IDENT_11 . METHOD_14 ( ( "" + ( java . lang . System . currentTimeMillis ( ) ) ) ) ; } if ( IDENT_14 ) { if ( file == null ) { org . pentaho . platform . web . http . api . resources . services . IDENT_20 . logger . error ( ( ( STRING_2 + ( IDENT_11 . METHOD_10 ( ) ) ) + STRING_3 ) ) ; throw new org . pentaho . platform . api . IDENT_2 . METHOD_17 ( new org . pentaho . platform . api . engine . METHOD_18 ( ( STRING_2 + ( IDENT_11 . METHOD_10 ( ) ) ) ) ) ; } java . util . Map < java . lang . String , java . io . IDENT_22 > metadata = METHOD_11 ( ) . METHOD_19 ( file . getId ( ) ) ; if ( metadata . containsKey ( IDENT_17 . IDENT_23 ) ) { boolean IDENT_24 = org . apache . commons . lang . IDENT_25 . METHOD_20 ( ( ( java . lang . String ) ( metadata . get ( IDENT_17 . IDENT_23 ) ) ) ) ; if ( ! IDENT_24 ) { throw new java . lang . METHOD_21 ( ) ; } } } if ( ( IDENT_11 . METHOD_22 ( ) ) != null ) { METHOD_23 ( IDENT_11 ) ; } org . pentaho . platform . api . IDENT_2 . IDENT_3 job = null ; org . pentaho . platform . api . IDENT_2 . IDENT_26 IDENT_27 = org . pentaho . platform . web . http . api . resources . IDENT_28 . METHOD_24 ( IDENT_11 , IDENT_29 ) ; java . util . HashMap < java . lang . String , java . io . IDENT_22 > IDENT_30 = new java . util . HashMap ( ) ; for ( org . pentaho . platform . web . http . api . resources . IDENT_31 param : IDENT_11 . METHOD_25 ( ) ) { IDENT_30 . put ( param . getName ( ) , param . getValue ( ) ) ; } if ( METHOD_26 ( file ) ) { IDENT_30 = METHOD_27 ( file , IDENT_30 , IDENT_11 . METHOD_28 ( ) ) ; } IDENT_30 . put ( IDENT_32 . IDENT_33 , org . pentaho . platform . util . messages . IDENT_32 . METHOD_29 ( ) ) ; if ( IDENT_14 ) { org . pentaho . platform . web . http . api . resources . IDENT_34 IDENT_35 = METHOD_30 ( IDENT_11 ) ; java . lang . String IDENT_36 = IDENT_35 . METHOD_31 ( ) ; java . lang . String IDENT_37 = org . pentaho . platform . web . http . api . resources . IDENT_28 . METHOD_32 ( IDENT_11 . METHOD_10 ( ) ) ; final java . lang . String IDENT_38 = IDENT_11 . METHOD_10 ( ) ; IDENT_30 . put ( IDENT_39 . IDENT_40 , IDENT_38 ) ; job = METHOD_33 ( ) . METHOD_1 ( IDENT_11 . METHOD_13 ( ) , IDENT_37 , IDENT_30 , IDENT_27 , new org . pentaho . platform . web . http . api . resources . METHOD_34 ( IDENT_38 , IDENT_36 , METHOD_35 ( IDENT_11 ) , METHOD_36 ( IDENT_11 ) ) ) ; } else { java . lang . String IDENT_21 = IDENT_11 . METHOD_16 ( ) ; try { @ org . pentaho . platform . web . http . api . resources . services . METHOD_37 ( STRING_4 ) java . lang . Class < org . pentaho . platform . api . action . IDENT_41 > IDENT_42 = METHOD_38 ( IDENT_21 ) ; job = METHOD_33 ( ) . METHOD_1 ( IDENT_11 . METHOD_13 ( ) , IDENT_42 , IDENT_30 , IDENT_27 ) ; } catch ( java . lang . IDENT_43 e ) { throw new java . lang . RuntimeException ( e ) ; } } return job ; } | org . junit . Assert . assertEquals ( IDENT_8 , IDENT_9 ) |
METHOD_0 ( ) { org . pentaho . platform . api . IDENT_0 . IDENT_1 IDENT_2 = mock ( org . pentaho . platform . api . IDENT_0 . IDENT_1 . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_3 . IDENT_4 ) . METHOD_1 ( ) ; org . pentaho . platform . api . IDENT_0 . IDENT_1 IDENT_5 = IDENT_3 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 . IDENT_4 , times ( 1 ) ) . METHOD_1 ( ) ; } METHOD_1 ( ) { org . pentaho . platform . api . engine . IDENT_6 session = METHOD_2 ( ) ; final java . lang . String IDENT_7 = session . getName ( ) ; final java . lang . Boolean IDENT_8 = METHOD_3 ( ) . METHOD_4 ( IDENT_9 . IDENT_10 ) ; java . util . List < org . pentaho . platform . api . IDENT_0 . IDENT_1 > IDENT_11 = METHOD_5 ( ) . METHOD_6 ( METHOD_7 ( IDENT_8 , IDENT_7 ) ) ; if ( ( IDENT_11 . size ( ) ) > 0 ) { return IDENT_11 . get ( 0 ) ; } return null ; } | org . junit . Assert . assertEquals ( IDENT_2 , IDENT_5 ) |
METHOD_0 ( ) { java . util . List < org . pentaho . platform . api . IDENT_0 . IDENT_1 > IDENT_2 = mock ( java . util . List . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_3 . IDENT_4 ) . METHOD_1 ( ) ; java . lang . Boolean IDENT_5 = Boolean . IDENT_6 ; java . util . List < org . pentaho . platform . api . IDENT_0 . IDENT_1 > IDENT_7 = IDENT_3 . METHOD_1 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 . IDENT_4 , times ( 1 ) ) . METHOD_1 ( ) ; } METHOD_1 ( java . lang . Boolean ) { try { return IDENT_4 . METHOD_1 ( ) ; } catch ( org . pentaho . platform . api . IDENT_0 . IDENT_8 e ) { throw new java . lang . RuntimeException ( e ) ; } } | org . junit . Assert . assertEquals ( IDENT_2 , IDENT_7 ) |
METHOD_0 ( ) { java . lang . String id = STRING_0 ; boolean IDENT_0 = true ; doReturn ( IDENT_0 ) . when ( IDENT_1 . IDENT_2 ) . METHOD_1 ( id ) ; java . lang . String IDENT_3 = IDENT_1 . METHOD_1 ( id ) ; "<AssertPlaceHolder>" ; verify ( IDENT_1 . IDENT_2 , times ( 1 ) ) . METHOD_1 ( id ) ; } METHOD_1 ( java . lang . String ) { java . lang . Boolean IDENT_4 = METHOD_1 ( ) ; if ( IDENT_4 ) { java . util . Map < java . lang . String , java . io . IDENT_5 > metadata = METHOD_2 ( ) . METHOD_3 ( id ) ; if ( metadata . containsKey ( IDENT_6 . IDENT_7 ) ) { IDENT_4 = org . apache . commons . lang . IDENT_8 . METHOD_4 ( ( ( java . lang . String ) ( metadata . get ( IDENT_6 . IDENT_7 ) ) ) ) ; } } return IDENT_4 ; } | org . junit . Assert . assertEquals ( ( "" + METHOD_1 ) , IDENT_3 ) |
METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; doReturn ( IDENT_0 ) . when ( IDENT_1 . IDENT_2 ) . METHOD_1 ( ) ; java . lang . String IDENT_3 = IDENT_1 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_1 . IDENT_2 , times ( 1 ) ) . METHOD_1 ( ) ; } METHOD_1 ( ) { return java . lang . String . valueOf ( METHOD_2 ( ) . METHOD_3 ( IDENT_4 . IDENT_5 ) ) ; } | org . junit . Assert . assertEquals ( IDENT_0 , IDENT_3 ) |
METHOD_0 ( ) { java . lang . String state = STRING_0 ; doReturn ( state ) . when ( IDENT_0 . IDENT_1 ) . METHOD_1 ( ) ; javax . ws . rs . core . Response IDENT_2 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_0 ) . METHOD_2 ( state ) ; javax . ws . rs . core . Response IDENT_3 = IDENT_0 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 . IDENT_1 , times ( 1 ) ) . METHOD_1 ( ) ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_2 ( state ) ; } METHOD_1 ( ) { if ( IDENT_4 . getValue ( ) ) { return org . pentaho . IDENT_5 . client . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 ; } if ( IDENT_10 . getValue ( ) ) { return org . pentaho . IDENT_5 . client . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_11 ; } return org . pentaho . IDENT_5 . client . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_12 ; } | org . junit . Assert . assertEquals ( IDENT_2 , IDENT_3 ) |
METHOD_0 ( ) { java . lang . String status = STRING_0 ; doReturn ( status ) . when ( IDENT_0 . IDENT_1 ) . start ( ) ; javax . ws . rs . core . Response IDENT_2 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_0 ) . METHOD_1 ( status ) ; javax . ws . rs . core . Response IDENT_3 = IDENT_0 . start ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 . IDENT_1 , times ( 1 ) ) . start ( ) ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_1 ( status ) ; } start ( ) { if ( METHOD_2 ( ) . METHOD_3 ( IDENT_4 . IDENT_5 ) ) { METHOD_4 ( ) . start ( ) ; } return METHOD_4 ( ) . getStatus ( ) . name ( ) ; } | org . junit . Assert . assertEquals ( IDENT_2 , IDENT_3 ) |
METHOD_0 ( ) { java . lang . String status = STRING_0 ; doReturn ( status ) . when ( IDENT_0 . IDENT_1 ) . METHOD_1 ( ) ; javax . ws . rs . core . Response IDENT_2 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_0 ) . METHOD_2 ( status ) ; javax . ws . rs . core . Response IDENT_3 = IDENT_0 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 . IDENT_1 , times ( 1 ) ) . METHOD_1 ( ) ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_2 ( status ) ; } METHOD_1 ( ) { if ( METHOD_3 ( ) . METHOD_4 ( IDENT_4 . IDENT_5 ) ) { METHOD_5 ( ) . METHOD_1 ( ) ; } return METHOD_5 ( ) . getStatus ( ) . name ( ) ; } | org . junit . Assert . assertEquals ( IDENT_2 , IDENT_3 ) |
METHOD_0 ( ) { java . lang . String status = STRING_0 ; doReturn ( status ) . when ( IDENT_0 . IDENT_1 ) . METHOD_1 ( ) ; javax . ws . rs . core . Response IDENT_2 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_0 ) . METHOD_2 ( status ) ; javax . ws . rs . core . Response IDENT_3 = IDENT_0 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 . IDENT_1 , times ( 1 ) ) . METHOD_1 ( ) ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_2 ( status ) ; } METHOD_1 ( ) { } | org . junit . Assert . assertEquals ( IDENT_2 , IDENT_3 ) |
METHOD_0 ( ) { org . pentaho . platform . web . http . api . resources . IDENT_0 IDENT_1 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_0 . class ) ; org . pentaho . platform . api . IDENT_2 . IDENT_3 . IDENT_4 IDENT_5 = IDENT_3 . IDENT_4 . IDENT_6 ; doReturn ( IDENT_5 ) . when ( IDENT_7 . IDENT_8 ) . METHOD_1 ( IDENT_1 ) ; javax . ws . rs . core . Response IDENT_9 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_9 ) . when ( IDENT_7 ) . METHOD_2 ( IDENT_5 . name ( ) ) ; javax . ws . rs . core . Response IDENT_10 = IDENT_7 . METHOD_1 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_7 . IDENT_8 , times ( 1 ) ) . METHOD_1 ( IDENT_1 ) ; verify ( IDENT_7 , times ( 1 ) ) . METHOD_2 ( IDENT_5 . name ( ) ) ; } METHOD_1 ( org . pentaho . platform . web . http . api . resources . IDENT_0 ) { org . pentaho . platform . api . IDENT_2 . IDENT_3 job = METHOD_3 ( IDENT_11 . METHOD_4 ( ) ) ; if ( ( METHOD_5 ( ) ) || ( METHOD_6 ( ) . getName ( ) . equals ( job . METHOD_7 ( ) ) ) ) { return job . METHOD_8 ( ) ; } throw new java . lang . METHOD_9 ( ) ; } | org . junit . Assert . assertEquals ( IDENT_9 , IDENT_10 ) |
METHOD_0 ( ) { org . pentaho . platform . web . http . api . resources . IDENT_0 IDENT_1 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_0 . class ) ; javax . ws . rs . core . Response IDENT_2 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_3 ) . METHOD_1 ( javax . ws . rs . core . Response . Status . IDENT_4 ) ; java . lang . IDENT_5 IDENT_6 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_5 . class ) ; METHOD_2 ( IDENT_6 ) . when ( IDENT_3 . IDENT_7 ) . METHOD_3 ( IDENT_1 ) ; javax . ws . rs . core . Response IDENT_8 = IDENT_3 . METHOD_3 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; org . pentaho . platform . api . IDENT_9 . IDENT_10 IDENT_11 = mock ( org . pentaho . platform . api . IDENT_9 . IDENT_10 . class ) ; METHOD_2 ( IDENT_11 ) . when ( IDENT_3 . IDENT_7 ) . METHOD_3 ( IDENT_1 ) ; try { IDENT_3 . METHOD_3 ( IDENT_1 ) ; org . junit . Assert . fail ( ) ; } catch ( java . lang . RuntimeException e ) { } verify ( IDENT_3 , times ( 1 ) ) . METHOD_1 ( javax . ws . rs . core . Response . Status . IDENT_4 ) ; verify ( IDENT_3 . IDENT_7 , times ( 2 ) ) . METHOD_3 ( IDENT_1 ) ; } METHOD_3 ( org . pentaho . platform . web . http . api . resources . IDENT_0 ) { org . pentaho . platform . api . IDENT_9 . IDENT_12 job = METHOD_4 ( IDENT_13 . METHOD_5 ( ) ) ; if ( ( METHOD_6 ( ) ) || ( METHOD_7 ( ) . getName ( ) . equals ( job . METHOD_8 ( ) ) ) ) { return job . METHOD_9 ( ) ; } throw new java . lang . METHOD_10 ( ) ; } | org . junit . Assert . assertEquals ( IDENT_2 , IDENT_8 ) |
METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; org . pentaho . platform . web . http . api . resources . IDENT_1 IDENT_2 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_1 . class ) ; doReturn ( IDENT_0 ) . when ( IDENT_2 ) . METHOD_1 ( ) ; org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_5 state = IDENT_4 . IDENT_5 . IDENT_6 ; doReturn ( state ) . when ( IDENT_7 . IDENT_8 ) . METHOD_2 ( IDENT_0 ) ; javax . ws . rs . core . Response IDENT_9 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_9 ) . when ( IDENT_7 ) . METHOD_3 ( state . name ( ) ) ; javax . ws . rs . core . Response IDENT_10 = IDENT_7 . METHOD_2 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_7 . IDENT_8 , times ( 1 ) ) . METHOD_2 ( IDENT_0 ) ; verify ( IDENT_7 , times ( 1 ) ) . METHOD_3 ( state . name ( ) ) ; } METHOD_2 ( java . lang . String ) { org . pentaho . platform . api . IDENT_3 . IDENT_4 job = METHOD_4 ( IDENT_0 ) ; if ( ( METHOD_5 ( ) ) || ( org . pentaho . platform . engine . core . IDENT_11 . IDENT_12 . METHOD_6 ( ) . getName ( ) . equals ( job . METHOD_7 ( ) ) ) ) { METHOD_8 ( ) . METHOD_2 ( IDENT_0 ) ; } job = METHOD_4 ( IDENT_0 ) ; return job . METHOD_9 ( ) ; } | org . junit . Assert . assertEquals ( IDENT_9 , IDENT_10 ) |
METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String IDENT_1 = STRING_1 ; javax . ws . rs . core . Response IDENT_2 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_3 ) . METHOD_1 ( Response . Status . IDENT_4 ) ; javax . ws . rs . core . Response IDENT_5 = IDENT_3 . METHOD_2 ( IDENT_0 , IDENT_1 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 . IDENT_6 , times ( 1 ) ) . METHOD_3 ( IDENT_0 ) ; } METHOD_2 ( java . lang . String , java . lang . String ) { try { org . pentaho . platform . api . IDENT_7 . IDENT_8 IDENT_9 = IDENT_6 . METHOD_3 ( IDENT_0 ) ; if ( IDENT_9 == null ) { return METHOD_1 ( Status . IDENT_4 ) ; } return METHOD_4 ( IDENT_9 ) ; } catch ( org . pentaho . platform . api . IDENT_7 . IDENT_10 e ) { throw new java . lang . RuntimeException ( e ) ; } } | org . junit . Assert . assertEquals ( IDENT_2 , IDENT_5 ) |
METHOD_0 ( ) { org . apache . hadoop . hbase . client . IDENT_0 . IDENT_1 . METHOD_1 ( ) . METHOD_2 ( STRING_0 , true ) ; org . apache . hadoop . hbase . client . IDENT_0 . IDENT_1 . METHOD_1 ( ) . set ( STRING_1 , STRING_2 ) ; org . apache . hadoop . hbase . IDENT_2 IDENT_3 = org . apache . hadoop . hbase . client . IDENT_0 . IDENT_1 . METHOD_3 ( STRING_3 ) ; IDENT_3 . METHOD_4 ( org . apache . hadoop . hbase . client . IDENT_0 . IDENT_4 ) ; IDENT_3 . METHOD_5 ( org . apache . hadoop . hbase . client . IDENT_0 . IDENT_5 . class . getName ( ) ) ; try { org . apache . hadoop . hbase . client . IDENT_6 table = org . apache . hadoop . hbase . client . IDENT_0 . IDENT_1 . METHOD_6 ( IDENT_3 , new byte [ ] [ ] { org . apache . hadoop . hbase . client . IDENT_0 . f } , null ) ; org . apache . hadoop . hbase . client . IDENT_7 p = new org . apache . hadoop . hbase . client . METHOD_7 ( org . apache . hadoop . hbase . client . IDENT_0 . row ) ; p . METHOD_8 ( org . apache . hadoop . hbase . client . IDENT_0 . f , org . apache . hadoop . hbase . client . IDENT_0 . row , org . apache . hadoop . hbase . client . IDENT_0 . row ) ; table . put ( p ) ; org . apache . hadoop . hbase . client . IDENT_0 . IDENT_1 . METHOD_9 ( table . getName ( ) ) ; try { java . lang . Thread . sleep ( ( 2 * ( org . apache . hadoop . hbase . client . IDENT_0 . IDENT_8 ) ) ) ; } catch ( java . lang . IDENT_9 IDENT_10 ) { org . apache . hadoop . hbase . client . IDENT_0 . LOG . error ( IDENT_10 . toString ( ) , IDENT_10 ) ; } try { org . apache . hadoop . hbase . client . IDENT_11 connection = org . apache . hadoop . hbase . client . IDENT_12 . METHOD_10 ( org . apache . hadoop . hbase . client . IDENT_0 . IDENT_1 . METHOD_1 ( ) ) ; org . apache . hadoop . hbase . client . IDENT_6 t = connection . METHOD_11 ( IDENT_3 . METHOD_12 ( ) ) ; org . apache . hadoop . hbase . client . IDENT_0 . IDENT_5 . IDENT_13 . set ( new java . util . concurrent . METHOD_13 ( 1 ) ) ; org . apache . hadoop . hbase . client . IDENT_14 g = new org . apache . hadoop . hbase . client . METHOD_14 ( org . apache . hadoop . hbase . client . IDENT_0 . row ) ; g . METHOD_15 ( IDENT_15 . IDENT_16 ) ; org . apache . hadoop . hbase . client . Result r = t . get ( g ) ; "<AssertPlaceHolder>" ; org . apache . hadoop . hbase . client . IDENT_0 . IDENT_5 . IDENT_13 . get ( ) . METHOD_16 ( ) ; } finally { org . apache . hadoop . hbase . client . IDENT_0 . IDENT_5 . IDENT_13 . get ( ) . METHOD_16 ( ) ; org . apache . hadoop . hbase . client . IDENT_0 . IDENT_5 . IDENT_17 . set ( 0 ) ; } } finally { org . apache . hadoop . hbase . client . IDENT_0 . IDENT_1 . METHOD_1 ( ) . METHOD_17 ( STRING_0 ) ; org . apache . hadoop . hbase . client . IDENT_0 . IDENT_1 . METHOD_1 ( ) . METHOD_17 ( STRING_1 ) ; org . apache . hadoop . hbase . client . IDENT_0 . IDENT_1 . METHOD_18 ( ) . METHOD_19 ( IDENT_3 . METHOD_12 ( ) ) ; org . apache . hadoop . hbase . client . IDENT_0 . IDENT_1 . METHOD_20 ( IDENT_3 . METHOD_12 ( ) ) ; } } METHOD_21 ( ) { return IDENT_18 ; } | org . junit . Assert . assertTrue ( r . METHOD_21 ( ) ) |
METHOD_0 ( ) { org . pentaho . platform . web . http . api . resources . IDENT_0 IDENT_1 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_0 . class ) ; doReturn ( IDENT_1 ) . when ( IDENT_2 . IDENT_3 ) . METHOD_1 ( ) ; org . pentaho . platform . web . http . api . resources . IDENT_0 IDENT_4 = IDENT_2 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 . IDENT_3 , times ( 1 ) ) . METHOD_1 ( ) ; } METHOD_1 ( ) { org . pentaho . platform . web . http . api . resources . IDENT_0 IDENT_5 = new org . pentaho . platform . web . http . api . resources . METHOD_2 ( ) ; org . pentaho . platform . web . http . api . resources . IDENT_6 IDENT_7 = new org . pentaho . platform . web . http . api . resources . METHOD_3 ( ) ; IDENT_7 . METHOD_4 ( new int [ ] { 1 , 2 , 3 } ) ; IDENT_7 . METHOD_5 ( new int [ ] { 1 , 2 , 3 } ) ; IDENT_7 . METHOD_6 ( new int [ ] { 1 , 2 , 3 } ) ; IDENT_7 . METHOD_7 ( new int [ ] { INT_0 , INT_1 } ) ; IDENT_7 . METHOD_8 ( new java . util . Date ( ) ) ; IDENT_5 . METHOD_9 ( IDENT_7 ) ; IDENT_5 . METHOD_10 ( STRING_0 ) ; IDENT_5 . METHOD_11 ( STRING_1 ) ; java . util . ArrayList < org . pentaho . platform . web . http . api . resources . IDENT_8 > IDENT_9 = new java . util . ArrayList ( ) ; IDENT_9 . add ( new org . pentaho . platform . web . http . api . resources . METHOD_12 ( STRING_2 , STRING_3 ) ) ; IDENT_9 . add ( new org . pentaho . platform . web . http . api . resources . METHOD_12 ( STRING_4 , 1 ) ) ; IDENT_9 . add ( new org . pentaho . platform . web . http . api . resources . METHOD_12 ( STRING_5 , true ) ) ; IDENT_9 . add ( new org . pentaho . platform . web . http . api . resources . METHOD_12 ( STRING_6 , new java . util . Date ( ) ) ) ; IDENT_5 . METHOD_13 ( IDENT_9 ) ; return IDENT_5 ; } | org . junit . Assert . assertEquals ( IDENT_1 , IDENT_4 ) |
METHOD_0 ( ) { java . util . List < org . pentaho . platform . api . IDENT_0 . IDENT_1 > IDENT_2 = mock ( java . util . List . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_3 . IDENT_4 ) . METHOD_1 ( ) ; java . util . List < org . pentaho . platform . api . IDENT_0 . IDENT_1 > IDENT_5 = IDENT_3 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 , times ( 1 ) ) . METHOD_2 ( ) ; } METHOD_2 ( ) { return IDENT_4 . METHOD_1 ( ) ; } | org . junit . Assert . assertNotNull ( IDENT_5 ) |
METHOD_0 ( ) { java . lang . Boolean IDENT_0 = Boolean . IDENT_1 ; doReturn ( IDENT_0 ) . when ( IDENT_2 . IDENT_3 ) . METHOD_1 ( ) ; javax . ws . rs . core . Response IDENT_4 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_4 ) . when ( IDENT_2 ) . METHOD_2 ( METHOD_1 . toString ( ) ) ; javax . ws . rs . core . Response IDENT_5 = IDENT_2 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 . IDENT_3 , times ( 1 ) ) . METHOD_1 ( ) ; verify ( IDENT_2 , times ( 1 ) ) . METHOD_2 ( METHOD_1 . toString ( ) ) ; } METHOD_1 ( ) { java . util . List < org . pentaho . platform . api . IDENT_6 . IDENT_7 > IDENT_8 = METHOD_3 ( ) . METHOD_4 ( ) ; return ( IDENT_8 != null ) && ( ( IDENT_8 . size ( ) ) > 0 ) ; } | org . junit . Assert . assertEquals ( IDENT_4 , IDENT_5 ) |
METHOD_0 ( ) { org . pentaho . platform . web . http . api . resources . IDENT_0 IDENT_1 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_0 . class ) ; org . pentaho . platform . api . IDENT_2 . IDENT_3 IDENT_4 = mock ( org . pentaho . platform . api . IDENT_2 . IDENT_3 . class ) ; doReturn ( IDENT_4 ) . when ( IDENT_5 . IDENT_6 ) . METHOD_1 ( IDENT_1 ) ; java . lang . String IDENT_7 = STRING_0 ; doReturn ( IDENT_7 ) . when ( IDENT_4 ) . METHOD_2 ( ) ; javax . ws . rs . core . Response IDENT_8 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_8 ) . when ( IDENT_5 ) . METHOD_3 ( IDENT_7 ) ; javax . ws . rs . core . Response IDENT_9 = IDENT_5 . METHOD_1 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_5 . IDENT_6 , times ( 1 ) ) . METHOD_1 ( IDENT_1 ) ; verify ( IDENT_4 , times ( 1 ) ) . METHOD_2 ( ) ; verify ( IDENT_5 , times ( 1 ) ) . METHOD_3 ( IDENT_7 ) ; } METHOD_1 ( org . pentaho . platform . web . http . api . resources . IDENT_0 ) { if ( METHOD_4 ( ) ) { IDENT_10 . METHOD_5 ( org . pentaho . platform . IDENT_2 . IDENT_11 . IDENT_12 . class . METHOD_6 ( ) ) ; IDENT_10 . METHOD_7 ( ) . add ( METHOD_8 ( IDENT_13 . IDENT_14 , IDENT_10 . METHOD_9 ( ) ) ) ; IDENT_10 . METHOD_7 ( ) . add ( METHOD_8 ( IDENT_13 . IDENT_15 , IDENT_10 . METHOD_10 ( ) ) ) ; return METHOD_11 ( IDENT_10 ) ; } throw new java . lang . METHOD_12 ( ) ; } | org . junit . Assert . assertEquals ( IDENT_8 , IDENT_9 ) |
METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; org . pentaho . platform . web . http . api . resources . IDENT_1 IDENT_2 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_1 . class ) ; doReturn ( true ) . when ( IDENT_3 . IDENT_4 ) . METHOD_1 ( ) ; org . pentaho . platform . web . http . api . resources . IDENT_5 IDENT_6 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_5 . class ) ; doReturn ( IDENT_6 ) . when ( IDENT_3 ) . METHOD_2 ( ) ; org . pentaho . platform . api . IDENT_7 . IDENT_8 IDENT_9 = mock ( org . pentaho . platform . api . IDENT_7 . IDENT_8 . class ) ; doReturn ( IDENT_9 ) . when ( IDENT_3 . IDENT_4 ) . METHOD_3 ( IDENT_0 , IDENT_2 ) ; doReturn ( IDENT_0 ) . when ( IDENT_9 ) . METHOD_4 ( ) ; javax . ws . rs . core . Response IDENT_10 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_10 ) . when ( IDENT_3 ) . METHOD_5 ( IDENT_0 ) ; javax . ws . rs . core . Response IDENT_11 = IDENT_3 . METHOD_3 ( IDENT_0 , IDENT_2 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 . IDENT_4 , times ( 1 ) ) . METHOD_3 ( IDENT_0 , IDENT_2 ) ; verify ( IDENT_9 , times ( 1 ) ) . METHOD_4 ( ) ; } METHOD_3 ( java . lang . String , org . pentaho . platform . web . http . api . resources . IDENT_1 ) { if ( METHOD_6 ( ) ) { boolean IDENT_12 = METHOD_7 ( IDENT_0 ) ; if ( IDENT_12 ) { org . pentaho . platform . api . IDENT_7 . IDENT_8 job = METHOD_8 ( IDENT_13 ) ; return job ; } } throw new java . lang . METHOD_9 ( ) ; } | org . junit . Assert . assertEquals ( IDENT_10 , IDENT_11 ) |
METHOD_0 ( ) { org . pentaho . platform . web . http . api . resources . IDENT_0 IDENT_1 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_0 . class ) ; org . pentaho . platform . api . IDENT_2 . IDENT_3 IDENT_4 = mock ( org . pentaho . platform . api . IDENT_2 . IDENT_3 . class ) ; doReturn ( IDENT_4 ) . when ( IDENT_5 ) . METHOD_1 ( IDENT_1 ) ; java . lang . Boolean IDENT_6 = Boolean . IDENT_7 ; doReturn ( IDENT_6 ) . when ( IDENT_5 . IDENT_8 ) . METHOD_2 ( IDENT_4 ) ; javax . ws . rs . core . Response IDENT_9 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_9 ) . when ( IDENT_5 ) . METHOD_3 ( METHOD_2 . toString ( ) ) ; javax . ws . rs . core . Response IDENT_10 = IDENT_5 . METHOD_4 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_5 , times ( 1 ) ) . METHOD_1 ( IDENT_1 ) ; verify ( IDENT_5 . IDENT_8 , times ( 1 ) ) . METHOD_2 ( IDENT_4 ) ; verify ( IDENT_5 , times ( 1 ) ) . METHOD_3 ( METHOD_2 . toString ( ) ) ; } METHOD_4 ( org . pentaho . platform . web . http . api . resources . IDENT_0 ) { java . lang . Boolean METHOD_2 ; try { METHOD_2 = IDENT_8 . METHOD_2 ( METHOD_1 ( IDENT_11 ) ) ; } catch ( org . pentaho . platform . api . IDENT_12 . IDENT_13 . IDENT_14 e ) { return METHOD_5 ( e ) ; } catch ( org . pentaho . platform . api . IDENT_2 . IDENT_15 e ) { return METHOD_5 ( e ) ; } return METHOD_3 ( METHOD_2 . toString ( ) ) ; } | org . junit . Assert . assertEquals ( IDENT_9 , IDENT_10 ) |
METHOD_0 ( ) { when ( repo . getName ( ) ) . thenReturn ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 ) { return ( org . pentaho . platform . web . http . api . resources . IDENT_3 . METHOD_2 ( file ) ) || ( org . pentaho . platform . web . http . api . resources . IDENT_3 . METHOD_3 ( file ) ) ; } | org . junit . Assert . assertTrue ( org . pentaho . platform . web . http . api . resources . IDENT_3 . METHOD_1 ( repo ) ) |
METHOD_0 ( ) { byte [ ] IDENT_0 = org . apache . hadoop . hbase . util . IDENT_1 . METHOD_1 ( STRING_0 ) ; METHOD_2 ( org . apache . hadoop . hbase . client . IDENT_2 . IDENT_3 ) ; org . apache . hadoop . hbase . client . IDENT_2 . IDENT_4 . METHOD_3 ( ) . set ( new java . util . concurrent . METHOD_4 ( 0 ) ) ; try { org . apache . hadoop . hbase . client . IDENT_5 g = new org . apache . hadoop . hbase . client . METHOD_5 ( IDENT_0 ) ; org . apache . hadoop . hbase . client . Result r = org . apache . hadoop . hbase . client . IDENT_2 . table . get ( g ) ; "<AssertPlaceHolder>" ; } finally { METHOD_6 ( org . apache . hadoop . hbase . client . IDENT_2 . IDENT_3 ) ; } } METHOD_7 ( ) { return IDENT_6 ; } | org . junit . Assert . assertFalse ( r . METHOD_7 ( ) ) |
METHOD_0 ( ) { when ( repo . getName ( ) ) . thenReturn ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 ) { return ( org . pentaho . platform . web . http . api . resources . IDENT_3 . METHOD_2 ( file ) ) || ( org . pentaho . platform . web . http . api . resources . IDENT_3 . METHOD_3 ( file ) ) ; } | org . junit . Assert . assertFalse ( org . pentaho . platform . web . http . api . resources . IDENT_3 . METHOD_1 ( repo ) ) |
METHOD_0 ( ) { org . pentaho . platform . api . engine . IDENT_0 IDENT_1 = mock ( org . pentaho . platform . api . engine . IDENT_0 . class ) ; doReturn ( IDENT_1 ) . when ( IDENT_2 ) . METHOD_1 ( ) ; java . lang . String IDENT_3 = STRING_0 ; doReturn ( IDENT_3 ) . when ( IDENT_1 ) . getName ( ) ; java . lang . String IDENT_4 = STRING_1 ; doReturn ( IDENT_4 ) . when ( IDENT_2 ) . METHOD_2 ( IDENT_3 ) ; java . lang . String IDENT_5 = IDENT_2 . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 , times ( 1 ) ) . METHOD_2 ( IDENT_3 ) ; verify ( IDENT_2 , times ( 1 ) ) . METHOD_1 ( ) ; verify ( IDENT_1 , times ( 1 ) ) . getName ( ) ; } METHOD_3 ( ) { return ( org . pentaho . platform . IDENT_6 . IDENT_7 . METHOD_2 ( org . pentaho . platform . engine . core . IDENT_8 . IDENT_9 . METHOD_1 ( ) . getName ( ) ) ) + STRING_2 ; } | org . junit . Assert . assertEquals ( ( IDENT_4 + STRING_2 ) , IDENT_5 ) |
METHOD_0 ( ) { org . pentaho . platform . web . http . api . resources . services . IDENT_0 IDENT_1 = mock ( org . pentaho . platform . web . http . api . resources . services . IDENT_0 . class ) ; doReturn ( IDENT_1 ) . when ( IDENT_2 ) . METHOD_1 ( ) ; org . IDENT_3 . Document IDENT_4 = mock ( org . IDENT_3 . Document . class ) ; doReturn ( IDENT_4 ) . when ( IDENT_1 ) . METHOD_2 ( ) ; java . lang . String xml = STRING_0 ; doReturn ( xml ) . when ( IDENT_4 ) . METHOD_3 ( ) ; javax . ws . rs . core . Response IDENT_5 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_5 ) . when ( IDENT_2 ) . METHOD_4 ( xml , IDENT_6 . IDENT_7 ) ; javax . ws . rs . core . Response IDENT_8 = IDENT_2 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 , times ( 1 ) ) . METHOD_1 ( ) ; verify ( IDENT_1 , times ( 1 ) ) . METHOD_2 ( ) ; verify ( IDENT_4 , times ( 1 ) ) . METHOD_3 ( ) ; verify ( IDENT_2 , times ( 1 ) ) . METHOD_4 ( xml , IDENT_6 . IDENT_7 ) ; } METHOD_2 ( ) { java . util . Collections . METHOD_5 ( IDENT_9 ) ; return IDENT_9 ; } | org . junit . Assert . assertEquals ( IDENT_5 , IDENT_8 ) |
METHOD_0 ( ) { boolean IDENT_0 = true ; doReturn ( IDENT_0 ) . when ( IDENT_1 . IDENT_2 ) . METHOD_1 ( ) ; javax . ws . rs . core . Response IDENT_3 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_3 ) . when ( IDENT_1 ) . METHOD_2 ( java . lang . String . valueOf ( METHOD_1 ) ) ; javax . ws . rs . core . Response IDENT_4 = IDENT_1 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_1 . IDENT_2 , times ( 1 ) ) . METHOD_1 ( ) ; verify ( IDENT_1 , times ( 1 ) ) . METHOD_2 ( java . lang . String . valueOf ( METHOD_1 ) ) ; } METHOD_1 ( ) { return METHOD_1 ; } | org . junit . Assert . assertEquals ( IDENT_3 , IDENT_4 ) |
METHOD_0 ( ) { boolean IDENT_0 = true ; doReturn ( IDENT_0 ) . when ( IDENT_1 . IDENT_2 ) . METHOD_1 ( ) ; javax . ws . rs . core . Response IDENT_3 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_3 ) . when ( IDENT_1 ) . METHOD_2 ( java . lang . String . valueOf ( METHOD_1 ) ) ; javax . ws . rs . core . Response IDENT_4 = IDENT_1 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_1 . IDENT_2 , times ( 1 ) ) . METHOD_1 ( ) ; verify ( IDENT_1 , times ( 1 ) ) . METHOD_2 ( java . lang . String . valueOf ( METHOD_1 ) ) ; } METHOD_1 ( ) { return ( ( org . pentaho . platform . web . http . api . resources . services . IDENT_5 . METHOD_3 ( ) ) != null ) && ( org . pentaho . platform . web . http . api . resources . services . IDENT_5 . METHOD_3 ( ) . METHOD_1 ( ) ) ; } | org . junit . Assert . assertEquals ( IDENT_3 , IDENT_4 ) |
METHOD_0 ( ) { byte [ ] IDENT_0 = org . apache . hadoop . hbase . util . IDENT_1 . METHOD_1 ( STRING_0 ) ; METHOD_2 ( org . apache . hadoop . hbase . client . IDENT_2 . IDENT_3 ) ; try { org . apache . hadoop . hbase . client . IDENT_4 g = new org . apache . hadoop . hbase . client . METHOD_3 ( IDENT_0 ) ; org . apache . hadoop . hbase . client . Result r = org . apache . hadoop . hbase . client . IDENT_2 . table . get ( g ) ; "<AssertPlaceHolder>" ; } finally { METHOD_4 ( org . apache . hadoop . hbase . client . IDENT_2 . IDENT_3 ) ; } } METHOD_5 ( ) { return IDENT_5 ; } | org . junit . Assert . assertFalse ( r . METHOD_5 ( ) ) |
METHOD_0 ( ) { org . pentaho . platform . web . http . api . resources . IDENT_0 IDENT_1 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_0 . class ) ; doReturn ( IDENT_1 ) . when ( IDENT_2 ) . METHOD_1 ( ) ; org . pentaho . platform . web . http . api . resources . IDENT_0 IDENT_3 = IDENT_2 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 , times ( 1 ) ) . METHOD_1 ( ) ; } METHOD_2 ( ) { return METHOD_1 ( ) ; } | org . junit . Assert . assertEquals ( IDENT_1 , IDENT_3 ) |
METHOD_0 ( ) { org . pentaho . platform . web . http . api . resources . IDENT_0 IDENT_1 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_0 . class ) ; boolean IDENT_2 = true ; doReturn ( IDENT_1 ) . when ( IDENT_3 . IDENT_4 ) . METHOD_1 ( IDENT_2 ) ; org . pentaho . platform . web . http . api . resources . IDENT_0 IDENT_5 = IDENT_3 . METHOD_1 ( STRING_0 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 . IDENT_4 , times ( 1 ) ) . METHOD_1 ( IDENT_2 ) ; } METHOD_1 ( boolean ) { java . util . List < java . lang . String > IDENT_6 = METHOD_2 ( ) . METHOD_3 ( ) ; if ( ! IDENT_2 ) { for ( java . lang . String IDENT_7 : METHOD_4 ( ) ) { IDENT_6 . remove ( IDENT_7 ) ; } } return new org . pentaho . platform . web . http . api . resources . METHOD_5 ( IDENT_6 ) ; } | org . junit . Assert . assertEquals ( IDENT_1 , IDENT_5 ) |
METHOD_0 ( ) { org . pentaho . platform . web . http . api . resources . IDENT_0 IDENT_1 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_0 . class ) ; doReturn ( IDENT_1 ) . when ( IDENT_2 . IDENT_3 ) . METHOD_1 ( ) ; org . pentaho . platform . web . http . api . resources . IDENT_0 IDENT_4 = IDENT_2 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 . IDENT_3 , times ( 1 ) ) . METHOD_1 ( ) ; } METHOD_1 ( ) { return IDENT_3 . METHOD_1 ( ) ; } | org . junit . Assert . assertEquals ( IDENT_1 , IDENT_4 ) |
METHOD_0 ( ) { org . pentaho . platform . web . http . api . resources . IDENT_0 IDENT_1 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_0 . class ) ; doReturn ( IDENT_1 ) . when ( IDENT_2 . IDENT_3 ) . METHOD_1 ( ) ; org . pentaho . platform . web . http . api . resources . IDENT_0 IDENT_4 = IDENT_2 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 . IDENT_3 , times ( 1 ) ) . METHOD_1 ( ) ; } METHOD_2 ( ) { return IDENT_5 ; } | org . junit . Assert . assertEquals ( IDENT_1 , IDENT_4 ) |
METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; IDENT_1 . IDENT_0 = IDENT_0 ; org . pentaho . platform . web . http . api . resources . IDENT_2 IDENT_3 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_2 . class ) ; doReturn ( IDENT_3 ) . when ( IDENT_1 . IDENT_4 ) . METHOD_1 ( IDENT_0 ) ; org . pentaho . platform . web . http . api . resources . IDENT_2 IDENT_5 = IDENT_1 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_1 . IDENT_4 , times ( 1 ) ) . METHOD_1 ( IDENT_0 ) ; } METHOD_1 ( ) { return org . pentaho . platform . web . http . api . resources . IDENT_6 . IDENT_4 . METHOD_1 ( IDENT_0 ) ; } | org . junit . Assert . assertEquals ( IDENT_3 , IDENT_5 ) |
METHOD_0 ( ) { org . pentaho . platform . api . IDENT_0 . IDENT_1 job = mock ( org . pentaho . platform . api . IDENT_0 . IDENT_1 . class ) ; doReturn ( job ) . when ( org . pentaho . platform . web . http . api . resources . services . IDENT_2 . IDENT_3 ) . METHOD_1 ( anyString ( ) ) ; doReturn ( true ) . when ( org . pentaho . platform . web . http . api . resources . services . IDENT_2 . IDENT_3 ) . METHOD_2 ( ) ; METHOD_3 ( new org . pentaho . platform . api . IDENT_0 . METHOD_4 ( STRING_0 ) ) . when ( org . pentaho . platform . web . http . api . resources . services . IDENT_2 . IDENT_3 . IDENT_4 ) . METHOD_5 ( anyString ( ) ) ; try { org . pentaho . platform . web . http . api . resources . services . IDENT_2 . IDENT_3 . METHOD_5 ( STRING_1 ) ; } catch ( org . pentaho . platform . api . IDENT_0 . METHOD_4 e ) { "<AssertPlaceHolder>" ; } } getMessage ( ) { return message ; } | org . junit . Assert . assertEquals ( STRING_0 , e . getMessage ( ) ) |
METHOD_0 ( ) { org . pentaho . platform . api . engine . IDENT_0 IDENT_1 = mock ( org . pentaho . platform . api . engine . IDENT_0 . class ) ; doReturn ( IDENT_1 ) . when ( org . pentaho . platform . web . http . api . resources . services . IDENT_2 . IDENT_3 ) . METHOD_1 ( ) ; doReturn ( STRING_0 ) . when ( IDENT_1 ) . getName ( ) ; doReturn ( true ) . when ( org . pentaho . platform . web . http . api . resources . services . IDENT_2 . IDENT_3 ) . METHOD_2 ( IDENT_1 ) ; java . util . List < org . pentaho . platform . api . IDENT_4 . IDENT_5 > IDENT_6 = new java . util . ArrayList ( ) ; IDENT_6 . add ( mock ( org . pentaho . platform . api . IDENT_4 . IDENT_5 . class ) ) ; doReturn ( IDENT_6 ) . when ( org . pentaho . platform . web . http . api . resources . services . IDENT_2 . IDENT_3 . IDENT_7 ) . METHOD_3 ( any ( org . pentaho . platform . api . IDENT_4 . IDENT_8 . class ) ) ; java . util . List < org . pentaho . platform . api . IDENT_4 . IDENT_5 > IDENT_9 = org . pentaho . platform . web . http . api . resources . services . IDENT_2 . IDENT_3 . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; verify ( org . pentaho . platform . web . http . api . resources . services . IDENT_2 . IDENT_3 , times ( 1 ) ) . METHOD_1 ( ) ; verify ( IDENT_1 , times ( 1 ) ) . getName ( ) ; verify ( org . pentaho . platform . web . http . api . resources . services . IDENT_2 . IDENT_3 , times ( 1 ) ) . METHOD_2 ( IDENT_1 ) ; verify ( org . pentaho . platform . web . http . api . resources . services . IDENT_2 . IDENT_3 . IDENT_7 , times ( 1 ) ) . METHOD_3 ( any ( org . pentaho . platform . api . IDENT_4 . IDENT_8 . class ) ) ; } METHOD_3 ( ) { org . pentaho . platform . api . engine . IDENT_0 session = METHOD_1 ( ) ; final java . lang . String IDENT_10 = session . getName ( ) ; final java . lang . Boolean METHOD_2 = METHOD_2 ( session ) ; java . util . List < org . pentaho . platform . api . IDENT_4 . IDENT_5 > IDENT_9 = METHOD_4 ( ) . METHOD_3 ( new org . pentaho . platform . api . IDENT_4 . METHOD_5 ( ) { @ org . pentaho . platform . web . http . api . resources . services . Override public boolean accept ( org . pentaho . platform . api . IDENT_4 . IDENT_5 job ) { if ( METHOD_2 ) { return ! ( IDENT_11 . IDENT_12 . equals ( job . METHOD_6 ( ) ) ) ; } return IDENT_10 . equals ( job . METHOD_7 ( ) ) ; } } ) ; return IDENT_9 ; } | org . junit . Assert . assertEquals ( IDENT_6 , IDENT_9 ) |
METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; org . pentaho . platform . web . http . api . resources . IDENT_1 IDENT_2 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_1 . class ) ; org . pentaho . platform . api . IDENT_3 . IDENT_4 IDENT_5 = mock ( org . pentaho . platform . api . IDENT_3 . IDENT_4 . class ) ; doReturn ( true ) . when ( org . pentaho . platform . web . http . api . resources . services . IDENT_6 . IDENT_7 ) . METHOD_1 ( ) ; doReturn ( true ) . when ( org . pentaho . platform . web . http . api . resources . services . IDENT_6 . IDENT_7 ) . METHOD_2 ( anyString ( ) ) ; doReturn ( IDENT_5 ) . when ( org . pentaho . platform . web . http . api . resources . services . IDENT_6 . IDENT_7 ) . METHOD_3 ( IDENT_2 ) ; org . pentaho . platform . api . IDENT_3 . IDENT_4 job = org . pentaho . platform . web . http . api . resources . services . IDENT_6 . IDENT_7 . METHOD_4 ( IDENT_0 , IDENT_2 ) ; "<AssertPlaceHolder>" ; verify ( org . pentaho . platform . web . http . api . resources . services . IDENT_6 . IDENT_7 ) . METHOD_1 ( ) ; verify ( org . pentaho . platform . web . http . api . resources . services . IDENT_6 . IDENT_7 ) . METHOD_2 ( anyString ( ) ) ; verify ( org . pentaho . platform . web . http . api . resources . services . IDENT_6 . IDENT_7 ) . METHOD_3 ( IDENT_2 ) ; } METHOD_4 ( java . lang . String , org . pentaho . platform . web . http . api . resources . IDENT_1 ) { if ( METHOD_1 ( ) ) { boolean IDENT_8 = METHOD_2 ( IDENT_0 ) ; if ( IDENT_8 ) { org . pentaho . platform . api . IDENT_3 . IDENT_4 job = METHOD_3 ( IDENT_2 ) ; return job ; } } throw new java . lang . METHOD_5 ( ) ; } | org . junit . Assert . assertNotNull ( job ) |
METHOD_0 ( ) { org . pentaho . platform . api . engine . IDENT_0 service = mock ( org . pentaho . platform . api . engine . IDENT_0 . class ) ; org . pentaho . platform . engine . core . IDENT_1 . IDENT_2 . METHOD_1 ( service ) ; doReturn ( true ) . when ( IDENT_3 ) . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; org . pentaho . platform . engine . core . IDENT_1 . IDENT_2 . METHOD_3 ( ) ; } METHOD_4 ( ) { java . util . Collections . METHOD_5 ( IDENT_4 ) ; return IDENT_4 ; } | org . junit . Assert . assertNotNull ( IDENT_3 . METHOD_4 ( ) ) |
METHOD_0 ( ) { org . pentaho . platform . api . engine . IDENT_0 service = mock ( org . pentaho . platform . api . engine . IDENT_0 . class ) ; doReturn ( service ) . when ( IDENT_1 ) . METHOD_1 ( ) ; java . util . List < java . lang . String > IDENT_2 = new java . util . ArrayList < java . lang . String > ( ) ; IDENT_2 . add ( STRING_0 ) ; IDENT_2 . add ( STRING_1 ) ; IDENT_2 . add ( STRING_2 ) ; doReturn ( IDENT_2 ) . when ( service ) . METHOD_2 ( ) ; org . pentaho . platform . web . http . api . resources . IDENT_3 IDENT_4 = IDENT_1 . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { java . util . Collections . METHOD_4 ( IDENT_2 ) ; return IDENT_2 ; } | org . junit . Assert . assertTrue ( ( ( IDENT_4 . METHOD_3 ( ) . size ( ) ) == 3 ) ) |
METHOD_0 ( ) { java . util . List < java . lang . String > IDENT_0 = new java . util . ArrayList < java . lang . String > ( ) ; IDENT_0 . add ( STRING_0 ) ; IDENT_0 . add ( STRING_1 ) ; org . pentaho . platform . api . engine . IDENT_1 IDENT_2 = mock ( org . pentaho . platform . api . engine . IDENT_1 . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_3 ) . METHOD_1 ( ) ; doReturn ( IDENT_0 ) . when ( IDENT_2 ) . METHOD_2 ( ) ; org . pentaho . platform . web . http . api . resources . IDENT_4 IDENT_5 = IDENT_3 . METHOD_3 ( ) ; verify ( IDENT_3 ) . METHOD_1 ( ) ; verify ( IDENT_2 ) . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { java . util . Collections . METHOD_4 ( IDENT_0 ) ; return IDENT_0 ; } | org . junit . Assert . assertEquals ( IDENT_0 , IDENT_5 . METHOD_3 ( ) ) |
METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { return org . pentaho . platform . web . http . api . resources . utils . IDENT_0 . METHOD_1 ( text , null ) ; } | org . junit . Assert . assertNull ( org . pentaho . platform . web . http . api . resources . utils . IDENT_0 . METHOD_1 ( null ) ) |
METHOD_0 ( ) { org . pentaho . platform . web . http . context . IDENT_0 IDENT_1 = IDENT_2 . METHOD_1 ( STRING_0 , context ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , javax . servlet . IDENT_3 ) { return new org . pentaho . platform . web . http . context . METHOD_2 ( org . pentaho . platform . web . http . context . IDENT_4 . IDENT_5 , IDENT_6 , context . METHOD_3 ( "" ) , context ) ; } | org . junit . Assert . assertNotNull ( IDENT_1 ) |
METHOD_0 ( ) { IDENT_0 = new org . pentaho . platform . web . http . context . METHOD_1 ( STRING_0 , null , null ) ; org . pentaho . platform . api . engine . IDENT_1 IDENT_2 = mock ( org . pentaho . platform . api . engine . IDENT_1 . class ) ; when ( IDENT_2 . METHOD_2 ( eq ( "name" ) , anyString ( ) ) ) . thenReturn ( STRING_1 ) ; org . pentaho . platform . engine . core . IDENT_3 . IDENT_4 . METHOD_3 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return org . pentaho . platform . engine . core . IDENT_3 . IDENT_4 . METHOD_2 ( "name" , org . pentaho . platform . web . http . messages . IDENT_5 . getInstance ( ) . getString ( STRING_2 ) ) ; } | org . junit . Assert . assertEquals ( STRING_1 , IDENT_0 . METHOD_4 ( ) ) |
METHOD_0 ( ) { when ( this . IDENT_0 . METHOD_1 ( STRING_0 ) ) . thenReturn ( STRING_1 ) ; final java . lang . String response = METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String , java . lang . String ) { final boolean IDENT_1 = response . contains ( STRING_2 ) ; final java . lang . String IDENT_2 = ( IDENT_3 != null ) ? IDENT_3 : "" ; final boolean IDENT_4 = response . contains ( ( ( ( STRING_3 + ( IDENT_5 . IDENT_6 ) ) + STRING_4 ) + IDENT_2 ) ) ; return IDENT_1 && ( IDENT_4 == ( IDENT_3 != null ) ) ; } | org . junit . Assert . assertFalse ( this . METHOD_3 ( response , null ) ) |
METHOD_0 ( ) { when ( this . IDENT_0 . METHOD_1 ( STRING_0 ) ) . thenReturn ( STRING_1 ) ; final java . lang . String response = METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String , java . lang . String ) { final boolean IDENT_1 = response . contains ( STRING_2 ) ; final java . lang . String IDENT_2 = ( IDENT_3 != null ) ? IDENT_3 : "" ; final boolean IDENT_4 = response . contains ( ( ( ( STRING_3 + ( IDENT_5 . IDENT_6 ) ) + STRING_4 ) + IDENT_2 ) ) ; return IDENT_1 && ( IDENT_4 == ( IDENT_3 != null ) ) ; } | org . junit . Assert . assertTrue ( this . METHOD_3 ( response , null ) ) |
METHOD_0 ( ) { final java . lang . String response = METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String , java . lang . String ) { final boolean IDENT_0 = response . contains ( STRING_0 ) ; final java . lang . String IDENT_1 = ( IDENT_2 != null ) ? IDENT_2 : "" ; final boolean IDENT_3 = response . contains ( ( ( ( STRING_1 + ( IDENT_4 . IDENT_5 ) ) + STRING_2 ) + IDENT_1 ) ) ; return IDENT_0 && ( IDENT_3 == ( IDENT_2 != null ) ) ; } | org . junit . Assert . assertTrue ( this . METHOD_2 ( response , null ) ) |
METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; when ( this . IDENT_1 . METHOD_1 ( STRING_1 ) ) . thenReturn ( IDENT_0 ) ; final java . lang . String response = METHOD_2 ( ) ; java . lang . String expected = ( ( ( STRING_2 + ( STRING_3 + STRING_4 ) ) + IDENT_0 ) + STRING_5 ) + STRING_6 ; "<AssertPlaceHolder>" ; } contains ( java . lang . String ) { return org . pentaho . IDENT_2 . client . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . contains ( new org . pentaho . IDENT_2 . client . IDENT_3 . IDENT_4 . METHOD_3 ( IDENT_7 ) ) ; } | org . junit . Assert . assertTrue ( response . contains ( expected ) ) |
METHOD_0 ( ) { java . lang . Integer IDENT_0 = INT_0 ; doReturn ( IDENT_0 ) . when ( this . IDENT_1 ) . METHOD_1 ( ) ; java . lang . String response = METHOD_2 ( ) ; java . lang . String expected = ( ( ( ( ( ( ( ( ( STRING_0 + STRING_1 ) + IDENT_0 ) + STRING_2 0 ) + STRING_3 ) + STRING_4 ) + STRING_5 ) + STRING_2 ) + STRING_6 ) + STRING_7 ) + STRING_8 ; "<AssertPlaceHolder>" ; } contains ( java . lang . String ) { return org . pentaho . IDENT_2 . client . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . contains ( new org . pentaho . IDENT_2 . client . IDENT_3 . IDENT_4 . METHOD_3 ( IDENT_7 ) ) ; } | org . junit . Assert . assertTrue ( response . contains ( expected ) ) |
METHOD_0 ( ) { org . pentaho . platform . web . servlet . IDENT_0 service = METHOD_1 ( IDENT_1 ) ; METHOD_2 ( new java . io . IOException ( ) ) . when ( service ) . METHOD_3 ( request ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( javax . servlet . http . IDENT_2 ) { java . lang . String payload ; try { payload = METHOD_3 ( request ) ; } catch ( java . io . IOException e ) { if ( org . pentaho . platform . web . servlet . IDENT_0 . logger . METHOD_5 ( ) ) { org . pentaho . platform . web . servlet . IDENT_0 . logger . error ( e ) ; } return false ; } if ( ( null != payload ) && ( ( payload . length ( ) ) > 0 ) ) { java . util . Map parameters = METHOD_6 ( payload ) ; java . lang . Object obj = parameters . get ( STRING_0 ) ; if ( ( null != obj ) && ( obj . toString ( ) . equalsIgnoreCase ( STRING_1 ) ) ) { return true ; } } return false ; } | org . junit . Assert . assertFalse ( service . METHOD_4 ( request ) ) |
METHOD_0 ( ) { org . pentaho . platform . web . servlet . IDENT_0 service = METHOD_1 ( IDENT_1 ) ; METHOD_2 ( new java . io . IOException ( ) ) . when ( service ) . METHOD_3 ( request ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( javax . servlet . http . IDENT_2 ) { java . lang . String IDENT_3 = request . METHOD_5 ( STRING_0 ) ; if ( null != IDENT_3 ) { return IDENT_3 ; } java . lang . String payload ; try { payload = METHOD_3 ( request ) ; } catch ( java . io . IOException e ) { if ( org . pentaho . platform . web . servlet . IDENT_0 . logger . METHOD_6 ( ) ) { org . pentaho . platform . web . servlet . IDENT_0 . logger . error ( e ) ; } return null ; } if ( ( null != payload ) && ( ( payload . length ( ) ) > 0 ) ) { java . util . Map parameters = METHOD_7 ( payload ) ; java . lang . Object obj = parameters . get ( STRING_0 ) ; if ( null != obj ) { return obj . toString ( ) ; } } return null ; } | org . junit . Assert . assertNull ( service . METHOD_4 ( request ) ) |
METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String IDENT_1 = STRING_1 ; java . util . function . IDENT_2 < java . lang . String > IDENT_3 = ( s ) -> false ; when ( IDENT_4 . METHOD_1 ( IDENT_0 ) ) . thenReturn ( IDENT_1 ) ; javax . IDENT_5 . server . IDENT_6 . IDENT_7 IDENT_8 = IDENT_4 . METHOD_2 ( IDENT_0 , IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { java . lang . String IDENT_9 = METHOD_1 ( IDENT_10 ) ; if ( IDENT_9 . equals ( IDENT_11 ) ) { return true ; } if ( IDENT_3 != null ) { return IDENT_3 . test ( IDENT_11 ) ; } return false ; } | org . junit . Assert . assertTrue ( IDENT_8 . METHOD_3 ( STRING_1 ) ) |
METHOD_0 ( ) { org . apache . hadoop . hbase . client . IDENT_0 . LOG . info ( STRING_0 ) ; org . apache . hadoop . hbase . IDENT_1 . IDENT_2 rs = org . apache . hadoop . hbase . client . IDENT_0 . IDENT_3 . METHOD_1 ( org . apache . hadoop . hbase . client . IDENT_0 . IDENT_4 ) ; org . apache . hadoop . hbase . client . IDENT_5 IDENT_6 = new org . apache . hadoop . hbase . client . METHOD_2 ( ) ; org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( org . apache . hadoop . hbase . client . IDENT_0 . IDENT_3 . METHOD_3 ( ) ) ; conf . METHOD_4 ( IDENT_7 . IDENT_8 , ( ( org . apache . hadoop . hbase . client . IDENT_0 . IDENT_9 ) * 100 ) ) ; org . apache . hadoop . hbase . client . IDENT_10 connection = org . apache . hadoop . hbase . client . IDENT_11 . METHOD_5 ( conf ) ; org . apache . hadoop . hbase . client . IDENT_12 IDENT_13 = connection . METHOD_6 ( org . apache . hadoop . hbase . client . IDENT_0 . IDENT_4 ) ; org . apache . hadoop . hbase . client . IDENT_14 r = IDENT_13 . METHOD_7 ( IDENT_6 ) ; rs . METHOD_8 ( STRING_1 ) ; org . apache . hadoop . hbase . client . Result [ ] results = r . next ( org . apache . hadoop . hbase . client . IDENT_0 . IDENT_15 ) ; "<AssertPlaceHolder>" ; r . close ( ) ; IDENT_13 . close ( ) ; connection . close ( ) ; org . apache . hadoop . hbase . client . IDENT_0 . LOG . info ( STRING_2 ) ; } next ( org . apache . hadoop . io . IDENT_16 ) { key . METHOD_9 ( java . lang . Math . max ( org . apache . hadoop . hbase . io . IDENT_17 . IDENT_18 . IDENT_19 , IDENT_20 . METHOD_10 ( ) ) ) ; random . METHOD_11 ( key . get ( ) ) ; int IDENT_21 = 0 ; if ( ( max ) != ( min ) ) { IDENT_21 = random . METHOD_10 ( ( ( max ) - ( min ) ) ) ; } int n = IDENT_21 + ( min ) ; byte [ ] b = key . get ( ) ; b [ 0 ] = ( ( byte ) ( n > > INT_0 ) ) ; b [ 1 ] = ( ( byte ) ( n > > 16 ) ) ; b [ 2 ] = ( ( byte ) ( n > > 8 ) ) ; b [ 3 ] = ( ( byte ) ( n ) ) ; } | org . junit . Assert . assertEquals ( org . apache . hadoop . hbase . client . IDENT_0 . IDENT_15 , results . length ) |
METHOD_0 ( ) { METHOD_1 ( ) ; org . pentaho . platform . api . IDENT_0 . IDENT_1 IDENT_2 = IDENT_3 . METHOD_2 ( IDENT_4 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_7 , IDENT_8 , IDENT_9 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_10 ) ; IDENT_11 . METHOD_3 ( IDENT_2 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_12 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_13 , "" , new java . lang . String [ ] { IDENT_8 } ) ; METHOD_4 ( org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_12 , IDENT_2 , new java . lang . String [ ] { IDENT_8 , IDENT_9 } ) ; IDENT_11 . METHOD_3 ( IDENT_2 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_14 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_13 , "" , null ) ; IDENT_15 . METHOD_5 ( ) ; METHOD_4 ( org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_14 , IDENT_2 , new java . lang . String [ ] { IDENT_9 } ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_16 IDENT_17 = repo . METHOD_6 ( org . pentaho . platform . IDENT_5 . IDENT_18 . METHOD_7 ( org . pentaho . platform . engine . core . IDENT_19 . IDENT_20 . METHOD_8 ( ) . getName ( ) ) ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_16 IDENT_21 = new org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_16 . Builder ( "test" ) . METHOD_9 ( true ) . METHOD_10 ( true ) . build ( ) ; IDENT_21 = repo . METHOD_11 ( IDENT_17 . getId ( ) , IDENT_21 , null ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_22 IDENT_23 = repo . METHOD_12 ( IDENT_21 . getId ( ) ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_22 IDENT_24 = new org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_22 . Builder ( IDENT_23 ) . METHOD_13 ( false ) . METHOD_14 ( new org . pentaho . platform . api . IDENT_5 . IDENT_6 . METHOD_15 ( IDENT_25 . METHOD_16 ( IDENT_2 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_14 ) ) , IDENT_26 . IDENT_27 ) . build ( ) ; repo . METHOD_17 ( IDENT_24 ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_22 IDENT_28 = repo . METHOD_12 ( IDENT_21 . getId ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_18 ( ) { return java . util . Collections . METHOD_19 ( IDENT_29 ) ; } | org . junit . Assert . assertEquals ( 1 , IDENT_28 . METHOD_18 ( ) . size ( ) ) |
METHOD_0 ( ) { METHOD_1 ( ) ; org . pentaho . platform . api . IDENT_0 . IDENT_1 IDENT_2 = IDENT_3 . METHOD_2 ( IDENT_4 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_7 , IDENT_8 , IDENT_9 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_10 ) ; IDENT_11 . METHOD_3 ( IDENT_2 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_12 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_13 , "" , new java . lang . String [ ] { IDENT_8 } ) ; METHOD_4 ( org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_12 , IDENT_2 , new java . lang . String [ ] { IDENT_8 , IDENT_9 } ) ; IDENT_11 . METHOD_3 ( IDENT_2 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_14 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_13 , "" , null ) ; IDENT_15 . METHOD_5 ( ) ; METHOD_4 ( org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_14 , IDENT_2 , new java . lang . String [ ] { IDENT_9 } ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_16 IDENT_17 = repo . METHOD_6 ( org . pentaho . platform . IDENT_5 . IDENT_18 . METHOD_7 ( org . pentaho . platform . engine . core . IDENT_19 . IDENT_20 . METHOD_8 ( ) . getName ( ) ) ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_16 IDENT_21 = new org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_16 . Builder ( "test" ) . METHOD_9 ( true ) . METHOD_10 ( true ) . build ( ) ; IDENT_21 = repo . METHOD_11 ( IDENT_17 . getId ( ) , IDENT_21 , null ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_22 IDENT_23 = repo . METHOD_12 ( IDENT_21 . getId ( ) ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_22 . Builder IDENT_24 = new org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_22 . Builder ( IDENT_23 ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_25 IDENT_26 = new org . pentaho . platform . api . IDENT_5 . IDENT_6 . METHOD_13 ( IDENT_27 . METHOD_14 ( IDENT_2 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_28 ) ) ; IDENT_24 . METHOD_15 ( IDENT_26 ) ; repo . METHOD_16 ( IDENT_24 . build ( ) ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_22 IDENT_29 = repo . METHOD_12 ( IDENT_21 . getId ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_17 ( ) { return METHOD_15 ; } | org . junit . Assert . assertEquals ( new org . pentaho . platform . api . IDENT_5 . IDENT_6 . METHOD_13 ( IDENT_28 ) , IDENT_29 . METHOD_17 ( ) ) |
METHOD_0 ( ) { METHOD_1 ( ) ; org . pentaho . platform . api . IDENT_0 . IDENT_1 IDENT_2 = IDENT_3 . METHOD_2 ( IDENT_4 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_7 , IDENT_8 , IDENT_9 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_10 ) ; IDENT_11 . METHOD_3 ( IDENT_2 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_12 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_13 , "" , new java . lang . String [ ] { IDENT_8 } ) ; METHOD_4 ( org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_12 , IDENT_2 , new java . lang . String [ ] { IDENT_8 , IDENT_9 } ) ; IDENT_11 . METHOD_3 ( IDENT_2 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_14 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_13 , "" , new java . lang . String [ ] { IDENT_9 } ) ; IDENT_11 . METHOD_3 ( IDENT_2 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_15 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_13 , "" , new java . lang . String [ ] { IDENT_9 } ) ; IDENT_16 . METHOD_5 ( ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_17 IDENT_18 = repo . METHOD_6 ( org . pentaho . platform . IDENT_5 . IDENT_19 . METHOD_7 ( org . pentaho . platform . engine . core . IDENT_20 . IDENT_21 . METHOD_8 ( ) . getName ( ) ) ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_17 IDENT_22 = new org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_17 . Builder ( "test" ) . METHOD_9 ( true ) . METHOD_10 ( true ) . build ( ) ; IDENT_22 = repo . METHOD_11 ( IDENT_18 . getId ( ) , IDENT_22 , null ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_23 IDENT_24 = repo . METHOD_12 ( IDENT_22 . getId ( ) ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_23 . Builder IDENT_25 = new org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_23 . Builder ( IDENT_24 ) ; IDENT_25 . METHOD_13 ( false ) . METHOD_14 ( IDENT_26 . METHOD_15 ( IDENT_2 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_15 ) , IDENT_27 . Type . IDENT_28 , IDENT_29 . IDENT_30 ) ; repo . METHOD_16 ( IDENT_25 . build ( ) ) ; METHOD_4 ( org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_15 , IDENT_2 , new java . lang . String [ ] { IDENT_9 } ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_23 IDENT_31 = repo . METHOD_12 ( IDENT_22 . getId ( ) ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_23 . Builder IDENT_32 = new org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_23 . Builder ( IDENT_31 ) ; IDENT_32 . METHOD_14 ( new org . pentaho . platform . api . IDENT_5 . IDENT_6 . METHOD_17 ( IDENT_26 . METHOD_15 ( IDENT_2 , IDENT_9 ) , METHOD_17 . Type . IDENT_33 ) , IDENT_29 . IDENT_30 , IDENT_29 . IDENT_34 , IDENT_29 . IDENT_35 ) ; try { repo . METHOD_16 ( IDENT_32 . build ( ) ) ; org . junit . Assert . fail ( ) ; } catch ( org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_36 e ) { "<AssertPlaceHolder>" ; } } build ( ) { return new org . pentaho . platform . api . IDENT_5 . IDENT_6 . METHOD_18 ( id , IDENT_37 , this . METHOD_13 , this . IDENT_38 ) ; } | org . junit . Assert . assertNotNull ( e ) |
METHOD_0 ( ) { METHOD_1 ( ) ; org . pentaho . platform . api . IDENT_0 . IDENT_1 IDENT_2 = IDENT_3 . METHOD_2 ( IDENT_4 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_7 , IDENT_8 , IDENT_9 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_10 ) ; IDENT_11 . METHOD_3 ( IDENT_2 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_12 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_13 , "" , new java . lang . String [ ] { IDENT_8 } ) ; METHOD_4 ( org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_12 , IDENT_2 , new java . lang . String [ ] { IDENT_8 , IDENT_9 } ) ; IDENT_11 . METHOD_3 ( IDENT_2 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_14 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_13 , "" , null ) ; METHOD_4 ( org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_14 , IDENT_2 , new java . lang . String [ ] { IDENT_9 } ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_15 IDENT_16 = repo . METHOD_5 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . String ) { org . pentaho . test . platform . IDENT_5 . IDENT_6 . IDENT_17 . IDENT_18 r = root . METHOD_6 ( path ) ; if ( r != null ) { if ( ! ( METHOD_7 ( r . METHOD_5 ( ) . getId ( ) , java . util . IDENT_19 . of ( org . pentaho . test . platform . IDENT_5 . IDENT_6 . IDENT_20 ) ) ) ) { return null ; } return r . METHOD_5 ( ) ; } return null ; } | org . junit . Assert . assertNull ( IDENT_16 ) |
METHOD_0 ( ) { METHOD_1 ( ) ; org . pentaho . platform . api . IDENT_0 . IDENT_1 IDENT_2 = IDENT_3 . METHOD_2 ( IDENT_4 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_7 , IDENT_8 , IDENT_9 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_10 ) ; IDENT_11 . METHOD_3 ( IDENT_2 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_12 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_13 , "" , new java . lang . String [ ] { IDENT_8 } ) ; METHOD_4 ( org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_12 , IDENT_2 , new java . lang . String [ ] { IDENT_8 , IDENT_9 } ) ; IDENT_11 . METHOD_3 ( IDENT_2 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_14 , org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_13 , "" , null ) ; METHOD_4 ( org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_14 , IDENT_2 , new java . lang . String [ ] { IDENT_9 } ) ; final java . lang . String IDENT_15 = org . pentaho . platform . IDENT_5 . IDENT_16 . METHOD_5 ( org . pentaho . platform . IDENT_5 . IDENT_6 . IDENT_14 ) ; java . lang . String IDENT_17 = STRING_0 ; java . lang . String IDENT_18 = STRING_1 ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_19 IDENT_20 = METHOD_6 ( IDENT_15 , STRING_2 , IDENT_17 , true , 1 , true ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_19 IDENT_21 = METHOD_6 ( IDENT_15 , STRING_3 , IDENT_18 , true , 1 , true ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_19 . Builder builder = new org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_19 . Builder ( IDENT_20 ) ; builder . METHOD_7 ( ( ( java . lang . String ) ( IDENT_21 . getId ( ) ) ) ) ; final java . lang . String IDENT_22 = STRING_4 ; final java . lang . String IDENT_23 = STRING_5 ; final java . lang . String IDENT_24 = STRING_6 ; byte [ ] data = IDENT_23 . getBytes ( IDENT_24 ) ; java . io . ByteArrayInputStream IDENT_25 = new java . io . ByteArrayInputStream ( data ) ; final org . pentaho . platform . api . IDENT_5 . IDENT_6 . data . simple . IDENT_26 content = new org . pentaho . platform . api . IDENT_5 . IDENT_6 . data . simple . METHOD_8 ( IDENT_25 , IDENT_24 , IDENT_22 ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_19 IDENT_27 = repo . METHOD_9 ( builder . build ( ) , content , null ) ; org . pentaho . platform . api . IDENT_5 . IDENT_6 . IDENT_19 IDENT_28 = repo . METHOD_10 ( IDENT_27 . getId ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( ) { return METHOD_7 ; } | org . junit . Assert . assertEquals ( IDENT_28 . METHOD_11 ( ) , IDENT_21 . getId ( ) ) |
METHOD_0 ( ) { METHOD_1 ( ) ; METHOD_2 ( ) ; try { repo . METHOD_3 ( IDENT_0 . getId ( ) , true , STRING_0 ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( java . lang . Exception e ) { "<AssertPlaceHolder>" ; } } METHOD_4 ( java . lang . String ) { org . pentaho . test . platform . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 r = root . METHOD_5 ( path ) ; if ( r != null ) { if ( ! ( METHOD_6 ( r . METHOD_4 ( ) . getId ( ) , java . util . IDENT_5 . of ( org . pentaho . test . platform . IDENT_1 . IDENT_2 . IDENT_6 ) ) ) ) { return null ; } return r . METHOD_4 ( ) ; } return null ; } | org . junit . Assert . assertTrue ( ( ( repo . METHOD_4 ( IDENT_0 . getPath ( ) ) ) != null ) ) |
METHOD_0 ( ) { java . lang . String [ ] IDENT_0 = new java . lang . String [ ] { STRING_0 , STRING_1 , STRING_2 , STRING_3 } ; for ( java . lang . String tableName : IDENT_0 ) { try { org . apache . hadoop . hbase . client . IDENT_1 table = org . apache . hadoop . hbase . client . IDENT_2 . IDENT_3 . METHOD_1 ( ) . METHOD_2 ( org . apache . hadoop . hbase . IDENT_4 . valueOf ( tableName ) ) ; METHOD_3 ( table , true , 1 , 5 ) ; org . junit . Assert . fail ( STRING_4 ) ; } catch ( org . apache . hadoop . hbase . IDENT_5 e ) { "<AssertPlaceHolder>" ; } catch ( java . lang . Exception e ) { org . junit . Assert . fail ( ( STRING_5 + ( e . getMessage ( ) ) ) ) ; } } } getMessage ( ) { return ( ( ( ( ( ( ( ( ( ( ( STRING_6 + ( org . apache . hadoop . hbase . exceptions . IDENT_6 . IDENT_7 ) ) + ( IDENT_8 ) ) + " " ) + ( org . apache . hadoop . hbase . exceptions . IDENT_6 . IDENT_9 ) ) + ( port ) ) + " " ) + ( org . apache . hadoop . hbase . exceptions . IDENT_6 . IDENT_10 ) ) + ( IDENT_11 ) ) + STRING_7 ) + ( org . apache . hadoop . hbase . exceptions . IDENT_6 . IDENT_12 ) ) + ( IDENT_13 ) ) + STRING_8 ; } | org . junit . Assert . assertEquals ( e . getMessage ( ) , tableName ) |
METHOD_0 ( ) { METHOD_1 ( ) ; METHOD_2 ( ) ; helper . METHOD_3 ( IDENT_0 , null ) ; repo . METHOD_4 ( IDENT_0 . getId ( ) , true , STRING_0 ) ; java . lang . Throwable IDENT_1 = null ; try { repo . METHOD_5 ( IDENT_0 . getPath ( ) ) ; } catch ( java . lang . Throwable e ) { while ( e != null ) { if ( e instanceof javax . jcr . IDENT_2 ) { IDENT_1 = e ; e = null ; } else { e = e . METHOD_6 ( ) ; } } } "<AssertPlaceHolder>" ; } getPath ( ) { return path ; } | org . junit . Assert . assertNotNull ( IDENT_1 ) |
METHOD_0 ( ) { METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { return METHOD_3 ( ) . METHOD_2 ( METHOD_4 ( IDENT_0 ) ) ; } | org . junit . Assert . assertNull ( helper . METHOD_2 ( null ) ) |
METHOD_0 ( ) { METHOD_1 ( ) ; org . pentaho . platform . api . IDENT_0 . IDENT_1 IDENT_2 = IDENT_3 . METHOD_2 ( IDENT_4 , org . pentaho . test . platform . security . IDENT_5 . IDENT_6 . IDENT_7 , IDENT_8 , IDENT_9 , org . pentaho . test . platform . security . IDENT_5 . IDENT_10 ) ; IDENT_11 . METHOD_3 ( IDENT_2 , org . pentaho . test . platform . security . IDENT_5 . IDENT_12 , org . pentaho . test . platform . security . IDENT_5 . IDENT_13 , "" , new java . lang . String [ ] { IDENT_8 } ) ; METHOD_4 ( org . pentaho . test . platform . security . IDENT_5 . IDENT_12 , IDENT_2 , new java . lang . String [ ] { IDENT_8 , IDENT_9 } ) ; org . pentaho . platform . api . engine . security . IDENT_5 . IDENT_14 IDENT_15 = IDENT_11 . METHOD_3 ( IDENT_2 , org . pentaho . test . platform . security . IDENT_5 . IDENT_6 . IDENT_16 , org . pentaho . test . platform . security . IDENT_5 . IDENT_6 . IDENT_17 , org . pentaho . test . platform . security . IDENT_5 . IDENT_6 . IDENT_18 , null ) ; org . pentaho . platform . security . IDENT_5 . service . IDENT_19 IDENT_20 = new org . pentaho . platform . security . IDENT_5 . service . METHOD_5 ( ) ; IDENT_20 . METHOD_6 ( IDENT_11 ) ; try { IDENT_20 . METHOD_7 ( org . pentaho . test . platform . security . IDENT_5 . IDENT_6 . IDENT_16 ) ; } catch ( org . springframework . security . core . IDENT_21 . IDENT_22 IDENT_23 ) { "<AssertPlaceHolder>" ; } METHOD_8 ( IDENT_2 ) ; } METHOD_7 ( java . lang . String ) { return this . delegate . METHOD_7 ( METHOD_9 ( s ) ) ; } | org . junit . Assert . assertNotNull ( IDENT_23 ) |
METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final java . lang . String IDENT_1 = STRING_1 ; final java . lang . String IDENT_2 = STRING_2 ; org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_5 repo = mock ( org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_5 . class ) ; doReturn ( new org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_6 . Builder ( STRING_3 , STRING_4 ) . METHOD_1 ( true ) . build ( ) ) . when ( repo ) . METHOD_2 ( IDENT_1 ) ; doReturn ( org . pentaho . platform . repository . IDENT_7 . IDENT_8 ) . when ( repo ) . METHOD_3 ( ) ; org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_6 f = new org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_6 . Builder ( IDENT_0 , ( ( org . pentaho . platform . repository . IDENT_7 . IDENT_9 ) + IDENT_2 ) ) . path ( ( ( ( IDENT_1 + ( org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_6 . IDENT_10 ) ) + ( org . pentaho . platform . repository . IDENT_7 . IDENT_9 ) ) + IDENT_2 ) ) . build ( ) ; doReturn ( f ) . when ( repo ) . METHOD_2 ( ( ( ( IDENT_1 + ( org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_6 . IDENT_10 ) ) + ( org . pentaho . platform . repository . IDENT_7 . IDENT_9 ) ) + IDENT_2 ) ) ; final java . lang . String IDENT_11 = STRING_5 ; org . pentaho . platform . api . IDENT_3 . IDENT_4 . data . node . IDENT_12 IDENT_13 = new org . pentaho . platform . api . IDENT_3 . IDENT_4 . data . node . METHOD_4 ( STRING_4 0 ) ; IDENT_13 . setProperty ( STRING_6 , STRING_7 ) ; IDENT_13 . setProperty ( STRING_8 , IDENT_11 ) ; IDENT_13 . METHOD_5 ( STRING_9 ) ; doReturn ( new org . pentaho . platform . api . IDENT_3 . IDENT_4 . data . node . METHOD_6 ( IDENT_13 ) ) . when ( repo ) . METHOD_7 ( eq ( IDENT_0 ) , eq ( org . pentaho . platform . api . IDENT_3 . IDENT_4 . data . node . METHOD_6 . class ) ) ; org . pentaho . platform . api . repository . IDENT_14 . IDENT_15 IDENT_16 = new org . pentaho . platform . repository . METHOD_8 ( repo , new org . pentaho . database . service . METHOD_9 ( ) ) ; org . pentaho . database . model . IDENT_17 conn = IDENT_16 . METHOD_10 ( org . pentaho . platform . repository . IDENT_7 . IDENT_9 ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( ) { return IDENT_18 ; } | org . junit . Assert . assertEquals ( IDENT_11 , conn . METHOD_11 ( ) ) |
METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final java . lang . String IDENT_1 = STRING_1 ; final java . lang . String IDENT_2 = STRING_2 ; final javax . jcr . IDENT_3 IDENT_4 = mock ( javax . jcr . IDENT_3 . class ) ; when ( IDENT_4 . getString ( ) ) . thenReturn ( IDENT_1 ) ; final javax . jcr . Node IDENT_5 = mock ( javax . jcr . Node . class ) ; when ( IDENT_5 . getProperty ( eq ( IDENT_6 . METHOD_1 ( ) ) ) ) . thenReturn ( IDENT_4 ) ; when ( IDENT_5 . METHOD_2 ( eq ( IDENT_6 . METHOD_1 ( ) ) ) ) . thenReturn ( true ) ; final javax . jcr . Node node = mock ( javax . jcr . Node . class ) ; when ( session . METHOD_3 ( eq ( IDENT_0 ) ) ) . thenReturn ( node ) ; when ( node . METHOD_4 ( ) ) . thenReturn ( IDENT_5 ) ; when ( IDENT_7 . METHOD_5 ( eq ( IDENT_1 ) ) ) . thenReturn ( IDENT_2 ) ; try { final java . lang . String IDENT_8 = IDENT_9 . METHOD_6 ( session , IDENT_6 , IDENT_0 ) ; "<AssertPlaceHolder>" ; } catch ( java . lang . Exception e ) { e . printStackTrace ( ) ; org . junit . Assert . fail ( ) ; } } METHOD_6 ( javax . jcr . IDENT_10 , org . pentaho . platform . IDENT_11 . IDENT_12 . jcr . IDENT_13 , java . io . IDENT_14 ) { return org . pentaho . platform . IDENT_11 . IDENT_12 . jcr . IDENT_15 . METHOD_7 ( METHOD_6 ( session , IDENT_6 , session . METHOD_3 ( IDENT_16 . toString ( ) ) , false ) ) ; } | org . junit . Assert . assertEquals ( IDENT_2 , IDENT_8 ) |
METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( anyString ( ) ) ) . thenReturn ( null ) ; try { java . lang . String IDENT_1 = org . pentaho . platform . IDENT_2 . IDENT_3 . jcr . IDENT_4 . METHOD_2 ( IDENT_5 , IDENT_6 , IDENT_7 ) ; "<AssertPlaceHolder>" ; } catch ( java . lang . Exception e ) { org . junit . Assert . fail ( ( STRING_0 + e ) ) ; } } METHOD_2 ( javax . jcr . IDENT_8 , org . pentaho . platform . IDENT_2 . IDENT_3 . jcr . IDENT_9 , javax . jcr . Node ) { if ( node . METHOD_3 ( IDENT_10 . METHOD_4 ( ) ) ) { return org . pentaho . platform . IDENT_2 . IDENT_3 . jcr . IDENT_11 . METHOD_5 ( node . METHOD_6 ( ) . getName ( ) ) ; } javax . jcr . version . IDENT_12 version = org . pentaho . platform . IDENT_2 . IDENT_3 . jcr . IDENT_4 . METHOD_1 ( session , node ) ; return version != null ? org . pentaho . platform . IDENT_2 . IDENT_3 . jcr . IDENT_11 . METHOD_5 ( version . getName ( ) ) : null ; } | org . junit . Assert . assertNull ( IDENT_1 ) |
METHOD_0 ( ) { org . apache . hadoop . hbase . IDENT_0 tableName = org . apache . hadoop . hbase . IDENT_0 . valueOf ( name . METHOD_1 ( ) ) ; org . apache . hadoop . hbase . client . IDENT_1 . IDENT_2 . METHOD_2 ( tableName , org . apache . hadoop . hbase . client . IDENT_1 . IDENT_3 ) ; org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( org . apache . hadoop . hbase . client . IDENT_1 . IDENT_2 . METHOD_3 ( ) ) ; conf . set ( org . apache . hadoop . hbase . IDENT_4 . IDENT_5 , "" ) ; conf . set ( org . apache . hadoop . hbase . client . IDENT_6 , "" ) ; try ( org . apache . hadoop . hbase . client . IDENT_7 connection = org . apache . hadoop . hbase . client . IDENT_8 . METHOD_4 ( conf ) ; org . apache . hadoop . hbase . client . IDENT_9 table = connection . METHOD_5 ( tableName ) ) { org . apache . hadoop . hbase . client . IDENT_10 delete = new org . apache . hadoop . hbase . client . METHOD_6 ( org . apache . hadoop . hbase . client . IDENT_1 . IDENT_11 ) ; delete . METHOD_7 ( org . apache . hadoop . hbase . client . IDENT_1 . IDENT_3 , 0L ) ; table . delete ( delete ) ; org . apache . hadoop . hbase . client . IDENT_12 IDENT_13 = new org . apache . hadoop . hbase . client . METHOD_8 ( org . apache . hadoop . hbase . client . IDENT_1 . IDENT_11 ) . METHOD_9 ( true ) ; org . apache . hadoop . hbase . client . IDENT_14 IDENT_15 = table . METHOD_10 ( IDENT_13 ) ; int count = 0 ; while ( ( IDENT_15 . next ( ) ) != null ) { count ++ ; } "<AssertPlaceHolder>" ; } finally { org . apache . hadoop . hbase . client . IDENT_1 . IDENT_2 . METHOD_11 ( tableName ) ; } } next ( ) { throw new java . util . METHOD_12 ( STRING_0 ) ; } | org . junit . Assert . assertEquals ( 1 , count ) |
METHOD_0 ( ) { javax . jcr . version . IDENT_0 version = mock ( javax . jcr . version . IDENT_0 . class ) ; when ( version . getName ( ) ) . thenReturn ( org . pentaho . platform . IDENT_1 . IDENT_2 . jcr . IDENT_3 . IDENT_4 ) ; when ( IDENT_5 . METHOD_1 ( anyString ( ) ) ) . thenReturn ( version ) ; try { java . lang . String IDENT_6 = org . pentaho . platform . IDENT_1 . IDENT_2 . jcr . IDENT_7 . METHOD_2 ( IDENT_8 , IDENT_9 , IDENT_10 ) ; "<AssertPlaceHolder>" ; } catch ( java . lang . Exception e ) { org . junit . Assert . fail ( ( STRING_0 + e ) ) ; } } equals ( java . lang . Object ) { if ( ( this ) == obj ) { return true ; } if ( obj == null ) { return false ; } if ( ( getClass ( ) ) != ( obj . getClass ( ) ) ) { return false ; } org . pentaho . platform . api . IDENT_1 . IDENT_2 . IDENT_11 other = ( ( org . pentaho . platform . api . IDENT_1 . IDENT_2 . IDENT_11 ) ( obj ) ) ; if ( ( this . getId ( ) ) == null ) { if ( ( other . getId ( ) ) != null ) { return false ; } else if ( ( this . getPath ( ) ) != null ) { if ( ! ( other . getPath ( ) . equals ( this . getPath ( ) ) ) ) { return false ; } } } else if ( ! ( this . getId ( ) . equals ( other . getId ( ) ) ) ) { return false ; } if ( ( this . METHOD_3 ( ) ) == null ) { if ( ( other . METHOD_3 ( ) ) != null ) { return false ; } } else if ( ! ( this . METHOD_3 ( ) . equals ( other . METHOD_3 ( ) ) ) ) { return false ; } if ( ( this . METHOD_2 ( ) ) == null ) { if ( ( other . METHOD_2 ( ) ) != null ) { return false ; } } else if ( ! ( this . METHOD_2 ( ) . equals ( other . METHOD_2 ( ) ) ) ) { return false ; } return true ; } | org . junit . Assert . assertTrue ( org . pentaho . platform . IDENT_1 . IDENT_2 . jcr . IDENT_3 . IDENT_4 . equals ( IDENT_6 ) ) |
METHOD_0 ( ) { org . pentaho . platform . IDENT_0 . IDENT_1 . jcr . IDENT_2 . IDENT_3 . info ( STRING_0 ) ; try { org . pentaho . platform . api . IDENT_0 . IDENT_1 . data . node . IDENT_4 IDENT_5 = org . pentaho . platform . IDENT_0 . IDENT_1 . jcr . IDENT_6 . METHOD_1 ( STRING_1 ) ; "<AssertPlaceHolder>" ; } catch ( java . lang . Exception e ) { org . junit . Assert . fail ( ) ; } } getName ( ) { return name ; } | org . junit . Assert . assertTrue ( STRING_1 . equals ( IDENT_5 . getName ( ) ) ) |
METHOD_0 ( ) { java . security . IDENT_0 IDENT_1 = METHOD_1 ( null , mock ( org . springframework . security . core . IDENT_2 . IDENT_3 . class ) ) ; "<AssertPlaceHolder>" ; verify ( provider , METHOD_2 ( ) ) . METHOD_3 ( org . pentaho . platform . IDENT_4 . IDENT_5 . jcr . jackrabbit . security . IDENT_6 . IDENT_7 ) ; } getName ( ) { return name ; } | org . junit . Assert . assertEquals ( org . pentaho . platform . IDENT_4 . IDENT_5 . jcr . jackrabbit . security . IDENT_6 . IDENT_7 , IDENT_1 . getName ( ) ) |
METHOD_0 ( ) { java . security . IDENT_0 IDENT_1 = METHOD_1 ( Boolean . IDENT_2 , mock ( org . springframework . security . core . IDENT_3 . IDENT_4 . class ) ) ; "<AssertPlaceHolder>" ; verify ( provider , METHOD_2 ( ) ) . METHOD_3 ( org . pentaho . platform . IDENT_5 . IDENT_6 . jcr . jackrabbit . security . IDENT_7 . IDENT_8 ) ; } getName ( ) { return name ; } | org . junit . Assert . assertEquals ( org . pentaho . platform . IDENT_5 . IDENT_6 . jcr . jackrabbit . security . IDENT_7 . IDENT_8 , IDENT_1 . getName ( ) ) |
METHOD_0 ( ) { java . security . IDENT_0 IDENT_1 = METHOD_1 ( Boolean . IDENT_2 , null ) ; "<AssertPlaceHolder>" ; verify ( provider , times ( 1 ) ) . METHOD_2 ( org . pentaho . platform . IDENT_3 . IDENT_4 . jcr . jackrabbit . security . IDENT_5 . IDENT_6 ) ; } METHOD_1 ( java . lang . Boolean , org . springframework . security . core . IDENT_7 . IDENT_8 ) { return IDENT_9 != null ? METHOD_3 ( IDENT_9 . toString ( ) , IDENT_10 ) : METHOD_3 ( null , IDENT_10 ) ; } | org . junit . Assert . assertNull ( IDENT_1 ) |
METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; IDENT_1 . METHOD_1 ( IDENT_0 , java . util . Arrays . asList ( new java . lang . String [ ] { org . pentaho . platform . security . policy . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 , org . pentaho . platform . security . policy . IDENT_2 . IDENT_3 . IDENT_6 . IDENT_5 , org . pentaho . platform . security . policy . IDENT_2 . IDENT_3 . IDENT_7 . IDENT_5 } ) ) ; java . util . List < java . lang . String > IDENT_8 = policy . METHOD_2 ( STRING_1 ) ; "<AssertPlaceHolder>" ; } size ( ) { return METHOD_3 ( ) . size ( ) ; } | org . junit . Assert . assertEquals ( 3 , IDENT_8 . size ( ) ) |
METHOD_0 ( ) { org . pentaho . platform . IDENT_0 . IDENT_1 . jackrabbit . security . IDENT_2 IDENT_3 = new org . pentaho . platform . IDENT_0 . IDENT_1 . jackrabbit . security . METHOD_1 ( ) ; java . lang . String IDENT_4 = STRING_0 ; java . lang . String IDENT_5 = new org . pentaho . test . platform . security . IDENT_1 . ws . IDENT_6 . METHOD_2 ( ) . METHOD_3 ( IDENT_4 , null ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . lang . String , java . lang . String , java . lang . Object ) { try { org . apache . commons . lang . IDENT_7 . METHOD_5 ( IDENT_8 , org . pentaho . platform . engine . security . messages . IDENT_9 . getInstance ( ) . getString ( STRING_1 ) ) ; org . apache . commons . lang . IDENT_7 . METHOD_5 ( IDENT_10 , org . pentaho . platform . engine . security . messages . IDENT_9 . getInstance ( ) . getString ( STRING_2 ) ) ; } catch ( java . lang . IllegalArgumentException e ) { return false ; } try { org . apache . jackrabbit . core . security . authentication . IDENT_11 IDENT_12 = new org . apache . jackrabbit . core . security . authentication . METHOD_6 ( STRING_3 , IDENT_8 ) ; return IDENT_12 . matches ( new javax . jcr . METHOD_7 ( STRING_3 , IDENT_10 . METHOD_8 ( ) ) ) ; } catch ( java . lang . Exception e ) { throw new java . lang . RuntimeException ( e ) ; } } | org . junit . Assert . assertTrue ( IDENT_3 . METHOD_4 ( IDENT_5 , IDENT_4 , null ) ) |
METHOD_0 ( ) { org . pentaho . platform . security . IDENT_0 . ws . IDENT_1 service = METHOD_1 ( ) ; METHOD_2 ( true ) ; org . pentaho . platform . security . IDENT_0 . ws . IDENT_2 [ ] IDENT_3 = service . METHOD_3 ( IDENT_4 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { return org . pentaho . platform . web . http . api . resources . services . IDENT_5 . METHOD_4 ( ) . METHOD_3 ( user ) ; } | org . junit . Assert . assertEquals ( 1 , IDENT_3 . length ) |
METHOD_0 ( ) { org . apache . hadoop . hbase . IDENT_0 tableName = org . apache . hadoop . hbase . IDENT_0 . valueOf ( name . METHOD_1 ( ) ) ; try ( org . apache . hadoop . hbase . client . IDENT_1 table = org . apache . hadoop . hbase . client . IDENT_2 . IDENT_3 . METHOD_2 ( tableName , org . apache . hadoop . hbase . client . IDENT_2 . IDENT_4 , 4 ) ) { for ( int i = 0 ; i < 4 ; i ++ ) { org . apache . hadoop . hbase . client . IDENT_5 put = new org . apache . hadoop . hbase . client . METHOD_3 ( org . apache . hadoop . hbase . client . IDENT_2 . IDENT_6 ) ; put . METHOD_4 ( org . apache . hadoop . hbase . client . IDENT_2 . IDENT_4 , org . apache . hadoop . hbase . client . IDENT_2 . IDENT_7 , org . apache . hadoop . hbase . client . IDENT_2 . IDENT_8 ) ; table . put ( put ) ; } org . apache . hadoop . hbase . client . IDENT_9 IDENT_10 = new org . apache . hadoop . hbase . client . METHOD_5 ( ) ; IDENT_10 . METHOD_4 ( org . apache . hadoop . hbase . client . IDENT_2 . IDENT_4 , org . apache . hadoop . hbase . client . IDENT_2 . IDENT_7 ) ; IDENT_10 . METHOD_6 ( new org . apache . hadoop . hbase . filter . METHOD_7 ( org . apache . hadoop . hbase . IDENT_11 . IDENT_12 , new org . apache . hadoop . hbase . filter . METHOD_8 ( org . apache . hadoop . hbase . client . IDENT_2 . IDENT_7 ) ) ) ; IDENT_10 . METHOD_9 ( 3 ) ; try ( org . apache . hadoop . hbase . client . IDENT_13 IDENT_14 = table . METHOD_10 ( IDENT_10 ) ) { org . apache . hadoop . hbase . client . Result result = IDENT_14 . next ( ) ; "<AssertPlaceHolder>" ; } } } size ( ) { return 0 ; } | org . junit . Assert . assertEquals ( 3 , result . size ( ) ) |
METHOD_0 ( ) { org . pentaho . platform . security . IDENT_0 . ws . IDENT_1 service = METHOD_1 ( ) ; METHOD_2 ( true ) ; org . pentaho . platform . security . IDENT_0 . ws . IDENT_2 [ ] IDENT_3 = service . METHOD_3 ( IDENT_4 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . pentaho . platform . security . IDENT_0 . ws . IDENT_5 ) { java . util . ArrayList < org . pentaho . platform . security . IDENT_0 . ws . IDENT_2 > IDENT_6 = new java . util . ArrayList < org . pentaho . platform . security . IDENT_0 . ws . IDENT_2 > ( ) ; org . pentaho . platform . api . engine . security . IDENT_0 . IDENT_7 IDENT_8 = METHOD_4 ( ) . METHOD_5 ( IDENT_9 . METHOD_6 ( ) , IDENT_9 . getName ( ) ) ; if ( IDENT_8 != null ) { for ( org . pentaho . platform . api . engine . security . IDENT_0 . IDENT_10 user : METHOD_4 ( ) . METHOD_7 ( IDENT_9 . METHOD_6 ( ) , IDENT_9 . getName ( ) ) ) { IDENT_6 . add ( org . pentaho . platform . security . IDENT_0 . ws . IDENT_11 . METHOD_8 ( user ) ) ; } } else { throw new org . pentaho . platform . security . IDENT_0 . ws . METHOD_9 ( org . pentaho . platform . security . IDENT_0 . messages . IDENT_12 . getInstance ( ) . METHOD_10 ( STRING_0 , IDENT_9 . getName ( ) ) ) ; } return IDENT_6 . toArray ( new org . pentaho . platform . security . IDENT_0 . ws . IDENT_2 [ 0 ] ) ; } | org . junit . Assert . assertEquals ( 1 , IDENT_3 . length ) |
METHOD_0 ( ) { org . IDENT_0 . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( org . IDENT_0 . IDENT_1 . class ) ; org . pentaho . platform . api . IDENT_3 . IDENT_4 job = new org . pentaho . platform . api . IDENT_3 . METHOD_1 ( ) ; org . pentaho . platform . IDENT_3 . IDENT_0 . IDENT_5 IDENT_6 = new org . pentaho . platform . IDENT_3 . IDENT_0 . METHOD_2 ( ) ; long IDENT_7 = new java . util . Date ( ) . getTime ( ) ; long IDENT_8 = IDENT_7 + INT_0 ; org . mockito . Mockito . when ( IDENT_2 . METHOD_3 ( ) ) . thenReturn ( new java . util . Date ( IDENT_8 ) ) ; org . mockito . Mockito . when ( IDENT_2 . METHOD_4 ( any ( ) ) ) . thenReturn ( new java . util . Date ( IDENT_7 ) ) ; IDENT_6 . METHOD_5 ( job , IDENT_2 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { return IDENT_9 ; } | org . junit . Assert . assertEquals ( new java . util . Date ( IDENT_8 ) , job . METHOD_6 ( ) ) |
METHOD_0 ( ) { org . IDENT_0 . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( org . IDENT_0 . IDENT_1 . class ) ; org . pentaho . platform . api . IDENT_3 . IDENT_4 job = new org . pentaho . platform . api . IDENT_3 . METHOD_1 ( ) ; org . pentaho . platform . IDENT_3 . IDENT_0 . IDENT_5 IDENT_6 = new org . pentaho . platform . IDENT_3 . IDENT_0 . METHOD_2 ( ) ; long IDENT_7 = new java . util . Date ( ) . getTime ( ) ; org . mockito . Mockito . when ( IDENT_2 . METHOD_3 ( ) ) . thenReturn ( null ) ; org . mockito . Mockito . when ( IDENT_2 . METHOD_4 ( any ( ) ) ) . thenReturn ( new java . util . Date ( IDENT_7 ) ) ; IDENT_6 . METHOD_5 ( job , IDENT_2 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { return IDENT_8 ; } | org . junit . Assert . assertEquals ( null , job . METHOD_6 ( ) ) |
METHOD_0 ( ) { java . util . Map < java . lang . String , java . lang . String [ ] > IDENT_0 = new java . util . HashMap < java . lang . String , java . lang . String [ ] > ( ) ; IDENT_0 . put ( org . pentaho . test . platform . web . http . api . resources . IDENT_1 . IDENT_2 , new java . lang . String [ ] { org . pentaho . test . platform . web . http . api . resources . IDENT_1 . IDENT_3 } ) ; javax . servlet . http . IDENT_4 request = mock ( javax . servlet . http . IDENT_4 . class ) ; when ( request . METHOD_1 ( ) ) . thenReturn ( IDENT_0 ) ; javax . ws . rs . core . IDENT_5 < java . lang . String , java . lang . String > IDENT_6 = new com . sun . jersey . core . util . METHOD_2 ( ) ; java . util . Map < java . lang . String , java . lang . String [ ] > IDENT_7 = org . pentaho . platform . web . http . api . resources . IDENT_8 . METHOD_3 ( IDENT_6 , request ) . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } get ( java . lang . Object ) { return cache . get ( o ) ; } | org . junit . Assert . assertEquals ( org . pentaho . test . platform . web . http . api . resources . IDENT_1 . IDENT_3 , IDENT_7 . get ( org . pentaho . test . platform . web . http . api . resources . IDENT_1 . IDENT_2 ) [ 0 ] ) |
METHOD_0 ( ) { IDENT_0 . METHOD_1 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return properties . getProperty ( STRING_1 ) ; } | org . junit . Assert . assertEquals ( STRING_0 , IDENT_0 . METHOD_2 ( ) ) |
METHOD_0 ( ) { org . apache . hadoop . hbase . IDENT_0 IDENT_1 = org . apache . hadoop . hbase . IDENT_0 . valueOf ( name . METHOD_1 ( ) ) ; org . apache . hadoop . hbase . client . IDENT_2 conn = org . apache . hadoop . hbase . client . IDENT_3 . IDENT_4 . METHOD_2 ( ) ; org . apache . hadoop . hbase . client . IDENT_5 admin = conn . METHOD_3 ( ) ; org . apache . hadoop . hbase . client . IDENT_6 table = ( ( org . apache . hadoop . hbase . client . IDENT_6 ) ( conn . METHOD_4 ( IDENT_1 ) ) ) ; try { org . apache . hadoop . hbase . client . IDENT_7 IDENT_8 = org . apache . hadoop . hbase . client . IDENT_7 . METHOD_5 ( IDENT_9 ) ; org . apache . hadoop . hbase . client . IDENT_10 IDENT_11 = org . apache . hadoop . hbase . client . IDENT_10 . METHOD_5 ( IDENT_1 ) . METHOD_6 ( IDENT_8 . build ( ) ) ; admin . METHOD_7 ( IDENT_11 . build ( ) ) ; org . apache . hadoop . hbase . client . IDENT_12 put = new org . apache . hadoop . hbase . client . METHOD_8 ( row ) ; put . METHOD_9 ( IDENT_9 , IDENT_13 , value ) ; table . put ( put ) ; org . apache . hadoop . hbase . client . IDENT_14 get = new org . apache . hadoop . hbase . client . METHOD_10 ( row ) ; org . apache . hadoop . hbase . client . Result result = table . get ( get ) ; org . apache . hadoop . hbase . client . IDENT_3 . LOG . debug ( ( STRING_0 + ( org . apache . hadoop . hbase . util . IDENT_15 . toString ( result . getValue ( IDENT_9 , IDENT_13 ) ) ) ) ) ; "<AssertPlaceHolder>" ; } finally { admin . close ( ) ; table . close ( ) ; } } getValue ( byte [ ] , byte [ ] ) { org . apache . hadoop . hbase . IDENT_16 IDENT_17 = METHOD_11 ( IDENT_9 , IDENT_13 ) ; if ( IDENT_17 == null ) { return null ; } return org . apache . hadoop . hbase . IDENT_18 . METHOD_12 ( IDENT_17 ) ; } | org . junit . Assert . assertArrayEquals ( value , result . getValue ( IDENT_9 , IDENT_13 ) ) |
METHOD_0 ( ) { org . pentaho . IDENT_0 . ui . IDENT_1 . jdbc . connection . IDENT_2 IDENT_3 = new org . pentaho . IDENT_0 . ui . IDENT_1 . jdbc . connection . METHOD_1 ( STRING_0 , STRING_1 , STRING_2 , STRING_3 , STRING_4 ) ; manager . METHOD_2 ( IDENT_3 ) ; manager . METHOD_0 ( STRING_0 ) ; org . pentaho . IDENT_0 . ui . IDENT_1 . jdbc . connection . IDENT_2 [ ] actual = manager . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return IDENT_4 . values ( ) . toArray ( new org . pentaho . IDENT_0 . ui . IDENT_1 . jdbc . connection . IDENT_2 [ IDENT_4 . size ( ) ] ) ; } | org . junit . Assert . assertEquals ( 0 , actual . length ) |
METHOD_0 ( ) { doReturn ( IDENT_0 ) . when ( IDENT_1 ) . METHOD_1 ( ) ; org . pentaho . IDENT_2 . IDENT_3 . IDENT_4 . pentaho . repository . IDENT_5 . IDENT_6 IDENT_7 = new org . pentaho . IDENT_2 . IDENT_3 . IDENT_4 . pentaho . repository . IDENT_5 . METHOD_2 ( IDENT_1 , component , IDENT_8 , IDENT_9 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( ) { return IDENT_10 ; } | org . junit . Assert . assertNotNull ( IDENT_7 ) |
METHOD_0 ( ) { doReturn ( IDENT_0 ) . when ( IDENT_1 ) . METHOD_1 ( ) ; org . pentaho . IDENT_2 . IDENT_3 . IDENT_4 . pentaho . repository . IDENT_5 . IDENT_6 IDENT_7 = new org . pentaho . IDENT_2 . IDENT_3 . IDENT_4 . pentaho . repository . IDENT_5 . METHOD_2 ( IDENT_1 , component , IDENT_8 , IDENT_9 , true ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( ) { return IDENT_10 ; } | org . junit . Assert . assertNotNull ( IDENT_7 ) |
METHOD_0 ( ) { org . pentaho . IDENT_0 . IDENT_1 . IDENT_2 . pentaho . repository . IDENT_3 . IDENT_4 IDENT_5 = new org . pentaho . IDENT_0 . IDENT_1 . IDENT_2 . pentaho . repository . IDENT_3 . METHOD_1 ( IDENT_6 , IDENT_7 ) ; IDENT_5 . METHOD_2 ( IDENT_8 , true ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . pentaho . IDENT_0 . IDENT_1 . core . auth . IDENT_9 , boolean ) { this . IDENT_8 = IDENT_8 ; this . IDENT_10 = IDENT_10 ; } | org . junit . Assert . assertNotNull ( IDENT_5 ) |
METHOD_0 ( ) { org . pentaho . IDENT_0 . IDENT_1 . IDENT_2 . pentaho . repository . util . IDENT_3 IDENT_4 = org . pentaho . IDENT_0 . IDENT_1 . IDENT_2 . pentaho . repository . util . IDENT_3 . getInstance ( ) ; IDENT_4 . METHOD_1 ( false ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return IDENT_5 . METHOD_3 ( ) ; } | org . junit . Assert . assertFalse ( IDENT_4 . METHOD_2 ( ) ) |
METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final java . lang . String IDENT_1 = STRING_1 ; java . lang . String decode = org . pentaho . IDENT_2 . IDENT_3 . IDENT_4 . pentaho . repository . util . IDENT_5 . METHOD_1 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { return path . replace ( STRING_2 , "/" ) . replace ( STRING_3 , STRING_2 ) ; } | org . junit . Assert . assertEquals ( IDENT_1 , decode ) |
METHOD_0 ( ) { org . apache . hadoop . hbase . client . IDENT_0 conn = org . apache . hadoop . hbase . client . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; org . apache . hadoop . hbase . client . IDENT_3 admin = conn . METHOD_2 ( ) ; org . apache . hadoop . hbase . client . IDENT_1 . LOG . debug ( ( STRING_0 + ( admin . METHOD_3 ( ) ) ) ) ; try { org . apache . hadoop . hbase . IDENT_4 cluster = org . apache . hadoop . hbase . client . IDENT_1 . IDENT_2 . METHOD_4 ( ) ; org . apache . hadoop . hbase . IDENT_5 . IDENT_6 IDENT_5 = cluster . METHOD_5 ( ) ; IDENT_5 . METHOD_6 ( ) ; while ( ! ( IDENT_5 . METHOD_7 ( ) ) ) { java . lang . Thread . sleep ( 200 ) ; } while ( ( ( cluster . METHOD_5 ( ) ) == null ) || ( ! ( cluster . METHOD_5 ( ) . METHOD_8 ( ) ) ) ) { java . lang . Thread . sleep ( 200 ) ; } "<AssertPlaceHolder>" ; } finally { admin . close ( ) ; } } METHOD_9 ( boolean ) { if ( ! ( METHOD_8 ( ) ) ) { org . apache . hadoop . hbase . IDENT_5 . IDENT_6 . LOG . debug ( STRING_1 ) ; return false ; } if ( METHOD_10 ( ) ) { org . apache . hadoop . hbase . IDENT_5 . IDENT_6 . LOG . info ( STRING_2 ) ; return false ; } int IDENT_7 = METHOD_11 ( ) ; MOD_0 ( this . IDENT_8 ) { if ( ! ( this . IDENT_9 . METHOD_12 ( ) ) ) return false ; if ( this . IDENT_10 . METHOD_13 ( ) ) { java . util . List < org . apache . hadoop . hbase . IDENT_5 . IDENT_11 . IDENT_12 > IDENT_13 = IDENT_10 . METHOD_14 ( ) ; boolean IDENT_14 = IDENT_10 . METHOD_15 ( ) ; java . lang . String IDENT_15 = ( IDENT_16 && ( ! IDENT_14 ) ) ? STRING_3 : STRING_2 4 ; java . util . List < org . apache . hadoop . hbase . IDENT_5 . IDENT_11 . IDENT_12 > IDENT_17 = IDENT_13 ; int max = 5 ; boolean IDENT_18 = false ; if ( ( IDENT_13 . size ( ) ) > max ) { IDENT_17 = IDENT_13 . METHOD_16 ( 0 , max ) ; IDENT_18 = true ; } org . apache . hadoop . hbase . IDENT_5 . IDENT_6 . LOG . info ( ( ( ( ( ( IDENT_15 + STRING_2 8 ) + ( IDENT_13 . size ( ) ) ) + STRING_4 ) + IDENT_17 ) + ( IDENT_18 ? STRING_2 0 : "" ) ) ) ; if ( ( ! IDENT_16 ) || IDENT_14 ) return false ; } if ( this . IDENT_19 . METHOD_17 ( ) ) { org . apache . hadoop . hbase . IDENT_5 . IDENT_6 . LOG . info ( ( STRING_2 1 + ( this . IDENT_19 . METHOD_18 ( ) ) ) ) ; return false ; } if ( ( this . IDENT_20 ) != null ) { try { if ( this . IDENT_20 . METHOD_19 ( ) ) { org . apache . hadoop . hbase . IDENT_5 . IDENT_6 . LOG . debug ( STRING_5 ) ; return false ; } } catch ( java . io . IOException IDENT_21 ) { org . apache . hadoop . hbase . IDENT_5 . IDENT_6 . LOG . error ( STRING_6 , IDENT_21 ) ; return false ; } } boolean IDENT_22 = METHOD_20 ( ) . METHOD_21 ( STRING_2 3 , false ) ; java . util . Map < org . apache . hadoop . hbase . IDENT_23 , java . util . Map < org . apache . hadoop . hbase . IDENT_24 , java . util . List < org . apache . hadoop . hbase . client . IDENT_25 > > > IDENT_26 = this . IDENT_10 . METHOD_22 ( ) . METHOD_23 ( ( ! IDENT_22 ) ) ; java . util . List < org . apache . hadoop . hbase . IDENT_5 . IDENT_27 > IDENT_28 = new java . util . ArrayList ( ) ; this . IDENT_8 . METHOD_24 ( METHOD_25 ( ) ) ; this . IDENT_8 . METHOD_26 ( IDENT_26 ) ; for ( java . util . Map < org . apache . hadoop . hbase . IDENT_24 , java . util . List < org . apache . hadoop . hbase . client . IDENT_25 > > IDENT_29 : IDENT_26 . values ( ) ) { IDENT_29 . METHOD_27 ( ) . METHOD_28 ( this . IDENT_19 . METHOD_29 ( ) ) ; } for ( java . util . Map . Entry < org . apache . hadoop . hbase . IDENT_23 , java . util . Map < org . apache . hadoop . hbase . IDENT_24 , java . util . List < org . apache . hadoop . hbase . client . IDENT_25 > > > e : IDENT_26 . entrySet ( ) ) { java . util . List < org . apache . hadoop . hbase . IDENT_5 . IDENT_27 > IDENT_30 = this . IDENT_8 . METHOD_30 ( e . getKey ( ) , e . getValue ( ) ) ; if ( IDENT_30 != null ) IDENT_28 . addAll ( IDENT_30 ) ; } long IDENT_31 = java . lang . System . currentTimeMillis ( ) ; long IDENT_32 = IDENT_31 + ( this . IDENT_33 ) ; int IDENT_34 = 0 ; if ( ( IDENT_28 != null ) && ( ! ( IDENT_28 . isEmpty ( ) ) ) ) { int IDENT_35 = ( this . IDENT_33 ) / ( IDENT_28 . size ( ) ) ; org . apache . hadoop . hbase . IDENT_5 . IDENT_6 . LOG . info ( ( ( ( ( ( STRING_2 2 + ( IDENT_28 . size ( ) ) ) + STRING_7 ) + IDENT_35 ) + STRING_2 5 ) + IDENT_7 ) ) ; for ( org . apache . hadoop . hbase . IDENT_5 . IDENT_27 plan : IDENT_28 ) { org . apache . hadoop . hbase . IDENT_5 . IDENT_6 . LOG . info ( ( STRING_2 7 + plan ) ) ; try { this . IDENT_10 . METHOD_31 ( plan ) ; } catch ( org . apache . hadoop . hbase . IDENT_36 IDENT_37 ) { org . apache . hadoop . hbase . IDENT_5 . IDENT_6 . LOG . warn ( STRING_8 , plan , IDENT_37 ) ; } IDENT_34 ++ ; METHOD_32 ( ( IDENT_31 + ( IDENT_34 * IDENT_35 ) ) , IDENT_7 , IDENT_32 ) ; if ( ( IDENT_34 < ( IDENT_28 . size ( ) ) ) && ( ( java . lang . System . currentTimeMillis ( ) ) > IDENT_32 ) ) { org . apache . hadoop . hbase . IDENT_5 . IDENT_6 . LOG . debug ( ( STRING_2 6 + ( this . IDENT_33 ) ) ) ; break ; } } } if ( ( this . IDENT_20 ) != null ) { try { this . IDENT_20 . METHOD_33 ( ( IDENT_34 < ( IDENT_28 . size ( ) ) ? IDENT_28 . METHOD_16 ( 0 , IDENT_34 ) : IDENT_28 ) ) ; } catch ( java . io . IOException IDENT_21 ) { org . apache . hadoop . hbase . IDENT_5 . IDENT_6 . LOG . error ( STRING_9 , IDENT_21 ) ; } } } return true ; } | org . junit . Assert . assertTrue ( admin . METHOD_9 ( false ) ) |
METHOD_0 ( ) { javax . IDENT_0 . IDENT_1 result = org . pentaho . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_1 ( org . pentaho . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_7 . key ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { return org . pentaho . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_8 . METHOD_1 ( key ) ; } | org . junit . Assert . assertNull ( result ) |
METHOD_0 ( ) { javax . IDENT_0 . IDENT_1 result = org . pentaho . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_1 ( org . pentaho . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_7 . key , 1 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , int ) { return org . pentaho . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_8 . METHOD_1 ( key , IDENT_9 ) ; } | org . junit . Assert . assertNull ( result ) |
METHOD_0 ( ) { java . lang . String result = org . pentaho . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . getString ( STRING_0 ) ; "<AssertPlaceHolder>" ; } getString ( java . lang . String ) { return properties . get ( key , null ) ; } | org . junit . Assert . assertNotNull ( result ) |
METHOD_0 ( ) { org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 r = new org . pentaho . IDENT_0 . engine . IDENT_1 . core . METHOD_1 ( ) ; r . METHOD_2 ( ) . METHOD_3 ( IDENT_3 . IDENT_4 . IDENT_5 , IDENT_3 . IDENT_4 . IDENT_6 , true ) ; org . pentaho . IDENT_0 . engine . IDENT_1 . core . layout . output . IDENT_7 IDENT_8 = new org . pentaho . IDENT_0 . engine . IDENT_1 . core . layout . output . METHOD_4 ( r ) ; org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_9 . process . IDENT_10 state = new org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_9 . process . METHOD_5 ( ) ; state . METHOD_6 ( r , IDENT_8 , new org . pentaho . IDENT_0 . engine . IDENT_1 . core . layout . output . METHOD_7 ( ) ) ; org . pentaho . IDENT_0 . engine . IDENT_1 . core . layout . output . IDENT_11 IDENT_12 = state . METHOD_8 ( ) . METHOD_9 ( ) . METHOD_10 ( ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . layout . output . IDENT_13 ) { if ( IDENT_14 . IDENT_15 . equals ( feature ) ) { return false ; } return super . METHOD_11 ( feature ) ; } | org . junit . Assert . assertTrue ( IDENT_12 . METHOD_11 ( IDENT_14 . IDENT_6 ) ) |
METHOD_0 ( ) { org . pentaho . IDENT_0 . engine . IDENT_1 . core . metadata . IDENT_2 [ ] IDENT_3 = org . pentaho . IDENT_0 . engine . IDENT_1 . core . metadata . IDENT_4 . getInstance ( ) . METHOD_1 ( ) ; for ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . metadata . IDENT_2 meta : IDENT_3 ) { org . pentaho . IDENT_0 . engine . IDENT_1 . core . metadata . IDENT_5 [ ] IDENT_6 = meta . METHOD_2 ( ) ; for ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . metadata . IDENT_5 IDENT_7 : IDENT_6 ) { "<AssertPlaceHolder>" ; } } } METHOD_3 ( ) { return METHOD_4 ( ) . METHOD_3 ( ) ; } | org . junit . Assert . assertNotNull ( IDENT_7 . METHOD_3 ( ) ) |
METHOD_0 ( ) { org . pentaho . IDENT_0 . engine . IDENT_1 . core . metadata . IDENT_2 [ ] IDENT_3 = org . pentaho . IDENT_0 . engine . IDENT_1 . core . metadata . IDENT_4 . getInstance ( ) . METHOD_1 ( ) ; for ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . metadata . IDENT_2 meta : IDENT_3 ) { org . pentaho . IDENT_0 . engine . IDENT_1 . core . metadata . IDENT_5 [ ] IDENT_6 = meta . METHOD_2 ( ) ; for ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . metadata . IDENT_5 IDENT_7 : IDENT_6 ) { "<AssertPlaceHolder>" ; } } } METHOD_3 ( ) { return IDENT_8 . get ( ) ; } | org . junit . Assert . assertNotNull ( IDENT_7 . METHOD_3 ( ) ) |
METHOD_0 ( ) { org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 report = org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_3 . IDENT_4 . METHOD_1 ( STRING_0 ) ; final java . io . ByteArrayOutputStream IDENT_5 = new java . io . ByteArrayOutputStream ( ) ; final java . io . ByteArrayOutputStream IDENT_6 = new java . io . ByteArrayOutputStream ( ) ; org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_7 . output . IDENT_8 . html . IDENT_9 . METHOD_2 ( report , IDENT_5 ) ; org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_7 . output . table . html . IDENT_10 . METHOD_3 ( report , IDENT_6 ) ; java . lang . String IDENT_11 = IDENT_5 . toString ( STRING_1 ) ; java . lang . String IDENT_12 = IDENT_6 . toString ( STRING_1 ) ; "<AssertPlaceHolder>" ; } toString ( boolean ) { return builder . toString ( IDENT_13 ) ; } | org . junit . Assert . assertEquals ( IDENT_12 , IDENT_11 ) |
METHOD_0 ( ) { org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 report = METHOD_1 ( ) ; java . io . ByteArrayOutputStream IDENT_3 = new java . io . ByteArrayOutputStream ( ) ; java . io . ByteArrayOutputStream IDENT_4 = new java . io . ByteArrayOutputStream ( ) ; org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_5 . output . IDENT_6 . html . IDENT_7 . METHOD_2 ( report , IDENT_3 ) ; org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_5 . output . table . html . IDENT_8 . METHOD_3 ( report , IDENT_4 ) ; java . lang . String IDENT_9 = IDENT_3 . toString ( STRING_0 ) ; java . lang . String IDENT_10 = IDENT_4 . toString ( STRING_0 ) ; "<AssertPlaceHolder>" ; } toString ( boolean ) { return builder . toString ( IDENT_11 ) ; } | org . junit . Assert . assertEquals ( IDENT_10 , IDENT_9 ) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.