Change display way of reporting status, add last ten days score
[releng.git] / utils / test / reporting / yardstick / scenarioResult.py
1 #!/usr/bin/python
2 #
3 # This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9
10
11 class ScenarioResult(object):
12     def __init__(self, status, four_days_score='', ten_days_score=''):
13         self.status = status
14         self.four_days_score = four_days_score
15         self.ten_days_score = ten_days_score
16
17     def getStatus(self):
18         return self.status
19
20     def getTenDaysScore(self):
21         return self.ten_days_score
22
23     def getFourDaysScore(self):
24         return self.four_days_score