Unittest: Rename test cases to reflect their content

Amends b746a3e562.

Change-Id: I96e37d31be7efc72533c767c882ffa62967e7a6c
Reviewed-by: Tom Praschan <tom@praschan.de>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
Christian Stenger
2021-03-18 16:37:51 +01:00
parent eda5fbd645
commit 98ac237b7f

View File

@@ -350,14 +350,14 @@ TEST_F(TokenProcessor, LocalVariableReference)
ASSERT_THAT(infos[0], IsHighlightingMark(81u, 5u, 3u, HighlightingType::LocalVariable));
}
TEST_F(TokenProcessor, LocalVariableFunctionArgumentDeclaration)
TEST_F(TokenProcessor, ParameterFunctionArgumentDeclaration)
{
const auto infos = translationUnit.tokenInfosInRange(sourceRange(84, 45));
ASSERT_THAT(infos[5], IsHighlightingMark(84u, 41u, 3u, HighlightingType::Parameter));
}
TEST_F(TokenProcessor, LocalVariableFunctionArgumentReference)
TEST_F(TokenProcessor, ParameterFunctionArgumentReference)
{
const auto infos = translationUnit.tokenInfosInRange(sourceRange(86, 26));