From 085d1cb16ca78a508d424553355a037cc0d7bbcb Mon Sep 17 00:00:00 2001 From: Friedrich von Never Date: Sat, 16 Mar 2024 17:05:42 +0100 Subject: [PATCH] (#26, #27,#28, #29) TODO: connect with the issues --- ProcessDoctor.Backend.Linux/LinuxProcess.cs | 4 ++-- ProcessDoctor.Backend.Linux/Proc/Native/LibC.cs | 2 +- ProcessDoctor.Tests/ProcessTreeViewModelTests.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ProcessDoctor.Backend.Linux/LinuxProcess.cs b/ProcessDoctor.Backend.Linux/LinuxProcess.cs index 212c992..c2a8f55 100644 --- a/ProcessDoctor.Backend.Linux/LinuxProcess.cs +++ b/ProcessDoctor.Backend.Linux/LinuxProcess.cs @@ -32,7 +32,7 @@ public override SKBitmap ExtractIcon() return ExtractStockIcon(iconTheme); } - // TODO: Understand how to bind ExecutablePath and data from AppInfo + // TODO[#27]: Understand how to bind ExecutablePath and data from AppInfo var application = AppInfoAdapter .GetAll() .FirstOrDefault(application => application.Executable.Contains(ExecutablePath)); @@ -42,7 +42,7 @@ public override SKBitmap ExtractIcon() return ExtractStockIcon(iconTheme); } - // TODO: Fix quality, color, size + // TODO[#28]: Fix quality, color, size using var icon = iconTheme.LookupIcon( application.Icon, size: 16, diff --git a/ProcessDoctor.Backend.Linux/Proc/Native/LibC.cs b/ProcessDoctor.Backend.Linux/Proc/Native/LibC.cs index 272f40e..047c1ed 100644 --- a/ProcessDoctor.Backend.Linux/Proc/Native/LibC.cs +++ b/ProcessDoctor.Backend.Linux/Proc/Native/LibC.cs @@ -7,7 +7,7 @@ internal static class LibC private const string Name = "libc"; [DllImport(Name, EntryPoint = "readlink", SetLastError = true)] - private static extern int NativeReadLink(string path, byte[] buffer, int bufferSize); // TODO: Make testable + private static extern int NativeReadLink(string path, byte[] buffer, int bufferSize); // TODO[#26]: Make testable /// /// The DllImportAttribute provides a SetLastError property diff --git a/ProcessDoctor.Tests/ProcessTreeViewModelTests.cs b/ProcessDoctor.Tests/ProcessTreeViewModelTests.cs index 5db7b39..e3eac67 100644 --- a/ProcessDoctor.Tests/ProcessTreeViewModelTests.cs +++ b/ProcessDoctor.Tests/ProcessTreeViewModelTests.cs @@ -8,7 +8,7 @@ namespace ProcessDoctor.Tests; -// TODO: Rewrite assertions using FluentAssertions +// TODO[#29]: Rewrite assertions using FluentAssertions public class ProcessTreeViewModelTests(ITestOutputHelper output) { [Fact]