diff options
author | Ratchanan Srirattanamet <ratchanan@ubports.com> | 2023-12-14 04:13:48 +0700 |
---|---|---|
committer | Ratchanan Srirattanamet <ratchanan@ubports.com> | 2023-12-14 04:13:48 +0700 |
commit | fce2bb770d17a0f9487fd490eecf6c074c7a7273 (patch) | |
tree | 25b11b8df7f75bc4a6166e9323de92a1d3585c2c /tests/utils/gtest-print-helpers.h | |
parent | 32f4db850f34668bf3c66e86f009bcb3a8c8374e (diff) | |
download | ayatana-indicator-display-fce2bb770d17a0f9487fd490eecf6c074c7a7273.tar.gz ayatana-indicator-display-fce2bb770d17a0f9487fd490eecf6c074c7a7273.tar.bz2 ayatana-indicator-display-fce2bb770d17a0f9487fd490eecf6c074c7a7273.zip |
tests: remove no longer needed parts
Diffstat (limited to 'tests/utils/gtest-print-helpers.h')
-rw-r--r-- | tests/utils/gtest-print-helpers.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/utils/gtest-print-helpers.h b/tests/utils/gtest-print-helpers.h deleted file mode 100644 index 60f42b4..0000000 --- a/tests/utils/gtest-print-helpers.h +++ /dev/null @@ -1,18 +0,0 @@ - -#pragma once - -#include <src/greeter.h> - -inline void PrintTo(const Greeter::State& state, std::ostream* os) { - switch(state) { - case Greeter::State::ACTIVE: *os << "Active"; break; - case Greeter::State::INACTIVE: *os << "Inactive"; break; - case Greeter::State::UNAVAILABLE: *os << "Unavailable"; break; - } -} - -inline std::ostream& operator<<(std::ostream& os, const Greeter::State& state) { - PrintTo(state, &os); - return os; -} - |