MCPcopy Create free account
hub / github.com/EIPStackGroup/OpENer / TEST

Function TEST

source/tests/cip/cipconnectionobjecttest.cpp:22–27  ·  view source on GitHub ↗

Get State tests */

Source from the content-addressed store, hash-verified

20
21/* Get State tests */
22TEST(CipConnectionObject, GetStateNonExistent) {
23 CipConnectionObject connection_object = { 0 };
24 connection_object.state = 0;
25 ConnectionObjectState state = ConnectionObjectGetState(&connection_object);
26 CHECK_EQUAL(kConnectionObjectStateNonExistent, state);
27}
28
29TEST(CipConnectionObject, GetStateConfiguring) {
30 CipConnectionObject connection_object = { 0 };

Callers

nothing calls this directly

Tested by

no test coverage detected