Permalink
Browse files

removed namedpipe test

--HG--
branch : 0.2.4
extra : convert_revision : svn%3A16f47a83-c923-0410-902c-c9163ce98875/branches/0.2.4%40814
  • Loading branch information...
1 parent ed07385 commit 32c2cff7e933228ff363036e297e7b29d2e4f2ff aep committed Aug 31, 2007
Showing with 0 additions and 45 deletions.
  1. +0 −38 tests/namedpipe/main.cpp
  2. +0 −7 tests/namedpipe/namedpipe.pro
@@ -1,38 +0,0 @@
-/** ***** namedpipe loopback test ******/
-#include <QxtNamedPipe>
-#include <QTest>
-#include <QSignalSpy>
-#include <QBuffer>
-#include <QDebug>
-#include <QByteArray>
-#include <QThread>
-
-class QxtnamedPipeTest: public QObject
- {
- Q_OBJECT
- private slots:
- void loopback()
- {
- QxtNamedPipe out("/tmp/QxtNamedPipe");
- QVERIFY2(out.open(QIODevice::ReadWrite),"open failed");
- QxtNamedPipe in("/tmp/QxtNamedPipe");
- QVERIFY2(in.open(QIODevice::ReadOnly),"open failed");
-
- QSignalSpy spyr(&in, SIGNAL(readyRead()));
-
- out.write("hello");
- QString readall=in.readAll();
- qDebug()<<"output:"<<readall;
- QVERIFY2(readall=="hello","output not mathing input");
- QVERIFY2 (spyr.count()> 0, "not emitting readyRead" );
- }
-
- signals:
- void wave();
- void counterwave();
- };
-
-
-
-QTEST_MAIN(QxtnamedPipeTest)
-#include "main.moc"
@@ -1,7 +0,0 @@
-TEMPLATE = app
-TARGET =
-DEPENDPATH += .
-INCLUDEPATH += .
-CONFIG+=QXT qtestlib
-QXT+=network
-SOURCES += main.cpp

0 comments on commit 32c2cff

Please sign in to comment.