| OLD | NEW | 
|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> | 
| 2 <html> | 2 <html> | 
| 3 <!-- | 3 <!-- | 
| 4 Copyright (c) 2012 The Chromium Authors. All rights reserved. | 4 Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
| 5 Use of this source code is governed by a BSD-style license that can be | 5 Use of this source code is governed by a BSD-style license that can be | 
| 6 found in the LICENSE file. | 6 found in the LICENSE file. | 
| 7 --> | 7 --> | 
| 8 <head> | 8 <head> | 
| 9 <title>Perf Importer tests</title> | 9 <title>LinuxPerfImporter tests</title> | 
| 10 <script src= | 10 <script src= | 
| 11     "http://closure-library.googlecode.com/svn/trunk/closure/goog/base.js"> | 11     "http://closure-library.googlecode.com/svn/trunk/closure/goog/base.js"> | 
| 12 </script> | 12 </script> | 
| 13 <script src="../shared/js/cr.js"></script> | 13 <script src="../shared/js/cr.js"></script> | 
| 14 <script src="../shared/js/cr/event_target.js"></script> | 14 <script src="../shared/js/cr/event_target.js"></script> | 
| 15 <script src="test_utils.js"></script> | 15 <script src="test_utils.js"></script> | 
| 16 <script src="timeline_model.js"></script> | 16 <script src="timeline_model.js"></script> | 
| 17 <script src="linux_perf_importer.js"></script> | 17 <script src="linux_perf_importer.js"></script> | 
| 18 <script> | 18 <script> | 
| 19   goog.require('goog.testing.jsunit'); | 19   goog.require('goog.testing.jsunit'); | 
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 343 | 343 | 
| 344   assertAlmostEquals(2784.774864 * 1000.0, | 344   assertAlmostEquals(2784.774864 * 1000.0, | 
| 345       m.processes['0'].threads['2'].subRows[0][0].start); | 345       m.processes['0'].threads['2'].subRows[0][0].start); | 
| 346   assertAlmostEquals((2784.788644 - 2784.774864) * 1000.0, | 346   assertAlmostEquals((2784.788644 - 2784.774864) * 1000.0, | 
| 347       m.processes['0'].threads['2'].subRows[0][0].duration); | 347       m.processes['0'].threads['2'].subRows[0][0].duration); | 
| 348 } | 348 } | 
| 349 | 349 | 
| 350 </script> | 350 </script> | 
| 351 </body> | 351 </body> | 
| 352 </html> | 352 </html> | 
| OLD | NEW | 
|---|