aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2020-06-30 22:03:36 +0200
committerRobert Loehning <robert.loehning@qt.io>2020-08-18 11:34:59 +0000
commit2bb89a0fb2a396aafde562f6a7447575b750e0bd (patch)
treeea8e079e91352edaa417ce8dacf4680d8761faae /tests
parent2dddc8520b11438adcc95e700e06c3ecfbed9225 (diff)
Squish: Adjust expectations in tst_CSUP06
Task-number: QTCREATORBUG-22729 Change-Id: If945eaf188358a69e32e659a4bfa97a6a5e20083 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/system/suite_CSUP/tst_CSUP06/test.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/system/suite_CSUP/tst_CSUP06/test.py b/tests/system/suite_CSUP/tst_CSUP06/test.py
index 7f6afe7af0..fe4188c306 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):