input stringlengths 35 67.8k | output stringlengths 39 1.53k |
|---|---|
METHOD_0 ( ) { org . apache . camel . IDENT_0 IDENT_1 = org . mockito . Mockito . mock ( org . apache . camel . IDENT_0 . class ) ; org . apache . camel . Message message = org . mockito . Mockito . mock ( org . apache . camel . Message . class ) ; org . mockito . Mockito . when ( IDENT_1 . METHOD_1 ( ) ) . thenReturn ... | org . junit . Assert . assertEquals ( "test" , IDENT_6 . METHOD_4 ( IDENT_1 , null ) ) |
METHOD_0 ( ) { org . apache . hadoop . fs . Path IDENT_0 = new org . apache . hadoop . fs . Path ( ( ( IDENT_1 . METHOD_1 ( ) ) + STRING_0 ) ) ; IDENT_1 . METHOD_2 ( IDENT_0 ) ; IDENT_1 . METHOD_3 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return new org . apache . hadoop . fs . Path ( "/" ) . METHOD_5 ( ME... | org . junit . Assert . assertEquals ( IDENT_0 , IDENT_1 . METHOD_4 ( ) ) |
METHOD_0 ( ) { org . apache . camel . IDENT_0 IDENT_1 = org . mockito . Mockito . mock ( org . apache . camel . IDENT_0 . class ) ; org . apache . camel . Message message = org . mockito . Mockito . mock ( org . apache . camel . Message . class ) ; org . apache . camel . IDENT_2 IDENT_3 = org . mockito . Mockito . mock... | org . junit . Assert . assertEquals ( "test" , IDENT_7 . METHOD_4 ( IDENT_1 , IDENT_3 ) ) |
METHOD_0 ( ) { org . apache . camel . IDENT_0 IDENT_1 = org . mockito . Mockito . mock ( org . apache . camel . IDENT_0 . class ) ; org . apache . camel . Message message = org . mockito . Mockito . mock ( org . apache . camel . Message . class ) ; org . mockito . Mockito . when ( IDENT_1 . METHOD_1 ( ) ) . thenReturn ... | org . junit . Assert . assertEquals ( "test" , IDENT_6 . METHOD_4 ( IDENT_1 , null ) ) |
METHOD_0 ( ) { org . apache . hadoop . fs . IDENT_0 . METHOD_1 ( ) ; final org . apache . hadoop . fs . Path IDENT_1 = METHOD_2 ( org . apache . hadoop . fs . IDENT_2 . IDENT_3 , "test" ) ; final org . apache . hadoop . fs . Path path = new org . apache . hadoop . fs . Path ( IDENT_1 , STRING_0 ) ; METHOD_3 ( path ) ; ... | org . junit . Assert . assertArrayEquals ( org . apache . hadoop . fs . IDENT_2 . data , IDENT_4 ) |
METHOD_0 ( ) { long length = INT_0 ; long IDENT_0 = INT_1 ; long IDENT_1 = INT_2 ; long IDENT_2 = INT_3 ; long IDENT_3 = INT_4 ; long IDENT_4 = INT_5 ; org . apache . hadoop . fs . IDENT_5 IDENT_6 = new org . apache . hadoop . fs . IDENT_5 . Builder ( ) . length ( length ) . METHOD_1 ( METHOD_1 ) . METHOD_2 ( METHOD_2 ... | org . junit . Assert . assertEquals ( expected , IDENT_6 . toString ( true ) ) |
METHOD_0 ( ) { long length = INT_0 ; long IDENT_0 = INT_1 ; long IDENT_1 = INT_2 ; org . apache . hadoop . fs . IDENT_2 IDENT_3 = new org . apache . hadoop . fs . IDENT_2 . Builder ( ) . length ( length ) . METHOD_1 ( METHOD_1 ) . METHOD_2 ( METHOD_2 ) . build ( ) ; java . lang . String expected = STRING_0 + STRING_1 ;... | org . junit . Assert . assertEquals ( expected , IDENT_3 . toString ( true ) ) |
METHOD_0 ( ) { long length = INT_0 ; long IDENT_0 = INT_1 ; long IDENT_1 = INT_2 ; long IDENT_2 = INT_3 ; long IDENT_3 = INT_4 ; long IDENT_4 = INT_5 ; org . apache . hadoop . fs . IDENT_5 IDENT_6 = new org . apache . hadoop . fs . IDENT_5 . Builder ( ) . length ( length ) . METHOD_1 ( METHOD_1 ) . METHOD_2 ( METHOD_2 ... | org . junit . Assert . assertEquals ( expected , IDENT_6 . toString ( ) ) |
METHOD_0 ( ) { long length = Long . MAX_VALUE ; long IDENT_0 = INT_0 ; long IDENT_1 = INT_1 ; long IDENT_2 = INT_2 ; long IDENT_3 = INT_3 ; long IDENT_4 = 1 ; org . apache . hadoop . fs . IDENT_5 IDENT_6 = new org . apache . hadoop . fs . IDENT_5 . Builder ( ) . length ( length ) . METHOD_1 ( METHOD_1 ) . METHOD_2 ( ME... | org . junit . Assert . assertEquals ( expected , IDENT_6 . toString ( true , true ) ) |
METHOD_0 ( ) { org . apache . hadoop . fs . Path IDENT_0 = METHOD_1 ( IDENT_1 , STRING_0 ) ; IDENT_1 . METHOD_2 ( IDENT_0 ) ; IDENT_1 . METHOD_3 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return new org . apache . hadoop . fs . Path ( "/" ) . METHOD_5 ( METHOD_6 ( ) , null ) ; } | org . junit . Assert . assertEquals ( IDENT_0 , IDENT_1 . METHOD_4 ( ) ) |
METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; IDENT_0 = org . apache . hadoop . fs . IDENT_1 . get ( conf ) ; org . apache . hadoop . fs . Path IDENT_2 = new org . apache . hadoop . fs . Path ( ( ( org . apache . hadoop . fs . IDENT_3 . IDENT_4... | org . junit . Assert . assertEquals ( 1 , IDENT_8 . size ( ) ) |
METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; conf . set ( STRING_0 , org . apache . hadoop . fs . IDENT_0 . METHOD_1 ( STRING_1 , null ) . getName ( ) ) ; org . apache . hadoop . fs . IDENT_0 IDENT_1 = org . apache . hadoop . fs . IDENT_0 . ge... | org . junit . Assert . assertSame ( IDENT_1 , IDENT_2 ) |
METHOD_0 ( ) { org . apache . camel . IDENT_0 IDENT_1 = org . mockito . Mockito . mock ( org . apache . camel . IDENT_0 . class ) ; org . mockito . Mockito . when ( IDENT_1 . METHOD_1 ( ) ) . thenReturn ( STRING_0 ) ; org . apache . camel . IDENT_2 . IDENT_3 . IDENT_4 IDENT_5 = new org . apache . camel . IDENT_2 . IDEN... | org . junit . Assert . assertEquals ( "test" , IDENT_5 . METHOD_3 ( null , IDENT_1 ) ) |
METHOD_0 ( ) { org . apache . hadoop . fs . IDENT_0 IDENT_1 = mock ( org . apache . hadoop . fs . IDENT_0 . class ) ; org . apache . hadoop . fs . IDENT_0 fs = new org . apache . hadoop . fs . METHOD_1 ( IDENT_1 ) ; org . apache . hadoop . fs . Path path = new org . apache . hadoop . fs . Path ( STRING_0 ) ; when ( IDE... | org . junit . Assert . assertTrue ( fs . METHOD_5 ( path ) ) |
METHOD_0 ( ) { org . apache . hadoop . fs . IDENT_0 IDENT_1 = mock ( org . apache . hadoop . fs . IDENT_0 . class ) ; org . apache . hadoop . fs . IDENT_0 fs = new org . apache . hadoop . fs . METHOD_1 ( IDENT_1 ) ; org . apache . hadoop . fs . Path path = new org . apache . hadoop . fs . Path ( STRING_0 ) ; "<AssertPl... | org . junit . Assert . assertFalse ( fs . METHOD_6 ( path ) ) |
METHOD_0 ( ) { org . apache . hadoop . fs . IDENT_0 IDENT_1 = mock ( org . apache . hadoop . fs . IDENT_0 . class ) ; org . apache . hadoop . fs . IDENT_0 fs = new org . apache . hadoop . fs . METHOD_1 ( IDENT_1 ) ; org . apache . hadoop . fs . Path path = new org . apache . hadoop . fs . Path ( STRING_0 ) ; when ( IDE... | org . junit . Assert . assertTrue ( fs . METHOD_7 ( path ) ) |
METHOD_0 ( ) { final org . apache . hadoop . fs . Path p = new org . apache . hadoop . fs . Path ( STRING_0 ) ; final org . apache . hadoop . fs . IDENT_0 IDENT_1 = new org . apache . hadoop . fs . METHOD_1 ( ) ; try { "<AssertPlaceHolder>" ; } finally { if ( IDENT_1 != null ) { IDENT_1 . close ( ) ; } } } METHOD_2 ( o... | org . junit . Assert . assertEquals ( null , IDENT_1 . METHOD_2 ( p ) ) |
METHOD_0 ( ) { org . apache . hadoop . fs . Path IDENT_0 = new org . apache . hadoop . fs . Path ( java . lang . System . getProperty ( STRING_0 ) ) . METHOD_1 ( IDENT_1 ) ; org . apache . hadoop . fs . Path IDENT_2 = IDENT_1 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return METHOD_1 ( new org . apache .... | org . junit . Assert . assertEquals ( IDENT_0 , IDENT_2 ) |
METHOD_0 ( ) { org . apache . hadoop . fs . Path path = new org . apache . hadoop . fs . Path ( org . apache . hadoop . fs . IDENT_0 . IDENT_1 , STRING_0 ) ; METHOD_1 ( IDENT_2 , path , 1 ) ; org . apache . hadoop . fs . IDENT_3 status = IDENT_2 . METHOD_2 ( path ) ; "<AssertPlaceHolder>" ; METHOD_3 ( IDENT_2 , path ) ... | org . junit . Assert . assertEquals ( path . METHOD_4 ( IDENT_2 ) , status . getPath ( ) ) |
METHOD_0 ( ) { org . apache . hadoop . fs . Path path = new org . apache . hadoop . fs . Path ( org . apache . hadoop . fs . IDENT_0 . IDENT_1 , STRING_0 ) ; METHOD_1 ( IDENT_2 , path , 1 ) ; org . apache . hadoop . fs . IDENT_3 IDENT_4 = new org . apache . hadoop . fs . METHOD_2 ( new org . apache . hadoop . fs . METH... | org . junit . Assert . assertNotNull ( IDENT_4 . METHOD_5 ( ) ) |
METHOD_0 ( ) { org . apache . camel . IDENT_0 IDENT_1 = org . mockito . Mockito . mock ( org . apache . camel . IDENT_0 . class ) ; org . mockito . Mockito . when ( IDENT_1 . getProperty ( IDENT_0 . IDENT_2 ) ) . thenReturn ( org . apache . camel . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 ) ; org . apache . camel . IDENT_... | org . junit . Assert . assertEquals ( org . apache . camel . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 , IDENT_8 . METHOD_3 ( IDENT_1 , null ) ) |
METHOD_0 ( ) { org . apache . hadoop . fs . IDENT_0 IDENT_1 = new org . apache . hadoop . fs . METHOD_1 ( ) ; org . apache . hadoop . fs . METHOD_1 fs = METHOD_2 ( IDENT_1 ) ; org . apache . hadoop . conf . Configuration conf = mock ( org . apache . hadoop . conf . Configuration . class ) ; fs . METHOD_3 ( conf ) ; org... | org . junit . Assert . assertTrue ( ( ( ( IDENT_7 != null ) && ( ( IDENT_7 . length ) == 1 ) ) && ( ( IDENT_7 [ 0 ] ) == IDENT_6 ) ) ) |
METHOD_0 ( ) { long IDENT_0 = INT_0 ; long IDENT_1 = INT_1 ; long IDENT_2 = INT_0 ; long IDENT_3 = INT_2 ; org . apache . hadoop . fs . IDENT_4 IDENT_5 = new org . apache . hadoop . fs . IDENT_4 . Builder ( ) . METHOD_1 ( IDENT_0 ) . METHOD_2 ( METHOD_2 ) . METHOD_3 ( METHOD_3 ) . METHOD_4 ( METHOD_4 ) . build ( ) ; ja... | org . junit . Assert . assertEquals ( expected , IDENT_5 . toString ( ) ) |
METHOD_0 ( ) { org . apache . hadoop . fs . IDENT_0 IDENT_1 = new org . apache . hadoop . fs . IDENT_0 . Builder ( ) . METHOD_1 ( INT_0 ) . build ( ) ; java . lang . String expected = STRING_0 + STRING_1 ; "<AssertPlaceHolder>" ; } toString ( ) { if ( ( json ) == null ) { return STRING_2 + ( id ) ; } else { return json... | org . junit . Assert . assertEquals ( expected , IDENT_1 . toString ( ) ) |
METHOD_0 ( ) { long IDENT_0 = INT_0 ; long IDENT_1 = INT_1 ; long IDENT_2 = INT_2 ; long IDENT_3 = 1 ; org . apache . hadoop . fs . IDENT_4 IDENT_5 = new org . apache . hadoop . fs . IDENT_4 . Builder ( ) . METHOD_1 ( IDENT_0 ) . METHOD_2 ( METHOD_2 ) . METHOD_3 ( METHOD_3 ) . METHOD_4 ( METHOD_4 ) . build ( ) ; java .... | org . junit . Assert . assertEquals ( expected , IDENT_5 . toString ( true ) ) |
METHOD_0 ( ) { long IDENT_0 = INT_0 ; long IDENT_1 = INT_1 ; long IDENT_2 = INT_2 ; long IDENT_3 = 1 ; long IDENT_4 = INT_3 ; long IDENT_5 = INT_4 ; org . apache . hadoop . fs . IDENT_6 IDENT_7 = new org . apache . hadoop . fs . IDENT_6 . Builder ( ) . METHOD_1 ( IDENT_0 ) . METHOD_2 ( METHOD_2 ) . METHOD_3 ( METHOD_3 ... | org . junit . Assert . assertEquals ( IDENT_7 , IDENT_10 ) |
METHOD_0 ( ) { byte [ ] IDENT_0 = new byte [ ] { STRING_0 } ; java . lang . String output = METHOD_1 ( org . apache . hadoop . fs . shell . IDENT_1 . IDENT_2 , IDENT_0 ) ; "<AssertPlaceHolder>" ; } equals ( java . lang . Object ) { if ( ( this ) == o ) return true ; if ( ( o == null ) || ( ( getClass ( ) ) != ( o . get... | org . junit . Assert . assertTrue ( new java . lang . String ( IDENT_0 ) . equals ( output ) ) |
METHOD_0 ( ) { byte [ ] IDENT_0 = new byte [ ] { STRING_0 , STRING_1 } ; java . lang . String output = METHOD_1 ( org . apache . hadoop . fs . shell . IDENT_1 . IDENT_2 , IDENT_0 ) ; "<AssertPlaceHolder>" ; } equals ( java . lang . Object ) { if ( ( this ) == o ) return true ; if ( ( o == null ) || ( ( getClass ( ) ) !... | org . junit . Assert . assertTrue ( new java . lang . String ( IDENT_0 ) . equals ( output ) ) |
METHOD_0 ( ) { java . lang . String [ ] IDENT_0 = new java . lang . String [ ] { STRING_0 , STRING_1 , STRING_2 } ; when ( expr . METHOD_0 ( ) ) . thenReturn ( IDENT_0 ) ; "<AssertPlaceHolder>" ; verify ( expr ) . METHOD_0 ( ) ; METHOD_1 ( expr ) ; } METHOD_0 ( ) { return IDENT_0 ; } | org . junit . Assert . assertArrayEquals ( IDENT_0 , test . METHOD_0 ( ) ) |
METHOD_0 ( ) { java . lang . String [ ] IDENT_0 = new java . lang . String [ ] { STRING_0 , STRING_1 , STRING_2 } ; when ( expr . METHOD_0 ( ) ) . thenReturn ( IDENT_0 ) ; "<AssertPlaceHolder>" ; verify ( expr ) . METHOD_0 ( ) ; METHOD_1 ( expr ) ; } METHOD_0 ( ) { return this . IDENT_0 ; } | org . junit . Assert . assertArrayEquals ( IDENT_0 , test . METHOD_0 ( ) ) |
METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . jdbc . IDENT_2 IDENT_3 = mock ( com . IDENT_0 . IDENT_1 . jdbc . IDENT_2 . class ) ; com . IDENT_0 . IDENT_1 . api . jdbc . IDENT_4 connection = mock ( com . IDENT_0 . IDENT_1 . api . jdbc . IDENT_4 . class ) ; java . sql . IDENT_5 statement = mock ( java . sql . IDENT_5 . class... | org . junit . Assert . assertTrue ( consumer . METHOD_7 ( ) ) |
METHOD_0 ( ) { org . apache . hadoop . fs . Path IDENT_0 = new org . apache . hadoop . fs . Path ( STRING_0 ) ; org . apache . hadoop . fs . Path IDENT_1 = new org . apache . hadoop . fs . Path ( org . apache . hadoop . fs . Path . METHOD_1 ( IDENT_2 ) , STRING_1 ) ; org . apache . hadoop . fs . IDENT_3 IDENT_4 = org .... | org . junit . Assert . assertEquals ( IDENT_0 , IDENT_8 . METHOD_5 ( IDENT_0 , STRING_2 ) ) |
METHOD_0 ( ) { java . sql . IDENT_0 IDENT_1 = mock ( com . IDENT_2 . IDENT_3 . api . jdbc . IDENT_4 . class ) ; com . IDENT_2 . IDENT_3 . api . jdbc . IDENT_4 IDENT_5 = org . apache . camel . component . IDENT_6 . IDENT_7 . METHOD_1 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . sql . IDENT_0 ) { if ( connec... | org . junit . Assert . assertSame ( IDENT_1 , IDENT_5 ) |
METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; org . apache . hadoop . fs . IDENT_0 . IDENT_1 . METHOD_1 ( conf , org . apache . hadoop . fs . IDENT_0 . IDENT_2 . IDENT_3 , STRING_0 , new java . net . URI ( STRING_1 ) ) ; org . apache . hadoop .... | org . junit . Assert . assertNull ( IDENT_8 ) |
METHOD_0 ( ) { org . apache . hadoop . fs . IDENT_0 . IDENT_1 IDENT_0 = ( ( org . apache . hadoop . fs . IDENT_0 . IDENT_1 ) ( IDENT_2 ) ) ; org . apache . hadoop . fs . IDENT_0 . IDENT_1 . IDENT_3 [ ] IDENT_4 = IDENT_0 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return 8 ; } | org . junit . Assert . assertEquals ( METHOD_2 ( ) , IDENT_4 . length ) |
METHOD_0 ( ) { METHOD_1 ( ) ; IDENT_0 . METHOD_2 ( data ) ; IDENT_0 . METHOD_3 ( IDENT_1 . IDENT_2 . METHOD_4 ( ) , org . apache . hadoop . IDENT_3 . IDENT_4 . IDENT_5 , IDENT_6 , org . apache . hadoop . IDENT_3 . IDENT_4 . IDENT_5 ) ; IDENT_0 . METHOD_3 ( IDENT_1 . IDENT_2 . METHOD_4 ( ) , org . apache . hadoop . IDEN... | org . junit . Assert . assertEquals ( 2 , count ) |
METHOD_0 ( ) { java . sql . IDENT_0 IDENT_1 = mock ( java . sql . IDENT_0 . class ) ; com . IDENT_2 . IDENT_3 . api . jdbc . IDENT_4 IDENT_5 = mock ( com . IDENT_2 . IDENT_3 . api . jdbc . IDENT_4 . class ) ; when ( IDENT_1 . METHOD_1 ( com . IDENT_2 . IDENT_3 . api . jdbc . IDENT_4 . class ) ) . thenReturn ( true ) ; ... | org . junit . Assert . assertSame ( IDENT_5 , IDENT_6 ) |
METHOD_0 ( ) { org . apache . hadoop . IDENT_0 . IDENT_1 . LOG . info ( STRING_0 ) ; IDENT_2 . IDENT_3 = false ; METHOD_1 ( IDENT_4 , IDENT_5 . IDENT_6 . IDENT_7 ) ; org . apache . hadoop . IDENT_0 . IDENT_1 . LOG . info ( STRING_1 ) ; IDENT_2 . IDENT_3 = true ; METHOD_1 ( IDENT_4 , IDENT_5 . IDENT_6 . IDENT_8 ) ; org ... | org . junit . Assert . assertFalse ( IDENT_4 . METHOD_3 ( ) ) |
METHOD_0 ( ) { org . apache . hadoop . io . IDENT_0 . conf . set ( STRING_0 , STRING_1 ) ; org . apache . hadoop . io . IDENT_0 . LOG . info ( STRING_2 ) ; java . lang . Integer IDENT_1 = java . lang . Integer . valueOf ( INT_0 ) ; org . apache . hadoop . io . IDENT_2 < java . lang . Integer > IDENT_3 = new org . apach... | org . junit . Assert . assertEquals ( IDENT_1 , IDENT_4 ) |
METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; int IDENT_1 = 20 ; org . apache . hadoop . io . IDENT_2 . IDENT_3 writer = null ; try { org . apache . hadoop . fs . IDENT_4 fs = org . apache . hadoop . fs . IDENT_4 . METHOD_1 ( org . apache . hadoop . io . IDENT_5 . conf ) ; org . apache . hadoop . fs . ... | org . junit . Assert . assertTrue ( STRING_3 , ( ( org . apache . hadoop . io . IDENT_2 . METHOD_6 ( fs , IDENT_6 , org . apache . hadoop . io . METHOD_3 . class , org . apache . hadoop . io . METHOD_4 . class , true , org . apache . hadoop . io . IDENT_5 . conf ) ) == IDENT_1 ) ) |
METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . log ( STRING_0 ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_4 instance = new com . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 ( null ) ; long expResult = 0L ; long result = instance . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return ( this . IDENT_... | org . junit . Assert . assertEquals ( expResult , result ) |
METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_1 . METHOD_2 ( ) ) . thenReturn ( connection ) ; org . apache . camel . component . IDENT_2 . IDENT_3 IDENT_4 = new org . apache . camel . component . IDENT_2 . METHOD_3 ( IDENT_0 ) ; IDENT_4 . start ( ) ; "<AssertPlaceHolder>" ; } M... | org . junit . Assert . assertTrue ( IDENT_4 . METHOD_4 ( ) ) |
METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; org . apache . hadoop . io . IDENT_0 . setName ( org . apache . hadoop . io . IDENT_1 . IDENT_2 . class , org . apache . hadoop . io . IDENT_1 . IDENT_3 ) ; java . lang . Class < ? > test = org . ap... | org . junit . Assert . assertTrue ( test . equals ( org . apache . hadoop . io . IDENT_1 . IDENT_2 . class ) ) |
METHOD_0 ( ) { org . apache . hadoop . io . IDENT_0 . IDENT_1 IDENT_2 = org . apache . hadoop . io . IDENT_0 . IDENT_3 . METHOD_1 ( codec ) ; org . apache . hadoop . io . IDENT_0 . IDENT_3 . METHOD_2 ( IDENT_2 ) ; org . apache . hadoop . io . IDENT_0 . IDENT_3 . METHOD_2 ( IDENT_2 ) ; java . util . Set < org . apache .... | org . junit . Assert . assertEquals ( 10 , IDENT_4 . size ( ) ) |
METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_1 . METHOD_2 ( ) ) . thenReturn ( connection ) ; org . apache . camel . component . IDENT_2 . IDENT_3 IDENT_4 = new org . apache . camel . component . IDENT_2 . METHOD_3 ( IDENT_0 ) ; IDENT_4 . start ( ) ; IDENT_4 . METHOD_4 ( ) ; ve... | org . junit . Assert . assertTrue ( IDENT_4 . METHOD_5 ( ) ) |
METHOD_0 ( ) { if ( IDENT_0 ) return ; long IDENT_1 = METHOD_1 ( ( 10 * ( IDENT_2 ) ) , false ) ; if ( ! ( IDENT_3 . equalsIgnoreCase ( IDENT_4 . IDENT_5 . IDENT_6 . getName ( ) ) ) ) { "<AssertPlaceHolder>" ; } METHOD_2 ( ) ; } METHOD_3 ( ) { return IDENT_7 ; } | org . junit . Assert . assertTrue ( ( ( out . METHOD_3 ( ) ) < IDENT_1 ) ) |
METHOD_0 ( ) { if ( IDENT_0 ) return ; long IDENT_1 = METHOD_1 ( INT_0 , true , true , false ) ; if ( ! ( IDENT_2 . equalsIgnoreCase ( IDENT_3 . IDENT_4 . IDENT_5 . getName ( ) ) ) ) { "<AssertPlaceHolder>" ; } METHOD_2 ( ) ; } METHOD_3 ( ) { return IDENT_6 ; } | org . junit . Assert . assertTrue ( ( ( out . METHOD_3 ( ) ) < IDENT_1 ) ) |
METHOD_0 ( ) { java . io . File path = new java . io . File ( org . apache . hadoop . io . IDENT_0 . IDENT_1 . IDENT_2 , STRING_0 ) ; path . METHOD_1 ( ) ; org . apache . hadoop . io . IDENT_0 . IDENT_3 factory = org . apache . hadoop . io . IDENT_0 . IDENT_3 . create ( STRING_1 , new java . lang . String [ ] { path . ... | org . junit . Assert . assertEquals ( INT_1 , IDENT_5 . read ( ) ) |
METHOD_0 ( ) { org . apache . camel . support . IDENT_0 registry = new org . apache . camel . support . METHOD_1 ( ) ; com . IDENT_1 . client . IDENT_2 IDENT_3 = org . mockito . Mockito . mock ( com . IDENT_1 . client . IDENT_2 . class ) ; registry . METHOD_2 ( STRING_0 , IDENT_3 ) ; org . apache . camel . IDENT_4 IDEN... | org . junit . Assert . assertSame ( IDENT_3 , IDENT_7 . METHOD_6 ( ) ) |
METHOD_0 ( ) { org . apache . hadoop . io . serializer . IDENT_0 IDENT_1 = new org . apache . hadoop . io . serializer . METHOD_1 ( ) ; org . apache . hadoop . io . serializer . IDENT_2 < org . apache . hadoop . io . serializer . IDENT_3 . IDENT_4 > serializer = IDENT_1 . METHOD_2 ( org . apache . hadoop . io . seriali... | org . junit . Assert . assertEquals ( IDENT_7 , IDENT_12 ) |
METHOD_0 ( ) { javax . net . IDENT_0 IDENT_1 = mock ( javax . net . IDENT_0 . class ) ; METHOD_1 ( new java . io . IOException ( STRING_0 ) ) . when ( IDENT_1 ) . METHOD_2 ( ) ; org . apache . hadoop . IDENT_2 . IDENT_3 client = new org . apache . hadoop . IDENT_2 . METHOD_3 ( org . apache . hadoop . io . IDENT_4 . cla... | org . junit . Assert . assertTrue ( e . getMessage ( ) . contains ( STRING_0 ) ) |
METHOD_0 ( ) { org . apache . hadoop . IDENT_0 . IDENT_1 IDENT_2 = new org . apache . hadoop . IDENT_0 . METHOD_1 ( ) ; java . lang . String IDENT_3 = IDENT_2 . METHOD_2 ( new org . apache . hadoop . IDENT_0 . IDENT_4 . METHOD_3 ( ) ) ; org . apache . hadoop . security . IDENT_5 IDENT_6 = org . apache . hadoop . securi... | org . junit . Assert . assertEquals ( IDENT_7 , IDENT_3 ) |
METHOD_0 ( ) { org . apache . hadoop . IDENT_0 . IDENT_1 . IDENT_2 client = METHOD_1 ( ) ; final java . lang . String IDENT_3 = org . apache . commons . lang . StringUtils . METHOD_2 ( STRING_0 , 4 ) ; org . apache . hadoop . IDENT_0 . IDENT_4 . IDENT_5 . IDENT_6 IDENT_7 = client . METHOD_3 ( null , METHOD_4 ( IDENT_3 ... | org . junit . Assert . assertEquals ( IDENT_3 , IDENT_7 . getMessage ( ) ) |
METHOD_0 ( ) { org . apache . hadoop . IDENT_0 . IDENT_1 . METHOD_1 ( IDENT_2 . IDENT_3 , conf ) ; org . apache . hadoop . IDENT_0 . IDENT_4 . METHOD_2 ( conf ) ; org . apache . hadoop . IDENT_0 . IDENT_5 IDENT_6 = new org . apache . hadoop . IDENT_0 . METHOD_3 ( ) ; org . apache . hadoop . IDENT_0 . IDENT_7 server = M... | org . junit . Assert . assertEquals ( expect , IDENT_24 ) |
METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; conf . set ( STRING_0 , "" ) ; java . net . IDENT_0 IDENT_1 = new java . net . METHOD_1 ( ) ; java . net . IDENT_2 address = new java . net . METHOD_2 ( STRING_1 , 0 ) ; try { org . apache . hadoop ... | org . junit . Assert . assertTrue ( IDENT_1 . METHOD_6 ( ) ) |
METHOD_0 ( ) { org . apache . hadoop . IDENT_0 . lib . IDENT_1 . METHOD_1 ( ) ; new org . apache . hadoop . IDENT_0 . impl . METHOD_2 ( ) . add ( STRING_0 6 , 8 ) . add ( STRING_1 0 , org . apache . hadoop . IDENT_0 . impl . IDENT_2 . IDENT_3 . class . getName ( ) ) . add ( STRING_0 9 , STRING_0 3 ) . add ( STRING_2 , ... | org . junit . Assert . assertEquals ( STRING_0 8 , IDENT_17 , IDENT_19 ) |
METHOD_0 ( ) { org . apache . hadoop . IDENT_0 . lib . IDENT_1 . METHOD_1 ( ) ; new org . apache . hadoop . IDENT_0 . impl . METHOD_2 ( ) . add ( STRING_0 6 , 8 ) . add ( STRING_1 0 , org . apache . hadoop . IDENT_0 . impl . IDENT_2 . IDENT_3 . class . getName ( ) ) . add ( STRING_0 9 , STRING_0 3 ) . add ( STRING_2 , ... | org . junit . Assert . assertEquals ( STRING_0 8 , IDENT_18 , IDENT_19 ) |
METHOD_0 ( ) { IDENT_0 = METHOD_1 ( STRING_0 , STRING_1 3 ) ; final java . lang . String IDENT_1 = IDENT_0 . getAbsolutePath ( ) ; new org . apache . hadoop . IDENT_2 . impl . METHOD_2 ( ) . add ( STRING_2 , INT_0 ) . add ( STRING_3 , org . apache . hadoop . IDENT_2 . IDENT_3 . IDENT_4 . class . getName ( ) ) . add ( S... | org . junit . Assert . assertTrue ( IDENT_17 . matcher ( IDENT_14 ) . matches ( ) ) |
METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; org . apache . hadoop . net . IDENT_0 . METHOD_1 ( STRING_0 , STRING_1 ) ; final java . lang . String IDENT_1 = STRING_2 ; java . net . IDENT_2 IDENT_3 = org . apache . hadoop . net . IDENT_0 . METH... | org . junit . Assert . assertEquals ( IDENT_1 . trim ( ) , org . apache . hadoop . net . IDENT_0 . METHOD_4 ( IDENT_3 ) ) |
METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 + ( org . apache . hadoop . net . IDENT_1 . getPath ( org . apache . hadoop . net . IDENT_2 . IDENT_3 [ 0 ] ) ) ; java . util . Map < org . apache . hadoop . net . Node , java . lang . Integer > IDENT_4 = METHOD_1 ( 100 , IDENT_0 ) ; for ( org . apache . hadoop . n... | org . junit . Assert . assertTrue ( ( ( ( IDENT_4 . get ( key ) ) > 0 ) || ( key == ( org . apache . hadoop . net . IDENT_2 . IDENT_3 [ 0 ] ) ) ) ) |
METHOD_0 ( ) { conf . METHOD_1 ( IDENT_0 . IDENT_1 , 1 ) ; org . apache . hadoop . util . IDENT_2 IDENT_3 = new org . apache . hadoop . util . METHOD_2 ( ) ; final org . apache . hadoop . security . IDENT_4 IDENT_5 = new org . apache . hadoop . security . METHOD_3 ( conf , IDENT_3 ) ; IDENT_5 . METHOD_4 ( java . util .... | org . junit . Assert . assertEquals ( ( IDENT_9 + 1 ) , org . apache . hadoop . security . IDENT_6 . IDENT_8 . METHOD_8 ( ) ) |
METHOD_0 ( ) { org . apache . hadoop . security . IDENT_0 . IDENT_1 mapping = new org . apache . hadoop . security . IDENT_0 . METHOD_1 ( ) ; java . util . List < java . lang . String > IDENT_2 = mapping . METHOD_2 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } isEmpty ( ) { return ( IDENT_3 . METHOD_3 ( 0 ) ) == ( - 1 ) ; } | org . junit . Assert . assertTrue ( IDENT_2 . isEmpty ( ) ) |
METHOD_0 ( ) { org . apache . hadoop . security . IDENT_0 IDENT_1 = org . apache . hadoop . security . IDENT_0 . METHOD_1 ( ) ; org . apache . hadoop . security . IDENT_0 IDENT_2 = new org . apache . hadoop . security . METHOD_2 ( IDENT_1 . METHOD_3 ( ) ) ; javax . security . auth . IDENT_3 . IDENT_4 IDENT_5 = IDENT_1 ... | org . junit . Assert . assertTrue ( ( IDENT_5 == IDENT_6 ) ) |
METHOD_0 ( ) { org . apache . hadoop . security . IDENT_0 IDENT_1 = org . apache . hadoop . security . IDENT_0 . METHOD_1 ( ) ; org . apache . hadoop . security . IDENT_2 IDENT_3 = new org . apache . hadoop . security . METHOD_2 ( ) ; org . apache . hadoop . security . token . IDENT_4 < org . apache . hadoop . security... | org . junit . Assert . assertEquals ( 1 , tokens . size ( ) ) |
METHOD_0 ( ) { org . apache . hadoop . security . IDENT_0 . IDENT_1 shell = new org . apache . hadoop . security . IDENT_0 . METHOD_1 ( ) ; shell . METHOD_2 ( new org . apache . hadoop . conf . Configuration ( ) ) ; "<AssertPlaceHolder>" ; } init ( java . lang . String [ ] ) { org . apache . commons . cli . IDENT_2 IDE... | org . junit . Assert . assertEquals ( 1 , shell . init ( new java . lang . String [ 0 ] ) ) |
METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; conf . set ( org . apache . hadoop . security . IDENT_0 . IDENT_1 . METHOD_1 ( ) . METHOD_2 ( org . apache . hadoop . security . IDENT_0 . IDENT_2 . IDENT_3 ) , org . apache . hadoop . util . String... | org . junit . Assert . assertEquals ( 1 , IDENT_7 . size ( ) ) |
METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; conf . set ( org . apache . hadoop . security . IDENT_0 . IDENT_1 . METHOD_1 ( ) . METHOD_2 ( org . apache . hadoop . security . IDENT_0 . IDENT_2 . IDENT_3 ) , org . apache . hadoop . util . String... | org . junit . Assert . assertEquals ( org . apache . hadoop . security . IDENT_0 . IDENT_2 . IDENT_6 . length , IDENT_9 . size ( ) ) |
METHOD_0 ( ) { java . nio . file . Path IDENT_0 = java . nio . file . IDENT_1 . get ( org . apache . hadoop . security . IDENT_2 . IDENT_3 . IDENT_4 , STRING_0 ) ; java . nio . file . Path IDENT_5 = java . nio . file . IDENT_1 . get ( org . apache . hadoop . security . IDENT_2 . IDENT_3 . IDENT_4 , STRING_1 ) ; java . ... | org . junit . Assert . assertEquals ( response . getMessage ( ) , message ) |
METHOD_0 ( ) { java . security . IDENT_0 IDENT_1 = org . apache . hadoop . security . IDENT_2 . IDENT_3 . METHOD_1 ( STRING_0 ) ; IDENT_4 = org . apache . hadoop . security . IDENT_2 . IDENT_3 . METHOD_2 ( STRING_1 1 , IDENT_1 , INT_0 , STRING_2 ) ; IDENT_5 = org . apache . hadoop . security . IDENT_2 . IDENT_3 . METHO... | org . junit . Assert . assertEquals ( 1 , IDENT_13 . METHOD_7 ( ) . length ) |
METHOD_0 ( ) { org . apache . hadoop . security . token . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = new org . apache . hadoop . security . token . IDENT_0 . IDENT_1 . METHOD_1 ( ( ( ( INT_0 * INT_1 ) * INT_1 ) * 1000 ) , ( 10 * 1000 ) , ( 1 * 1000 ) , INT_2 ) ; try { IDENT_3 . METHOD_2 ( ) ; org . apache . hadoop . securit... | org . junit . Assert . assertEquals ( t , IDENT_9 ) |
METHOD_0 ( ) { org . apache . hadoop . security . token . IDENT_0 . web . IDENT_1 . IDENT_2 op = IDENT_1 . IDENT_2 . IDENT_3 ; javax . servlet . http . IDENT_4 request = org . mockito . Mockito . mock ( javax . servlet . http . IDENT_4 . class ) ; org . mockito . Mockito . when ( request . METHOD_1 ( ) ) . thenReturn (... | org . junit . Assert . assertFalse ( handler . METHOD_9 ( null , request , response ) ) |
METHOD_0 ( ) { org . apache . hadoop . security . token . IDENT_0 . web . IDENT_1 . IDENT_2 op = IDENT_1 . IDENT_2 . IDENT_3 ; javax . servlet . http . IDENT_4 request = org . mockito . Mockito . mock ( javax . servlet . http . IDENT_4 . class ) ; org . mockito . Mockito . when ( request . METHOD_1 ( ) ) . thenReturn (... | org . junit . Assert . assertFalse ( handler . METHOD_9 ( null , request , response ) ) |
METHOD_0 ( ) { java . lang . String key = STRING_0 ; java . lang . String value = STRING_1 ; org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; conf . set ( ( ( org . apache . hadoop . IDENT_0 . IDENT_1 . IDENT_2 ) + key ) , value ) ; org . apache . IDENT_3 . core... | org . junit . Assert . assertEquals ( value , IDENT_5 . get ( key ) ) |
METHOD_0 ( ) { java . lang . String key = STRING_0 ; java . lang . String IDENT_0 = STRING_1 ; java . lang . String IDENT_1 = STRING_2 ; org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; conf . set ( ( ( org . apache . hadoop . IDENT_2 . IDENT_3 . IDENT_4 ) + key... | org . junit . Assert . assertEquals ( IDENT_1 , IDENT_11 . get ( key ) ) |
METHOD_0 ( ) { org . apache . hadoop . util . IDENT_0 < java . lang . Integer > l = new org . apache . hadoop . util . IDENT_0 < java . lang . Integer > ( ) ; for ( int i = 0 ; i < INT_0 ; i ++ ) { l . add ( i ) ; } int i = 0 ; for ( int IDENT_1 : l ) { "<AssertPlaceHolder>" ; i ++ ; } } add ( org . apache . hadoop . y... | org . junit . Assert . assertEquals ( i , IDENT_1 ) |
METHOD_0 ( ) { org . apache . hadoop . util . IDENT_0 IDENT_1 = new org . apache . hadoop . util . IDENT_2 . Builder ( ) . METHOD_1 ( 100 ) . METHOD_2 ( INT_0 ) . METHOD_3 ( 3 ) . METHOD_4 ( 0 ) . METHOD_5 ( 6 ) . build ( ) ; long [ ] IDENT_3 = new long [ ] { 100 , INT_1 , INT_2 , INT_0 , INT_0 , INT_0 , - 1 } ; for ( ... | org . junit . Assert . assertEquals ( IDENT_4 , IDENT_1 . METHOD_6 ( ) ) |
METHOD_0 ( ) { java . util . Map < java . lang . String , java . lang . Object > json = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) ; json . put ( IDENT_0 . IDENT_1 , org . apache . hadoop . util . IllegalStateException . class . METHOD_1 ( ) ) ; json . put ( IDENT_0 . IDENT_2 , org . ... | org . junit . Assert . assertEquals ( STRING_0 , ex . getMessage ( ) ) |
METHOD_0 ( ) { java . lang . String IDENT_0 = org . apache . hadoop . util . IDENT_1 . METHOD_1 ( org . apache . commons . logging . IDENT_2 . class ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . Class ) { com . google . common . base . IDENT_3 . METHOD_2 ( IDENT_4 , STRING_0 ) ; java . lang . IDENT_5 loader = ... | org . junit . Assert . assertTrue ( new java . io . File ( IDENT_0 ) . exists ( ) ) |
METHOD_0 ( ) { java . lang . String IDENT_0 = org . apache . hadoop . util . IDENT_1 . METHOD_1 ( org . apache . hadoop . util . IDENT_2 . class ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . Class ) { com . google . common . base . IDENT_3 . METHOD_2 ( IDENT_4 , STRING_0 ) ; java . lang . IDENT_5 loader = IDEN... | org . junit . Assert . assertTrue ( new java . io . File ( IDENT_0 ) . exists ( ) ) |
METHOD_0 ( ) { java . util . ArrayList < java . lang . Integer > list = org . apache . hadoop . util . IDENT_0 . METHOD_1 ( 100 , INT_0 ) ; org . apache . hadoop . util . IDENT_1 < org . apache . hadoop . util . IDENT_0 . IDENT_2 , org . apache . hadoop . util . IDENT_0 . IDENT_2 > set = new org . apache . hadoop . uti... | org . junit . Assert . assertTrue ( ( ( IDENT_4 . next ( ) . METHOD_3 ( ) ) <= IDENT_5 ) ) |
METHOD_0 ( ) { org . apache . camel . component . IDENT_0 . IDENT_1 IDENT_2 = new org . apache . camel . component . IDENT_0 . METHOD_1 ( IDENT_3 ) ; message . METHOD_2 ( IDENT_4 . IDENT_5 , STRING_0 ) ; com . IDENT_0 . client . IDENT_6 . IDENT_7 props = IDENT_2 . METHOD_3 ( IDENT_8 ) . build ( ) ; "<AssertPlaceHolder>... | org . junit . Assert . assertEquals ( STRING_0 , props . getType ( ) ) |
METHOD_0 ( ) { byte [ ] IDENT_0 = org . apache . hadoop . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; org . apache . hadoop . IDENT_1 . IDENT_3 . IDENT_4 . IDENT_5 header = org . apache . hadoop . util . IDENT_6 . METHOD_2 ( IDENT_7 . IDENT_8 , IDENT_9 . IDENT_10 , 0 , IDENT_11 . IDENT_12 , IDENT_0 ) ; "<AssertPlaceHolder>" ; }... | org . junit . Assert . assertTrue ( java . util . Arrays . equals ( IDENT_0 , header . METHOD_1 ( ) . toByteArray ( ) ) ) |
METHOD_0 ( ) { java . util . List < org . apache . IDENT_0 . data . IDENT_1 > result = org . apache . hadoop . util . IDENT_2 . METHOD_1 ( "" ) ; "<AssertPlaceHolder>" ; } isEmpty ( ) { return ( IDENT_3 . METHOD_2 ( 0 ) ) == ( - 1 ) ; } | org . junit . Assert . assertTrue ( result . isEmpty ( ) ) |
METHOD_0 ( ) { java . util . List < org . apache . IDENT_0 . data . IDENT_1 > result = org . apache . hadoop . util . IDENT_2 . METHOD_1 ( null ) ; "<AssertPlaceHolder>" ; } isEmpty ( ) { return ( IDENT_3 . METHOD_2 ( 0 ) ) == ( - 1 ) ; } | org . junit . Assert . assertTrue ( result . isEmpty ( ) ) |
METHOD_0 ( ) { java . util . List < org . apache . hadoop . util . IDENT_0 . IDENT_1 > result = org . apache . hadoop . util . IDENT_0 . METHOD_1 ( "" ) ; "<AssertPlaceHolder>" ; } isEmpty ( ) { return ( IDENT_2 . METHOD_2 ( 0 ) ) == ( - 1 ) ; } | org . junit . Assert . assertTrue ( result . isEmpty ( ) ) |
METHOD_0 ( ) { java . util . List < org . apache . hadoop . util . IDENT_0 . IDENT_1 > result = org . apache . hadoop . util . IDENT_0 . METHOD_1 ( null ) ; "<AssertPlaceHolder>" ; } isEmpty ( ) { return ( IDENT_2 . METHOD_2 ( 0 ) ) == ( - 1 ) ; } | org . junit . Assert . assertTrue ( result . isEmpty ( ) ) |
METHOD_0 ( ) { org . apache . camel . component . IDENT_0 . IDENT_1 IDENT_2 = new org . apache . camel . component . IDENT_0 . METHOD_1 ( IDENT_3 ) ; message . METHOD_2 ( IDENT_4 . IDENT_5 , STRING_0 ) ; com . IDENT_0 . client . IDENT_6 . IDENT_7 props = IDENT_2 . METHOD_3 ( IDENT_8 ) . build ( ) ; "<AssertPlaceHolder>... | org . junit . Assert . assertEquals ( STRING_0 , props . METHOD_4 ( ) ) |
METHOD_0 ( ) { org . apache . hadoop . IDENT_0 . IDENT_1 . METHOD_1 ( ) . METHOD_2 ( STRING_0 , org . apache . hadoop . IDENT_2 . IDENT_3 ) ; org . apache . hadoop . IDENT_0 . IDENT_1 . METHOD_1 ( ) . METHOD_2 ( STRING_0 , org . apache . hadoop . IDENT_2 . IDENT_4 ) ; org . apache . hadoop . hdfs . tools . IDENT_5 admi... | org . junit . Assert . assertEquals ( ( - 1 ) , IDENT_7 ) |
METHOD_0 ( ) { org . apache . hadoop . IDENT_0 . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( org . apache . hadoop . IDENT_0 . IDENT_1 . class ) ; org . mockito . Mockito . METHOD_1 ( IDENT_2 . METHOD_2 ( org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . any ( java . lang . String [ ] . class )... | org . junit . Assert . assertEquals ( ( - 1 ) , IDENT_8 ) |
METHOD_0 ( ) { org . apache . hadoop . IDENT_0 . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( org . apache . hadoop . IDENT_0 . IDENT_1 . class ) ; org . mockito . Mockito . METHOD_1 ( IDENT_2 . METHOD_2 ( org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . any ( java . lang . String [ ] . class )... | org . junit . Assert . assertEquals ( ( - 1 ) , IDENT_8 ) |
METHOD_0 ( ) { java . util . Date IDENT_0 = new java . util . Date ( ) ; org . apache . camel . component . IDENT_1 . IDENT_2 IDENT_3 = new org . apache . camel . component . IDENT_1 . METHOD_1 ( IDENT_4 ) ; message . METHOD_2 ( IDENT_5 . IDENT_6 , IDENT_0 ) ; com . IDENT_1 . client . IDENT_7 . IDENT_8 props = IDENT_3 ... | org . junit . Assert . assertEquals ( IDENT_0 , props . METHOD_4 ( ) ) |
METHOD_0 ( ) { org . apache . hadoop . hdfs . IDENT_0 conf = org . apache . hadoop . fs . IDENT_1 . METHOD_1 ( ) ; conf . METHOD_2 ( org . apache . hadoop . fs . IDENT_2 , false ) ; org . apache . hadoop . hdfs . IDENT_3 cluster = null ; final org . apache . hadoop . fs . Path IDENT_4 = new org . apache . hadoop . fs .... | org . junit . Assert . assertEquals ( null , buf ) |
METHOD_0 ( ) { final int IDENT_0 = INT_0 ; org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; conf . METHOD_1 ( IDENT_1 . IDENT_2 , false ) ; org . apache . hadoop . hdfs . IDENT_3 cluster = null ; org . apache . hadoop . fs . IDENT_4 [ ] streams = new org . apach... | org . junit . Assert . assertTrue ( ( ( - 1 ) != ( streams [ i ] . read ( ) ) ) ) |
METHOD_0 ( ) { final short IDENT_0 = 1 ; final int IDENT_1 = INT_0 ; org . junit . IDENT_2 . METHOD_1 ( ( null == ( org . apache . hadoop . net . IDENT_3 . IDENT_4 . METHOD_2 ( ) ) ) ) ; org . apache . hadoop . net . IDENT_3 . IDENT_5 IDENT_6 = new org . apache . hadoop . net . IDENT_3 . METHOD_3 ( ) ; org . apache . h... | org . junit . Assert . assertArrayEquals ( IDENT_11 , buf ) |
METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . hdfs . METHOD_1 ( ) ; conf . set ( IDENT_0 . IDENT_1 , STRING_0 ) ; org . apache . hadoop . hdfs . IDENT_2 cluster = null ; try { int IDENT_3 = 1 ; cluster = new org . apache . hadoop . hdfs . IDENT_2 . Builder ( conf ) . MET... | org . junit . Assert . assertEquals ( 0 , IDENT_9 . run ( IDENT_14 ) ) |
METHOD_0 ( ) { long IDENT_0 = INT_0 ; org . apache . hadoop . fs . Path file = new org . apache . hadoop . fs . Path ( STRING_0 ) ; org . apache . hadoop . hdfs . IDENT_1 . conf . METHOD_1 ( IDENT_2 . IDENT_3 , 10 ) ; org . apache . hadoop . hdfs . IDENT_1 . conf . METHOD_1 ( org . apache . hadoop . hdfs . IDENT_2 . ID... | org . junit . Assert . assertTrue ( ( IDENT_11 > 0 ) ) |
METHOD_0 ( ) { LOG . debug ( STRING_0 ) ; IDENT_0 = org . apache . hadoop . hdfs . IDENT_1 . newInstance ( conf ) ; org . apache . hadoop . fs . Path file = new org . apache . hadoop . fs . Path ( STRING_1 ) ; IDENT_0 . create ( file ) ; boolean exists = IDENT_0 . exists ( file ) ; "<AssertPlaceHolder>" ; org . apache ... | org . junit . Assert . assertTrue ( exists ) |
METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . hdfs . METHOD_1 ( ) ; org . apache . hadoop . hdfs . IDENT_0 cluster = new org . apache . hadoop . hdfs . IDENT_0 . Builder ( conf ) . METHOD_2 ( 2 ) . build ( ) ; org . apache . hadoop . hdfs . IDENT_1 IDENT_2 = ( ( org . ap... | org . junit . Assert . assertEquals ( 0 , org . apache . hadoop . hdfs . IDENT_4 . METHOD_16 ( shell , STRING_5 , root , IDENT_9 ) ) |
METHOD_0 ( ) { java . lang . String IDENT_0 = org . apache . hadoop . net . IDENT_1 . METHOD_1 ( ) ; java . nio . file . Path IDENT_2 = java . nio . file . IDENT_3 . get ( org . apache . hadoop . hdfs . IDENT_4 . IDENT_5 , ( IDENT_0 + STRING_0 ) ) ; java . nio . file . Path IDENT_6 = java . nio . file . IDENT_3 . get (... | org . junit . Assert . assertEquals ( 1 , cluster . METHOD_21 ( ) . size ( ) ) |
METHOD_0 ( ) { final int IDENT_0 = INT_0 * INT_1 ; final int IDENT_1 = 10 * IDENT_0 ; org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; conf . METHOD_1 ( IDENT_2 . IDENT_3 , IDENT_0 ) ; init ( conf ) ; final int IDENT_4 = 100 ; final org . apache . hadoop . fs . ... | org . junit . Assert . assertNull ( IDENT_8 . get ( ) , IDENT_8 . get ( ) ) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.