Commit af995ca1 authored by Nikolai Kosjar's avatar Nikolai Kosjar

Tests: Rename test function in tst_lexer.cpp

...to a more generic name since it is not any more limited to doxygen.

Change-Id: I0fca5dab9b5ab8850b2cfba5758b51f0451c199d
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
parent 501a0bce
......@@ -43,11 +43,11 @@ class tst_SimpleLexer: public QObject
Q_OBJECT
private slots:
void doxygen_comments();
void doxygen_comments_data();
void basic();
void basic_data();
};
void tst_SimpleLexer::doxygen_comments()
void tst_SimpleLexer::basic()
{
QFETCH(QByteArray, source);
QFETCH(QList<unsigned>, expectedTokenKindList);
......@@ -70,7 +70,7 @@ void tst_SimpleLexer::doxygen_comments()
QVERIFY2(i == expectedTokenKindList.size(), "Less tokens than expected.");
}
void tst_SimpleLexer::doxygen_comments_data()
void tst_SimpleLexer::basic_data()
{
QTest::addColumn<QByteArray>("source");
QTest::addColumn<QList<unsigned> >("expectedTokenKindList");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment