Skip to content

fix tests

fix tests #35

GitHub Actions / Maven Tests failed Feb 25, 2024 in 1s

15 passed, 6 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
plugin/target/surefire-reports/TEST-wand555.github.io.challenges.criteria.goals.mobgoal.MobGoalJSONTest.xml 1❌ 7ms
plugin/target/surefire-reports/TEST-wand555.github.io.challenges.criteria.goals.mobgoal.MobGoalTest.xml 1❌ 12ms
plugin/target/surefire-reports/TEST-wand555.github.io.challenges.criteria.rules.noblockbreak.NoBlockBreakRuleTest.xml 1❌ 1s
plugin/target/surefire-reports/TEST-wand555.github.io.challenges.types.blockbreak.BlockBreakTypeTest.xml 1✅ 2s
plugin/target/surefire-reports/TEST-wand555.github.io.challenges.types.mob.MobTypeTest.xml 2✅ 86ms
plugin/target/surefire-reports/TEST-wand555.github.io.FileManagerTest.xml 2❌ 52ms
plugin/target/surefire-reports/TEST-wand555.github.io.goals.ItemGoalTest.xml 1✅ 20ms
plugin/target/surefire-reports/TEST-wand555.github.io.inventory.CollectedInventoryTest.xml 4✅ 267ms
plugin/target/surefire-reports/TEST-wand555.github.io.punishments.HealthPunishmentTest.xml 1❌ 6ms
plugin/target/surefire-reports/TEST-wand555.github.io.TimerUtilTest.xml 4✅ 10ms
plugin/target/surefire-reports/TEST-wand555.github.io.validation.ValidatorTest.xml 3✅ 850ms

❌ plugin/target/surefire-reports/TEST-wand555.github.io.challenges.criteria.goals.mobgoal.MobGoalJSONTest.xml

1 tests were completed in 7ms with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
wand555.github.io.challenges.criteria.goals.mobgoal.MobGoalJSONTest 1❌ 7ms

❌ wand555.github.io.challenges.criteria.goals.mobgoal.MobGoalJSONTest

❌ 
	java.lang.IllegalArgumentException: argument "src" is null

❌ plugin/target/surefire-reports/TEST-wand555.github.io.challenges.criteria.goals.mobgoal.MobGoalTest.xml

1 tests were completed in 12ms with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
wand555.github.io.challenges.criteria.goals.mobgoal.MobGoalTest 1❌ 12ms

❌ wand555.github.io.challenges.criteria.goals.mobgoal.MobGoalTest

❌ 
	java.lang.IllegalArgumentException: argument "src" is null

❌ plugin/target/surefire-reports/TEST-wand555.github.io.challenges.criteria.rules.noblockbreak.NoBlockBreakRuleTest.xml

1 tests were completed in 1s with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
wand555.github.io.challenges.criteria.rules.noblockbreak.NoBlockBreakRuleTest 1❌ 1s

❌ wand555.github.io.challenges.criteria.rules.noblockbreak.NoBlockBreakRuleTest

❌ 
	java.lang.IllegalArgumentException: argument "src" is null

✅ plugin/target/surefire-reports/TEST-wand555.github.io.challenges.types.blockbreak.BlockBreakTypeTest.xml

1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
wand555.github.io.challenges.types.blockbreak.BlockBreakTypeTest 1✅ 2s

✅ wand555.github.io.challenges.types.blockbreak.BlockBreakTypeTest

✅ testOnBlockBreak

✅ plugin/target/surefire-reports/TEST-wand555.github.io.challenges.types.mob.MobTypeTest.xml

2 tests were completed in 86ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
wand555.github.io.challenges.types.mob.MobTypeTest 2✅ 86ms

✅ wand555.github.io.challenges.types.mob.MobTypeTest

✅ testOnMobDeathNoKiller
✅ testOnMobDeathValid

❌ plugin/target/surefire-reports/TEST-wand555.github.io.FileManagerTest.xml

2 tests were completed in 52ms with 0 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
wand555.github.io.FileManagerTest 2❌ 52ms

❌ wand555.github.io.FileManagerTest

❌ testReadFromFile
	java.lang.IllegalArgumentException: argument "src" is null
❌ testWriteToFile
	java.lang.IllegalArgumentException: argument "src" is null

✅ plugin/target/surefire-reports/TEST-wand555.github.io.goals.ItemGoalTest.xml

1 tests were completed in 20ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
wand555.github.io.goals.ItemGoalTest 1✅ 20ms

✅ wand555.github.io.goals.ItemGoalTest

✅ testInventoryClick

✅ plugin/target/surefire-reports/TEST-wand555.github.io.inventory.CollectedInventoryTest.xml

4 tests were completed in 267ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
wand555.github.io.inventory.CollectedInventoryTest 4✅ 267ms

✅ wand555.github.io.inventory.CollectedInventoryTest

✅ testPrevPageClickDoNothing
✅ testNextPageClickDoMove
✅ testInitialOpen
✅ testDifferentInvPerPlayer

❌ plugin/target/surefire-reports/TEST-wand555.github.io.punishments.HealthPunishmentTest.xml

1 tests were completed in 6ms with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
wand555.github.io.punishments.HealthPunishmentTest 1❌ 6ms

