METHOD_0 ( ) { java . io . File IDENT_0 = org . eclipse . IDENT_1 . IDENT_2 . control . core . tests . session . IDENT_3 . IDENT_4 ; if ( ( IDENT_0 == null ) || ( ! ( IDENT_0 . exists ( ) ) ) ) { org . junit . Assert . fail ( STRING_0 ) ; } org . eclipse . core . runtime . IDENT_5 status = org . eclipse . IDENT_1 . IDENT_2 . control . core . session . IDENT_6 . METHOD_1 ( IDENT_0 ) ; if ( ! ( status . METHOD_2 ( ) ) ) { org . junit . Assert . fail ( status . getMessage ( ) ) ; } IDENT_0 = org . eclipse . IDENT_1 . IDENT_2 . control . core . tests . session . IDENT_3 . IDENT_7 ; if ( ( IDENT_0 == null ) || ( ! ( IDENT_0 . exists ( ) ) ) ) { org . junit . Assert . fail ( STRING_0 ) ; } "<AssertPlaceHolder>" ; } METHOD_1 ( java . io . File ) { java . net . URL url = org . eclipse . IDENT_1 . IDENT_2 . control . core . session . IDENT_6 . class . getResource ( org . eclipse . IDENT_1 . IDENT_2 . control . core . session . IDENT_6 . IDENT_8 ) ; javax . xml . validation . IDENT_9 IDENT_10 = javax . xml . validation . IDENT_9 . newInstance ( IDENT_11 . IDENT_12 ) ; javax . xml . transform . IDENT_13 IDENT_14 = new javax . xml . transform . stream . METHOD_3 ( IDENT_15 ) ; try { javax . xml . validation . Schema schema = IDENT_10 . METHOD_4 ( url ) ; javax . xml . validation . IDENT_16 validator = schema . METHOD_5 ( ) ; validator . validate ( IDENT_14 ) ; } catch ( org . xml . IDENT_17 . IDENT_18 e ) { java . lang . String error = org . eclipse . osgi . util . IDENT_19 . METHOD_6 ( IDENT_20 . IDENT_21 , e . METHOD_7 ( ) , e . METHOD_8 ( ) ) ; org . eclipse . IDENT_1 . internal . IDENT_2 . control . core . IDENT_22 . METHOD_9 ( ) . METHOD_10 ( error ) ; return new org . eclipse . core . runtime . Status ( org . eclipse . core . runtime . IDENT_5 . IDENT_23 , org . eclipse . IDENT_1 . internal . IDENT_2 . control . core . IDENT_22 . IDENT_24 , error , e ) ; } catch ( org . xml . IDENT_17 . IDENT_25 e ) { java . lang . String error = org . eclipse . osgi . util . IDENT_19 . METHOD_6 ( IDENT_20 . IDENT_26 , e . METHOD_8 ( ) ) ; org . eclipse . IDENT_1 . internal . IDENT_2 . control . core . IDENT_22 . METHOD_9 ( ) . METHOD_10 ( error ) ; return new org . eclipse . core . runtime . Status ( org . eclipse . core . runtime . IDENT_5 . IDENT_23 , org . eclipse . IDENT_1 . internal . IDENT_2 . control . core . IDENT_22 . IDENT_24 , error , e ) ; } catch ( java . io . IOException e ) { java . lang . String error = IDENT_20 . IDENT_27 ; org . eclipse . IDENT_1 . internal . IDENT_2 . control . core . IDENT_22 . METHOD_9 ( ) . METHOD_10 ( STRING_1 , e ) ; return new org . eclipse . core . runtime . Status ( org . eclipse . core . runtime . IDENT_5 . IDENT_23 , org . eclipse . IDENT_1 . internal . IDENT_2 . control . core . IDENT_22 . IDENT_24 , error , e ) ; } return org . eclipse . core . runtime . Status . IDENT_28 ; }
org . junit . Assert . assertFalse ( org . eclipse . IDENT_1 . IDENT_2 . control . core . session . IDENT_6 . METHOD_1 ( IDENT_0 ) . METHOD_2 ( ) )