1 /****************************************************************************
3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
4 ** All rights reserved.
5 ** Contact: Nokia Corporation (qt-info@nokia.com)
7 ** This file is part of the test suite of the Qt Toolkit.
9 ** $QT_BEGIN_LICENSE:LGPL$
10 ** GNU Lesser General Public License Usage
11 ** This file may be used under the terms of the GNU Lesser General Public
12 ** License version 2.1 as published by the Free Software Foundation and
13 ** appearing in the file LICENSE.LGPL included in the packaging of this
14 ** file. Please review the following information to ensure the GNU Lesser
15 ** General Public License version 2.1 requirements will be met:
16 ** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
18 ** In addition, as a special exception, Nokia gives you certain additional
19 ** rights. These rights are described in the Nokia Qt LGPL Exception
20 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
22 ** GNU General Public License Usage
23 ** Alternatively, this file may be used under the terms of the GNU General
24 ** Public License version 3.0 as published by the Free Software Foundation
25 ** and appearing in the file LICENSE.GPL included in the packaging of this
26 ** file. Please review the following information to ensure the GNU General
27 ** Public License version 3.0 requirements will be met:
28 ** http://www.gnu.org/copyleft/gpl.html.
31 ** Alternatively, this file may be used in accordance with the terms and
32 ** conditions contained in a signed written agreement between you and Nokia.
40 ****************************************************************************/
42 //TESTED_COMPONENT=qtdeclarative
46 pre_existing_elements_data: {
47 // ElementName: [preconditions,[groups]]
48 Rectangle: ["",["QtQuick1.0","BAT"]],
49 Image: ["",["QtQuick1.0","BAT"]],
50 AnimatedImage: ["",["QtQuick1.0","BAT"]],
51 BorderImage: ["",["QtQuick1.0","BAT"]],
52 SystemPalette: ["",["QtQuick1.0","BAT"]],
53 Text: ["",["QtQuick1.0","BAT"]],
54 TextInput: ["",["QtQuick1.0","BAT"]],
55 TextEdit: ["",["QtQuick1.0","BAT"]],
56 FontLoader: ["",["QtQuick1.0","BAT"]],
57 Flipable: ["",["QtQuick1.0","BAT"]],
58 Flickable: ["",["QtQuick1.0","BAT"]],
59 IntValidator: ["",["QtQuick1.0","BAT"]],
60 DoubleValidator: ["",["QtQuick1.0","BAT"]],
61 RegExpValidator: ["",["QtQuick1.0","BAT"]],
62 Column: ["",["QtQuick1.0","BAT"]],
63 Row: ["",["QtQuick1.0","BAT"]],
64 Flow: ["",["QtQuick1.0","BAT"]],
65 Grid: ["",["QtQuick1.0","BAT"]],
66 Repeater: ["",["QtQuick1.0","BAT"]],
67 ListView: ["",["QtQuick1.0","BAT"]],
68 Keys: ["",["QtQuick1.0","BAT"]],
69 MouseArea: ["",["QtQuick1.0","BAT"]],
70 SequentialAnimation: ["",["QtQuick1.0","BAT"]],
71 ParallelAnimation: ["",["QtQuick1.0","BAT"]],
72 XmlListModel: ["",["QtQuick1.0","BAT"]],
73 Scale: ["",["QtQuick1.0","BAT"]]
76 pre_existing_elements: function(prec,groups) {
78 testTitle = currentDataTag()+ " Element";
79 testBinary = "qmlscene tests/testapplications/elements/elements.qml";
80 testGoal = "Verify the "+currentDataTag()+" element is shown correctly";
81 testPreconditions = prec;
85 prompt(twiki('---+++ ' + testTitle + '<br><br>
86 *Goal:* ' + testGoal + '<br>
87 *Pre-Requisites:* ' + testPreconditions + '<br>
88 *Tested Binary:* ' + testBinary + '<br>
89 | Select the '+currentDataTag()+' list item | Verify that the '+currentDataTag()+' application is displayed |
90 | Follow the instructions in the in-app test | Verify all steps are completed successfully |'));
94 // ElementName: [preconditions,[groups]]
95 ParticleSystem: ["",["QtQuick2.0","BAT"]],
96 ImageParticle: ["",["QtQuick2.0","BAT"]],
97 Emitter: ["",["QtQuick2.0","BAT"]],
98 Affector: ["",["QtQuick2.0","BAT"]],
99 Shape: ["",["QtQuick2.0","BAT"]],
100 TrailEmitter: ["",["QtQuick2.0","BAT"]],
101 Direction: ["",["QtQuick2.0","BAT"]]
104 new_elements: function(prec,groups) {
106 testTitle = currentDataTag()+ " Element";
107 testBinary = "qmlscene tests/testapplications/elements/elements.qml";
108 testGoal = "Verify the "+currentDataTag()+" element is shown correctly";
109 testPreconditions = prec;
113 prompt(twiki('---+++ ' + testTitle + '<br><br>
114 *Goal:* ' + testGoal + '<br>
115 *Pre-Requisites:* ' + testPreconditions + '<br>
116 *Tested Binary:* ' + testBinary + '<br>
117 | Select the '+currentDataTag()+' list item | Verify that the '+currentDataTag()+' application is displayed |
118 | Follow the instructions in the in-app test | Verify all steps are completed successfully |'));