Skip to content
Snippets Groups Projects
  1. May 10, 2017
    • Nat Goodspeed's avatar
      Add size limit to LLEventBatchThrottle like LLEventBatch. · 4d87ded8
      Nat Goodspeed authored
      The new behavior is that it will flush when either the pending batch has grown
      to the specified size, or the time interval has expired.
      4d87ded8
    • 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. Mar 24, 2017
  3. Mar 23, 2017
  4. Apr 22, 2016
  5. Nov 10, 2015
  6. Mar 29, 2013
  7. Oct 13, 2010
  8. Sep 21, 2010
  9. Aug 13, 2010
  10. May 11, 2009
Loading