@@ -1673,10 +1673,10 @@ public void onCompleted() {
16731673 }
16741674
16751675 @ Test (timeout = 1000 )
1676- public void doOnCompleteNormal () {
1676+ public void doOnCompletedNormal () {
16771677 final AtomicInteger calls = new AtomicInteger ();
16781678
1679- Completable c = normal .completable .doOnComplete (new Action0 () {
1679+ Completable c = normal .completable .doOnCompleted (new Action0 () {
16801680 @ Override
16811681 public void call () {
16821682 calls .getAndIncrement ();
@@ -1689,10 +1689,10 @@ public void call() {
16891689 }
16901690
16911691 @ Test (timeout = 1000 )
1692- public void doOnCompleteError () {
1692+ public void doOnCompletedError () {
16931693 final AtomicInteger calls = new AtomicInteger ();
16941694
1695- Completable c = error .completable .doOnComplete (new Action0 () {
1695+ Completable c = error .completable .doOnCompleted (new Action0 () {
16961696 @ Override
16971697 public void call () {
16981698 calls .getAndIncrement ();
@@ -1710,13 +1710,13 @@ public void call() {
17101710 }
17111711
17121712 @ Test (expected = NullPointerException .class )
1713- public void doOnCompleteNull () {
1714- normal .completable .doOnComplete (null );
1713+ public void doOnCompletedNull () {
1714+ normal .completable .doOnCompleted (null );
17151715 }
17161716
17171717 @ 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 () {
17201720 @ Override
17211721 public void call () { throw new TestException (); }
17221722 });
@@ -2469,7 +2469,7 @@ public void subscribe() throws InterruptedException {
24692469
24702470 Completable c = normal .completable
24712471 .delay (100 , TimeUnit .MILLISECONDS )
2472- .doOnComplete (new Action0 () {
2472+ .doOnCompleted (new Action0 () {
24732473 @ Override
24742474 public void call () {
24752475 complete .set (true );
@@ -2489,7 +2489,7 @@ public void subscribeDispose() throws InterruptedException {
24892489
24902490 Completable c = normal .completable
24912491 .delay (200 , TimeUnit .MILLISECONDS )
2492- .doOnComplete (new Action0 () {
2492+ .doOnCompleted (new Action0 () {
24932493 @ Override
24942494 public void call () {
24952495 complete .set (true );
0 commit comments