Commit Graph

988 Commits

Author SHA1 Message Date
Krunoslav Zaher 86ff70b259 Packages `RxTests` changes. 2015-12-28 02:47:37 +01:00
Krunoslav Zaher 419a057fa9 Hides `HotObservable` and `ColdObservable` behind `TestableObservable`. Renames `MockObserver` to `TestableObserver`. 2015-12-28 02:46:18 +01:00
Krunoslav Zaher 9a732086ef Removes tests that are crashing compiler on Linux. 2015-12-28 02:20:23 +01:00
Krunoslav Zaher 95dea91c73 Small fixes for Linux. 2015-12-27 17:07:13 -08:00
Krunoslav Zaher f948e46800 Cleans up run loop code in tests. 2015-12-28 01:59:00 +01:00
Krunoslav Zaher f2be26e95c Updates Swift package. 2015-12-28 01:55:26 +01:00
Krunoslav Zaher aa7a521244 More unit tests for `VirtualTimeScheduler` and `HistoricalScheduler`. 2015-12-28 01:46:45 +01:00
Krunoslav Zaher e4a837ab1e Merge pull request #360 from sergdort/rx_text_bug_#333
Fixes regarding UITextField rx_text autocorrection bug #333
2015-12-28 01:27:41 +01:00
Krunoslav Zaher bbf42c0957 Fixes problems with exposing `AtomicInt` and fixes deprecated scheduler warnings. 2015-12-28 01:24:33 +01:00
Krunoslav Zaher 9d4d93b474 Adds unit tests for `VirtualTimeScheduler` and `HistoricScheduler`. 2015-12-28 01:24:33 +01:00
Krunoslav Zaher cadd4c02d7 Makes `TestScheduler` subclass of `VirtualTimeScheduler`. 2015-12-28 01:24:33 +01:00
Krunoslav Zaher a263a3ceb6 Makes `AtomicInt` public when tracking resources. 2015-12-28 01:24:33 +01:00
Krunoslav Zaher 3868268f44 Deprecates `sharedInstance` on `ConcurrentMainScheduler` in favor of `instance`. 2015-12-28 01:24:33 +01:00
Krunoslav Zaher 62b25c538d `Driver` now picks scheduler from static variable. 2015-12-28 01:24:33 +01:00
Krunoslav Zaher 9712c6d45c Changes infinite sequence to struct. 2015-12-28 01:24:33 +01:00
Krunoslav Zaher 578f270252 Makes resource counting logic cross platform. 2015-12-28 01:24:32 +01:00
Krunoslav Zaher b10a0cc3d7 Moves `VirtualTimeScheduler` to RxSwift. 2015-12-28 01:24:32 +01:00
Krunoslav Zaher c54521fb08 Adds `PriorityQueue`. 2015-12-28 01:24:32 +01:00
Krunoslav Zaher 388ebac8cd Deprecates `MainThreadScheduler.sharedInstance` in favor of `MainThreadScheduler.instance`. Adds unit tests for `CurrentThreadScheduler` and `MainThreadScheduler`. 2015-12-28 01:24:32 +01:00
Krunoslav Zaher 4cc8c0f49a Merge pull request #362 from sendyhalim/patch-1
Update comment
2015-12-28 01:14:23 +01:00
Sendy Halim dab4a196bc Update comment 2015-12-28 00:50:22 +07:00
Krunoslav Zaher bbd2c37e95 Adds named parameter `start` to `range` and `initialState` to `generate`. 2015-12-27 13:17:37 +01:00
Krunoslav Zaher a54b6fbbc2 Adds default value for `repeatElement` scheduler parameter. 2015-12-27 12:53:39 +01:00
Krunoslav Zaher 65ba8df6d8 Returns XCTest+Rx to RxTests target. 2015-12-27 02:25:21 +01:00
Krunoslav Zaher 37d1cb8db0 Fixes `RxTests` compilation with Swift Package Manager. 2015-12-27 02:19:36 +01:00
Krunoslav Zaher 4238573c5a Removes `RxCocoa` from package. 2015-12-27 01:41:28 +01:00
Krunoslav Zaher 3f37013e44 Temporary removes `retryWhen` from unit tests on Linux. 2015-12-27 01:22:05 +01:00
Krunoslav Zaher 8a38f39444 Adds test `main.swift` generator on Linux. 2015-12-27 01:12:36 +01:00
sshulga 8a15b92236 Fixes regarding UITextField rx_text autocorrection bug #333 2015-12-26 22:07:05 +02:00
Krunoslav Zaher 08eb41e082 Adds platform specific files to RxExample-no-module. 2015-12-26 05:08:32 +01:00
Krunoslav Zaher 09e9abf2b7 Fixes problem compiling 'CurrentThreadScheduler'. 2015-12-25 19:58:58 -08:00
Krunoslav Zaher aa89d2f7d4 Adds RxMutableBox to Source AllTests. 2015-12-26 04:57:55 +01:00
Krunoslav Zaher 22b9de44c0 Removes RxCocoaTests links from Sources. 2015-12-26 04:50:32 +01:00
Krunoslav Zaher e3df171b3f Fixes build for Darwin. 2015-12-26 04:47:04 +01:00
Krunoslav Zaher b5dbdc452c RxTests compiles first time on Linux. 2015-12-25 19:32:52 -08:00
Krunoslav Zaher a982be0942 RxSwift compiles first time on Linux. 2015-12-25 19:29:39 -08:00
Krunoslav Zaher 4651df2317 Adds initial version of Swift package manager. 2015-12-26 02:28:27 +01:00
Krunoslav Zaher f26167e10a Adds initial `Package.swift`. 2015-12-26 00:44:45 +01:00
Krunoslav Zaher d377f61794 Linux fixes. 2015-12-25 23:33:25 +01:00
Krunoslav Zaher e2819880f0 Linux porting changes. 2015-12-25 22:31:58 +01:00
Krunoslav Zaher 78c83fdaad Moves extensions from `RxTest` file. 2015-12-25 22:14:59 +01:00
Krunoslav Zaher 839239f7dd Adds Linux support to RxTest. 2015-12-25 21:48:18 +01:00
Krunoslav Zaher 75a528ea6d Replaces spin lock with expectation mechanism, removes C style for loop, error comparison reuses logic from event comparison. 2015-12-25 21:43:05 +01:00
Krunoslav Zaher e1a2daa0a5 Removes C style for loops. 2015-12-25 20:59:52 +01:00
Krunoslav Zaher 5bff7acc44 Removes spin lock from unit tests. 2015-12-25 20:55:52 +01:00
Krunoslav Zaher bee92f9700 Cleanup. 2015-12-25 20:30:40 +01:00
Krunoslav Zaher f183ac08e0 Moves `Driver` tests from RxSwift tests to RxCocoa tests. 2015-12-25 18:34:55 +01:00
Krunoslav Zaher 9cae95d3ef Fixes Swift 2.2 warnings. 2015-12-25 12:50:42 +01:00
Krunoslav Zaher 0a864f1f0c Fixes `Debug` operator Linux issues. 2015-12-25 11:58:55 +01:00
Krunoslav Zaher 56847dd7f9 Fixes storyboard warnings. 2015-12-24 20:26:45 +01:00