Parameters:
test Test to find.
testPath If the test is found, then all the tests traversed to access test are added to testPath, including this and test.
Returns:
true if the specified test is found, false otherwise.
-------------
It seems to me, the description is not clear. I, for instance, just did NOT understand it first time. I think the descriptions should say explicitly that (*this) is the test where the search starts from; and that (*test) is the test to be found.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I have a proposition about description of the following class member:
----------
bool Test::findTestPath ( const Test * test,
TestPath & testPath
) const [virtual]
Parameters:
test Test to find.
testPath If the test is found, then all the tests traversed to access test are added to testPath, including this and test.
Returns:
true if the specified test is found, false otherwise.
-------------
It seems to me, the description is not clear. I, for instance, just did NOT understand it first time. I think the descriptions should say explicitly that (*this) is the test where the search starts from; and that (*test) is the test to be found.