namespace ClawdDotNet.Core.Tests.Infrastructure;
///
/// 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 return: in the
/// test report it is then visible that something was not checked here.
///
public sealed class LinuxFactAttribute : FactAttribute
{
public LinuxFactAttribute()
{
if (!OperatingSystem.IsLinux())
Skip = "Nur unter Linux aussagekräftig (Groß-/Kleinschreibung, Verknüpfungen).";
}
}
/// A test that only says something under Windows. See .
public sealed class WindowsFactAttribute : FactAttribute
{
public WindowsFactAttribute()
{
if (!OperatingSystem.IsWindows())
Skip = "Nur unter Windows aussagekräftig.";
}
}