| 33 | #include "gtest/gtest.h" |
| 34 | |
| 35 | TEST(OverlappedContexts, TwoContexts) { |
| 36 | OSVR_ClientContext firstContext = |
| 37 | osvrClientInit("com.osvr.test.firstContext"); |
| 38 | OSVR_ClientContext secondContext = |
| 39 | osvrClientInit("com.osvr.test.secondContext"); |
| 40 | ASSERT_EQ(OSVR_RETURN_SUCCESS, osvrClientShutdown(firstContext)); |
| 41 | osvrClientUpdate(secondContext); |
| 42 | ASSERT_EQ(OSVR_RETURN_SUCCESS, osvrClientShutdown(secondContext)); |
| 43 | } |
nothing calls this directly
no test coverage detected