Skip to content

Commit

Permalink
Removes methods that also have a Scheduler parameter version by addin…
Browse files Browse the repository at this point in the history
…g a default Scheduler

- Changes some methods to require parentheses (timestamp, timeInterval)

- Make CompletenessTest fail unit tests

Fixes ReactiveX#40 and ReactiveX#36
  • Loading branch information
Joakim Bodin authored and jbripley committed Oct 9, 2014
1 parent 7b1d202 commit 93196c6
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 448 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ class RxScalaDemo extends JUnitSuite {
}

@Test def timestampExample() {
val timestamped = Observable.interval(100 millis).take(6).timestamp.toBlocking
val timestamped = Observable.interval(100 millis).take(6).timestamp().toBlocking
for ((millis, value) <- timestamped if value > 0) {
println(value + " at t = " + millis)
}
Expand Down Expand Up @@ -1284,7 +1284,7 @@ class RxScalaDemo extends JUnitSuite {
val o = (1 to 10).toObservable
.zip(Observable.interval(100 millis))
.map(_._1)
.timeInterval
.timeInterval()
println(o.toBlocking.toList)
}

Expand Down
Loading

0 comments on commit 93196c6

Please sign in to comment.