@@ -441,9 +441,23 @@ public function _testOpen($loop, $adapter, $invoker)
441441
442442 public function testExecuteDelayedCall ()
443443 {
444- $ loop = $ this ->getMock ('React\EventLoop\StreamSelectLoop ' , [
445- 'futureTick ' ,
444+ $ loop = $ this ->getMock ('React\EventLoop\LoopInterface ' , [
446445 'addReadStream ' ,
446+ 'addWriteStream ' ,
447+ 'removeReadStream ' ,
448+ 'removeWriteStream ' ,
449+ 'removeStream ' ,
450+ 'addTimer ' ,
451+ 'addPeriodicTimer ' ,
452+ 'cancelTimer ' ,
453+ 'isTimerActive ' ,
454+ 'nextTick ' ,
455+ 'futureTick ' ,
456+ 'tick ' ,
457+ 'run ' ,
458+ 'stop ' ,
459+ 'addSignal ' ,
460+ 'removeSignal ' ,
447461 ]);
448462
449463 $ filesystem = new Adapter ($ loop );
@@ -486,9 +500,23 @@ public function testExecuteDelayedCall()
486500
487501 public function testExecuteDelayedCallFailed ()
488502 {
489- $ loop = $ this ->getMock ('React\EventLoop\StreamSelectLoop ' , [
490- 'futureTick ' ,
503+ $ loop = $ this ->getMock ('React\EventLoop\LoopInterface ' , [
491504 'addReadStream ' ,
505+ 'addWriteStream ' ,
506+ 'removeReadStream ' ,
507+ 'removeWriteStream ' ,
508+ 'removeStream ' ,
509+ 'addTimer ' ,
510+ 'addPeriodicTimer ' ,
511+ 'cancelTimer ' ,
512+ 'isTimerActive ' ,
513+ 'nextTick ' ,
514+ 'futureTick ' ,
515+ 'tick ' ,
516+ 'run ' ,
517+ 'stop ' ,
518+ 'addSignal ' ,
519+ 'removeSignal ' ,
492520 ]);
493521
494522 $ filesystem = new Adapter ($ loop );
@@ -529,9 +557,23 @@ public function testExecuteDelayedCallFailed()
529557
530558 public function testExecuteDelayedCallFailedResult ()
531559 {
532- $ loop = $ this ->getMock ('React\EventLoop\StreamSelectLoop ' , [
533- 'futureTick ' ,
560+ $ loop = $ this ->getMock ('React\EventLoop\LoopInterface ' , [
534561 'addReadStream ' ,
562+ 'addWriteStream ' ,
563+ 'removeReadStream ' ,
564+ 'removeWriteStream ' ,
565+ 'removeStream ' ,
566+ 'addTimer ' ,
567+ 'addPeriodicTimer ' ,
568+ 'cancelTimer ' ,
569+ 'isTimerActive ' ,
570+ 'nextTick ' ,
571+ 'futureTick ' ,
572+ 'tick ' ,
573+ 'run ' ,
574+ 'stop ' ,
575+ 'addSignal ' ,
576+ 'removeSignal ' ,
535577 ]);
536578
537579 $ filesystem = new Adapter ($ loop );
@@ -572,9 +614,23 @@ public function testExecuteDelayedCallFailedResult()
572614
573615 public function testUnregister ()
574616 {
575- $ loop = $ this ->getMock ('React\EventLoop\StreamSelectLoop ' , [
576- 'futureTick ' ,
617+ $ loop = $ this ->getMock ('React\EventLoop\LoopInterface ' , [
618+ 'addReadStream ' ,
619+ 'addWriteStream ' ,
577620 'removeReadStream ' ,
621+ 'removeWriteStream ' ,
622+ 'removeStream ' ,
623+ 'addTimer ' ,
624+ 'addPeriodicTimer ' ,
625+ 'cancelTimer ' ,
626+ 'isTimerActive ' ,
627+ 'nextTick ' ,
628+ 'futureTick ' ,
629+ 'tick ' ,
630+ 'run ' ,
631+ 'stop ' ,
632+ 'addSignal ' ,
633+ 'removeSignal ' ,
578634 ]);
579635
580636 $ filesystem = $ this ->getMock ('React\Filesystem\Eio\Adapter ' , [
@@ -625,8 +681,23 @@ public function testUnregister()
625681
626682 public function testUnregisterInactive ()
627683 {
628- $ loop = $ this ->getMock ('React\EventLoop\StreamSelectLoop ' , [
684+ $ loop = $ this ->getMock ('React\EventLoop\LoopInterface ' , [
685+ 'addReadStream ' ,
686+ 'addWriteStream ' ,
629687 'removeReadStream ' ,
688+ 'removeWriteStream ' ,
689+ 'removeStream ' ,
690+ 'addTimer ' ,
691+ 'addPeriodicTimer ' ,
692+ 'cancelTimer ' ,
693+ 'isTimerActive ' ,
694+ 'nextTick ' ,
695+ 'futureTick ' ,
696+ 'tick ' ,
697+ 'run ' ,
698+ 'stop ' ,
699+ 'addSignal ' ,
700+ 'removeSignal ' ,
630701 ]);
631702
632703 $ filesystem = $ this ->getMock ('React\Filesystem\Eio\Adapter ' , [
0 commit comments