#region ========================================================================= USING ===================================================================================== using Lumina.Presentation.Api.IntegrationTests.Core.Endpoints.FileSystemManagement.Fixtures; using System; using System.IO; using Xunit; #endregion namespace Lumina.Presentation.Api.IntegrationTests.Common.Setup; /// /// Marks a test to be skipped when the file system does not support the attribute. /// [AttributeUsage(AttributeTargets.Method)] public sealed class SkipWhenHiddenAttributeNotSupportedFactAttribute : FactAttribute { /// /// Gets the reason to skip the test. If set, the test will be skipped instead of executed. /// public override string Skip => FileSystemStructureFixture.HiddenAttributeIsSupported ? string.Empty : "The file system does not support the hidden file attribute, so the hidden elements scenario cannot be set up."; }