input stringlengths 35 67.8k | output stringlengths 39 1.53k |
|---|---|
METHOD_0 ( ) { IDENT_0 = new org . eclipse . swt . widgets . METHOD_1 ( shell , org . eclipse . swt . IDENT_1 . IDENT_2 ) ; handler = new org . eclipse . swt . internal . widgets . IDENT_3 . METHOD_2 ( IDENT_0 ) ; handler . METHOD_3 ( new org . eclipse . rap . json . METHOD_4 ( ) . add ( STRING_0 , true ) ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { METHOD_6 ( ) ; org . eclipse . IDENT_4 . widgets . grid . IDENT_5 [ ] result = new org . eclipse . IDENT_4 . widgets . grid . IDENT_5 [ 0 ] ; if ( IDENT_6 ) { } else { result = IDENT_7 . toArray ( new org . eclipse . IDENT_4 . widgets . grid . IDENT_5 [ IDENT_7 . size ( ) ] ) ; } return result ; } | org . junit . Assert . assertTrue ( IDENT_0 . METHOD_5 ( ) ) |
METHOD_0 ( ) { IDENT_0 = new org . eclipse . swt . widgets . METHOD_1 ( shell , org . eclipse . swt . IDENT_1 . IDENT_2 ) ; IDENT_0 . METHOD_2 ( false ) ; org . eclipse . swt . widgets . METHOD_1 IDENT_3 = METHOD_3 ( IDENT_0 ) ; handler = new org . eclipse . swt . internal . widgets . IDENT_4 . METHOD_4 ( IDENT_3 ) ; handler . METHOD_5 ( org . eclipse . swt . internal . widgets . IDENT_4 . IDENT_5 , new org . eclipse . rap . json . METHOD_6 ( ) ) ; org . mockito . IDENT_6 < org . eclipse . swt . widgets . IDENT_7 > IDENT_8 = org . mockito . IDENT_6 . METHOD_7 ( org . eclipse . swt . widgets . IDENT_7 . class ) ; verify ( IDENT_3 ) . METHOD_8 ( eq ( IDENT_1 . IDENT_9 ) , IDENT_8 . METHOD_9 ( ) ) ; "<AssertPlaceHolder>" ; } getValue ( ) { return value ; } | org . junit . Assert . assertEquals ( ( - 1 ) , IDENT_8 . getValue ( ) . time ) |
METHOD_0 ( ) { org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 ) ; IDENT_3 . METHOD_2 ( 50 , 50 ) ; IDENT_3 . METHOD_3 ( new org . eclipse . swt . IDENT_4 . METHOD_4 ( IDENT_5 , STRING_0 , INT_0 , org . eclipse . swt . IDENT_6 . IDENT_7 ) ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_5 ( IDENT_5 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_5 ( IDENT_3 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_6 ( ) ; IDENT_3 . METHOD_7 ( new org . eclipse . swt . events . METHOD_8 ( ) { @ org . eclipse . swt . internal . widgets . IDENT_8 . Override public void METHOD_9 ( org . eclipse . swt . events . IDENT_9 event ) { event . IDENT_10 . METHOD_10 ( 1 , 2 , 3 , 4 ) ; event . IDENT_10 . METHOD_10 ( 5 , 6 , 7 , 8 ) ; } } ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_11 ( ) ; IDENT_11 . METHOD_12 ( IDENT_3 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_12 message = org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_13 ( ) ; "<AssertPlaceHolder>" ; } METHOD_14 ( ) { return METHOD_15 ( ) . size ( ) ; } | org . junit . Assert . assertEquals ( 0 , message . METHOD_14 ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . IDENT_0 . IDENT_1 image = METHOD_1 ( IDENT_2 , IDENT_3 . IDENT_4 ) ; java . lang . String IDENT_5 = org . eclipse . swt . internal . IDENT_0 . IDENT_6 . METHOD_2 ( image ) ; IDENT_7 . METHOD_3 ( image , 10 , 50 ) ; org . eclipse . rap . json . IDENT_8 IDENT_9 = org . eclipse . swt . internal . widgets . IDENT_10 . IDENT_11 . METHOD_4 ( IDENT_12 ) ; java . lang . String expected = ( STRING_0 + IDENT_5 ) + STRING_1 ; "<AssertPlaceHolder>" ; } METHOD_5 ( int , org . eclipse . rap . json . IDENT_8 ) { java . lang . String result = null ; try { result = operations . get ( i ) . METHOD_6 ( ) . toString ( ) ; } catch ( java . lang . Exception e ) { org . junit . Assert . fail ( ) ; } return result ; } | org . junit . Assert . assertEquals ( expected , org . eclipse . swt . internal . widgets . IDENT_10 . IDENT_11 . METHOD_5 ( 0 , IDENT_9 ) ) |
METHOD_0 ( ) { org . eclipse . swt . IDENT_0 . IDENT_1 image = METHOD_1 ( IDENT_2 , IDENT_3 . IDENT_4 ) ; java . lang . String IDENT_5 = org . eclipse . swt . internal . IDENT_0 . IDENT_6 . METHOD_2 ( image ) ; IDENT_7 . METHOD_3 ( image , 10 , 20 , INT_0 , INT_1 , 100 , INT_2 , INT_3 , INT_4 ) ; org . eclipse . rap . json . IDENT_8 IDENT_9 = org . eclipse . swt . internal . widgets . IDENT_10 . IDENT_11 . METHOD_4 ( IDENT_12 ) ; java . lang . String expected = ( STRING_0 + IDENT_5 ) + STRING_1 ; "<AssertPlaceHolder>" ; } METHOD_5 ( int , org . eclipse . rap . json . IDENT_8 ) { java . lang . String result = null ; try { result = operations . get ( i ) . METHOD_6 ( ) . toString ( ) ; } catch ( java . lang . Exception e ) { org . junit . Assert . fail ( ) ; } return result ; } | org . junit . Assert . assertEquals ( expected , org . eclipse . swt . internal . widgets . IDENT_10 . IDENT_11 . METHOD_5 ( 0 , IDENT_9 ) ) |
METHOD_0 ( ) { IDENT_0 . METHOD_1 ( new java . lang . String [ ] { "a" , "b" , STRING_0 } ) ; IDENT_1 . METHOD_2 ( IDENT_0 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_2 message = org . eclipse . rap . rwt . testfixture . internal . IDENT_3 . METHOD_3 ( ) ; org . eclipse . rap . json . IDENT_4 expected = org . eclipse . rap . json . IDENT_4 . METHOD_4 ( STRING_1 ) ; org . eclipse . rap . json . IDENT_4 actual = ( ( org . eclipse . rap . json . IDENT_4 ) ( message . METHOD_5 ( IDENT_0 , STRING_2 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . String , java . lang . String ) { org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_5 operation = METHOD_6 ( target , property ) ; if ( operation == null ) { throw new java . lang . IllegalStateException ( STRING_3 ) ; } return operation . METHOD_7 ( ) . get ( property ) ; } | org . junit . Assert . assertEquals ( expected , actual ) |
METHOD_0 ( ) { char value = org . apache . activemq . artemis . utils . IDENT_0 . METHOD_1 ( ) ; org . apache . activemq . artemis . jms . client . IDENT_1 message = new org . apache . activemq . artemis . jms . client . METHOD_2 ( ) ; message . METHOD_3 ( value ) ; message . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { if ( IDENT_2 ) { throw new javax . jms . METHOD_6 ( STRING_0 ) ; } try { java . lang . Object value = content . get ( position ) ; offset = 0 ; if ( value == null ) { throw new java . lang . METHOD_7 ( STRING_1 ) ; } else if ( value instanceof java . lang . IDENT_3 ) { ( position ) ++ ; return ( ( java . lang . IDENT_3 ) ( value ) ) . METHOD_8 ( ) ; } else { throw new javax . jms . METHOD_9 ( STRING_2 ) ; } } catch ( java . lang . IDENT_4 e ) { throw new javax . jms . METHOD_10 ( "" ) ; } } | org . junit . Assert . assertEquals ( value , message . METHOD_5 ( ) ) |
METHOD_0 ( ) { handler = new org . eclipse . swt . internal . widgets . IDENT_0 . METHOD_1 ( IDENT_1 ) ; IDENT_1 . add ( STRING_0 ) ; IDENT_1 . add ( STRING_1 ) ; handler . METHOD_2 ( new org . eclipse . rap . json . METHOD_3 ( ) . add ( STRING_2 , 1 ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { METHOD_5 ( ) ; int result = - 1 ; if ( IDENT_2 ) { if ( ( IDENT_3 . size ( ) ) != 0 ) { result = IDENT_3 . get ( 0 ) . y ; } } else { if ( ( IDENT_4 . size ( ) ) != 0 ) { result = IDENT_5 . indexOf ( IDENT_4 . get ( 0 ) ) ; } } return result ; } | org . junit . Assert . assertEquals ( 1 , IDENT_1 . METHOD_4 ( ) ) |
METHOD_0 ( ) { handler = new org . eclipse . swt . internal . widgets . IDENT_0 . METHOD_1 ( IDENT_1 ) ; handler . METHOD_2 ( new org . eclipse . rap . json . METHOD_3 ( ) . add ( STRING_0 , true ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { METHOD_5 ( ) ; return IDENT_2 ; } | org . junit . Assert . assertTrue ( IDENT_1 . METHOD_4 ( ) ) |
METHOD_0 ( ) { handler = new org . eclipse . swt . internal . widgets . IDENT_0 . METHOD_1 ( IDENT_1 ) ; handler . METHOD_2 ( new org . eclipse . rap . json . METHOD_3 ( ) . add ( STRING_0 , STRING_1 ) ) ; "<AssertPlaceHolder>" ; } getText ( ) { METHOD_4 ( ) ; return getText ( 0 ) ; } | org . junit . Assert . assertEquals ( STRING_1 , IDENT_1 . getText ( ) ) |
METHOD_0 ( ) { handler = new org . eclipse . swt . internal . widgets . IDENT_0 . METHOD_1 ( IDENT_1 ) ; IDENT_1 . METHOD_2 ( STRING_0 ) ; IDENT_1 . METHOD_3 ( new org . eclipse . swt . IDENT_2 . METHOD_4 ( 2 , 4 ) ) ; handler . METHOD_5 ( new org . eclipse . rap . json . METHOD_6 ( ) . add ( STRING_1 , STRING_2 ) ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { METHOD_8 ( ) ; org . eclipse . IDENT_3 . widgets . grid . IDENT_4 [ ] result = new org . eclipse . IDENT_3 . widgets . grid . IDENT_4 [ 0 ] ; if ( IDENT_5 ) { } else { result = IDENT_6 . toArray ( new org . eclipse . IDENT_3 . widgets . grid . IDENT_4 [ IDENT_6 . size ( ) ] ) ; } return result ; } | org . junit . Assert . assertEquals ( new org . eclipse . swt . IDENT_2 . METHOD_4 ( 2 , 4 ) , IDENT_1 . METHOD_7 ( ) ) |
METHOD_0 ( ) { org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 ) ; handler = new org . eclipse . swt . internal . widgets . IDENT_3 . METHOD_2 ( IDENT_4 ) ; IDENT_4 . METHOD_3 ( STRING_0 ) ; org . eclipse . swt . widgets . IDENT_5 listener = mock ( org . eclipse . swt . widgets . IDENT_5 . class ) ; IDENT_4 . METHOD_4 ( IDENT_6 . IDENT_7 , listener ) ; handler . METHOD_5 ( new org . eclipse . rap . json . METHOD_6 ( ) . add ( STRING_1 , STRING_2 ) ) ; "<AssertPlaceHolder>" ; } getText ( ) { METHOD_7 ( ) ; return getText ( 0 ) ; } | org . junit . Assert . assertEquals ( STRING_2 , IDENT_4 . getText ( ) ) |
METHOD_0 ( ) { org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 ) ; org . eclipse . swt . widgets . IDENT_3 IDENT_4 = new org . eclipse . swt . widgets . METHOD_2 ( IDENT_5 , org . eclipse . swt . IDENT_6 . IDENT_7 ) ; IDENT_4 . METHOD_3 ( 20 , 10 ) ; int IDENT_8 = item . METHOD_4 ( ) . x ; handler . METHOD_5 ( STRING_0 , new org . eclipse . rap . json . METHOD_6 ( ) . add ( STRING_1 , INT_0 ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return item . METHOD_4 ( 0 ) ; } | org . junit . Assert . assertTrue ( ( IDENT_8 != ( item . METHOD_4 ( ) . x ) ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 IDENT_1 = new org . eclipse . swt . widgets . METHOD_1 ( shell , org . eclipse . swt . IDENT_2 . IDENT_3 ) ; IDENT_4 . METHOD_2 ( IDENT_1 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_5 message = org . eclipse . rap . rwt . testfixture . internal . IDENT_6 . METHOD_3 ( ) ; org . eclipse . rap . json . IDENT_7 actual = ( ( org . eclipse . rap . json . IDENT_7 ) ( message . METHOD_4 ( IDENT_1 , STRING_0 ) ) ) ; "<AssertPlaceHolder>" ; } size ( ) { return new org . eclipse . IDENT_8 . internal . IDENT_9 . swt . METHOD_5 ( ) ; } | org . junit . Assert . assertEquals ( 6 , actual . size ( ) ) |
METHOD_0 ( ) { byte value = org . apache . activemq . artemis . utils . IDENT_0 . METHOD_1 ( ) ; org . apache . activemq . artemis . jms . client . IDENT_1 message = new org . apache . activemq . artemis . jms . client . METHOD_2 ( ) ; message . METHOD_3 ( value ) ; message . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { if ( IDENT_2 ) { throw new javax . jms . METHOD_6 ( STRING_0 ) ; } try { java . lang . Object value = content . get ( position ) ; offset = 0 ; if ( value == null ) { throw new java . lang . METHOD_7 ( STRING_1 ) ; } else if ( value instanceof java . lang . IDENT_3 ) { ( position ) ++ ; return ( ( java . lang . IDENT_3 ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . IDENT_4 ) { ( position ) ++ ; return ( ( java . lang . IDENT_4 ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . Integer ) { ( position ) ++ ; return ( ( java . lang . Integer ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . Long ) { ( position ) ++ ; return ( ( java . lang . Long ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . String ) { long result = java . lang . Long . METHOD_9 ( ( ( java . lang . String ) ( value ) ) ) ; ( position ) ++ ; return result ; } else { throw new javax . jms . METHOD_10 ( STRING_2 ) ; } } catch ( java . lang . IDENT_5 e ) { throw new javax . jms . METHOD_11 ( "" ) ; } } | org . junit . Assert . assertEquals ( value , message . METHOD_5 ( ) ) |
METHOD_0 ( ) { org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_1 ( getId ( IDENT_1 ) , STRING_0 , METHOD_2 ( 1 , 2 ) ) ; IDENT_2 . METHOD_3 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { METHOD_5 ( ) ; return new org . eclipse . swt . IDENT_3 . METHOD_6 ( IDENT_4 . x , IDENT_4 . y ) ; } | org . junit . Assert . assertEquals ( new org . eclipse . swt . IDENT_3 . METHOD_6 ( 1 , 2 ) , IDENT_1 . METHOD_4 ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 shell = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_1 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_2 . METHOD_2 ( IDENT_1 ) ; shell . METHOD_3 ( ) ; IDENT_3 . render ( IDENT_1 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_4 message = org . eclipse . rap . rwt . testfixture . internal . IDENT_2 . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . String ) { org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_5 result = null ; for ( org . eclipse . rap . rwt . internal . protocol . Operation operation : METHOD_6 ( ) ) { if ( ( operation instanceof org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_5 ) && ( operation . METHOD_7 ( ) . equals ( target ) ) ) { org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_5 IDENT_6 = ( ( org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_5 ) ( operation ) ) ; result = IDENT_6 ; } } return result ; } | org . junit . Assert . assertNull ( message . METHOD_5 ( getId ( shell ) ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 IDENT_1 = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_2 ) ; org . eclipse . swt . widgets . METHOD_1 IDENT_3 = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_2 ) ; org . eclipse . swt . widgets . IDENT_4 child = new org . eclipse . swt . widgets . METHOD_2 ( IDENT_1 , org . eclipse . swt . IDENT_5 . IDENT_6 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_7 . METHOD_3 ( IDENT_1 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_7 . METHOD_3 ( IDENT_3 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_7 . METHOD_3 ( child ) ; child . METHOD_4 ( IDENT_3 ) ; IDENT_1 . METHOD_5 ( ) ; IDENT_8 . render ( IDENT_2 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_9 message = METHOD_6 ( ) ; org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_10 IDENT_11 = message . METHOD_7 ( IDENT_1 ) ; org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_12 IDENT_13 = message . METHOD_8 ( child , STRING_0 ) ; java . util . List < org . eclipse . rap . rwt . internal . protocol . Operation > operations = message . METHOD_9 ( ) ; "<AssertPlaceHolder>" ; } indexOf ( org . eclipse . IDENT_14 . widgets . grid . IDENT_15 ) { METHOD_10 ( ) ; if ( item == null ) { org . eclipse . swt . IDENT_5 . error ( IDENT_5 . IDENT_16 ) ; } if ( item . METHOD_11 ( ) ) { org . eclipse . swt . IDENT_5 . error ( IDENT_5 . IDENT_17 ) ; } if ( ! ( IDENT_18 ) ) { throw new java . lang . IllegalArgumentException ( STRING_1 ) ; } return ( item . METHOD_12 ( ) ) == ( this ) ? item . index : - 1 ; } | org . junit . Assert . assertTrue ( ( ( operations . indexOf ( IDENT_13 ) ) < ( operations . indexOf ( IDENT_11 ) ) ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 parent = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_1 ) ; org . eclipse . swt . widgets . IDENT_2 IDENT_3 = new org . eclipse . swt . widgets . METHOD_2 ( parent , org . eclipse . swt . IDENT_4 . IDENT_5 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_6 . METHOD_3 ( parent ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_6 . METHOD_3 ( IDENT_3 ) ; IDENT_3 . METHOD_4 ( ) ; org . eclipse . swt . widgets . METHOD_2 IDENT_7 = new org . eclipse . swt . widgets . METHOD_2 ( parent , org . eclipse . swt . IDENT_4 . IDENT_5 ) ; IDENT_8 . render ( IDENT_1 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_9 message = METHOD_5 ( ) ; org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_10 IDENT_11 = message . METHOD_6 ( IDENT_3 ) ; org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_12 IDENT_13 = message . METHOD_7 ( IDENT_7 ) ; java . util . List < org . eclipse . rap . rwt . internal . protocol . Operation > operations = message . METHOD_8 ( ) ; "<AssertPlaceHolder>" ; } indexOf ( org . eclipse . IDENT_14 . widgets . grid . IDENT_15 ) { METHOD_9 ( ) ; if ( item == null ) { org . eclipse . swt . IDENT_4 . error ( IDENT_4 . IDENT_16 ) ; } if ( item . METHOD_10 ( ) ) { org . eclipse . swt . IDENT_4 . error ( IDENT_4 . IDENT_17 ) ; } if ( ! ( IDENT_18 ) ) { throw new java . lang . IllegalArgumentException ( STRING_0 ) ; } return ( item . METHOD_11 ( ) ) == ( this ) ? item . index : - 1 ; } | org . junit . Assert . assertTrue ( ( ( operations . indexOf ( IDENT_11 ) ) < ( operations . indexOf ( IDENT_13 ) ) ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 IDENT_1 = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_2 ) ; org . eclipse . swt . internal . widgets . IDENT_3 IDENT_4 = ( ( org . eclipse . swt . internal . widgets . IDENT_3 ) ( METHOD_2 ( IDENT_1 ) ) ) ; java . lang . IDENT_5 IDENT_6 = mock ( org . eclipse . swt . internal . widgets . IDENT_7 . IDENT_5 . class ) ; IDENT_4 . METHOD_3 ( IDENT_6 ) ; IDENT_8 . render ( IDENT_2 ) ; verify ( IDENT_6 ) . run ( ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return ( IDENT_9 ) == null ? org . eclipse . swt . internal . widgets . IDENT_3 . IDENT_10 : IDENT_9 ; } | org . junit . Assert . assertEquals ( 0 , IDENT_4 . METHOD_4 ( ) . length ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 shell = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_1 , org . eclipse . swt . IDENT_2 . IDENT_3 ) ; new org . eclipse . swt . widgets . METHOD_2 ( shell , org . eclipse . swt . IDENT_2 . IDENT_4 ) ; org . eclipse . swt . widgets . IDENT_5 control = new org . eclipse . swt . widgets . METHOD_2 ( shell , org . eclipse . swt . IDENT_2 . IDENT_4 ) ; shell . METHOD_3 ( ) ; org . eclipse . rap . json . IDENT_6 properties = new org . eclipse . rap . json . METHOD_4 ( ) . add ( STRING_0 , getId ( control ) ) ; handler . METHOD_5 ( properties ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { METHOD_7 ( ) ; return IDENT_7 ; } | org . junit . Assert . assertEquals ( control , IDENT_1 . METHOD_6 ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 shell = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_1 , org . eclipse . swt . IDENT_2 . IDENT_3 ) ; new org . eclipse . swt . widgets . METHOD_2 ( shell , org . eclipse . swt . IDENT_2 . IDENT_4 ) ; shell . METHOD_3 ( ) ; org . eclipse . swt . widgets . IDENT_5 IDENT_6 = IDENT_1 . METHOD_4 ( ) ; org . eclipse . rap . json . IDENT_7 properties = new org . eclipse . rap . json . METHOD_5 ( ) . add ( STRING_0 , IDENT_8 . IDENT_9 ) ; handler . METHOD_6 ( properties ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { METHOD_7 ( ) ; return IDENT_10 ; } | org . junit . Assert . assertEquals ( IDENT_6 , IDENT_1 . METHOD_4 ( ) ) |
METHOD_0 ( ) { renderer . render ( ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_0 message = org . eclipse . rap . rwt . testfixture . internal . IDENT_1 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return METHOD_3 ( ) . size ( ) ; } | org . junit . Assert . assertEquals ( 0 , message . METHOD_2 ( ) ) |
METHOD_0 ( ) { short value = org . apache . activemq . artemis . utils . IDENT_0 . METHOD_1 ( ) ; org . apache . activemq . artemis . jms . client . IDENT_1 message = new org . apache . activemq . artemis . jms . client . METHOD_2 ( ) ; message . METHOD_3 ( value ) ; message . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { if ( IDENT_2 ) { throw new javax . jms . METHOD_6 ( STRING_0 ) ; } try { java . lang . Object value = content . get ( position ) ; offset = 0 ; if ( value == null ) { throw new java . lang . METHOD_7 ( STRING_1 ) ; } else if ( value instanceof java . lang . IDENT_3 ) { ( position ) ++ ; return ( ( java . lang . IDENT_3 ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . IDENT_4 ) { ( position ) ++ ; return ( ( java . lang . IDENT_4 ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . Integer ) { ( position ) ++ ; return ( ( java . lang . Integer ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . Long ) { ( position ) ++ ; return ( ( java . lang . Long ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . String ) { long result = java . lang . Long . METHOD_9 ( ( ( java . lang . String ) ( value ) ) ) ; ( position ) ++ ; return result ; } else { throw new javax . jms . METHOD_10 ( STRING_2 ) ; } } catch ( java . lang . IDENT_5 e ) { throw new javax . jms . METHOD_11 ( "" ) ; } } | org . junit . Assert . assertEquals ( value , message . METHOD_5 ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 item = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_1 , org . eclipse . swt . IDENT_2 . IDENT_3 ) ; org . eclipse . rap . json . IDENT_4 properties = new org . eclipse . rap . json . METHOD_2 ( ) . add ( STRING_0 , getId ( item ) ) ; handler . METHOD_3 ( org . eclipse . swt . internal . widgets . IDENT_5 . IDENT_6 , properties ) ; org . mockito . IDENT_7 < org . eclipse . swt . widgets . IDENT_8 > IDENT_9 = org . mockito . IDENT_7 . METHOD_4 ( org . eclipse . swt . widgets . IDENT_8 . class ) ; verify ( IDENT_1 ) . METHOD_5 ( eq ( IDENT_2 . IDENT_10 ) , IDENT_9 . METHOD_6 ( ) ) ; "<AssertPlaceHolder>" ; } getValue ( ) { return value ; } | org . junit . Assert . assertEquals ( item , IDENT_9 . getValue ( ) . item ) |
METHOD_0 ( ) { org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 ) ; handler . METHOD_2 ( new org . eclipse . rap . json . METHOD_3 ( ) . add ( STRING_0 , true ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { METHOD_5 ( ) ; return IDENT_3 ; } | org . junit . Assert . assertTrue ( item . METHOD_4 ( ) ) |
METHOD_0 ( ) { org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 ) ; item . METHOD_2 ( true ) ; handler . METHOD_3 ( new org . eclipse . rap . json . METHOD_4 ( ) . add ( STRING_0 , false ) ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { METHOD_6 ( ) ; return IDENT_3 ; } | org . junit . Assert . assertFalse ( item . METHOD_5 ( ) ) |
METHOD_0 ( ) { org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_1 ( IDENT_1 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_1 ( IDENT_2 ) ; IDENT_2 . METHOD_2 ( STRING_0 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_3 ( ) ; IDENT_2 . METHOD_2 ( "" ) ; IDENT_3 . METHOD_4 ( IDENT_2 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_4 message = org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_5 ( ) ; org . eclipse . rap . json . IDENT_5 text = ( ( org . eclipse . rap . json . IDENT_5 ) ( message . METHOD_6 ( IDENT_2 , STRING_1 ) ) ) ; "<AssertPlaceHolder>" ; } size ( ) { return new org . eclipse . IDENT_6 . internal . IDENT_7 . swt . METHOD_7 ( ) ; } | org . junit . Assert . assertEquals ( 0 , text . size ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . List list = METHOD_1 ( ) ; handler = new org . eclipse . swt . internal . widgets . IDENT_0 . METHOD_2 ( list ) ; handler . METHOD_3 ( new org . eclipse . rap . json . METHOD_4 ( ) . add ( STRING_0 , 1 ) ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { return IDENT_1 ; } | org . junit . Assert . assertEquals ( 1 , list . METHOD_5 ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . List list = METHOD_1 ( ) ; handler = new org . eclipse . swt . internal . widgets . IDENT_0 . METHOD_2 ( list ) ; handler . METHOD_3 ( new org . eclipse . rap . json . METHOD_4 ( ) . add ( STRING_0 , ( - 1 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { return IDENT_1 ; } | org . junit . Assert . assertEquals ( ( - 1 ) , list . METHOD_5 ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . List list = METHOD_1 ( ) ; handler = new org . eclipse . swt . internal . widgets . IDENT_0 . METHOD_2 ( list ) ; handler . METHOD_3 ( new org . eclipse . rap . json . METHOD_4 ( ) . add ( STRING_0 , INT_0 ) ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { return IDENT_1 ; } | org . junit . Assert . assertEquals ( 0 , list . METHOD_5 ( ) ) |
METHOD_0 ( ) { int value = org . apache . activemq . artemis . utils . IDENT_0 . METHOD_1 ( ) ; org . apache . activemq . artemis . jms . client . IDENT_1 message = new org . apache . activemq . artemis . jms . client . METHOD_2 ( ) ; message . METHOD_3 ( value ) ; message . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { if ( IDENT_2 ) { throw new javax . jms . METHOD_6 ( STRING_0 ) ; } try { java . lang . Object value = content . get ( position ) ; offset = 0 ; if ( value == null ) { throw new java . lang . METHOD_7 ( STRING_1 ) ; } else if ( value instanceof java . lang . IDENT_3 ) { ( position ) ++ ; return ( ( java . lang . IDENT_3 ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . IDENT_4 ) { ( position ) ++ ; return ( ( java . lang . IDENT_4 ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . Integer ) { ( position ) ++ ; return ( ( java . lang . Integer ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . Long ) { ( position ) ++ ; return ( ( java . lang . Long ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . String ) { long result = java . lang . Long . METHOD_9 ( ( ( java . lang . String ) ( value ) ) ) ; ( position ) ++ ; return result ; } else { throw new javax . jms . METHOD_10 ( STRING_2 ) ; } } catch ( java . lang . IDENT_5 e ) { throw new javax . jms . METHOD_11 ( "" ) ; } } | org . junit . Assert . assertEquals ( value , message . METHOD_5 ( ) ) |
METHOD_0 ( ) { doReturn ( java . lang . Integer . valueOf ( IDENT_0 . IDENT_1 ) ) . when ( item ) . METHOD_1 ( ) ; doReturn ( Boolean . IDENT_2 ) . when ( item ) . METHOD_2 ( ) ; handler . METHOD_3 ( org . eclipse . swt . internal . widgets . IDENT_3 . IDENT_4 , new org . eclipse . rap . json . METHOD_4 ( ) ) ; org . mockito . IDENT_5 < org . eclipse . swt . widgets . IDENT_6 > IDENT_7 = org . mockito . IDENT_5 . METHOD_5 ( org . eclipse . swt . widgets . IDENT_6 . class ) ; verify ( item ) . METHOD_6 ( eq ( IDENT_0 . IDENT_8 ) , IDENT_7 . METHOD_7 ( ) ) ; "<AssertPlaceHolder>" ; } getValue ( ) { return value ; } | org . junit . Assert . assertEquals ( ( - 1 ) , IDENT_7 . getValue ( ) . time ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 IDENT_1 = new org . eclipse . swt . widgets . METHOD_1 ( shell , org . eclipse . swt . IDENT_2 . IDENT_3 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_4 . METHOD_2 ( IDENT_5 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_4 . METHOD_2 ( IDENT_1 ) ; shell . METHOD_3 ( IDENT_1 ) ; org . eclipse . rap . rwt . internal . IDENT_6 . IDENT_7 . METHOD_4 ( shell ) . METHOD_5 ( shell ) ; shell . METHOD_3 ( null ) ; IDENT_8 . METHOD_6 ( IDENT_1 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_9 message = org . eclipse . rap . rwt . testfixture . internal . IDENT_4 . METHOD_7 ( ) ; org . eclipse . rap . json . IDENT_10 IDENT_11 = message . METHOD_8 ( IDENT_1 , STRING_0 ) . METHOD_9 ( ) ; "<AssertPlaceHolder>" ; } add ( org . eclipse . ui . IDENT_12 . IDENT_13 ) { IDENT_14 . add ( IDENT_15 ) ; IDENT_16 . METHOD_10 ( ) . METHOD_11 ( IDENT_15 , null ) ; } | org . junit . Assert . assertEquals ( new org . eclipse . rap . json . METHOD_12 ( ) . add ( 0 ) . add ( 0 ) . add ( 0 ) . add ( 0 ) , IDENT_11 ) |
METHOD_0 ( ) { org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_1 ( ) ; org . eclipse . rap . rwt . internal . IDENT_1 . IDENT_2 adapter = org . eclipse . rap . rwt . internal . IDENT_1 . IDENT_3 . METHOD_2 ( IDENT_4 ) ; java . lang . Object IDENT_5 = adapter . METHOD_3 ( IDENT_6 . IDENT_7 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { throw new java . lang . METHOD_4 ( ) ; } | org . junit . Assert . assertNull ( IDENT_5 ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 shell = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_1 , org . eclipse . swt . IDENT_2 . IDENT_3 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_4 . METHOD_2 ( IDENT_1 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_4 . METHOD_2 ( shell ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_4 . METHOD_3 ( ) ; shell . METHOD_4 ( image ) ; IDENT_5 . METHOD_5 ( shell ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_6 message = org . eclipse . rap . rwt . testfixture . internal . IDENT_4 . METHOD_6 ( ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { return METHOD_8 ( ) . size ( ) ; } | org . junit . Assert . assertEquals ( 0 , message . METHOD_7 ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 IDENT_1 = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_2 ) ; METHOD_2 ( IDENT_1 ) . METHOD_3 ( new org . eclipse . swt . internal . widgets . IDENT_3 . METHOD_4 ( IDENT_1 ) ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_4 . METHOD_5 ( IDENT_2 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_4 . METHOD_5 ( IDENT_1 ) ; org . eclipse . swt . widgets . IDENT_5 IDENT_6 = new org . eclipse . swt . widgets . METHOD_6 ( IDENT_1 , org . eclipse . swt . IDENT_7 . IDENT_8 ) ; IDENT_1 . METHOD_7 ( ) ; IDENT_6 . METHOD_8 ( ) ; shell . METHOD_7 ( ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_4 . METHOD_9 ( ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_4 . METHOD_10 ( getId ( IDENT_1 ) , STRING_0 , new org . eclipse . rap . json . METHOD_11 ( ) ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_4 . METHOD_12 ( ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_9 message = org . eclipse . rap . rwt . testfixture . internal . IDENT_4 . METHOD_13 ( ) ; java . lang . String actual = message . METHOD_14 ( getId ( IDENT_2 ) , STRING_1 ) . METHOD_15 ( ) ; "<AssertPlaceHolder>" ; } getId ( org . eclipse . core . runtime . IDENT_10 ) { org . eclipse . core . runtime . IDENT_11 IDENT_12 = extension . METHOD_16 ( ) ; return org . eclipse . IDENT_13 . ui . internal . workbench . IDENT_14 . METHOD_17 ( ) . METHOD_18 ( IDENT_12 . getName ( ) ) ; } | org . junit . Assert . assertEquals ( getId ( IDENT_6 ) , actual ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 IDENT_1 = new org . eclipse . swt . widgets . METHOD_1 ( shell , org . eclipse . swt . IDENT_2 . IDENT_3 ) ; org . eclipse . swt . widgets . METHOD_1 IDENT_4 = new org . eclipse . swt . widgets . METHOD_1 ( shell , org . eclipse . swt . IDENT_2 . IDENT_3 ) ; org . eclipse . swt . internal . widgets . IDENT_5 . IDENT_6 . METHOD_2 ( shell , IDENT_4 ) ; handler . METHOD_3 ( new org . eclipse . rap . json . METHOD_4 ( ) . add ( STRING_0 , getId ( IDENT_1 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( org . eclipse . swt . widgets . IDENT_7 ) { return shell . METHOD_6 ( org . eclipse . swt . internal . widgets . IDENT_8 . class ) . METHOD_5 ( ) ; } | org . junit . Assert . assertSame ( IDENT_1 , org . eclipse . swt . internal . widgets . IDENT_5 . IDENT_6 . METHOD_5 ( shell ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 IDENT_1 = new org . eclipse . swt . widgets . METHOD_1 ( shell , org . eclipse . swt . IDENT_2 . IDENT_3 ) ; IDENT_1 . METHOD_2 ( false ) ; org . eclipse . swt . widgets . METHOD_1 IDENT_4 = new org . eclipse . swt . widgets . METHOD_1 ( shell , org . eclipse . swt . IDENT_2 . IDENT_3 ) ; org . eclipse . swt . internal . widgets . IDENT_5 . IDENT_6 . METHOD_3 ( shell , IDENT_4 ) ; handler . METHOD_4 ( new org . eclipse . rap . json . METHOD_5 ( ) . add ( STRING_0 , getId ( IDENT_1 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( org . eclipse . swt . widgets . IDENT_7 ) { return shell . METHOD_7 ( org . eclipse . swt . internal . widgets . IDENT_8 . class ) . METHOD_6 ( ) ; } | org . junit . Assert . assertSame ( IDENT_4 , org . eclipse . swt . internal . widgets . IDENT_5 . IDENT_6 . METHOD_6 ( shell ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 IDENT_1 = new org . eclipse . swt . widgets . METHOD_1 ( shell , org . eclipse . swt . IDENT_2 . IDENT_3 ) ; IDENT_1 . METHOD_2 ( ) ; org . eclipse . swt . widgets . METHOD_1 IDENT_4 = new org . eclipse . swt . widgets . METHOD_1 ( shell , org . eclipse . swt . IDENT_2 . IDENT_3 ) ; org . eclipse . swt . internal . widgets . IDENT_5 . IDENT_6 . METHOD_3 ( shell , IDENT_4 ) ; handler . METHOD_4 ( new org . eclipse . rap . json . METHOD_5 ( ) . add ( STRING_0 , getId ( IDENT_1 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( org . eclipse . swt . widgets . IDENT_7 ) { return shell . METHOD_7 ( org . eclipse . swt . internal . widgets . IDENT_8 . class ) . METHOD_6 ( ) ; } | org . junit . Assert . assertSame ( IDENT_4 , org . eclipse . swt . internal . widgets . IDENT_5 . IDENT_6 . METHOD_6 ( shell ) ) |
METHOD_0 ( ) { org . eclipse . swt . IDENT_0 . IDENT_1 IDENT_2 = new org . eclipse . swt . IDENT_0 . METHOD_1 ( 0 , 0 , INT_0 , INT_1 ) ; org . eclipse . swt . internal . widgets . IDENT_3 . IDENT_4 . METHOD_2 ( IDENT_5 ) . METHOD_3 ( IDENT_2 ) ; org . eclipse . swt . IDENT_0 . METHOD_1 IDENT_6 = new org . eclipse . swt . IDENT_0 . METHOD_1 ( 10 , 10 , 100 , 100 ) ; shell . METHOD_3 ( IDENT_6 ) ; shell . METHOD_4 ( ) ; org . eclipse . rap . json . IDENT_7 properties = new org . eclipse . rap . json . METHOD_5 ( ) . add ( STRING_0 , STRING_1 ) . add ( STRING_2 , new org . eclipse . rap . json . METHOD_6 ( ) . add ( 0 ) . add ( 0 ) . add ( INT_0 ) . add ( INT_1 ) ) ; handler . METHOD_7 ( properties ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( ) { return item . METHOD_8 ( 0 ) ; } | org . junit . Assert . assertEquals ( IDENT_2 , shell . METHOD_8 ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . IDENT_0 . IDENT_1 IDENT_2 = new org . eclipse . swt . IDENT_0 . METHOD_1 ( 0 , 0 , INT_0 , INT_1 ) ; org . eclipse . swt . internal . widgets . IDENT_3 . IDENT_4 . METHOD_2 ( IDENT_5 ) . METHOD_3 ( IDENT_2 ) ; org . eclipse . swt . IDENT_0 . METHOD_1 IDENT_6 = new org . eclipse . swt . IDENT_0 . METHOD_1 ( 10 , 10 , 100 , 100 ) ; shell . METHOD_3 ( IDENT_6 ) ; shell . METHOD_4 ( true ) ; shell . METHOD_5 ( ) ; org . eclipse . rap . json . IDENT_7 properties = new org . eclipse . rap . json . METHOD_6 ( ) . add ( STRING_0 , STRING_1 ) . add ( STRING_2 , new org . eclipse . rap . json . METHOD_7 ( ) . add ( 10 ) . add ( 10 ) . add ( 100 ) . add ( 100 ) ) ; handler . METHOD_8 ( properties ) ; "<AssertPlaceHolder>" ; } METHOD_9 ( ) { return item . METHOD_9 ( 0 ) ; } | org . junit . Assert . assertEquals ( IDENT_6 , shell . METHOD_9 ( ) ) |
METHOD_0 ( ) { long value = org . apache . activemq . artemis . utils . IDENT_0 . METHOD_1 ( ) ; org . apache . activemq . artemis . jms . client . IDENT_1 message = new org . apache . activemq . artemis . jms . client . METHOD_2 ( ) ; message . METHOD_3 ( value ) ; message . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { if ( IDENT_2 ) { throw new javax . jms . METHOD_6 ( STRING_0 ) ; } try { java . lang . Object value = content . get ( position ) ; offset = 0 ; if ( value == null ) { throw new java . lang . METHOD_7 ( STRING_1 ) ; } else if ( value instanceof java . lang . IDENT_3 ) { ( position ) ++ ; return ( ( java . lang . IDENT_3 ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . IDENT_4 ) { ( position ) ++ ; return ( ( java . lang . IDENT_4 ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . Integer ) { ( position ) ++ ; return ( ( java . lang . Integer ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . Long ) { ( position ) ++ ; return ( ( java . lang . Long ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . String ) { long result = java . lang . Long . METHOD_9 ( ( ( java . lang . String ) ( value ) ) ) ; ( position ) ++ ; return result ; } else { throw new javax . jms . METHOD_10 ( STRING_2 ) ; } } catch ( java . lang . IDENT_5 e ) { throw new javax . jms . METHOD_11 ( "" ) ; } } | org . junit . Assert . assertEquals ( value , message . METHOD_5 ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 item = IDENT_1 . METHOD_1 ( 1 ) ; handler . METHOD_2 ( new org . eclipse . rap . json . METHOD_3 ( ) . add ( STRING_0 , getId ( item ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { METHOD_5 ( ) ; org . eclipse . IDENT_2 . widgets . grid . IDENT_3 [ ] result = new org . eclipse . IDENT_2 . widgets . grid . IDENT_3 [ 0 ] ; if ( IDENT_4 ) { } else { result = IDENT_5 . toArray ( new org . eclipse . IDENT_2 . widgets . grid . IDENT_3 [ IDENT_5 . size ( ) ] ) ; } return result ; } | org . junit . Assert . assertArrayEquals ( new org . eclipse . swt . widgets . IDENT_0 [ ] { item } , IDENT_1 . METHOD_4 ( ) ) |
METHOD_0 ( ) { METHOD_1 ( new java . lang . String [ ] { "foo" } ) ; column . METHOD_2 ( "foo" , STRING_0 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_3 ( IDENT_1 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_3 ( column ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_4 ( ) ; IDENT_2 . METHOD_5 ( column ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_3 message = org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_6 ( ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { return METHOD_8 ( ) . size ( ) ; } | org . junit . Assert . assertEquals ( 0 , message . METHOD_7 ( ) ) |
METHOD_0 ( ) { org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 ) ; org . eclipse . swt . widgets . IDENT_3 IDENT_4 = new org . eclipse . swt . widgets . METHOD_2 ( table , org . eclipse . swt . IDENT_5 . IDENT_6 ) ; IDENT_4 . METHOD_3 ( 100 ) ; org . eclipse . rap . json . IDENT_7 properties = new org . eclipse . rap . json . METHOD_4 ( ) . add ( STRING_0 , INT_0 ) ; handler . METHOD_5 ( STRING_1 , properties ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { METHOD_7 ( ) ; int [ ] result = new int [ IDENT_8 . size ( ) ] ; for ( int i = 0 ; i < ( result . length ) ; i ++ ) { org . eclipse . IDENT_9 . widgets . grid . IDENT_10 column = IDENT_11 . get ( i ) ; result [ i ] = IDENT_8 . indexOf ( column ) ; } return result ; } | org . junit . Assert . assertArrayEquals ( new int [ ] { 1 , 0 } , table . METHOD_6 ( ) ) |
METHOD_0 ( ) { final boolean [ ] IDENT_0 = new boolean [ ] { false } ; table = new org . eclipse . swt . widgets . METHOD_1 ( shell , org . eclipse . swt . IDENT_1 . IDENT_2 ) ; new org . eclipse . swt . widgets . METHOD_2 ( table , org . eclipse . swt . IDENT_1 . IDENT_3 ) ; new org . eclipse . swt . widgets . METHOD_2 ( table , org . eclipse . swt . IDENT_1 . IDENT_3 ) ; new org . eclipse . swt . widgets . METHOD_2 ( table , org . eclipse . swt . IDENT_1 . IDENT_3 ) ; table . METHOD_3 ( 2 ) ; org . eclipse . swt . widgets . IDENT_4 IDENT_5 = new org . eclipse . swt . widgets . METHOD_4 ( shell , org . eclipse . swt . IDENT_1 . IDENT_6 ) ; METHOD_5 ( IDENT_5 ) . METHOD_6 ( new org . eclipse . swt . internal . widgets . IDENT_7 . METHOD_7 ( IDENT_5 ) ) ; IDENT_5 . METHOD_8 ( new org . eclipse . swt . events . METHOD_9 ( ) { @ org . eclipse . swt . internal . widgets . IDENT_8 . Override public void METHOD_10 ( org . eclipse . swt . events . IDENT_9 e ) { table . remove ( 1 , 2 ) ; IDENT_0 [ 0 ] = true ; } } ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_10 . METHOD_11 ( getId ( IDENT_5 ) , IDENT_11 . IDENT_12 , null ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_10 . METHOD_12 ( IDENT_13 ) ; "<AssertPlaceHolder>" ; } METHOD_12 ( org . eclipse . swt . widgets . IDENT_14 ) { org . eclipse . swt . internal . widgets . IDENT_15 . IDENT_16 IDENT_17 = org . eclipse . rap . rwt . internal . IDENT_18 . IDENT_19 . METHOD_13 ( IDENT_13 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_10 . METHOD_14 ( IDENT_20 . IDENT_21 ) ; IDENT_17 . METHOD_15 ( IDENT_13 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_10 . METHOD_16 ( ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_10 . METHOD_14 ( IDENT_20 . IDENT_22 ) ; while ( org . eclipse . swt . widgets . IDENT_14 . METHOD_17 ( ) . METHOD_18 ( ) ) { } } | org . junit . Assert . assertTrue ( IDENT_0 [ 0 ] ) |
METHOD_0 ( ) { table = new org . eclipse . swt . widgets . METHOD_1 ( shell , org . eclipse . swt . IDENT_0 . IDENT_1 ) ; item = new org . eclipse . swt . widgets . METHOD_2 ( table , org . eclipse . swt . IDENT_0 . IDENT_2 ) ; org . eclipse . rap . rwt . internal . IDENT_3 . IDENT_4 < org . eclipse . swt . widgets . METHOD_2 > IDENT_5 = org . eclipse . rap . rwt . internal . IDENT_3 . IDENT_6 . METHOD_3 ( item ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_7 . METHOD_4 ( table ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_7 . METHOD_4 ( item ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_7 . METHOD_5 ( ) ; item . METHOD_6 ( ) ; IDENT_5 . METHOD_7 ( item ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_8 message = org . eclipse . rap . rwt . testfixture . internal . IDENT_7 . METHOD_8 ( ) ; "<AssertPlaceHolder>" ; } METHOD_9 ( org . eclipse . swt . widgets . IDENT_9 ) { org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_10 result = null ; java . lang . Object target = org . eclipse . rap . rwt . internal . IDENT_3 . IDENT_6 . getId ( IDENT_11 ) ; for ( org . eclipse . rap . rwt . internal . protocol . Operation operation : METHOD_10 ( ) ) { if ( ( operation instanceof org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_10 ) && ( operation . METHOD_11 ( ) . equals ( target ) ) ) { org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_10 IDENT_12 = ( ( org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_10 ) ( operation ) ) ; result = IDENT_12 ; } } return result ; } | org . junit . Assert . assertNotNull ( message . METHOD_9 ( item ) ) |
METHOD_0 ( ) { handler . METHOD_1 ( new org . eclipse . rap . json . METHOD_2 ( ) . add ( STRING_0 , true ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { METHOD_4 ( ) ; return METHOD_3 ( 0 ) ; } | org . junit . Assert . assertTrue ( item . METHOD_3 ( ) ) |
METHOD_0 ( ) { table = new org . eclipse . swt . widgets . METHOD_1 ( shell , org . eclipse . swt . IDENT_0 . IDENT_1 ) ; METHOD_2 ( table ) . METHOD_3 ( new org . eclipse . swt . internal . widgets . IDENT_2 . METHOD_4 ( table ) ) ; table . METHOD_5 ( IDENT_3 . IDENT_4 , Boolean . IDENT_5 ) ; org . eclipse . swt . internal . widgets . IDENT_6 IDENT_7 = org . eclipse . swt . internal . widgets . IDENT_8 . METHOD_6 ( table ) ; org . eclipse . swt . internal . widgets . IDENT_9 IDENT_10 = table . METHOD_6 ( org . eclipse . swt . internal . widgets . IDENT_9 . class ) ; org . eclipse . swt . internal . widgets . IDENT_3 IDENT_11 = mock ( org . eclipse . swt . internal . widgets . IDENT_3 . class ) ; IDENT_7 . METHOD_7 ( IDENT_11 ) ; table . METHOD_8 ( 2 ) ; org . eclipse . swt . widgets . IDENT_12 item = table . METHOD_9 ( 1 ) ; org . eclipse . swt . internal . widgets . IDENT_2 . IDENT_13 . METHOD_10 ( table , getId ( item ) , 0 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_14 . METHOD_11 ( table ) ; verify ( IDENT_11 ) . METHOD_12 ( item , 0 ) ; "<AssertPlaceHolder>" ; } METHOD_13 ( ) { org . eclipse . swt . widgets . IDENT_15 [ ] result ; if ( parent . METHOD_14 ( ) ) { int count = 0 ; for ( int i = 0 ; i < ( IDENT_16 ) ; i ++ ) { if ( ( IDENT_17 [ i ] ) != null ) { count ++ ; } } result = new org . eclipse . swt . widgets . IDENT_15 [ count ] ; count = 0 ; for ( int i = 0 ; i < ( IDENT_16 ) ; i ++ ) { if ( ( IDENT_17 [ i ] ) != null ) { result [ count ] = IDENT_17 [ i ] ; count ++ ; } } } else { result = new org . eclipse . swt . widgets . IDENT_15 [ IDENT_16 ] ; java . lang . System . METHOD_15 ( IDENT_17 , 0 , result , 0 , IDENT_16 ) ; } return result ; } | org . junit . Assert . assertEquals ( 1 , IDENT_10 . METHOD_13 ( ) . length ) |
METHOD_0 ( ) { long value = org . apache . activemq . artemis . utils . IDENT_0 . METHOD_1 ( ) ; org . apache . activemq . artemis . jms . client . IDENT_1 message = new org . apache . activemq . artemis . jms . client . METHOD_2 ( ) ; message . METHOD_3 ( java . lang . Long . toString ( value ) ) ; message . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { if ( IDENT_2 ) { throw new javax . jms . METHOD_6 ( STRING_0 ) ; } try { java . lang . Object value = content . get ( position ) ; offset = 0 ; if ( value == null ) { throw new java . lang . METHOD_7 ( STRING_1 ) ; } else if ( value instanceof java . lang . IDENT_3 ) { ( position ) ++ ; return ( ( java . lang . IDENT_3 ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . IDENT_4 ) { ( position ) ++ ; return ( ( java . lang . IDENT_4 ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . Integer ) { ( position ) ++ ; return ( ( java . lang . Integer ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . Long ) { ( position ) ++ ; return ( ( java . lang . Long ) ( value ) ) . METHOD_8 ( ) ; } else if ( value instanceof java . lang . String ) { long result = java . lang . Long . METHOD_9 ( ( ( java . lang . String ) ( value ) ) ) ; ( position ) ++ ; return result ; } else { throw new javax . jms . METHOD_10 ( STRING_2 ) ; } } catch ( java . lang . IDENT_5 e ) { throw new javax . jms . METHOD_11 ( "" ) ; } } | org . junit . Assert . assertEquals ( value , message . METHOD_5 ( ) ) |
METHOD_0 ( ) { new org . eclipse . swt . widgets . METHOD_1 ( table , org . eclipse . swt . IDENT_0 . IDENT_1 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_2 . METHOD_2 ( IDENT_3 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_2 . METHOD_2 ( table ) ; table . METHOD_3 ( STRING_0 , java . lang . Integer . valueOf ( 1 ) ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_2 . METHOD_4 ( ) ; IDENT_4 . METHOD_5 ( table ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_5 message = org . eclipse . rap . rwt . testfixture . internal . IDENT_2 . METHOD_6 ( ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( java . lang . String , java . lang . String ) { org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_6 result = null ; for ( org . eclipse . rap . rwt . internal . protocol . Operation operation : METHOD_8 ( ) ) { if ( ( operation instanceof org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_6 ) && ( operation . METHOD_9 ( ) . equals ( target ) ) ) { org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_6 IDENT_7 = ( ( org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_6 ) ( operation ) ) ; if ( ( property == null ) || ( ( IDENT_7 . METHOD_10 ( ) . get ( property ) ) != null ) ) { result = IDENT_7 ; } } } return result ; } | org . junit . Assert . assertNull ( message . METHOD_7 ( table , STRING_0 ) ) |
METHOD_0 ( ) { org . eclipse . swt . internal . widgets . IDENT_0 adapter = org . eclipse . swt . internal . widgets . IDENT_1 . METHOD_1 ( table ) ; adapter . METHOD_2 ( "foo" ) ; IDENT_2 . METHOD_3 ( table ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return IDENT_3 ; } | org . junit . Assert . assertNull ( adapter . METHOD_4 ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . internal . widgets . IDENT_0 . IDENT_1 . METHOD_1 ( table , 3 ) ; org . eclipse . swt . widgets . IDENT_2 item = table . METHOD_2 ( 1 ) ; org . eclipse . rap . json . IDENT_3 IDENT_4 = new org . eclipse . rap . json . METHOD_3 ( ) . add ( getId ( item ) ) ; handler . METHOD_4 ( new org . eclipse . rap . json . METHOD_5 ( ) . add ( STRING_0 , IDENT_4 ) ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { METHOD_7 ( ) ; org . eclipse . IDENT_5 . widgets . grid . IDENT_6 [ ] result = new org . eclipse . IDENT_5 . widgets . grid . IDENT_6 [ 0 ] ; if ( IDENT_7 ) { } else { result = IDENT_8 . toArray ( new org . eclipse . IDENT_5 . widgets . grid . IDENT_6 [ IDENT_8 . size ( ) ] ) ; } return result ; } | org . junit . Assert . assertArrayEquals ( new org . eclipse . swt . widgets . IDENT_2 [ ] { item } , table . METHOD_6 ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . internal . widgets . IDENT_0 . IDENT_1 . METHOD_1 ( table , 3 ) ; org . eclipse . swt . widgets . IDENT_2 IDENT_3 = table . METHOD_2 ( 0 ) ; org . eclipse . swt . widgets . IDENT_2 IDENT_4 = table . METHOD_2 ( 2 ) ; org . eclipse . rap . json . IDENT_5 IDENT_6 = new org . eclipse . rap . json . METHOD_3 ( ) . add ( getId ( IDENT_3 ) ) . add ( getId ( IDENT_4 ) ) ; handler . METHOD_4 ( new org . eclipse . rap . json . METHOD_5 ( ) . add ( STRING_0 , IDENT_6 ) ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { METHOD_7 ( ) ; org . eclipse . IDENT_7 . widgets . grid . IDENT_8 [ ] result = new org . eclipse . IDENT_7 . widgets . grid . IDENT_8 [ 0 ] ; if ( IDENT_9 ) { } else { result = IDENT_10 . toArray ( new org . eclipse . IDENT_7 . widgets . grid . IDENT_8 [ IDENT_10 . size ( ) ] ) ; } return result ; } | org . junit . Assert . assertArrayEquals ( new org . eclipse . swt . widgets . IDENT_2 [ ] { IDENT_4 , IDENT_3 } , table . METHOD_6 ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . internal . widgets . IDENT_0 . IDENT_1 . METHOD_1 ( table , 3 ) ; org . eclipse . swt . widgets . IDENT_2 IDENT_3 = table . METHOD_2 ( 0 ) ; org . eclipse . swt . widgets . IDENT_2 IDENT_4 = table . METHOD_2 ( 2 ) ; IDENT_3 . METHOD_3 ( ) ; org . eclipse . rap . json . IDENT_5 IDENT_6 = new org . eclipse . rap . json . METHOD_4 ( ) . add ( getId ( IDENT_3 ) ) . add ( getId ( IDENT_4 ) ) ; handler . METHOD_5 ( new org . eclipse . rap . json . METHOD_6 ( ) . add ( STRING_0 , IDENT_6 ) ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { METHOD_8 ( ) ; org . eclipse . IDENT_7 . widgets . grid . IDENT_8 [ ] result = new org . eclipse . IDENT_7 . widgets . grid . IDENT_8 [ 0 ] ; if ( IDENT_9 ) { } else { result = IDENT_10 . toArray ( new org . eclipse . IDENT_7 . widgets . grid . IDENT_8 [ IDENT_10 . size ( ) ] ) ; } return result ; } | org . junit . Assert . assertArrayEquals ( new org . eclipse . swt . widgets . IDENT_2 [ ] { IDENT_4 } , table . METHOD_7 ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . internal . widgets . IDENT_0 . IDENT_1 . METHOD_1 ( table , 10 ) ; handler . METHOD_2 ( new org . eclipse . rap . json . METHOD_3 ( ) . add ( STRING_0 , 1 ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { METHOD_5 ( ) ; if ( ( IDENT_2 ) == ( - 1 ) ) { METHOD_6 ( ) ; if ( IDENT_3 . METHOD_7 ( ) ) { int IDENT_4 = IDENT_3 . METHOD_8 ( ) ; if ( IDENT_5 ) { java . util . Iterator < org . eclipse . IDENT_6 . widgets . grid . IDENT_7 > iterator = IDENT_8 . iterator ( ) ; int row = IDENT_4 + 1 ; while ( ( row > 0 ) && ( iterator . hasNext ( ) ) ) { org . eclipse . IDENT_6 . widgets . grid . IDENT_7 item = iterator . next ( ) ; if ( item . METHOD_9 ( ) ) { row OP_0 ; if ( row == 0 ) { IDENT_4 = IDENT_8 . indexOf ( item ) ; } } } } IDENT_2 = IDENT_4 ; } else { IDENT_2 = 0 ; } } return IDENT_2 ; } | org . junit . Assert . assertEquals ( 1 , table . METHOD_4 ( ) ) |
METHOD_0 ( ) { table = new org . eclipse . swt . widgets . METHOD_1 ( shell , ( ( org . eclipse . swt . IDENT_0 . IDENT_1 ) | ( org . eclipse . swt . IDENT_0 . IDENT_2 ) ) ) ; handler = new org . eclipse . swt . internal . widgets . IDENT_3 . METHOD_2 ( table ) ; table . METHOD_3 ( 3 ) ; org . eclipse . swt . widgets . IDENT_4 listener = mock ( org . eclipse . swt . widgets . IDENT_4 . class ) ; table . METHOD_4 ( IDENT_0 . IDENT_5 , listener ) ; org . eclipse . rap . json . IDENT_6 properties = new org . eclipse . rap . json . METHOD_5 ( ) . add ( STRING_0 , ( ( getId ( table ) ) + STRING_1 ) ) ; handler . METHOD_6 ( org . eclipse . swt . internal . widgets . IDENT_3 . IDENT_7 , properties ) ; org . mockito . IDENT_8 < org . eclipse . swt . widgets . IDENT_9 > IDENT_10 = org . mockito . IDENT_8 . METHOD_7 ( org . eclipse . swt . widgets . IDENT_9 . class ) ; verify ( listener ) . METHOD_8 ( IDENT_10 . METHOD_9 ( ) ) ; org . eclipse . swt . widgets . IDENT_9 event = IDENT_10 . getValue ( ) ; "<AssertPlaceHolder>" ; } METHOD_10 ( int ) { METHOD_11 ( ) ; if ( ! ( IDENT_11 ) ) { throw new java . lang . IllegalArgumentException ( STRING_2 ) ; } return METHOD_12 ( ) . METHOD_13 ( ) . get ( index ) ; } | org . junit . Assert . assertEquals ( table . METHOD_10 ( 2 ) , event . item ) |
METHOD_0 ( ) { handler = new org . eclipse . swt . internal . widgets . IDENT_0 . METHOD_1 ( text ) ; handler . METHOD_2 ( new org . eclipse . rap . json . METHOD_3 ( ) . add ( STRING_0 , STRING_1 ) ) ; "<AssertPlaceHolder>" ; } getText ( ) { METHOD_4 ( ) ; return text ; } | org . junit . Assert . assertEquals ( STRING_1 , text . getText ( ) ) |
METHOD_0 ( ) { org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 ) ; handler = new org . eclipse . swt . internal . widgets . IDENT_3 . METHOD_2 ( text ) ; text . METHOD_3 ( STRING_0 ) ; text . METHOD_4 ( IDENT_4 . IDENT_5 , mock ( org . eclipse . swt . widgets . IDENT_6 . class ) ) ; handler . METHOD_5 ( new org . eclipse . rap . json . METHOD_6 ( ) . add ( STRING_1 , STRING_2 ) ) ; "<AssertPlaceHolder>" ; } getText ( ) { METHOD_7 ( ) ; return text ; } | org . junit . Assert . assertEquals ( STRING_2 , text . getText ( ) ) |
METHOD_0 ( ) { handler = new org . eclipse . swt . internal . widgets . IDENT_0 . METHOD_1 ( text ) ; text . METHOD_2 ( STRING_0 ) ; text . METHOD_3 ( new org . eclipse . swt . IDENT_1 . METHOD_4 ( 2 , 4 ) ) ; handler . METHOD_5 ( new org . eclipse . rap . json . METHOD_6 ( ) . add ( STRING_1 , STRING_2 ) ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { return new org . eclipse . IDENT_2 . IDENT_3 . METHOD_8 ( STRING_3 ) ; } | org . junit . Assert . assertEquals ( new org . eclipse . swt . IDENT_1 . METHOD_4 ( 2 , 4 ) , text . METHOD_7 ( ) ) |
METHOD_0 ( ) { java . lang . String value = org . apache . activemq . artemis . utils . IDENT_0 . METHOD_1 ( ) ; org . apache . activemq . artemis . jms . client . IDENT_1 message = new org . apache . activemq . artemis . jms . client . METHOD_2 ( ) ; message . METHOD_3 ( value ) ; message . METHOD_4 ( ) ; try { message . METHOD_5 ( ) ; fail ( STRING_0 ) ; } catch ( java . lang . IDENT_2 e ) { } "<AssertPlaceHolder>" ; } METHOD_6 ( ) { if ( IDENT_3 ) { throw new javax . jms . METHOD_7 ( STRING_1 ) ; } try { java . lang . Object value = content . get ( position ) ; offset = 0 ; if ( value == null ) { ( position ) ++ ; return null ; } else if ( value instanceof java . lang . Boolean ) { ( position ) ++ ; return ( ( java . lang . Boolean ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . IDENT_4 ) { ( position ) ++ ; return ( ( java . lang . IDENT_4 ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . IDENT_5 ) { ( position ) ++ ; return ( ( java . lang . IDENT_5 ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . IDENT_6 ) { ( position ) ++ ; return ( ( java . lang . IDENT_6 ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . Integer ) { ( position ) ++ ; return ( ( java . lang . Integer ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . Long ) { ( position ) ++ ; return ( ( java . lang . Long ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . IDENT_7 ) { ( position ) ++ ; return ( ( java . lang . IDENT_7 ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . Double ) { ( position ) ++ ; return ( ( java . lang . Double ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . String ) { ( position ) ++ ; return ( ( java . lang . String ) ( value ) ) ; } else { throw new javax . jms . METHOD_8 ( STRING_2 ) ; } } catch ( java . lang . IDENT_8 e ) { throw new javax . jms . METHOD_9 ( "" ) ; } } | org . junit . Assert . assertEquals ( value , message . METHOD_6 ( ) ) |
METHOD_0 ( ) { org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 ) ; org . eclipse . swt . widgets . IDENT_3 IDENT_4 = new org . eclipse . swt . widgets . METHOD_2 ( tree , org . eclipse . swt . IDENT_5 . IDENT_6 ) ; IDENT_4 . METHOD_3 ( 100 ) ; org . eclipse . rap . json . IDENT_7 properties = new org . eclipse . rap . json . METHOD_4 ( ) . add ( STRING_0 , INT_0 ) ; handler . METHOD_5 ( STRING_1 , properties ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { METHOD_7 ( ) ; int [ ] result = new int [ IDENT_8 . size ( ) ] ; for ( int i = 0 ; i < ( result . length ) ; i ++ ) { org . eclipse . IDENT_9 . widgets . grid . IDENT_10 column = IDENT_11 . get ( i ) ; result [ i ] = IDENT_8 . indexOf ( column ) ; } return result ; } | org . junit . Assert . assertArrayEquals ( new int [ ] { 1 , 0 } , tree . METHOD_6 ( ) ) |
METHOD_0 ( ) { METHOD_1 ( item ) . METHOD_2 ( new org . eclipse . swt . internal . widgets . IDENT_0 . METHOD_3 ( item ) ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_1 . METHOD_4 ( IDENT_2 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_1 . METHOD_4 ( item ) ; new org . eclipse . swt . widgets . METHOD_5 ( item , org . eclipse . swt . IDENT_3 . IDENT_4 ) ; item . METHOD_6 ( false ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_1 . METHOD_7 ( getId ( item ) , IDENT_5 . IDENT_6 , true ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_1 . METHOD_8 ( ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_7 message = org . eclipse . rap . rwt . testfixture . internal . IDENT_1 . METHOD_9 ( ) ; "<AssertPlaceHolder>" ; } METHOD_10 ( java . lang . String , java . lang . String ) { org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_8 result = null ; for ( org . eclipse . rap . rwt . internal . protocol . Operation operation : METHOD_11 ( ) ) { if ( ( operation instanceof org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_8 ) && ( operation . METHOD_12 ( ) . equals ( target ) ) ) { org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_8 IDENT_9 = ( ( org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_8 ) ( operation ) ) ; if ( ( property == null ) || ( ( IDENT_9 . METHOD_13 ( ) . get ( property ) ) != null ) ) { result = IDENT_9 ; } } } return result ; } | org . junit . Assert . assertNull ( message . METHOD_10 ( item , IDENT_5 . IDENT_6 ) ) |
METHOD_0 ( ) { tree . METHOD_1 ( ) ; IDENT_0 . METHOD_2 ( item ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_1 message = org . eclipse . rap . rwt . testfixture . internal . IDENT_2 . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return METHOD_5 ( ) . size ( ) ; } | org . junit . Assert . assertEquals ( 0 , message . METHOD_4 ( ) ) |
METHOD_0 ( ) { IDENT_0 . METHOD_1 ( item ) ; org . eclipse . rap . rwt . internal . remote . IDENT_1 IDENT_2 = org . eclipse . rap . rwt . internal . remote . IDENT_3 . getInstance ( ) . get ( getId ( item ) ) ; tree . METHOD_2 ( ) ; IDENT_0 . METHOD_3 ( item ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return IDENT_4 ; } | org . junit . Assert . assertTrue ( IDENT_2 . METHOD_4 ( ) ) |
METHOD_0 ( ) { java . lang . String value = org . apache . activemq . artemis . utils . IDENT_0 . METHOD_1 ( ) ; org . apache . activemq . artemis . jms . client . IDENT_1 message = new org . apache . activemq . artemis . jms . client . METHOD_2 ( ) ; message . METHOD_3 ( value ) ; message . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { if ( IDENT_2 ) { throw new javax . jms . METHOD_6 ( STRING_0 ) ; } try { java . lang . Object value = content . get ( position ) ; offset = 0 ; if ( value == null ) { ( position ) ++ ; return null ; } else if ( value instanceof java . lang . Boolean ) { ( position ) ++ ; return ( ( java . lang . Boolean ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . IDENT_3 ) { ( position ) ++ ; return ( ( java . lang . IDENT_3 ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . IDENT_4 ) { ( position ) ++ ; return ( ( java . lang . IDENT_4 ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . IDENT_5 ) { ( position ) ++ ; return ( ( java . lang . IDENT_5 ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . Integer ) { ( position ) ++ ; return ( ( java . lang . Integer ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . Long ) { ( position ) ++ ; return ( ( java . lang . Long ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . IDENT_6 ) { ( position ) ++ ; return ( ( java . lang . IDENT_6 ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . Double ) { ( position ) ++ ; return ( ( java . lang . Double ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . String ) { ( position ) ++ ; return ( ( java . lang . String ) ( value ) ) ; } else { throw new javax . jms . METHOD_7 ( STRING_1 ) ; } } catch ( java . lang . IDENT_7 e ) { throw new javax . jms . METHOD_8 ( "" ) ; } } | org . junit . Assert . assertEquals ( value , message . METHOD_5 ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 tree = new org . eclipse . swt . widgets . METHOD_1 ( shell , org . eclipse . swt . IDENT_1 . IDENT_2 ) ; METHOD_2 ( tree ) . METHOD_3 ( new org . eclipse . swt . internal . widgets . IDENT_3 . METHOD_4 ( tree ) ) ; org . eclipse . swt . widgets . IDENT_4 IDENT_5 = new org . eclipse . swt . widgets . METHOD_5 ( tree , org . eclipse . swt . IDENT_1 . IDENT_6 ) ; new org . eclipse . swt . widgets . METHOD_5 ( tree , org . eclipse . swt . IDENT_1 . IDENT_6 ) ; IDENT_5 . METHOD_6 ( ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_7 . METHOD_7 ( ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_7 . METHOD_8 ( getId ( tree ) , STRING_0 , METHOD_9 ( getId ( IDENT_5 ) ) ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_7 . METHOD_10 ( tree ) ; org . eclipse . swt . widgets . METHOD_5 [ ] IDENT_8 = tree . METHOD_11 ( ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( ) { METHOD_12 ( ) ; org . eclipse . IDENT_9 . widgets . grid . IDENT_10 [ ] result = new org . eclipse . IDENT_9 . widgets . grid . IDENT_10 [ 0 ] ; if ( IDENT_11 ) { } else { result = IDENT_8 . toArray ( new org . eclipse . IDENT_9 . widgets . grid . IDENT_10 [ IDENT_8 . size ( ) ] ) ; } return result ; } | org . junit . Assert . assertEquals ( 0 , IDENT_8 . length ) |
METHOD_0 ( ) { new org . eclipse . swt . widgets . METHOD_1 ( tree , org . eclipse . swt . IDENT_0 . IDENT_1 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_2 . METHOD_2 ( IDENT_3 ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_2 . METHOD_2 ( tree ) ; tree . METHOD_3 ( STRING_0 , java . lang . Integer . valueOf ( 1 ) ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_2 . METHOD_4 ( ) ; IDENT_4 . METHOD_5 ( tree ) ; org . eclipse . rap . rwt . testfixture . internal . IDENT_5 message = org . eclipse . rap . rwt . testfixture . internal . IDENT_2 . METHOD_6 ( ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( java . lang . String , java . lang . String ) { org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_6 result = null ; for ( org . eclipse . rap . rwt . internal . protocol . Operation operation : METHOD_8 ( ) ) { if ( ( operation instanceof org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_6 ) && ( operation . METHOD_9 ( ) . equals ( target ) ) ) { org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_6 IDENT_7 = ( ( org . eclipse . rap . rwt . internal . protocol . Operation . IDENT_6 ) ( operation ) ) ; if ( ( property == null ) || ( ( IDENT_7 . METHOD_10 ( ) . get ( property ) ) != null ) ) { result = IDENT_7 ; } } } return result ; } | org . junit . Assert . assertNull ( message . METHOD_7 ( tree , STRING_0 ) ) |
METHOD_0 ( ) { org . eclipse . swt . internal . widgets . IDENT_0 adapter = org . eclipse . swt . internal . widgets . IDENT_1 . METHOD_1 ( tree ) ; adapter . METHOD_2 ( "foo" ) ; IDENT_2 . METHOD_3 ( tree ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return IDENT_3 ; } | org . junit . Assert . assertNull ( adapter . METHOD_4 ( ) ) |
METHOD_0 ( ) { handler = new org . eclipse . swt . internal . widgets . IDENT_0 . METHOD_1 ( tree ) ; org . eclipse . swt . internal . widgets . IDENT_0 . IDENT_1 . METHOD_2 ( tree , 3 ) ; org . eclipse . swt . widgets . IDENT_2 item = tree . METHOD_3 ( 1 ) ; org . eclipse . rap . json . IDENT_3 IDENT_4 = new org . eclipse . rap . json . METHOD_4 ( ) . add ( getId ( item ) ) ; handler . METHOD_5 ( new org . eclipse . rap . json . METHOD_6 ( ) . add ( STRING_0 , IDENT_4 ) ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { METHOD_8 ( ) ; org . eclipse . IDENT_5 . widgets . grid . IDENT_6 [ ] result = new org . eclipse . IDENT_5 . widgets . grid . IDENT_6 [ 0 ] ; if ( IDENT_7 ) { } else { result = IDENT_8 . toArray ( new org . eclipse . IDENT_5 . widgets . grid . IDENT_6 [ IDENT_8 . size ( ) ] ) ; } return result ; } | org . junit . Assert . assertArrayEquals ( new org . eclipse . swt . widgets . IDENT_2 [ ] { item } , tree . METHOD_7 ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 IDENT_1 = METHOD_1 ( tree ) ; handler = new org . eclipse . swt . internal . widgets . IDENT_2 . METHOD_2 ( IDENT_1 ) ; org . eclipse . swt . widgets . IDENT_3 item = new org . eclipse . swt . widgets . METHOD_3 ( IDENT_1 , org . eclipse . swt . IDENT_4 . IDENT_5 ) ; org . eclipse . rap . json . IDENT_6 properties = new org . eclipse . rap . json . METHOD_4 ( ) . add ( STRING_0 , getId ( item ) ) ; handler . METHOD_5 ( org . eclipse . swt . internal . widgets . IDENT_2 . IDENT_7 , properties ) ; org . mockito . IDENT_8 < org . eclipse . swt . widgets . IDENT_9 > IDENT_10 = org . mockito . IDENT_8 . METHOD_6 ( org . eclipse . swt . widgets . IDENT_9 . class ) ; verify ( IDENT_1 ) . METHOD_7 ( eq ( IDENT_4 . IDENT_11 ) , IDENT_10 . METHOD_8 ( ) ) ; "<AssertPlaceHolder>" ; } getValue ( ) { return value ; } | org . junit . Assert . assertSame ( item , IDENT_10 . getValue ( ) . item ) |
METHOD_0 ( ) { org . apache . activemq . artemis . jms . client . IDENT_0 message = new org . apache . activemq . artemis . jms . client . METHOD_1 ( ) ; message . METHOD_2 ( null ) ; message . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { if ( IDENT_1 ) { throw new javax . jms . METHOD_5 ( STRING_0 ) ; } try { java . lang . Object value = content . get ( position ) ; offset = 0 ; if ( value == null ) { ( position ) ++ ; return null ; } else if ( value instanceof java . lang . Boolean ) { ( position ) ++ ; return ( ( java . lang . Boolean ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . IDENT_2 ) { ( position ) ++ ; return ( ( java . lang . IDENT_2 ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . IDENT_3 ) { ( position ) ++ ; return ( ( java . lang . IDENT_3 ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . IDENT_4 ) { ( position ) ++ ; return ( ( java . lang . IDENT_4 ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . Integer ) { ( position ) ++ ; return ( ( java . lang . Integer ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . Long ) { ( position ) ++ ; return ( ( java . lang . Long ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . IDENT_5 ) { ( position ) ++ ; return ( ( java . lang . IDENT_5 ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . Double ) { ( position ) ++ ; return ( ( java . lang . Double ) ( value ) ) . toString ( ) ; } else if ( value instanceof java . lang . String ) { ( position ) ++ ; return ( ( java . lang . String ) ( value ) ) ; } else { throw new javax . jms . METHOD_6 ( STRING_1 ) ; } } catch ( java . lang . IDENT_6 e ) { throw new javax . jms . METHOD_7 ( "" ) ; } } | org . junit . Assert . assertNull ( message . METHOD_4 ( ) ) |
METHOD_0 ( ) { IDENT_0 . METHOD_1 ( ( ( org . eclipse . swt . IDENT_1 . IDENT_2 ) | STRING_0 ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { if ( IDENT_3 ) { return super . METHOD_2 ( ) ; } return 0 ; } | org . junit . Assert . assertEquals ( ( ( org . eclipse . swt . IDENT_1 . IDENT_2 ) | STRING_0 ) , IDENT_0 . METHOD_2 ( ) ) |
METHOD_0 ( ) { METHOD_1 ( STRING_0 ) ; IDENT_0 . METHOD_2 ( ( ( org . eclipse . swt . IDENT_1 . IDENT_2 ) | STRING_1 ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return org . eclipse . swt . widgets . IDENT_3 . METHOD_4 ( IDENT_4 . METHOD_5 ( IDENT_5 . IDENT_6 ) ) ; } | org . junit . Assert . assertTrue ( METHOD_3 ( ) . contains ( STRING_0 ) ) |
METHOD_0 ( ) { IDENT_0 . METHOD_1 ( ( ( org . eclipse . swt . IDENT_1 . IDENT_2 ) | STRING_0 ) ) ; IDENT_0 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return org . eclipse . swt . widgets . IDENT_3 . METHOD_4 ( IDENT_4 . METHOD_5 ( IDENT_5 . IDENT_6 ) ) ; } | org . junit . Assert . assertTrue ( METHOD_3 ( ) . isEmpty ( ) ) |
METHOD_0 ( ) { METHOD_1 ( STRING_0 , STRING_1 ) ; IDENT_0 . METHOD_2 ( ( ( org . eclipse . swt . IDENT_1 . IDENT_2 ) | STRING_2 ) ) ; IDENT_0 . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return org . eclipse . swt . widgets . IDENT_3 . METHOD_5 ( IDENT_4 . METHOD_6 ( IDENT_5 . IDENT_6 ) ) ; } | org . junit . Assert . assertTrue ( METHOD_4 ( ) . contains ( STRING_1 ) ) |
METHOD_0 ( ) { IDENT_0 . METHOD_1 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } getText ( ) { METHOD_2 ( ) ; return getText ( 0 ) ; } | org . junit . Assert . assertSame ( STRING_0 , IDENT_0 . getText ( ) ) |
METHOD_0 ( ) { boolean value = org . apache . activemq . artemis . utils . IDENT_0 . METHOD_1 ( ) ; org . apache . activemq . artemis . jms . client . IDENT_1 message = new org . apache . activemq . artemis . jms . client . METHOD_2 ( ) ; message . METHOD_3 ( value ) ; message . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { if ( IDENT_2 ) { throw new javax . jms . METHOD_6 ( STRING_0 ) ; } try { java . lang . Object value = content . get ( position ) ; ( position ) ++ ; offset = 0 ; return value ; } catch ( java . lang . IDENT_3 e ) { throw new javax . jms . METHOD_7 ( "" ) ; } } | org . junit . Assert . assertEquals ( value , message . METHOD_5 ( ) ) |
METHOD_0 ( ) { IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 , STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { if ( ( IDENT_3 ) == null ) return null ; return ( ( java . lang . String ) ( IDENT_3 . get ( key ) ) ) ; } | org . junit . Assert . assertEquals ( STRING_0 , IDENT_0 . METHOD_2 ( IDENT_1 . IDENT_2 ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 IDENT_1 = new org . eclipse . swt . widgets . METHOD_1 ( shell , org . eclipse . swt . IDENT_2 . IDENT_3 ) ; IDENT_1 . METHOD_2 ( IDENT_4 . IDENT_5 , STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { if ( ( IDENT_6 ) == null ) return null ; return ( ( java . lang . String ) ( IDENT_6 . get ( key ) ) ) ; } | org . junit . Assert . assertNull ( IDENT_1 . METHOD_3 ( IDENT_4 . IDENT_5 ) ) |
METHOD_0 ( ) { IDENT_0 . METHOD_1 ( new org . eclipse . swt . events . METHOD_2 ( ) { @ org . eclipse . swt . widgets . Override public void METHOD_3 ( org . eclipse . swt . events . IDENT_1 event ) { IDENT_2 . add ( event ) ; } } ) ; IDENT_0 . METHOD_4 ( 100 , 100 ) ; "<AssertPlaceHolder>" ; } size ( ) { return new org . eclipse . IDENT_3 . internal . IDENT_4 . swt . METHOD_5 ( ) ; } | org . junit . Assert . assertEquals ( 1 , IDENT_2 . size ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 IDENT_1 = METHOD_1 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . eclipse . swt . widgets . IDENT_3 ) { org . eclipse . swt . widgets . IDENT_3 result = org . eclipse . rap . rwt . testfixture . internal . IDENT_4 . METHOD_1 ( IDENT_5 ) ; org . eclipse . swt . widgets . IDENT_6 . METHOD_2 ( result ) . METHOD_3 ( ) ; return result ; } | org . junit . Assert . assertNotNull ( IDENT_1 ) |
METHOD_0 ( ) { org . eclipse . swt . IDENT_0 . IDENT_1 IDENT_2 = new org . eclipse . swt . IDENT_0 . METHOD_1 ( 255 , 0 , 0 ) ; org . eclipse . swt . widgets . IDENT_3 IDENT_4 = new org . eclipse . swt . widgets . METHOD_2 ( shell ) ; IDENT_4 . METHOD_3 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return IDENT_2 ; } | org . junit . Assert . assertEquals ( IDENT_2 , IDENT_4 . METHOD_4 ( ) ) |
METHOD_0 ( ) { IDENT_0 . add ( STRING_0 ) ; IDENT_0 . add ( STRING_1 ) ; IDENT_0 . add ( STRING_2 ) ; IDENT_0 . select ( 1 ) ; IDENT_0 . METHOD_1 ( 1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { METHOD_3 ( ) ; int result = - 1 ; if ( IDENT_1 ) { if ( ( IDENT_2 . size ( ) ) != 0 ) { result = IDENT_2 . get ( 0 ) . y ; } } else { if ( ( IDENT_3 . size ( ) ) != 0 ) { result = IDENT_4 . indexOf ( IDENT_3 . get ( 0 ) ) ; } } return result ; } | org . junit . Assert . assertEquals ( ( - 1 ) , IDENT_0 . METHOD_2 ( ) ) |
METHOD_0 ( ) { char value = org . apache . activemq . artemis . utils . IDENT_0 . METHOD_1 ( ) ; org . apache . activemq . artemis . jms . client . IDENT_1 message = new org . apache . activemq . artemis . jms . client . METHOD_2 ( ) ; message . METHOD_3 ( value ) ; message . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { if ( IDENT_2 ) { throw new javax . jms . METHOD_6 ( STRING_0 ) ; } try { java . lang . Object value = content . get ( position ) ; ( position ) ++ ; offset = 0 ; return value ; } catch ( java . lang . IDENT_3 e ) { throw new javax . jms . METHOD_7 ( "" ) ; } } | org . junit . Assert . assertEquals ( value , message . METHOD_5 ( ) ) |
METHOD_0 ( ) { IDENT_0 . add ( STRING_0 ) ; IDENT_0 . add ( STRING_1 ) ; IDENT_0 . add ( STRING_2 ) ; IDENT_0 . select ( 1 ) ; IDENT_0 . METHOD_1 ( 0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { METHOD_3 ( ) ; int result = - 1 ; if ( IDENT_1 ) { if ( ( IDENT_2 . size ( ) ) != 0 ) { result = IDENT_2 . get ( 0 ) . y ; } } else { if ( ( IDENT_3 . size ( ) ) != 0 ) { result = IDENT_4 . indexOf ( IDENT_3 . get ( 0 ) ) ; } } return result ; } | org . junit . Assert . assertEquals ( 1 , IDENT_0 . METHOD_2 ( ) ) |
METHOD_0 ( ) { IDENT_0 . add ( STRING_0 ) ; IDENT_0 . add ( STRING_1 ) ; IDENT_0 . add ( STRING_2 ) ; IDENT_0 . select ( 1 ) ; IDENT_0 . add ( "foo" , 2 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( ) { METHOD_2 ( ) ; int result = - 1 ; if ( IDENT_1 ) { if ( ( IDENT_2 . size ( ) ) != 0 ) { result = IDENT_2 . get ( 0 ) . y ; } } else { if ( ( IDENT_3 . size ( ) ) != 0 ) { result = IDENT_4 . indexOf ( IDENT_3 . get ( 0 ) ) ; } } return result ; } | org . junit . Assert . assertEquals ( 1 , IDENT_0 . METHOD_1 ( ) ) |
METHOD_0 ( ) { byte value = org . apache . activemq . artemis . utils . IDENT_0 . METHOD_1 ( ) ; org . apache . activemq . artemis . jms . client . IDENT_1 message = new org . apache . activemq . artemis . jms . client . METHOD_2 ( ) ; message . METHOD_3 ( value ) ; message . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { if ( IDENT_2 ) { throw new javax . jms . METHOD_6 ( STRING_0 ) ; } try { java . lang . Object value = content . get ( position ) ; ( position ) ++ ; offset = 0 ; return value ; } catch ( java . lang . IDENT_3 e ) { throw new javax . jms . METHOD_7 ( "" ) ; } } | org . junit . Assert . assertEquals ( value , message . METHOD_5 ( ) ) |
METHOD_0 ( ) { org . eclipse . rap . rwt . testfixture . internal . IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 ) ; IDENT_3 . add ( "test" ) ; IDENT_3 . add ( STRING_0 ) ; IDENT_3 . add ( STRING_1 ) ; IDENT_3 . METHOD_2 ( new org . eclipse . swt . events . METHOD_3 ( ) { @ org . eclipse . swt . widgets . Override public void METHOD_4 ( org . eclipse . swt . events . IDENT_4 event ) { event . text = ( event . text ) + "2" ; } } ) ; IDENT_3 . METHOD_5 ( "test" ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { METHOD_7 ( ) ; int result = - 1 ; if ( IDENT_5 ) { if ( ( IDENT_6 . size ( ) ) != 0 ) { result = IDENT_6 . get ( 0 ) . y ; } } else { if ( ( IDENT_7 . size ( ) ) != 0 ) { result = IDENT_8 . indexOf ( IDENT_7 . get ( 0 ) ) ; } } return result ; } | org . junit . Assert . assertEquals ( 2 , IDENT_3 . METHOD_6 ( ) ) |
METHOD_0 ( ) { IDENT_0 . METHOD_1 ( STRING_0 ) ; IDENT_0 . METHOD_2 ( new org . eclipse . swt . IDENT_1 . METHOD_3 ( 1 , 3 ) ) ; IDENT_0 . METHOD_1 ( STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { METHOD_5 ( ) ; org . eclipse . IDENT_2 . widgets . grid . IDENT_3 [ ] result = new org . eclipse . IDENT_2 . widgets . grid . IDENT_3 [ 0 ] ; if ( IDENT_4 ) { } else { result = IDENT_5 . toArray ( new org . eclipse . IDENT_2 . widgets . grid . IDENT_3 [ IDENT_5 . size ( ) ] ) ; } return result ; } | org . junit . Assert . assertEquals ( new org . eclipse . swt . IDENT_1 . METHOD_3 ( 0 , 0 ) , IDENT_0 . METHOD_4 ( ) ) |
METHOD_0 ( ) { IDENT_0 . METHOD_1 ( STRING_0 ) ; IDENT_0 . METHOD_2 ( new org . eclipse . swt . IDENT_1 . METHOD_3 ( 1 , 3 ) ) ; IDENT_0 . METHOD_1 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { METHOD_5 ( ) ; org . eclipse . IDENT_2 . widgets . grid . IDENT_3 [ ] result = new org . eclipse . IDENT_2 . widgets . grid . IDENT_3 [ 0 ] ; if ( IDENT_4 ) { } else { result = IDENT_5 . toArray ( new org . eclipse . IDENT_2 . widgets . grid . IDENT_3 [ IDENT_5 . size ( ) ] ) ; } return result ; } | org . junit . Assert . assertEquals ( new org . eclipse . swt . IDENT_1 . METHOD_3 ( 0 , 0 ) , IDENT_0 . METHOD_4 ( ) ) |
METHOD_0 ( ) { java . lang . String item = "foo" ; IDENT_0 . add ( item ) ; org . eclipse . swt . widgets . IDENT_1 IDENT_2 = METHOD_1 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( int ) { METHOD_3 ( ) ; if ( ! ( IDENT_3 ) ) { throw new java . lang . IllegalArgumentException ( STRING_0 ) ; } return METHOD_4 ( ) . METHOD_5 ( ) . get ( index ) ; } | org . junit . Assert . assertEquals ( item , IDENT_2 . METHOD_2 ( 0 ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 IDENT_1 = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_2 , org . eclipse . swt . IDENT_3 . IDENT_4 ) ; org . eclipse . swt . widgets . IDENT_5 [ ] IDENT_6 = IDENT_2 . METHOD_2 ( ) ; IDENT_6 [ 0 ] = null ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return IDENT_7 . toArray ( ) ; } | org . junit . Assert . assertArrayEquals ( new org . eclipse . swt . widgets . IDENT_5 [ ] { IDENT_1 } , IDENT_2 . METHOD_2 ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 IDENT_1 = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_2 , org . eclipse . swt . IDENT_3 . IDENT_4 ) ; org . eclipse . swt . widgets . IDENT_0 IDENT_5 = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_2 , org . eclipse . swt . IDENT_3 . IDENT_4 ) ; org . eclipse . swt . widgets . IDENT_0 IDENT_6 = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_2 , org . eclipse . swt . IDENT_3 . IDENT_4 ) ; org . eclipse . swt . widgets . IDENT_0 [ ] IDENT_7 = IDENT_2 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { org . eclipse . swt . widgets . IDENT_0 c = METHOD_3 ( ) ; if ( ( METHOD_4 ( ) ) instanceof org . eclipse . ui . internal . IDENT_8 ) { org . eclipse . ui . internal . IDENT_8 IDENT_9 = ( ( org . eclipse . ui . internal . IDENT_8 ) ( METHOD_4 ( ) ) ) ; return IDENT_9 . METHOD_2 ( this ) ; } return new org . eclipse . swt . widgets . IDENT_0 [ ] { c } ; } | org . junit . Assert . assertArrayEquals ( new org . eclipse . swt . widgets . IDENT_0 [ ] { IDENT_1 , IDENT_5 , IDENT_6 } , IDENT_7 ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 IDENT_1 = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_2 , org . eclipse . swt . IDENT_3 . IDENT_4 ) ; org . eclipse . swt . widgets . IDENT_0 IDENT_5 = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_2 , org . eclipse . swt . IDENT_3 . IDENT_4 ) ; new org . eclipse . swt . widgets . METHOD_2 ( IDENT_2 , org . eclipse . swt . IDENT_3 . IDENT_4 ) ; new org . eclipse . swt . widgets . METHOD_2 ( IDENT_2 , org . eclipse . swt . IDENT_3 . IDENT_4 ) ; org . eclipse . swt . widgets . IDENT_0 [ ] IDENT_6 = IDENT_2 . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { org . eclipse . swt . widgets . IDENT_0 c = METHOD_4 ( ) ; if ( ( METHOD_5 ( ) ) instanceof org . eclipse . ui . internal . IDENT_7 ) { org . eclipse . ui . internal . IDENT_7 IDENT_8 = ( ( org . eclipse . ui . internal . IDENT_7 ) ( METHOD_5 ( ) ) ) ; return IDENT_8 . METHOD_3 ( this ) ; } return new org . eclipse . swt . widgets . IDENT_0 [ ] { c } ; } | org . junit . Assert . assertArrayEquals ( new org . eclipse . swt . widgets . IDENT_0 [ ] { IDENT_1 , IDENT_5 } , IDENT_6 ) |
METHOD_0 ( ) { short value = org . apache . activemq . artemis . utils . IDENT_0 . METHOD_1 ( ) ; org . apache . activemq . artemis . jms . client . IDENT_1 message = new org . apache . activemq . artemis . jms . client . METHOD_2 ( ) ; message . METHOD_3 ( value ) ; message . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { if ( IDENT_2 ) { throw new javax . jms . METHOD_6 ( STRING_0 ) ; } try { java . lang . Object value = content . get ( position ) ; ( position ) ++ ; offset = 0 ; return value ; } catch ( java . lang . IDENT_3 e ) { throw new javax . jms . METHOD_7 ( "" ) ; } } | org . junit . Assert . assertEquals ( value , message . METHOD_5 ( ) ) |
METHOD_0 ( ) { new org . eclipse . swt . widgets . METHOD_1 ( IDENT_0 , org . eclipse . swt . IDENT_1 . IDENT_2 ) ; org . eclipse . swt . widgets . IDENT_3 IDENT_4 = new org . eclipse . swt . widgets . METHOD_2 ( IDENT_0 , org . eclipse . swt . IDENT_1 . IDENT_2 ) ; org . eclipse . swt . widgets . IDENT_3 IDENT_5 = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_0 , org . eclipse . swt . IDENT_1 . IDENT_2 ) ; IDENT_0 . METHOD_3 ( new org . eclipse . swt . widgets . IDENT_3 [ ] { IDENT_4 , IDENT_5 } ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { org . eclipse . swt . widgets . IDENT_3 c = METHOD_5 ( ) ; if ( ( METHOD_6 ( ) ) instanceof org . eclipse . ui . internal . IDENT_6 ) { org . eclipse . ui . internal . IDENT_6 IDENT_7 = ( ( org . eclipse . ui . internal . IDENT_6 ) ( METHOD_6 ( ) ) ) ; return IDENT_7 . METHOD_4 ( this ) ; } return new org . eclipse . swt . widgets . IDENT_3 [ ] { c } ; } | org . junit . Assert . assertArrayEquals ( new org . eclipse . swt . widgets . IDENT_3 [ ] { IDENT_4 , IDENT_5 } , IDENT_0 . METHOD_4 ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 IDENT_1 = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_2 , org . eclipse . swt . IDENT_3 . IDENT_4 ) ; org . eclipse . swt . widgets . METHOD_1 IDENT_5 = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_2 , org . eclipse . swt . IDENT_3 . IDENT_4 ) ; IDENT_2 . METHOD_2 ( new org . eclipse . swt . widgets . IDENT_6 [ ] { IDENT_5 , IDENT_1 } ) ; new org . eclipse . swt . widgets . METHOD_1 ( IDENT_2 , org . eclipse . swt . IDENT_3 . IDENT_4 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { org . eclipse . swt . widgets . IDENT_6 c = METHOD_4 ( ) ; if ( ( METHOD_5 ( ) ) instanceof org . eclipse . ui . internal . IDENT_7 ) { org . eclipse . ui . internal . IDENT_7 IDENT_8 = ( ( org . eclipse . ui . internal . IDENT_7 ) ( METHOD_5 ( ) ) ) ; return IDENT_8 . METHOD_3 ( this ) ; } return new org . eclipse . swt . widgets . IDENT_6 [ ] { c } ; } | org . junit . Assert . assertArrayEquals ( new org . eclipse . swt . widgets . IDENT_6 [ ] { IDENT_5 , IDENT_1 } , IDENT_2 . METHOD_3 ( ) ) |
METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 group = new org . eclipse . swt . widgets . METHOD_1 ( shell , org . eclipse . swt . IDENT_1 . IDENT_2 ) ; org . eclipse . swt . IDENT_3 . IDENT_4 IDENT_5 = group . METHOD_2 ( ) ; org . eclipse . swt . widgets . IDENT_6 IDENT_7 = new org . eclipse . swt . widgets . METHOD_3 ( group , org . eclipse . swt . IDENT_1 . IDENT_8 ) ; IDENT_7 . METHOD_4 ( IDENT_5 . x , IDENT_5 . y , 200 , 50 ) ; org . eclipse . swt . IDENT_3 . IDENT_9 size = group . METHOD_5 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { org . eclipse . swt . IDENT_3 . IDENT_4 IDENT_5 = METHOD_2 ( ) ; int IDENT_10 = 0 ; int IDENT_11 = 0 ; for ( org . eclipse . swt . widgets . IDENT_12 child : IDENT_13 ) { org . eclipse . swt . IDENT_3 . IDENT_4 IDENT_14 = child . METHOD_6 ( ) ; IDENT_10 = java . lang . Math . max ( IDENT_10 , ( ( ( IDENT_14 . x ) - ( IDENT_5 . x ) ) + ( IDENT_14 . IDENT_10 ) ) ) ; IDENT_11 = java . lang . Math . max ( IDENT_11 , ( ( ( IDENT_14 . y ) - ( IDENT_5 . y ) ) + ( IDENT_14 . IDENT_11 ) ) ) ; } return new org . eclipse . swt . IDENT_3 . METHOD_7 ( IDENT_10 , IDENT_11 ) ; } | org . junit . Assert . assertEquals ( new org . eclipse . swt . IDENT_3 . METHOD_7 ( 200 , 50 ) , size ) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.