| 1289 | } |
| 1290 | |
| 1291 | void 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 | |
| 1301 | void ValueTest::checkMemberCount(Json::Value& value, |
| 1302 | unsigned int expectedCount) { |