aboutsummaryrefslogtreecommitdiff
path: root/engines/testbed/misc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/testbed/misc.cpp')
-rw-r--r--engines/testbed/misc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/testbed/misc.cpp b/engines/testbed/misc.cpp
index 413ac69802..2159974c51 100644
--- a/engines/testbed/misc.cpp
+++ b/engines/testbed/misc.cpp
@@ -68,7 +68,7 @@ void MiscTests::criticalSection(void *arg) {
TestExitStatus MiscTests::testDateTime() {
- if (Testsuite::isSessionInteractive) {
+ if (ConfParams.isSessionInteractive()) {
if (Testsuite::handleInteractiveInput("Testing the date time API implementation", "Continue", "Skip", kOptionRight)) {
Testsuite::logPrintf("Info! Date time tests skipped by the user.\n");
return kTestSkipped;
@@ -83,7 +83,7 @@ TestExitStatus MiscTests::testDateTime() {
Common::String dateTimeNow;
dateTimeNow = getHumanReadableFormat(t1);
- if (Testsuite::isSessionInteractive) {
+ if (ConfParams.isSessionInteractive()) {
// Directly verify date
dateTimeNow = "We expect the current date time to be " + dateTimeNow;
if (Testsuite::handleInteractiveInput(dateTimeNow, "Correct!", "Wrong", kOptionRight)) {
@@ -127,7 +127,7 @@ TestExitStatus MiscTests::testTimers() {
TestExitStatus MiscTests::testMutexes() {
- if (Testsuite::isSessionInteractive) {
+ if (ConfParams.isSessionInteractive()) {
if (Testsuite::handleInteractiveInput("Testing the Mutual Exclusion API implementation", "Continue", "Skip", kOptionRight)) {
Testsuite::logPrintf("Info! Mutex tests skipped by the user.\n");
return kTestSkipped;
@@ -148,7 +148,7 @@ TestExitStatus MiscTests::testMutexes() {
g_system->unlockMutex(sv.mutex);
// wait till timed process exits
- if (Testsuite::isSessionInteractive) {
+ if (ConfParams.isSessionInteractive()) {
Testsuite::writeOnScreen("Waiting for 3s so that timed processes finish", Common::Point(0, 100));
}
g_system->delayMillis(3000);