Skip to content
Draft
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
8 changes: 8 additions & 0 deletions Tests/MSBuild.TestFramework/Core/IProject.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using System;

namespace MSBuild.TestFramework.Core;

internal interface IProject
{
void PreProcess();
}
16 changes: 16 additions & 0 deletions Tests/MSBuild.TestFramework/Core/ISdkTest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System;

namespace MSBuild.TestFramework.Core;

internal interface ISdkTest
{
/// <summary>
/// Gets the name of the SDK.
/// </summary>
string SdkName { get; }

/// <summary>
/// Gets the version of the SDK.
/// </summary>
string SdkVersion { get; }
}
8 changes: 8 additions & 0 deletions Tests/MSBuild.TestFramework/Core/ISolution.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using System;

namespace MSBuild.TestFramework.Core;

internal interface ISolution
{
void PreProcess();
}
21 changes: 21 additions & 0 deletions Tests/MSBuild.TestFramework/Core/ITaskTest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using System;

namespace MSBuild.TestFramework.Core;

internal interface ITaskTest
{
/// <summary>
/// Gets the name of the task.
/// </summary>
string TaskName { get; }

/// <summary>
/// Gets the namespace containing the task.
/// </summary>
string TaskNamespace { get; }

/// <summary>
/// Gets the name of the assembly containing the task.
/// </summary>
string TaskAssemblyName { get; }
}
7 changes: 6 additions & 1 deletion Tests/MSBuild.TestFramework/Project.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
using System;
using MSBuild.TestFramework.Core;

namespace MSBuild.TestFramework;

public sealed class Project
public sealed class Project : IProject
{
public Project()
{
}

public void PreProcess()
{
}
}
7 changes: 6 additions & 1 deletion Tests/MSBuild.TestFramework/SdkTest.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
using System;
using MSBuild.TestFramework.Core;

namespace MSBuild.TestFramework;

public abstract class SdkTest
public abstract class SdkTest : ISdkTest
{
public SdkTest()
{
}

public string SdkName { init; get; };

public string SdkVersion { init; get; }
}
7 changes: 6 additions & 1 deletion Tests/MSBuild.TestFramework/Solution.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
using System;
using MSBuild.TestFramework.Core;

namespace MSBuild.TestFramework;

public sealed class Solution
public sealed class Solution : ISolution
{
public Solution()
{
}

public void PreProcess()
{
}
}
10 changes: 9 additions & 1 deletion Tests/MSBuild.TestFramework/TaskTest.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
using System;
using MSBuild.TestFramework.Core;

namespace MSBuild.TestFramework;

public abstract class TaskTest
public abstract class TaskTest : ITaskTest
{
public TaskTest()
{
}

public string TaskName { init; get; };

public string TaskNamespace { init; get; }

public string TaskAssemblyName { init; get; }

}