615b487a77
Adds missing <summary>/<param> XML docs across 99 server, worker, and test files so CommentChecker reports zero issues (TreatWarningsAsErrors needs the analyzer clean). Bundles in WIP dashboard work: NavSection extraction, MainLayout/site.css/js styling alignment, and DashboardOptions/Auth tweaks.
19 lines
637 B
C#
19 lines
637 B
C#
namespace ZB.MOM.WW.MxGateway.IntegrationTests;
|
|
|
|
public sealed class LiveLdapFactAttribute : FactAttribute
|
|
{
|
|
public const string EnableVariableName = "MXGATEWAY_RUN_LIVE_LDAP_TESTS";
|
|
|
|
/// <summary>Initializes a live LDAP test fact that skips if LDAP tests are not enabled.</summary>
|
|
public LiveLdapFactAttribute()
|
|
{
|
|
if (!Enabled)
|
|
{
|
|
Skip = $"Set {EnableVariableName}=1 to run live LDAP tests.";
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether live LDAP tests are enabled.</summary>
|
|
public static bool Enabled => IntegrationTestEnvironment.IsEnabled(EnableVariableName);
|
|
}
|