| Index: third_party/WebKit/Tools/Scripts/webkitpy/common/net/layout_test_results_unittest.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/layout_test_results_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/layout_test_results_unittest.py
|
| index f0ad5c0760f26f621671c0e2c18f3b0e6c73b1cf..d8f9daa5fd7dc800d3a03ac23cc41b65b57b56fe 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/layout_test_results_unittest.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/layout_test_results_unittest.py
|
| @@ -130,3 +130,29 @@ class LayoutTestResultsTest(unittest.TestCase):
|
| 'fast/dom/prototype-taco.html',
|
| 'svg/dynamic-updates/SVGFEDropShadowElement-dom-stdDeviation-attr.html',
|
| ])
|
| +
|
| + def test_didnt_run_as_expected_slow_test(self):
|
| + results = LayoutTestResults({
|
| + "tests": {
|
| + "fast": {
|
| + "dom": {
|
| + "prototype-fast.html": {
|
| + "expected": "PASS",
|
| + "actual": "TEXT",
|
| + "is_unexpected": True,
|
| + },
|
| + "prototype-slow.html": {
|
| + "expected": "SLOW",
|
| + "actual": "TEXT",
|
| + "is_unexpected": True,
|
| + }
|
| + }
|
| + }
|
| + }
|
| + })
|
| + self.assertEqual(
|
| + [r.test_name() for r in results.didnt_run_as_expected_results()],
|
| + [
|
| + 'fast/dom/prototype-fast.html',
|
| + 'fast/dom/prototype-slow.html',
|
| + ])
|
|
|