summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/util
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/widgets/util')
-rw-r--r--tests/auto/widgets/util/qundogroup/tst_qundogroup.cpp4
-rw-r--r--tests/auto/widgets/util/qundostack/tst_qundostack.cpp4
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/widgets/util/qundogroup/tst_qundogroup.cpp b/tests/auto/widgets/util/qundogroup/tst_qundogroup.cpp
index 1293f93d67..c835f58747 100644
--- a/tests/auto/widgets/util/qundogroup/tst_qundogroup.cpp
+++ b/tests/auto/widgets/util/qundogroup/tst_qundogroup.cpp
@@ -201,7 +201,9 @@ private slots:
void deleteStack();
void checkSignals();
void addStackAndDie();
+#ifndef QT_NO_PROCESS
void commandTextFormat();
+#endif
};
tst_QUndoGroup::tst_QUndoGroup()
@@ -605,6 +607,7 @@ void tst_QUndoGroup::addStackAndDie()
delete stack;
}
+#ifndef QT_NO_PROCESS
void tst_QUndoGroup::commandTextFormat()
{
QString binDir = QLibraryInfo::location(QLibraryInfo::BinariesPath);
@@ -644,6 +647,7 @@ void tst_QUndoGroup::commandTextFormat()
qApp->removeTranslator(&translator);
}
+#endif
#else
class tst_QUndoGroup : public QObject
diff --git a/tests/auto/widgets/util/qundostack/tst_qundostack.cpp b/tests/auto/widgets/util/qundostack/tst_qundostack.cpp
index c6837e7cb0..7a80518800 100644
--- a/tests/auto/widgets/util/qundostack/tst_qundostack.cpp
+++ b/tests/auto/widgets/util/qundostack/tst_qundostack.cpp
@@ -247,7 +247,9 @@ private slots:
void macroBeginEnd();
void compression();
void undoLimit();
+#ifndef QT_NO_PROCESS
void commandTextFormat();
+#endif
void separateUndoText();
};
@@ -2964,6 +2966,7 @@ void tst_QUndoStack::undoLimit()
true); // redoChanged
}
+#ifndef QT_NO_PROCESS
void tst_QUndoStack::commandTextFormat()
{
QString binDir = QLibraryInfo::location(QLibraryInfo::BinariesPath);
@@ -3001,6 +3004,7 @@ void tst_QUndoStack::commandTextFormat()
qApp->removeTranslator(&translator);
}
+#endif
void tst_QUndoStack::separateUndoText()
{