Interface TestEvent

All Known Implementing Classes:
AfterBatchRan, AssertionFailed, BeforeBatchRan, BusInserted, CleanroomEfficiencyChanged, EUBufferOverflow, EUSupplyJobRegistered, EventOverflow, HatchFilled, HatchVoltageMismatch, IsolationViolation, MachineDeformed, MachineDisabled, MachineExploded, MachineFormed, MaintenanceFixed, MaintenanceIssueAppeared, PollutionEmitted, ProgrammedCircuitSet, RecipeAborted, RecipeFinished, RecipeNotFound, RecipeProgressed, RecipeStarted, SequenceStepFinished, SequenceStepStarted, StructureCheckRan, StructurePlaced, TestFinished, TestRecipeInjected, TestRecipeRemoved, TestStarted, TickCallbackStateChanged, WarpFinished, WarpStarted

public interface TestEvent
Ordered, typed entry in an EventLog. Records exposing TestEvent carry the structured payload as their own record components; this interface only contributes the fields that every reporter needs: a monotonic logical tick, a coarse category for filtering, and a one-line summary suitable for direct inclusion in a JUnit <system-out> block, status JSON output array, or console tail.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Category constants.
  • Method Summary

    Modifier and Type
    Method
    Description
    Coarse bucket; one of TestEvent.Category.
    Single-line human-readable description.
    int
    Logical tick when this event was recorded — ticks of simulated machine time since test start.
  • Method Details

    • tick

      int tick()
      Logical tick when this event was recorded — ticks of simulated machine time since test start.
    • category

      String category()
      Coarse bucket; one of TestEvent.Category.
    • summary

      String summary()
      Single-line human-readable description. Reporters print this verbatim.