Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas Schöps
kdevelop
Commits
7b9572d3
Commit
7b9572d3
authored
Nov 14, 2018
by
Rolf Eike Beer
Committed by
Kevin Funk
Nov 16, 2018
Browse files
tests: fix naming of test lines
(cherry picked from commit
2e82c3e5
)
parent
c41699a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
kdevplatform/language/duchain/tests/test_stringhelpers.cpp
View file @
7b9572d3
...
...
@@ -34,10 +34,10 @@ void TestDUChain::testFormatComment_data()
QTest
::
addColumn
<
QByteArray
>
(
"input"
);
QTest
::
addColumn
<
QByteArray
>
(
"output"
);
QTest
::
newRow
(
"c-style"
)
<<
QByteArrayLiteral
(
"// foo
\n
// bar"
)
<<
QByteArrayLiteral
(
"foo
\n
bar"
);
QTest
::
newRow
(
"doxy-c-style"
)
<<
QByteArrayLiteral
(
"/// foo
\n
/// bar"
)
<<
QByteArrayLiteral
(
"foo
\n
bar"
);
QTest
::
newRow
(
"c
pp
-style"
)
<<
QByteArrayLiteral
(
"/*
\n
foo
\n
bar
\n
*/"
)
<<
QByteArrayLiteral
(
"foo
\n
bar"
);
QTest
::
newRow
(
"doxy-c
pp
-style"
)
<<
QByteArrayLiteral
(
"/**
\n
* foo
\n
* bar
\n
*/"
)
<<
QByteArrayLiteral
(
"foo
\n
bar"
);
QTest
::
newRow
(
"c
pp
-style"
)
<<
QByteArrayLiteral
(
"// foo
\n
// bar"
)
<<
QByteArrayLiteral
(
"foo
\n
bar"
);
QTest
::
newRow
(
"doxy-c
pp
-style"
)
<<
QByteArrayLiteral
(
"/// foo
\n
/// bar"
)
<<
QByteArrayLiteral
(
"foo
\n
bar"
);
QTest
::
newRow
(
"c-style"
)
<<
QByteArrayLiteral
(
"/*
\n
foo
\n
bar
\n
*/"
)
<<
QByteArrayLiteral
(
"foo
\n
bar"
);
QTest
::
newRow
(
"doxy-c-style"
)
<<
QByteArrayLiteral
(
"/**
\n
* foo
\n
* bar
\n
*/"
)
<<
QByteArrayLiteral
(
"foo
\n
bar"
);
}
void
TestDUChain
::
testFormatComment
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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