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

Unified Diff: appengine/swarming/ui/res/js/alias.js

Issue 2419613002: Add basic swarming UI tests
Patch Set: Make sure symlink isn't followed for uploading 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: appengine/swarming/ui/res/js/alias.js
diff --git a/appengine/swarming/ui/res/js/alias.js b/appengine/swarming/ui/res/js/alias.js
index 980f34ade6b68a11981b37f533aa9fff48289c37..4f6e55a1700728ca6ba6f24ae9f2c424179a7078 100644
--- a/appengine/swarming/ui/res/js/alias.js
+++ b/appengine/swarming/ui/res/js/alias.js
@@ -2,8 +2,6 @@
// Use of this source code is governed under the Apache License, Version 2.0
// that can be found in the LICENSE file.
-// TODO(kjlubick): add tests for this code
-
this.swarming = this.swarming || {};
this.swarming.alias = this.swarming.alias || (function(){
var ANDROID_ALIASES = {
@@ -77,7 +75,7 @@ this.swarming.alias = this.swarming.alias || (function(){
var alias = {};
- alias.DIMENSIONS_WITH_ALIASES = ["device_type", "gpu", "battery_health"];
+ alias.DIMENSIONS_WITH_ALIASES = ["device_type", "gpu", "battery_health", "battery_status"];
alias.android = function(dt) {
return ANDROID_ALIASES[dt] || UNKNOWN;

Powered by Google App Engine
This is Rietveld 408576698