@@ -1673,10 +1673,10 @@ public void onCompleted() {
1673
1673
}
1674
1674
1675
1675
@ Test (timeout = 1000 )
1676
- public void doOnCompleteNormal () {
1676
+ public void doOnCompletedNormal () {
1677
1677
final AtomicInteger calls = new AtomicInteger ();
1678
1678
1679
- Completable c = normal .completable .doOnComplete (new Action0 () {
1679
+ Completable c = normal .completable .doOnCompleted (new Action0 () {
1680
1680
@ Override
1681
1681
public void call () {
1682
1682
calls .getAndIncrement ();
@@ -1689,10 +1689,10 @@ public void call() {
1689
1689
}
1690
1690
1691
1691
@ Test (timeout = 1000 )
1692
- public void doOnCompleteError () {
1692
+ public void doOnCompletedError () {
1693
1693
final AtomicInteger calls = new AtomicInteger ();
1694
1694
1695
- Completable c = error .completable .doOnComplete (new Action0 () {
1695
+ Completable c = error .completable .doOnCompleted (new Action0 () {
1696
1696
@ Override
1697
1697
public void call () {
1698
1698
calls .getAndIncrement ();
@@ -1710,13 +1710,13 @@ public void call() {
1710
1710
}
1711
1711
1712
1712
@ Test (expected = NullPointerException .class )
1713
- public void doOnCompleteNull () {
1714
- normal .completable .doOnComplete (null );
1713
+ public void doOnCompletedNull () {
1714
+ normal .completable .doOnCompleted (null );
1715
1715
}
1716
1716
1717
1717
@ Test (timeout = 1000 , expected = TestException .class )
1718
- public void doOnCompleteThrows () {
1719
- Completable c = normal .completable .doOnComplete (new Action0 () {
1718
+ public void doOnCompletedThrows () {
1719
+ Completable c = normal .completable .doOnCompleted (new Action0 () {
1720
1720
@ Override
1721
1721
public void call () { throw new TestException (); }
1722
1722
});
@@ -2469,7 +2469,7 @@ public void subscribe() throws InterruptedException {
2469
2469
2470
2470
Completable c = normal .completable
2471
2471
.delay (100 , TimeUnit .MILLISECONDS )
2472
- .doOnComplete (new Action0 () {
2472
+ .doOnCompleted (new Action0 () {
2473
2473
@ Override
2474
2474
public void call () {
2475
2475
complete .set (true );
@@ -2489,7 +2489,7 @@ public void subscribeDispose() throws InterruptedException {
2489
2489
2490
2490
Completable c = normal .completable
2491
2491
.delay (200 , TimeUnit .MILLISECONDS )
2492
- .doOnComplete (new Action0 () {
2492
+ .doOnCompleted (new Action0 () {
2493
2493
@ Override
2494
2494
public void call () {
2495
2495
complete .set (true );
0 commit comments