Add Microsoft.Plugin.Uri.UnitTests to CI + Fix Tests (#5878)
Co-authored-by: Roy <royvou@hotmailcom>
This commit is contained in:
Родитель
18f5c7f691
Коммит
90502f7553
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче