Class TestTest

java.lang.Object
com.hammy275.immersivemc.test.tests.TestTest
All Implemented Interfaces:
Test

public class TestTest extends Object implements Test
Meta test to ensure a good amount of the test framework works
  • Constructor Details

    • TestTest

      public TestTest()
  • Method Details

    • setup

      public void setup(net.minecraft.server.level.ServerPlayer player)
      Description copied from interface: Test
      Setup method called before every test. This method will always have an empty body in this interface.
      Specified by:
      setup in interface Test
      Parameters:
      player - Player performing tests.
    • testShouldRun

      public String testShouldRun(net.minecraft.server.level.ServerPlayer player)
    • testShouldNotBeCalledProtected

      protected String testShouldNotBeCalledProtected(net.minecraft.server.level.ServerPlayer player)
    • testShouldAlsoRun

      public void testShouldAlsoRun(net.minecraft.server.level.ServerPlayer player)
    • teardown

      public void teardown(net.minecraft.server.level.ServerPlayer player)
      Description copied from interface: Test
      Teardown method called after every test. This method will always have an empty body in this interface. This method will always be called, even with a test failure. However, if a test fails and teardown fails, only the test failure will be logged.
      Specified by:
      teardown in interface Test
      Parameters:
      player - Player performing tests.