OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 try { | 218 try { |
219 override.apply(this, arguments); | 219 override.apply(this, arguments); |
220 } catch (e) { | 220 } catch (e) { |
221 test.fail("Exception in overriden method '" + methodName + "': " + e
); | 221 test.fail("Exception in overriden method '" + methodName + "': " + e
); |
222 } | 222 } |
223 return result; | 223 return result; |
224 }; | 224 }; |
225 }; | 225 }; |
226 | 226 |
227 | 227 |
228 TestSuite.prototype.testEnableResourcesTab = function() | |
229 { | |
230 // FIXME once reference is removed downstream. | |
231 } | |
232 | |
233 TestSuite.prototype.testCompletionOnPause = function() | |
234 { | |
235 // FIXME once reference is removed downstream. | |
236 } | |
237 | |
238 // UI Tests | 228 // UI Tests |
239 | 229 |
240 | 230 |
241 /** | 231 /** |
242 * Tests that scripts tab can be open and populated with inspected scripts. | 232 * Tests that scripts tab can be open and populated with inspected scripts. |
243 */ | 233 */ |
244 TestSuite.prototype.testShowScriptsTab = function() | 234 TestSuite.prototype.testShowScriptsTab = function() |
245 { | 235 { |
246 this.showPanel("sources"); | 236 this.showPanel("sources"); |
247 var test = this; | 237 var test = this; |
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
983 var oldLoadCompleted = InspectorFrontendAPI.loadCompleted; | 973 var oldLoadCompleted = InspectorFrontendAPI.loadCompleted; |
984 InspectorFrontendAPI.loadCompleted = function() | 974 InspectorFrontendAPI.loadCompleted = function() |
985 { | 975 { |
986 oldLoadCompleted.call(InspectorFrontendAPI); | 976 oldLoadCompleted.call(InspectorFrontendAPI); |
987 runTests(); | 977 runTests(); |
988 } | 978 } |
989 | 979 |
990 })(); | 980 })(); |
991 | 981 |
992 } | 982 } |
OLD | NEW |