예제 #1
0
 public function ok()
 {
     if ($this->theMessage == "load jamed") {
         MusicPlayer::stop();
     }
     PHPFIT_Fixture_Action::$actor = $this->caller;
 }
예제 #2
0
 public static function failLoadJam()
 {
     PHPFIT_Fixture_Action::$actor = new Dialog("load jamed", PHPFIT_Fixture_Action::$actor);
 }
예제 #3
0
 /**
  * Implements start fixture
  *
  * Start aClass - Subsequent commands are directed to an instance of
  * aClass. This is similar to navigating to a particular GUI screen.
  *
  */
 public function start()
 {
     $aClass = $this->cells->more->text();
     self::$actor = $this->loadFixture($aClass);
 }