mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 11:17:53 +01:00
Add Microsoft.Plugin.Uri.UnitTests to CI + Fix Tests (#5878)
Co-authored-by: Roy <royvou@hotmailcom>
This commit is contained in:
@@ -86,6 +86,7 @@ steps:
|
||||
**\ImageResizer.Test.dll
|
||||
**\KeyboardManagerTest.dll
|
||||
**\Microsoft.Plugin.Program.UnitTests.dll
|
||||
**\Microsoft.Plugin.Uri.UnitTests.dll
|
||||
**\PowerRenameUnitTests.dll
|
||||
**\UnitTests-CommonLib.dll
|
||||
**\PreviewPaneUnitTests.dll #this is the markdown tests
|
||||
|
||||
@@ -33,9 +33,9 @@ namespace Microsoft.Plugin.Uri.UnitTests.UriHelper
|
||||
[TestCase("http://test.co", true, "http://test.co/")]
|
||||
[TestCase("http://test.com", true, "http://test.com/")]
|
||||
[TestCase("http:3", true,"http://http:3/")]
|
||||
[TestCase("[::]", true, "http://[::]")]
|
||||
[TestCase("[2001:0DB8::1]", true, "http://[2001:0DB8::1]/")]
|
||||
[TestCase("[2001:0DB8::1]:80",true, "http://[2001:0DB8::1]/")]
|
||||
[TestCase("[::]", true, "http://[::]/")]
|
||||
[TestCase("[2001:0DB8::1]", true, "http://[2001:db8::1]/")]
|
||||
[TestCase("[2001:0DB8::1]:80",true, "http://[2001:db8::1]/")]
|
||||
public void TryParse_CanParseHostName(string query, bool expectedSuccess, string expectedResult)
|
||||
{
|
||||
// Arrange
|
||||
|
||||
Reference in New Issue
Block a user