add basic tests for validator #23
GitHub Actions / Maven Tests
failed
Feb 2, 2024 in 1s
23 passed, 1 failed and 0 skipped
✅ plugin/target/surefire-reports/TEST-wand555.github.io.challenges.rules.NoBlockBreakRuleTest.xml
6 tests were completed in 362ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
wand555.github.io.challenges.rules.NoBlockBreakRuleTest | 6✅ | 362ms |
✅ wand555.github.io.challenges.rules.NoBlockBreakRuleTest
✅ testIsInExemptionsOnBlockBreakEvent
✅ testNoBlockBreakRuleModel2JSON
✅ testIsNotInExemptionsOnBlockBreakEvent
✅ testInvalidExemptionsJSON2Model
✅ testComplexNoBlockBreakRuleJSON2Model
✅ testEmptyNoBlockBreakRuleJSON2Model
✅ plugin/target/surefire-reports/TEST-wand555.github.io.FileManagerTest.xml
2 tests were completed in 51ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
wand555.github.io.FileManagerTest | 2✅ | 51ms |
✅ wand555.github.io.FileManagerTest
✅ testReadFromFile
✅ testWriteToFile
❌ plugin/target/surefire-reports/TEST-wand555.github.io.goals.MobGoalTest.xml
1 tests were completed in 296ms with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
wand555.github.io.goals.MobGoalTest | 1❌ | 296ms |
❌ wand555.github.io.goals.MobGoalTest
❌ testMobKillTracked
java.lang.ExceptionInInitializerError
✅ plugin/target/surefire-reports/TEST-wand555.github.io.InterpolateTest.xml
1 tests were completed in 5ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
wand555.github.io.InterpolateTest | 1✅ | 5ms |
✅ wand555.github.io.InterpolateTest
✅ testInterpolate
✅ plugin/target/surefire-reports/TEST-wand555.github.io.inventory.CollectedInventoryTest.xml
4 tests were completed in 271ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
wand555.github.io.inventory.CollectedInventoryTest | 4✅ | 271ms |
✅ wand555.github.io.inventory.CollectedInventoryTest
✅ testPrevPageClickDoNothing
✅ testNextPageClickDoMove
✅ testInitialOpen
✅ testDifferentInvPerPlayer
✅ plugin/target/surefire-reports/TEST-wand555.github.io.punishments.HealthPunishmentTest.xml
7 tests were completed in 4s with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
wand555.github.io.punishments.HealthPunishmentTest | 7✅ | 4s |
✅ wand555.github.io.punishments.HealthPunishmentTest
✅ testComplexHealthPunishment1
✅ testComplexHealthPunishment2
✅ testCauserHeartsLostHealthPunishment
✅ testAllHeartsLostHealthPunishment
✅ testHealthPunishmentSchemaAccess
✅ testEmptyHealthPunishmentValidator
✅ testHealthAmount
✅ plugin/target/surefire-reports/TEST-wand555.github.io.validation.ValidatorTest.xml
3 tests were completed in 78ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
wand555.github.io.validation.ValidatorTest | 3✅ | 78ms |
✅ wand555.github.io.validation.ValidatorTest
✅ testBareBoneMissingJSON
✅ testBareBoneJSON
✅ testBareBoneMultipleMissingJSON
Annotations
Check failure on line 185 in plugin/src/main/java/wand555/github/io/challenges/goals/MobGoal.java
github-actions / Maven Tests
wand555.github.io.goals.MobGoalTest ► testMobKillTracked
Failed test found in:
plugin/target/surefire-reports/TEST-wand555.github.io.goals.MobGoalTest.xml
Error:
java.lang.ExceptionInInitializerError
Raw output
java.lang.ExceptionInInitializerError
at wand555.github.io.challenges.goals.MobGoal.createBossBar(MobGoal.java:185)
at wand555.github.io.challenges.goals.MobGoal.<init>(MobGoal.java:41)
at wand555.github.io.challenges.goals.MobGoal.<init>(MobGoal.java:34)
at wand555.github.io.goals.MobGoalTest.testMobKillTracked(MobGoalTest.java:83)
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)
Caused by: java.lang.NullPointerException: source
at java.base/java.util.Objects.requireNonNull(Objects.java:235)
at java.base/java.util.Scanner.<init>(Scanner.java:595)
at java.base/java.util.Scanner.<init>(Scanner.java:581)
at wand555.github.io.challenges.utils.ResourcePackHelper.fillMatUnicodeMappings(ResourcePackHelper.java:73)
at wand555.github.io.challenges.utils.ResourcePackHelper.<clinit>(ResourcePackHelper.java:24)
... 7 more
Loading