Class TestEventListFormatter_textOutput

Description

EventListFormatter, formatted 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 166)

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

An instance of the class being tested

string $listName = "List of Registrations" (line 171)

The header of the list

QueryResult $oneItemResult (line 182)

A sample (stubbed) QueryResult

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

A sample row

Methods
Constructor TestEventListFormatter_textOutput (line 189)
TestEventListFormatter_textOutput TestEventListFormatter_textOutput ()
setup (line 196)

Create the test fixture.

void setup ()
TestOneItemAndInduction (line 220)

Tests the one item list.

void TestOneItemAndInduction ()
TestZeroEntries (line 206)

Tests the empty list.

void TestZeroEntries ()

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