Rund 2.600 Kommentarblöcke in 310 C#-Dateien übersetzt, Begründungen vollständig erhalten: blockweise gleiche Anzahl wie vorher, kein Block unter 60 % seiner Länge, der Code außerhalb der Kommentare per Tokenizer byte-identisch geprüft. Zitate deutscher Oberflächentexte und Testdaten bleiben deutsch. WebUI: Kommentare in JS/CSS/HTML übersetzt, JSDoc-@param an die in 4b umbenannten Parameter angeglichen. Dabei behoben: - 4b hatte "tag" (HTML-Tag) als deutsches "Tag" gelesen und zu "dayValue" gemacht (makeElement, svg, Tagesübersicht) - zurück auf tag/day. - Aufgaben "InProgress" bekamen die Plakettenart "laufend", für die es nie eine CSS-Klasse gab - jetzt "success" wie laufende Instanzen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 lines
1.1 KiB
C#
32 lines
1.1 KiB
C#
namespace ClawdDotNet.Core.Tests.Infrastructure;
|
|
|
|
/// <summary>
|
|
/// A test that only says something under Linux.
|
|
///
|
|
/// Became necessary with the Linux port: upper/lower case and symbolic
|
|
/// links behave differently per file system. Letting such cases run along under
|
|
/// Windows would either fail or — worse — be green
|
|
/// without having checked what was meant.
|
|
///
|
|
/// Deliberately a skip with a reason instead of a silent <c>return</c>: in the
|
|
/// test report it is then visible that something was <em>not</em> checked here.
|
|
/// </summary>
|
|
public sealed class LinuxFactAttribute : FactAttribute
|
|
{
|
|
public LinuxFactAttribute()
|
|
{
|
|
if (!OperatingSystem.IsLinux())
|
|
Skip = "Nur unter Linux aussagekräftig (Groß-/Kleinschreibung, Verknüpfungen).";
|
|
}
|
|
}
|
|
|
|
/// <summary>A test that only says something under Windows. See <see cref="LinuxFactAttribute"/>.</summary>
|
|
public sealed class WindowsFactAttribute : FactAttribute
|
|
{
|
|
public WindowsFactAttribute()
|
|
{
|
|
if (!OperatingSystem.IsWindows())
|
|
Skip = "Nur unter Windows aussagekräftig.";
|
|
}
|
|
}
|