Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ApalinesTest Class Reference
Inheritance diagram for ApalinesTest:
CDbTestCase

Public Member Functions

 setUp ()
 clearTestRecords ()
 testNewsWithImage ()
 testNewsWithVideo ()
 testNewsWithoutMM ()
 testNewsWithBgNews ()
 testNewsWithoutBgNews ()
 testNewsUpdate ()
 testDeleteNews ()
- Public Member Functions inherited from CDbTestCase
 __get ($name)
 __call ($name, $params)
 getFixtureManager ()
 getFixtureData ($name)
 getFixtureRecord ($name, $alias)

Static Public Member Functions

static setUpBeforeClass ()
static rrmdir ($dir)

Public Attributes

 $fixtures
 $sourcePath
 $workPath
 $contentPath
 $CCRunner

Additional Inherited Members

- Protected Attributes inherited from CDbTestCase
 $fixtures = false

Detailed Description

Created by JetBrains PhpStorm. User: Andrey Date: 5/22/13 Time: 11:26 AM To change this template use File | Settings | File Templates.

Definition at line 10 of file ApalinesTest.php.

Member Function Documentation

ApalinesTest::setUp ( )

Sets up the fixture before executing a test method. If you override this method, make sure the parent implementation is invoked. Otherwise, the database fixtures will not be managed properly.

Reimplemented from CDbTestCase.

Definition at line 27 of file ApalinesTest.php.

{
$this->CCRunner = new CConsoleCommandRunner();
$this->sourcePath = Yii::getPathOfAlias('unit.apalines.content.source');
$this->workPath = Yii::getPathOfAlias('unit.apalines.content.work');
$this->contentPath = Yii::getPathOfAlias('unit.apalines.content');
if (!file_exists($this->workPath)) {
mkdir($this->workPath);
chmod($this->workPath, 0777);
}
$this->clearTestRecords();
}

Member Data Documentation

ApalinesTest::$fixtures
Initial value:
array(
)

Definition at line 12 of file ApalinesTest.php.


The documentation for this class was generated from the following file: