Store TestCaseEvent in ClassStatistics.