forked from AuroraMiddleware/gtk
Add more focus chain tests
Test page 2 and 3 of widget-factory as well, and try other directions.
This commit is contained in:
parent
a3861bf9a0
commit
ff8217db40
5
testsuite/gtk/focus-chain/widget-factory.down
Normal file
5
testsuite/gtk/focus-chain/widget-factory.down
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
GtkScale
|
||||||
|
GtkScale
|
||||||
|
GtkScale
|
||||||
|
GtkNotebook
|
||||||
|
STOP
|
2
testsuite/gtk/focus-chain/widget-factory.left
Normal file
2
testsuite/gtk/focus-chain/widget-factory.left
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
GtkNotebook
|
||||||
|
WRAP
|
6
testsuite/gtk/focus-chain/widget-factory.right
Normal file
6
testsuite/gtk/focus-chain/widget-factory.right
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
GtkEntry GtkText
|
||||||
|
GtkToggleButton
|
||||||
|
GtkButton
|
||||||
|
GtkScale
|
||||||
|
GtkTextView
|
||||||
|
STOP
|
36
testsuite/gtk/focus-chain/widget-factory.tab-backward
Normal file
36
testsuite/gtk/focus-chain/widget-factory.tab-backward
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
GtkNotebook
|
||||||
|
GtkNotebook
|
||||||
|
GtkNotebook
|
||||||
|
GtkNotebook
|
||||||
|
GtkTextView
|
||||||
|
GtkTreeView
|
||||||
|
GtkButton
|
||||||
|
GtkScale
|
||||||
|
GtkScale
|
||||||
|
GtkScale
|
||||||
|
GtkSwitch
|
||||||
|
GtkLinkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkCheckButton
|
||||||
|
GtkCheckButton
|
||||||
|
GtkRadioButton
|
||||||
|
GtkCheckButton
|
||||||
|
GtkSpinButton GtkText
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkButton
|
||||||
|
GtkEntry GtkText
|
||||||
|
GtkEntry GtkText
|
||||||
|
GtkToggleButton
|
||||||
|
GtkEntry GtkText
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
WRAP
|
5
testsuite/gtk/focus-chain/widget-factory.up
Normal file
5
testsuite/gtk/focus-chain/widget-factory.up
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
GtkNotebook
|
||||||
|
GtkScale
|
||||||
|
GtkScale
|
||||||
|
GtkScale
|
||||||
|
STOP
|
40
testsuite/gtk/focus-chain/widget-factory2.tab
Normal file
40
testsuite/gtk/focus-chain/widget-factory2.tab
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
GtkSpinButton GtkText
|
||||||
|
GtkVolumeButton
|
||||||
|
GtkScaleButton
|
||||||
|
GtkTextView
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkListBoxRow
|
||||||
|
GtkSwitch
|
||||||
|
GtkListBoxRow
|
||||||
|
GtkScale
|
||||||
|
GtkListBoxRow
|
||||||
|
GtkListBoxRow
|
||||||
|
GtkSpinButton GtkText
|
||||||
|
GtkListBoxRow
|
||||||
|
GtkButton
|
||||||
|
GtkListBoxRow
|
||||||
|
GtkCheckButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkTextView
|
||||||
|
GtkCalendar
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkExpander
|
||||||
|
GtkIconView
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
WRAP
|
40
testsuite/gtk/focus-chain/widget-factory2.tab-backward
Normal file
40
testsuite/gtk/focus-chain/widget-factory2.tab-backward
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkIconView
|
||||||
|
GtkExpander
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkCalendar
|
||||||
|
GtkTextView
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkCheckButton
|
||||||
|
GtkListBoxRow
|
||||||
|
GtkButton
|
||||||
|
GtkListBoxRow
|
||||||
|
GtkSpinButton GtkText
|
||||||
|
GtkListBoxRow
|
||||||
|
GtkListBoxRow
|
||||||
|
GtkScale
|
||||||
|
GtkListBoxRow
|
||||||
|
GtkSwitch
|
||||||
|
GtkListBoxRow
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkTextView
|
||||||
|
GtkScaleButton
|
||||||
|
GtkVolumeButton
|
||||||
|
GtkSpinButton GtkText
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
WRAP
|
3811
testsuite/gtk/focus-chain/widget-factory2.ui
Normal file
3811
testsuite/gtk/focus-chain/widget-factory2.ui
Normal file
File diff suppressed because it is too large
Load Diff
39
testsuite/gtk/focus-chain/widget-factory3.tab
Normal file
39
testsuite/gtk/focus-chain/widget-factory3.tab
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
GtkTreeView
|
||||||
|
GtkLabel
|
||||||
|
GtkScrolledWindow
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkRadioButton
|
||||||
|
GtkRadioButton
|
||||||
|
GtkButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkListBoxRow
|
||||||
|
GtkListBoxRow
|
||||||
|
GtkListBoxRow
|
||||||
|
GtkListBoxRow
|
||||||
|
GtkSpinButton GtkText
|
||||||
|
GtkSpinButton GtkText
|
||||||
|
GtkToggleButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkButton
|
||||||
|
GtkTextView
|
||||||
|
GtkNotebook
|
||||||
|
GtkToggleButton
|
||||||
|
GtkNotebook
|
||||||
|
GtkEntry GtkText
|
||||||
|
GtkEntry GtkText
|
||||||
|
GtkNotebook
|
||||||
|
GtkToggleButton
|
||||||
|
GtkButton
|
||||||
|
GtkEntry GtkText
|
||||||
|
h
|
||||||
|
sv
|
||||||
|
a
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
GtkToggleButton
|
||||||
|
WRAP
|
5
testsuite/gtk/focus-chain/widget-factory3.tab-backward
Normal file
5
testsuite/gtk/focus-chain/widget-factory3.tab-backward
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
a
|
||||||
|
sv
|
||||||
|
h
|
||||||
|
GtkEntry GtkText
|
||||||
|
STOP
|
3811
testsuite/gtk/focus-chain/widget-factory3.ui
Normal file
3811
testsuite/gtk/focus-chain/widget-factory3.ui
Normal file
File diff suppressed because it is too large
Load Diff
@ -166,6 +166,16 @@ focus_chain_tests = [
|
|||||||
[ 'basic', 'right' ],
|
[ 'basic', 'right' ],
|
||||||
[ 'focusable-container', 'tab' ],
|
[ 'focusable-container', 'tab' ],
|
||||||
[ 'focusable-container', 'tab-backward' ],
|
[ 'focusable-container', 'tab-backward' ],
|
||||||
|
[ 'widget-factory', 'tab' ],
|
||||||
|
[ 'widget-factory', 'tab-backward' ],
|
||||||
|
[ 'widget-factory', 'up' ],
|
||||||
|
[ 'widget-factory', 'down' ],
|
||||||
|
[ 'widget-factory', 'left' ],
|
||||||
|
[ 'widget-factory', 'right' ],
|
||||||
|
[ 'widget-factory2', 'tab' ],
|
||||||
|
[ 'widget-factory2', 'tab-backward' ],
|
||||||
|
[ 'widget-factory3', 'tab' ],
|
||||||
|
[ 'widget-factory3', 'tab-backward' ],
|
||||||
]
|
]
|
||||||
|
|
||||||
focus_chain = executable(
|
focus_chain = executable(
|
||||||
|
Loading…
Reference in New Issue
Block a user