Fixed UI test #586
Annotations
30 warnings
build (macos-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L50
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFile' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (macos-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L51
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFile' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (macos-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L97
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFileByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (macos-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L98
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFileByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (macos-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L122
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectory' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (macos-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L123
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectory' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (macos-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L160
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectoryByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (macos-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L161
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectoryByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (macos-latest):
tests/Camelot.ViewModels.Tests/FilePanels/TabsListViewModelTests.cs#L168
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
|
build (macos-latest):
src/Camelot.ViewModels.Windows/WinApi/IconExtractor.cs#L66
This call site is reachable on all platforms. 'Icon.ExtractAssociatedIcon(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/WinApi/IconExtractor.cs#L66
This call site is reachable on all platforms. 'Icon.ExtractAssociatedIcon(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/WinApi/IconExtractor.cs#L94
This call site is reachable on all platforms. 'Icon.FromHandle(nint)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/WinApi/IconExtractor.cs#L89
This call site is reachable on all platforms. 'Icon.FromHandle(nint)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L23
This call site is reachable on all platforms. 'Image.Height' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L27
This call site is reachable on all platforms. 'BitmapData.Scan0' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L24
This call site is reachable on all platforms. 'PixelFormat.Format32bppArgb' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L23
This call site is reachable on all platforms. 'Image.Width' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L21
This call site is reachable on all platforms. 'Bitmap' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L31
This call site is reachable on all platforms. 'Bitmap.UnlockBits(BitmapData)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L28
This call site is reachable on all platforms. 'BitmapData.Height' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (windows-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L50
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFile' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (windows-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L51
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFile' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (windows-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L97
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFileByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (windows-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L98
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFileByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (windows-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L122
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectory' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (windows-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L123
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectory' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (windows-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L160
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectoryByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (windows-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L161
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectoryByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (windows-latest):
tests/Camelot.ViewModels.Tests/FilePanels/TabsListViewModelTests.cs#L168
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
|
build (windows-latest):
src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L28
This call site is reachable on all platforms. 'BitmapData.Height' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|