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

Unified Diff: Tools/GardeningServer/test/run-unit-tests.html

Issue 459463003: Convert moar Sheriff-o-Matic tests to Polymer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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/test/run-unit-tests.html
diff --git a/Tools/GardeningServer/test/run-unit-tests.html b/Tools/GardeningServer/test/run-unit-tests.html
index 3a63aebc81cccaab80d9d132b4b1c11bd92ecfcd..a03019d589abdd305e520d682b69995b84f70609 100644
--- a/Tools/GardeningServer/test/run-unit-tests.html
+++ b/Tools/GardeningServer/test/run-unit-tests.html
@@ -9,7 +9,8 @@ found in the LICENSE file.
<link rel="stylesheet" href="../node_modules/mocha/mocha.css">
<title>Sheriff-O-Matic Unit Tests</title>
-<script src="../scripts/ui.js"></script>
+<script src="../scripts/network_simulator.js"></script>
ojan 2014/08/12 02:01:18 Even better would be if each -tests.html file that
michaelpg 2014/08/14 00:46:02 Done (for mocha tests).
+<script src="../scripts/results.js"></script>
<script src="../bower_components/chai/chai.js"></script>
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../bower_components/sugar/release/sugar-full.development.js"></script>
@@ -19,6 +20,7 @@ found in the LICENSE file.
<script>
mocha.checkLeaks();
+mocha.globals(['net']);
mocha.setup('bdd');
</script>
@@ -27,5 +29,5 @@ mocha.setup('bdd');
<div id="mocha"></div>
<script>
-mocha.run();
+Polymer.whenReady(mocha.run);
</script>

Powered by Google App Engine
This is Rietveld 408576698