This is impossible to test with a unit test, as we have this static function that will return always null in CxxCoverageSensor.java
      org.sonar.api.resources.File cxxfile =
          org.sonar.api.resources.File.fromIOFile(new File(filePath), project);

So these tests will only run in the machine where ive produced the coverage file.