<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Hadouken.Impl.Http;
using Moq;
using Hadouken.Data;
using Hadouken.IO;
using System.Net;
using System.IO;
using WatiN.Core;
using Hadouken.Configuration;

namespace Hadouken.UnitTests.Http
{
    [TestFixture]
    public class HttpServerTests
    {
        [TestFixtureSetUp]
        public void Setup()
        {
            HdknConfig.ConfigManager = new MemoryConfigManager();
        }

        [Test]
        public void Can_start_and_stop_HTTP_server()
        {
            var kvs = new Mock<IKeyValueStore>();
            var fs = new Mock<IFileSystem>();

            var server = new DefaultHttpServer(kvs.Object, fs.Object);
            server.Start();
            server.Stop();
        }
    }
}<commit_msg>Removed WatiN from unit tests. It was unused.<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;

using Hadouken.Configuration;
using Hadouken.Data;
using Hadouken.Impl.Http;
using Hadouken.IO;

using Moq;
using NUnit.Framework;

namespace Hadouken.UnitTests.Http
{
    [TestFixture]
    public class HttpServerTests
    {
        [TestFixtureSetUp]
        public void Setup()
        {
            HdknConfig.ConfigManager = new MemoryConfigManager();
        }

        [Test]
        public void Can_start_and_stop_HTTP_server()
        {
            var kvs = new Mock<IKeyValueStore>();
            var fs = new Mock<IFileSystem>();

            var server = new DefaultHttpServer(kvs.Object, fs.Object);
            server.Start();
            server.Stop();
        }
    }
}
{'fraction_non_alphanumeric': 0.09545983701979045, 'fraction_numerical': 0.0, 'mean_word_length': 2.458752515090543, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2886347', 'n_tokens_mistral': 516, 'n_tokens_neox': 512, 'n_words': 121}