4 Commits
Author SHA1 Message Date
Kogepan229andMartin Robertz 930f22abd9 Separate functional test task (#1280)
Co-authored-by: Martin Robertz <dream-master@gmx.net>
2026-05-20 10:08:39 +02:00
Raven Szewczyk 19676072b8 Enable generics injection & Jabel & code cleanup (#307)
* Enable Jabel and generic injection

* Use RoundingMode enum values

* Use enhanced for loops

* Use diamond operator where appropriate

* Deprecate ChainedIterator

* spotless

* Collapse identical catch blocks

* Use try with resources

* Use List.sort where possible

* Anonymous type->lambda

* Loop -> removeIf

* Simplifiable map operations

* Use enhanced instanceof

* Use enhanced switch

* Use bulk operations

* Use zero-sized arrays in toArray

* Add early exits

* Remove redundant addAll

* Fix missing reflection generic types

* More missed language migration aids

* Redundant type arguments

* Redundant type casts

* Fix compilation errors

* Use Arrays.fill

* Fix some missing generic types
2023-05-02 07:55:33 +02:00
Raven Szewczyk b634b5fb86 Fix the functionalTest sourceset config for RFG 2023-01-29 09:22:27 +00:00
Raven Szewczyk ecbd198e21 Crafting calculator v2 unit tests, api for ae2fc and byproduct bug fixes (#223)
* Add a unittest mod that runs on server start in the dev environment

* Integrate JUnit 5 into functionalTests

* Byte cost adjustment api for ae2fc, fix byproduct refund handling

* Output an XML of the test run for debugging

* Add enough mock wrappers for a simple crafting test with no patterns

* Add processing pattern mocking support and a test for it

* Add mock item storage and tests for crafting with items stored

* Add a test for crafting chests from different log types

* Add a test for a mixed log chest crafting, change report format to more readable legacy xml

* Fix wrong generic argument in registerByteAmountAdjuster

* Add an explanation javadoc of byproduct separation
2023-01-15 15:54:05 +00:00