summaryrefslogtreecommitdiff
path: root/Rx/v2/test/operators
AgeCommit message (Collapse)Author
2018-08-10Merge remote-tracking branch 'upstream-master' into masterIgor Murashkin
Change-Id: I50eb4a662df62db5d494601c99db09ceb78603fa
2018-08-09Rx: Add support for compiling code without exceptions (-fno-exceptions)Igor Murashkin
std::exception_ptr usage is replaced with rxcpp::util::error_ptr which will typedef to std::exception_ptr when exceptions are enabled. When exceptions are disabled this will typedef to an internal error type that can retain the "what" error message. Additionally std::current_exception() and similar usages are replaced with rxu::current_exception which uses error_ptr instead. Lastly all try/catch/throw keywords are replaced with either RXCPP_TRY, RXCPP_CATCH, rxu::throw_exception or similar. Note that try/catch/throw keywords cause a compilation error with -fno-exceptions. Trying to access most of the std::*exception* functions will call std::terminate at runtime. Tests using exceptions must be disabled by passing --nothrow to the check2 test runner. Change-Id: I0b95ae2e323653a17c3b733d165ecf87a014c315
2018-08-09Minor compilation/test fixes for compiling on androidIgor Murashkin
Change-Id: Id623455d32e9323355744a240c2813d0411d1dac
2018-08-05fix blocking_observable::subscribeKirk Shoop
removes spinning from blocking submit. ran all perf tests on osx without issue. should fix #430 and help with #451
2018-07-10adding test for nocompare observe_on (#448)Kirk Shoop
* adding test for nocompare observe_on notification uses SFINAE to compile for value_types that do not have operator== * use as_dynamic to avoid vc 2013 bug
2017-12-13Add: Skip_while operator (#418)Martin Kodovský
* #378 adding skip_while operator * #378 adding tests + fixing CMakeLists.txt * #378 test completion * #378 fix includes * #378 fix assignment in a condition * #378 fix assignment in a condition 2
2017-12-09Add rx-merge-delay-error operator (#417)Martin Kodovský
* Add rx-merge-delay-error operator * fix of msvc2013 compilation * fix #417 comments Added RXCPP_NOEXCEPT macro; Added doxygen scenarios for composite_exception and merge_delay_error; Fixed composing exception in merge_delay_error operator; Modified test for merge_delay_operator * #417 fix composite_exception example * #417 fix merge_delay_error doxygen example * fix: samples add among others in project doxygen CMakeLists.txt * fix: composite_exception.cpp example
2017-09-13remove unused localKirk Shoop
2017-09-13Fix clang-trunk -Wunused-lambda-capture warningsEric Niebler
2017-07-14fix timeout when no items are emitted (#387)Grigoriy Chudnov
2017-04-10fix async lifetime in window_toggle (#372)Kirk Shoop
2017-02-24Retry operator argument semantics fix (#362)elelel
* Fix retry operator's argument semantics * Rephrase comments in tries parameter desc
2017-02-23Retry(0)/Retry() operator fix (#358)elelel
* Change retry description to conform with other Rx implementations * Retry operator common state * Repeat operator: finite case * Retry operator: infinite case * Fix misc dev-stage errors * Retry: tests and fixes
2017-02-20Rewrite repeat operator to handle 0 case correctly and not rely on magic ↵elelel
numbers (#356) * Sketch interface for finite/inifinite variants * CRTP deriving finite/infinite from base * Fully rewrite repeat implementation * Fix description and comments in repeat * Test repeat(0) case * Make 0 handling with completion when the input sequence complete * Return immidiately empty sequence instead on first on_completed * Return immidiately empty sequence instead on first on_completed * Update param description for repeat 0 case * repeat(0): never call on.next(), but call on.completed() * Test: no subscriptions are made when repeat(0)
2017-02-03move sources docs out of observableKirk Shoop
shift tests to include aliases
2017-01-28decouple ref_count from connectable_observableGrigoriy Chudnov
2017-01-27decouple connect_forever from connectable_observableGrigoriy Chudnov
2017-01-26decouple publish, publish_synchronized, multicast from observable (#338)Grigoriy Chudnov
* decouple publish, publish_synchronized, multicast from observable * decouple publish, publish_synchronized, multicast from observable - restore include structure
2017-01-24decouple replay from observableGrigoriy Chudnov
2017-01-24decouple observe_on from observable (#335)Grigoriy Chudnov
* decouple observe_on from observable * decouple observe_on from observable - fix msvc
2017-01-22decouple subscribe_on from observableGrigoriy Chudnov
2017-01-21decouple start_with from observableGrigoriy Chudnov
2017-01-19decouple flat_map from observableGrigoriy Chudnov
2017-01-18decouple concat_map from observableGrigoriy Chudnov
2017-01-17decouple switch_on_next from observableGrigoriy Chudnov
2017-01-16decouple switch_if_empty, default_if_empty from observable (#329)Grigoriy Chudnov
* decouple switch_if_empty, default_if_empty from observable * decouple switch_if_empty, default_if_empty from observable - fix compile errors * decouple switch_if_empty, default_if_empty from observable - fix ref * decouple switch_if_empty, default_if_empty from observable - fix msvc2013
2017-01-13decouple tap from observable (#328)Grigoriy Chudnov
* decouple tap from observable * decouple tap from observable - fix clang
2017-01-12decouple concat from observableGrigoriy Chudnov
2017-01-11decouple scan from observable (#323)Grigoriy Chudnov
* decouple scan from observable * fix redefinition bug
2017-01-10decouple window_toggle from observableGrigoriy Chudnov
2017-01-09exposed to_time_point on the test schedulerGrigoriy Chudnov
2017-01-09decouple skip_until from observableGrigoriy Chudnov
2017-01-08decouple skip_last from observableGrigoriy Chudnov
2017-01-07decouple take_until from observableGrigoriy Chudnov
2017-01-06decouple take_last from observableGrigoriy Chudnov
2017-01-05decouple merge from observableGrigoriy Chudnov
2017-01-04decouple sample_with_time from observableGrigoriy Chudnov
2017-01-02decouple window_with_time_or_count from observable (#314)Grigoriy Chudnov
* decouple window_with_time_or_count from observable * struct rename
2017-01-01decouple window_with_time from observableGrigoriy Chudnov
2016-12-31decouple window from observableGrigoriy Chudnov
2016-12-30decouple buffer_with_time_or_count from observableGrigoriy Chudnov
2016-12-30decouple skip from observableRafał Borowiak
2016-12-30decouple buffer_with_time from observableGrigoriy Chudnov
2016-12-29decouple buffer from observableGrigoriy Chudnov
2016-12-29decouple take from observableGrigoriy Chudnov
2016-12-29decouple timeout from observable (#304)Grigoriy Chudnov
* decouple timeout from observable * fix bad merge
2016-12-28decouple time_interval from observableGrigoriy Chudnov
2016-12-26decouple timestamp from observableGrigoriy Chudnov
2016-12-24decouple amb from observable (#300)Grigoriy Chudnov
* decouple amb from observable * refactoring to remove redundant dependencies
2016-12-22decouple repeat from observable (#298)Grigoriy Chudnov
* decouple repeat from observable * fix msvc