Martin Eisengardt
Martin Eisengardt
Maybe the following site helps: https://javax0.wordpress.com/2014/02/26/syntethic-and-bridge-methods/ In JVM level this is done by providing two methods with same signature. They are flagged with modifier "BRIDGE". I noticed that getMethods() returns...
As far as I can see returning a different instance should fit the needs. I do not know why powermock needs it but I will ask the authors. All I...
Clearing internal states can already be done via AfterEach-ExtensionPoint or am I wrong?
I will create an example by trying to rebuild the powermock runner. I already did it locally but ran into multiple problems trying to replace the test instance. Maybe I...
I finally got a working Showcase :-) Classic JUnit 4 variant: https://github.com/mepeisen/xw-nukkit-test/blob/master/src/test/java/eu/xworlds/nukkit/spowermock/Junit4Test.java JUnit5 variant with powermock standalone: https://github.com/mepeisen/xw-nukkit-test/blob/master/src/test/java/eu/xworlds/nukkit/spowermock/JUnit5Test.java And now a Show case where my custom Extension injects "prepareForTest": https://github.com/mepeisen/xw-nukkit-test/blob/master/src/test/java/eu/xworlds/nukkit/servertests/StopCommandTest.java...
This lead to a new question: I now have an Extension (NukkitExtension) that depends on another Extension (PowermockExtension). Currently the test code must ensure that both extensions are loaded and...
> Why do you need two extensions in the first place? I personally do not need both. It is only a show case. I am fine with a single extension...
Instead opening class loader configuration there may be another smart solution: What about delegating not only the test instance creation but the extension creation to a meta-Extension? What I mean...
@OlegDokuka Any news on this topic? Anything the community can help with? Maybe with testing previews?
Resource pack for Unicode-Font: https://github.com/mepeisen/CCraft-Gnu-Unifont/files/1823094/CCraft-Gnu-Unifont.zip Sample lua script: [test.lua.txt](https://github.com/dan200/ComputerCraft/files/1823104/test.lua.txt) Custom build including the patch: [ComputerCraft-1.80pr1.jar.zip](https://github.com/dan200/ComputerCraft/files/1823109/ComputerCraft-1.80pr1.jar.zip) build is based on forge 1.12-14.21.1.2387 Extensions: - A config Option for enabling utf8 automatically...