~ubuntu-branches/ubuntu/utopic/psi/utopic

« back to all changes in this revision

Viewing changes to src/privacy/guitest/privacyruledlgtest.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2008-08-28 18:46:52 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080828184652-iiik12dl91nq7cdi
Tags: 0.12-2
Uploading to unstable (Closes: Bug#494352)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "guitest.h"
 
2
#include "guitestmanager.h"
 
3
#include "privacyruledlg.h"
 
4
#include <QDebug>
 
5
 
 
6
class PrivacyRuleDlgTest : public GUITest
 
7
{
 
8
public:
 
9
        PrivacyRuleDlgTest();
 
10
 
 
11
        QString name() { return "PrivacyRuleDlgTest"; }
 
12
        bool run();
 
13
};
 
14
 
 
15
PrivacyRuleDlgTest::PrivacyRuleDlgTest()
 
16
{
 
17
        GUITestManager::instance()->registerTest(this);
 
18
}
 
19
 
 
20
bool PrivacyRuleDlgTest::run() 
 
21
{
 
22
        PrivacyRuleDlg dlg;
 
23
        dlg.exec();
 
24
        return false;
 
25
}
 
26
 
 
27
static PrivacyRuleDlgTest* privacyRuleDlgTestInstance = new PrivacyRuleDlgTest();