Class BookshelfGameTests

java.lang.Object
net.darkhax.bookshelf.impl.gametest.BookshelfGameTests

public class BookshelfGameTests extends Object
  • Constructor Details

    • BookshelfGameTests

      public BookshelfGameTests()
  • Method Details

    • generate

      public static Collection<net.minecraft.gametest.framework.TestFunction> generate()
    • testFrom

      public static <T> void testFrom(Collection<net.minecraft.gametest.framework.TestFunction> functions, T testImpl)
      Generates tests from a pre-instantiated instance of a class.
      Type Parameters:
      T - The type of class to load classes from.
      Parameters:
      functions - The collection to register newly generated functions into.
      testImpl - The implementation of the test class.