PHP Class Cassandra\UuidTest

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

Public Methods

Method Description
equalTypes ( )
notEqualTypes ( )
testCompareEquals ( $value1, $value2 )
testCompareNotEquals ( $value1, $value2 )
testGeneratesUniqueUuids ( )
testUniqueInChild ( ) Ensure UUIDs are unique for fork/child processes

Method Details

equalTypes() public method

public equalTypes ( )

notEqualTypes() public method

public notEqualTypes ( )

testCompareEquals() public method

public testCompareEquals ( $value1, $value2 )

testCompareNotEquals() public method

public testCompareNotEquals ( $value1, $value2 )

testGeneratesUniqueUuids() public method

testUniqueInChild() public method

This test will ensure that the PHP driver is producing unique UUIDs for all child processes that get created during fork() operations in web servers (e.g. Apache, nginx, ...etc).
public testUniqueInChild ( )