Basic tests for EventHandler.
authorYedidya Feldblum <yfeldblum@fb.com>
Fri, 10 Oct 2014 19:44:26 +0000 (12:44 -0700)
committerAndrii Grynenko <andrii@fb.com>
Wed, 15 Oct 2014 01:00:06 +0000 (18:00 -0700)
commit4928fe780da82279573a672c10db48be6244da9f
tree44f128045d66f454ae07ffdec2d646a358877fda
parentf429f348e5c986a4595fc98025178769d57c6ca6
Basic tests for EventHandler.

Summary:
[Folly] Basic tests for EventHandler.

Worthwhile adding some tests just for this class since it's rather fundamental. It is already tested indirectly via any number of things that make use of EventBase under the hood, but it's worth having a place for more direct tests.

Test Plan: Unit tests in `folly/io/async/test/EventHandlerTest.cpp`.

Reviewed By: njormrod@fb.com

Subscribers: njormrod, chalfant, dougw

FB internal diff: D1606284
folly/io/async/test/EventHandlerTest.cpp [new file with mode: 0644]