testlib

package
v0.0.0-...-33b8324 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2017 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PointerFromQSignalSpy

func PointerFromQSignalSpy(ptr QSignalSpy_ITF) unsafe.Pointer

func PointerFromQTest

func PointerFromQTest(ptr QTest_ITF) unsafe.Pointer

func PointerFromQTestEventList

func PointerFromQTestEventList(ptr QTestEventList_ITF) unsafe.Pointer

Types

type QSignalSpy

type QSignalSpy struct {
	core.QObject
	core.QList
}

func NewQSignalSpy

func NewQSignalSpy(object core.QObject_ITF, sign string) *QSignalSpy

func NewQSignalSpyFromPointer

func NewQSignalSpyFromPointer(ptr unsafe.Pointer) *QSignalSpy

func (*QSignalSpy) ChildEvent

func (ptr *QSignalSpy) ChildEvent(event core.QChildEvent_ITF)

func (*QSignalSpy) ChildEventDefault

func (ptr *QSignalSpy) ChildEventDefault(event core.QChildEvent_ITF)

func (*QSignalSpy) ConnectChildEvent

func (ptr *QSignalSpy) ConnectChildEvent(f func(event *core.QChildEvent))

func (*QSignalSpy) ConnectConnectNotify

func (ptr *QSignalSpy) ConnectConnectNotify(f func(sign *core.QMetaMethod))

func (*QSignalSpy) ConnectCustomEvent

func (ptr *QSignalSpy) ConnectCustomEvent(f func(event *core.QEvent))

func (*QSignalSpy) ConnectDeleteLater

func (ptr *QSignalSpy) ConnectDeleteLater(f func())

func (*QSignalSpy) ConnectDisconnectNotify

func (ptr *QSignalSpy) ConnectDisconnectNotify(f func(sign *core.QMetaMethod))

func (*QSignalSpy) ConnectEvent

func (ptr *QSignalSpy) ConnectEvent(f func(e *core.QEvent) bool)

func (*QSignalSpy) ConnectEventFilter

func (ptr *QSignalSpy) ConnectEventFilter(f func(watched *core.QObject, event *core.QEvent) bool)

func (*QSignalSpy) ConnectMetaObject

func (ptr *QSignalSpy) ConnectMetaObject(f func() *core.QMetaObject)

func (*QSignalSpy) ConnectNotify

func (ptr *QSignalSpy) ConnectNotify(sign core.QMetaMethod_ITF)

func (*QSignalSpy) ConnectNotifyDefault

func (ptr *QSignalSpy) ConnectNotifyDefault(sign core.QMetaMethod_ITF)

func (*QSignalSpy) ConnectTimerEvent

func (ptr *QSignalSpy) ConnectTimerEvent(f func(event *core.QTimerEvent))

func (*QSignalSpy) CustomEvent

func (ptr *QSignalSpy) CustomEvent(event core.QEvent_ITF)

func (*QSignalSpy) CustomEventDefault

func (ptr *QSignalSpy) CustomEventDefault(event core.QEvent_ITF)

func (*QSignalSpy) DeleteLater

func (ptr *QSignalSpy) DeleteLater()

func (*QSignalSpy) DeleteLaterDefault

func (ptr *QSignalSpy) DeleteLaterDefault()

func (*QSignalSpy) DestroyQSignalSpy

func (ptr *QSignalSpy) DestroyQSignalSpy()

func (*QSignalSpy) DisconnectChildEvent

func (ptr *QSignalSpy) DisconnectChildEvent()

func (*QSignalSpy) DisconnectConnectNotify

func (ptr *QSignalSpy) DisconnectConnectNotify()

func (*QSignalSpy) DisconnectCustomEvent

func (ptr *QSignalSpy) DisconnectCustomEvent()

func (*QSignalSpy) DisconnectDeleteLater

func (ptr *QSignalSpy) DisconnectDeleteLater()

func (*QSignalSpy) DisconnectDisconnectNotify

func (ptr *QSignalSpy) DisconnectDisconnectNotify()

func (*QSignalSpy) DisconnectEvent

func (ptr *QSignalSpy) DisconnectEvent()

func (*QSignalSpy) DisconnectEventFilter

func (ptr *QSignalSpy) DisconnectEventFilter()

func (*QSignalSpy) DisconnectMetaObject

func (ptr *QSignalSpy) DisconnectMetaObject()

func (*QSignalSpy) DisconnectNotify

func (ptr *QSignalSpy) DisconnectNotify(sign core.QMetaMethod_ITF)

func (*QSignalSpy) DisconnectNotifyDefault

func (ptr *QSignalSpy) DisconnectNotifyDefault(sign core.QMetaMethod_ITF)

func (*QSignalSpy) DisconnectTimerEvent

func (ptr *QSignalSpy) DisconnectTimerEvent()

func (*QSignalSpy) Event

func (ptr *QSignalSpy) Event(e core.QEvent_ITF) bool

func (*QSignalSpy) EventDefault

