Squish: Removed some Mac workarounds

Change-Id: I85a4fee5acbb36096283daec982a8d31e42573b4
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
This commit is contained in:
Christian Stenger
2012-11-19 15:08:18 +01:00
parent 8e1815dcb4
commit e53b4a9c76
2 changed files with 1 additions and 4 deletions
+1 -2
View File
@@ -34,8 +34,7 @@ if platform.system() == "Darwin":
if str(args[0]).startswith('qtcreator'):
args[0] = args[0].replace('qtcreator', '"Qt Creator"', 1)
__origStartApplication__(*args)
test.log("Using workaround for MacOS (losing focus & different AUT name)")
setWindowState(findObject(":Qt Creator_Core::Internal::MainWindow"), WindowState.Maximize)
test.log("Using workaround for MacOS (different AUT name)")
def waitForCleanShutdown(timeOut=10):
appCtxt = currentApplicationContext()
-2
View File
@@ -221,8 +221,6 @@ def selectFromFileDialog(fileName):
snooze(2)
nativeType("<Return>")
snooze(1)
setWindowState(findObject(":Qt Creator_Core::Internal::MainWindow"), WindowState.Minimize)
setWindowState(findObject(":Qt Creator_Core::Internal::MainWindow"), WindowState.Maximize)
else:
fName = os.path.basename(os.path.abspath(fileName))
pName = os.path.dirname(os.path.abspath(fileName)) + os.sep