~cimi/indicators-client/system-components

« back to all changes in this revision

Viewing changes to tests/qmluitests/tst_CalendarMenu.qml

  • Committer: Andrea Cimitan
  • Date: 2013-06-03 16:49:49 UTC
  • Revision ID: andrea.cimitan@gmail.com-20130603164949-tzpcwbndnyml18pw
Added empty test file

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2013 Canonical Ltd.
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU Lesser General Public License as published by
 
6
 * the Free Software Foundation; version 3.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 * GNU Lesser General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU Lesser General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 *
 
16
 * Authored by Andrea Cimitan <andrea.cimitan@canonical.com>
 
17
 */
 
18
 
 
19
import QtQuick 2.0
 
20
import QtTest 1.0
 
21
import Ubuntu.Components 0.1
 
22
import "../../SystemComponents"
 
23
 
 
24
Item {
 
25
    width: units.gu(42)
 
26
    height: units.gu(75)
 
27
 
 
28
    Flickable {
 
29
        id: flickable
 
30
 
 
31
        anchors.fill: parent
 
32
        contentWidth: column.width
 
33
        contentHeight: column.height
 
34
 
 
35
        Column {
 
36
            id: column
 
37
 
 
38
            width: flickable.width
 
39
            height: childrenRect.height
 
40
 
 
41
            CalendarMenu {
 
42
                id: calendarMenu
 
43
            }
 
44
        }
 
45
    }
 
46
 
 
47
    TestCase {
 
48
        name: "CalendarMenu"
 
49
        when: windowShown
 
50
 
 
51
        function test_currentDate() {
 
52
        }
 
53
 
 
54
        function test_firstDayOfWeek() {
 
55
        }
 
56
 
 
57
        function test_maximumDate() {
 
58
        }
 
59
 
 
60
        function test_minimumDate() {
 
61
        }
 
62
 
 
63
        function test_selectedDate() {
 
64
        }
 
65
    }
 
66
}