Enum Class TestCase

java.lang.Object
java.lang.Enum<TestCase>
io.github.thebusybiscuit.slimefun4.core.debug.TestCase
All Implemented Interfaces:
Serializable, Comparable<TestCase>, Constable

public enum TestCase extends Enum<TestCase>
Test cases in Slimefun. These are very useful for debugging why behavior is happening. Server owners can enable these with /sf debug <test-case>
Author:
WalshyDev
  • Enum Constant Details

    • CARGO_INPUT_TESTING

      public static final TestCase CARGO_INPUT_TESTING
      Cargo input testing. This will log what is going on with CARGO_INPUT_NODEs so that we can see what items are. being checked and why it is comparing IDs or meta. This is helpful for us to check into why input nodes are taking a while for servers.
    • PLAYER_PROFILE_DATA

      public static final TestCase PLAYER_PROFILE_DATA
      Debug information regarding player profile loading, saving and handling. This is an area we're currently changing quite a bit and this will help ensure we're doing it safely
    • ANALYTICS

      public static final TestCase ANALYTICS
      Debug information regarding our AnalyticsService.
  • Field Details

    • VALUES_LIST

      public static final List<String> VALUES_LIST
  • Method Details

    • values

      public static TestCase[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TestCase valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Enum<TestCase>