12 writes to InputUrl
Microsoft.Build.Tasks.UnitTests (12)
FormatUrl_Tests.cs (12)
30
t.
InputUrl
= null;
44
t.
InputUrl
= string.Empty;
74
t.
InputUrl
= " ";
88
t.
InputUrl
= " ";
101
t.
InputUrl
= @"\\server\filename.ext";
116
t.
InputUrl
= Environment.CurrentDirectory;
131
t.
InputUrl
= @".";
145
t.
InputUrl
= @"/usr/local/share";
159
t.
InputUrl
= @"c:\folder\filename.ext";
173
t.
InputUrl
= @"https://localhost/Example/Path";
187
t.
InputUrl
= @"https://example.com/Example/Path";
201
t.
InputUrl
= @"https://example.com/Example/../Path";
6 references to InputUrl
Microsoft.Build.Tasks.Core (2)
FormatUrl.cs (2)
24
OutputUrl =
InputUrl
!= null ? PathUtil.Format(
InputUrl
) : String.Empty;
Microsoft.Build.Tasks.UnitTests (4)
FormatUrl_Tests.cs (4)
46
t.OutputUrl.ShouldBe(t.
InputUrl
);
76
t.OutputUrl.ShouldBe(new Uri(Path.Combine(Environment.CurrentDirectory, t.
InputUrl
)).AbsoluteUri);
118
t.OutputUrl.ShouldBe(new Uri(t.
InputUrl
).AbsoluteUri);
189
t.OutputUrl.ShouldBe(t.
InputUrl
);