summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@digia.com>2013-01-31 15:57:13 +0100
committerRobert Loehning <robert.loehning@digia.com>2013-01-31 17:31:58 +0100
commitf71486fa4dbfaf7d2a8c4aacdec07d576685de69 (patch)
tree47a010c4d43017e2b521957d6d2740d194c6b374 /tests
parentf20b92f9130db2df1c7e2ce22926286c2b51ef39 (diff)
downloadqt-creator-f71486fa4dbfaf7d2a8c4aacdec07d576685de69.tar.gz
Squish: Fixed tst_modify_readonly
Change-Id: I8cce1e72dceb1085cb42f2cfa2bf8a7db721c564 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/system/objects.map2
-rw-r--r--tests/system/suite_editors/tst_modify_readonly/test.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/system/objects.map b/tests/system/objects.map
index 327d4eeff8..09928f4a5d 100644
--- a/tests/system/objects.map
+++ b/tests/system/objects.map
@@ -59,7 +59,7 @@
:Next_QPushButton {text~='(Next.*|Continue)' type='QPushButton' visible='1'}
:Open File.File name:_QLabel {name='fileNameLabel' text='File name:' type='QLabel' visible='1' window=':Open File_QFileDialog'}
:Open File_QFileDialog {name='QFileDialog' type='QFileDialog' visible='1' windowTitle='Open File'}
-:OpenDocuments_QTreeView {name='editorList' type='QTreeView' visible='1' window=':Qt Creator_Core::Internal::MainWindow'}
+:OpenDocuments_Widget {type='Core::Internal::OpenEditorsWidget' unnamed='1' visible='1' window=':Qt Creator_Core::Internal::MainWindow' windowTitle='Open Documents'}
:OpenProject_QStyleItem {clip='false' container=':Qt Creator_QDeclarativeView' enabled='true' text='Open Project' type='LinkedText' unnamed='1' visible='true'}
:Options.Cancel_QPushButton {text='Cancel' type='QPushButton' unnamed='1' visible='1' window=':Options_Core::Internal::SettingsDialog'}
:Options.OK_QPushButton {text='OK' type='QPushButton' unnamed='1' visible='1' window=':Options_Core::Internal::SettingsDialog'}
diff --git a/tests/system/suite_editors/tst_modify_readonly/test.py b/tests/system/suite_editors/tst_modify_readonly/test.py
index 389ee0574a..863fd4a2f5 100644
--- a/tests/system/suite_editors/tst_modify_readonly/test.py
+++ b/tests/system/suite_editors/tst_modify_readonly/test.py
@@ -112,7 +112,7 @@ def testSaveChangesAndMakeWritable(modifiedFiles, readOnlyFiles):
pass
def checkOpenDocumentsContains(itemName):
- openDocsTreeViewModel = waitForObject(":OpenDocuments_QTreeView").model()
+ openDocsTreeViewModel = waitForObject(":OpenDocuments_Widget").model()
result = None
found = False
for index in dumpIndices(openDocsTreeViewModel):