mirror of
https://github.com/bitwarden/server.git
synced 2024-11-29 13:25:17 +01:00
231eb84e69
* Turn on ImplicitUsings * Fix formatting * Run linter
23 lines
727 B
C#
23 lines
727 B
C#
using AutoFixture;
|
|
using AutoFixture.Xunit2;
|
|
using Xunit;
|
|
using Xunit.Sdk;
|
|
|
|
namespace Bit.Test.Common.AutoFixture.Attributes
|
|
{
|
|
public class InlineCustomAutoDataAttribute : CompositeDataAttribute
|
|
{
|
|
public InlineCustomAutoDataAttribute(Type[] iCustomizationTypes, params object[] values) : base(new DataAttribute[] {
|
|
new InlineDataAttribute(values),
|
|
new CustomAutoDataAttribute(iCustomizationTypes)
|
|
})
|
|
{ }
|
|
|
|
public InlineCustomAutoDataAttribute(ICustomization[] customizations, params object[] values) : base(new DataAttribute[] {
|
|
new InlineDataAttribute(values),
|
|
new CustomAutoDataAttribute(customizations)
|
|
})
|
|
{ }
|
|
}
|
|
}
|