METHOD_0 ( ) { org . pentaho . database . service . IDENT_0 IDENT_1 = new org . pentaho . database . service . METHOD_1 ( false ) ; final org . pentaho . database . util . IDENT_2 IDENT_3 = new org . pentaho . database . util . METHOD_2 ( IDENT_1 . METHOD_3 ( ) ) ; IDENT_4 = new org . pentaho . test . platform . engine . core . METHOD_4 ( org . pentaho . platform . engine . services . connection . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 ) ; IDENT_4 . METHOD_5 ( org . pentaho . database . service . IDENT_9 . class , IDENT_1 ) ; IDENT_4 . start ( ) ; final org . pentaho . database . model . IDENT_10 IDENT_11 = new org . pentaho . database . model . METHOD_6 ( ) ; IDENT_11 . setId ( STRING_0 ) ; IDENT_11 . setName ( STRING_0 ) ; IDENT_11 . METHOD_7 ( IDENT_12 . IDENT_13 ) ; IDENT_11 . METHOD_8 ( IDENT_3 . METHOD_9 ( STRING_1 ) ) ; IDENT_11 . METHOD_10 ( STRING_2 ) ; IDENT_11 . METHOD_11 ( STRING_3 ) ; final java . util . HashMap < java . lang . String , java . lang . String > IDENT_14 = new java . util . HashMap ( ) ; IDENT_14 . put ( METHOD_6 . IDENT_15 , "" ) ; IDENT_14 . put ( METHOD_6 . IDENT_16 , STRING_4 ) ; IDENT_11 . METHOD_12 ( IDENT_14 ) ; try { org . pentaho . platform . engine . services . connection . IDENT_5 . IDENT_6 . IDENT_17 . METHOD_13 ( IDENT_11 ) ; org . junit . Assert . fail ( STRING_5 ) ; } catch ( org . pentaho . platform . api . data . IDENT_18 ex ) { "<AssertPlaceHolder>" ; } } METHOD_13 ( org . pentaho . database . model . IDENT_19 ) { org . apache . commons . IDENT_6 . IDENT_20 IDENT_21 = null ; java . lang . String IDENT_22 = null ; java . lang . String url = null ; try { if ( IDENT_23 . METHOD_14 ( ) . equals ( IDENT_12 . IDENT_24 ) ) { throw new org . pentaho . platform . api . data . METHOD_15 ( org . pentaho . platform . engine . services . messages . IDENT_25 . getInstance ( ) . METHOD_16 ( STRING_6 4 , IDENT_23 . getName ( ) ) ) ; } org . pentaho . platform . api . engine . IDENT_26 IDENT_27 = org . pentaho . platform . engine . core . IDENT_28 . IDENT_29 . METHOD_17 ( null ) ; org . pentaho . database . service . IDENT_9 IDENT_30 = org . pentaho . platform . engine . core . IDENT_28 . IDENT_29 . get ( org . pentaho . database . service . IDENT_9 . class ) ; if ( IDENT_30 == null ) { throw new org . pentaho . platform . api . data . METHOD_15 ( org . pentaho . platform . engine . services . messages . IDENT_25 . getInstance ( ) . METHOD_16 ( STRING_7 , IDENT_23 . getName ( ) ) ) ; } org . pentaho . database . IDENT_31 IDENT_32 = IDENT_30 . METHOD_18 ( IDENT_23 ) ; if ( ( IDENT_32 == null ) || ( ( IDENT_32 . METHOD_19 ( ) ) == null ) ) { throw new org . pentaho . platform . api . data . METHOD_15 ( org . pentaho . platform . engine . services . messages . IDENT_25 . getInstance ( ) . METHOD_16 ( STRING_8 , IDENT_23 . getName ( ) ) ) ; } if ( IDENT_23 . METHOD_19 ( ) . METHOD_20 ( ) . equals ( STRING_9 2 ) ) { IDENT_22 = IDENT_23 . METHOD_21 ( ) . get ( IDENT_33 . IDENT_15 ) ; if ( org . apache . commons . lang . StringUtils . isEmpty ( IDENT_22 ) ) { throw new org . pentaho . platform . api . data . METHOD_15 ( org . pentaho . platform . engine . services . messages . IDENT_25 . getInstance ( ) . METHOD_16 ( STRING_6 2 , IDENT_23 . getName ( ) ) ) ; } } else { IDENT_22 = IDENT_32 . METHOD_22 ( ) ; if ( org . apache . commons . lang . StringUtils . isEmpty ( IDENT_22 ) ) { throw new org . pentaho . platform . api . data . METHOD_15 ( org . pentaho . platform . engine . services . messages . IDENT_25 . getInstance ( ) . METHOD_16 ( STRING_10 , IDENT_23 . getName ( ) ) ) ; } } try { url = IDENT_32 . METHOD_23 ( IDENT_23 ) ; } catch ( org . pentaho . database . IDENT_34 e ) { url = null ; } java . lang . String IDENT_35 = org . pentaho . platform . engine . core . IDENT_28 . IDENT_29 . METHOD_24 ( STRING_9 7 , null ) ; java . lang . String IDENT_36 = org . pentaho . platform . engine . core . IDENT_28 . IDENT_29 . METHOD_24 ( STRING_11 , null ) ; java . lang . String IDENT_37 = org . pentaho . platform . engine . core . IDENT_28 . IDENT_29 . METHOD_24 ( STRING_12 , null ) ; java . lang . String IDENT_38 = null ; java . lang . String IDENT_39 = org . pentaho . platform . engine . core . IDENT_28 . IDENT_29 . METHOD_24 ( STRING_6 0 , null ) ; java . lang . String IDENT_40 = org . pentaho . platform . engine . core . IDENT_28 . IDENT_29 . METHOD_24 ( STRING_9 3 , null ) ; java . lang . String IDENT_41 = org . pentaho . platform . engine . core . IDENT_28 . IDENT_29 . METHOD_24 ( STRING_9 6 , null ) ; java . lang . String IDENT_42 = org . pentaho . platform . engine . core . IDENT_28 . IDENT_29 . METHOD_24 ( STRING_6 6 , null ) ; java . lang . String IDENT_43 = org . pentaho . platform . engine . core . IDENT_28 . IDENT_29 . METHOD_24 ( STRING_6 7 , null ) ; boolean IDENT_44 = ( ! ( org . pentaho . platform . util . IDENT_45 . isEmpty ( IDENT_41 ) ) ) ? java . lang . Boolean . METHOD_25 ( IDENT_41 ) : false ; boolean IDENT_46 = ( ! ( org . pentaho . platform . util . IDENT_45 . isEmpty ( IDENT_42 ) ) ) ? java . lang . Boolean . METHOD_25 ( IDENT_42 ) : false ; boolean IDENT_47 = ( ! ( org . pentaho . platform . util . IDENT_45 . isEmpty ( IDENT_43 ) ) ) ? java . lang . Boolean . METHOD_25 ( IDENT_43 ) : false ; int IDENT_48 = ( ! ( org . pentaho . platform . util . IDENT_45 . isEmpty ( IDENT_37 ) ) ) ? java . lang . Integer . METHOD_26 ( IDENT_37 ) : - 1 ; long IDENT_49 = ( ! ( org . pentaho . platform . util . IDENT_45 . isEmpty ( IDENT_40 ) ) ) ? java . lang . Integer . METHOD_26 ( IDENT_40 ) : - 1 ; byte IDENT_50 = ( ! ( org . pentaho . platform . util . IDENT_45 . isEmpty ( IDENT_39 ) ) ) ? java . lang . IDENT_51 . METHOD_27 ( IDENT_39 ) : org . apache . commons . pool . impl . IDENT_52 . IDENT_53 ; int IDENT_54 = ( ! ( org . pentaho . platform . util . IDENT_45 . isEmpty ( IDENT_36 ) ) ) ? java . lang . Integer . METHOD_26 ( IDENT_36 ) : - 1 ; int IDENT_55 = ( ! ( org . pentaho . platform . util . IDENT_45 . isEmpty ( IDENT_35 ) ) ) ? java . lang . Integer . METHOD_26 ( IDENT_35 ) : - 1 ; java . util . Map < java . lang . String , java . lang . String > attributes = IDENT_23 . METHOD_28 ( ) ; if ( ( attributes . containsKey ( IDENT_56 . IDENT_57 ) ) && ( org . apache . commons . lang . math . IDENT_58 . METHOD_29 ( attributes . get ( IDENT_56 . IDENT_57 ) ) ) ) { IDENT_48 = java . lang . Integer . METHOD_26 ( attributes . get ( IDENT_56 . IDENT_57 ) ) ; } if ( ( attributes . containsKey ( IDENT_56 . IDENT_59 ) ) && ( org . apache . commons . lang . math . IDENT_58 . METHOD_29 ( attributes . get ( IDENT_56 . IDENT_59 ) ) ) ) { IDENT_49 = java . lang . Integer . METHOD_26 ( attributes . get ( IDENT_56 . IDENT_59 ) ) ; } if ( ( attributes . containsKey ( IDENT_56 . IDENT_60 ) ) && ( org . apache . commons . lang . math . IDENT_58 . METHOD_29 ( attributes . get ( IDENT_56 . IDENT_60 ) ) ) ) { IDENT_54 = java . lang . Integer . METHOD_26 ( attributes . get ( IDENT_56 . IDENT_60 ) ) ; } if ( ( attributes . containsKey ( IDENT_56 . IDENT_61 ) ) && ( org . apache . commons . lang . math . IDENT_58 . METHOD_29 ( attributes . get ( IDENT_56 . IDENT_61 ) ) ) ) { IDENT_55 = java . lang . Integer . METHOD_26 ( attributes . get ( IDENT_56 . IDENT_61 ) ) ; } if ( attributes . containsKey ( IDENT_56 . IDENT_62 ) ) { IDENT_38 = attributes . get ( IDENT_56 . IDENT_62 ) ; } if ( attributes . containsKey ( IDENT_56 . IDENT_63 ) ) { IDENT_46 = java . lang . Boolean . METHOD_25 ( attributes . get ( IDENT_56 . IDENT_63 ) ) ; } if ( attributes . containsKey ( IDENT_56 . IDENT_64 ) ) { IDENT_47 = java . lang . Boolean . METHOD_25 ( attributes . get ( IDENT_56 . IDENT_64 ) ) ; } if ( attributes . containsKey ( IDENT_56 . IDENT_65 ) ) { IDENT_44 = java . lang . Boolean . METHOD_25 ( attributes . get ( IDENT_56 . IDENT_65 ) ) ; } IDENT_21 = new org . apache . commons . IDENT_6 . METHOD_30 ( ) ; if ( IDENT_32 instanceof org . pentaho . database . IDENT_66 ) { if ( ! ( ( ( org . pentaho . database . IDENT_66 ) ( IDENT_32 ) ) . METHOD_31 ( IDENT_22 ) ) ) { throw new org . pentaho . platform . engine . services . connection . IDENT_5 . IDENT_6 . METHOD_32 ( org . pentaho . platform . engine . services . messages . IDENT_25 . getInstance ( ) . METHOD_16 ( STRING_6 5 , IDENT_23 . getName ( ) , IDENT_22 ) ) ; } } else { java . lang . Class . METHOD_33 ( IDENT_22 ) ; } org . apache . commons . pool . impl . IDENT_52 pool = new org . apache . commons . pool . impl . METHOD_34 ( null ) ; if ( ( attributes . containsKey ( IDENT_56 . IDENT_67 ) ) && ( true == ( java . lang . Boolean . METHOD_25 ( attributes . get ( IDENT_56 . IDENT_67 ) ) ) ) ) { org . apache . commons . IDENT_6 . IDENT_68 config = new org . apache . commons . IDENT_6 . METHOD_35 ( ) ; config . METHOD_36 ( java . lang . Boolean . METHOD_25 ( attributes . get ( IDENT_56 . IDENT_67 ) ) ) ; if ( attributes . containsKey ( IDENT_56 . IDENT_69 ) ) { config . METHOD_37 ( java . lang . Boolean . METHOD_25 ( attributes . get ( IDENT_56 . IDENT_69 ) ) ) ; } if ( ( attributes . containsKey ( IDENT_56 . IDENT_70 ) ) && ( org . apache . commons . lang . math . IDENT_58 . METHOD_29 ( attributes . get ( IDENT_56 . IDENT_70 ) ) ) ) { config . METHOD_38 ( java . lang . Integer . METHOD_26 ( attributes . get ( IDENT_56 . IDENT_70 ) ) ) ; } pool = new org . apache . commons . IDENT_6 . METHOD_39 ( null , config ) ; } pool . METHOD_40 ( IDENT_50 ) ; pool . METHOD_41 ( IDENT_48 ) ; pool . METHOD_42 ( IDENT_55 ) ; pool . METHOD_43 ( IDENT_49 ) ; pool . METHOD_44 ( IDENT_54 ) ; pool . METHOD_45 ( IDENT_44 ) ; pool . METHOD_46 ( IDENT_47 ) ; pool . METHOD_47 ( IDENT_46 ) ; pool . METHOD_45 ( IDENT_44 ) ; if ( ( attributes . containsKey ( IDENT_56 . IDENT_71 ) ) && ( org . apache . commons . lang . math . IDENT_58 . METHOD_29 ( attributes . get ( IDENT_56 . IDENT_71 ) ) ) ) { pool . METHOD_48 ( java . lang . Long . METHOD_49 ( attributes . get ( IDENT_56 . IDENT_71 ) ) ) ; } IDENT_21 . METHOD_50 ( pool ) ; if ( attributes . containsKey ( IDENT_56 . IDENT_72 ) ) { IDENT_21 . METHOD_51 ( java . lang . Boolean . METHOD_25 ( attributes . get ( IDENT_56 . IDENT_72 ) ) ) ; } IDENT_27 . METHOD_52 ( IDENT_56 . IDENT_73 , IDENT_23 . getName ( ) , pool ) ; return IDENT_21 ; } catch ( java . lang . Exception e ) { throw new org . pentaho . platform . api . data . METHOD_15 ( e ) ; } }
org . junit . Assert . assertNotNull ( ex )