brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 1 | #include "aos/common/queue.h" |
| 2 | |
| 3 | namespace aos { |
| 4 | namespace common { |
| 5 | namespace testing { |
| 6 | |
| 7 | class GlobalCoreInstance { |
| 8 | public: |
| 9 | GlobalCoreInstance(); |
| 10 | ~GlobalCoreInstance(); |
| 11 | |
| 12 | private: |
| 13 | struct aos_core global_core_data_; |
| 14 | }; |
| 15 | |
Brian Silverman | b361697 | 2013-03-05 19:58:10 -0800 | [diff] [blame] | 16 | // Enables the logging framework for use during a gtest test. |
| 17 | // It will print out all WARNING and above messages all of the time. It will |
| 18 | // also print out all log messages when a test fails. |
| 19 | // This function only needs to be called once in each process (after gtest is |
| 20 | // initialized), however it can be called more than that. |
| 21 | void EnableTestLogging(); |
| 22 | |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 23 | } // namespace testing |
| 24 | } // namespace common |
| 25 | } // namespace aos |