ContainerProfileTests.cs 509 B

12345678910111213141516171819
  1. using MediaBrowser.Model.Dlna;
  2. using Xunit;
  3. namespace Jellyfin.Model.Tests.Dlna
  4. {
  5. public class ContainerProfileTests
  6. {
  7. private readonly ContainerProfile _emptyContainerProfile = new ContainerProfile();
  8. [Theory]
  9. [InlineData(null)]
  10. [InlineData("")]
  11. [InlineData("mp4")]
  12. public void ContainsContainer_EmptyContainerProfile_True(string? containers)
  13. {
  14. Assert.True(_emptyContainerProfile.ContainsContainer(containers));
  15. }
  16. }
  17. }