<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NSwag;
using Xunit;

namespace jab.Test
{
    public class ServiceTests
    {
        const string testDefinition = "samples/example.json";

        /// <summary>
        /// Require HTTPS support.
        /// </summary>
        /// <param name="service"></param>
        /// <param name="path"></param>
        /// <param name="method"></param>
        /// <param name="operation"></param>
        [Theory, ParameterisedClassData(typeof(ApiServices), testDefinition)]
        public void RequireHttps(
            SwaggerService service
        )
        {
            Assert.True(service.Schemes.Contains(SwaggerSchema.Https),
                $"{service.BaseUrl} does not support HTTPS");
        }
    }
}<commit_msg>Make partial.<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NSwag;
using Xunit;

namespace jab.Test
{
    public partial class ServiceTests
    {
        const string testDefinition = "samples/example.json";

        /// <summary>
        /// Require HTTPS support.
        /// </summary>
        /// <param name="service"></param>
        /// <param name="path"></param>
        /// <param name="method"></param>
        /// <param name="operation"></param>
        [Theory, ParameterisedClassData(typeof(ApiServices), testDefinition)]
        public void RequireHttps(
            SwaggerService service
        )
        {
            Assert.True(service.Schemes.Contains(SwaggerSchema.Https),
                $"{service.BaseUrl} does not support HTTPS");
        }
    }
}
{'fraction_non_alphanumeric': 0.1339907192575406, 'fraction_numerical': 0.0, 'mean_word_length': 2.2547169811320753, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '3281534', 'n_tokens_mistral': 475, 'n_tokens_neox': 469, 'n_words': 102}