METHOD_0 ( ) { org . apache . IDENT_0 . core . IDENT_1 . METHOD_1 ( ) ; org . apache . IDENT_0 . IDENT_2 . IDENT_3 tomcat = METHOD_2 ( ) ; org . apache . IDENT_0 . Context ctx = tomcat . METHOD_3 ( "" , null ) ; org . apache . IDENT_0 . core . IDENT_1 . IDENT_4 IDENT_5 = new org . apache . IDENT_0 . core . IDENT_1 . METHOD_4 ( ) ; org . apache . IDENT_0 . IDENT_2 . IDENT_3 . METHOD_5 ( ctx , STRING_0 , IDENT_5 ) ; ctx . METHOD_6 ( STRING_1 , STRING_0 ) ; org . apache . IDENT_0 . core . IDENT_1 . IDENT_6 IDENT_7 = new org . apache . IDENT_0 . core . IDENT_1 . METHOD_7 ( ) ; org . apache . IDENT_0 . IDENT_8 IDENT_9 = org . apache . IDENT_0 . IDENT_2 . IDENT_3 . METHOD_5 ( ctx , STRING_2 , IDENT_7 ) ; IDENT_9 . METHOD_8 ( true ) ; ctx . METHOD_6 ( STRING_3 , STRING_2 ) ; org . apache . IDENT_0 . core . IDENT_1 . IDENT_10 IDENT_11 = new org . apache . IDENT_0 . core . IDENT_1 . METHOD_9 ( ) ; org . apache . IDENT_0 . IDENT_8 IDENT_12 = org . apache . IDENT_0 . IDENT_2 . IDENT_3 . METHOD_5 ( ctx , STRING_4 , IDENT_11 ) ; IDENT_12 . METHOD_8 ( true ) ; ctx . METHOD_6 ( STRING_5 , STRING_4 ) ; tomcat . start ( ) ; java . lang . Thread t = new java . lang . Thread ( new java . lang . METHOD_10 ( ) { @ org . apache . IDENT_0 . core . Override public void run ( ) { try { METHOD_11 ( ( ( STRING_6 + ( METHOD_12 ( ) ) ) + STRING_3 ) ) ; } catch ( java . io . IOException e ) { e . printStackTrace ( ) ; } } } ) ; t . start ( ) ; int count = 0 ; while ( ( ( count < 100 ) && ( ( org . apache . IDENT_0 . core . IDENT_1 . METHOD_13 ( ) ) != null ) ) && ( ! ( org . apache . IDENT_0 . core . IDENT_1 . METHOD_13 ( ) . startsWith ( STRING_7 ) ) ) ) { count ++ ; java . lang . Thread . sleep ( 100 ) ; } METHOD_11 ( ( ( STRING_6 + ( METHOD_12 ( ) ) ) + STRING_5 ) ) ; java . lang . String IDENT_13 = STRING_8 ; count = 0 ; while ( ( count < 100 ) && ( ! ( org . apache . IDENT_0 . core . IDENT_1 . METHOD_13 ( ) . equals ( IDENT_13 ) ) ) ) { count ++ ; java . lang . Thread . sleep ( 100 ) ; } "<AssertPlaceHolder>" ; } METHOD_13 ( ) { return org . apache . IDENT_0 . core . IDENT_1 . IDENT_14 . toString ( ) ; }
org . junit . Assert . assertEquals ( IDENT_13 , org . apache . IDENT_0 . core . IDENT_1 . METHOD_13 ( ) )