bin.test.org.objectweb.howl.log.ExceptionTest.class Maven / Gradle / Ivy
The newest version!
???? 0 ?
u v w x
y
z
E {
E | } D ~
D ? D ? ?
D ?
? ?
D ?
? ? D ? ?
? ?
? ?
?
? ? ?
? ? ? ? ?
y ?
?
D ? ? ?
?
? ? D ? ?
D ? ?
D ? ?
* ? ?
D ? ? ?
/ ?
? ? D ? ? D ?
D ? ? ? ?
9 ? ? D ? ?
; ? ? ?
? ?
? ?
? ? ? ? LogEventListener_LFOE InnerClasses LogEventListener_AIOOB $class$org$objectweb$howl$log$LogTest Ljava/lang/Class; Synthetic *class$org$objectweb$howl$log$LogTestWorker *class$org$objectweb$howl$log$ExceptionTest (Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this &Lorg/objectweb/howl/log/ExceptionTest; name Ljava/lang/String; setUp ()V
Exceptions ? main ([Ljava/lang/String;)V args [Ljava/lang/String; testIOException cause Ljava/lang/Throwable; e
TestException 1Lorg/objectweb/howl/log/TestDriver$TestException; defDir logDir testVerifyMode_rw testLogFileOverflowException 1Lorg/objectweb/howl/log/LogFileOverflowException; $testLogOverflowNotificationException suite ()Ljunit/framework/Test; Ljunit/framework/TestSuite; class$ %(Ljava/lang/String;)Ljava/lang/Class; x1 "Ljava/lang/ClassNotFoundException; x0
SourceFile ExceptionTest.java ? ? o java/lang/ClassNotFoundException java/lang/NoClassDefFoundError N X ? ? N O W X org/objectweb/howl/log/Logger ? ? N ? ? ? I J org.objectweb.howl.log.LogTest n o ? ? ? ? X ? ? ? ? ? test.ioexception.dir ? ? ? ? O ? X ? ? msg.count 100 ? ? ? ? ? java/lang/StringBuffer Begin ? ? ? ?
remove to generate IOException ? ? ? ? O L J $org.objectweb.howl.log.LogTestWorker ? ? Expected an IOException ? O /org/objectweb/howl/log/TestDriver$TestException ? ? java/io/IOException ? ? End :org/objectweb/howl/log/ExceptionTest$LogEventListener_LFOE N ? ? ? 1000 ? ? $: LogFileOverflowException expected. ? d ? ? /org/objectweb/howl/log/LogFileOverflowException #: ignoring LogFileOverflowException ;org/objectweb/howl/log/ExceptionTest$LogEventListener_AIOOB junit/framework/TestSuite M J $org.objectweb.howl.log.ExceptionTest N ? junit/extensions/RepeatedTest ExceptionTest.repeatcount ? ? ? ? ? N ? $org/objectweb/howl/log/ExceptionTest !org/objectweb/howl/log/TestDriver java/lang/Exception java/lang/Class forName initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; cfg &Lorg/objectweb/howl/log/Configuration; )(Lorg/objectweb/howl/log/Configuration;)V log Lorg/objectweb/howl/log/Logger; junit/textui/TestRunner run (Ljava/lang/Class;)V deleteLogFiles $org/objectweb/howl/log/Configuration
getLogFileDir ()Ljava/lang/String; prop Ljava/util/Properties; java/util/Properties getProperty 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
setLogFileDir open setAutoMark (Z)V setProperty 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object; java/lang/System err Ljava/io/PrintStream; append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; getName toString java/io/PrintStream println
runWorkers fail getCause ()Ljava/lang/Throwable;
assertTrue H(Lorg/objectweb/howl/log/ExceptionTest;Lorg/objectweb/howl/log/Logger;)V setLogEventListener ,(Lorg/objectweb/howl/log/LogEventListener;)V workers I exception assertFalse (Ljava/lang/String;Z)V java/lang/Integer
getInteger ((Ljava/lang/String;I)Ljava/lang/Integer; intValue ()I (Ljunit/framework/Test;I)V ! D E I J K L J K M J K N O P > *+? ? Q
D E R S T U V W X P F *? *? Y*? ?
? ? Q H J K R S T Y Z [ \ P G ? ?
? Y? ? ? ? ? Q
O P R ] ^ Y Z _ X P G ?*? *? ? L*? +? M*? ,? *? ? *? ? *? ? W? ? Y? ? *? ? !? ,? "? ? #? $*? %? &? Y? %? ? %? '(? )? N-? +:? ,? -? ? Y? .? *? ? ? #? $? d ? ? * Q B \ ^ _ ` a &