ssuclitest.h 556 Bytes
Newer Older
1
/**
2
 * @file ssuclitest.h
3 4 5 6 7
 * @copyright 2013 Jolla Ltd.
 * @author Martin Kampas <martin.kampas@tieto.com>
 * @date 2013
 */

8 9
#ifndef _SSUCLITEST_H
#define _SSUCLITEST_H
10 11 12

#include <QObject>

13 14
class QProcess;

15 16
class Sandbox;

17 18
class SsuCliTest: public QObject
{
19 20
    Q_OBJECT

21
public:
22
    SsuCliTest(): m_sandbox(0) {}
23

24
private slots:
25 26 27 28 29 30 31
    void init();
    void cleanup();

    void testSubcommandFlavour();
    void testSubcommandRelease();
    void testSubcommandMode();

32
private:
33
    Sandbox *m_sandbox;
34 35
    QProcess *m_bus;
    QProcess *m_ssud;
36 37 38
};

#endif