MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / TEST

Function TEST

tests/cplusplus/JointClientKit/JointClientKit.cpp:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34#include "gtest/gtest.h"
35
36TEST(BasicJointClientKit, ConstructDestruct) {
37 auto ctx = osvrJointClientInit("org.osvr.test.jointclientkit", nullptr);
38 ASSERT_NE(nullptr, ctx);
39 ASSERT_EQ(OSVR_RETURN_SUCCESS, osvrClientUpdate(ctx));
40 ASSERT_EQ(OSVR_RETURN_SUCCESS, osvrClientShutdown(ctx));
41}

Callers

nothing calls this directly

Calls 3

osvrJointClientInitFunction · 0.85
osvrClientUpdateFunction · 0.85
osvrClientShutdownFunction · 0.85

Tested by

no test coverage detected