[RPC tests] Generate test classes automatically (#42527)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/42527
ghstack-source-id: 109229468
Test Plan: CI
Reviewed By: pritamdamania87
Differential Revision: D22864698
fbshipit-source-id: 6a55f3201c544f0173493b38699a2c7e95ac1bbc