Skip to content
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: 3 additions & 0 deletions nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<packageSources>
<clear />
<add key="CI Builds (dotnet-core)" value="https://www.myget.org/F/dotnet-core/api/v3/index.json" />
<add key="CI Builds (dotnet-cli)" value="http://myget.org/F/dotnet-cli/api/v3/index.json" />
<add key="CI Builds (NuGet)" value="https://www.myget.org/F/nugetbuild/api/v3/index.json" />
<add key="CI Builds (xUnit)" value="https://www.myget.org/F/coreclr-xunit/api/v3/index.json" />
<add key="CI Builds (aspnetcidev)" value="http://myget.org/F/aspnetcidev/api/v3/index.json" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="local" value="./src/windows-build/nuget-feed" />
Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.Management.Infrastructure/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"define": [ "_CORECLR" ]
},
"dependencies": {
"System.Runtime.Serialization.Xml": "4.1.1-rc2-24022",
"System.Threading.ThreadPool": "4.0.10-rc2-24022"
"System.Runtime.Serialization.Xml": "4.1.1-rc2-24103",
"System.Threading.ThreadPool": "4.0.10-rc2-24103"
}
},
"net451": {
Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.PowerShell.Commands.Management/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"define": [ "CORECLR" ]
},
"dependencies": {
"System.ServiceProcess.ServiceController": "4.1.0-rc2-24022",
"System.Net.NameResolution": "4.0.0-rc2-24022"
"System.ServiceProcess.ServiceController": "4.1.0-rc2-24103",
"System.Net.NameResolution": "4.0.0-rc2-24103"
}
},
"net451": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"define": [ "CORECLR" ]
},
"dependencies": {
"NETStandard.Library": "1.5.0-rc2-24022",
"System.Runtime.Loader": "4.0.0-rc2-24022"
"NETStandard.Library": "1.5.0-rc2-24103",
"System.Runtime.Loader": "4.0.0-rc2-24103"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/Microsoft.PowerShell.CoreCLR.Eventing/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"define": [ "CORECLR" ]
},
"dependencies": {
"System.Security.Principal": "4.0.1-rc2-24022",
"System.Security.Principal.Windows": "4.0.0-rc2-24022",
"System.Diagnostics.TraceSource": "4.0.0-rc2-24022",
"System.Security.Principal": "4.0.1-rc2-24103",
"System.Security.Principal.Windows": "4.0.0-rc2-24103",
"System.Diagnostics.TraceSource": "4.0.0-rc2-24103",
"System.Security.SecureString": "1.0.0-*"
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.PowerShell.CoreConsoleHost/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

"dependencies": {
"Newtonsoft.Json": "8.0.2",
"System.Xml.XDocument": "4.0.11-rc2-24022",
"System.IO.MemoryMappedFiles": "4.0.0-rc2-24022",
"System.Xml.XDocument": "4.0.11-rc2-24103",
"System.IO.MemoryMappedFiles": "4.0.0-rc2-24103",
"Microsoft.PowerShell.Commands.Management": "1.0.0-*",
"Microsoft.PowerShell.Commands.Utility": "1.0.0-*",
"Microsoft.PowerShell.PSReadLine": "1.0.0-*"
Expand Down
60 changes: 30 additions & 30 deletions src/System.Management.Automation/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,36 +30,36 @@
"Microsoft.PowerShell.CoreCLR.AssemblyLoadContext": "1.0.0-*",
"Microsoft.PowerShell.CoreCLR.Eventing": "1.0.0-*",

"Microsoft.CSharp": "4.0.1-rc2-24022",
"Microsoft.Win32.Registry.AccessControl": "4.0.0-rc2-24022",
"System.Collections.Specialized": "4.0.1-rc2-24022",
"System.Collections.NonGeneric": "4.0.1-rc2-24022",
"System.ComponentModel.EventBasedAsync": "4.0.11-rc2-24022",
"System.ComponentModel.TypeConverter": "4.0.1-rc2-24022",
"System.Data.Common": "4.0.1-rc2-24022",
"System.Diagnostics.Contracts": "4.0.1-rc2-24022",
"System.Diagnostics.FileVersionInfo": "4.0.0-rc2-24022",
"System.Diagnostics.Process": "4.1.0-rc2-24022",
"System.Diagnostics.StackTrace": "4.0.1-rc2-24022",
"System.Diagnostics.TraceSource": "4.0.0-rc2-24022",
"System.Dynamic.Runtime": "4.0.11-rc2-24022",
"System.IO.FileSystem.AccessControl": "4.0.0-rc2-24022",
"System.IO.FileSystem.DriveInfo": "4.0.0-rc2-24022",
"System.IO.FileSystem.Watcher": "4.0.0-rc2-24022",
"System.IO.Pipes": "4.0.0-rc2-24022",
"System.Linq.Expressions": "4.0.11-rc2-24022",
"System.Net.Http": "4.0.1-rc2-24022",
"System.Net.NetworkInformation": "4.1.0-rc2-24022",
"System.Reflection.Emit": "4.0.1-rc2-24022",
"System.Reflection.Emit.Lightweight": "4.0.1-rc2-24022",
"System.Security.AccessControl": "4.0.0-rc2-24022",
"System.Security.Cryptography.Algorithms": "4.1.0-rc2-24022",
"System.Security.Cryptography.X509Certificates": "4.1.0-rc2-24022",
"System.Threading.Thread": "4.0.0-rc2-24022",
"System.Threading.Tasks.Parallel": "4.0.1-rc2-24022",
"System.Xml.XPath.XmlDocument": "4.0.1-rc2-24022",
"System.Xml.XmlDocument": "4.0.1-rc2-24022",
"System.Xml.XmlSerializer": "4.0.11-rc2-24022"
"Microsoft.CSharp": "4.0.1-rc2-24103",
"Microsoft.Win32.Registry.AccessControl": "4.0.0-rc2-24103",
"System.Collections.Specialized": "4.0.1-rc2-24103",
"System.Collections.NonGeneric": "4.0.1-rc2-24103",
"System.ComponentModel.EventBasedAsync": "4.0.11-rc2-24103",
"System.ComponentModel.TypeConverter": "4.0.1-rc2-24103",
"System.Data.Common": "4.0.1-rc2-24103",
"System.Diagnostics.Contracts": "4.0.1-rc2-24103",
"System.Diagnostics.FileVersionInfo": "4.0.0-rc2-24103",
"System.Diagnostics.Process": "4.1.0-rc2-24103",
"System.Diagnostics.StackTrace": "4.0.1-rc2-24103",
"System.Diagnostics.TraceSource": "4.0.0-rc2-24103",
"System.Dynamic.Runtime": "4.0.11-rc2-24103",
"System.IO.FileSystem.AccessControl": "4.0.0-rc2-24103",
"System.IO.FileSystem.DriveInfo": "4.0.0-rc2-24103",
"System.IO.FileSystem.Watcher": "4.0.0-rc2-24103",
"System.IO.Pipes": "4.0.0-rc2-24103",
"System.Linq.Expressions": "4.0.11-rc2-24103",
"System.Net.Http": "4.0.1-rc2-24103",
"System.Net.NetworkInformation": "4.1.0-rc2-24103",
"System.Reflection.Emit": "4.0.1-rc2-24103",
"System.Reflection.Emit.Lightweight": "4.0.1-rc2-24103",
"System.Security.AccessControl": "4.0.0-rc2-24103",
"System.Security.Cryptography.Algorithms": "4.1.0-rc2-24103",
"System.Security.Cryptography.X509Certificates": "4.1.0-rc2-24103",
"System.Threading.Thread": "4.0.0-rc2-24103",
"System.Threading.Tasks.Parallel": "4.0.1-rc2-24103",
"System.Xml.XPath.XmlDocument": "4.0.1-rc2-24103",
"System.Xml.XmlDocument": "4.0.1-rc2-24103",
"System.Xml.XmlSerializer": "4.0.11-rc2-24103"
}
},
"net451": {
Expand Down
2 changes: 1 addition & 1 deletion src/System.Security.SecureString/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"frameworks": {
"netstandard1.5": {
"dependencies": {
"NETStandard.Library": "1.5.0-rc2-24022"
"NETStandard.Library": "1.5.0-rc2-24103"
},
"imports": [ "dnxcore50" ]
}
Expand Down
4 changes: 2 additions & 2 deletions src/TypeCatalogParser/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
},

"dependencies": {
"Microsoft.DotNet.ProjectModel": "1.0.0-*",
"Microsoft.DotNet.Cli.Utils": "1.0.0-*"
"Microsoft.DotNet.ProjectModel": "1.0.0-rc2-002665",
"Microsoft.DotNet.Cli.Utils": "1.0.0-rc2-002665"
},

"frameworks": {
Expand Down
2 changes: 1 addition & 1 deletion test/csharp/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"imports": [ "dnxcore50", "portable-net45+win8" ],
"dependencies": {
"xunit": "2.1.0",
"dotnet-test-xunit": "1.0.0-dev-140469-38"
"dotnet-test-xunit": "1.0.0-rc2-173384-19"
}
}
},
Expand Down
32 changes: 32 additions & 0 deletions test/powershell/PSReadLine.Tests.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Describe "PSReadLine" {
BeforeAll {
if (Get-Module PSReadLine) {
$originalEditMode = (Get-PSReadLineOption).EditMode
Remove-Module PSReadLine
}
}

It "Should import the module correctly" {
Import-Module PSReadLine
$module = Get-Module PSReadLine
$module.Name | Should Be "PSReadLine"
$module.Version | Should Be "1.2"
}

It "Should set the edit mode" {
Set-PSReadlineOption -EditMode Windows
(Get-PSReadlineKeyHandler | where { $_.Key -eq "Ctrl+A" }).Function | Should Be SelectAll

Set-PSReadlineOption -EditMode Emacs
(Get-PSReadlineKeyHandler | where { $_.Key -eq "Ctrl+A" }).Function | Should Be BeginningOfLine
}

AfterAll {
Remove-Module PSReadLine

if ($originalEditMode) {
Import-Module PSReadLine
Set-PSReadlineOption -EditMode $originalEditMode
}
}
}