| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (c) 2009 The Chromium Authors. All rights reserved. | 2 Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. | 4 found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 // Automation utilities for running the V8 Benchmark as a UI test. | 7 // Automation utilities for running the V8 Benchmark as a UI test. |
| 8 | 8 |
| 9 function Automation() { | 9 function Automation() { |
| 10 this.score = ''; | 10 this.score = ''; |
| 11 this.results = {}; | 11 this.results = {}; |
| 12 } | 12 } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 Automation.prototype.AddResult = function(name, result) { | 26 Automation.prototype.AddResult = function(name, result) { |
| 27 this.results[name] = result; | 27 this.results[name] = result; |
| 28 } | 28 } |
| 29 | 29 |
| 30 Automation.prototype.GetResults = function() { | 30 Automation.prototype.GetResults = function() { |
| 31 return this.results; | 31 return this.results; |
| 32 } | 32 } |
| 33 | 33 |
| 34 automation = new Automation(); | 34 automation = new Automation(); |
| OLD | NEW |