Skip to content
Success

Changes

Summary

  1. Update to Junit5 and allow for mcMMO to be compiled on Java 16 (#4552) (commit: e35bfe7) (details)
Commit e35bfe758c9cc82f899401d5cfacf3d26737d6c7 by github
Update to Junit5 and allow for mcMMO to be compiled on Java 16 (#4552)

* Updated all unit tests to Junit5 and removed Powermock

* Some formatting

* I did not mean to commit this file

* Fixed file ending

* We don't need these extra dependencies

* Replaced delegate with Junit5 assertThrows

* Revert this change

* Re-add mockito-core

* A bit more refactoring

* Update surefire and remove failsafe

* Updated Mockito

* Add failsafe back

* Bump Mockito to 3.11.2

They literally just released that.
(commit: e35bfe7)
The file was modified src/test/java/com/gmail/nossr50/datatypes/BlockLocationHistoryTest.java (diff)
The file was modified src/test/java/com/gmail/nossr50/database/flatfile/FlatFileDataUtilTest.java (diff)
The file was modified src/test/java/com/gmail/nossr50/database/FlatFileDataProcessorTest.java (diff)
The file was modified src/test/java/com/gmail/nossr50/database/FlatFileDatabaseManagerTest.java (diff)
The file was modified src/test/java/com/gmail/nossr50/util/blockmeta/ChunkStoreTest.java (diff)
The file was modified src/test/java/com/gmail/nossr50/util/text/TextUtilsTest.java (diff)
The file was modified pom.xml (diff)