input
stringlengths
35
67.8k
output
stringlengths
39
1.53k
METHOD_0 ( ) { when ( project . METHOD_1 ( IDENT_0 . IDENT_1 ) ) . thenReturn ( true ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . eclipse . core . resources . IDENT_2 ) { return ( project != null ) && ( com . google . cloud . tools . eclipse . util . IDENT_3 . METHOD_1 ( project , com . google . cloud . tools . eclipse . IDENT_4 . core . IDENT_5 . IDENT_0 . IDENT_1 ) ) ; }
org . junit . Assert . assertTrue ( com . google . cloud . tools . eclipse . IDENT_4 . core . IDENT_5 . IDENT_0 . METHOD_2 ( project ) )
METHOD_0 ( ) { org . apache . maven . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = new org . apache . maven . IDENT_0 . IDENT_1 . METHOD_1 ( STRING_0 ) ; when ( IDENT_4 . METHOD_2 ( IDENT_5 . IDENT_6 , IDENT_5 . IDENT_7 , IDENT_8 . IDENT_9 . METHOD_3 ( ) ) ) . thenReturn ( IDENT_3 ) ; org . apache . maven . IDENT_0 . IDENT_1 . IDENT_2 version = manager . METHOD_4 ( IDENT_8 . IDENT_9 . METHOD_3 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . apache . maven . IDENT_0 . IDENT_1 . IDENT_10 ) { return IDENT_4 . METHOD_2 ( IDENT_5 . IDENT_6 , IDENT_5 . IDENT_7 , IDENT_11 ) ; }
org . junit . Assert . assertEquals ( IDENT_3 , version )
METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 , IDENT_1 . IDENT_3 , IDENT_4 . IDENT_5 . METHOD_2 ( ) ) ) . thenReturn ( null ) ; org . apache . maven . IDENT_6 . IDENT_7 . IDENT_8 version = manager . METHOD_3 ( IDENT_4 . IDENT_5 . METHOD_2 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . apache . maven . IDENT_6 . IDENT_7 . IDENT_9 ) { return IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 , IDENT_1 . IDENT_3 , IDENT_10 ) ; }
org . junit . Assert . assertNull ( version )
METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( project ) ) . thenReturn ( null ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . eclipse . core . resources . IDENT_1 ) { org . apache . maven . model . IDENT_2 model = METHOD_3 ( project ) ; if ( model == null ) { return false ; } org . apache . maven . model . IDENT_3 IDENT_4 = com . google . cloud . tools . eclipse . IDENT_5 . core . project . IDENT_6 . METHOD_4 ( model ) ; if ( IDENT_4 == null ) { return false ; } return ( IDENT_7 . IDENT_8 . equals ( IDENT_4 . METHOD_5 ( ) ) ) || ( IDENT_7 . IDENT_9 . equals ( IDENT_4 . METHOD_5 ( ) ) ) ; }
org . junit . Assert . assertFalse ( manager . METHOD_2 ( project ) )
METHOD_0 ( ) { when ( model . METHOD_1 ( ) ) . thenReturn ( com . google . common . collect . ImmutableList . < org . apache . maven . model . IDENT_0 > of ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . eclipse . core . resources . IDENT_1 ) { org . apache . maven . model . IDENT_2 model = METHOD_3 ( project ) ; if ( model == null ) { return false ; } org . apache . maven . model . IDENT_0 IDENT_3 = com . google . cloud . tools . eclipse . IDENT_4 . core . project . IDENT_5 . METHOD_4 ( model ) ; if ( IDENT_3 == null ) { return false ; } return ( IDENT_6 . IDENT_7 . equals ( IDENT_3 . METHOD_5 ( ) ) ) || ( IDENT_6 . IDENT_8 . equals ( IDENT_3 . METHOD_5 ( ) ) ) ; }
org . junit . Assert . assertFalse ( manager . METHOD_2 ( project ) )
METHOD_0 ( ) { when ( model . METHOD_1 ( ) ) . thenReturn ( com . google . common . collect . ImmutableList . < org . apache . maven . model . IDENT_0 > of ( com . google . cloud . tools . eclipse . IDENT_1 . core . project . IDENT_2 . METHOD_2 ( ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . eclipse . core . resources . IDENT_3 ) { org . apache . maven . model . IDENT_4 model = METHOD_4 ( project ) ; if ( model == null ) { return false ; } org . apache . maven . model . IDENT_0 IDENT_5 = com . google . cloud . tools . eclipse . IDENT_1 . core . project . IDENT_6 . METHOD_5 ( model ) ; if ( IDENT_5 == null ) { return false ; } return ( IDENT_7 . IDENT_8 . equals ( IDENT_5 . METHOD_6 ( ) ) ) || ( IDENT_7 . IDENT_9 . equals ( IDENT_5 . METHOD_6 ( ) ) ) ; }
org . junit . Assert . assertTrue ( manager . METHOD_3 ( project ) )
METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( project ) ) . thenReturn ( null ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . eclipse . core . resources . IDENT_1 ) { org . apache . maven . model . IDENT_2 model = METHOD_3 ( project ) ; if ( model == null ) { return false ; } org . apache . maven . model . IDENT_3 IDENT_4 = com . google . cloud . tools . eclipse . IDENT_5 . core . project . IDENT_6 . METHOD_4 ( model ) ; if ( ( ( IDENT_4 == null ) || ( IDENT_7 . IDENT_8 . equals ( IDENT_4 . METHOD_5 ( ) ) ) ) || ( IDENT_7 . IDENT_9 . equals ( IDENT_4 . METHOD_5 ( ) ) ) ) { return false ; } return true ; }
org . junit . Assert . assertFalse ( manager . METHOD_2 ( project ) )
METHOD_0 ( ) { when ( model . METHOD_1 ( ) ) . thenReturn ( com . google . common . collect . ImmutableList . < org . apache . maven . model . IDENT_0 > of ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . eclipse . core . resources . IDENT_1 ) { org . apache . maven . model . IDENT_2 model = METHOD_3 ( project ) ; if ( model == null ) { return false ; } org . apache . maven . model . IDENT_0 IDENT_3 = com . google . cloud . tools . eclipse . IDENT_4 . core . project . IDENT_5 . METHOD_4 ( model ) ; if ( ( ( IDENT_3 == null ) || ( IDENT_6 . IDENT_7 . equals ( IDENT_3 . METHOD_5 ( ) ) ) ) || ( IDENT_6 . IDENT_8 . equals ( IDENT_3 . METHOD_5 ( ) ) ) ) { return false ; } return true ; }
org . junit . Assert . assertFalse ( manager . METHOD_2 ( project ) )
METHOD_0 ( ) { java . lang . String location = STRING_0 ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { if ( com . google . common . base . IDENT_0 . METHOD_2 ( location ) ) { return location ; } else if ( location . toLowerCase ( Locale . IDENT_1 ) . startsWith ( com . google . cloud . tools . eclipse . IDENT_2 . core . project . IDENT_3 . IDENT_4 ) ) { return ( com . google . cloud . tools . eclipse . IDENT_2 . core . project . IDENT_3 . IDENT_4 ) + ( location . substring ( com . google . cloud . tools . eclipse . IDENT_2 . core . project . IDENT_3 . IDENT_4 . length ( ) ) ) ; } return ( com . google . cloud . tools . eclipse . IDENT_2 . core . project . IDENT_3 . IDENT_4 ) + location ; }
org . junit . Assert . assertEquals ( location , com . google . cloud . tools . eclipse . IDENT_2 . core . project . IDENT_3 . METHOD_1 ( location ) )
METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { if ( com . google . common . base . IDENT_0 . METHOD_2 ( location ) ) { return location ; } else if ( location . toLowerCase ( Locale . IDENT_1 ) . startsWith ( com . google . cloud . tools . eclipse . IDENT_2 . core . project . IDENT_3 . IDENT_4 ) ) { return ( com . google . cloud . tools . eclipse . IDENT_2 . core . project . IDENT_3 . IDENT_4 ) + ( location . substring ( com . google . cloud . tools . eclipse . IDENT_2 . core . project . IDENT_3 . IDENT_4 . length ( ) ) ) ; } return ( com . google . cloud . tools . eclipse . IDENT_2 . core . project . IDENT_3 . IDENT_4 ) + location ; }
org . junit . Assert . assertEquals ( null , com . google . cloud . tools . eclipse . IDENT_2 . core . project . IDENT_3 . METHOD_1 ( null ) )
METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { if ( com . google . common . base . IDENT_0 . METHOD_2 ( location ) ) { return location ; } else if ( location . toLowerCase ( Locale . IDENT_1 ) . startsWith ( com . google . cloud . tools . eclipse . IDENT_2 . core . project . IDENT_3 . IDENT_4 ) ) { return ( com . google . cloud . tools . eclipse . IDENT_2 . core . project . IDENT_3 . IDENT_4 ) + ( location . substring ( com . google . cloud . tools . eclipse . IDENT_2 . core . project . IDENT_3 . IDENT_4 . length ( ) ) ) ; } return ( com . google . cloud . tools . eclipse . IDENT_2 . core . project . IDENT_3 . IDENT_4 ) + location ; }
org . junit . Assert . assertEquals ( "" , com . google . cloud . tools . eclipse . IDENT_2 . core . project . IDENT_3 . METHOD_1 ( "" ) )
METHOD_0 ( ) { org . junit . IDENT_0 . METHOD_1 ( ( ! ( IDENT_1 . METHOD_2 ( ) . toString ( ) . isEmpty ( ) ) ) ) ; try { com . google . cloud . tools . eclipse . IDENT_2 . core . project . IDENT_3 . METHOD_3 ( IDENT_1 . METHOD_2 ( ) , IDENT_1 . METHOD_4 ( ) ) ; org . junit . Assert . fail ( ) ; } catch ( java . lang . IllegalArgumentException ex ) { "<AssertPlaceHolder>" ; } } getMessage ( ) { return message ; }
org . junit . Assert . assertNotNull ( ex . getMessage ( ) )
METHOD_0 ( ) { page . METHOD_1 ( IDENT_0 . METHOD_2 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return IDENT_1 . METHOD_3 ( ) ; }
org . junit . Assert . assertEquals ( "" , page . METHOD_3 ( ) )
METHOD_0 ( ) { java . util . List < java . lang . String > IDENT_0 = this . IDENT_1 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( ) { return java . util . stream . IDENT_2 . stream ( this . methods . METHOD_2 ( ) , false ) . METHOD_3 ( ( IDENT_3 , IDENT_4 ) -> { return new java . lang . Long ( java . lang . Long . METHOD_4 ( IDENT_4 . getValue ( ) ) ) . compareTo ( java . lang . Long . METHOD_4 ( IDENT_3 . getValue ( ) ) ) ; } ) . map ( ( e ) -> ( ( ( e . getKey ( ) ) + STRING_0 ) + ( e . getValue ( ) ) ) + STRING_1 ) . collect ( java . util . stream . IDENT_5 . toList ( ) ) ; }
org . junit . Assert . assertTrue ( IDENT_0 . isEmpty ( ) )
METHOD_0 ( ) { org . apache . IDENT_0 . common . util . IDENT_1 IDENT_2 = org . apache . IDENT_0 . common . util . IDENT_1 . METHOD_1 ( ) . name ( STRING_0 ) . METHOD_2 ( 1 ) . build ( ) ; java . util . concurrent . atomic . IDENT_3 IDENT_4 = new java . util . concurrent . atomic . METHOD_3 ( 0L ) ; java . util . concurrent . IDENT_5 IDENT_6 = new java . util . concurrent . METHOD_4 ( 1 ) ; java . util . concurrent . IDENT_7 < java . lang . Long > future = org . apache . IDENT_0 . common . concurrent . IDENT_8 . METHOD_5 ( ) ; org . apache . IDENT_0 . common . concurrent . IDENT_8 . METHOD_6 ( future , ( result , IDENT_9 ) -> { IDENT_4 . set ( result ) ; IDENT_6 . METHOD_7 ( ) ; } , IDENT_2 , new java . lang . Object ( ) ) ; org . apache . IDENT_0 . common . concurrent . IDENT_8 . METHOD_8 ( future , INT_0 ) ; IDENT_6 . METHOD_9 ( ) ; "<AssertPlaceHolder>" ; } get ( ) { while ( true ) { try { return IDENT_10 . get ( 100 , TimeUnit . IDENT_11 ) ; } catch ( java . lang . IDENT_12 e ) { log . warn ( STRING_1 , e ) ; return - 1L ; } catch ( java . util . concurrent . IDENT_13 e ) { throw new java . lang . IllegalArgumentException ( STRING_2 ) ; } catch ( java . util . concurrent . IDENT_14 e ) { continue ; } } }
org . junit . Assert . assertEquals ( INT_0 , IDENT_4 . get ( ) )
METHOD_0 ( ) { try { new com . google . cloud . tools . eclipse . IDENT_0 . ui . IDENT_1 . METHOD_1 ( null , 0 , null , null ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( java . lang . IllegalArgumentException ex ) { "<AssertPlaceHolder>" ; } } getMessage ( ) { return message ; }
org . junit . Assert . assertNotNull ( ex . getMessage ( ) )
METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( ) { return IDENT_0 ; }
org . junit . Assert . assertSame ( shell , component . METHOD_1 ( ) )
METHOD_0 ( ) { IDENT_0 . METHOD_1 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return IDENT_0 . getText ( ) ; }
org . junit . Assert . assertEquals ( STRING_0 , component . METHOD_2 ( ) )
METHOD_0 ( ) { when ( IDENT_0 . getText ( ) ) . thenReturn ( STRING_0 ) ; listener . IDENT_1 = STRING_0 ; listener . METHOD_1 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 , times ( 1 ) ) . getText ( ) ; org . mockito . Mockito . METHOD_2 ( IDENT_0 ) ; } METHOD_1 ( org . eclipse . swt . events . IDENT_3 ) { java . lang . String IDENT_4 = IDENT_5 . getText ( ) ; if ( ( IDENT_1 . equals ( IDENT_4 ) ) || ( IDENT_6 . equals ( IDENT_4 ) ) ) { return ; } java . lang . String IDENT_7 = IDENT_6 ; IDENT_6 = IDENT_4 ; if ( ( IDENT_4 . length ( ) ) < ( IDENT_7 . length ( ) ) ) { return ; } if ( ( ( IDENT_5 . METHOD_3 ( ) ) < ( IDENT_4 . length ( ) ) ) || ( ( IDENT_4 . length ( ) ) < 6 ) ) { return ; } java . util . IDENT_8 < java . lang . String > IDENT_9 = IDENT_10 . METHOD_4 ( IDENT_4 ) ; if ( IDENT_9 . isEmpty ( ) ) { return ; } java . lang . String IDENT_11 = IDENT_9 . first ( ) ; if ( ( ! ( IDENT_11 . startsWith ( IDENT_4 ) ) ) || ( IDENT_11 . equals ( IDENT_4 ) ) ) { return ; } int IDENT_12 = ( IDENT_10 . size ( ) ) - ( IDENT_9 . size ( ) ) ; IDENT_5 . METHOD_5 ( this ) ; IDENT_1 = IDENT_11 ; IDENT_5 . select ( IDENT_12 ) ; IDENT_5 . METHOD_6 ( new org . eclipse . swt . IDENT_13 . METHOD_7 ( IDENT_4 . length ( ) , IDENT_11 . length ( ) ) ) ; IDENT_5 . METHOD_8 ( this ) ; }
org . junit . Assert . assertEquals ( STRING_0 , listener . IDENT_1 )
METHOD_0 ( ) { com . google . api . services . IDENT_0 . v1 . IDENT_1 . IDENT_2 IDENT_3 = IDENT_4 . METHOD_1 ( mock ( com . google . api . client . auth . IDENT_5 . IDENT_6 . class ) ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( com . google . api . client . auth . IDENT_5 . IDENT_6 ) { com . google . common . base . IDENT_7 . METHOD_2 ( IDENT_8 , STRING_0 ) ; com . google . api . client . http . IDENT_9 transport = IDENT_8 . METHOD_3 ( IDENT_10 . IDENT_11 ) ; com . google . common . base . IDENT_7 . METHOD_2 ( transport , STRING_1 ) ; com . google . common . base . IDENT_7 . METHOD_2 ( IDENT_12 , STRING_2 ) ; com . google . api . services . IDENT_0 . v1 . IDENT_1 IDENT_0 = new com . google . api . services . IDENT_0 . v1 . IDENT_1 . Builder ( transport , IDENT_12 , IDENT_13 ) . METHOD_4 ( IDENT_14 . IDENT_15 ) . build ( ) ; return IDENT_0 . METHOD_5 ( ) ; }
org . junit . Assert . assertNotNull ( METHOD_5 )
METHOD_0 ( ) { com . google . api . services . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = IDENT_4 . METHOD_1 ( mock ( com . google . api . client . auth . IDENT_5 . IDENT_6 . class ) ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( com . google . api . client . auth . IDENT_5 . IDENT_6 ) { com . google . common . base . IDENT_7 . METHOD_2 ( IDENT_8 , STRING_0 ) ; com . google . api . client . http . IDENT_9 transport = IDENT_8 . METHOD_3 ( IDENT_10 . IDENT_11 ) ; com . google . common . base . IDENT_7 . METHOD_2 ( transport , STRING_1 ) ; com . google . common . base . IDENT_7 . METHOD_2 ( IDENT_12 , STRING_2 ) ; com . google . api . services . IDENT_0 . IDENT_1 IDENT_13 = new com . google . api . services . IDENT_0 . IDENT_1 . Builder ( transport , IDENT_12 , IDENT_14 ) . METHOD_4 ( IDENT_15 . IDENT_16 ) . build ( ) ; return IDENT_13 . METHOD_5 ( ) ; }
org . junit . Assert . assertNotNull ( METHOD_5 )
METHOD_0 ( ) { for ( com . google . cloud . tools . eclipse . IDENT_0 . internal . IDENT_1 api : com . google . cloud . tools . eclipse . IDENT_0 . internal . IDENT_1 . values ( ) ) { "<AssertPlaceHolder>" ; } } METHOD_1 ( ) { return uri ; }
org . junit . Assert . assertNotNull ( api . METHOD_1 ( ) )
METHOD_0 ( ) { java . util . List < java . util . concurrent . IDENT_0 < java . lang . Integer > > IDENT_1 = com . google . common . collect . Lists . newArrayList ( ) ; java . util . List < java . lang . Integer > result = org . apache . IDENT_2 . common . concurrent . IDENT_3 . result ( org . apache . IDENT_2 . common . concurrent . IDENT_3 . collect ( IDENT_1 ) ) ; "<AssertPlaceHolder>" ; } isEmpty ( ) { return IDENT_4 . isEmpty ( ) ; }
org . junit . Assert . assertTrue ( result . isEmpty ( ) )
test ( ) { when ( IDENT_0 . METHOD_0 ( any ( java . net . URI . class ) ) ) . thenReturn ( mock ( java . net . IDENT_1 . class ) ) ; com . google . api . client . http . IDENT_2 load = new com . google . cloud . tools . eclipse . IDENT_3 . internal . METHOD_1 ( IDENT_0 ) . load ( IDENT_4 . IDENT_5 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 ) . METHOD_0 ( IDENT_4 . IDENT_5 . METHOD_2 ( ) ) ; } load ( org . eclipse . core . resources . IDENT_6 ) { return com . google . cloud . tools . eclipse . IDENT_7 . IDENT_8 . ui . IDENT_9 . IDENT_10 . METHOD_3 ( key ) ; }
org . junit . Assert . assertNotNull ( load )
METHOD_0 ( ) { org . apache . maven . IDENT_0 . IDENT_1 . IDENT_2 version = IDENT_3 . IDENT_4 . METHOD_1 ( STRING_0 , STRING_1 ) ; if ( version == null ) { return ; } "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return IDENT_5 ; }
org . junit . Assert . assertTrue ( ( ( version . METHOD_2 ( ) ) > 0 ) )
METHOD_0 ( ) { org . apache . maven . IDENT_0 . IDENT_1 . IDENT_2 version = IDENT_3 . IDENT_4 . METHOD_1 ( STRING_0 , STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . lang . String ) { return METHOD_1 ( IDENT_5 , IDENT_6 , null ) ; }
org . junit . Assert . assertNotNull ( version )
METHOD_0 ( ) { com . google . cloud . tools . eclipse . IDENT_0 . IDENT_1 IDENT_2 = new com . google . cloud . tools . eclipse . IDENT_0 . METHOD_1 ( IDENT_3 , IDENT_4 , IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { MOD_0 ( IDENT_6 ) { return ! ( IDENT_7 . isEmpty ( ) ) ; } }
org . junit . Assert . assertFalse ( IDENT_2 . METHOD_2 ( ) )
METHOD_0 ( ) { com . google . cloud . tools . eclipse . IDENT_0 . IDENT_1 IDENT_2 = new com . google . cloud . tools . eclipse . IDENT_0 . METHOD_1 ( IDENT_3 , IDENT_4 , IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { MOD_0 ( IDENT_6 ) { return new java . util . HashSet ( IDENT_7 ) ; } }
org . junit . Assert . assertTrue ( IDENT_2 . METHOD_2 ( ) . isEmpty ( ) )
METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( java . util . Collections . METHOD_2 ( IDENT_1 ) ) ; com . google . cloud . tools . eclipse . IDENT_2 . ui . IDENT_3 IDENT_4 = new com . google . cloud . tools . eclipse . IDENT_2 . ui . METHOD_3 ( shell , IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return ( METHOD_5 ( ) ) > 0 ; }
org . junit . Assert . assertTrue ( IDENT_4 . METHOD_4 ( ) )
METHOD_0 ( ) { com . google . cloud . tools . eclipse . IDENT_0 . ui . IDENT_1 IDENT_2 = new com . google . cloud . tools . eclipse . IDENT_0 . ui . METHOD_1 ( shell , IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return ( IDENT_4 . METHOD_3 ( ) ) - 1 ; }
org . junit . Assert . assertEquals ( 0 , IDENT_2 . METHOD_2 ( ) )
METHOD_0 ( ) { java . util . List < java . util . concurrent . IDENT_0 < java . lang . Integer > > IDENT_1 = com . google . common . collect . Lists . newArrayList ( ) ; java . util . List < java . lang . Integer > IDENT_2 = com . google . common . collect . Lists . newArrayList ( ) ; for ( int i = 0 ; i < 10 ; i ++ ) { IDENT_1 . add ( org . apache . IDENT_3 . common . concurrent . IDENT_4 . value ( i ) ) ; IDENT_2 . add ( i ) ; } java . util . List < java . lang . Integer > results = org . apache . IDENT_3 . common . concurrent . IDENT_4 . result ( org . apache . IDENT_3 . common . concurrent . IDENT_4 . collect ( IDENT_1 ) ) ; "<AssertPlaceHolder>" ; } collect ( java . util . List ) { java . util . concurrent . IDENT_0 < java . lang . IDENT_5 > IDENT_6 = java . util . concurrent . IDENT_0 . METHOD_1 ( IDENT_7 . toArray ( new java . util . concurrent . IDENT_0 [ IDENT_7 . size ( ) ] ) ) ; return IDENT_6 . METHOD_2 ( ( result ) -> IDENT_7 . stream ( ) . map ( java . util . concurrent . IDENT_0 :: join ) . collect ( java . util . stream . IDENT_8 . toList ( ) ) ) ; }
org . junit . Assert . assertEquals ( IDENT_2 , results )
METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( java . util . Collections . METHOD_2 ( IDENT_1 ) ) ; com . google . cloud . tools . eclipse . IDENT_2 . ui . IDENT_3 IDENT_4 = new com . google . cloud . tools . eclipse . IDENT_2 . ui . METHOD_3 ( shell , IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return ( IDENT_5 . METHOD_5 ( ) ) - 1 ; }
org . junit . Assert . assertEquals ( 1 , IDENT_4 . METHOD_4 ( ) )
METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( new java . util . HashSet ( java . util . Arrays . asList ( IDENT_1 , IDENT_2 , IDENT_3 ) ) ) ; com . google . cloud . tools . eclipse . IDENT_4 . ui . IDENT_5 IDENT_6 = new com . google . cloud . tools . eclipse . IDENT_4 . ui . METHOD_2 ( shell , IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return ( IDENT_7 . METHOD_4 ( ) ) - 1 ; }
org . junit . Assert . assertEquals ( 3 , IDENT_6 . METHOD_3 ( ) )
METHOD_0 ( ) { IDENT_0 = new com . google . cloud . tools . eclipse . IDENT_1 . ui . METHOD_1 ( url , IDENT_2 ) ; METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return null ; }
org . junit . Assert . assertNotNull ( IDENT_2 . METHOD_3 ( ) )
METHOD_0 ( ) { com . google . api . services . IDENT_0 . IDENT_1 . IDENT_2 . List list = METHOD_1 ( ) ; com . google . api . services . IDENT_0 . model . IDENT_3 response = new com . google . api . services . IDENT_0 . model . METHOD_2 ( ) ; response . METHOD_3 ( null ) ; when ( list . execute ( ) ) . thenReturn ( response ) ; java . util . List < com . google . cloud . tools . eclipse . IDENT_4 . model . IDENT_5 > IDENT_6 = repository . METHOD_4 ( mock ( com . google . api . client . auth . IDENT_7 . IDENT_8 . class ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( com . google . api . client . auth . IDENT_7 . IDENT_8 ) { com . google . common . base . IDENT_9 . METHOD_5 ( IDENT_10 ) ; try { com . google . api . services . IDENT_0 . IDENT_1 . IDENT_2 IDENT_11 = IDENT_12 . METHOD_6 ( IDENT_10 ) ; java . lang . String token = null ; java . util . List < com . google . api . services . IDENT_0 . model . IDENT_13 > IDENT_14 = new java . util . ArrayList ( ) ; do { com . google . api . services . IDENT_0 . IDENT_1 . IDENT_2 . List IDENT_15 = IDENT_11 . list ( ) . METHOD_7 ( com . google . cloud . tools . eclipse . IDENT_4 . IDENT_16 . IDENT_17 ) ; if ( token != null ) { IDENT_15 = IDENT_15 . METHOD_8 ( token ) ; } com . google . api . services . IDENT_0 . model . METHOD_2 response = IDENT_15 . execute ( ) ; java . util . List < com . google . api . services . IDENT_0 . model . IDENT_13 > IDENT_18 = response . METHOD_4 ( ) ; if ( IDENT_18 != null ) { IDENT_14 . addAll ( IDENT_18 ) ; } token = response . METHOD_9 ( ) ; } while ( token != null ) ; java . util . List < com . google . cloud . tools . eclipse . IDENT_4 . model . IDENT_5 > IDENT_6 = com . google . cloud . tools . eclipse . IDENT_4 . IDENT_16 . METHOD_10 ( IDENT_14 ) ; return IDENT_6 ; } catch ( java . io . IOException ex ) { throw new com . google . cloud . tools . eclipse . IDENT_4 . METHOD_11 ( ex ) ; } }
org . junit . Assert . assertNotNull ( IDENT_6 )
METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( com . google . api . client . auth . IDENT_0 . IDENT_1 , java . lang . String ) { try { if ( ( IDENT_2 != null ) && ( ! ( com . google . common . base . IDENT_3 . METHOD_2 ( IDENT_4 ) ) ) ) { return com . google . cloud . tools . eclipse . IDENT_5 . IDENT_6 . METHOD_3 ( IDENT_7 . METHOD_4 ( IDENT_2 ) . get ( IDENT_4 ) . execute ( ) ) ; } else { return null ; } } catch ( java . io . IOException ex ) { throw new com . google . cloud . tools . eclipse . IDENT_5 . METHOD_5 ( ex ) ; } }
org . junit . Assert . assertNull ( repository . METHOD_1 ( mock ( com . google . api . client . auth . IDENT_0 . IDENT_1 . class ) , null ) )
METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( com . google . api . client . auth . IDENT_0 . IDENT_1 , java . lang . String ) { try { if ( ( IDENT_2 != null ) && ( ! ( com . google . common . base . IDENT_3 . METHOD_2 ( IDENT_4 ) ) ) ) { return com . google . cloud . tools . eclipse . IDENT_5 . IDENT_6 . METHOD_3 ( IDENT_7 . METHOD_4 ( IDENT_2 ) . get ( IDENT_4 ) . execute ( ) ) ; } else { return null ; } } catch ( java . io . IOException ex ) { throw new com . google . cloud . tools . eclipse . IDENT_5 . METHOD_5 ( ex ) ; } }
org . junit . Assert . assertNull ( repository . METHOD_1 ( mock ( com . google . api . client . auth . IDENT_0 . IDENT_1 . class ) , "" ) )
METHOD_0 ( ) { IDENT_0 . METHOD_1 ( com . google . cloud . tools . eclipse . IDENT_1 . IDENT_2 . METHOD_2 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { if ( METHOD_4 ( ) . isEmpty ( ) ) { return "" ; } com . google . cloud . tools . eclipse . IDENT_1 . model . IDENT_3 project = ( ( com . google . cloud . tools . eclipse . IDENT_1 . model . IDENT_3 ) ( METHOD_4 ( ) . METHOD_5 ( ) ) ) ; return project . getId ( ) ; }
org . junit . Assert . assertEquals ( "" , IDENT_0 . METHOD_3 ( ) )
METHOD_0 ( ) { java . util . List < java . lang . Long > IDENT_0 = com . google . common . collect . Lists . newArrayList ( java . util . stream . IDENT_1 . range ( 0L , INT_0 ) . iterator ( ) ) ; java . util . List < java . lang . Long > IDENT_2 = com . google . common . collect . Lists . transform ( IDENT_0 , ( IDENT_3 ) -> 2 * IDENT_3 ) ; java . util . function . IDENT_4 < java . lang . Long , java . util . concurrent . IDENT_5 < java . lang . Long > > IDENT_6 = ( value ) -> org . apache . IDENT_7 . common . concurrent . IDENT_8 . value ( ( 2 * value ) ) ; java . util . concurrent . IDENT_5 < java . util . List < java . lang . Long > > IDENT_9 = org . apache . IDENT_7 . common . concurrent . IDENT_8 . METHOD_1 ( IDENT_0 , IDENT_6 , null ) ; "<AssertPlaceHolder>" ; } result ( java . util . concurrent . IDENT_5 ) { return org . apache . IDENT_7 . common . concurrent . IDENT_8 . result ( future , org . apache . IDENT_7 . common . concurrent . IDENT_8 . IDENT_10 ) ; }
org . junit . Assert . assertEquals ( IDENT_2 , org . apache . IDENT_7 . common . concurrent . IDENT_8 . result ( IDENT_9 ) )
METHOD_0 ( ) { IDENT_0 . METHOD_1 ( com . google . cloud . tools . eclipse . IDENT_1 . IDENT_2 . METHOD_2 ( ) ) ; IDENT_0 . METHOD_3 ( new org . eclipse . IDENT_3 . IDENT_4 . METHOD_4 ( new com . google . cloud . tools . eclipse . IDENT_1 . model . METHOD_5 ( STRING_0 , STRING_0 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { if ( METHOD_7 ( ) . isEmpty ( ) ) { return "" ; } com . google . cloud . tools . eclipse . IDENT_1 . model . METHOD_5 project = ( ( com . google . cloud . tools . eclipse . IDENT_1 . model . METHOD_5 ) ( METHOD_7 ( ) . METHOD_8 ( ) ) ) ; return project . getId ( ) ; }
org . junit . Assert . assertEquals ( STRING_0 , IDENT_0 . METHOD_6 ( ) )
METHOD_0 ( ) { IDENT_0 . METHOD_1 ( com . google . cloud . tools . eclipse . IDENT_1 . IDENT_2 . METHOD_2 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { for ( java . lang . Object o : input ) { com . google . cloud . tools . eclipse . IDENT_1 . model . IDENT_3 IDENT_4 = ( ( com . google . cloud . tools . eclipse . IDENT_1 . model . IDENT_3 ) ( o ) ) ; if ( IDENT_4 . getId ( ) . equals ( IDENT_5 ) ) { return true ; } } return false ; }
org . junit . Assert . assertFalse ( IDENT_0 . METHOD_3 ( null ) )
METHOD_0 ( ) { IDENT_0 . METHOD_1 ( com . google . cloud . tools . eclipse . IDENT_1 . IDENT_2 . METHOD_2 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { for ( java . lang . Object o : input ) { com . google . cloud . tools . eclipse . IDENT_1 . model . IDENT_3 IDENT_4 = ( ( com . google . cloud . tools . eclipse . IDENT_1 . model . IDENT_3 ) ( o ) ) ; if ( IDENT_4 . getId ( ) . equals ( IDENT_5 ) ) { return true ; } } return false ; }
org . junit . Assert . assertFalse ( IDENT_0 . METHOD_3 ( "" ) )
METHOD_0 ( ) { com . google . cloud . tools . eclipse . IDENT_0 . model . IDENT_1 IDENT_2 = new com . google . cloud . tools . eclipse . IDENT_0 . model . METHOD_1 ( "name" , STRING_0 ) ; "<AssertPlaceHolder>" ; } equals ( java . lang . Object ) { if ( object == ( this ) ) { return true ; } if ( ( object == null ) || ( ! ( object instanceof com . google . cloud . tools . eclipse . IDENT_3 . validation . IDENT_4 ) ) ) { return false ; } com . google . cloud . tools . eclipse . IDENT_3 . validation . IDENT_4 element = ( ( com . google . cloud . tools . eclipse . IDENT_3 . validation . IDENT_4 ) ( object ) ) ; return ( ( ( java . util . IDENT_5 . equals ( IDENT_6 , element . METHOD_2 ( ) ) ) && ( java . util . IDENT_5 . equals ( message , element . getMessage ( ) ) ) ) && ( ( start . METHOD_3 ( ) ) == ( element . METHOD_4 ( ) . METHOD_3 ( ) ) ) ) && ( ( start . METHOD_5 ( ) ) == ( element . METHOD_4 ( ) . METHOD_5 ( ) ) ) ; }
org . junit . Assert . assertTrue ( IDENT_2 . equals ( IDENT_2 ) )
METHOD_0 ( ) { com . google . cloud . tools . eclipse . IDENT_0 . model . IDENT_1 IDENT_2 = new com . google . cloud . tools . eclipse . IDENT_0 . model . METHOD_1 ( "name" , STRING_0 ) ; IDENT_2 . METHOD_2 ( com . google . cloud . tools . eclipse . IDENT_0 . model . IDENT_3 . METHOD_3 ( STRING_0 ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return ( IDENT_4 . get ( ) ) != null ; }
org . junit . Assert . assertTrue ( IDENT_2 . METHOD_4 ( ) )
METHOD_0 ( ) { com . google . cloud . tools . eclipse . IDENT_0 . model . IDENT_1 IDENT_2 = new com . google . cloud . tools . eclipse . IDENT_0 . model . METHOD_1 ( "name" , STRING_0 ) ; IDENT_2 . METHOD_2 ( IDENT_3 . IDENT_4 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return ( IDENT_5 . get ( ) ) != null ; }
org . junit . Assert . assertTrue ( IDENT_2 . METHOD_3 ( ) )
METHOD_0 ( ) { com . google . cloud . tools . eclipse . IDENT_0 . model . IDENT_1 IDENT_2 = new com . google . cloud . tools . eclipse . IDENT_0 . model . METHOD_1 ( "name" , STRING_0 ) ; IDENT_2 . METHOD_2 ( null ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return IDENT_3 . get ( ) ; }
org . junit . Assert . assertNull ( IDENT_2 . METHOD_3 ( ) )
METHOD_0 ( ) { com . google . cloud . tools . eclipse . IDENT_0 . model . IDENT_1 IDENT_2 = new com . google . cloud . tools . eclipse . IDENT_0 . model . METHOD_1 ( "name" , STRING_0 ) ; IDENT_2 . METHOD_2 ( com . google . cloud . tools . eclipse . IDENT_0 . model . IDENT_3 . METHOD_3 ( STRING_0 ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return IDENT_4 . get ( ) ; }
org . junit . Assert . assertNotNull ( IDENT_2 . METHOD_4 ( ) )
METHOD_0 ( ) { fixture . METHOD_1 ( ) ; try { java . util . concurrent . IDENT_0 . IDENT_1 IDENT_2 = IDENT_3 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; METHOD_2 . METHOD_3 ( ) ; } finally { fixture . METHOD_4 ( ) ; } } METHOD_1 ( ) { do { org . eclipse . core . runtime . IDENT_4 . IDENT_5 IDENT_6 = org . eclipse . core . runtime . IDENT_4 . IDENT_7 . METHOD_5 ( ) ; IDENT_6 . join ( IDENT_8 . IDENT_9 , null ) ; } while ( ! ( IDENT_3 . METHOD_2 ( ) . METHOD_6 ( 10 , TimeUnit . IDENT_10 ) ) ) ; }
org . junit . Assert . assertTrue ( METHOD_2 . METHOD_6 ( ) )
METHOD_0 ( ) { IDENT_0 . METHOD_1 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return new java . util . ArrayList ( IDENT_1 ) ; }
org . junit . Assert . assertThat ( IDENT_0 . METHOD_2 ( ) , org . hamcrest . Matchers . empty ( ) )
METHOD_0 ( ) { java . util . List < java . lang . Long > IDENT_0 = com . google . common . collect . Lists . newArrayList ( ) ; java . util . List < java . lang . Long > IDENT_1 = com . google . common . collect . Lists . transform ( IDENT_0 , ( IDENT_2 ) -> 2 * IDENT_2 ) ; java . util . function . IDENT_3 < java . lang . Long , java . util . concurrent . IDENT_4 < java . lang . Long > > IDENT_5 = ( value ) -> org . apache . IDENT_6 . common . concurrent . IDENT_7 . value ( ( 2 * value ) ) ; java . util . concurrent . IDENT_4 < java . util . List < java . lang . Long > > IDENT_8 = org . apache . IDENT_6 . common . concurrent . IDENT_7 . METHOD_1 ( IDENT_0 , IDENT_5 , null ) ; "<AssertPlaceHolder>" ; } result ( java . util . concurrent . IDENT_4 ) { return org . apache . IDENT_6 . common . concurrent . IDENT_7 . result ( future , org . apache . IDENT_6 . common . concurrent . IDENT_7 . IDENT_9 ) ; }
org . junit . Assert . assertEquals ( IDENT_1 , org . apache . IDENT_6 . common . concurrent . IDENT_7 . result ( IDENT_8 ) )
METHOD_0 ( ) { org . eclipse . core . runtime . IDENT_0 . IDENT_1 IDENT_2 = new com . google . cloud . tools . eclipse . sdk . internal . IDENT_3 . METHOD_1 ( false ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . Object ) { return ( super . METHOD_2 ( IDENT_4 ) ) || ( IDENT_4 == ( com . google . cloud . tools . eclipse . sdk . internal . IDENT_5 . IDENT_6 ) ) ; }
org . junit . Assert . assertTrue ( IDENT_2 . METHOD_2 ( IDENT_5 . IDENT_6 ) )
METHOD_0 ( ) { new com . google . cloud . tools . eclipse . sdk . internal . IDENT_0 . METHOD_1 ( mock ( org . eclipse . ui . IDENT_1 . IDENT_2 . class ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { org . eclipse . ui . IDENT_1 . IDENT_3 [ ] IDENT_4 = org . eclipse . ui . IDENT_1 . IDENT_5 . METHOD_3 ( ) . METHOD_4 ( ) . METHOD_5 ( ) ; for ( org . eclipse . ui . IDENT_1 . IDENT_3 IDENT_1 : IDENT_4 ) { if ( STRING_0 . equals ( IDENT_1 . getName ( ) ) ) { return IDENT_1 ; } } return null ; }
org . junit . Assert . assertNull ( com . google . cloud . tools . eclipse . sdk . internal . IDENT_0 . METHOD_2 ( ) )
METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( org . eclipse . IDENT_0 . IDENT_1 . IDENT_2 ) { return ( IDENT_3 . contains ( com . google . cloud . tools . eclipse . sdk . internal . IDENT_4 . IDENT_5 ) ) && ( IDENT_3 . getString ( com . google . cloud . tools . eclipse . sdk . internal . IDENT_4 . IDENT_5 ) . equals ( com . google . cloud . tools . eclipse . sdk . internal . IDENT_4 . IDENT_6 . IDENT_7 . name ( ) ) ) ; }
org . junit . Assert . assertFalse ( com . google . cloud . tools . eclipse . sdk . internal . IDENT_4 . METHOD_1 ( IDENT_3 ) )
METHOD_0 ( ) { IDENT_0 . setValue ( IDENT_1 . IDENT_2 , STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . eclipse . IDENT_3 . IDENT_4 . IDENT_5 ) { return ( IDENT_0 . contains ( com . google . cloud . tools . eclipse . sdk . internal . IDENT_1 . IDENT_2 ) ) && ( IDENT_0 . getString ( com . google . cloud . tools . eclipse . sdk . internal . IDENT_1 . IDENT_2 ) . equals ( com . google . cloud . tools . eclipse . sdk . internal . IDENT_1 . IDENT_6 . IDENT_7 . name ( ) ) ) ; }
org . junit . Assert . assertTrue ( com . google . cloud . tools . eclipse . sdk . internal . IDENT_1 . METHOD_1 ( IDENT_0 ) )
METHOD_0 ( ) { IDENT_0 . setValue ( IDENT_1 . IDENT_2 , STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . eclipse . IDENT_3 . IDENT_4 . IDENT_5 ) { return ( IDENT_0 . contains ( com . google . cloud . tools . eclipse . sdk . internal . IDENT_1 . IDENT_2 ) ) && ( IDENT_0 . getString ( com . google . cloud . tools . eclipse . sdk . internal . IDENT_1 . IDENT_2 ) . equals ( com . google . cloud . tools . eclipse . sdk . internal . IDENT_1 . IDENT_6 . IDENT_7 . name ( ) ) ) ; }
org . junit . Assert . assertFalse ( com . google . cloud . tools . eclipse . sdk . internal . IDENT_1 . METHOD_1 ( IDENT_0 ) )
METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( ) { return new com . google . cloud . tools . eclipse . sdk . internal . METHOD_2 ( IDENT_0 , new java . util . concurrent . IDENT_1 . METHOD_3 ( ) ) { @ com . google . cloud . tools . eclipse . sdk . internal . Override MOD_0 com . google . cloud . tools . IDENT_2 . IDENT_3 METHOD_4 ( ) throws com . google . cloud . tools . IDENT_2 . IDENT_4 { return IDENT_5 ; } } ; }
org . junit . Assert . assertNotNull ( METHOD_1 ( ) . METHOD_4 ( ) )
METHOD_0 ( ) { com . google . cloud . tools . eclipse . sdk . ui . IDENT_0 IDENT_1 = new com . google . cloud . tools . eclipse . sdk . ui . METHOD_1 ( workbench , IDENT_2 ) ; IDENT_1 . METHOD_2 ( STRING_0 ) ; "<AssertPlaceHolder>" ; IDENT_1 . close ( ) ; verify ( IDENT_2 , METHOD_3 ( ) ) . run ( ) ; } METHOD_2 ( java . lang . String ) { if ( STRING_0 . equals ( IDENT_3 ) ) { IDENT_4 = false ; close ( ) ; } else if ( ( IDENT_3 != null ) && ( IDENT_3 . startsWith ( STRING_1 ) ) ) { org . eclipse . core . runtime . IDENT_5 status = com . google . cloud . tools . eclipse . ui . util . IDENT_6 . METHOD_4 ( workbench , IDENT_3 ) ; if ( ! ( status . METHOD_5 ( ) ) ) { com . google . cloud . tools . eclipse . sdk . ui . METHOD_1 . logger . log ( IDENT_7 . IDENT_8 , status . getMessage ( ) , status . METHOD_6 ( ) ) ; } } else { com . google . cloud . tools . eclipse . sdk . ui . METHOD_1 . logger . METHOD_7 ( ( STRING_2 + IDENT_3 ) ) ; } }
org . junit . Assert . assertFalse ( IDENT_1 . IDENT_4 )
METHOD_0 ( ) { when ( IDENT_0 . getString ( IDENT_1 . IDENT_2 ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_0 . getString ( IDENT_1 . IDENT_3 ) ) . thenReturn ( "" ) ; METHOD_1 ( ) ; "<AssertPlaceHolder>" ; IDENT_4 . METHOD_2 ( true ) ; IDENT_5 . METHOD_3 ( ) ; verify ( IDENT_0 ) . METHOD_4 ( IDENT_1 . IDENT_2 , STRING_1 ) ; } METHOD_5 ( ) { return new org . eclipse . IDENT_6 . IDENT_7 . METHOD_6 ( METHOD_7 ( ) ) ; }
org . junit . Assert . assertFalse ( IDENT_4 . METHOD_5 ( ) )
METHOD_0 ( ) { java . util . List < java . lang . Long > IDENT_0 = com . google . common . collect . Lists . newArrayList ( java . util . stream . IDENT_1 . range ( 0L , INT_0 ) . iterator ( ) ) ; java . util . concurrent . atomic . IDENT_2 IDENT_3 = new java . util . concurrent . atomic . METHOD_1 ( 0L ) ; java . util . function . IDENT_4 < java . lang . Long , java . util . concurrent . IDENT_5 < java . lang . Long > > IDENT_6 = ( value ) -> { if ( value < 5 ) { IDENT_3 . METHOD_2 ( value ) ; return org . apache . IDENT_7 . common . concurrent . IDENT_8 . value ( ( 2 * value ) ) ; } else { return org . apache . IDENT_7 . common . concurrent . IDENT_8 . exception ( new org . apache . IDENT_7 . common . concurrent . METHOD_3 ( ) ) ; } } ; java . util . concurrent . IDENT_5 < java . util . List < java . lang . Long > > IDENT_9 = org . apache . IDENT_7 . common . concurrent . IDENT_8 . METHOD_4 ( IDENT_0 , IDENT_6 , null ) ; try { org . apache . IDENT_7 . common . concurrent . IDENT_8 . result ( IDENT_9 ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( org . apache . IDENT_7 . common . concurrent . IDENT_10 . METHOD_3 IDENT_11 ) { } "<AssertPlaceHolder>" ; } get ( ) { while ( true ) { try { return IDENT_12 . get ( 100 , TimeUnit . IDENT_13 ) ; } catch ( java . lang . IDENT_14 e ) { log . warn ( STRING_1 , e ) ; return - 1L ; } catch ( java . util . concurrent . IDENT_15 e ) { throw new java . lang . IllegalArgumentException ( STRING_2 ) ; } catch ( java . util . concurrent . IDENT_16 e ) { continue ; } } }
org . junit . Assert . assertEquals ( INT_0 , IDENT_3 . get ( ) )
METHOD_0 ( ) { org . eclipse . ui . IDENT_0 . IDENT_1 IDENT_2 = mock ( org . eclipse . ui . IDENT_0 . IDENT_1 . class ) ; org . eclipse . ui . IDENT_0 . IDENT_3 IDENT_4 = com . google . cloud . tools . eclipse . ui . util . IDENT_5 . METHOD_1 ( STRING_0 , ( IDENT_6 ) -> IDENT_2 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_7 ) . METHOD_2 ( new org . eclipse . ui . IDENT_0 . IDENT_3 [ ] { IDENT_4 } ) ; } METHOD_1 ( java . lang . String , com . google . cloud . tools . eclipse . ui . util . IDENT_8 ) { org . eclipse . ui . IDENT_0 . IDENT_3 [ ] IDENT_9 = com . google . cloud . tools . eclipse . ui . util . IDENT_5 . IDENT_10 . get ( ) . METHOD_3 ( ) ; for ( org . eclipse . ui . IDENT_0 . IDENT_3 IDENT_0 : IDENT_9 ) { if ( name . equals ( IDENT_0 . getName ( ) ) ) { @ com . google . cloud . tools . eclipse . ui . util . METHOD_4 ( STRING_1 ) IDENT_11 result = ( ( IDENT_11 ) ( IDENT_0 ) ) ; return result ; } } return com . google . cloud . tools . eclipse . ui . util . IDENT_5 . METHOD_5 ( name , factory ) ; }
org . junit . Assert . assertEquals ( IDENT_4 , IDENT_2 )
METHOD_0 ( ) { when ( IDENT_0 . get ( eq ( IDENT_1 . IDENT_2 ) , anyString ( ) ) ) . thenReturn ( null ) ; java . lang . String IDENT_3 = com . google . cloud . tools . eclipse . IDENT_4 . IDENT_5 . METHOD_1 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 ) . put ( IDENT_1 . IDENT_2 , IDENT_3 ) ; } isEmpty ( ) { return ( IDENT_6 . isEmpty ( ) ) && ( IDENT_7 . isEmpty ( ) ) ; }
org . junit . Assert . assertFalse ( IDENT_3 . isEmpty ( ) )
METHOD_0 ( ) { when ( IDENT_0 . get ( eq ( IDENT_1 . IDENT_2 ) , anyString ( ) ) ) . thenReturn ( STRING_0 ) ; java . lang . String IDENT_3 = com . google . cloud . tools . eclipse . IDENT_4 . IDENT_5 . METHOD_1 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 , METHOD_2 ( ) ) . put ( IDENT_1 . IDENT_2 , IDENT_3 ) ; } METHOD_1 ( org . eclipse . core . runtime . IDENT_0 . IDENT_6 ) { java . lang . String IDENT_3 = IDENT_0 . get ( IDENT_1 . IDENT_2 , null ) ; if ( IDENT_3 == null ) { IDENT_3 = java . util . UUID . METHOD_3 ( ) . toString ( ) ; IDENT_0 . put ( IDENT_1 . IDENT_2 , IDENT_3 ) ; com . google . cloud . tools . eclipse . IDENT_4 . IDENT_5 . METHOD_4 ( IDENT_0 ) ; } return IDENT_3 ; }
org . junit . Assert . assertEquals ( STRING_0 , IDENT_3 )
METHOD_0 ( ) { org . mockito . Mockito . when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( new org . eclipse . core . runtime . IDENT_1 [ ] { IDENT_2 } ) ; org . mockito . Mockito . when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( IDENT_3 . IDENT_4 ) ; org . mockito . Mockito . when ( IDENT_2 . METHOD_3 ( ) ) . thenReturn ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . eclipse . core . runtime . IDENT_5 [ ] ) { for ( org . eclipse . core . runtime . IDENT_5 provider : IDENT_6 ) { for ( org . eclipse . core . runtime . IDENT_1 feature : provider . METHOD_1 ( ) ) { if ( com . google . cloud . tools . eclipse . util . IDENT_3 . IDENT_4 . equals ( feature . METHOD_2 ( ) ) ) { return feature . METHOD_3 ( ) ; } } } com . google . cloud . tools . eclipse . util . IDENT_3 . logger . METHOD_5 ( ( STRING_1 + ( com . google . cloud . tools . eclipse . util . IDENT_3 . IDENT_4 ) ) ) ; return STRING_2 ; }
org . junit . Assert . assertEquals ( STRING_0 , com . google . cloud . tools . eclipse . util . IDENT_3 . METHOD_4 ( new org . eclipse . core . runtime . IDENT_5 [ ] { IDENT_0 } ) )
METHOD_0 ( ) { java . util . Collection < org . eclipse . IDENT_0 . graph . IDENT_1 > IDENT_2 = com . google . cloud . tools . eclipse . util . IDENT_3 . METHOD_1 ( STRING_0 , STRING_1 , STRING_2 , null ) ; "<AssertPlaceHolder>" ; } isEmpty ( ) { return ( IDENT_4 . isEmpty ( ) ) && ( IDENT_5 . isEmpty ( ) ) ; }
org . junit . Assert . assertFalse ( IDENT_2 . isEmpty ( ) )
METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( org . eclipse . core . runtime . IDENT_0 , org . eclipse . core . runtime . IDENT_0 ) { return com . google . cloud . tools . eclipse . util . io . IDENT_1 . METHOD_1 ( path , IDENT_2 , false ) ; }
org . junit . Assert . assertNull ( com . google . cloud . tools . eclipse . util . io . IDENT_1 . METHOD_1 ( null , null ) )
METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( org . eclipse . core . runtime . IDENT_0 . IDENT_1 ) { return rule == ( this ) ; }
org . junit . Assert . assertTrue ( rule . METHOD_1 ( rule ) )
METHOD_0 ( ) { org . eclipse . core . runtime . IDENT_0 status = com . google . cloud . tools . eclipse . util . status . IDENT_1 . error ( com . google . cloud . tools . eclipse . util . status . IDENT_1 . class , STRING_0 , INT_0 ) ; METHOD_1 ( status , org . eclipse . core . runtime . IDENT_0 . IDENT_2 , STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . eclipse . core . runtime . IDENT_0 , int , java . lang . String ) { org . junit . Assert . assertThat ( status . METHOD_2 ( ) , org . hamcrest . CoreMatchers . is ( IDENT_3 ) ) ; org . junit . Assert . assertThat ( status . getMessage ( ) , org . hamcrest . CoreMatchers . is ( message ) ) ; org . junit . Assert . assertThat ( status . METHOD_3 ( ) , org . hamcrest . CoreMatchers . is ( STRING_1 ) ) ; }
org . junit . Assert . assertEquals ( INT_0 , status . getCode ( ) )
METHOD_0 ( ) { java . lang . RuntimeException ex = mock ( com . google . cloud . tools . eclipse . util . status . RuntimeException . class ) ; org . eclipse . core . runtime . IDENT_0 status = com . google . cloud . tools . eclipse . util . status . IDENT_1 . METHOD_1 ( this , STRING_0 , ex ) ; "<AssertPlaceHolder>" ; } getMessage ( ) { return message ; }
org . junit . Assert . assertEquals ( STRING_0 , status . getMessage ( ) )
METHOD_0 ( ) { org . eclipse . core . runtime . IDENT_0 IDENT_1 = com . google . cloud . tools . eclipse . util . status . IDENT_2 . info ( this , STRING_0 ) ; org . eclipse . core . runtime . IDENT_0 status = com . google . cloud . tools . eclipse . util . status . IDENT_2 . METHOD_1 ( null , IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . eclipse . core . runtime . IDENT_0 , org . eclipse . core . runtime . IDENT_0 ) { if ( status == null ) { return IDENT_3 ; } else { if ( status instanceof org . eclipse . core . runtime . IDENT_4 ) { ( ( org . eclipse . core . runtime . IDENT_4 ) ( status ) ) . METHOD_1 ( IDENT_3 ) ; return status ; } else { org . eclipse . core . runtime . IDENT_4 IDENT_5 = new org . eclipse . core . runtime . METHOD_2 ( status . METHOD_3 ( ) , status . getCode ( ) , status . getMessage ( ) , status . METHOD_4 ( ) ) ; IDENT_5 . METHOD_1 ( IDENT_3 ) ; return IDENT_5 ; } } }
org . junit . Assert . assertSame ( IDENT_1 , status )
METHOD_0 ( ) { org . eclipse . core . runtime . IDENT_0 IDENT_1 = com . google . cloud . tools . eclipse . util . status . IDENT_2 . METHOD_1 ( com . google . cloud . tools . eclipse . util . status . IDENT_2 . class , STRING_0 ) ; "<AssertPlaceHolder>" ; } filter ( org . eclipse . core . runtime . IDENT_0 ) { if ( ! ( status . METHOD_2 ( ) ) ) { return status ; } else if ( status . METHOD_3 ( ) ) { return org . eclipse . core . runtime . Status . IDENT_3 ; } org . eclipse . core . runtime . IDENT_4 IDENT_5 = new org . eclipse . core . runtime . METHOD_4 ( status . METHOD_5 ( ) , status . getCode ( ) , status . getMessage ( ) , status . METHOD_6 ( ) ) ; for ( org . eclipse . core . runtime . IDENT_0 child : status . METHOD_7 ( ) ) { if ( ! ( child . METHOD_3 ( ) ) ) { IDENT_5 . add ( com . google . cloud . tools . eclipse . util . status . IDENT_2 . filter ( child ) ) ; } } return IDENT_5 ; }
org . junit . Assert . assertThat ( com . google . cloud . tools . eclipse . util . status . IDENT_2 . filter ( METHOD_1 ) , org . hamcrest . CoreMatchers . is ( org . eclipse . core . runtime . Status . IDENT_3 ) )
METHOD_0 ( ) { org . eclipse . core . runtime . Path IDENT_0 = new org . eclipse . core . runtime . Path ( IDENT_1 . METHOD_1 ( ) . getAbsolutePath ( ) ) ; when ( IDENT_2 . METHOD_2 ( any ( org . eclipse . IDENT_3 . core . IDENT_4 . class ) , anyString ( ) , METHOD_3 ( ) ) ) . thenReturn ( IDENT_0 ) ; java . nio . file . IDENT_5 . write ( IDENT_0 . METHOD_4 ( ) . METHOD_5 ( ) , STRING_0 . getBytes ( IDENT_6 . UTF_8 ) , IDENT_7 . IDENT_8 ) ; com . google . cloud . tools . eclipse . IDENT_9 . IDENT_10 . persistence . IDENT_11 serializer = new com . google . cloud . tools . eclipse . IDENT_9 . IDENT_10 . persistence . METHOD_6 ( IDENT_2 , IDENT_12 , IDENT_13 ) ; serializer . METHOD_7 ( IDENT_14 ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( org . eclipse . IDENT_3 . core . IDENT_4 ) { IDENT_2 . METHOD_8 ( IDENT_14 , com . google . cloud . tools . eclipse . IDENT_9 . IDENT_10 . persistence . METHOD_6 . IDENT_15 ) ; }
org . junit . Assert . assertFalse ( IDENT_0 . METHOD_4 ( ) . exists ( ) )
METHOD_0 ( ) { org . easymock . EasyMock . expect ( IDENT_0 . METHOD_1 ( com . google . cloud . IDENT_1 . IDENT_2 . IDENT_3 , com . google . cloud . IDENT_1 . IDENT_2 . IDENT_4 , com . google . cloud . IDENT_1 . IDENT_2 . IDENT_5 ) ) . andReturn ( true ) ; org . easymock . EasyMock . replay ( IDENT_0 ) ; IDENT_1 = options . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } delete ( com . google . cloud . IDENT_1 . IDENT_6 . IDENT_7 [ ] ) { return IDENT_1 . delete ( METHOD_3 ( ) , options ) ; }
org . junit . Assert . assertTrue ( IDENT_1 . delete ( com . google . cloud . IDENT_1 . IDENT_2 . IDENT_4 ) )
METHOD_0 ( ) { long IDENT_0 = org . apache . IDENT_1 . common . util . IDENT_2 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( ) { return java . lang . System . METHOD_2 ( ) ; }
org . junit . Assert . assertTrue ( ( ( java . lang . System . METHOD_2 ( ) ) >= IDENT_0 ) )
METHOD_0 ( ) { org . easymock . EasyMock . expect ( IDENT_0 . METHOD_1 ( com . google . cloud . IDENT_1 . IDENT_2 . IDENT_3 , com . google . cloud . IDENT_1 . IDENT_2 . IDENT_4 , STRING_0 , com . google . cloud . IDENT_1 . IDENT_2 . IDENT_5 ) ) . andReturn ( com . google . cloud . IDENT_1 . IDENT_2 . IDENT_6 . METHOD_2 ( ) ) ; org . easymock . EasyMock . expect ( IDENT_0 . METHOD_3 ( com . google . cloud . IDENT_1 . IDENT_2 . IDENT_3 , com . google . cloud . IDENT_1 . IDENT_2 . IDENT_4 , com . google . cloud . IDENT_1 . IDENT_2 . IDENT_7 , com . google . cloud . IDENT_1 . IDENT_2 . IDENT_5 ) ) . andReturn ( com . google . cloud . IDENT_1 . IDENT_2 . IDENT_8 ) ; org . easymock . EasyMock . replay ( IDENT_0 ) ; IDENT_1 = options . METHOD_4 ( ) ; java . util . List < java . lang . String > IDENT_9 = IDENT_1 . METHOD_5 ( com . google . cloud . IDENT_1 . IDENT_2 . IDENT_10 ) ; "<AssertPlaceHolder>" ; } size ( ) { return IDENT_11 . METHOD_6 ( ) . size ( ) ; }
org . junit . Assert . assertEquals ( 3 , IDENT_9 . size ( ) )
METHOD_0 ( ) { org . easymock . EasyMock . expect ( IDENT_0 . METHOD_1 ( com . google . cloud . IDENT_1 . IDENT_2 . IDENT_3 , com . google . cloud . IDENT_1 . IDENT_2 . IDENT_4 , com . google . cloud . IDENT_1 . IDENT_2 . IDENT_5 ) ) . andReturn ( true ) ; org . easymock . EasyMock . replay ( IDENT_0 ) ; IDENT_1 = options . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } delete ( java . lang . String , com . google . cloud . IDENT_1 . IDENT_6 [ ] ) { return delete ( com . google . cloud . IDENT_1 . IDENT_7 . of ( IDENT_8 ) , options ) ; }
org . junit . Assert . assertTrue ( IDENT_1 . delete ( com . google . cloud . IDENT_1 . IDENT_2 . IDENT_4 , com . google . cloud . IDENT_1 . IDENT_2 . IDENT_5 ) )
METHOD_0 ( ) { com . google . cloud . IDENT_0 . IDENT_1 IDENT_2 = com . google . cloud . IDENT_0 . IDENT_3 . IDENT_4 . METHOD_1 ( com . google . cloud . IDENT_0 . IDENT_3 . IDENT_5 ) ; org . easymock . EasyMock . expect ( IDENT_6 . METHOD_2 ( com . google . cloud . IDENT_0 . IDENT_3 . IDENT_5 , com . google . cloud . IDENT_0 . IDENT_3 . IDENT_7 , com . google . cloud . IDENT_0 . IDENT_3 . IDENT_8 ) ) . andReturn ( true ) ; org . easymock . EasyMock . replay ( IDENT_6 ) ; com . google . cloud . IDENT_0 . IDENT_9 IDENT_10 = METHOD_3 ( com . google . cloud . IDENT_0 . IDENT_3 . IDENT_5 , IDENT_11 ) ; IDENT_0 = IDENT_10 . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } delete ( com . google . cloud . IDENT_0 . IDENT_12 . IDENT_13 [ ] ) { return IDENT_0 . delete ( METHOD_5 ( ) , options ) ; }
org . junit . Assert . assertTrue ( IDENT_0 . delete ( IDENT_2 ) )
METHOD_0 ( ) { com . google . cloud . IDENT_0 . IDENT_1 IDENT_2 = com . google . cloud . IDENT_0 . IDENT_1 . of ( "" , com . google . cloud . IDENT_0 . IDENT_3 . IDENT_4 . METHOD_1 ( ) , com . google . cloud . IDENT_0 . IDENT_3 . IDENT_4 . METHOD_2 ( ) ) ; org . easymock . EasyMock . expect ( IDENT_5 . METHOD_3 ( com . google . cloud . IDENT_0 . IDENT_3 . IDENT_6 , com . google . cloud . IDENT_0 . IDENT_3 . IDENT_7 , com . google . cloud . IDENT_0 . IDENT_3 . IDENT_8 ) ) . andReturn ( true ) ; org . easymock . EasyMock . replay ( IDENT_5 ) ; com . google . cloud . IDENT_0 . IDENT_9 IDENT_10 = METHOD_4 ( com . google . cloud . IDENT_0 . IDENT_3 . IDENT_6 , IDENT_11 ) ; IDENT_0 = IDENT_10 . METHOD_5 ( ) ; "<AssertPlaceHolder>" ; } delete ( com . google . cloud . IDENT_0 . IDENT_12 . IDENT_13 [ ] ) { return IDENT_0 . delete ( METHOD_6 ( ) , options ) ; }
org . junit . Assert . assertTrue ( IDENT_0 . delete ( IDENT_2 ) )
METHOD_0 ( ) { org . easymock . EasyMock . expect ( IDENT_0 . METHOD_1 ( com . google . cloud . IDENT_1 . IDENT_2 . IDENT_3 , com . google . cloud . IDENT_1 . IDENT_2 . IDENT_4 , null ) ) . andReturn ( true ) ; org . easymock . EasyMock . replay ( IDENT_0 ) ; IDENT_1 = options . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { return METHOD_1 ( com . google . cloud . IDENT_1 . IDENT_5 . of ( IDENT_6 ) ) ; }
org . junit . Assert . assertTrue ( IDENT_1 . METHOD_1 ( com . google . cloud . IDENT_1 . IDENT_2 . IDENT_4 ) )
METHOD_0 ( ) { com . google . cloud . IDENT_0 . IDENT_1 IDENT_2 = com . google . cloud . IDENT_0 . IDENT_1 . of ( com . google . cloud . IDENT_0 . IDENT_3 . IDENT_4 , com . google . cloud . IDENT_0 . IDENT_3 . IDENT_5 ) ; org . easymock . EasyMock . expect ( IDENT_6 . METHOD_1 ( com . google . cloud . IDENT_0 . IDENT_3 . IDENT_4 , com . google . cloud . IDENT_0 . IDENT_3 . IDENT_5 , null ) ) . andReturn ( true ) ; org . easymock . EasyMock . replay ( IDENT_6 ) ; IDENT_0 = options . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { return METHOD_1 ( com . google . cloud . IDENT_0 . IDENT_1 . of ( IDENT_2 ) ) ; }
org . junit . Assert . assertTrue ( IDENT_0 . METHOD_1 ( IDENT_2 ) )
METHOD_0 ( ) { METHOD_1 ( com . google . cloud . IDENT_0 . IDENT_1 . IDENT_2 , com . google . cloud . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_2 ( ) . build ( ) ) ; com . google . cloud . IDENT_0 . IDENT_3 IDENT_4 = com . google . cloud . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_2 ( ) . METHOD_3 ( STRING_0 ) . build ( ) ; "<AssertPlaceHolder>" ; IDENT_4 = IDENT_4 . METHOD_2 ( ) . METHOD_3 ( STRING_1 ) . build ( ) ; METHOD_1 ( com . google . cloud . IDENT_0 . IDENT_1 . IDENT_2 , IDENT_4 ) ; } METHOD_4 ( ) { return IDENT_5 ; }
org . junit . Assert . assertEquals ( STRING_0 , IDENT_4 . METHOD_4 ( ) )
METHOD_0 ( ) { com . google . cloud . IDENT_0 . IDENT_1 IDENT_2 = com . google . cloud . IDENT_0 . IDENT_1 . METHOD_1 ( com . google . cloud . IDENT_0 . IDENT_3 . IDENT_4 ) . build ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return ( this ) == ( com . google . IDENT_5 . admin . v1 . IDENT_6 . IDENT_7 ) ? new com . google . IDENT_5 . admin . v1 . IDENT_6 . Builder ( ) : new com . google . IDENT_5 . admin . v1 . IDENT_6 . Builder ( ) . METHOD_3 ( this ) ; }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_2 . METHOD_2 ( ) . build ( ) )
METHOD_0 ( ) { java . lang . Class < ? extends org . apache . IDENT_0 . common . util . IDENT_1 . IDENT_2 > IDENT_3 = org . apache . IDENT_0 . common . util . IDENT_4 . METHOD_1 ( org . apache . IDENT_0 . common . util . IDENT_1 . IDENT_5 . class . getName ( ) , org . apache . IDENT_0 . common . util . IDENT_1 . IDENT_2 . class ) ; "<AssertPlaceHolder>" ; } getName ( ) { return IDENT_6 ; }
org . junit . Assert . assertEquals ( org . apache . IDENT_0 . common . util . IDENT_1 . IDENT_5 . class , IDENT_3 )
METHOD_0 ( ) { METHOD_1 ( 1 ) ; com . google . cloud . IDENT_0 . IDENT_1 [ ] IDENT_2 = new IDENT_1 . IDENT_3 [ ] { IDENT_1 . IDENT_3 . fields ( ) } ; expect ( IDENT_0 . METHOD_2 ( ) ) . andReturn ( IDENT_4 ) ; expect ( IDENT_0 . METHOD_3 ( com . google . cloud . IDENT_0 . IDENT_5 . IDENT_6 . METHOD_4 ( ) , IDENT_2 ) ) . andReturn ( null ) ; replay ( IDENT_0 ) ; METHOD_5 ( ) ; "<AssertPlaceHolder>" ; } exists ( ) { boolean exists = IDENT_7 . exists ( ) ; if ( exists ) { } else { } return exists ; }
org . junit . Assert . assertFalse ( dataset . exists ( ) )
METHOD_0 ( ) { METHOD_1 ( 1 ) ; expect ( IDENT_0 . METHOD_2 ( ) ) . andReturn ( IDENT_1 ) ; expect ( IDENT_0 . METHOD_3 ( com . google . cloud . IDENT_0 . IDENT_2 . IDENT_3 . METHOD_4 ( ) . METHOD_3 ( ) ) ) . andReturn ( null ) ; replay ( IDENT_0 ) ; METHOD_5 ( ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { com . google . cloud . logging . IDENT_4 IDENT_5 = IDENT_6 . METHOD_6 ( ) ; if ( IDENT_5 == null ) { } return IDENT_5 ; }
org . junit . Assert . assertNull ( dataset . METHOD_6 ( ) )
METHOD_0 ( ) { METHOD_1 ( 1 ) ; expect ( IDENT_0 . METHOD_2 ( ) ) . andReturn ( IDENT_1 ) ; expect ( IDENT_0 . delete ( com . google . cloud . IDENT_0 . IDENT_2 . IDENT_3 . METHOD_3 ( ) ) ) . andReturn ( true ) ; replay ( IDENT_0 ) ; METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } delete ( ) { boolean IDENT_4 = IDENT_5 . delete ( ) ; if ( IDENT_4 ) { } else { } return IDENT_4 ; }
org . junit . Assert . assertTrue ( dataset . delete ( ) )
METHOD_0 ( ) { METHOD_1 ( 1 ) ; expect ( IDENT_0 . METHOD_2 ( ) ) . andReturn ( IDENT_1 ) ; expect ( IDENT_0 . delete ( com . google . cloud . IDENT_0 . IDENT_2 . IDENT_3 . METHOD_3 ( ) ) ) . andReturn ( false ) ; replay ( IDENT_0 ) ; METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } delete ( ) { boolean IDENT_4 = IDENT_5 . delete ( ) ; if ( IDENT_4 ) { } else { } return IDENT_4 ; }
org . junit . Assert . assertFalse ( dataset . delete ( ) )
METHOD_0 ( ) { METHOD_1 ( 1 ) ; expect ( IDENT_0 . METHOD_2 ( ) ) . andReturn ( IDENT_1 ) ; expect ( IDENT_0 . METHOD_3 ( com . google . cloud . IDENT_0 . IDENT_2 . IDENT_3 . METHOD_4 ( ) ) ) . andReturn ( null ) ; replay ( IDENT_0 ) ; METHOD_5 ( ) ; "<AssertPlaceHolder>" ; } get ( java . lang . String ) { com . google . cloud . datastore . IDENT_4 datastore = transaction . METHOD_6 ( ) ; com . google . cloud . datastore . IDENT_5 key = datastore . METHOD_7 ( ) . METHOD_8 ( STRING_0 ) . METHOD_9 ( IDENT_6 ) ; com . google . cloud . datastore . Entity entity = transaction . get ( key ) ; transaction . commit ( ) ; return entity ; }
org . junit . Assert . assertNull ( dataset . get ( com . google . cloud . IDENT_0 . IDENT_2 . IDENT_3 . METHOD_4 ( ) . METHOD_3 ( ) ) )
METHOD_0 ( ) { METHOD_1 ( 2 ) ; com . google . cloud . IDENT_0 . IDENT_1 IDENT_2 = new com . google . cloud . IDENT_0 . METHOD_2 ( IDENT_3 , new com . google . cloud . IDENT_0 . IDENT_4 . METHOD_3 ( com . google . cloud . IDENT_0 . IDENT_5 . IDENT_6 ) ) ; expect ( IDENT_0 . METHOD_4 ( ) ) . andReturn ( IDENT_7 ) ; expect ( IDENT_0 . create ( com . google . cloud . IDENT_0 . IDENT_5 . IDENT_6 ) ) . andReturn ( IDENT_2 ) ; replay ( IDENT_0 ) ; METHOD_5 ( ) ; com . google . cloud . IDENT_0 . METHOD_2 table = dataset . create ( com . google . cloud . IDENT_0 . IDENT_5 . IDENT_6 . METHOD_6 ( ) . METHOD_7 ( ) , com . google . cloud . IDENT_0 . IDENT_5 . IDENT_8 ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { return table ; }
org . junit . Assert . assertEquals ( IDENT_2 , table )
METHOD_0 ( ) { METHOD_1 ( 2 ) ; com . google . cloud . IDENT_0 . IDENT_1 IDENT_2 = new com . google . cloud . IDENT_0 . METHOD_2 ( IDENT_3 , new com . google . cloud . IDENT_0 . IDENT_4 . METHOD_3 ( com . google . cloud . IDENT_0 . IDENT_5 . IDENT_6 ) ) ; expect ( IDENT_0 . METHOD_4 ( ) ) . andReturn ( IDENT_7 ) ; expect ( IDENT_0 . create ( com . google . cloud . IDENT_0 . IDENT_5 . IDENT_6 , IDENT_8 . IDENT_9 . fields ( ) ) ) . andReturn ( IDENT_2 ) ; replay ( IDENT_0 ) ; METHOD_5 ( ) ; com . google . cloud . IDENT_0 . METHOD_2 table = dataset . create ( com . google . cloud . IDENT_0 . IDENT_5 . IDENT_6 . METHOD_6 ( ) . METHOD_7 ( ) , com . google . cloud . IDENT_0 . IDENT_5 . IDENT_10 , IDENT_8 . IDENT_9 . fields ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { return table ; }
org . junit . Assert . assertEquals ( IDENT_2 , table )
METHOD_0 ( ) { METHOD_1 ( com . google . cloud . IDENT_0 . IDENT_1 . IDENT_2 , com . google . cloud . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_2 ( ) . build ( ) ) ; java . util . List < java . lang . String > fields = com . google . common . collect . ImmutableList . of ( STRING_0 , STRING_1 ) ; com . google . cloud . IDENT_0 . IDENT_3 IDENT_4 = com . google . cloud . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_2 ( ) . METHOD_3 ( fields ) . build ( ) ; "<AssertPlaceHolder>" ; IDENT_4 = IDENT_4 . METHOD_2 ( ) . METHOD_3 ( com . google . cloud . IDENT_0 . IDENT_1 . IDENT_5 ) . build ( ) ; METHOD_1 ( com . google . cloud . IDENT_0 . IDENT_1 . IDENT_2 , IDENT_4 ) ; } METHOD_4 ( ) { return IDENT_6 ; }
org . junit . Assert . assertEquals ( fields , IDENT_4 . METHOD_4 ( ) )
METHOD_0 ( ) { com . google . cloud . IDENT_0 . IDENT_1 IDENT_2 = com . google . cloud . IDENT_0 . IDENT_1 . METHOD_1 ( ) . METHOD_2 ( com . google . cloud . IDENT_0 . IDENT_3 . IDENT_4 ) . build ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return ( this ) == ( com . google . IDENT_5 . admin . v1 . IDENT_6 . IDENT_7 ) ? new com . google . IDENT_5 . admin . v1 . IDENT_6 . Builder ( ) : new com . google . IDENT_5 . admin . v1 . IDENT_6 . Builder ( ) . METHOD_4 ( this ) ; }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_2 . METHOD_3 ( ) . build ( ) )
METHOD_0 ( ) { org . apache . IDENT_0 . client . api . IDENT_1 IDENT_2 = result ( IDENT_3 . METHOD_1 ( ) . METHOD_2 ( 1 ) . METHOD_3 ( 1 ) . METHOD_4 ( 1 ) . METHOD_5 ( IDENT_4 . IDENT_5 ) . METHOD_6 ( IDENT_6 . IDENT_7 ) . METHOD_7 ( new byte [ 0 ] ) . execute ( ) ) ; int n = 10 ; long IDENT_8 = IDENT_2 . getId ( ) ; for ( int i = 0 ; i < n ; i ++ ) { IDENT_2 . append ( ( STRING_0 + i ) . getBytes ( org . apache . IDENT_0 . IDENT_9 . UTF_8 ) ) ; } try ( org . apache . IDENT_0 . client . api . IDENT_10 IDENT_11 = result ( IDENT_3 . METHOD_8 ( ) . METHOD_9 ( IDENT_8 ) . METHOD_10 ( true ) . METHOD_7 ( new byte [ 0 ] ) . execute ( ) ) ) { try ( org . apache . IDENT_0 . client . api . IDENT_12 IDENT_13 = IDENT_11 . read ( 0 , ( n - 1 ) ) ) { for ( int i = 0 ; i < n ; i ++ ) { org . apache . IDENT_0 . client . api . IDENT_14 entry = IDENT_13 . METHOD_11 ( i ) ; "<AssertPlaceHolder>" ; } } } } METHOD_12 ( ) { return io . netty . buffer . IDENT_15 . getBytes ( IDENT_16 , IDENT_16 . METHOD_13 ( ) , IDENT_16 . METHOD_14 ( ) , false ) ; }
org . junit . Assert . assertEquals ( ( STRING_0 + i ) , new java . lang . String ( entry . METHOD_12 ( ) ) )
METHOD_0 ( ) { METHOD_1 ( com . google . cloud . IDENT_0 . IDENT_1 . IDENT_2 , com . google . cloud . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_2 ( ) . build ( ) ) ; METHOD_1 ( com . google . cloud . IDENT_0 . IDENT_1 . IDENT_3 , com . google . cloud . IDENT_0 . IDENT_1 . IDENT_3 . METHOD_2 ( ) . build ( ) ) ; METHOD_1 ( com . google . cloud . IDENT_0 . IDENT_1 . IDENT_4 , com . google . cloud . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_2 ( ) . build ( ) ) ; com . google . cloud . IDENT_0 . Field field = com . google . cloud . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_2 ( ) . METHOD_3 ( STRING_0 ) . build ( ) ; "<AssertPlaceHolder>" ; field = field . METHOD_2 ( ) . METHOD_3 ( com . google . cloud . IDENT_0 . IDENT_1 . IDENT_5 ) . build ( ) ; METHOD_1 ( com . google . cloud . IDENT_0 . IDENT_1 . IDENT_2 , field ) ; } METHOD_4 ( ) { return IDENT_6 . METHOD_4 ( ) ; }
org . junit . Assert . assertEquals ( STRING_0 , field . METHOD_4 ( ) )
METHOD_0 ( ) { java . lang . IllegalArgumentException exception = null ; try { IDENT_0 . get ( STRING_0 ) ; } catch ( java . lang . IllegalArgumentException e ) { exception = e ; } "<AssertPlaceHolder>" ; } get ( java . lang . String ) { com . google . cloud . datastore . IDENT_1 datastore = transaction . METHOD_1 ( ) ; com . google . cloud . datastore . IDENT_2 key = datastore . METHOD_2 ( ) . METHOD_3 ( STRING_1 ) . METHOD_4 ( IDENT_3 ) ; com . google . cloud . datastore . Entity entity = transaction . get ( key ) ; transaction . commit ( ) ; return entity ; }
org . junit . Assert . assertNotNull ( exception )
METHOD_0 ( ) { METHOD_1 ( 1 ) ; com . google . cloud . IDENT_0 . IDENT_1 [ ] IDENT_2 = new IDENT_1 . IDENT_3 [ ] { IDENT_1 . IDENT_3 . fields ( ) } ; expect ( IDENT_0 . METHOD_2 ( ) ) . andReturn ( IDENT_4 ) ; expect ( IDENT_0 . METHOD_3 ( com . google . cloud . IDENT_0 . IDENT_5 . IDENT_6 . METHOD_4 ( ) , IDENT_2 ) ) . andReturn ( IDENT_7 ) ; replay ( IDENT_0 ) ; METHOD_5 ( ) ; "<AssertPlaceHolder>" ; } exists ( ) { boolean exists = IDENT_8 . exists ( ) ; if ( exists ) { } else { } return exists ; }
org . junit . Assert . assertTrue ( job . exists ( ) )
METHOD_0 ( ) { METHOD_1 ( 2 ) ; com . google . cloud . IDENT_0 . IDENT_1 [ ] IDENT_2 = new IDENT_1 . IDENT_3 [ ] { IDENT_1 . IDENT_3 . fields ( IDENT_1 . IDENT_4 . IDENT_5 ) } ; com . google . cloud . IDENT_0 . IDENT_6 status = METHOD_2 ( com . google . cloud . IDENT_0 . IDENT_6 . class ) ; expect ( status . METHOD_3 ( ) ) . andReturn ( IDENT_6 . IDENT_7 . IDENT_8 ) ; expect ( IDENT_0 . METHOD_4 ( ) ) . andReturn ( IDENT_9 ) ; expect ( IDENT_0 . METHOD_5 ( com . google . cloud . IDENT_0 . IDENT_10 . IDENT_11 . METHOD_6 ( ) , IDENT_2 ) ) . andReturn ( IDENT_12 . METHOD_7 ( ) . METHOD_8 ( status ) . build ( ) ) ; replay ( status , IDENT_0 ) ; METHOD_9 ( ) ; "<AssertPlaceHolder>" ; verify ( status ) ; } METHOD_10 ( ) { while ( ! ( job . METHOD_10 ( ) ) ) { java . lang . Thread . sleep ( INT_0 ) ; }
org . junit . Assert . assertTrue ( job . METHOD_10 ( ) )
METHOD_0 ( ) { METHOD_1 ( 2 ) ; com . google . cloud . IDENT_0 . IDENT_1 [ ] IDENT_2 = new IDENT_1 . IDENT_3 [ ] { IDENT_1 . IDENT_3 . fields ( IDENT_1 . IDENT_4 . IDENT_5 ) } ; com . google . cloud . IDENT_0 . IDENT_6 status = METHOD_2 ( com . google . cloud . IDENT_0 . IDENT_6 . class ) ; expect ( status . METHOD_3 ( ) ) . andReturn ( IDENT_6 . IDENT_7 . IDENT_8 ) ; expect ( IDENT_0 . METHOD_4 ( ) ) . andReturn ( IDENT_9 ) ; expect ( IDENT_0 . METHOD_5 ( com . google . cloud . IDENT_0 . IDENT_10 . IDENT_11 . METHOD_6 ( ) , IDENT_2 ) ) . andReturn ( IDENT_12 . METHOD_7 ( ) . METHOD_8 ( status ) . build ( ) ) ; replay ( status , IDENT_0 ) ; METHOD_9 ( ) ; "<AssertPlaceHolder>" ; verify ( status ) ; } METHOD_10 ( ) { while ( ! ( job . METHOD_10 ( ) ) ) { java . lang . Thread . sleep ( INT_0 ) ; }
org . junit . Assert . assertFalse ( job . METHOD_10 ( ) )
METHOD_0 ( ) { METHOD_1 ( 1 ) ; com . google . cloud . IDENT_0 . IDENT_1 [ ] IDENT_2 = new IDENT_1 . IDENT_3 [ ] { IDENT_1 . IDENT_3 . fields ( IDENT_1 . IDENT_4 . IDENT_5 ) } ; expect ( IDENT_0 . METHOD_2 ( ) ) . andReturn ( IDENT_6 ) ; expect ( IDENT_0 . METHOD_3 ( com . google . cloud . IDENT_0 . IDENT_7 . IDENT_8 . METHOD_4 ( ) , IDENT_2 ) ) . andReturn ( null ) ; replay ( IDENT_0 ) ; METHOD_5 ( ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { while ( ! ( job . METHOD_6 ( ) ) ) { java . lang . Thread . sleep ( INT_0 ) ; }
org . junit . Assert . assertTrue ( job . METHOD_6 ( ) )
METHOD_0 ( ) { METHOD_1 ( 1 ) ; expect ( IDENT_0 . METHOD_2 ( ) ) . andReturn ( IDENT_1 ) ; expect ( IDENT_0 . METHOD_3 ( com . google . cloud . IDENT_0 . IDENT_2 . IDENT_3 . METHOD_4 ( ) ) ) . andReturn ( null ) ; replay ( IDENT_0 ) ; METHOD_5 ( ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { com . google . cloud . logging . IDENT_4 IDENT_5 = IDENT_6 . METHOD_6 ( ) ; if ( IDENT_5 == null ) { } return IDENT_5 ; }
org . junit . Assert . assertNull ( job . METHOD_6 ( ) )
METHOD_0 ( ) { java . io . File IDENT_0 = METHOD_1 ( STRING_0 , "test" ) ; long IDENT_1 = IDENT_0 . METHOD_2 ( ) ; long IDENT_2 = IDENT_0 . METHOD_3 ( ) ; final org . apache . IDENT_3 . conf . IDENT_4 conf = org . apache . IDENT_3 . conf . IDENT_5 . METHOD_4 ( ) . METHOD_5 ( IDENT_0 . getPath ( ) ) . METHOD_6 ( new java . lang . String [ ] { IDENT_0 . getPath ( ) } ) . METHOD_7 ( 1000 ) . METHOD_8 ( ( ( FLOAT_0 - ( ( ( float ) ( IDENT_1 ) ) / ( ( float ) ( IDENT_2 ) ) ) ) * FLOAT_1 ) ) . METHOD_9 ( FLOAT_2 ) . METHOD_10 ( IDENT_6 ) . METHOD_11 ( INT_0 ) ; conf . METHOD_12 ( true ) . METHOD_13 ( true ) ; final org . apache . IDENT_3 . IDENT_7 . IDENT_8 IDENT_9 = new org . apache . IDENT_3 . IDENT_7 . METHOD_14 ( conf ) ; IDENT_9 . start ( ) ; java . lang . Thread . sleep ( ( ( ( conf . METHOD_15 ( ) ) * 2 ) + 100 ) ) ; "<AssertPlaceHolder>" ; IDENT_9 . METHOD_16 ( ) ; } METHOD_17 ( ) { return IDENT_10 . METHOD_17 ( ) ; }
org . junit . Assert . assertTrue ( IDENT_9 . METHOD_17 ( ) )