def METHOD_NAME(self):
    """
    Test for removing run results and run.
    """
    # Run the anaysis again with different setup.
    test_project_path = self._testproject_data['project_path']
    ret = project.clean(test_project_path)
    if ret:
        sys.exit(ret)
    codechecker.check_and_store(self._codechecker_cfg,
                                'remove_run_results',
                                test_project_path)
    run_filter = RunFilter(names=['remove_run_results'], exactMatch=True)
    sort_mode = RunSortMode(RunSortType.DATE, Order.ASC)
    runs = self._cc_client.getRunData(run_filter, None, 0, sort_mode)
    self.assertEqual(len(runs), 1)
    run_id = runs[0].runId
    orig_results_count = \
        self._cc_client.getRunResultCount([run_id], ReportFilter(), None)
    self.assertNotEqual(orig_results_count, 0)
    checker_filter = ReportFilter(checkerName=["core.CallAndMessage"])
    res_count = self._cc_client.getRunResultCount([run_id],
                                                  checker_filter,
                                                  None)
    self.assertNotEqual(res_count, 0)
    self._cc_client.removeRunReports([run_id],
                                     checker_filter,
                                     None)
    res_count = self._cc_client.getRunResultCount([run_id],
                                                  checker_filter,
                                                  None)
    self.assertEqual(res_count, 0)
    # Remove the run.
    self._cc_client.removeRun(run_id, None)
    # Check that we removed all results from the run.
    res = self._cc_client.getRunResultCount([run_id], ReportFilter(), None)
    self.assertEqual(res, 0)