Skip to content

Commit fdd38b9

Browse files
authored
Rename 'TestPSReadLine' to 'MockPSConsole' (#890)
1 parent 8454358 commit fdd38b9

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

TestPSReadLine/TestPSReadLine.csproj renamed to MockPSConsole/MockPSConsole.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<PropertyGroup>
33
<ProjectGuid>{08218B1A-8B85-4722-9E3F-4D6C0BF58AD8}</ProjectGuid>
44
<OutputType>Exe</OutputType>
5-
<RootNamespace>TestPSReadLine</RootNamespace>
6-
<AssemblyName>TestPSReadLine</AssemblyName>
5+
<RootNamespace>MockPSConsole</RootNamespace>
6+
<AssemblyName>MockPSConsole</AssemblyName>
77
<TargetFrameworks>net461;netcoreapp2.1</TargetFrameworks>
88
<FileAlignment>512</FileAlignment>
99
<ApplicationManifest>Program.manifest</ApplicationManifest>

TestPSReadLine/Program.cs renamed to MockPSConsole/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Runtime.InteropServices;
66
using Microsoft.PowerShell;
77

8-
namespace TestPSReadLine
8+
namespace MockPSConsole
99
{
1010
public enum StandardHandleId : uint
1111
{
File renamed without changes.

PSReadLine.build.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ $xUnitTestParams = @{
9696
}
9797

9898
$mockPSConsoleParams = @{
99-
Inputs = { Get-ChildItem TestPSReadLine/*.cs, TestPSReadLine/Program.manifest, TestPSReadLine/TestPSReadLine.csproj }
100-
Outputs = "TestPSReadLine/bin/$Configuration/$Framework/TestPSReadLine.dll"
99+
Inputs = { Get-ChildItem MockPSConsole/*.cs, MockPSConsole/Program.manifest, MockPSConsole/MockPSConsole.csproj }
100+
Outputs = "MockPSConsole/bin/$Configuration/$Framework/MockPSConsole.dll"
101101
}
102102

103103
<#
@@ -118,7 +118,7 @@ task BuildXUnitTests @xUnitTestParams {
118118
Synopsis: Build the mock powershell console.
119119
#>
120120
task BuildMockPSConsole @mockPSConsoleParams {
121-
exec { dotnet publish -f $Framework -c $Configuration TestPSReadLine }
121+
exec { dotnet publish -f $Framework -c $Configuration MockPSConsole }
122122
}
123123

124124
<#

PSReadLine/PSReadLine.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ VisualStudioVersion = 15.0.26730.12
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PSReadLine", "PSReadLine.csproj", "{615788CB-1B9A-4B34-97B3-4608686E59CA}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestPSReadLine", "..\TestPSReadLine\TestPSReadLine.csproj", "{08218B1A-8B85-4722-9E3F-4D6C0BF58AD8}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MockPSConsole", "..\MockPSConsole\MockPSConsole.csproj", "{08218B1A-8B85-4722-9E3F-4D6C0BF58AD8}"
99
EndProject
1010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PSReadLine.Tests", "..\test\PSReadLine.Tests.csproj", "{8ED51D01-158C-4B29-824A-35B9B861E45A}"
1111
EndProject

0 commit comments

Comments
 (0)