PHP Class Cassandra\TupleIntegrationTest

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

Public Methods

Method Description
testCompositeTypes ( $type, $value ) Tuples with composite types
testEmpty ( $type, $value ) Bind statment with a empty tuples
testInvalidType ( ) Invalid datatypes for tuples.
testMultipleComponents ( $type, $value ) Tuples with multiple components
testNestedTypes ( $type, $value ) Tuples with nested composite types
testNull ( ) Bind statement with an null tuple
testPartial ( ) Partial tuple
testScalarTypes ( $type, $value ) Tuples using scalar/simple datatypes
testUserType ( ) Tuple using a nested user type.
tupleWithCompositeTypes ( ) Data provider for tuples with composite types
tupleWithMultipleComponents ( ) Data provider for tuples with multiple components
tupleWithMultipleEmptyComponents ( ) Data provider for tuples with multiple components and no values
tupleWithNestedTypes ( ) Data provider for tuples with nested composite types
tupleWithScalarTypes ( ) Data provider for tuples with scalar types

Method Details

testCompositeTypes() public method

This test ensures that tuples work with other collections and other composite types such as UDTs and tuples.
public testCompositeTypes ( $type, $value )

testEmpty() public method

Bind statment with a empty tuples
public testEmpty ( $type, $value )

testInvalidType() public method

This test will ensure that an exception will occur when an invalid datatype is used inside a tuple; issues from the server.
public testInvalidType ( )

testMultipleComponents() public method

Tuples with multiple components
public testMultipleComponents ( $type, $value )

testNestedTypes() public method

This test ensures that tuples work with other nested collections and other nested composite types such as UDTs and tuples.
public testNestedTypes ( $type, $value )

testNull() public method

Bind statement with an null tuple
public testNull ( )

testPartial() public method

This test will ensure that partial tuples return the correct value.
public testPartial ( )

testScalarTypes() public method

This test will ensure that the PHP driver supports the tuples collection with all PHP driver supported scalar/simple datatypes.
public testScalarTypes ( $type, $value )

testUserType() public method

This test will ensure that the PHP driver supports the tuples collection with user types.
public testUserType ( )

tupleWithCompositeTypes() public method

Data provider for tuples with composite types

tupleWithMultipleComponents() public method

Data provider for tuples with multiple components

tupleWithMultipleEmptyComponents() public method

Data provider for tuples with multiple components and no values

tupleWithNestedTypes() public method

Data provider for tuples with nested composite types

tupleWithScalarTypes() public method

Data provider for tuples with scalar types