Get State tests */
| 20 | |
| 21 | /* Get State tests */ |
| 22 | TEST(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 | |
| 29 | TEST(CipConnectionObject, GetStateConfiguring) { |
| 30 | CipConnectionObject connection_object = { 0 }; |
nothing calls this directly
no test coverage detected