Class TestEventListFormatter_tabbedOutput

Description

EventListFormatter, tabbbed output test.

Tests that 0,1, and N+1 length lists print properly when using tabs to delimit the output and no other formatting is applied to the list items.

Located in /tests/unit-tests/classes/ListFormatters/EventListFormatter.php (line 38)

UnitTestCase
   |
   --TestEventListFormatter_tabbedOutput
Variable Summary
 EventistFormatter $formatter
 string $listName
 array $row1
Method Summary
 TestEventListFormatter_tabbedOutput TestEventListFormatter_tabbedOutput ()
 void setup ()
 void TestZeroEntries ()
Variables
EventistFormatter $formatter (line 58)

An instance of the class being tested

string $listName = "LIST OF EVENTS" (line 43)

The header of the list

QueryResult $oneItemResult (line 53)

A sample (stubbed) QueryResult

array $row1 = array(123,'1','Newcomer American Foxtrot') (line 48)

A sample row

Methods
Constructor TestEventListFormatter_tabbedOutput (line 60)
TestEventListFormatter_tabbedOutput TestEventListFormatter_tabbedOutput ()
setup (line 67)

Create the test fixture.

void setup ()
TestOneItemAndInduction (line 90)

Tests the one item list.

void TestOneItemAndInduction ()
TestZeroEntries (line 77)

Tests the empty list.

void TestZeroEntries ()

Documentation generated on Tue, 25 Apr 2006 13:01:29 -0400 by phpDocumentor 1.3.0RC3