Files
jellyfin/tests/Jellyfin.MediaEncoding.Tests/Encoder/ApplePlatformHelperTests.cs
2026-06-15 21:20:06 +02:00

19 lines
454 B
C#

using System;
using System.Runtime.Versioning;
using MediaBrowser.MediaEncoding.Encoder;
using Xunit;
namespace Jellyfin.MediaEncoding.Tests;
[SupportedOSPlatform("macos")]
public class ApplePlatformHelperTests
{
[Fact]
public void GetSysctlValue_CpuBrand_NotEmpty()
{
Assert.SkipUnless(OperatingSystem.IsMacOS(), "macOS-only test");
Assert.NotEmpty(ApplePlatformHelper.GetSysctlValue("machdep.cpu.brand_string"));
}
}