/** * Tests Frapi_Action->getFiles() */ public function testGetFiles() { // TODO Auto-generated Frapi_ActionTest->testGetFiles() $this->markTestIncomplete("getFiles test not implemented"); $this->action->getFiles(); }
/** * 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; }
public function testExecuteHead() { $head = $this->_action->executeHead(); $this->assertEquals('meta-data', $head['head']); $this->assertEquals(2, count($head)); }