| [ Index ] |
PHP Cross Reference of Akelos Framework |
[Source view] [Print]
(no description)
| File Size: | 330 lines (13 kb) |
| Included or required: | 2 times |
| Referenced: | 0 times |
| Includes or requires: | 2 files AkActiveRecord.php AkInstaller.php |
AkUnitTest:: (14 methods):
AkUnitTest()
getTests()
_configure()
_checkIfEnabled()
_loadFixtures()
resetFrameworkDatabaseTables()
installAndIncludeModels()
_reinstallModel()
uninstallAndInstallMigration()
_includeOrGenerateModel()
__fix_for_PHP4()
populateTables()
instantiateModel()
includeAndInstatiateModels()
AkMailerTest:: (1 method):
__construct()
AkWebTestCase:: (2 methods):
assertWantedText()
assertTextMatch()
Class: AkUnitTest - X-Ref
| AkUnitTest($label = false) X-Ref |
| No description |
| getTests() X-Ref |
| Gets a list of test names. Normally that will be all internal methods that start with the name "test". This method should be overridden if you want a different rule. return: array List of test names. |
| _configure() X-Ref |
| No description |
| _checkIfEnabled($file = null) X-Ref |
| No description |
| _loadFixtures($loadFixture = null) X-Ref |
| No description |
| resetFrameworkDatabaseTables() X-Ref |
| No description |
| installAndIncludeModels($models = array() X-Ref |
| Re-installs the table for a given Modelname and includes or even instantiates the Model. Looks in test/fixtures/app/models for the models and in test/fixtures/app/installers for the appropriate installers. If no class-file for Model is found, it generates a dumb one temporarily. For quick and dirty guys, the table can be generated on the fly. see below. examples: installAndIncludeModels('Article'); installAndIncludeModels(array('Article','Comment'=>'id,body')); param: mixed $models |
| _reinstallModel($model, $table_definition = '') X-Ref |
| No description |
| uninstallAndInstallMigration($installer_name) X-Ref |
| No description |
| _includeOrGenerateModel($model_name) X-Ref |
| No description |
| __fix_for_PHP4($model_name) X-Ref |
| No description |
| populateTables() X-Ref |
| No description |
| instantiateModel($model_name) X-Ref |
| No description |
| includeAndInstatiateModels() X-Ref |
| Includes and instantiates given models |
Class: AkMailerTest - X-Ref
Unit tester for your mailers.| __construct() X-Ref |
| No description |
Class: AkWebTestCase - X-Ref
| assertWantedText($text, $message = '%s') X-Ref |
| No description |
| assertTextMatch($text, $message = '%s') X-Ref |
| Asserts only if the whole response matches $text |
| Generated: Mon Oct 27 12:43:49 2008 | Cross-referenced by PHPXref 0.6 |