コード例 #1
0
 public function testEC2TailCommandArguments()
 {
     $args = CommandRules::getEC2TailCommandArguments();
     $this->assertEquals(CommandRules::INSTANCE_ID, $args[0][0]);
     $this->assertEquals(InputArgument::REQUIRED, $args[0][1]);
     $this->assertEquals(CommandRules::LOGFILE, $args[1][0]);
     $this->assertEquals(InputArgument::REQUIRED, $args[1][1]);
 }
コード例 #2
0
 protected function getArguments()
 {
     return CommandRules::getEC2TailCommandArguments();
 }