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 | |
11 #endregion | |
12 | |
13 namespace MsAd7.BaseImpl_UnitTestProject { | |
14 public class SimpleDebuggerMock : ISimpleDebugger { | |
15 #region ISimpleDebugger Members | |
16 | |
17 public ISimpleSymbolProvider Symbols { | |
18 get { return symbols_; } | |
19 } | |
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 throw new NotImplementedException(); | |
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 throw new NotImplementedException(); | |
75 } | |
76 | |
77 public uint GetU32(ulong address) { | |
78 throw new NotImplementedException(); | |
79 } | |
80 | |
81 #endregion | |
82 | |
83 #region Private Implementation | |
84 | |
85 private readonly SymbolProviderMock symbols_ = new SymbolProviderMock(); | |
86 | |
87 #endregion | |
88 } | |
89 } | |
OLD | NEW |