❌ wand555.github.io.punishments.HealthPunishmentTest

❌ 
	java.lang.IllegalArgumentException: argument "src" is null

✅ plugin/target/surefire-reports/TEST-wand555.github.io.TimerUtilTest.xml

4 tests were completed in 10ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
wand555.github.io.TimerUtilTest 4✅ 10ms

✅ wand555.github.io.TimerUtilTest

✅ testMinutesHoursOverlap
✅ testSecondsMinutesOverlap
✅ testHoursDaysOverlap
✅ testFormat

✅ plugin/target/surefire-reports/TEST-wand555.github.io.validation.ValidatorTest.xml

3 tests were completed in 850ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
wand555.github.io.validation.ValidatorTest 3✅ 850ms

✅ wand555.github.io.validation.ValidatorTest

✅ testBareBoneMissingJSON
✅ testBareBoneJSON
✅ testBareBoneMultipleMissingJSON

Annotations

Check failure on line 50 in plugin/src/test/java/wand555/github/io/challenges/criteria/goals/mobgoal/MobGoalJSONTest.java

See this annotation in the file changed.

@github-actions github-actions / Maven Tests

wand555.github.io.challenges.criteria.goals.mobgoal.MobGoalJSONTest ►

Failed test found in:
  plugin/target/surefire-reports/TEST-wand555.github.io.challenges.criteria.goals.mobgoal.MobGoalJSONTest.xml
Error:
  java.lang.IllegalArgumentException: argument "src" is null
Raw output
java.lang.IllegalArgumentException: argument "src" is null
	at com.fasterxml.jackson.databind.ObjectMapper._assertNotNull(ObjectMapper.java:5054)
	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3882)
	at wand555.github.io.challenges.criteria.goals.mobgoal.MobGoalJSONTest.setUpIOData(MobGoalJSONTest.java:50)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 61 in plugin/src/test/java/wand555/github/io/challenges/criteria/goals/mobgoal/MobGoalTest.java

See this annotation in the file changed.

@github-actions github-actions / Maven Tests

wand555.github.io.challenges.criteria.goals.mobgoal.MobGoalTest ►

Failed test found in:
  plugin/target/surefire-reports/TEST-wand555.github.io.challenges.criteria.goals.mobgoal.MobGoalTest.xml
Error:
  java.lang.IllegalArgumentException: argument "src" is null
Raw output
java.lang.IllegalArgumentException: argument "src" is null
	at com.fasterxml.jackson.databind.ObjectMapper._assertNotNull(ObjectMapper.java:5054)
	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3882)
	at wand555.github.io.challenges.criteria.goals.mobgoal.MobGoalTest.setUpIOData(MobGoalTest.java:61)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 59 in plugin/src/test/java/wand555/github/io/challenges/criteria/rules/noblockbreak/NoBlockBreakRuleTest.java

See this annotation in the file changed.

@github-actions github-actions / Maven Tests

wand555.github.io.challenges.criteria.rules.noblockbreak.NoBlockBreakRuleTest ►

Failed test found in:
  plugin/target/surefire-reports/TEST-wand555.github.io.challenges.criteria.rules.noblockbreak.NoBlockBreakRuleTest.xml
Error:
  java.lang.IllegalArgumentException: argument "src" is null
Raw output
java.lang.IllegalArgumentException: argument "src" is null
	at com.fasterxml.jackson.databind.ObjectMapper._assertNotNull(ObjectMapper.java:5054)
	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3882)
	at wand555.github.io.challenges.criteria.rules.noblockbreak.NoBlockBreakRuleTest.setUpIOData(NoBlockBreakRuleTest.java:59)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 46 in plugin/src/test/java/wand555/github/io/FileManagerTest.java

See this annotation in the file changed.

@github-actions github-actions / Maven Tests

wand555.github.io.FileManagerTest ► testReadFromFile

Failed test found in:
  plugin/target/surefire-reports/TEST-wand555.github.io.FileManagerTest.xml
  plugin/target/surefire-reports/TEST-wand555.github.io.FileManagerTest.xml
Error:
  java.lang.IllegalArgumentException: argument "src" is null
Raw output
java.lang.IllegalArgumentException: argument "src" is null
	at com.fasterxml.jackson.databind.ObjectMapper._assertNotNull(ObjectMapper.java:5054)
	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3882)
	at wand555.github.io.FileManagerTest.setUp(FileManagerTest.java:46)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 53 in plugin/src/test/java/wand555/github/io/punishments/HealthPunishmentTest.java

See this annotation in the file changed.

@github-actions github-actions / Maven Tests

wand555.github.io.punishments.HealthPunishmentTest ►

Failed test found in:
  plugin/target/surefire-reports/TEST-wand555.github.io.punishments.HealthPunishmentTest.xml
Error:
  java.lang.IllegalArgumentException: argument "src" is null
Raw output
java.lang.IllegalArgumentException: argument "src" is null
	at com.fasterxml.jackson.databind.ObjectMapper._assertNotNull(ObjectMapper.java:5054)
	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3882)
	at wand555.github.io.punishments.HealthPunishmentTest.setUpIOData(HealthPunishmentTest.java:53)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)