MCPcopy Create free account
hub / github.com/SOUI2/soui / checkConstMemberCount

Method checkConstMemberCount

third-part/jsoncpp/src/test_lib_json/main.cpp:1291–1299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1289}
1290
1291void ValueTest::checkConstMemberCount(const Json::Value& value,
1292 unsigned int expectedCount) {
1293 unsigned int count = 0;
1294 Json::Value::const_iterator itEnd = value.end();
1295 for (Json::Value::const_iterator it = value.begin(); it != itEnd; ++it) {
1296 ++count;
1297 }
1298 JSONTEST_ASSERT_EQUAL(expectedCount, count) << "Json::Value::const_iterator";
1299}
1300
1301void ValueTest::checkMemberCount(Json::Value& value,
1302 unsigned int expectedCount) {

Callers

nothing calls this directly

Calls 2

endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected