TestCompetitorListFormatter_textFormattedOutputCompetitorListFormatter, pre-formatted text output test.
Tests that 0,1, and N+1 length lists print properly when using specific pre-determined format conventions.
Located in /tests/unit-tests/classes/ListFormatters/CompetitorListFormatter.php (line 125)
UnitTestCase | --TestCompetitorListFormatter_textFormattedOutput
CompetitorListFormatter
$formatter
(line 145)
An instance of the class being tested
string
$listName
= "List of Competitors, by Competitor Number" (line 130)
The header of the list
QueryResult
$oneItemResult
(line 140)
A sample (stubbed) QueryResult
array
$row1
= array(100,'Eric','Nielsen','MIT','His','Partner','MIT') (line 135)
A sample row
Tests the variable length list, when the leaders are disjoint
Notice that this is an inductive proof, we assume the correct behavoir, add a new row and compare the new result to the old result+expected delta.
Tests the variable length list, when the leaders are identical
Notice that this is an inductive proof, we assume the correct behavoir, add a new row and compare the new result to the old result+expected delta.
Documentation generated on Tue, 25 Apr 2006 13:00:30 -0400 by phpDocumentor 1.3.0RC3