WACT_TESTS
[ class tree: WACT_TESTS ] [ index: WACT_TESTS ] [ all elements ]

Class: SelectMultipleComponentTestCase

Source Location: /tests/cases/template/components/form/selectmultiple.test.php

Class Overview

UnitTestCase
   |
   --ComponentTestCase
      |
      --TagComponentTestCase
         |
         --SelectMultipleComponentTestCase

Methods


Inherited Variables

Inherited Methods


Class Details


Class Methods


constructor SelectMultipleComponentTestCase



SelectMultipleComponentTestCase SelectMultipleComponentTestCase( [mixed $name = 'SelectMultipleComponentTestCase'])

method testGetValue



void testGetValue( )

method testSetChoicesWithIndex

Zero index also results in automatic selection

void testSetChoicesWithIndex( )

method testSetChoicesWithIndexSelected



void testSetChoicesWithIndexSelected( )

method testSetChoicesWithIndexSelectedByForm

This test is included to "simulate" a selection received via POST - remember

PHP will convert integers to strings so strict type checking in the select components for selected values will fail



void testSetChoicesWithIndexSelectedByForm( )
WACT: Copyright 2003 Procata, Inc. Released under the LGPL license (http://www.gnu.org/copyleft/lesser.html)
Documentation generated on Sun, 28 Nov 2004 19:49:49 -0800 by phpDocumentor 1.2.3