diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2018-07-30 19:43:07 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2018-07-31 10:10:19 +0000 |
commit | 8654677015dd5c17ceea0fea2fdc8d2eb6ca8f98 (patch) | |
tree | 35b49544eb1a8891bd0f433bd9734397c78a3467 /tests | |
parent | be8945260243e2b0da9d31e736908000316ef38b (diff) |
UnitTest: Remove unused function
This amends commit da4be3fdb726cc7c8e381d42c8997e31d7dc08c2.
Change-Id: Iffdf4581b7f29fc846c944e24f33e27e003f1b3b
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/unittest/gtest-creator-printing.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/unit/unittest/gtest-creator-printing.cpp b/tests/unit/unittest/gtest-creator-printing.cpp index 66d1e88c39c..73184a17afe 100644 --- a/tests/unit/unittest/gtest-creator-printing.cpp +++ b/tests/unit/unittest/gtest-creator-printing.cpp @@ -299,18 +299,6 @@ std::ostream &operator<<(std::ostream &os, const AliveMessage &/*message*/) return os << "()"; } -#define RETURN_TEXT_FOR_CASE(enumValue) case CompletionCorrection::enumValue: return #enumValue -static const char *completionCorrectionToText(CompletionCorrection correction) -{ - switch (correction) { - RETURN_TEXT_FOR_CASE(NoCorrection); - RETURN_TEXT_FOR_CASE(DotToArrowCorrection); - } - - return ""; -} -#undef RETURN_TEXT_FOR_CASE - std::ostream &operator<<(std::ostream &os, const CompletionsMessage &message) { os << "(" |