Exemplo n.º 1
0
 /**
  * Tests Frapi_Action->getFiles()
  */
 public function testGetFiles()
 {
     // TODO Auto-generated Frapi_ActionTest->testGetFiles()
     $this->markTestIncomplete("getFiles test not implemented");
     $this->action->getFiles();
 }
Exemplo n.º 2
0
 /**
  * Get Action  Instance
  *
  * Get an install of the context action
  * by it's type.
  *
  * This method will use the Rules to make
  * sure that the type is an allowed type.
  *
  * @see    Frapi_Action::getInstance($type)
  * @param  string $type The type of action to get.
  *
  * @return mixed         Action Instance of the ActionType
  *                       or false if the type is not valid
  */
 protected function getActionInstance($type)
 {
     $this->actionContext = Frapi_Action::getInstance($type);
     return $this->actionContext;
 }
Exemplo n.º 3
0
 public function testExecuteHead()
 {
     $head = $this->_action->executeHead();
     $this->assertEquals('meta-data', $head['head']);
     $this->assertEquals(2, count($head));
 }