| OLD | NEW |
| 1 var initialize_BreakpointManagerTest = function() { | 1 var initialize_BreakpointManagerTest = function() { |
| 2 | 2 |
| 3 InspectorTest.uiSourceCodes = {}; | 3 InspectorTest.uiSourceCodes = {}; |
| 4 | 4 |
| 5 InspectorTest.dumpTargetIds = false; | 5 InspectorTest.dumpTargetIds = false; |
| 6 | 6 |
| 7 InspectorTest.initializeDefaultMappingOnTarget = function(target) | 7 InspectorTest.initializeDefaultMappingOnTarget = function(target) |
| 8 { | 8 { |
| 9 var defaultMapping = { | 9 var defaultMapping = { |
| 10 rawLocationToUILocation: function(rawLocation) | 10 rawLocationToUILocation: function(rawLocation) |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 target.defaultMapping = defaultMapping; | 27 target.defaultMapping = defaultMapping; |
| 28 } | 28 } |
| 29 | 29 |
| 30 InspectorTest.createMockTarget = function(id) | 30 InspectorTest.createMockTarget = function(id) |
| 31 { | 31 { |
| 32 var target = { | 32 var target = { |
| 33 id: function() | 33 id: function() |
| 34 { | 34 { |
| 35 return id; | 35 return id; |
| 36 }, | 36 }, |
| 37 | 37 resourceTreeModel: new WebInspector.Object(), |
| 38 addEventListener: function() { }, | 38 addEventListener: function() { }, |
| 39 removeEventListener: function() { }, | 39 removeEventListener: function() { }, |
| 40 dispose: function() { }, | 40 dispose: function() { }, |
| 41 isDetached: function() { return !!this.detached; } | 41 isDetached: function() { return !!this.detached; } |
| 42 }; | 42 }; |
| 43 target._modelByConstructor = new Map(); | 43 target._modelByConstructor = new Map(); |
| 44 InspectorTest.initializeDefaultMappingOnTarget(target); | 44 InspectorTest.initializeDefaultMappingOnTarget(target); |
| 45 target.debuggerModel = new InspectorTest.DebuggerModelMock(target, target.de
faultMapping, InspectorTest.testDebuggerWorkspaceBinding); | 45 target.debuggerModel = new InspectorTest.DebuggerModelMock(target, target.de
faultMapping, InspectorTest.testDebuggerWorkspaceBinding); |
| 46 target.debuggerModel._target = target; | 46 target.debuggerModel._target = target; |
| 47 return target; | 47 return target; |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 } | 399 } |
| 400 | 400 |
| 401 function finish() | 401 function finish() |
| 402 { | 402 { |
| 403 InspectorTest.dumpBreakpointLocations(breakpointManager); | 403 InspectorTest.dumpBreakpointLocations(breakpointManager); |
| 404 next(); | 404 next(); |
| 405 } | 405 } |
| 406 } | 406 } |
| 407 | 407 |
| 408 } | 408 } |
| OLD | NEW |