src/hbcore/utils/hbthetestutility_p.cpp
changeset 7 923ff622b8b9
parent 5 627c4a0fd0e7
--- a/src/hbcore/utils/hbthetestutility_p.cpp	Wed Jun 23 18:33:25 2010 +0300
+++ b/src/hbcore/utils/hbthetestutility_p.cpp	Tue Jul 06 14:36:53 2010 +0300
@@ -50,7 +50,7 @@
 const QString KDriveEPath("E:\\data\\log\\");
 const QString KDriveCPath("C:\\data\\log\\");
 const QString KTheConfigureFile("TheTestUtility.txt"); // todo: proper name for configuration file
-
+const QString KUnixPath("HbTestUtility");
 
 class HbTheTestUtilityPrivate
 {
@@ -103,7 +103,11 @@
 #elif defined (Q_OS_WIN32)
     return doCheckConfigFile(KDriveCPath);
 #else
-    return false; // only Symbian and Windows are supported
+    QString path(QDir::homePath());
+    path.append(QDir::separator());
+    path.append(KUnixPath);
+    path.append(QDir::separator());
+    return doCheckConfigFile(path);
 #endif
 }
 
@@ -273,7 +277,10 @@
 #elif defined (Q_OS_WIN)
     QString filePath("C:\\data\\log\\");
 #else
-    QString filePath(QDir::tempPath());
+    QString filePath(QDir::homePath());
+    filePath.append(QDir::separator());
+    filePath.append(KUnixPath);
+    filePath.append(QDir::separator());
 #endif
 
     filePath = QDir::toNativeSeparators(filePath);