# Chapter 9 Test Suite

Last modified: 2003-07-16

## Legend

- [Level] A: MUST
- [Level] AA: SHOULD
- [Level] AAA: MAY
- [Test] (green): Passed by two or more implementations
- [Test] (yellow): Passed by one implementation
- [Test] (red): Passed by no implementation
- [Test] (white): No or partial results
- [Implementation] (full): Passed all level A tests for this test suite
- [Implementation] Pass: Passed test
- [Implementation] Fail: Failed test
- [Implementation] N/A: Not tested

## Implementation Chart

### group

9.1.1-4 | Level: AAA | The hierarchy defined by nested group elements is used to determine the traversal order specified by attribute navindex on form controls. Setting the input focus on a group results in the focus being set to the first form control in the navigation order within that group. | X-Smiles: N/A | Novell: N/A | FormsPlayer: N/A

### switch

9.2.1-1 | Level: A | This element contains one or more case elements, any one of which is rendered at a given time. | X-Smiles: Pass | Novell: Fail | FormsPlayer: Pass

### case

9.2.2-1 | Level: AA | This element encloses markup to be conditionally rendered. The attribute selected determines the selected state and can be manipulated programmatically via the DOM, or declaratively via XForms action toggle. | X-Smiles: Pass | Novell: Fail | FormsPlayer: Pass
9.2.2-2 | Level: A | selected Optional selection status for the case. The default value is "false". | X-Smiles: Pass | Novell: Fail | FormsPlayer: Pass
9.2.2-3 | Level: A | If multiple cases within a switch are marked as selected="true", the first selected case remains and all others are deselected. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
9.2.2-4 | Level: A | If none are selected, the first becomes selected. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

### toggle

9.2.3-1a | Level: A | This action adjusts all selected attributes on the affected cases to reflect the new state, and then performs the following: | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
9.2.3-1b | Level: A | Dispatching an xforms-deselect event to the currently selected case. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
9.2.3-1c | Level: A | Dispatching an xform-select event to the case to be selected. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

### repeat, nested repeats, insert & delete

9.3.1-1 | Level: A | 'Table Manager' Aggregate Test for Repeat, Nested Repeats, Insert & Delete | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

### copy

9.3.4-1 | Level: A | Test that copy element works | X-Smiles: Pass | Novell: N/A | FormsPlayer: Pass

Thierry Michel (tmichel@w3.org), W3C staff contact for XForms