forked from qt-creator/qt-creator
SquishTests: Fix expected proposals
Change-Id: Id835185e621fac6adba3e1db15d1a3d782b571df Reviewed-by: Robert Löhning <robert.loehning@qt.io>
This commit is contained in:
@@ -41,8 +41,9 @@ def main():
|
||||
listView = waitForObject(":popupFrame_Proposal_QListView")
|
||||
shownProposals = dumpItems(listView.model())
|
||||
usedProposal = "class derived from QObject"
|
||||
expectedProposals = ["class", "class ", "class template",
|
||||
expectedProposals = ["class ", "class template",
|
||||
usedProposal, "class derived from QWidget"]
|
||||
expectedProposals += [" class"] if useClang else ["class"]
|
||||
test.xcompare(len(shownProposals), len(expectedProposals), # QTCREATORBUG-23159
|
||||
"Number of proposed templates")
|
||||
test.verify(set(expectedProposals).issubset(set(shownProposals)),
|
||||
|
Reference in New Issue
Block a user