METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 . IDENT_2 tomcat = METHOD_1 ( ) ; org . apache . IDENT_0 . Context ctx = tomcat . METHOD_2 ( "" , null ) ; ctx . METHOD_3 ( IDENT_3 . IDENT_4 . class . getName ( ) ) ; org . apache . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_4 ( ctx , STRING_0 , new org . apache . IDENT_0 . IDENT_5 . METHOD_5 ( ) ) ; ctx . METHOD_6 ( "/" , STRING_0 ) ; tomcat . start ( ) ; org . apache . tomcat . IDENT_6 . IDENT_7 IDENT_8 = ( ( org . apache . tomcat . IDENT_6 . IDENT_7 ) ( javax . IDENT_6 . IDENT_9 . METHOD_7 ( ) ) ) ; IDENT_8 . METHOD_8 ( INT_0 ) ; IDENT_8 . METHOD_9 ( 1 ) ; org . apache . tomcat . IDENT_6 . IDENT_10 . IDENT_11 IDENT_12 = new org . apache . tomcat . IDENT_6 . IDENT_10 . METHOD_10 ( ) ; METHOD_11 ( IDENT_8 , IDENT_12 , IDENT_3 . IDENT_4 . IDENT_13 ) ; METHOD_11 ( IDENT_8 , IDENT_12 , IDENT_3 . IDENT_4 . IDENT_13 ) ; javax . IDENT_6 . IDENT_14 IDENT_15 = METHOD_11 ( IDENT_8 , IDENT_12 , IDENT_3 . IDENT_4 . IDENT_13 ) ; java . util . Set < javax . IDENT_6 . IDENT_14 > IDENT_16 = IDENT_15 . METHOD_12 ( ) ; "<AssertPlaceHolder>" ; int count = 0 ; boolean IDENT_17 = true ; while ( IDENT_17 && ( count < 8 ) ) { count ++ ; java . lang . Thread . sleep ( 1000 ) ; IDENT_17 = false ; for ( javax . IDENT_6 . IDENT_14 session : IDENT_16 ) { if ( session . METHOD_13 ( ) ) { METHOD_13 = true ; break ; } } } if ( METHOD_13 ) { for ( javax . IDENT_6 . IDENT_14 session : IDENT_16 ) { if ( session . METHOD_13 ( ) ) { System . err . println ( ( ( STRING_1 + ( session . getId ( ) ) ) + STRING_2 ) ) ; } } org . junit . Assert . fail ( STRING_3 ) ; } } size ( ) { return IDENT_18 . size ( ) ; }
org . junit . Assert . assertEquals ( 3 , IDENT_16 . size ( ) )