added some unit tests #476
Annotations
11 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
src/Downloader/RequestConfiguration.cs#L236
Ambiguous reference in cref attribute: 'System.Net.HttpWebRequest.GetRequestStream'. Assuming 'HttpWebRequest.GetRequestStream()', but could have also matched other overloads including 'HttpWebRequest.GetRequestStream(out TransportContext?)'.
|
src/Downloader/ThrottledStream.cs#L23
XML comment has cref attribute 'baseStream' that could not be resolved
|
|
src/Downloader.Test/HelperTests/DummyFileControllerTest.cs#L280
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
src/Downloader.Test/UnitTests/RequestTest.cs#L260
'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
src/Downloader.Test/UnitTests/RequestTest.cs#L280
'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
src/Downloader.Test/IntegrationTests/ThrottledStreamTest.cs#L42
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
|
src/Downloader/RequestConfiguration.cs#L236
Ambiguous reference in cref attribute: 'System.Net.HttpWebRequest.GetRequestStream'. Assuming 'HttpWebRequest.GetRequestStream()', but could have also matched other overloads including 'HttpWebRequest.GetRequestStream(out TransportContext?)'.
|
src/Downloader/ThrottledStream.cs#L23
XML comment has cref attribute 'baseStream' that could not be resolved
|
|
This job succeeded
Loading