diff options
author | Michał Górny <mgorny@gentoo.org> | 2011-08-06 10:31:52 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2011-08-06 10:31:52 +0200 |
commit | 29f9cdba1a8fd6bf34187022e57660f8c7d7b04d (patch) | |
tree | 83107a9ae3d61f6f90053b420596d50c3b5abac1 /pmstestsuite | |
parent | dohard & dosed: fix with no D-Bus results. (diff) | |
download | pms-test-suite-29f9cdba1a8fd6bf34187022e57660f8c7d7b04d.tar.gz pms-test-suite-29f9cdba1a8fd6bf34187022e57660f8c7d7b04d.tar.bz2 pms-test-suite-29f9cdba1a8fd6bf34187022e57660f8c7d7b04d.zip |
Mark not reached assertions as 'unknown'.
Rather than rowspanning them.
Diffstat (limited to 'pmstestsuite')
-rw-r--r-- | pmstestsuite/output/html.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pmstestsuite/output/html.py b/pmstestsuite/output/html.py index af3e10c..519209a 100644 --- a/pmstestsuite/output/html.py +++ b/pmstestsuite/output/html.py @@ -41,6 +41,10 @@ class HTMLOutput(OutputModule): .bad { background: #e88888; } + + .unknown { + background: #b8b8b8; + } </style> </head> <body> @@ -113,6 +117,11 @@ class HTMLOutput(OutputModule): self._color_class = 'good' if cond else 'bad' ValCell.__init__(self, 'OK' if cond else 'FAIL') + class UnknownValCell(ValCell): + _color_class = 'unknown' + def __init__(self): + ValCell.__init__(self, '?') + class NoCell(HTMLElem): def __init__(self): pass @@ -150,6 +159,8 @@ class HTMLOutput(OutputModule): crow = row + test_asserts.index(a.name) table[crow][2] = a.name table[crow][3] = ValCell(a.expected) + for c in range(4, maxcol, 2): + table[crow][c] = UnknownValCell() else: crow = row + test_asserts.index(a.name) |