This commit is contained in:
Charlie Poole 2015-03-13 07:47:35 -07:00
Родитель 764ed9fb68
Коммит ac9825d2bf
1 изменённых файлов: 66 добавлений и 66 удалений

Просмотреть файл

@ -1,66 +1,66 @@
// **************************************************************** // ****************************************************************
// Copyright (c) 2012 NUnit Software. All rights reserved. // Copyright (c) 2012 NUnit Software. All rights reserved.
// **************************************************************** // ****************************************************************
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.VisualStudio.TestPlatform.ObjectModel; using Microsoft.VisualStudio.TestPlatform.ObjectModel;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
namespace NUnit.VisualStudio.TestAdapter.Tests.Fakes namespace NUnit.VisualStudio.TestAdapter.Tests.Fakes
{ {
class FakeRunContext : IRunContext class FakeRunContext : IRunContext
{ {
#region IRunContext Members #region IRunContext Members
bool IRunContext.InIsolation bool IRunContext.InIsolation
{ {
get { throw new NotImplementedException(); } get { throw new NotImplementedException(); }
} }
bool IRunContext.IsBeingDebugged bool IRunContext.IsBeingDebugged
{ {
get { throw new NotImplementedException(); } get { throw new NotImplementedException(); }
} }
bool IRunContext.IsDataCollectionEnabled bool IRunContext.IsDataCollectionEnabled
{ {
get { throw new NotImplementedException(); } get { throw new NotImplementedException(); }
} }
bool IRunContext.KeepAlive bool IRunContext.KeepAlive
{ {
get get
{ {
return true; return true;
} }
} }
string IRunContext.TestRunDirectory string IRunContext.TestRunDirectory
{ {
get { throw new NotImplementedException(); } get { throw new NotImplementedException(); }
} }
ITestCaseFilterExpression IRunContext.GetTestCaseFilter(IEnumerable<string> supportedProperties, Func<string, TestProperty> propertyProvider) ITestCaseFilterExpression IRunContext.GetTestCaseFilter(IEnumerable<string> supportedProperties, Func<string, TestProperty> propertyProvider)
{ {
return null; // as if we don't have a TFS Build, equal to testing from VS return null; // as if we don't have a TFS Build, equal to testing from VS
} }
#endregion #endregion
#region IDiscoveryContextMembers #region IDiscoveryContextMembers
IRunSettings IDiscoveryContext.RunSettings IRunSettings IDiscoveryContext.RunSettings
{ {
get { throw new NotImplementedException(); } get { throw new NotImplementedException(); }
} }
#endregion #endregion
public string SolutionDirectory public string SolutionDirectory
{ {
get { throw new NotImplementedException(); } get { throw new NotImplementedException(); }
} }
} }
} }