~loic.molinari/ubuntu-ui-toolkit/ubuntu-ui-toolkit-big-radius

« back to all changes in this revision

Viewing changes to tests/apicheck/test/Extinct/Animals/gigantophis.qml

  • Committer: Tarmac
  • Author(s): Christian Dywan
  • Date: 2015-07-16 08:45:56 UTC
  • mfrom: (1563.2.1 uut.unitTestApiCheck)
  • Revision ID: tarmac-20150716084556-ti73z2j497af62as
Don't include overridden properties in API.

Approved by Zsombor Egri, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2015 Canonical, Ltd.
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU 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 General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 */
 
16
 
 
17
import QtQuick 2.0
 
18
import Extinct.Animals 4.2
 
19
 
 
20
Titanoboa {
 
21
    // Overridden
 
22
    property string eggs: "brown spotted"
 
23
    function first() {
 
24
        console.log('Hihi!')
 
25
    }
 
26
 
 
27
    // New API
 
28
    property bool extinct: true
 
29
    function fourth() { }
 
30
}