PHP Class InfluxDB\Test\PointTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: influxdb/influxdb-php

Public Methods

Method Description
testFieldValueStringEscaping ( )
testGettersAndSetters ( )
testPointStringRepresentation ( )
testPointValidTimestamp ( $timestamp ) Check if the Point class accept all valid timestamp given.
testPointWrongTimestamp ( $timestamp ) Check if the Point class throw an exception when invalid timestamp are given.
testTagBooleanValueEscaping ( )
testTagEmptyValueEscaping ( )
testTagNullValueEscaping ( )
validTimestampProvider ( ) Provide valid timestamp value for testing.
wrongTimestampProvider ( ) Provide wrong timestamp value for testing.

Private Methods

Method Description
getPoint ( integer $timestamp ) : Point Returns an instance of \InfluxDB\Point

Method Details

testFieldValueStringEscaping() public method

testGettersAndSetters() public method

testPointStringRepresentation() public method

testPointValidTimestamp() public method

Check if the Point class accept all valid timestamp given.
public testPointValidTimestamp ( $timestamp )

testPointWrongTimestamp() public method

Check if the Point class throw an exception when invalid timestamp are given.
public testPointWrongTimestamp ( $timestamp )

testTagBooleanValueEscaping() public method

testTagEmptyValueEscaping() public method

testTagNullValueEscaping() public method

validTimestampProvider() public method

Provide valid timestamp value for testing.

wrongTimestampProvider() public method

Provide wrong timestamp value for testing.