AddressImplTest

8

tests

1

failures

0

ignored

1.635s

duration

87%

successful

Failed tests

testWithInvalidAddress3()

org.opentest4j.AssertionFailedError: expected: <> but was: <10 addresses failed testWithInvalidAddress3() [N° et libellé de la voie]

Address id: 2951745 - invalid address3: 33 -  expected matching: ".*[a-zA-Z]+.*"
Address id: 2952597 - invalid address3: 629197552 -  expected matching: ".*[a-zA-Z]+.*"
Address id: 2953901 - invalid address3: 18354 -  expected matching: ".*[a-zA-Z]+.*"
Address id: 2954814 - invalid address3: 24 -  expected matching: ".*[a-zA-Z]+.*"
Address id: 2951050 - invalid address3: 65100 -  expected matching: ".*[a-zA-Z]+.*"
Address id: 2952297 - invalid address3: 24141 -  expected matching: ".*[a-zA-Z]+.*"
Address id: 2953940 - invalid address3: 2 -  expected matching: ".*[a-zA-Z]+.*"
Address id: 2953219 - invalid address3: 37099 -  expected matching: ".*[a-zA-Z]+.*"
Address id: 2954433 - invalid address3: 19621 -  expected matching: ".*[a-zA-Z]+.*"
Address id: 2954868 - invalid address3: 19998 -  expected matching: ".*[a-zA-Z]+.*"
>
	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.dictionnary.geography.AddressImplTest.testWithInvalidAddress3(AddressImplTest.java:158)
	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
testNormalized() 0.043s passed
testWithInvalidAddress1() 0.173s passed
testWithInvalidAddress2() 0.175s passed
testWithInvalidAddress3() 0.434s failed
testWithInvalidAddress4() 0.193s passed
testWithInvalidStreetName() 0.186s passed
testWithoutCity() 0.193s passed
testWithoutZipCode() 0.238s passed

Standard output

06:41:52.896 [Test worker] INFO  - {} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.dictionnary.geography.AddressImplTest - testNormalized() / Verification Time : 0.042s
06:41:53.135 [Test worker] INFO  - {} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.dictionnary.geography.AddressImplTest - testWithoutZipCode() / Verification Time : 0.237s
06:41:53.322 [Test worker] INFO  - {} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.dictionnary.geography.AddressImplTest - testWithInvalidStreetName() / Verification Time : 0.185s
06:41:53.495 [Test worker] INFO  - {} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.dictionnary.geography.AddressImplTest - testWithInvalidAddress1() / Verification Time : 0.172s
06:41:53.671 [Test worker] INFO  - {} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.dictionnary.geography.AddressImplTest - testWithInvalidAddress2() / Verification Time : 0.174s
06:41:54.104 [Test worker] ERROR - {} - com.smalltox.business.model.persistent.impl.dictionnary.geography.AddressImplTest - 10 addresses failed testWithInvalidAddress3() [N° et libellé de la voie]

Address id: 2951745 - invalid address3: 33 -  expected matching: ".*[a-zA-Z]+.*"
Address id: 2952597 - invalid address3: 629197552 -  expected matching: ".*[a-zA-Z]+.*"
Address id: 2953901 - invalid address3: 18354 -  expected matching: ".*[a-zA-Z]+.*"
Address id: 2954814 - invalid address3: 24 -  expected matching: ".*[a-zA-Z]+.*"
Address id: 2951050 - invalid address3: 65100 -  expected matching: ".*[a-zA-Z]+.*"
Address id: 2952297 - invalid address3: 24141 -  expected matching: ".*[a-zA-Z]+.*"
Address id: 2953940 - invalid address3: 2 -  expected matching: ".*[a-zA-Z]+.*"
Address id: 2953219 - invalid address3: 37099 -  expected matching: ".*[a-zA-Z]+.*"
Address id: 2954433 - invalid address3: 19621 -  expected matching: ".*[a-zA-Z]+.*"
Address id: 2954868 - invalid address3: 19998 -  expected matching: ".*[a-zA-Z]+.*"

06:41:54.105 [Test worker] INFO  - {} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.dictionnary.geography.AddressImplTest - testWithInvalidAddress3() / Verification Time : 0.433s
06:41:54.298 [Test worker] INFO  - {} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.dictionnary.geography.AddressImplTest - testWithInvalidAddress4() / Verification Time : 0.192s
06:41:54.491 [Test worker] INFO  - {} - com.smalltox.test.AbstractIntegrationTest - com.smalltox.business.model.persistent.impl.dictionnary.geography.AddressImplTest - testWithoutCity() / Verification Time : 0.192s