summaryrefslogtreecommitdiff
path: root/lib/tests
diff options
context:
space:
mode:
authorDaniel Nicoletti <mirttex85-pk@yahoo.com.br>2008-03-28 15:21:48 -0300
committerDaniel Nicoletti <mirttex85-pk@yahoo.com.br>2008-03-28 15:21:48 -0300
commit0e76b57b68ecbff0914dd6cd2efe139caf1d9758 (patch)
tree3a141ef999978fffda760601ae3d74b93cc21b7a /lib/tests
parent228ac62297fac36122ebb6adb83ab108401762bc (diff)
trying to use git
Daniel Nicoletti
Diffstat (limited to 'lib/tests')
-rw-r--r--lib/tests/Connection/Connection.pro14
-rwxr-xr-xlib/tests/Connection/run.sh2
-rw-r--r--lib/tests/Connection/testClient.cpp11
-rw-r--r--lib/tests/Connection/testClient.h20
-rw-r--r--lib/tests/Connection/testConnection.cpp12
5 files changed, 0 insertions, 59 deletions
diff --git a/lib/tests/Connection/Connection.pro b/lib/tests/Connection/Connection.pro
deleted file mode 100644
index a49641b..0000000
--- a/lib/tests/Connection/Connection.pro
+++ /dev/null
@@ -1,14 +0,0 @@
-######################################################################
-# Automatically generated by qmake (2.01a) mar. mars 18 19:24:01 2008
-######################################################################
-
-TEMPLATE = app
-TARGET = testConnection
-DEPENDPATH += .
-INCLUDEPATH += .
-LIBS += -L../../ -lqpackagekit
-QT += dbus
-
-# Input
-HEADERS += ../../Connection.h testClient.h
-SOURCES += testClient.cpp testConnection.cpp
diff --git a/lib/tests/Connection/run.sh b/lib/tests/Connection/run.sh
deleted file mode 100755
index c5769a7..0000000
--- a/lib/tests/Connection/run.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-LD_LIBRARY_PATH=../..:$LD_LIBRARY_PATH ./testConnection
diff --git a/lib/tests/Connection/testClient.cpp b/lib/tests/Connection/testClient.cpp
deleted file mode 100644
index 0f7c331..0000000
--- a/lib/tests/Connection/testClient.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-#include "testClient.h"
-
-testClient::testClient (QObject *parent) : QObject(parent) {
- con = new Connection(this);
- if(con->valid()) qDebug() << "PK is running";
- connect(con, SIGNAL(changed(bool)), this, SLOT(pkChanged(bool)));
-}
-
-void testClient::pkChanged(bool status) {
- qDebug() << "PK is now" << (status ? "running" : "stopped");
-}
diff --git a/lib/tests/Connection/testClient.h b/lib/tests/Connection/testClient.h
deleted file mode 100644
index 692add0..0000000
--- a/lib/tests/Connection/testClient.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <QtCore>
-
-#include "../../Connection.h"
-
-using namespace PackageKit;
-
-class testClient : public QObject {
-
- Q_OBJECT
-
-public:
- testClient(QObject *parent = 0);
-
-public slots:
- void pkChanged(bool status);
-
-private:
- Connection *con;
-
-};
diff --git a/lib/tests/Connection/testConnection.cpp b/lib/tests/Connection/testConnection.cpp
deleted file mode 100644
index 678f4aa..0000000
--- a/lib/tests/Connection/testConnection.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtCore>
-
-#include "testClient.h"
-
-using namespace PackageKit;
-
-int main(int argc, char **argv) {
- QCoreApplication app(argc, argv);
- testClient client;
-
- return app.exec();
-}