diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-05-19 14:41:23 +0200 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2016-05-19 14:44:36 +0200 |
commit | d9d3645559462a4139ee33f0cca3be12e37b2d36 (patch) | |
tree | 020870700567e85cf77e36d697c05a2cfa8be4c0 /utils/test/reporting/functest/scenarioResult.py | |
parent | 80014d7bb5932998e95ca37729b68938fb28fe9f (diff) |
Adapt reporting after Functest refactoring
Get test cases from cases declares in Tiers
Consider only Tier 0-3 to validate scenario
Display results for Tier > 3
Change-Id: I581702bd7f2cc323d38b82a2404b301fb8fd7840
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'utils/test/reporting/functest/scenarioResult.py')
-rw-r--r-- | utils/test/reporting/functest/scenarioResult.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/utils/test/reporting/functest/scenarioResult.py b/utils/test/reporting/functest/scenarioResult.py new file mode 100644 index 000000000..743346adc --- /dev/null +++ b/utils/test/reporting/functest/scenarioResult.py @@ -0,0 +1,20 @@ +#!/usr/bin/python +# +# This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# + + +class ScenarioResult(object): + def __init__(self, status, score=0): + self.status = status + self.score = score + + def getStatus(self): + return self.status + + def getScore(self): + return self.score |