743346adca56f38ff74c24684b08f0bb9adf4b10
[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, score=0):
13         self.status = status
14         self.score = score
15
16     def getStatus(self):
17         return self.status
18
19     def getScore(self):
20         return self.score