Class MethodBasedGameTestTest

All Implemented Interfaces:
DynamicTest, Groupable, Test

public class MethodBasedGameTestTest extends AbstractTest.Dynamic
  • Field Details

    • handle

      protected MethodHandle handle
    • method

      private final Method method
    • helperType

      private final Class<? extends net.minecraft.gametest.framework.GameTestHelper> helperType
  • Constructor Details

    • MethodBasedGameTestTest

      public MethodBasedGameTestTest(Method method, Class<? extends net.minecraft.gametest.framework.GameTestHelper> helperType)
  • Method Details

    • init

      public void init(TestFramework framework)
      Description copied from interface: Test
      This method is called when the test is registered to a TestFramework.
      Specified by:
      init in interface Test
      Overrides:
      init in class AbstractTest
      Parameters:
      framework - the framework the test has been registered to