Fixing #138
[akelos.git] / test / unit / lib / AkActionView / helpers / _HelpersUnitTester.php
blobff22a3506e7adf45589ef22285512de94643d413
1 <?php
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; }
15 class AkTestCountry {
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;