getMaxScoreWeighted

Computes the maximum score of a XUnitReport.TestCase based on the given weighting policy.

Note that this method will return null if weighting is null or this test case is skipped.