Google Test and Cppunit seem to have somewhat the same syntax for calling tests, but I suspect there are too many differences in this syntax.
I am pretty sure that you cannot automate it in any way, and this operation will require rethinking and re-arranging your tests in order to follow the Google Test semantics (if you use something specialized to create your mocks, and then transfer them to Google Mock it would have taken even more effort, simply because the Google Mock approach is not obvious and actually complicated).
I would say that you better rethink the following questions: “why should I transfer my tests”, “what will be the benefit of this operation” and “do I really want to learn a completely new testing structure and then rewrite all my tests for some purpose” .
source share