Skip to content

Apply suggestions from code review #18

Apply suggestions from code review

Apply suggestions from code review #18

GitHub Actions / Test Results failed Jun 12, 2024 in 0s

3 fail, 393 pass in 4s

 31 files  ±0   31 suites  ±0   4s ⏱️ ±0s
396 tests ±0  393 ✅  - 3  0 💤 ±0  3 ❌ +3 
450 runs  ±0  447 ✅  - 3  0 💤 ±0  3 ❌ +3 

Results for commit 994e56f. ± Comparison against earlier commit d3a79c2.

Annotations

Check warning on line 0 in com.exactpro.th2.common.event.TestEvent

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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)