| Index: third_party/WebKit/Tools/Scripts/webkitpy/common/net/layouttestresults_unittest.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/layouttestresults_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/layouttestresults_unittest.py
|
| index 2c5bb08656217d281b12308342aa56512fd2d5fd..64fa7e7ceeab5c697fbda91a48599bdd5e707e6b 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/layouttestresults_unittest.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/layouttestresults_unittest.py
|
| @@ -65,6 +65,12 @@ class LayoutTestResultsTest(unittest.TestCase):
|
| "expected": "PASS",
|
| "actual": "CRASH",
|
| "is_unexpected": true
|
| + },
|
| + "prototype-newtest.html": {
|
| + "expected": "PASS",
|
| + "actual": "MISSING",
|
| + "is_unexpected": true,
|
| + "is_missing_text": true
|
| }
|
| }
|
| },
|
| @@ -120,3 +126,9 @@ class LayoutTestResultsTest(unittest.TestCase):
|
| 'fast/dom/prototype-taco.html',
|
| 'svg/dynamic-updates/SVGFEDropShadowElement-dom-stdDeviation-attr.html'
|
| ])
|
| +
|
| + def test_missing_baseline(self):
|
| + results = LayoutTestResults.results_from_string(self.example_full_results_json)
|
| + missing_results = results.missing_results()
|
| + self.assertEqual(len(missing_results), 1)
|
| + self.assertEqual(missing_results[0].test_name(), "fast/dom/prototype-newtest.html")
|
|
|