func (ptr *QSignalSpy) EventDefault(e core.QEvent_ITF) bool

func (*QSignalSpy) EventFilter

func (ptr *QSignalSpy) EventFilter(watched core.QObject_ITF, event core.QEvent_ITF) bool

func (*QSignalSpy) EventFilterDefault

func (ptr *QSignalSpy) EventFilterDefault(watched core.QObject_ITF, event core.QEvent_ITF) bool

func (*QSignalSpy) IsValid

func (ptr *QSignalSpy) IsValid() bool

func (*QSignalSpy) MetaObject

func (ptr *QSignalSpy) MetaObject() *core.QMetaObject

func (*QSignalSpy) MetaObjectDefault

func (ptr *QSignalSpy) MetaObjectDefault() *core.QMetaObject

func (*QSignalSpy) Pointer

func (p *QSignalSpy) Pointer() unsafe.Pointer

func (*QSignalSpy) QSignalSpy_PTR

func (p *QSignalSpy) QSignalSpy_PTR() *QSignalSpy

func (*QSignalSpy) SetPointer

func (p *QSignalSpy) SetPointer(ptr unsafe.Pointer)

func (*QSignalSpy) Signal

func (ptr *QSignalSpy) Signal() *core.QByteArray

func (*QSignalSpy) TimerEvent

func (ptr *QSignalSpy) TimerEvent(event core.QTimerEvent_ITF)

func (*QSignalSpy) TimerEventDefault

func (ptr *QSignalSpy) TimerEventDefault(event core.QTimerEvent_ITF)

func (*QSignalSpy) Wait

func (ptr *QSignalSpy) Wait(timeout int) bool

type QSignalSpy_ITF

type QSignalSpy_ITF interface {
	core.QObject_ITF
	core.QList_ITF
	QSignalSpy_PTR() *QSignalSpy
}

type QTest

type QTest struct {
	// contains filtered or unexported fields
}

func NewQTestFromPointer

func NewQTestFromPointer(ptr unsafe.Pointer) *QTest

func (*QTest) DestroyQTest

func (ptr *QTest) DestroyQTest()

func (*QTest) Pointer

func (p *QTest) Pointer() unsafe.Pointer

func (*QTest) QTest_PTR

func (p *QTest) QTest_PTR() *QTest

func (*QTest) SetPointer

func (p *QTest) SetPointer(ptr unsafe.Pointer)

type QTestEventList

type QTestEventList struct {
	core.QList
}

func NewQTestEventList

func NewQTestEventList() *QTestEventList

func NewQTestEventList2

func NewQTestEventList2(other QTestEventList_ITF) *QTestEventList

func NewQTestEventListFromPointer

func NewQTestEventListFromPointer(ptr unsafe.Pointer) *QTestEventList

func (*QTestEventList) AddDelay

func (ptr *QTestEventList) AddDelay(msecs int)

func (*QTestEventList) AddKeyClick

func (ptr *QTestEventList) AddKeyClick(qtKey core.Qt__Key, modifiers core.Qt__KeyboardModifier, msecs int)

func (*QTestEventList) AddKeyClick2

func (ptr *QTestEventList) AddKeyClick2(ascii string, modifiers core.Qt__KeyboardModifier, msecs int)

func (*QTestEventList) AddKeyClicks

func (ptr *QTestEventList) AddKeyClicks(keys string, modifiers core.Qt__KeyboardModifier, msecs int)

func (*QTestEventList) AddKeyPress

func (ptr *QTestEventList) AddKeyPress(qtKey core.Qt__Key, modifiers core.Qt__KeyboardModifier, msecs int)

func (*QTestEventList) AddKeyPress2

func (ptr *QTestEventList) AddKeyPress2(ascii string, modifiers core.Qt__KeyboardModifier, msecs int)

func (*QTestEventList) AddKeyRelease

func (ptr *QTestEventList) AddKeyRelease(qtKey core.Qt__Key, modifiers core.Qt__KeyboardModifier, msecs int)

func (*QTestEventList) AddKeyRelease2

func (ptr *QTestEventList) AddKeyRelease2(ascii string, modifiers core.Qt__KeyboardModifier, msecs int)

func (*QTestEventList) AddMouseClick

func (ptr *QTestEventList) AddMouseClick(button core.Qt__MouseButton, modifiers core.Qt__KeyboardModifier, pos core.QPoint_ITF, delay int)

func (*QTestEventList) AddMouseDClick

func (ptr *QTestEventList) AddMouseDClick(button core.Qt__MouseButton, modifiers core.Qt__KeyboardModifier, pos core.QPoint_ITF, delay int)

func (*QTestEventList) AddMouseMove

func (ptr *QTestEventList) AddMouseMove(pos core.QPoint_ITF, delay int)

func (*QTestEventList) AddMousePress

func (ptr *QTestEventList) AddMousePress(button core.Qt__MouseButton, modifiers core.Qt__KeyboardModifier, pos core.QPoint_ITF, delay int)

func (*QTestEventList) AddMouseRelease

