PHP Class Cassandra\BasicIntegrationTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: datastax/php-driver

Protected Properties

Property Type Description
$ccm CCM Handle for interacting with CCM.
$isClientAuthentication boolean Flag to determine if client authentication should be enabled.
$isSSL boolean Flag to determine if SSL should be enabled.
$isUserDefinedAggregatesFunctions boolean Flag to determine if UDA/UDF functionality should be enabled.
$keyspaceName string Keyspace name being used for the test.
$numberDC1Nodes integer Number of nodes in data center one.
$numberDC2Nodes integer Number of nodes in data center two.
$replicationFactor integer Replication factor override.
$serverVersion string Version of Cassandra/DSE the session is connected to.
$session Cassandra\Session Connected database session.
$tableNamePrefix string Table name prefix being used for the test.

Protected Methods

Method Description
setUp ( ) Setup the database for the integration tests.
tearDown ( ) Teardown the database for the integration tests.

Method Details

setUp() protected method

Setup the database for the integration tests.
protected setUp ( )

tearDown() protected method

Teardown the database for the integration tests.
protected tearDown ( )

Property Details

$ccm protected property

Handle for interacting with CCM.
protected CCM $ccm
return CCM

$isClientAuthentication protected property

Flag to determine if client authentication should be enabled.
protected bool $isClientAuthentication
return boolean

$isSSL protected property

Flag to determine if SSL should be enabled.
protected bool $isSSL
return boolean

$isUserDefinedAggregatesFunctions protected property

Flag to determine if UDA/UDF functionality should be enabled.
protected bool $isUserDefinedAggregatesFunctions
return boolean

$keyspaceName protected property

Keyspace name being used for the test.
protected string $keyspaceName
return string

$numberDC1Nodes protected property

Number of nodes in data center one.
protected int $numberDC1Nodes
return integer

$numberDC2Nodes protected property

Number of nodes in data center two.
protected int $numberDC2Nodes
return integer

$replicationFactor protected property

Replication factor override.
protected int $replicationFactor
return integer

$serverVersion protected property

Version of Cassandra/DSE the session is connected to.
protected string $serverVersion
return string

$session protected property

Connected database session.
protected Session,Cassandra $session
return Cassandra\Session

$tableNamePrefix protected property

Table name prefix being used for the test.
protected string $tableNamePrefix
return string