Skip to content

Commit 8d49240

Browse files
committed
imp - Interactive kernel testing reworked
--- We've used Terminaux's test fixture launcher for interactive kernel testing. --- Type: imp Breaking: False Doc Required: False Backport Required: False Part: 1/1
1 parent 79f7bc8 commit 8d49240

File tree

98 files changed

+224
-437
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+224
-437
lines changed

public/Nitrocid/Kernel/Debugging/Testing/Facades/BenchmarkSleepOne.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ internal class BenchmarkSleepOne : TestFacade
2727
{
2828
public override string TestName => Translate.DoTranslation("How many milliseconds did it really take to sleep for just one millisecond?");
2929
public override TestSection TestSection => TestSection.Kernel;
30-
public override void Run(params string[] args)
30+
public override void Run()
3131
{
3232
TextWriterColor.Write("{0} ms", true, ThreadManager.GetActualMilliseconds(1));
3333
}

public/Nitrocid/Kernel/Debugging/Testing/Facades/BenchmarkTickSleepOne.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ internal class BenchmarkTickSleepOne : TestFacade
2727
{
2828
public override string TestName => Translate.DoTranslation("How many ticks did it really take to sleep for just one millisecond?");
2929
public override TestSection TestSection => TestSection.Kernel;
30-
public override void Run(params string[] args)
30+
public override void Run()
3131
{
3232
TextWriterColor.Write("{0} ticks", true, ThreadManager.GetActualTicks(1));
3333
}

public/Nitrocid/Kernel/Debugging/Testing/Facades/ChangeLanguage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ internal class ChangeLanguage : TestFacade
2727
{
2828
public override string TestName => Translate.DoTranslation("Tests changing the language to your preferred language");
2929
public override TestSection TestSection => TestSection.Languages;
30-
public override void Run(params string[] args)
30+
public override void Run()
3131
{
3232
var langChoices = LanguageManager.Languages.Select(kvp => (kvp.Key, kvp.Value.FullLanguageName)).ToArray();
3333
int langIndex = SelectionStyle.PromptSelection(Translate.DoTranslation("Choose your language"), langChoices) - 1;

public/Nitrocid/Kernel/Debugging/Testing/Facades/CheckLocalizationLines.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ internal class CheckLocalizationLines : TestFacade
3131
{
3232
public override string TestName => Translate.DoTranslation("Checks all the localization text line numbers to see if they're all equal");
3333
public override TestSection TestSection => TestSection.Languages;
34-
public override void Run(params string[] args)
34+
public override void Run()
3535
{
3636
var EnglishJson = JToken.Parse(ResourcesManager.GetData("eng.json", ResourcesType.Languages) ??
3737
throw new KernelException(KernelExceptionType.LanguageManagement, Translate.DoTranslation("Can't open the English localization resource")));

public/Nitrocid/Kernel/Debugging/Testing/Facades/CheckSettingsEntries.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ internal class CheckSettingsEntries : TestFacade
3131
public override TestSection TestSection => TestSection.Kernel;
3232
public override bool TestInteractive => false;
3333
public override object TestExpectedValue => false;
34-
public override void Run(params string[] args)
34+
public override void Run()
3535
{
3636
var Results = ConfigTools.CheckConfigVariables();
3737
bool failed = Results.Any((res) => !res);

public/Nitrocid/Kernel/Debugging/Testing/Facades/CheckString.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ internal class CheckString : TestFacade
2929
{
3030
public override string TestName => Translate.DoTranslation("Checks to see if the translatable string exists in the KS resources");
3131
public override TestSection TestSection => TestSection.Languages;
32-
public override int TestOptionalParameters => 1;
33-
public override void Run(params string[] args)
32+
public override void Run()
3433
{
35-
string Text = args.Length > 0 ? args[0] : "";
34+
string Text = "";
3635
if (string.IsNullOrEmpty(Text))
3736
Text = InputTools.ReadLine(Translate.DoTranslation("Write a translatable string to check:") + " ");
3837
var LocalizedStrings = LanguageManager.Languages["eng"].Strings;

public/Nitrocid/Kernel/Debugging/Testing/Facades/CheckStrings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ internal class CheckStrings : TestFacade
3030
public override TestSection TestSection => TestSection.Languages;
3131
public override bool TestInteractive => false;
3232
public override object TestExpectedValue => false;
33-
public override void Run(params string[] args)
33+
public override void Run()
3434
{
3535
string TextPath = InputTools.ReadLine(Translate.DoTranslation("Write a translatable string list file path to check:") + " ");
3636
var LocalizedStrings = LanguageManager.Languages["eng"].Strings;

public/Nitrocid/Kernel/Debugging/Testing/Facades/CliDoublePaneSlowTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Nitrocid.Kernel.Debugging.Testing.Facades
2626
internal class CliDoublePaneSlowTest : TestFacade
2727
{
2828
public override string TestName => Translate.DoTranslation("Tests the interactive TUI system with a double pane interaction");
29-
public override void Run(params string[] args) =>
29+
public override void Run() =>
3030
InteractiveTuiTools.OpenInteractiveTui(new CliDoublePaneSlowTestData());
3131
}
3232
}

public/Nitrocid/Kernel/Debugging/Testing/Facades/CliDoublePaneTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Nitrocid.Kernel.Debugging.Testing.Facades
2626
internal class CliDoublePaneTest : TestFacade
2727
{
2828
public override string TestName => Translate.DoTranslation("Tests the interactive TUI system with a double pane interaction");
29-
public override void Run(params string[] args) =>
29+
public override void Run() =>
3030
InteractiveTuiTools.OpenInteractiveTui(new CliDoublePaneTestData());
3131
}
3232
}

public/Nitrocid/Kernel/Debugging/Testing/Facades/CliInfoPaneSlowTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Nitrocid.Kernel.Debugging.Testing.Facades
2626
internal class CliInfoPaneSlowTest : TestFacade
2727
{
2828
public override string TestName => Translate.DoTranslation("Tests the interactive TUI system with a single pane interaction");
29-
public override void Run(params string[] args) =>
29+
public override void Run() =>
3030
InteractiveTuiTools.OpenInteractiveTui(new CliInfoPaneSlowTestData());
3131
}
3232
}

public/Nitrocid/Kernel/Debugging/Testing/Facades/CliInfoPaneSlowTestRefreshing.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Nitrocid.Kernel.Debugging.Testing.Facades
2626
internal class CliInfoPaneSlowTestRefreshing : TestFacade
2727
{
2828
public override string TestName => Translate.DoTranslation("Tests the interactive TUI system with a single pane interaction and with refreshing the second pane info");
29-
public override void Run(params string[] args) =>
29+
public override void Run() =>
3030
InteractiveTuiTools.OpenInteractiveTui(new CliInfoPaneSlowTestRefreshingData());
3131
}
3232
}

public/Nitrocid/Kernel/Debugging/Testing/Facades/CliInfoPaneTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Nitrocid.Kernel.Debugging.Testing.Facades
2626
internal class CliInfoPaneTest : TestFacade
2727
{
2828
public override string TestName => Translate.DoTranslation("Tests the interactive TUI system with a single pane interaction");
29-
public override void Run(params string[] args) =>
29+
public override void Run() =>
3030
InteractiveTuiTools.OpenInteractiveTui(new CliInfoPaneTestData());
3131
}
3232
}

public/Nitrocid/Kernel/Debugging/Testing/Facades/CliInfoPaneTestRefreshing.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Nitrocid.Kernel.Debugging.Testing.Facades
2626
internal class CliInfoPaneTestRefreshing : TestFacade
2727
{
2828
public override string TestName => Translate.DoTranslation("Tests the interactive TUI system with a single pane interaction and with refreshing the second pane info");
29-
public override void Run(params string[] args) =>
29+
public override void Run() =>
3030
InteractiveTuiTools.OpenInteractiveTui(new CliInfoPaneTestRefreshingData());
3131
}
3232
}

public/Nitrocid/Kernel/Debugging/Testing/Facades/ColorTest.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ internal class ColorTest : TestFacade
2828
{
2929
public override string TestName => Translate.DoTranslation("Tests the VT sequence for 255 colors");
3030
public override TestSection TestSection => TestSection.ConsoleBase;
31-
public override int TestOptionalParameters => 1;
32-
public override void Run(params string[] args)
31+
public override void Run()
3332
{
34-
string Text = args.Length > 0 ? args[0] : "";
33+
string Text = "";
3534
if (string.IsNullOrEmpty(Text))
3635
Text = InputTools.ReadLine(Translate.DoTranslation("Write a color number ranging from 1 to 255:") + " ");
3736
if (int.TryParse(Text, out int color))

public/Nitrocid/Kernel/Debugging/Testing/Facades/ColorTrueTest.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,9 @@ internal class ColorTrueTest : TestFacade
2828
{
2929
public override string TestName => Translate.DoTranslation("Tests the VT sequence for true color");
3030
public override TestSection TestSection => TestSection.ConsoleBase;
31-
public override int TestOptionalParameters => 3;
32-
public override void Run(params string[] args)
31+
public override void Run()
3332
{
34-
string TextR = args.Length > 0 ? args[0] : "";
35-
string TextG = args.Length > 1 ? args[1] : "";
36-
string TextB = args.Length > 2 ? args[2] : "";
33+
string TextR = "", TextG = "", TextB = "";
3734
if (string.IsNullOrEmpty(TextR))
3835
TextR = InputTools.ReadLine("R - " + Translate.DoTranslation("Write a color number ranging from 1 to 255:") + " ");
3936
if (string.IsNullOrEmpty(TextG))

public/Nitrocid/Kernel/Debugging/Testing/Facades/Debug.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ internal class Debug : TestFacade
2727
{
2828
public override string TestName => Translate.DoTranslation("Enables the debugger");
2929
public override TestSection TestSection => TestSection.Kernel;
30-
public override void Run(params string[] args)
30+
public override void Run()
3131
{
3232
TextWriterColor.Write(Translate.DoTranslation("Previous value") + ": {0}", KernelEntry.DebugMode);
3333
if (!KernelEntry.DebugMode)

public/Nitrocid/Kernel/Debugging/Testing/Facades/DismissNotifications.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Nitrocid.Kernel.Debugging.Testing.Facades
2525
internal class DismissNotifications : TestFacade
2626
{
2727
public override string TestName => Translate.DoTranslation("Dismisses all sent notifications");
28-
public override void Run(params string[] args)
28+
public override void Run()
2929
{
3030
for (int i = NotificationManager.NotifRecents.Count - 1; i >= 0; i--)
3131
NotificationManager.NotifDismiss(i);

public/Nitrocid/Kernel/Debugging/Testing/Facades/EnableNotifications.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ internal class EnableNotifications : TestFacade
2828
public override string TestName => Translate.DoTranslation("Enables the notification system");
2929
public override bool TestInteractive => false;
3030
public override object TestExpectedValue => true;
31-
public override void Run(params string[] args)
31+
public override void Run()
3232
{
3333
Login.LoggedIn = true;
3434
if (!NotificationManager.NotifThread.IsAlive)

public/Nitrocid/Kernel/Debugging/Testing/Facades/FetchKernelUpdates.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ internal class FetchKernelUpdates : TestFacade
2727
{
2828
public override string TestName => Translate.DoTranslation("Tests the kernel update functionality");
2929
public override TestSection TestSection => TestSection.Kernel;
30-
public override void Run(params string[] args)
30+
public override void Run()
3131
{
3232
var update = UpdateManager.FetchKernelUpdates(UpdateKind.Binary);
3333
if (update != null)

public/Nitrocid/Kernel/Debugging/Testing/Facades/InternetCheck.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ internal class InternetCheck : TestFacade
2929
public override TestSection TestSection => TestSection.Network;
3030
public override bool TestInteractive => false;
3131
public override object TestExpectedValue => true;
32-
public override void Run(params string[] args)
32+
public override void Run()
3333
{
3434
bool netFound = NetworkTools.InternetAvailable;
3535
TextWriterColor.Write(Translate.DoTranslation("Internet availability is") + $": {netFound}");

public/Nitrocid/Kernel/Debugging/Testing/Facades/KernelThreadChildTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ internal class KernelThreadChildTest : TestFacade
2828
{
2929
public override string TestName => Translate.DoTranslation("Tests the child kernel thread");
3030
public override TestSection TestSection => TestSection.Kernel;
31-
public override void Run(params string[] args)
31+
public override void Run()
3232
{
3333
KernelThread thread = new("Test thread", true, KernelThreadTestData.WriteHello);
3434
thread.AddChild("Test child thread", true, KernelThreadTestData.WriteHello);

public/Nitrocid/Kernel/Debugging/Testing/Facades/KernelThreadTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ internal class KernelThreadTest : TestFacade
2828
{
2929
public override string TestName => Translate.DoTranslation("Tests the kernel thread");
3030
public override TestSection TestSection => TestSection.Kernel;
31-
public override void Run(params string[] args)
31+
public override void Run()
3232
{
3333
KernelThread thread = new("Test thread", true, KernelThreadTestData.WriteHello);
3434
thread.Start();

public/Nitrocid/Kernel/Debugging/Testing/Facades/ListCodepages.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ internal class ListCodepages : TestFacade
3030
{
3131
public override string TestName => Translate.DoTranslation("Lists all supported codepages");
3232
public override TestSection TestSection => TestSection.Languages;
33-
public override void Run(params string[] args)
33+
public override void Run()
3434
{
3535
string[] Encodings = Encoding.GetEncodings().Select((ei) => $"[{ei.CodePage}] {ei.Name}: {ei.DisplayName}").ToArray();
3636
var listing = new Listing()

public/Nitrocid/Kernel/Debugging/Testing/Facades/ListCultures.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ internal class ListCultures : TestFacade
2828
{
2929
public override string TestName => Translate.DoTranslation("Lists supported cultures");
3030
public override TestSection TestSection => TestSection.Languages;
31-
public override void Run(params string[] args)
31+
public override void Run()
3232
{
3333
string Text = InputTools.ReadLine(Translate.DoTranslation("Write a search term:") + " ");
3434
var Cults = CultureInfo.GetCultures(CultureTypes.AllCultures);

public/Nitrocid/Kernel/Debugging/Testing/Facades/NetworkCheck.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ internal class NetworkCheck : TestFacade
2929
public override TestSection TestSection => TestSection.Network;
3030
public override bool TestInteractive => false;
3131
public override object TestExpectedValue => true;
32-
public override void Run(params string[] args)
32+
public override void Run()
3333
{
3434
bool netFound = NetworkTools.NetworkAvailable;
3535
TextWriterColor.Write(Translate.DoTranslation("Network availability is") + $": {netFound}");

public/Nitrocid/Kernel/Debugging/Testing/Facades/PowerLineTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace Nitrocid.Kernel.Debugging.Testing.Facades
3030
internal class PowerLineTest : TestFacade
3131
{
3232
public override string TestName => Translate.DoTranslation("Tests your console for PowerLine support");
33-
public override void Run(params string[] args)
33+
public override void Run()
3434
{
3535
char TransitionChar = Convert.ToChar(0xE0B0);
3636
char PadlockChar = Convert.ToChar(0xE0A2);

public/Nitrocid/Kernel/Debugging/Testing/Facades/Print.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@ internal class Print : TestFacade
2727
{
2828
public override string TestName => Translate.DoTranslation("Print a string to console");
2929
public override TestSection TestSection => TestSection.ConsoleBase;
30-
public override int TestOptionalParameters => 1;
31-
public override void Run(params string[] args)
30+
public override void Run()
3231
{
33-
string rendered = args.Length > 0 ? args[0] : "Hello world!";
32+
string rendered = "Hello world!";
3433
TextWriters.Write(rendered, true, KernelColorType.Success);
3534
}
3635
}

public/Nitrocid/Kernel/Debugging/Testing/Facades/PrintD.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ internal class PrintD : TestFacade
2525
{
2626
public override string TestName => Translate.DoTranslation("Print a string to debugger");
2727
public override TestSection TestSection => TestSection.ConsoleBase;
28-
public override void Run(params string[] args)
28+
public override void Run()
2929
{
3030
DebugWriter.WriteDebug(DebugLevel.I, "Hello world!");
3131
}

public/Nitrocid/Kernel/Debugging/Testing/Facades/PrintDF.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ internal class PrintDF : TestFacade
2525
{
2626
public override string TestName => Translate.DoTranslation("Print a string to debugger with formatting");
2727
public override TestSection TestSection => TestSection.ConsoleBase;
28-
public override void Run(params string[] args)
28+
public override void Run()
2929
{
3030
DebugWriter.WriteDebug(DebugLevel.I, "Hi, {0}!", "Nitrocid KS");
3131
}

public/Nitrocid/Kernel/Debugging/Testing/Facades/PrintF.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@ internal class PrintF : TestFacade
2727
{
2828
public override string TestName => Translate.DoTranslation("Print a string to console with formatting");
2929
public override TestSection TestSection => TestSection.ConsoleBase;
30-
public override int TestOptionalParameters => 1;
31-
public override void Run(params string[] args)
30+
public override void Run()
3231
{
33-
string rendered = args.Length > 0 ? args[0] : "Hi, {0}!";
32+
string rendered = "Hi, {0}!";
3433
TextWriters.Write(rendered, true, KernelColorType.Success, "Nitrocid KS");
3534
}
3635
}

public/Nitrocid/Kernel/Debugging/Testing/Facades/PrintHighlighted.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@ internal class PrintHighlighted : TestFacade
2727
{
2828
public override string TestName => Translate.DoTranslation("Print a string to console with highlight");
2929
public override TestSection TestSection => TestSection.ConsoleBase;
30-
public override int TestOptionalParameters => 1;
31-
public override void Run(params string[] args)
30+
public override void Run()
3231
{
33-
string rendered = args.Length > 0 ? args[0] : "Hello world!";
32+
string rendered = "Hello world!";
3433
TextWriters.Write(rendered, true, true, KernelColorType.NeutralText);
3534
}
3635
}

public/Nitrocid/Kernel/Debugging/Testing/Facades/PrintPlaces.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@ internal class PrintPlaces : TestFacade
2727
{
2828
public override string TestName => Translate.DoTranslation("Prints a string to console and parses the placeholders found");
2929
public override TestSection TestSection => TestSection.ConsoleBase;
30-
public override int TestOptionalParameters => 1;
31-
public override void Run(params string[] args)
30+
public override void Run()
3231
{
33-
string rendered = args.Length > 0 ? PlaceParse.ProbePlaces(args[0]) : "Date: " + PlaceParse.ProbePlaces("<shortdate>");
32+
string rendered = "Date: " + PlaceParse.ProbePlaces("<shortdate>");
3433
TextWriterColor.Write(rendered, true);
3534
}
3635
}

public/Nitrocid/Kernel/Debugging/Testing/Facades/PrintSep.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ internal class PrintSep : TestFacade
2626
{
2727
public override string TestName => Translate.DoTranslation("Print a separator to console");
2828
public override TestSection TestSection => TestSection.ConsoleBase;
29-
public override int TestOptionalParameters => 1;
30-
public override void Run(params string[] args)
29+
public override void Run()
3130
{
32-
string rendered = args.Length > 0 ? args[0] : "Hello world!";
31+
string rendered = "Hello world!";
3332
SeparatorWriterColor.WriteSeparator(rendered);
3433
}
3534
}

public/Nitrocid/Kernel/Debugging/Testing/Facades/PrintSepF.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ internal class PrintSepF : TestFacade
2626
{
2727
public override string TestName => Translate.DoTranslation("Print a separator to console with formatting");
2828
public override TestSection TestSection => TestSection.ConsoleBase;
29-
public override int TestOptionalParameters => 1;
30-
public override void Run(params string[] args)
29+
public override void Run()
3130
{
32-
string rendered = args.Length > 0 ? args[0] : "Hi, {0}!";
31+
string rendered = "Hi, {0}!";
3332
SeparatorWriterColor.WriteSeparator(rendered, true, "Nitrocid KS");
3433
}
3534
}

public/Nitrocid/Kernel/Debugging/Testing/Facades/PrintWithNewLines.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ internal class PrintWithNewLines : TestFacade
2828
{
2929
public override string TestName => Translate.DoTranslation("Print a string to console with new lines in string");
3030
public override TestSection TestSection => TestSection.ConsoleBase;
31-
public override void Run(params string[] args)
31+
public override void Run()
3232
{
3333
TextWriters.Write("Hello world!\nHow's your day going?\nShould be directly after this:", false, KernelColorType.Success);
3434
TextWriters.Write(" [{0}, {1}] ", true, KernelColorType.NeutralText, ConsoleWrapper.CursorLeft, ConsoleWrapper.CursorTop);

public/Nitrocid/Kernel/Debugging/Testing/Facades/PrintWithNulls.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ internal class PrintWithNulls : TestFacade
2828
{
2929
public override string TestName => Translate.DoTranslation("Print a string to console with null characters");
3030
public override TestSection TestSection => TestSection.ConsoleBase;
31-
public override void Run(params string[] args)
31+
public override void Run()
3232
{
3333
TextWriters.Write("Hello world!\nHow's your day going? \0Should be after this:\0\0\0", false, KernelColorType.Success);
3434
TextWriters.Write(" [{0}, {1}] ", true, KernelColorType.NeutralText, ConsoleWrapper.CursorLeft, ConsoleWrapper.CursorTop);

public/Nitrocid/Kernel/Debugging/Testing/Facades/ProbeHardware.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ internal class ProbeHardware : TestFacade
2626
{
2727
public override string TestName => Translate.DoTranslation("Tests probing the hardware");
2828
public override TestSection TestSection => TestSection.Kernel;
29-
public override void Run(params string[] args)
29+
public override void Run()
3030
{
3131
HardwareProbe.StartProbing();
3232
}

0 commit comments

Comments
 (0)