Apply suggestions from code review #18
GitHub Actions / Test Results
failed
Jun 12, 2024 in 0s
3 fail, 393 pass in 4s
Annotations
Check warning on line 0 in com.exactpro.th2.common.event.TestEvent
github-actions / Test Results
set raw body again when raw body is already set() (com.exactpro.th2.common.event.TestEvent) failed
./build/test-results/test/TEST-com.exactpro.th2.common.event.TestEvent.xml [took 0s]
Raw output
org.opentest4j.AssertionFailedError: expected: <Raw body in event '0efa64dc-28bf-11ef-b00a-8b4f995572b713' already sed with value 'Test raw data longer than'> but was: <Raw body in event '0efa64dc-28bf-11ef-b00a-8b4f995572b713' already set with value 'Test raw data longer than'>
at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
at app//com.exactpro.th2.common.event.TestEvent.set raw body again when raw body is already set(TestEvent.kt:334)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:566)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1541)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1541)
Check warning on line 0 in com.exactpro.th2.common.event.TestEvent
github-actions / Test Results
set description when raw body is already set() (com.exactpro.th2.common.event.TestEvent) failed
./build/test-results/test/TEST-com.exactpro.th2.common.event.TestEvent.xml [took 0s]
Raw output
org.opentest4j.AssertionFailedError: expected: <Description can't be added to body data of event '0efa64dc-28bf-11ef-b00a-8b4f995572b726' because raw body is already sed> but was: <Description can't be added to body data of event '0efa64dc-28bf-11ef-b00a-8b4f995572b726' because raw body is already set>
at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
at app//com.exactpro.th2.common.event.TestEvent.set description when raw body is already set(TestEvent.kt:343)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:566)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1541)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1541)
Check warning on line 0 in com.exactpro.th2.common.event.TestEvent
github-actions / Test Results
add body data when raw body is already set() (com.exactpro.th2.common.event.TestEvent) failed
./build/test-results/test/TEST-com.exactpro.th2.common.event.TestEvent.xml [took 0s]
Raw output
org.opentest4j.AssertionFailedError: expected: <Body data can't be added to body data of event '0efa64dc-28bf-11ef-b00a-8b4f995572b737' because raw body is already sed> but was: <Body data can't be added to body data of event '0efa64dc-28bf-11ef-b00a-8b4f995572b737' because raw body is already set>
at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
at app//com.exactpro.th2.common.event.TestEvent.add body data when raw body is already set(TestEvent.kt:325)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:566)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1541)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1541)
Loading