public static void CreateWithDefaults() => OptionsTests.AssertOptions(new RockOptions(), OptimizationSetting.Release, CodeFileOption.None, SerializationOption.NotSupported, CachingOption.UseCache, AllowWarning.No, Directory.GetCurrentDirectory());
public static void CreateWithOptimizationLevelDebug() => OptionsTests.AssertOptions(new RockOptions(level: OptimizationSetting.Debug), OptimizationSetting.Debug, CodeFileOption.None, SerializationOption.NotSupported, CachingOption.UseCache, AllowWarning.No, Directory.GetCurrentDirectory());
public static void CreateWithCachingOptionsGenerateNewVersion() => OptionsTests.AssertOptions(new RockOptions(caching: CachingOption.GenerateNewVersion), OptimizationSetting.Release, CodeFileOption.None, SerializationOption.NotSupported, CachingOption.GenerateNewVersion, AllowWarning.No, Directory.GetCurrentDirectory());
public static void CreateWithCodeFileDirectory() => OptionsTests.AssertOptions(new RockOptions(codeFileDirectory: "directory"), OptimizationSetting.Release, CodeFileOption.None, SerializationOption.NotSupported, CachingOption.UseCache, AllowWarning.No, "directory");