Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
KDevelop
KDevelop
Commits
2d72dfe4
Commit
2d72dfe4
authored
Sep 27, 2022
by
Milian Wolff
Browse files
Add tests for more complex template identifiers
parent
37a6bb5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
kdevplatform/language/duchain/tests/test_stringhelpers.cpp
View file @
2d72dfe4
...
...
@@ -158,6 +158,8 @@ void TestStringHelpers::testParamIterator_data()
addTest
(
"A<
\"
>
\\\"
>
\"
>"
,
{
"
\"
>
\\\"
>
\"
"
});
addTest
(
"A<'>'>"
,
{
"'>'"
});
addTest
(
"myoperator<anoperator<anotheroperator>, my_operator>"
,
{
"anoperator<anotheroperator>"
,
"my_operator"
});
addTest
(
"Y<decltype(&X::operator<=), &X::operator<=>"
,
{
"decltype(&X::operator<=)"
,
"&X::operator<="
});
addTest
(
"Y<decltype(&X::operator--), &X::operator-->"
,
{
"decltype(&X::operator--)"
,
"&X::operator--"
});
}
void
TestStringHelpers
::
testParamIterator
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment