24 lines
322 B
C
24 lines
322 B
C
|
#pragma once
|
||
|
|
||
|
#include <qobject.h>
|
||
|
#include <QtTest/QtTest>
|
||
|
|
||
|
class QskControl;
|
||
|
class CheckBoxTests : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
QskControl * root;
|
||
|
private Q_SLOTS:
|
||
|
void init();
|
||
|
void cleanup();
|
||
|
|
||
|
void checkbox();
|
||
|
void click();
|
||
|
void toggle();
|
||
|
void triState();
|
||
|
};
|
||
|
|
||
|
QTEST_MAIN(CheckBoxTests)
|
||
|
|