| 204 | } |
| 205 | |
| 206 | Test::TestGroup* Test::TestGroup::getChildByName(const char* name, size_t count) |
| 207 | { |
| 208 | if (MAX_COUNT == count) |
| 209 | count = strlen(name) + 1; |
| 210 | for (unsigned i = 0; i < mChildren.size(); i++) |
| 211 | { |
| 212 | if (strncmp(mChildren[i]->getName(), name, count) == 0) |
| 213 | return mChildren[i]; |
| 214 | } |
| 215 | return NULL; |
| 216 | } |
| 217 | |
| 218 | Test::TestGroup* Test::TestGroup::getFirstTest() |
| 219 | { |