Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Unified Diff: experimental/visual_studio_plugin/src/MsAd7.BaseImpl/MsAd7.BaseImpl_UnitTestProject/SymbolProviderMock.cs

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/visual_studio_plugin/src/MsAd7.BaseImpl/MsAd7.BaseImpl_UnitTestProject/SymbolProviderMock.cs
diff --git a/experimental/visual_studio_plugin/src/MsAd7.BaseImpl/MsAd7.BaseImpl_UnitTestProject/SymbolProviderMock.cs b/experimental/visual_studio_plugin/src/MsAd7.BaseImpl/MsAd7.BaseImpl_UnitTestProject/SymbolProviderMock.cs
deleted file mode 100644
index 7d9f23739780cc2c985e4b4c3bba94e50f9e828e..0000000000000000000000000000000000000000
--- a/experimental/visual_studio_plugin/src/MsAd7.BaseImpl/MsAd7.BaseImpl_UnitTestProject/SymbolProviderMock.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-// Copyright 2010 The Native Client Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can
-// be found in the LICENSE file.
-using System;
-using System.Collections.Generic;
-using Google.MsAd7.BaseImpl;
-using Google.MsAd7.BaseImpl.Interfaces;
-using Google.MsAd7.BaseImpl.Interfaces.SimpleSymbolTypes;
-using Google.MsAd7.BaseImpl.TestUtils;
-
-namespace MsAd7.BaseImpl_UnitTestProject {
- public class SymbolProviderMock : MockBase, ISimpleSymbolProvider {
- #region ISimpleSymbolProvider Members
-
- /// <summary>
- /// Throws KeyNotFoundException if the call cannot be validated by the
- /// mock.
- /// </summary>
- /// <param name="pos"></param>
- /// <returns></returns>
- public IEnumerable<ulong> AddressesFromPosition(DocumentPosition pos) {
- return CheckCall<DocumentPosition, IEnumerable<ulong>>(
- "AddressesFromPosition", pos);
- }
-
- public DocumentPosition PositionFromAddress(ulong address) {
- return CheckCall<ulong, DocumentPosition>("PositionFromAddress", address);
- }
-
- public IBreakpointInfo GetBreakpointInfo() {
- throw new NotImplementedException();
- }
-
- public ulong GetBaseAddress() {
- throw new NotImplementedException();
- }
-
- public IEnumerable<Symbol> GetSymbolsInScope(ulong instructionAddress) {
- return CheckCall<ulong, IEnumerable<Symbol>>(
- "GetSymbolsInScope", instructionAddress);
- }
-
- public IEnumerable<ulong> GetAddressesInScope(ulong programCounter) {
- throw new NotImplementedException();
- }
-
- public string SymbolValueToString(ulong key, ArraySegment<byte> arrBytes) {
- throw new NotImplementedException();
- }
-
- public Function FunctionFromAddress(ulong address) {
- return CheckCall<ulong, Function>("FunctionFromAddress", address);
- }
-
- public FunctionDetails GetFunctionDetails(Function fn) {
- throw new NotImplementedException();
- }
-
- public bool LoadModule(string path, ulong loadOffset, out string status) {
- throw new NotImplementedException();
- }
-
- public ulong GetNextLocation(ulong addr) {
- throw new NotImplementedException();
- }
-
- #endregion
- }
-}

Powered by Google App Engine
This is Rietveld 408576698