PHP 클래스 Cassandra\PagingIntegrationTest

상속: extends BasicIntegrationTest
파일 보기 프로젝트 열기: datastax/php-driver

공개 메소드들

메소드 설명
setUp ( )
testInvalidToken ( ) Use an invalid paging state token
testNextPageAsyncCaching ( ) Verify next page asynchronous caching in Cassandra\Rows
testNextPageCaching ( ) Verify next page caching in Cassandra\Rows
testNoPagingMemoryLeak ( ) Paging advancement does not create memory leak
testNullToken ( ) Use a null paging token
testPagingToken ( ) Use paging state token

비공개 메소드들

메소드 설명
convertRowsToArray ( $rows, $columnName ) : array Convert a single column of a collection of rows into an array
randomString ( integer $length ) : string Generate a random string
validatePageResults ( $rows ) : integer Page through the results while validating no memory leaks exists

메소드 상세

setUp() 공개 메소드

public setUp ( )

testInvalidToken() 공개 메소드

This test driver properly handles Cassandra's error result when passing an invalid paging state token.
public testInvalidToken ( )

testNextPageAsyncCaching() 공개 메소드

Verify next page asynchronous caching in Cassandra\Rows

testNextPageCaching() 공개 메소드

Verify next page caching in Cassandra\Rows
public testNextPageCaching ( )

testNoPagingMemoryLeak() 공개 메소드

This test will ensure that the driver does not create memory leaks associated advancing to the next page of results.

testNullToken() 공개 메소드

This test ensures that the driver properly handles a null paging state token.
public testNullToken ( )

testPagingToken() 공개 메소드

This test ensure that the paging state token is properly returned and can be used to get the next page results.
public testPagingToken ( )