Class org.jpos.util.DailyLogListenerTest

28

tests

0

failures

4

ignored

1.026s

duration

100%

successful

Tests

Test Duration Result
testCheckSize 0.001s passed
testCloseCompressedOutputStream 0s passed
testCloseCompressedOutputStream1 0s passed
testCloseCompressedOutputStreamThrowsNullPointerException 0s passed
testCompress 0s passed
testCompressorConstructor 0.008s passed
testCompressorRun - ignored
testConstructor 0s passed
testDailyRotateConstructor 0s passed
testDailyRotateRunThrowsNullPointerException - ignored
testGetCompressedOutputStreamThrowsNullPointerException 0s passed
testGetCompressorThread 0s passed
testLogDebugEx 0.002s passed
testLogDebugExThrowsNullPointerException 0s passed
testLogRotateAbortsWhenCreatingNewFileFails - ignored
testLogRotateThrowsNullPointerException - ignored
testLogRotationAndCompressionWorks 1.013s passed
testSetCompressedSuffix 0s passed
testSetCompressionBufferSize 0s passed
testSetCompressionBufferSize1 0s passed
testSetCompressionBufferSize2 0s passed
testSetCompressionFormat 0s passed
testSetConfigurationThrowsNullPointerException 0.001s passed
testSetDateFmt 0s passed
testSetLastDate 0.001s passed
testSetPrefix 0s passed
testSetRotateCount 0s passed
testSetSuffix 0s passed

Standard output

<log realm="rotate-log-listener" at="Tue Aug 09 20:07:44 UTC 2016">
   testDailyLogListenerMsg
java.lang.NullPointerException: testDailyLogListenerParam1
	at org.jpos.util.DailyLogListenerTest.testLogDebugEx(DailyLogListenerTest.java:154)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:114)
	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:57)
	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:66)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
	at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109)
	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:377)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

</log>

Standard error

Deleting /tmp/jposLogRotationTestDir/RotateWorksTestLog.log
Deleting /tmp/jposLogRotationTestDir/RotateWorksTestLog.2016-08-09.log.gz