mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-19 14:10:38 +01:00
Add regression test
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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"));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user