Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(569)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/net/layouttestresults_unittest.py

Issue 2409343003: In rebaseline-cl, also rebaseline tests with MISSING results. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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")

Powered by Google App Engine
This is Rietveld 408576698