Skip to content

Commit

Permalink
(#26, #27,#28, #29) TODO: connect with the issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Mar 16, 2024
1 parent 0eeea96 commit 085d1cb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ProcessDoctor.Backend.Linux/LinuxProcess.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion ProcessDoctor.Backend.Linux/Proc/Native/LibC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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

/// <remarks>
/// The DllImportAttribute provides a SetLastError property
Expand Down
2 changes: 1 addition & 1 deletion ProcessDoctor.Tests/ProcessTreeViewModelTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace ProcessDoctor.Tests;

// TODO: Rewrite assertions using FluentAssertions
// TODO[#29]: Rewrite assertions using FluentAssertions
public class ProcessTreeViewModelTests(ITestOutputHelper output)
{
[Fact]
Expand Down

0 comments on commit 085d1cb

Please sign in to comment.