| OLD | NEW |
| 1 var initialize_BreakpointManagerTest = function() { | 1 var initialize_BreakpointManagerTest = function() { |
| 2 | 2 |
| 3 InspectorTest.createWorkspace = function() | 3 InspectorTest.createWorkspace = function() |
| 4 { | 4 { |
| 5 InspectorTest.testTargetManager = new SDK.TargetManager(); | 5 InspectorTest.testTargetManager = new SDK.TargetManager(); |
| 6 InspectorTest.testWorkspace = new Workspace.Workspace(); | 6 InspectorTest.testWorkspace = new Workspace.Workspace(); |
| 7 InspectorTest.testNetworkProjectManager = new Bindings.NetworkProjectManager
(InspectorTest.testTargetManager, InspectorTest.testWorkspace); | 7 InspectorTest.testNetworkProjectManager = new Bindings.NetworkProjectManager
(InspectorTest.testTargetManager, InspectorTest.testWorkspace); |
| 8 InspectorTest.testDebuggerWorkspaceBinding = new Bindings.DebuggerWorkspaceB
inding(InspectorTest.testTargetManager, InspectorTest.testWorkspace); | 8 InspectorTest.testDebuggerWorkspaceBinding = new Bindings.DebuggerWorkspaceB
inding(InspectorTest.testTargetManager, InspectorTest.testWorkspace); |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 isIdentity: function() | 45 isIdentity: function() |
| 46 { | 46 { |
| 47 return true; | 47 return true; |
| 48 } | 48 } |
| 49 }; | 49 }; |
| 50 target.defaultMapping = defaultMapping; | 50 target.defaultMapping = defaultMapping; |
| 51 } | 51 } |
| 52 | 52 |
| 53 InspectorTest.DebuggerModelMock = class extends SDK.SDKModel { | 53 InspectorTest.DebuggerModelMock = class extends SDK.SDKModel { |
| 54 sourceMapManager() { |
| 55 return this._sourceMapManager; |
| 56 } |
| 57 |
| 54 constructor(target) | 58 constructor(target) |
| 55 { | 59 { |
| 56 super(target); | 60 super(target); |
| 61 this._sourceMapManager = new SDK.SourceMapManager(); |
| 57 this._target = target; | 62 this._target = target; |
| 58 this._breakpointResolvedEventTarget = new Common.Object(); | 63 this._breakpointResolvedEventTarget = new Common.Object(); |
| 59 this._scripts = {}; | 64 this._scripts = {}; |
| 60 this._breakpoints = {}; | 65 this._breakpoints = {}; |
| 61 this._debuggerWorkspaceBinding = InspectorTest.testDebuggerWorkspaceBind
ing; | 66 this._debuggerWorkspaceBinding = InspectorTest.testDebuggerWorkspaceBind
ing; |
| 62 } | 67 } |
| 63 | 68 |
| 64 target() | 69 target() |
| 65 { | 70 { |
| 66 return this._target; | 71 return this._target; |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 } | 410 } |
| 406 | 411 |
| 407 function finish() | 412 function finish() |
| 408 { | 413 { |
| 409 InspectorTest.dumpBreakpointLocations(breakpointManager); | 414 InspectorTest.dumpBreakpointLocations(breakpointManager); |
| 410 next(); | 415 next(); |
| 411 } | 416 } |
| 412 } | 417 } |
| 413 | 418 |
| 414 } | 419 } |
| OLD | NEW |