Skip to content
Snippets Groups Projects
  1. May 10, 2017
    • Nat Goodspeed's avatar
      Add LLEventThrottle tests; actually *all* lleventfilter.cpp tests. · 9c66072c
      Nat Goodspeed authored
      For some reason there wasn't an entry in indra/llcommon/CMakeLists.txt to run
      the tests in indra/llcommon/tests/lleventfilter_test.cpp. It seems likely that
      at some point it existed, since all previous tests built and ran successfully.
      In any case, (re-)add lleventfilter_test.cpp to the set of llcommon tests.
      Also alphabetize them to make it easier to find a particular test invocation.
      
      Also add new tests for LLEventThrottle.
      
      To support this, refactor the concrete LLEventThrottle class into
      LLEventThrottleBase containing all the tricky logic, with pure virtual
      methods for access to LLTimer and LLEventTimeout, and an LLEventThrottle
      subclass containing the LLTimer and LLEventTimeout instances and corresponding
      implementations of the new pure virtual methods.
      
      That permits us to introduce TestEventThrottle, an alternate subclass with
      dummy implementations of the methods related to LLTimer and LLEventTimeout. In
      particular, we can explicitly advance simulated realtime to simulate
      particular LLTimer and LLEventTimeout behaviors.
      
      Finally, introduce Concat, a test LLEventPump listener class whose function is
      to concatenate received string event data into a composite string so we can
      readily test for particular sequences of events.
      9c66072c
  2. May 04, 2017
  3. Apr 19, 2017
  4. Mar 30, 2017
  5. Mar 29, 2017
  6. Mar 28, 2017
  7. Mar 27, 2017
  8. Mar 24, 2017
  9. Mar 23, 2017
  10. Mar 22, 2017
  11. Mar 21, 2017
  12. Mar 20, 2017
  13. Mar 22, 2017
  14. Mar 20, 2017
  15. Mar 16, 2017
  16. Mar 17, 2017
  17. Mar 16, 2017
  18. Mar 15, 2017
  19. Mar 14, 2017
  20. Mar 13, 2017
  21. Mar 11, 2017
Loading