summaryrefslogtreecommitdiffstats
path: root/tests/auto/qprocess
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-07-23 00:43:31 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-07-23 00:43:31 (GMT)
commit5027f869f8fc759148871b378e9cae6e88694bcb (patch)
tree57540383ccbcc79fc5d76c8450b4d688ddbb14f7 /tests/auto/qprocess
parent08d549d00816c753096d9cb97a29f4d9dd7c5573 (diff)
downloadQt-5027f869f8fc759148871b378e9cae6e88694bcb.zip
Qt-5027f869f8fc759148871b378e9cae6e88694bcb.tar.gz
Qt-5027f869f8fc759148871b378e9cae6e88694bcb.tar.bz2
Remove autotest for "Won't fix" bug 258462.
Diffstat (limited to 'tests/auto/qprocess')
-rw-r--r--tests/auto/qprocess/tst_qprocess.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/auto/qprocess/tst_qprocess.cpp b/tests/auto/qprocess/tst_qprocess.cpp
index 3ce080a..6318d1d 100644
--- a/tests/auto/qprocess/tst_qprocess.cpp
+++ b/tests/auto/qprocess/tst_qprocess.cpp
@@ -141,7 +141,6 @@ private slots:
void startFinishStartFinish();
void invalidProgramString_data();
void invalidProgramString();
- void processEventsInAReadyReadSlot();
// keep these at the end, since they use lots of processes and sometimes
// caused obscure failures to occur in tests that followed them (esp. on the Mac)
@@ -155,7 +154,6 @@ protected slots:
void restartProcess();
void waitForReadyReadInAReadyReadSlotSlot();
void waitForBytesWrittenInABytesWrittenSlotSlot();
- void processEventsInAReadyReadSlotSlot();
private:
QProcess *process;
@@ -2026,34 +2024,5 @@ void tst_QProcess::invalidProgramString()
QVERIFY(!QProcess::startDetached(programString));
}
-//-----------------------------------------------------------------------------
-void tst_QProcess::processEventsInAReadyReadSlot()
-{
-#ifdef Q_OS_WINCE
- QSKIP("Reading and writing to a process is not supported on Qt/CE", SkipAll);
-#endif
-
- QProcess process;
- QVERIFY(QObject::connect(&process, SIGNAL(readyReadStandardOutput()), this, SLOT(processEventsInAReadyReadSlotSlot())));
-
- for (int i = 0; i < 10; ++i) {
- QCOMPARE(process.state(), QProcess::NotRunning);
-
-#ifdef Q_OS_MAC
- process.start("testProcessOutput/testProcessOutput.app");
-#else
- process.start("testProcessOutput/testProcessOutput");
-#endif
-
- QVERIFY(process.waitForFinished(10000));
- }
-}
-
-//-----------------------------------------------------------------------------
-void tst_QProcess::processEventsInAReadyReadSlotSlot()
-{
- qApp->processEvents();
-}
-
QTEST_MAIN(tst_QProcess)
#include "tst_qprocess.moc"