func (ptr *QTestEventList) AddMouseRelease(button core.Qt__MouseButton, modifiers core.Qt__KeyboardModifier, pos core.QPoint_ITF, delay int)

func (*QTestEventList) Clear

func (ptr *QTestEventList) Clear()

func (*QTestEventList) DestroyQTestEventList

func (ptr *QTestEventList) DestroyQTestEventList()

func (*QTestEventList) Pointer

func (p *QTestEventList) Pointer() unsafe.Pointer

func (*QTestEventList) QTestEventList_PTR

func (p *QTestEventList) QTestEventList_PTR() *QTestEventList

func (*QTestEventList) SetPointer

func (p *QTestEventList) SetPointer(ptr unsafe.Pointer)

func (*QTestEventList) Simulate

func (ptr *QTestEventList) Simulate(w widgets.QWidget_ITF)

type QTestEventList_ITF

type QTestEventList_ITF interface {
	core.QList_ITF
	QTestEventList_PTR() *QTestEventList
}

type QTest_ITF

type QTest_ITF interface {
	QTest_PTR() *QTest
}

type QTest__AttributeIndex

type QTest__AttributeIndex int64

QTest::AttributeIndex

type QTest__KeyAction

type QTest__KeyAction int64

QTest::KeyAction

const (
	QTest__Press    QTest__KeyAction = QTest__KeyAction(0)
	QTest__Release  QTest__KeyAction = QTest__KeyAction(1)
	QTest__Click    QTest__KeyAction = QTest__KeyAction(2)
	QTest__Shortcut QTest__KeyAction = QTest__KeyAction(3)
)

type QTest__LogElementType

type QTest__LogElementType int64

QTest::LogElementType

const (
	QTest__LET_Undefined   QTest__LogElementType = QTest__LogElementType(-1)
	QTest__LET_Property    QTest__LogElementType = QTest__LogElementType(0)
	QTest__LET_Properties  QTest__LogElementType = QTest__LogElementType(1)
	QTest__LET_Failure     QTest__LogElementType = QTest__LogElementType(2)
	QTest__LET_Error       QTest__LogElementType = QTest__LogElementType(3)
	QTest__LET_TestCase    QTest__LogElementType = QTest__LogElementType(4)
	QTest__LET_TestSuite   QTest__LogElementType = QTest__LogElementType(5)
	QTest__LET_Benchmark   QTest__LogElementType = QTest__LogElementType(6)
	QTest__LET_SystemError QTest__LogElementType = QTest__LogElementType(7)
)

type QTest__MouseAction

type QTest__MouseAction int64

QTest::MouseAction

const (
	QTest__MousePress   QTest__MouseAction = QTest__MouseAction(0)
	QTest__MouseRelease QTest__MouseAction = QTest__MouseAction(1)
	QTest__MouseClick   QTest__MouseAction = QTest__MouseAction(2)
	QTest__MouseDClick  QTest__MouseAction = QTest__MouseAction(3)
	QTest__MouseMove    QTest__MouseAction = QTest__MouseAction(4)
)

type QTest__QBenchmarkMetric

type QTest__QBenchmarkMetric int64

QTest::QBenchmarkMetric

const (
	QTest__FramesPerSecond      QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(0)
	QTest__BitsPerSecond        QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(1)
	QTest__BytesPerSecond       QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(2)
	QTest__WalltimeMilliseconds QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(3)
	QTest__CPUTicks             QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(4)
	QTest__InstructionReads     QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(5)
	QTest__Events               QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(6)
	QTest__WalltimeNanoseconds  QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(7)
	QTest__BytesAllocated       QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(8)
	QTest__CPUMigrations        QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(9)
	QTest__CPUCycles            QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(10)
	QTest__BusCycles            QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(11)
	QTest__StalledCycles        QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(12)
	QTest__Instructions         QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(13)
	QTest__BranchInstructions   QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(14)
	QTest__BranchMisses         QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(15)
	QTest__CacheReferences      QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(16)
	QTest__CacheReads           QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(17)
	QTest__CacheWrites          QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(18)
	QTest__CachePrefetches      QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(19)
	QTest__CacheMisses          QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(20)
	QTest__CacheReadMisses      QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(21)
	QTest__CacheWriteMisses     QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(22)
	QTest__CachePrefetchMisses  QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(23)
	QTest__ContextSwitches      QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(24)
	QTest__PageFaults           QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(25)
	QTest__MinorPageFaults      QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(26)
	QTest__MajorPageFaults      QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(27)
	QTest__AlignmentFaults      QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(28)
	QTest__EmulationFaults      QTest__QBenchmarkMetric = QTest__QBenchmarkMetric(29)
)

type QTest__TestFailMode

type QTest__TestFailMode int64

QTest::TestFailMode

const (
	QTest__Abort    QTest__TestFailMode = QTest__TestFailMode(1)
	QTest__Continue QTest__TestFailMode = QTest__TestFailMode(2)
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL