From 2bb89a0fb2a396aafde562f6a7447575b750e0bd Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Tue, 30 Jun 2020 22:03:36 +0200 Subject: [PATCH] Squish: Adjust expectations in tst_CSUP06 Task-number: QTCREATORBUG-22729 Change-Id: If945eaf188358a69e32e659a4bfa97a6a5e20083 Reviewed-by: Christian Stenger --- tests/system/suite_CSUP/tst_CSUP06/test.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/system/suite_CSUP/tst_CSUP06/test.py b/tests/system/suite_CSUP/tst_CSUP06/test.py index 7f6afe7af0c..fe4188c3060 100644 --- a/tests/system/suite_CSUP/tst_CSUP06/test.py +++ b/tests/system/suite_CSUP/tst_CSUP06/test.py @@ -97,14 +97,12 @@ def checkSymbolCompletion(editor, isClangCodeModel): "dummy.o":["one", "ONE"], "Dummy::In":["Internal", "INT"], "Dummy::Internal::":["DOUBLE", "one"] } - missing = ["Dummy::s", "Dummy::P", "dummy.b", "dummy.bla(", "internal.o", "freefunc2", - "afun"] + missing = ["Dummy::s", "Dummy::P", "dummy.b", "dummy.bla(", "internal.o", "freefunc2"] expectedResults = {"dummy.":"dummy.foo(", "Dummy::s":"Dummy::sfunc()", "Dummy::P":"Dummy::PI", "dummy.b":"dummy.bla(", "dummy.bla(":"dummy.bla(", "internal.o":"internal.one", "freefunc2":"freefunc2(", "using namespace st":"using namespace std", "afun":"afunc()"} if isClangCodeModel: - missing.remove("Dummy::s") # QTCREATORBUG-22729 missing.remove("internal.o") expectedSuggestion["in"] = ["internal", "int"] # QTCREATORBUG-22728 expectedSuggestion["internal.o"] = ["one", "operator="] @@ -113,7 +111,6 @@ def checkSymbolCompletion(editor, isClangCodeModel): else: expectedSuggestion["using namespace st"] = ["std", "struct ", "struct template"] else: - missing.remove("afun") expectedSuggestion["using namespace st"] = ["std", "st"] # define test function to perform the _real_ auto completion test on the current line def testSymb(currentLine, *args):