<commit_before>﻿using Ploeh.AutoFixture.Xunit2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoMoq;
using Moq;
using Ploeh.AutoFixture.Kernel;
using System.Reflection;

namespace Tranquire.Tests
{
    public class DomainAutoDataAttribute : AutoDataAttribute
    {
        public DomainAutoDataAttribute() : base(new Fixture().Customize(new DomainCustomization()))
        {
        }
    }

    public class DomainCustomization : CompositeCustomization
    {
        public DomainCustomization()
            :base(
                 new ImmutableCollectionCustomization(),
                 new ActorCustomization(),
                 new AutoConfiguredMoqCustomization())
        {
        }
    }

    public class Ability1 { }
    public class Ability2 { }
    public class Ability3 { }

    public class ActorCustomization : ICustomization
    {
        public void Customize(IFixture fixture)<commit_msg>Add DomainInlineAutoData<commit_after>﻿using Ploeh.AutoFixture.Xunit2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoMoq;
using Moq;
using Ploeh.AutoFixture.Kernel;
using System.Reflection;

namespace Tranquire.Tests
{
    public class DomainAutoDataAttribute : AutoDataAttribute
    {
        public DomainAutoDataAttribute() : base(new Fixture().Customize(new DomainCustomization()))
        {
        }
    }

    public class DomainInlineAutoDataAttribute : CompositeDataAttribute
    {
        public DomainInlineAutoDataAttribute(params object[] args)
            : base(new InlineAutoDataAttribute(args), new AutoDataAttribute(new Fixture().Customize(new DomainCustomization())))
        {
        }
    }

    public class DomainCustomization : CompositeCustomization
    {
        public DomainCustomization()
            : base(
                 new ImmutableCollectionCustomization(),
                 new ActorCustomization(),
                 new AutoConfiguredMoqCustomization())
        {
        }
    }

    public class Ability1 { }
    public class Ability2 { }
    public class Ability3 { }

    public class ActorCustomization : ICustomization
    {
        public void Customize(IFixture fixture)
{'fraction_non_alphanumeric': 0.07429295061207261, 'fraction_numerical': 0.0033769523005487546, 'mean_word_length': 2.9303482587064678, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2971538', 'n_tokens_mistral': 650, 'n_tokens_neox': 630, 'n_words': 140}