コード例 #1
0
ファイル: CallbackTaskTest.php プロジェクト: Aleksel/doorman
 /**
  * @inheritdoc
  */
 public function setUp()
 {
     parent::setUp();
     $this->task = new CallbackTask(function () {
         return "hello world";
     });
 }
コード例 #2
0
 /**
  * @inheritdoc
  */
 public function setUp()
 {
     parent::setUp();
     $this->task = new ProcessCallbackTask(function () {
         return;
     });
 }
コード例 #3
0
ファイル: InMemoryRulesTest.php プロジェクト: Aleksel/doorman
 /**
  * @inheritdoc
  */
 public function setUp()
 {
     parent::setUp();
     $this->rules = new InMemoryRules();
 }
コード例 #4
0
ファイル: ShellManagerTest.php プロジェクト: jmolivas/doorman
 /**
  * @inheritdoc
  */
 public function tearDown()
 {
     $this->manager = null;
     parent::tearDown();
 }
コード例 #5
0
ファイル: InMemoryRuleTest.php プロジェクト: Aleksel/doorman
 /**
  * @inheritdoc
  */
 public function setUp()
 {
     parent::setUp();
     $this->shell = new BashShell();
 }
コード例 #6
0
 /**
  * @inheritdoc
  */
 public function setUp()
 {
     parent::setUp();
     $this->rule = new InMemoryProfile();
 }
コード例 #7
0
 /**
  * @inheritdoc
  */
 public function tearDown()
 {
     $this->handler = null;
     parent::tearDown();
 }
コード例 #8
0
 /**
  * @inheritdoc
  */
 public function setUp()
 {
     parent::setUp();
     $this->handler = new CallbackHandler();
 }
コード例 #9
0
 /**
  * @inheritdoc
  */
 public function setUp()
 {
     parent::setUp();
     $this->manager = new ProcessManager();
 }
コード例 #10
0
 /**
  * @inheritdoc
  */
 public function setUp()
 {
     parent::setUp();
     $this->manager = new SynchronousManager();
 }
コード例 #11
0
ファイル: SimpleTaskTest.php プロジェクト: jmolivas/doorman
 /**
  * @inheritdoc
  */
 public function tearDown()
 {
     $this->task = null;
     parent::tearDown();
 }