<commit_before>﻿// ReSharper disable InconsistentNaming

using System;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
using System.Web;

using Machine.Specifications;

using Microsoft.Practices.ServiceLocation;

using Rhino.Mocks;

namespace AspComet.Specifications
{
    [Subject("Handling HTTP requests")]
    public class synchronously : HttpHandlerScenario
    {
        static Exception exception;

        Because of =()=>
            exception = Catch.Exception(() => cometHttpHandler.ProcessRequest(null));

        It should_fail_to_process_the_request =()=> exception.ShouldNotBeNull();
    }

    [Subject("Handling HTTP requests")]
    public class asynchronously : HttpHandlerScenario
    {
        static IAsyncResult asyncResult;
<commit_msg>Updated specs<commit_after>﻿// ReSharper disable InconsistentNaming

using System;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
using System.Web;

using Machine.Specifications;

using Microsoft.Practices.ServiceLocation;

using Rhino.Mocks;

namespace AspComet.Specifications
{
    [Subject("Handling HTTP requests")]
    public class when_checking_for_reusability : HttpHandlerScenario
    {
        It should_not_be_reusable = () => cometHttpHandler.IsReusable.ShouldBeFalse();
    }

    [Subject("Handling HTTP requests")]
    public class synchronously : HttpHandlerScenario
    {
        static Exception exception;

        Because of =()=>
            exception = Catch.Exception(() => cometHttpHandler.ProcessRequest(null));

        It should_fail_to_process_the_request =()=> exception.ShouldNotBeNull();
    }

    [Subject("Handling HTTP requests")]
    public class asynchronously : HttpHandlerScenario
    {
        static IAsyncResult asyncResult;

{'fraction_non_alphanumeric': 0.08947664603263927, 'fraction_numerical': 0.0, 'mean_word_length': 4.0084507042253525, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, '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': '667758', 'n_tokens_mistral': 498, 'n_tokens_neox': 479, 'n_words': 111}