\JArrayHelperTest
JArrayHelperTest
Test class for JArrayHelper.
Generated by PHPUnit on 2009-10-26 at 22:31:37.
Synopsis
class JArrayHelperTest
extends PHPUnit_Framework_TestCase
{
- // methods
- public array getTestArrayUniqueData()
- public array getTestFromObjectData()
- public array getTestGetColumnData()
- public array getTestGetValueData()
- public array getTestInvertData()
- public array getTestPivotData()
- public array getTestSortObjectData()
- public array getTestToIntegerData()
- public array getTestToObjectData()
- public array getTestToStringData()
- protected void setUp()
- public void testArrayUnique()
- public void testFromObject()
- public void testGetColumn()
- public void testGetValue()
- public void testInvert()
- public void testIsAssociative()
- public void testPivot()
- public void testSortObjects()
- public void testToInteger()
- public void testToObject()
- public void testToString()
Hierarchy
Extends
Methods
protected
- setUp() — Sets up the fixture.
public
- getTestArrayUniqueData() — Data provider for testArrayUnique.
- getTestFromObjectData() — Data provider for from object inputs
- getTestGetColumnData() — Data provider for get column
- getTestGetValueData() — Data provider for get value
- getTestInvertData() — Data provider for invert
- getTestPivotData() — Data provider for testPivot
- getTestSortObjectData() — Data provider for sorting objects
- getTestToIntegerData() — Data provider for numeric inputs
- getTestToObjectData() — Data provider for object inputs
- getTestToStringData() — Data provider for string inputs
- testArrayUnique() — Tests the JArrayHelper::arrayUnique method.
- testFromObject() — Tests conversion of object to string.
- testGetColumn() — Test pulling data from a single column (by index or association).
- testGetValue() — Test get value from an array.
- testInvert() — Tests the JArrayHelper::invert method.
- testIsAssociative() — Test the JArrayHelper::isAssociate method.
- testPivot() — Tests the JArrayHelper::pivot method.
- testSortObjects() — Test sorting an array of objects.
- testToInteger() — Test convert an array to all integers.
- testToObject() — Test convert array to object.
- testToString() — Tests converting array to string.