# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtTest, except for defaults which are replaced by "...".
"""

# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtTest`

import PySide6.QtTest
import PySide6.QtCore

import enum
from shiboken6 import Shiboken


class QAbstractItemModelTester(PySide6.QtCore.QObject):

    class FailureReportingMode(enum.Enum):

        QtTest                    = 0x0
        Warning                   = 0x1
        Fatal                     = 0x2


class QIntList: ...


class QSignalSpy(Shiboken.Object): ...


class QTest(Shiboken.Object):

    class ComparisonOperation(enum.Enum):

        CustomCompare             = 0x0
        Equal                     = 0x1
        NotEqual                  = 0x2
        LessThan                  = 0x3
        LessThanOrEqual           = 0x4
        GreaterThan               = 0x5
        GreaterThanOrEqual        = 0x6
        ThreeWayCompare           = 0x7

    class KeyAction(enum.Enum):

        Press                     = 0x0
        Release                   = 0x1
        Click                     = 0x2
        Shortcut                  = 0x3

    class MouseAction(enum.Enum):

        MousePress                = 0x0
        MouseRelease              = 0x1
        MouseClick                = 0x2
        MouseDClick               = 0x3
        MouseMove                 = 0x4

    class QBenchmarkMetric(enum.Enum):

        FramesPerSecond           = 0x0
        BitsPerSecond             = 0x1
        BytesPerSecond            = 0x2
        WalltimeMilliseconds      = 0x3
        CPUTicks                  = 0x4
        InstructionReads          = 0x5
        Events                    = 0x6
        WalltimeNanoseconds       = 0x7
        BytesAllocated            = 0x8
        CPUMigrations             = 0x9
        CPUCycles                 = 0xa
        BusCycles                 = 0xb
        StalledCycles             = 0xc
        Instructions              = 0xd
        BranchInstructions        = 0xe
        BranchMisses              = 0xf
        CacheReferences           = 0x10
        CacheReads                = 0x11
        CacheWrites               = 0x12
        CachePrefetches           = 0x13
        CacheMisses               = 0x14
        CacheReadMisses           = 0x15
        CacheWriteMisses          = 0x16
        CachePrefetchMisses       = 0x17
        ContextSwitches           = 0x18
        PageFaults                = 0x19
        MinorPageFaults           = 0x1a
        MajorPageFaults           = 0x1b
        AlignmentFaults           = 0x1c
        EmulationFaults           = 0x1d
        RefCPUCycles              = 0x1e

    class QTouchEventSequence(Shiboken.Object): ...

    class TestFailMode(enum.Enum):

        Abort                     = 0x1
        Continue                  = 0x2


# eof
