refactor goals into mapgoal abstraction #34
13 passed, 8 failed and 0 skipped
❌ plugin/target/surefire-reports/TEST-wand555.github.io.challenges.criteria.goals.mobgoal.MobGoalJSONTest.xml
1 tests were completed in 9ms with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
wand555.github.io.challenges.criteria.goals.mobgoal.MobGoalJSONTest | 1❌ | 9ms |
❌ 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 23ms with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
wand555.github.io.challenges.criteria.goals.mobgoal.MobGoalTest | 1❌ | 23ms |
❌ 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 1s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
wand555.github.io.challenges.types.blockbreak.BlockBreakTypeTest | 1❌ | 1s |
❌ wand555.github.io.challenges.types.blockbreak.BlockBreakTypeTest
❌ testOnBlockBreak
java.lang.NullPointerException: Cannot invoke "wand555.github.io.challenges.Challenges.getServer()" because the return value of "wand555.github.io.challenges.Context.plugin()" is null
❌ plugin/target/surefire-reports/TEST-wand555.github.io.challenges.types.mob.MobTypeTest.xml
2 tests were completed in 110ms with 1 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
wand555.github.io.challenges.types.mob.MobTypeTest | 1✅ | 1❌ | 110ms |
❌ wand555.github.io.challenges.types.mob.MobTypeTest
❌ testOnMobDeathNoKiller
java.lang.IllegalStateException: Already mocking
✅ testOnMobDeathValid
❌ plugin/target/surefire-reports/TEST-wand555.github.io.FileManagerTest.xml
2 tests were completed in 62ms with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
wand555.github.io.FileManagerTest | 2❌ | 62ms |
❌ 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 13ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
wand555.github.io.goals.ItemGoalTest | 1✅ | 13ms |
✅ wand555.github.io.goals.ItemGoalTest
✅ testInventoryClick
✅ plugin/target/surefire-reports/TEST-wand555.github.io.inventory.CollectedInventoryTest.xml
4 tests were completed in 446ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
wand555.github.io.inventory.CollectedInventoryTest | 4✅ | 446ms |
✅ 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 4ms with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
wand555.github.io.punishments.HealthPunishmentTest | 1❌ | 4ms |
❌ 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 6ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
wand555.github.io.TimerUtilTest | 4✅ | 6ms |
✅ wand555.github.io.TimerUtilTest
✅ testMinutesHoursOverlap
✅ testSecondsMinutesOverlap
✅ testHoursDaysOverlap
✅ testFormat
✅ plugin/target/surefire-reports/TEST-wand555.github.io.validation.ValidatorTest.xml
3 tests were completed in 818ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
wand555.github.io.validation.ValidatorTest | 3✅ | 818ms |
✅ wand555.github.io.validation.ValidatorTest
✅ testBareBoneMissingJSON
✅ testBareBoneJSON
✅ testBareBoneMultipleMissingJSON
Annotations
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)
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:3890)
at wand555.github.io.challenges.criteria.goals.mobgoal.MobGoalTest.setUpIOData(MobGoalTest.java:60)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
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:3890)
at wand555.github.io.challenges.criteria.rules.noblockbreak.NoBlockBreakRuleTest.setUpIOData(NoBlockBreakRuleTest.java:58)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / Maven Tests
wand555.github.io.challenges.types.blockbreak.BlockBreakTypeTest ► testOnBlockBreak
Failed test found in:
plugin/target/surefire-reports/TEST-wand555.github.io.challenges.types.blockbreak.BlockBreakTypeTest.xml
Error:
java.lang.NullPointerException: Cannot invoke "wand555.github.io.challenges.Challenges.getServer()" because the return value of "wand555.github.io.challenges.Context.plugin()" is null
Raw output
java.lang.NullPointerException: Cannot invoke "wand555.github.io.challenges.Challenges.getServer()" because the return value of "wand555.github.io.challenges.Context.plugin()" is null
at wand555.github.io.challenges.types.blockbreak.BlockBreakType.<init>(BlockBreakType.java:17)
at wand555.github.io.challenges.types.blockbreak.BlockBreakTypeTest.setUp(BlockBreakTypeTest.java:43)
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)
github-actions / Maven Tests
wand555.github.io.challenges.types.mob.MobTypeTest ► testOnMobDeathNoKiller
Failed test found in:
plugin/target/surefire-reports/TEST-wand555.github.io.challenges.types.mob.MobTypeTest.xml
Error:
java.lang.IllegalStateException: Already mocking
Raw output
java.lang.IllegalStateException: Already mocking
at be.seeseemelk.mockbukkit.MockBukkit.mock(MockBukkit.java:72)
at be.seeseemelk.mockbukkit.MockBukkit.mock(MockBukkit.java:57)
at wand555.github.io.challenges.types.mob.MobTypeTest.setUp(MobTypeTest.java:36)
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 45 in plugin/src/test/java/wand555/github/io/FileManagerTest.java
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:3890)
at wand555.github.io.FileManagerTest.setUp(FileManagerTest.java:45)
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)
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:3890)
at wand555.github.io.punishments.HealthPunishmentTest.setUpIOData(HealthPunishmentTest.java:52)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)