Skip to content

[feat]新增IJsonHost.Parse,分析Json字符串得到字典或列表 #321

[feat]新增IJsonHost.Parse,分析Json字符串得到字典或列表

[feat]新增IJsonHost.Parse,分析Json字符串得到字典或列表 #321

Triggered via push July 8, 2024 08:49
Status Success
Total duration 4m 19s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: 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/
test: XUnitTest.Core/Collections/CollectionHelperTests.cs#L37
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test: XUnitTest.Core/Collections/CollectionHelperTests.cs#L47
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test: XUnitTest.Core/Log/TracerTests.cs#L401
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
test: XUnitTest.Core/IO/ExcelReaderTests.cs#L40
Public method 'Test2' on test class 'ExcelReaderTests' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
test: XUnitTest.Core/Yun/OssClientTests.cs#L46
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
test: XUnitTest.Core/Yun/OssClientTests.cs#L55
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
test: XUnitTest.Core/Yun/OssClientTests.cs#L64
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
test: XUnitTest.Core/Yun/OssClientTests.cs#L74
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
test: XUnitTest.Core/Yun/OssClientTests.cs#L84
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
test: XUnitTest.Core/Caching/MemoryQueueTests.cs#L14
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
test: Test/Program.cs#L36
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
test: Test/Program.cs#L428
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
test: Test/Program.cs#L97
The field 'Program._client' is never used
test: XUnitTest.Core/Collections/CollectionHelperTests.cs#L37
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test: XUnitTest.Core/Collections/CollectionHelperTests.cs#L47
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test: XUnitTest.Core/Log/TracerTests.cs#L401
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
test: XUnitTest.Core/IO/ExcelReaderTests.cs#L40
Public method 'Test2' on test class 'ExcelReaderTests' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
test: XUnitTest.Core/Yun/OssClientTests.cs#L46
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
test: XUnitTest.Core/Yun/OssClientTests.cs#L55
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
test: XUnitTest.Core/Yun/OssClientTests.cs#L64
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)