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
2e82c3e5
Commit
2e82c3e5
authored
Nov 14, 2018
by
Rolf Eike Beer
Committed by
Rolf Eike Beer
Nov 15, 2018
Browse files
tests: fix naming of test lines
parent
b64a03ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
kdevplatform/language/duchain/tests/test_stringhelpers.cpp
View file @
2e82c3e5
...
...
@@ -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