MCPcopy Create free account
hub / github.com/ClassicOldSong/Apollo / SetUp

Method SetUp

tests/unit/test_mouse.cpp:10–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9struct MouseHIDTest: PlatformTestSuite, testing::WithParamInterface<util::point_t> {
10 void SetUp() override {
11#ifdef _WIN32
12 // TODO: Windows tests are failing, `get_mouse_loc` seems broken and `platf::abs_mouse` too
13 // the alternative `platf::abs_mouse` method seem to work better during tests,
14 // but I'm not sure about real work
15 GTEST_SKIP() << "TODO Windows";
16#elif __linux__
17 // TODO: Inputtino waiting https://github.com/games-on-whales/inputtino/issues/6 is resolved.
18 GTEST_SKIP() << "TODO Inputtino";
19#endif
20 }
21
22 void TearDown() override {
23 std::this_thread::sleep_for(std::chrono::milliseconds(200));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected