summaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2016-12-07 16:25:18 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2016-12-07 16:25:18 +0800
commit1ff65ed841b3f848ebf44ea8e3bd608220150ebf (patch)
tree601fdd0e7c6caca156aa91409dd7e12cd36cbcc9 /tests/unit
parent1ce534f64402fd7b2fd85328dda12af9b2ba0c18 (diff)
Fix bugs in `runner/benchmark`
- should inherit `object` for common methods - should use instance class in abstract method Change-Id: I78c08476da544402851e4b53e2d45c32a7f86722 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/runner/perftest_test.py1
-rw-r--r--tests/unit/runner/suite_test.py1
-rw-r--r--tests/unit/runner/testplan_test.py1
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/runner/perftest_test.py b/tests/unit/runner/perftest_test.py
index b3e6e8e2..1f0b5631 100644
--- a/tests/unit/runner/perftest_test.py
+++ b/tests/unit/runner/perftest_test.py
@@ -39,3 +39,4 @@ class TestPerfTest:
assert Property.NAME in desc
assert Property.DESCRIPTION in desc
assert Property.ABSPATH in desc
+ assert Property.ABSPATH is not None
diff --git a/tests/unit/runner/suite_test.py b/tests/unit/runner/suite_test.py
index 5d2f1066..10205801 100644
--- a/tests/unit/runner/suite_test.py
+++ b/tests/unit/runner/suite_test.py
@@ -39,3 +39,4 @@ class TestSuite:
assert Property.NAME in suite_desc
assert Property.DESCRIPTION in suite_desc
assert Property.ABSPATH in suite_desc
+ assert Property.ABSPATH is not None
diff --git a/tests/unit/runner/testplan_test.py b/tests/unit/runner/testplan_test.py
index 2700d385..de8bf1e1 100644
--- a/tests/unit/runner/testplan_test.py
+++ b/tests/unit/runner/testplan_test.py
@@ -39,3 +39,4 @@ class TestTestPlan:
assert Property.NAME in desc
assert Property.DESCRIPTION in desc
assert Property.ABSPATH in desc
+ assert Property.ABSPATH is not None
200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
---
ramspeed_repo: "https://github.com/beefyamoeba5/ramspeed.git"
ramspeed_version: master
ramspeed_dest: "{{ clone_dest }}/RAMspeed"
ramspeed_release: ramspeed-2.6.0