From 4f8c3cfc8f6a3f3ccf245a196a5288bd0a242e49 Mon Sep 17 00:00:00 2001
From: Caroline Chao <caroline.chao@digia.com>
Date: Wed, 3 Apr 2013 11:05:40 +0200
Subject: [PATCH] TestBench: Add activeFocusOnTab property and Label

Change-Id: I0e416d21987d0b36f7ae2a7d537276889bc067e1
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
---
 tests/manual/testbench/content/Components.qml | 2 ++
 tests/manual/testbench/main.qml               | 1 +
 2 files changed, 3 insertions(+)

diff --git a/tests/manual/testbench/content/Components.qml b/tests/manual/testbench/content/Components.qml
index 8eca5e751..531e68ad8 100644
--- a/tests/manual/testbench/content/Components.qml
+++ b/tests/manual/testbench/content/Components.qml
@@ -53,6 +53,7 @@ Item {
     property Component textarea: TextArea { text: loremIpsum }
     property Component toolbar: ToolBar { }
     property Component statusbar: StatusBar { }
+    property Component label: Label {text: "I am a label" }
     property Component tableview: TableView { model: testDataModel ; TableViewColumn {title: "Column 1"}}
     property Component tabView: TabView { Repeater { model: 3 ; delegate:Tab { title: "Tab " + index } }}
     property Component scrollview: ScrollView {
@@ -126,6 +127,7 @@ Item {
             append({ name: "ScrollView",    component: scrollview});
             append({ name: "GroupBox",      component: groupbox});
             append({ name: "TabView",       component: tabView});
+            append({ name: "Label",         component: label});
         }
     }
 }
diff --git a/tests/manual/testbench/main.qml b/tests/manual/testbench/main.qml
index cc20290ef..e1363ee83 100644
--- a/tests/manual/testbench/main.qml
+++ b/tests/manual/testbench/main.qml
@@ -184,6 +184,7 @@ ApplicationWindow {
                                     switch (substr) {
 
                                     case "ActiveFocusOnPress":
+                                    case "ActiveFocusOnTab":
                                     case "Enabled":
                                     case "Visible":
                                     case "Checkable":
-- 
GitLab