All Downloads are FREE. Search and download functionalities are using the official Maven repository.

bin.test.org.objectweb.howl.log.ConfigurationTest.class Maven / Gradle / Ivy

There is a newer version: 10.0.0-M3
Show newest version
????0?
????
?
?	???
??
??
??

	?
	?	

		?
?	?
?
	?
,

,
,
!?
!
!

?

?
, !"
#$
?%&'()
,*
?+,-./01234
,5
?67
?89
F:
F;	F<
=>?	@A
?BC
FDE
,FGHIJKL
,M
=NO
,?P
,Q
RS
,TUV
aMW
X
,Y
,Z
?[\
,]
?^
?_`
,ab??c
,d
,ef
,gh
,i
jk
,l
,m
,n
,o
,p
,q
,r
,s
,t
,u
,vw
,xyz
?{|}
,~

???
??????
?
??
?
????cfg&Lorg/objectweb/howl/log/Configuration;propLjava/util/Properties;	systemErrLjava/io/PrintStream;baseDirLjava/io/File;outDir.class$org$objectweb$howl$log$ConfigurationTestLjava/lang/Class;	Syntheticmain([Ljava/lang/String;)VCodeLineNumberTableLocalVariableTableargs[Ljava/lang/String;setUp()Vthis*Lorg/objectweb/howl/log/ConfigurationTest;baseDirNameLjava/lang/String;
Exceptions?tearDowndeleteLogFilesfiIlogDirdirlogs[Ljava/io/File;logFileName
logFileExtpattern(Ljava/lang/String;)VnametestListConfigDefault?testListConfigTruee Ljava/lang/NullPointerException;testListConfigFalsetestBufferSize_1testBufferSize_32testBufferSize_02Lorg/objectweb/howl/log/LogConfigurationException;testBufferSize_33testAdler32ChecksumErrortestAdler32ChecksumTruelogLorg/objectweb/howl/log/Logger;lb"Lorg/objectweb/howl/log/LogBuffer;testAdler32ChecksumFalsetestChecksumEnabledErrortestChecksumEnabledTruetestChecksumEnabledFalsetestMinBuffers_GT_MaxBufferstestMinBuffers_LE_zerotestMinBuffers_EQ_MaxBuffers!testConstrucFromFile_FileNotFoundcauseLjava/lang/Throwable;filetestConstructFromFilecfg2verifyConfiguration)(Lorg/objectweb/howl/log/Configuration;)VtestConstructFromPropertiestestSetMethodscfg3testLogFileMode	testStoretestCallerPropertiesNotChangedkeyLjava/util/Enumeration;originalclass$%(Ljava/lang/String;)Ljava/lang/Class;x1"Ljava/lang/ClassNotFoundException;x0
SourceFileConfigurationTest.java??? java/lang/ClassNotFoundExceptionjava/lang/NoClassDefFoundError??????(org.objectweb.howl.log.ConfigurationTest???????basedir.???java/io/File????target/test-resources??????????java/util/Properties????????????????java/lang/StringBuffer^??_\d+\.????????$org/objectweb/howl/log/Configuration??
listConfigtrue??
Expecting NPE??java/lang/NullPointerExceptionfalse
bufferSize1???? 1320"Expected LogConfigurationException0org/objectweb/howl/log/LogConfigurationException33adler32ChecksumyeschecksumEnabled????true  ??org/objectweb/howl/log/Logger?????????checksum method ?????java/util/zip/Adler32??false  ??   false   
maxBuffers
minBuffers2-1*src/test-resources/filenotfound.properties????java/io/FileNotFoundExceptionmaxLogFiles???????#testConstructFromFileLog.propertiesjava/io/FileOutputStream%testConstructFromFile test properties????????bufferClassName??????flushSleepTime??
logFileDirmaxBlocksPerFile????threadsWaitingForceThreshold??flushPartialBuffers???????????????????????????rw??rwdr$: expected LogConfigurationExceptionRW.properties??????Sink???????java/lang/String????????(org/objectweb/howl/log/ConfigurationTestjunit/framework/TestCasejava/lang/Exception#org/objectweb/howl/log/LogExceptionjava/lang/ClassforName	initCause,(Ljava/lang/Throwable;)Ljava/lang/Throwable;junit/textui/TestRunnerrun(Ljava/lang/Class;)Vjava/lang/SystemgetProperty8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;#(Ljava/io/File;Ljava/lang/String;)Vmkdirs()ZerrsetErr(Ljava/io/PrintStream;)V
getLogFileDir()Ljava/lang/String;	listFiles()[Ljava/io/File;getLogFileName
getLogFileExtappend,(Ljava/lang/String;)Ljava/lang/StringBuffer;toStringgetNamematches(Ljava/lang/String;)Zdelete(Ljava/util/Properties;)VsetProperty8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;fail
getBufferSize()IassertEquals(Ljava/lang/String;II)VisAdler32ChecksumEnabled
assertTrue(Ljava/lang/String;Z)Vopenbmgr)Lorg/objectweb/howl/log/LogBufferManager;'org/objectweb/howl/log/LogBufferManagergetLogBuffer%(I)Lorg/objectweb/howl/log/LogBuffer; org/objectweb/howl/log/LogBufferchecksumLjava/util/zip/Adler32;assertFalsecloseisChecksumEnabled(Ljava/io/File;)VgetCause()Ljava/lang/Throwable;getMaxLogFilesjava/lang/Integer(I)Ljava/lang/String;
getMinBuffersstore+(Ljava/io/OutputStream;Ljava/lang/String;)VsetMaxLogFiles(I)V
setMinBuffersgetBufferClassName9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V(Ljava/lang/String;ZZ)VgetFlushSleepTimegetMaxBlocksPerFile
getMaxBuffersgetThreadsWaitingForceThresholdisFlushPartialBuffersjava/lang/Boolean(Z)Ljava/lang/String;setBufferClassName
setLogFileDir
setLogFileExtsetLogFileName
setBufferSizesetMaxBlocksPerFile
setMaxBufferssetChecksumEnabled(Z)VsetFlushSleepTimesetThreadsWaitingForceThresholdsetFlushPartialBufferssetLogFileMode(Ljava/io/OutputStream;)Vsize(II)Vkeys()Ljava/util/Enumeration;java/util/EnumerationhasMoreElementsnextElement()Ljava/lang/Object;containsKey(Ljava/lang/Object;)Z&(Ljava/lang/String;)Ljava/lang/String;'(Ljava/lang/String;Ljava/lang/String;)V!???????????????	???G???Y????	??
?@???????D*?
?
L*?Y+??*?Y*???*??W*??*?Y????"HJKL)M1N8OCP?D??8???????>*?*????UVW????????	w*??L?Y+?M,?N*??:*?? :?!Y?"#?$?$%?$&?$?$?':6-??"-2:?(?)?	?*W???ݱ?2`abde(hMjWl]mjnpjvp?\	]??P&??w??o??f??a??X??(O??M*?????P*+?+*?*???w6
8x????????F?*?,Y*??-???????????????})?*?./?0W*?,Y*??-?1?2?L?$'3?????$?'?(??(??)????????V ?*?.4?0W*?,Y*??-???????? ?????????Q*?56?0W*?,Y*??-?5*??7?8*?59?0W*?,Y*??-?5*??7?8?????(?4?C?P??Q????????`**?5:?0W*?,Y*??-?5 *??7?8?????)??*????????u%*?5;?0W*?,Y*??-??0W*?,Y*??-?DAG?HB? $??H??I??????.*?S6?0W*?T6?0W*?,Y*??-??L+??'*=?GHJ'M*K+L-N?+??.?????????2?Y*?W?L*?,Y+?X??O?c?w????????????????????????????*?,Y?[??,Y?[L+*??i?y+*???z+*?? ?{+*???|+*??7?}+*??r?~+*??]?e+*??s?+*??_?f+*??Q??+*??m??+*??u??+*??w??*+?g??F????)?4???J?U?`?k?v?????????????????????????j*?,Y?[?*????*????*?????!Y?"*???$??$?'?2?L*?????!Y?"*???$??$?'?2?L??B=Ceh=?2????&???B?C?L?e?h?i?? C??i??j????????}=*?,Y?[??Y*??!Y?"*???$??$?'?L*??aY+?b??????-?<??=??-???????=?*?,Y?[?*?h*??i?0W?Y?L+h*??i?0W*?,Y*??-?*?????*?*??7`?}*??!Y?"*??i?$??$?'?y+??*?????+??M,???+,????N*?-????*?-??+-??????ұ?:???$?2?A?L?\?|????????????*????1?????$????????N*??L?Y?+????????????




© 2015 - 2025 Weber Informatics LLC | Privacy Policy