ContractImplTest
|
85%
successful |
Failed tests
testProgramTerminateTimestamp()
org.opentest4j.AssertionFailedError: expected: <> but was: <43 Errors for testProgramTerminateTimestamp() : Contract PRS231077 has termination date in the past: 2024-12-17 00:00:00.0 Contract PRS231079 has termination date in the past: 2024-12-17 00:00:00.0 Contract PRS231116 has termination date in the past: 2024-12-17 00:00:00.0 Contract PRS231085 has termination date in the past: 2024-12-17 00:00:00.0 Contract AEF220152 has termination date in the past: 2024-12-17 00:00:00.0 Contract AES232498 has termination date in the past: 2024-12-17 00:00:00.0 Contract PRIF230633 has termination date in the past: 2024-12-17 00:00:00.0 Contract PRIS231881 has termination date in the past: 2024-12-17 00:00:00.0 Contract PRIS232813 has termination date in the past: 2024-12-17 00:00:00.0 Contract PRIS232940 has termination date in the past: 2024-12-17 00:00:00.0 Contract PRIS231872 has termination date in the past: 2024-12-17 00:00:00.0 Contract PRIS231901 has termination date in the past: 2024-12-17 00:00:00.0 Contract PRIS232728 has termination date in the past: 2024-12-17 00:00:00.0 Contract PRIS232867 has termination date in the past: 2024-12-17 00:00:00.0 Contract WZICWZFDY12698 has termination date in the past: 2024-12-17 00:00:00.0 Contract WZICWZFDY11853 has termination date in the past: 2024-12-17 00:00:00.0 Contract WZICWZFDY12337 has termination date in the past: 2024-12-17 00:00:00.0 Contract WZICWZFDY12135 has termination date in the past: 2024-12-17 00:00:00.0 Contract WZICWAL2668 has termination date in the past: 2024-12-17 00:00:00.0 Contract WZICWZII32098 has termination date in the past: 2024-12-17 00:00:00.0 Contract WZICWZIIA1066 has termination date in the past: 2024-12-17 00:00:00.0 Contract AGEOCGEN2046 has termination date in the past: 2024-12-17 00:00:00.0 Contract 603CD48D0D08CC has termination date in the past: 2024-12-17 00:00:00.0 Contract 62691F0F0E4F1 has termination date in the past: 2024-12-17 00:00:00.0 Contract 5FE0A21A3F0F5C has termination date in the past: 2024-12-17 00:00:00.0 Contract 604F6C1E567F5C has termination date in the past: 2024-12-17 00:00:00.0 Contract FACFFR5289 has termination date in the past: 2024-12-17 00:00:00.0 Contract FACFFEL1483 has termination date in the past: 2024-12-17 00:00:00.0 Contract ZNOCZSIF6923 has termination date in the past: 2024-12-17 00:00:00.0 Contract ZNOCZSIF11887 has termination date in the past: 2024-12-17 00:00:00.0 Contract ZNOCZSIS30351 has termination date in the past: 2024-12-17 00:00:00.0 Contract ZNOCZSIS18083 has termination date in the past: 2024-12-17 00:00:00.0 Contract ZNOCZSIS4441 has termination date in the past: 2024-12-17 00:00:00.0 Contract ZNOCZSIS16741 has termination date in the past: 2024-12-17 00:00:00.0 Contract ZNOCZSIS25802 has termination date in the past: 2024-12-17 00:00:00.0 Contract ZNOCZSIS27127 has termination date in the past: 2024-12-17 00:00:00.0 Contract ZNOCZSIS29939 has termination date in the past: 2024-12-17 00:00:00.0 Contract ZNOCZSIS30196 has termination date in the past: 2024-12-17 00:00:00.0 Contract ZNOCZSIS25814 has termination date in the past: 2024-12-17 00:00:00.0 Contract STCCOV0018153 has termination date in the past: 2024-12-17 00:00:00.0 Contract STCCOV7991 has termination date in the past: 2024-12-17 00:00:00.0 Contract STCCOV8980 has termination date in the past: 2024-12-17 00:00:00.0 Contract SSPCOV01494 has termination date in the past: 2024-12-17 00:00:00.0 > at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55) at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177) at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1124) at com.smalltox.business.model.persistent.impl.contract.ContractImplTest.testProgramTerminateTimestamp(ContractImplTest.java:147) 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.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) at java.util.ArrayList.forEach(ArrayList.java:1259) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) at java.util.ArrayList.forEach(ArrayList.java:1259) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:99) at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:79) at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:75) at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:61) 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.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) at com.sun.proxy.$Proxy2.stop(Unknown Source) at org.gradle.api.internal.tasks.testing.worker.TestWorker.stop(TestWorker.java:132) 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.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182) at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164) at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56) at java.lang.Thread.run(Thread.java:750)
Tests
| Test | Duration | Result |
|---|---|---|
| test1() | 0.156s | passed |
| testHasRateControl() | 2m18.01s | passed |
| testProgramTerminateTimestamp() | 0.281s | failed |
| testQuoteAndPropositionWithContractNumber() | 0.085s | passed |
| testSuspendedForTooLong() | 0.026s | passed |
| testSuspendedTooEarly() | 0.123s | passed |
| testWarnedForTooLong() | 0.080s | passed |
Standard output
05:37:59.220 [Test worker] INFO - {ContractNumber or QuoteNumber=null, Executed By=ContractCommissionRuleIntegrationTest} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.contract.ContractImplTest - testSuspendedTooEarly() / Verification Time : 0.122s
05:37:59.306 [Test worker] INFO - {ContractNumber or QuoteNumber=null, Executed By=ContractCommissionRuleIntegrationTest} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.contract.ContractImplTest - testQuoteAndPropositionWithContractNumber() / Verification Time : 0.085s
05:37:59.462 [Test worker] INFO - {ContractNumber or QuoteNumber=null, Executed By=ContractCommissionRuleIntegrationTest} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.contract.ContractImplTest - test1() / Verification Time : 0.156s
05:37:59.488 [Test worker] INFO - {ContractNumber or QuoteNumber=null, Executed By=ContractCommissionRuleIntegrationTest} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.contract.ContractImplTest - testSuspendedForTooLong() / Verification Time : 0.025s
05:40:17.495 [Test worker] INFO - {ContractNumber or QuoteNumber=null, Executed By=ContractCommissionRuleIntegrationTest} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.contract.ContractImplTest - testHasRateControl() / Verification Time : 138.006s
05:40:17.576 [Test worker] INFO - {ContractNumber or QuoteNumber=null, Executed By=ContractCommissionRuleIntegrationTest} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.contract.ContractImplTest - testWarnedForTooLong() / Verification Time : 0.080s
05:40:17.852 [Test worker] ERROR - {ContractNumber or QuoteNumber=null, Executed By=ContractCommissionRuleIntegrationTest} - com.smalltox.business.model.persistent.impl.contract.ContractImplTest - 43 Errors for testProgramTerminateTimestamp() :
Contract PRS231077 has termination date in the past: 2024-12-17 00:00:00.0
Contract PRS231079 has termination date in the past: 2024-12-17 00:00:00.0
Contract PRS231116 has termination date in the past: 2024-12-17 00:00:00.0
Contract PRS231085 has termination date in the past: 2024-12-17 00:00:00.0
Contract AEF220152 has termination date in the past: 2024-12-17 00:00:00.0
Contract AES232498 has termination date in the past: 2024-12-17 00:00:00.0
Contract PRIF230633 has termination date in the past: 2024-12-17 00:00:00.0
Contract PRIS231881 has termination date in the past: 2024-12-17 00:00:00.0
Contract PRIS232813 has termination date in the past: 2024-12-17 00:00:00.0
Contract PRIS232940 has termination date in the past: 2024-12-17 00:00:00.0
Contract PRIS231872 has termination date in the past: 2024-12-17 00:00:00.0
Contract PRIS231901 has termination date in the past: 2024-12-17 00:00:00.0
Contract PRIS232728 has termination date in the past: 2024-12-17 00:00:00.0
Contract PRIS232867 has termination date in the past: 2024-12-17 00:00:00.0
Contract WZICWZFDY12698 has termination date in the past: 2024-12-17 00:00:00.0
Contract WZICWZFDY11853 has termination date in the past: 2024-12-17 00:00:00.0
Contract WZICWZFDY12337 has termination date in the past: 2024-12-17 00:00:00.0
Contract WZICWZFDY12135 has termination date in the past: 2024-12-17 00:00:00.0
Contract WZICWAL2668 has termination date in the past: 2024-12-17 00:00:00.0
Contract WZICWZII32098 has termination date in the past: 2024-12-17 00:00:00.0
Contract WZICWZIIA1066 has termination date in the past: 2024-12-17 00:00:00.0
Contract AGEOCGEN2046 has termination date in the past: 2024-12-17 00:00:00.0
Contract 603CD48D0D08CC has termination date in the past: 2024-12-17 00:00:00.0
Contract 62691F0F0E4F1 has termination date in the past: 2024-12-17 00:00:00.0
Contract 5FE0A21A3F0F5C has termination date in the past: 2024-12-17 00:00:00.0
Contract 604F6C1E567F5C has termination date in the past: 2024-12-17 00:00:00.0
Contract FACFFR5289 has termination date in the past: 2024-12-17 00:00:00.0
Contract FACFFEL1483 has termination date in the past: 2024-12-17 00:00:00.0
Contract ZNOCZSIF6923 has termination date in the past: 2024-12-17 00:00:00.0
Contract ZNOCZSIF11887 has termination date in the past: 2024-12-17 00:00:00.0
Contract ZNOCZSIS30351 has termination date in the past: 2024-12-17 00:00:00.0
Contract ZNOCZSIS18083 has termination date in the past: 2024-12-17 00:00:00.0
Contract ZNOCZSIS4441 has termination date in the past: 2024-12-17 00:00:00.0
Contract ZNOCZSIS16741 has termination date in the past: 2024-12-17 00:00:00.0
Contract ZNOCZSIS25802 has termination date in the past: 2024-12-17 00:00:00.0
Contract ZNOCZSIS27127 has termination date in the past: 2024-12-17 00:00:00.0
Contract ZNOCZSIS29939 has termination date in the past: 2024-12-17 00:00:00.0
Contract ZNOCZSIS30196 has termination date in the past: 2024-12-17 00:00:00.0
Contract ZNOCZSIS25814 has termination date in the past: 2024-12-17 00:00:00.0
Contract STCCOV0018153 has termination date in the past: 2024-12-17 00:00:00.0
Contract STCCOV7991 has termination date in the past: 2024-12-17 00:00:00.0
Contract STCCOV8980 has termination date in the past: 2024-12-17 00:00:00.0
Contract SSPCOV01494 has termination date in the past: 2024-12-17 00:00:00.0
05:40:17.858 [Test worker] INFO - {ContractNumber or QuoteNumber=null, Executed By=ContractCommissionRuleIntegrationTest} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.contract.ContractImplTest - testProgramTerminateTimestamp() / Verification Time : 0.281s