Class Group

java.lang.Object
net.neoforged.testframework.group.Group
All Implemented Interfaces:
Groupable

public final class Group extends Object implements Groupable
  • Field Details

    • id

      private final String id
    • entries

      private final List<Groupable> entries
    • title

      private Component title
    • enabledByDefault

      private boolean enabledByDefault
  • Constructor Details

  • Method Details

    • id

      public String id()
    • entries

      public List<Groupable> entries()
    • isEnabledByDefault

      public boolean isEnabledByDefault()
    • setEnabledByDefault

      public void setEnabledByDefault(boolean enabledByDefault)
    • title

      public Component title()
    • setTitle

      public void setTitle(@Nullable @Nullable Component title)
    • getDefaultTitle

      public Component getDefaultTitle()
    • resolveAsStream

      public Stream<Test> resolveAsStream()
      Description copied from interface: Groupable
      Resolves all tests in this groupable element as a Stream.
      Specified by:
      resolveAsStream in interface Groupable
      Returns:
      all tests as a stream
    • add

      public void add(Groupable entry)