blob: 8078ad14549b3bf1fadb13ac2e40d7c1a0784dd3 [file] [log] [blame]
This tests that radio buttons are exposed as distinct types from checkboxes, that they can report the right value whether it's checked, and they can report they're part of a group.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS checkbox.traits != radio1.traits is true
PASS radio1.stringValue is 'AXValue: 1'
PASS radio2.stringValue is 'AXValue: 0'
PASS radio3.stringValue is 'AXValue: 0'
PASS radio1.rowIndexRange() is '{0, 3}'
PASS radio2.rowIndexRange() is '{1, 3}'
PASS radio3.rowIndexRange() is '{2, 3}'
PASS successfullyParsed is true
TEST COMPLETE