| 770 | //////////////////// UtestShellPointerArray |
| 771 | |
| 772 | UtestShellPointerArray::UtestShellPointerArray(UtestShell* firstTest) |
| 773 | : arrayOfTests_(NULLPTR), count_(0) |
| 774 | { |
| 775 | count_ = (firstTest) ? firstTest->countTests() : 0; |
| 776 | if (count_ == 0) return; |
| 777 | |
| 778 | arrayOfTests_ = new UtestShell*[count_]; |
| 779 | |
| 780 | UtestShell*currentTest = firstTest; |
| 781 | for (size_t i = 0; i < count_; i++) |
| 782 | { |
| 783 | arrayOfTests_[i] = currentTest; |
| 784 | currentTest = currentTest->getNext(); |
| 785 | } |
| 786 | } |
| 787 | |
| 788 | UtestShellPointerArray::~UtestShellPointerArray() |
| 789 | { |
nothing calls this directly
no test coverage detected