1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-05 14:23:30 +01:00
bitwarden-server/test/Icons.Test/Resources/VerifyResources.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
470 B
C#
Raw Normal View History

using Xunit;
namespace Bit.Icons.Test.Resources;
2022-08-29 22:06:55 +02:00
public class VerifyResources
{
2022-08-29 22:06:55 +02:00
[Theory]
[InlineData("Bit.Icons.Resources.public_suffix_list.dat")]
public void Resources_FoundAndReadable(string resourceName)
{
var assembly = typeof(Program).Assembly;
using (var resource = assembly.GetManifestResourceStream(resourceName))
{
Assert.NotNull(resource);
Assert.True(resource.CanRead);
}
}
}