According to the documentation, TestDecorator "does not assume ownership of the test it decorates":
But TestDecorator does actually take ownership! Its destructor deletes test it has decorated:
So I'd suggest to just update the documentation, according to the attached patch. Otherwise TestDecorator would have been a little bit too much like the TestReference class I've just proposed, at the Help forum :-) Please have a look:
Log in to post a comment.