ContractImplTest
|
85%
successful |
Failed tests
testProgramTerminateTimestamp()
org.opentest4j.AssertionFailedError: expected: <> but was: <1 Errors for testProgramTerminateTimestamp() : Contract F908000200407 has termination date in the past: 2025-03-03 00:00:00.0 > at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) 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:1145) at com.smalltox.business.model.persistent.impl.contract.ContractImplTest.testProgramTerminateTimestamp(ContractImplTest.java:147) at java.lang.reflect.Method.invoke(Method.java:498) at java.util.ArrayList.forEach(ArrayList.java:1259) at java.util.ArrayList.forEach(ArrayList.java:1259)
Tests
| Test | Duration | Result |
|---|---|---|
| test1() | 0.270s | passed |
| testHasRateControl() | 2m8.12s | passed |
| testProgramTerminateTimestamp() | 0.271s | failed |
| testQuoteAndPropositionWithContractNumber() | 0.098s | passed |
| testSuspendedForTooLong() | 0.027s | passed |
| testSuspendedTooEarly() | 0.082s | passed |
| testWarnedForTooLong() | 0.092s | passed |
Standard output
06:15:41.975 [Test worker] INFO - {} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.contract.ContractImplTest - testSuspendedTooEarly() / Verification Time : 0.081s
06:15:42.073 [Test worker] INFO - {} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.contract.ContractImplTest - testQuoteAndPropositionWithContractNumber() / Verification Time : 0.097s
06:15:42.343 [Test worker] INFO - {} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.contract.ContractImplTest - test1() / Verification Time : 0.268s
06:15:42.370 [Test worker] INFO - {} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.contract.ContractImplTest - testSuspendedForTooLong() / Verification Time : 0.026s
06:17:50.494 [Test worker] INFO - {} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.contract.ContractImplTest - testHasRateControl() / Verification Time : 128.123s
06:17:50.587 [Test worker] INFO - {} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.contract.ContractImplTest - testWarnedForTooLong() / Verification Time : 0.091s
06:17:50.857 [Test worker] ERROR - {} - com.smalltox.business.model.persistent.impl.contract.ContractImplTest - 1 Errors for testProgramTerminateTimestamp() :
Contract F908000200407 has termination date in the past: 2025-03-03 00:00:00.0
06:17:50.858 [Test worker] INFO - {} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.contract.ContractImplTest - testProgramTerminateTimestamp() / Verification Time : 0.270s