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

Public Member Functions

 setUp ()
 testBulkUsers ()
 bulkComments ()
 bulkLikes ()
- Public Member Functions inherited from CDbTestCase
 __get ($name)
 __call ($name, $params)
 getFixtureManager ()
 getFixtureData ($name)
 getFixtureRecord ($name, $alias)

Static Public Member Functions

static setUpBeforeClass ()

Public Attributes

 $fixtures
 $bulkController

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 BulkTest.php.

Member Function Documentation

BulkTest::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 23 of file BulkTest.php.

{
$this->bulkController = new BulkController('test');
ob_start();
$this->bulkController->actionClear('all');
$bufferClearResults = ob_get_contents();
ob_end_clean();
preg_match("/Clear complete/", $bufferClearResults, $match);
$this->assertNotEmpty($match, "Clear failed");
}

Member Data Documentation

BulkTest::$fixtures
Initial value:
array(
)

Definition at line 12 of file BulkTest.php.


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