Class EngineExecutionResults

    • Field Detail

      • allEvents

        private final Events allEvents
      • testEvents

        private final Events testEvents
      • containerEvents

        private final Events containerEvents
    • Constructor Detail

      • EngineExecutionResults

        EngineExecutionResults​(java.util.List<Event> events)
        Construct EngineExecutionResults from the supplied list of recorded events.
        Parameters:
        events - the list of events; never null or containing null elements
    • Method Detail

      • all

        @Deprecated
        @API(status=DEPRECATED,
             since="1.6")
        public Events all()
        Deprecated.
        This method will be removed in 1.7; use allEvents() instead.
        Get all recorded events.
      • tests

        @Deprecated
        @API(status=DEPRECATED,
             since="1.6")
        public Events tests()
        Deprecated.
        This method will be removed in 1.7; use testEvents() instead.
        Get recorded events for tests.

        In this context, the word "test" applies to TestDescriptors that return true from TestDescriptor.isTest().

      • filterEvents

        private static java.util.stream.Stream<Event> filterEvents​(java.util.List<Event> events,
                                                                   java.util.function.Predicate<? super TestDescriptor> predicate)
        Filter the supplied list of events using the supplied predicate.