aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtTest/typesystem_test.xml
blob: 4a1a72ce095838f032300b3dc20bc101c7af1067 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?xml version="1.0"?>
<!--
    This file is part of PySide project.
    Copyright (C) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
    Contact: PySide team <contact@pyside.org>

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
-->
<typesystem package="PySide.QtTest">
  <load-typesystem name="typesystem_gui.xml" generate="no"/>

  <rejection class="QTest" function-name="qCompare&lt;char&gt;"/>
  <rejection class="QTest" function-name="qCompare&lt;char*&gt;"/>
  <rejection class="QTest" function-name="qCompare&lt;double&gt;"/>
  <rejection class="QTest" function-name="qCompare&lt;float&gt;"/>
  <rejection class="QTest" function-name="qCompare&lt;double,qreal&gt;"/>
  <rejection class="QTest" function-name="qCompare&lt;qreal,double&gt;"/>
  <rejection class="QTest" function-name="qCompare"/>
  <rejection class="QTest" function-name="qVerify"/>
  <rejection class="QTest" function-name="qSleep"/>
  <rejection class="QTest" function-name="toHexRepresentation"/>
  <rejection class="QTest" function-name="qWait"/>
  <rejection class="QTest" function-name="qFail"/>
  <rejection class="QTest" function-name="qExec"/>
  <rejection class="QTest" function-name="qData"/>
  <rejection class="QTest" function-name="qWarn"/>
  <rejection class="QTest" function-name="toString"/>
  <rejection class="QTest" function-name="toString&lt;bool>"/>
  <rejection class="QTest" function-name="toString&lt;char>"/>
  <rejection class="QTest" function-name="toString&lt;double>"/>
  <rejection class="QTest" function-name="toString&lt;float>"/>
  <rejection class="QTest" function-name="toString&lt;int>"/>
  <rejection class="QTest" function-name="toString&lt;long>"/>
  <rejection class="QTest" function-name="toString&lt;qint64>"/>
  <rejection class="QTest" function-name="toString&lt;quint64>"/>
  <rejection class="QTest" function-name="toString&lt;short>"/>
  <rejection class="QTest" function-name="toString&lt;uint>"/>
  <rejection class="QTest" function-name="toString&lt;ulong>"/>
  <rejection class="QTest" function-name="toString&lt;ushort>"/>
  <rejection class="QTest" function-name="qt_snprintf"/>

  <rejection class="QTest" function-name="compare_helper"/>
  <rejection class="QTest" function-name="touchEvent"/>

  <namespace-type name="QTest">
    <enum-type name="AttributeIndex" since="4.6"/>
    <enum-type name="KeyAction"/>
    <enum-type name="LogElementType" since="4.6"/>
    <enum-type name="MouseAction"/>
    <enum-type name="QBenchmarkMetric" since="4.7"/>
    <enum-type name="SkipMode"/>
    <enum-type name="TestFailMode"/>
    <extra-includes>
        <include file-name="QtTest" location="global"/>
    </extra-includes>
    <!--<modify-function signature="qCompare<char>(char">-->
    <rejection class="QTouchEventSequence"/>
    <object-type name="PySideQTouchEventSequence" target-lang-name="QTouchEventSequence" since="4.6" >
        <modify-function signature="press(int, const QPoint&amp;, QWidget*)">
            <modify-argument index="return">
                <define-ownership class="target" owner="default"/>
            </modify-argument>
        </modify-function>
        <modify-function signature="move(int, const QPoint&amp;, QWidget*)">
            <modify-argument index="return">
                <define-ownership class="target" owner="default"/>
            </modify-argument>
        </modify-function>
        <modify-function signature="release(int, const QPoint&amp;, QWidget*)">
            <modify-argument index="return">
                <define-ownership class="target" owner="default"/>
            </modify-argument>
        </modify-function>
        <modify-function signature="stationary(int)">
            <modify-argument index="return">
                <define-ownership class="target" owner="default"/>
            </modify-argument>
        </modify-function>
    </object-type>
    <modify-function signature="generateTouchEvent(QWidget*, QTouchEvent::DeviceType)" rename="touchEvent" since="4.6">
        <modify-argument index="return">
            <define-ownership class="target" owner="target"/>
        </modify-argument>
    </modify-function>
  </namespace-type>

  <rejection class="QSignalSpy"/>
  <rejection class="QTestEventList"/>
</typesystem>