def METHOD_NAME(self, method):
    test_workspace = os.environ['TEST_WORKSPACE']
    test_class = self.__class__.__name__
    print('Running ' + test_class + ' tests in ' + test_workspace)
    self._codechecker_cfg = env.import_codechecker_cfg(test_workspace)
    self._test_dir = os.path.join(test_workspace, 'test_files')
    # Get the clang version which is tested.
    self._clang_to_test = env.clang_to_test()
    self._testproject_data = env.setup_test_proj_cfg(test_workspace)
    self.assertIsNotNone(self._testproject_data)
    self._cc_client = env.setup_viewer_client(test_workspace)
    self.assertIsNotNone(self._cc_client)
    # Get the run names which belong to this test.
    run_names = env.get_run_names(test_workspace)
    sort_mode = RunSortMode(RunSortType.DATE, Order.ASC)
    runs = self._cc_client.getRunData(None, None, 0, sort_mode)
    test_runs = [run for run in runs if run.name in run_names]
    self._runid = test_runs[0].runId