3 require_once(dirname(__FILE__
).'/../../../../fixtures/config/config.php');
5 require_once(AK_LIB_DIR
.DS
.'AkActiveRecord.php');
6 require_once(AK_LIB_DIR
.DS
.'AkActionController.php');
8 require_once(AK_LIB_DIR
.DS
.'AkActionView'.DS
.'AkActionViewHelper.php');
10 class AkTestContinent
{
11 function AkTestContinent($p_name, $p_countries){ $this->continent_name
= $p_name; $this->countries
= $p_countries;}
12 function getContinentName(){ return $this->continent_name
; }
13 function getCountriesCollection(){ return $this->countries
; }
16 function AkTestCountry($id, $name){ $this->id
= $id; $this->name
= $name; }
17 function getCountryId(){ return $this->id
; }
18 function getCountryName(){ return $this->name
;}
22 Stub
::generate('AkActiveRecord');
23 Stub
::generate('AkActionController');
25 class HelpersUnitTester
extends AkUnitTest
28 function HelpersUnitTester()
30 $this->testing_url_path
= AK_ASSET_URL_PREFIX
;