From 6976341e4b1270ca9d3088f61202f3e05f8eeaa2 Mon Sep 17 00:00:00 2001 From: Marco Bubke Date: Thu, 1 Feb 2018 15:56:15 +0100 Subject: [PATCH] UnitTests: Fix printing warning for not handled enumeration Change-Id: Ie590fff1d7a18552fadb34319a1423a6e0855df3 Reviewed-by: Ivan Donchevskii --- tests/unit/unittest/gtest-creator-printing.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/unittest/gtest-creator-printing.cpp b/tests/unit/unittest/gtest-creator-printing.cpp index 7ffddc151ad..8e18764f891 100644 --- a/tests/unit/unittest/gtest-creator-printing.cpp +++ b/tests/unit/unittest/gtest-creator-printing.cpp @@ -170,6 +170,7 @@ static const char *symbolTypeToCStringLiteral(SymbolType type) RETURN_TEXT_FOR_CASE(DeclarationReference); RETURN_TEXT_FOR_CASE(MacroDefinition); RETURN_TEXT_FOR_CASE(MacroUsage); + RETURN_TEXT_FOR_CASE(MacroUndefinition); } return "";