Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="TestCentric MyGet V2 Feed" value="https://www.myget.org/F/testcentric/api/v2/" />
<add key="TestCentric MyGet V3 Feed" value="https://www.myget.org/F/testcentric/api/v3/index.json" />
<add key="TestCentric MyGet V3 Feed" value="https://www.myget.org/F/testcentric/api/v3/index.json" />
<add key="NUnit MyGet V3 Feed" value="https://www.myget.org/F/nunit/api/v3/index.json" />
</packageSources>
</configuration>
12 changes: 6 additions & 6 deletions TestCentric.Extensibility.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ VisualStudioVersion = 17.5.33530.505
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestCentric.Extensibility", "src\testcentric.extensibility\TestCentric.Extensibility.csproj", "{885A9279-CED3-4007-A6E8-AC0D33E2C929}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestCentric.Extensibility.Tests", "src\testcentric.extensibility.tests\TestCentric.Extensibility.Tests.csproj", "{DD83C188-C0A1-415D-BFB5-A1771282D38B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{5BF7211F-5504-465B-AAB8-E73860BD6A11}"
ProjectSection(SolutionItems) = preProject
.gitignore = .gitignore
Expand Down Expand Up @@ -39,6 +37,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestCentric.Extensibility.FakeExtensions", "src\testcentric.extensibility.fakes\TestCentric.Extensibility.FakeExtensions.csproj", "{B15F3AB7-7930-4FE5-A2CC-DB61F8CFC275}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "testcentric.extensibility.tests", "src\testcentric.extensibility.tests\testcentric.extensibility.tests.csproj", "{90FDC02B-9261-DCFA-9DF0-AB22116366A2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -49,10 +49,6 @@ Global
{885A9279-CED3-4007-A6E8-AC0D33E2C929}.Debug|Any CPU.Build.0 = Debug|Any CPU
{885A9279-CED3-4007-A6E8-AC0D33E2C929}.Release|Any CPU.ActiveCfg = Release|Any CPU
{885A9279-CED3-4007-A6E8-AC0D33E2C929}.Release|Any CPU.Build.0 = Release|Any CPU
{DD83C188-C0A1-415D-BFB5-A1771282D38B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DD83C188-C0A1-415D-BFB5-A1771282D38B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DD83C188-C0A1-415D-BFB5-A1771282D38B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DD83C188-C0A1-415D-BFB5-A1771282D38B}.Release|Any CPU.Build.0 = Release|Any CPU
{BE988F0A-3337-4DC6-8915-138C4875FD04}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BE988F0A-3337-4DC6-8915-138C4875FD04}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BE988F0A-3337-4DC6-8915-138C4875FD04}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -61,6 +57,10 @@ Global
{B15F3AB7-7930-4FE5-A2CC-DB61F8CFC275}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B15F3AB7-7930-4FE5-A2CC-DB61F8CFC275}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B15F3AB7-7930-4FE5-A2CC-DB61F8CFC275}.Release|Any CPU.Build.0 = Release|Any CPU
{90FDC02B-9261-DCFA-9DF0-AB22116366A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{90FDC02B-9261-DCFA-9DF0-AB22116366A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{90FDC02B-9261-DCFA-9DF0-AB22116366A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{90FDC02B-9261-DCFA-9DF0-AB22116366A2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Load the recipe
#load nuget:?package=TestCentric.Cake.Recipe&version=1.4.1-dev00004
#load nuget:?package=TestCentric.Cake.Recipe&version=1.4.1-dev00005
// Comment out above line and uncomment below for local tests of recipe changes
//#load ../TestCentric.Cake.Recipe/recipe/*.cake

Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<DebugSymbols>true</DebugSymbols>
<!-- Commonly Used Package Versions -->
<AnnotatedReferenceAssemblyVersion>8.0.0</AnnotatedReferenceAssemblyVersion>
<EngineVersion>2.0.0-dev01659</EngineVersion>
<EngineVersion>2.0.0-dev01905</EngineVersion>
<MetadataVersion>3.0.4</MetadataVersion>
<InternalTraceVersion>1.2.1</InternalTraceVersion>
<!-- Informational Settings -->
Expand Down
196 changes: 98 additions & 98 deletions src/testcentric.extensibility.fakes/FakeExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,104 +12,104 @@
using System.Xml;
using System.IO;

namespace TestCentric.Engine.Extensibility
{
// Extensions

[Extension(Enabled = false)]
public class FakeTestEventListener : ITestEventListener
{
public void OnTestEvent(string text)
{
throw new System.NotImplementedException();
}
}

//[Extension]
public class FakeService : IService
{
public IServiceLocator ServiceContext { get => throw new System.NotImplementedException(); set => throw new System.NotImplementedException(); }

public ServiceStatus Status => throw new System.NotImplementedException();

public void StartService()
{
throw new System.NotImplementedException();
}

public void StopService()
{
throw new System.NotImplementedException();
}
}

[Extension]
public class FakeAgentLauncher : TestCentric.Engine.Extensibility.IAgentLauncher
{
public TestAgentInfo AgentInfo => throw new NotImplementedException();

public bool CanCreateProcess(TestPackage package)
{
throw new NotImplementedException();
}

public Process CreateProcess(Guid agentId, string agencyUrl, TestPackage package)
{
throw new NotImplementedException();
}
}

//[Extension]
public class FakeDriverFactory : IDriverFactory
{
#if NETFRAMEWORK
public IFrameworkDriver GetDriver(AppDomain domain, AssemblyName reference)
#else
public IFrameworkDriver GetDriver(AssemblyName reference)
#endif
{
throw new NotImplementedException();
}

public bool IsSupportedTestFramework(AssemblyName reference)
{
throw new NotImplementedException();
}
}

//[Extension]
public class FakeResultWriter : IResultWriter
{
public void CheckWritability(string outputPath)
{
throw new NotImplementedException();
}

public void WriteResultFile(XmlNode resultNode, string outputPath)
{
throw new NotImplementedException();
}

public void WriteResultFile(XmlNode resultNode, TextWriter writer)
{
throw new NotImplementedException();
}
}

[Extension(Enabled = false)]
public class FakeExtension_ThrowsInConstructor : ITestEventListener
{
public FakeExtension_ThrowsInConstructor()
{
throw new NotImplementedException();
}

public void OnTestEvent(string text)
{
throw new System.NotImplementedException();
}
}
}
//namespace TestCentric.Engine.Extensibility
//{
// // Extensions

// //[Extension(Enabled = false)]
// public class FakeTestEventListener : ITestEventListener
// {
// public void OnTestEvent(string text)
// {
// throw new System.NotImplementedException();
// }
// }

// //[Extension]
// public class FakeService : IService
// {
// public IServiceLocator ServiceContext { get => throw new System.NotImplementedException(); set => throw new System.NotImplementedException(); }

// public ServiceStatus Status => throw new System.NotImplementedException();

// public void StartService()
// {
// throw new System.NotImplementedException();
// }

// public void StopService()
// {
// throw new System.NotImplementedException();
// }
// }

// //[Extension]
// public class FakeAgentLauncher : TestCentric.Engine.Extensibility.IAgentLauncher
// {
// public TestAgentInfo AgentInfo => throw new NotImplementedException();

// public bool CanCreateProcess(TestPackage package)
// {
// throw new NotImplementedException();
// }

// public Process CreateProcess(Guid agentId, string agencyUrl, TestPackage package)
// {
// throw new NotImplementedException();
// }
// }

// //[Extension]
// public class FakeDriverFactory : IDriverFactory
// {
//#if NETFRAMEWORK
// public IFrameworkDriver GetDriver(AppDomain domain, AssemblyName reference)
//#else
// public IFrameworkDriver GetDriver(AssemblyName reference)
//#endif
// {
// throw new NotImplementedException();
// }

// public bool IsSupportedTestFramework(AssemblyName reference)
// {
// throw new NotImplementedException();
// }
// }

// //[Extension]
// public class FakeResultWriter : IResultWriter
// {
// public void CheckWritability(string outputPath)
// {
// throw new NotImplementedException();
// }

// public void WriteResultFile(XmlNode resultNode, string outputPath)
// {
// throw new NotImplementedException();
// }

// public void WriteResultFile(XmlNode resultNode, TextWriter writer)
// {
// throw new NotImplementedException();
// }
// }

// //[Extension(Enabled = false)]
// public class FakeExtension_ThrowsInConstructor : ITestEventListener
// {
// public FakeExtension_ThrowsInConstructor()
// {
// throw new NotImplementedException();
// }

// public void OnTestEvent(string text)
// {
// throw new System.NotImplementedException();
// }
// }
//}

namespace NUnit.Engine.Extensibility
{
Expand Down
Loading
Loading