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

Unified Diff: Tools/GardeningServer/scripts/results_unittests.js

Issue 405853002: Delete dead code now that the polymer port of garden-o-matic is done. (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
« no previous file with comments | « Tools/GardeningServer/scripts/results.js ('k') | Tools/GardeningServer/scripts/rollbot.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/scripts/results_unittests.js
diff --git a/Tools/GardeningServer/scripts/results_unittests.js b/Tools/GardeningServer/scripts/results_unittests.js
index 11613c10b41b0ffd3889f0f0fdae22e2bb320d0d..4c32559a43dd2310a8776c09ebd7c71b3e6dff38 100644
--- a/Tools/GardeningServer/scripts/results_unittests.js
+++ b/Tools/GardeningServer/scripts/results_unittests.js
@@ -188,18 +188,6 @@ test("failureInfo", 1, function() {
});
});
-test("failureInfoForTestAndBuilder", 1, function() {
- var unexpectedFailuresByTest = results.unexpectedFailuresByTest({
- "Mock Builder": unittest.kExampleResultsJSON
- });
- var failureInfo = results.failureInfoForTestAndBuilder(unexpectedFailuresByTest, "userscripts/another-test.html", "Mock Builder");
- deepEqual(failureInfo, {
- "testName": "userscripts/another-test.html",
- "builderName": "Mock Builder",
- "failureTypeList": ["TEXT"],
- });
-});
-
test("resultKind", 12, function() {
equals(results.resultKind("http://example.com/foo-actual.txt"), "actual");
equals(results.resultKind("http://example.com/foo-expected.txt"), "expected");
@@ -396,34 +384,6 @@ asyncTest("walkHistory (no revision)", 3, function() {
});
});
-test("collectUnexpectedResults", 1, function() {
- var dictionaryOfResultNodes = {
- "foo": {
- "expected": "IMAGE",
- "actual": "IMAGE"
- },
- "bar": {
- "expected": "PASS",
- "actual": "PASS TEXT"
- },
- "baz": {
- "expected": "TEXT",
- "actual": "IMAGE"
- },
- "qux": {
- "expected": "PASS",
- "actual": "TEXT"
- },
- "taco": {
- "expected": "PASS",
- "actual": "TEXT"
- },
- };
-
- var collectedResults = results.collectUnexpectedResults(dictionaryOfResultNodes);
- deepEqual(collectedResults, ["TEXT", "IMAGE"]);
-});
-
asyncTest("fetchResultsURLs", 5, function() {
var simulator = new NetworkSimulator();
« no previous file with comments | « Tools/GardeningServer/scripts/results.js ('k') | Tools/GardeningServer/scripts/rollbot.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698