mirror of
https://github.com/bitwarden/server.git
synced 2024-12-02 13:53:23 +01:00
24 lines
738 B
C#
24 lines
738 B
C#
|
using System;
|
||
|
using Xunit;
|
||
|
using Xunit.Sdk;
|
||
|
using AutoFixture.Xunit2;
|
||
|
using AutoFixture;
|
||
|
|
||
|
namespace Bit.Core.Test.AutoFixture.Attributes
|
||
|
{
|
||
|
internal 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)
|
||
|
})
|
||
|
{ }
|
||
|
}
|
||
|
}
|