<commit_before>﻿namespace Tests.Tests.Facade
{
    using global::Tests.Handlers;
    using global::Tests.Tests.Common;
    using NUnit.Framework;
    using System;
    using System.Diagnostics;
    using System.IO;
    using System.Net.Http;
    using System.Net.Http.Extensions.Compression.Client;
    using System.Net.Http.Extensions.Compression.Core.Compressors;
    using System.Net.Http.Headers;
    using System.Reflection;
    using System.Threading;

    [TestFixture]
    public class WebHostTests : TestFixture
    {
        private Process iisProcess;

        [TestFixtureSetUp]
        public void Setup()
        {
            var thread = new Thread(this.StartIISExpress) { IsBackground = true };
            thread.Start();

            var client =
                new HttpClient(
                    new TraceMessageHandler(new ClientCompressionHandler(new GZipCompressor(), new DeflateCompressor())))
                {
                    BaseAddress = new Uri("http://localhost:55399")
                };

            client.DefaultRequestHeaders.AcceptEncoding.Add(new StringWithQualityHeaderValue("gzip"));
            client.DefaultRequestHeaders.AcceptEncoding.Add(new StringWithQualityHeaderValue("deflate"));

            this.Client = client;
        }

        [TestFixtureTearDown]
        public void Teardown()<commit_msg>Ignored iis express test<commit_after>﻿namespace Tests.Tests.Facade
{
    using global::Tests.Handlers;
    using global::Tests.Tests.Common;
    using NUnit.Framework;
    using System;
    using System.Diagnostics;
    using System.IO;
    using System.Net.Http;
    using System.Net.Http.Extensions.Compression.Client;
    using System.Net.Http.Extensions.Compression.Core.Compressors;
    using System.Net.Http.Headers;
    using System.Reflection;
    using System.Threading;

    [TestFixture]
    [Ignore]
    public class WebHostTests : TestFixture
    {
        private Process iisProcess;

        [TestFixtureSetUp]
        public void Setup()
        {
            var thread = new Thread(this.StartIISExpress) { IsBackground = true };
            thread.Start();

            var client =
                new HttpClient(
                    new TraceMessageHandler(new ClientCompressionHandler(new GZipCompressor(), new DeflateCompressor())))
                {
                    BaseAddress = new Uri("http://localhost:55399")
                };

            client.DefaultRequestHeaders.AcceptEncoding.Add(new StringWithQualityHeaderValue("gzip"));
            client.DefaultRequestHeaders.AcceptEncoding.Add(new StringWithQualityHeaderValue("deflate"));

            this.Client = client;
        }

        [TestFixtureTearDown]
        public void Teardown()
{'fraction_non_alphanumeric': 0.08937728937728938, 'fraction_numerical': 0.003663003663003663, 'mean_word_length': 2.3757725587144622, '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': '3615427', 'n_tokens_mistral': 739, 'n_tokens_neox': 702, 'n_words': 139}