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

Unified Diff: Tools/GardeningServer/ui/ct-commit-tests.html

Issue 404463003: Move commit list and builder latest revisions up to ct-unexpected-failures (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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: Tools/GardeningServer/ui/ct-commit-tests.html
diff --git a/Tools/GardeningServer/ui/ct-commit-tests.html b/Tools/GardeningServer/ui/ct-commit-tests.html
index 2ea17e7dba18d3d543490959a1edc15f749c52fc..86074e7da69d33ffaf2e30a34c8d8c5163cca12f 100644
--- a/Tools/GardeningServer/ui/ct-commit-tests.html
+++ b/Tools/GardeningServer/ui/ct-commit-tests.html
@@ -6,32 +6,23 @@ found in the LICENSE file.
<link rel="import" href="ct-commit.html">
+<link rel="import" href="model/ct-commit-mock.html">
+
<script>
(function () {
-var kExampleCommitData = {
- "revision": 2,
- "title": "Fix one more layering violation caught by check-blink-deps",
- "time": "2013-09-30T19:36:21Z",
- "summary": "core/platform may not depend on core/ even for testing.",
- "author": "eseidel@chromium.org",
- "reviewer": "abarth@chromium.org, abarth",
- "bugID": [12],
- "revertedRevision": undefined
-}
-
module("ct-commit");
asyncTest("basic", 2, function() {
var grouper = document.createElement('ct-commit');
- grouper.data = kExampleCommitData;
+ grouper.data = new CTCommitMock();
Platform.endOfMicrotask(function() {
var html = grouper.shadowRoot.innerHTML;
- equal(html.indexOf('eseidel') != -1, true)
- equal(html.indexOf('may not depend on') != -1, true)
+ equal(html.indexOf('mkwst') != -1, true)
+ equal(html.indexOf('behavior for these types') != -1, true)
start();
});

Powered by Google App Engine
This is Rietveld 408576698