The whole sentence doesn't make a lot of sense to me (and never did). Is this essentially trying to say:

Return a relative path to a test result, named either by the given basename or according to the calling TestCase method and its location in the test's submodule structure.