Skip to content

random item punishment in webbuilder #16

random item punishment in webbuilder

random item punishment in webbuilder #16

GitHub Actions / Maven Tests failed Jan 29, 2024 in 0s

16 passed, 3 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
plugin/target/surefire-reports/TEST-wand555.github.io.challenges.rules.NoBlockBreakRuleTest.xml 6✅ 1s
plugin/target/surefire-reports/TEST-wand555.github.io.FileManagerTest.xml 1✅ 1❌ 97ms
plugin/target/surefire-reports/TEST-wand555.github.io.goals.MobGoalTest.xml 1❌ 12ms
plugin/target/surefire-reports/TEST-wand555.github.io.inventory.CollectedInventoryTest.xml 3✅ 1❌ 316ms
plugin/target/surefire-reports/TEST-wand555.github.io.punishments.HealthPunishmentTest.xml 6✅ 2s

✅ plugin/target/surefire-reports/TEST-wand555.github.io.challenges.rules.NoBlockBreakRuleTest.xml

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

Test suite Passed Failed Skipped Time
wand555.github.io.challenges.rules.NoBlockBreakRuleTest 6✅ 1s

✅ 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 97ms with 1 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
wand555.github.io.FileManagerTest 1✅ 1❌ 97ms

❌ wand555.github.io.FileManagerTest

✅ testReadFromFile
❌ testWriteToFile
	java.lang.IllegalStateException: Already mocking

❌ plugin/target/surefire-reports/TEST-wand555.github.io.goals.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.goals.MobGoalTest 1❌ 12ms

❌ wand555.github.io.goals.MobGoalTest

❌ testMobKillTracked
	java.lang.IllegalStateException: Already mocking

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

4 tests were completed in 316ms with 3 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
wand555.github.io.inventory.CollectedInventoryTest 3✅ 1❌ 316ms

❌ wand555.github.io.inventory.CollectedInventoryTest

✅ testPrevPageClickDoNothing
✅ testNextPageClickDoMove
❌ testInitialOpen
	java.lang.NullPointerException
✅ testDifferentInvPerPlayer

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

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

Test suite Passed Failed Skipped Time
wand555.github.io.punishments.HealthPunishmentTest 6✅ 2s

✅ wand555.github.io.punishments.HealthPunishmentTest

✅ testCauserHeartsLostHealthPunishment
✅ testAllHeartsLostHealthPunishment
✅ testComplexHealthPunishmentJSON2Model
✅ testEmptyHealthPunishmentJSON2Model
✅ testHealthPunishmentModel2JSON
✅ testHealthPunishmentSchemaAccess

Annotations

Check failure on line 42 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 ► testWriteToFile

Failed test found in:
  plugin/target/surefire-reports/TEST-wand555.github.io.FileManagerTest.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.FileManagerTest.setUp(FileManagerTest.java:42)
	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 46 in plugin/src/test/java/wand555/github/io/goals/MobGoalTest.java

See this annotation in the file changed.

@github-actions 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.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.goals.MobGoalTest.setUp(MobGoalTest.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 106 in plugin/src/test/java/wand555/github/io/inventory/CollectedInventoryTest.java

See this annotation in the file changed.

@github-actions github-actions / Maven Tests

wand555.github.io.inventory.CollectedInventoryTest ► testInitialOpen

Failed test found in:
  plugin/target/surefire-reports/TEST-wand555.github.io.inventory.CollectedInventoryTest.xml
Error:
  java.lang.NullPointerException
Raw output
java.lang.NullPointerException
	at java.base/java.util.Objects.requireNonNull(Objects.java:209)
	at wand555.github.io.inventory.CollectedInventoryTest.nonEmptyCollectableSize(CollectedInventoryTest.java:106)
	at wand555.github.io.inventory.CollectedInventoryTest.testInitialOpen(CollectedInventoryTest.java:58)
	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)