OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #region | |
6 | |
7 using System; | |
8 using System.Collections.Generic; | |
9 using Google.MsAd7.BaseImpl.Interfaces; | |
10 using Google.MsAd7.BaseImpl.TestUtils; | |
11 using Google.NaClVsx.DebugSupport; | |
12 | |
13 #endregion | |
14 | |
15 namespace NaClVsx.Package_UnitTestProject { | |
16 public class NaClDebuggerMock : MockBase, INaClDebugger { | |
17 #region INaClDebugger Members | |
18 | |
19 public ISimpleSymbolProvider Symbols { get; set; } | |
20 | |
21 public string Architecture { | |
22 get { throw new NotImplementedException(); } | |
23 } | |
24 | |
25 public ulong BaseAddress { | |
26 get { throw new NotImplementedException(); } | |
27 } | |
28 | |
29 public event SimpleDebuggerTypes.EventHandler Stopped; | |
30 public event SimpleDebuggerTypes.EventHandler StepFinished; | |
31 public event SimpleDebuggerTypes.EventHandler Continuing; | |
32 public event SimpleDebuggerTypes.MessageHandler Output; | |
33 public event SimpleDebuggerTypes.ModuleLoadHandler ModuleLoaded; | |
34 | |
35 public void Break() { | |
36 throw new NotImplementedException(); | |
37 } | |
38 | |
39 public void Step(uint id) { | |
40 throw new NotImplementedException(); | |
41 } | |
42 | |
43 public void Continue() { | |
44 throw new NotImplementedException(); | |
45 } | |
46 | |
47 public void AddBreakpoint(ulong addr) { | |
48 throw new NotImplementedException(); | |
49 } | |
50 | |
51 public void RemoveBreakpoint(ulong addr) { | |
52 throw new NotImplementedException(); | |
53 } | |
54 | |
55 public IEnumerable<uint> GetThreads() { | |
56 throw new NotImplementedException(); | |
57 } | |
58 | |
59 public object GetRegisters(uint id) { | |
60 return CheckCall<uint, object>("GetRegisters", id); | |
61 } | |
62 | |
63 public void GetMemory(ulong sourceAddress, | |
64 Array destination, | |
65 uint countInBytes) { | |
66 throw new NotImplementedException(); | |
67 } | |
68 | |
69 public void SetMemory(ulong destAddress, Array src, uint countInBytes) { | |
70 throw new NotImplementedException(); | |
71 } | |
72 | |
73 public ulong GetU64(ulong address) { | |
74 return CheckCall<ulong, ulong>("GetU64", address); | |
75 } | |
76 | |
77 public uint GetU32(ulong address) { | |
78 throw new NotImplementedException(); | |
79 } | |
80 | |
81 public bool HasBreakpoint(ulong addr) { | |
82 throw new NotImplementedException(); | |
83 } | |
84 | |
85 public void AddTempBreakpoint(ulong addr) { | |
86 throw new NotImplementedException(); | |
87 } | |
88 | |
89 public void RemoveTempBreakpoints() { | |
90 throw new NotImplementedException(); | |
91 } | |
92 | |
93 public void Open(string connectionString) { | |
94 throw new NotImplementedException(); | |
95 } | |
96 | |
97 public void Close() { | |
98 throw new NotImplementedException(); | |
99 } | |
100 | |
101 public event SimpleDebuggerTypes.MessageHandler Opened; | |
102 | |
103 #endregion | |
104 } | |
105 } | |
OLD | NEW |