text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Xml.Schema
{
using System;
using System.ComponentModel;
using System.Xml.Serialization;... | DnlHarvey/corefx | src/System.Private.Xml/src/System/Xml/Schema/FacetChecker.cs | https://github.com/DnlHarvey/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/Schema/FacetChecker.cs | ghcode:00175:e974f9400c80 | mit | codeparrot/github-code | e974f9400c800969b788db24d885c86fd89b5618893af0c71a024685f95c6ac2 | 0.82 | testing_debugging_repair_refactoring | 13,245 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Composition;
using System.Diagnostics;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalys... | MatthieuMEZIL/roslyn | src/VisualStudio/Core/Def/Implementation/ProjectSystem/MetadataReferences/VisualStudioMetadataReferenceProviderServiceFactory.cs | https://github.com/MatthieuMEZIL/roslyn/blob/HEAD/src/VisualStudio/Core/Def/Implementation/ProjectSystem/MetadataReferences/VisualStudioMetadataReferenceProviderServiceFactory.cs | ghcode:00175:445c44aa1ebe | apache-2.0 | codeparrot/github-code | 445c44aa1ebe605ce8235564d7a779973569cc68fca1d3ecc1ec706090cb8285 | 0.75 | testing_debugging_repair_refactoring | 237 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using System.Text;
using Xunit;
namespace System.Security.Cryptography.Encoding.Tests
{
public class AsnEncodedDataTests
{
[Fact]
... | fffej/corefx | src/System.Security.Cryptography.Encoding/tests/AsnEncodedData.cs | https://github.com/fffej/corefx/blob/HEAD/src/System.Security.Cryptography.Encoding/tests/AsnEncodedData.cs | ghcode:00175:85681c3d6b86 | mit | codeparrot/github-code | 85681c3d6b863e47d9213daf283c3b61d6858b1ba9437749f2199f09b3fb118f | 0.95 | testing_debugging_repair_refactoring | 870 | false | 2026-07-17 |
namespace Flux.Test
{
using System.IO;
using System.Text;
using Xunit;
public class RequestLineParserTest
{
[Fact]
public void ParsesRequestLine()
{
const string method = "GET";
const string uri = "/foo/bar";
const string vers... | markrendle/Flux | src/Flux.Test/RequestLineParserTest.cs | https://github.com/markrendle/Flux/blob/HEAD/src/Flux.Test/RequestLineParserTest.cs | ghcode:00175:30b4d7a1b6b3 | mit | codeparrot/github-code | 30b4d7a1b6b3cd4009f4bc180cdd9fd20b1b73f74faf81c775a48cd751f3d149 | 0.6 | testing_debugging_repair_refactoring | 147 | false | 2026-07-17 |
using System.Linq;
using Backend.Fx.Patterns.Authorization;
using Backend.Fx.Tests.BuildingBlocks;
using Xunit;
using Xunit.Abstractions;
namespace Backend.Fx.Tests.Patterns.Authorization
{
public class TheDenyAllImplementation : TestWithLogging
{
private readonly IAggregateAuthorization<TheAggregateRo... | marcwittke/Backend.Fx | tests/Backend.Fx.Tests/Patterns/Authorization/TheDenyAllImplementation.cs | https://github.com/marcwittke/Backend.Fx/blob/HEAD/tests/Backend.Fx.Tests/Patterns/Authorization/TheDenyAllImplementation.cs | ghcode:00175:ede3cfc87c6a | mit | codeparrot/github-code | ede3cfc87c6a4716ea7af3b7f46e13be3eaf2d95f0014da35b7fa28863b952cc | 0.75 | testing_debugging_repair_refactoring | 264 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AllReady.Areas.Admin.Features.Campaigns;
using AllReady.Models;
using AllReady.UnitTest.Features.Campaigns;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace AllReady.UnitTest.Areas.Admin.Features.Campaigns
{... | shawnwildermuth/allReady | AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Campaigns/DeleteCampaignCommandHandlerTests.cs | https://github.com/shawnwildermuth/allReady/blob/HEAD/AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Campaigns/DeleteCampaignCommandHandlerTests.cs | ghcode:00175:193f13d1418d | mit | codeparrot/github-code | 193f13d1418d96daebbed325c4c75adbe46477d8e35e1065cb7f59386402b892 | 0.75 | testing_debugging_repair_refactoring | 522 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SFA.DAS.ProviderApprenticeshipsService.Application.Queries.GetProviderRelationshipsWithPermission;
using SFA.DAS.ProviderRelationships.Api.Client;
using SFA.DAS.ProviderRelationships.Types.Dt... | SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Application.UnitTests/Queries/GetProviderRelationshipsWithPermission/WhenIGetProviderRelationshipsWithPermission.cs | https://github.com/SkillsFundingAgency/das-providerapprenticeshipsservice/blob/HEAD/src/SFA.DAS.ProviderApprenticeshipsService.Application.UnitTests/Queries/GetProviderRelationshipsWithPermission/WhenIGetProviderRelationshipsWithPermission.cs | ghcode:00175:7e76588ca74d | mit | codeparrot/github-code | 7e76588ca74d6c947d38c3d64a8fc57fec7a6b2ffc571d3b5344274197008ee8 | 0.85 | testing_debugging_repair_refactoring | 629 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Should;
using MicroMapper.QueryableExtensions;
using Xunit;
namespace MicroMapper.UnitTests.Query
{
public class SourceInjectedQuery : AutoMapperSpecBase
{
readonly Source[] _source = ne... | mwpowellhtx/MicroMapper | src/UnitTests/Query/SourceInjectedQuery.cs | https://github.com/mwpowellhtx/MicroMapper/blob/HEAD/src/UnitTests/Query/SourceInjectedQuery.cs | ghcode:00175:02f49512c401 | mit | codeparrot/github-code | 02f49512c401b4e8304da3bd7fb6fff65c837706b4f5a54d7cb36d4b744a99fc | 0.85 | testing_debugging_repair_refactoring | 2,480 | false | 2026-07-17 |
using Xunit;
using Dotnet.Script.DependencyModel.Environment;
using Dotnet.Script.Shared.Tests;
using Xunit.Abstractions;
namespace Dotnet.Script.Desktop.Tests
{
[Collection("IntegrationTests")]
public class InteractiveRunnerTests : InteractiveRunnerTestsBase
{
public InteractiveRunnerTests(ITestO... | filipw/dotnet-script | src/Dotnet.Script.Desktop.Tests/InteractiveRunnerTests.cs | https://github.com/filipw/dotnet-script/blob/HEAD/src/Dotnet.Script.Desktop.Tests/InteractiveRunnerTests.cs | ghcode:00175:64fa64068ccf | mit | codeparrot/github-code | 64fa64068ccf3442545e3563bf0709273de0d196c1546493dd840c6f58a817d3 | 0.75 | testing_debugging_repair_refactoring | 78 | false | 2026-07-17 |
using AD.OpenXml.Markdown;
using JetBrains.Annotations;
using Xunit;
namespace AD.OpenXml.Tests
{
[PublicAPI]
public class MarkdownVisitorTest
{
[Theory]
[InlineData(" # Heading 1", "# Heading 1", "Heading 1", "<h1>Heading 1</h1>")]
[InlineData(" # Heading 1", "# Headi... | austindrenski/AD.OpenXml | test/AD.OpenXml.Tests/MarkdownVisitorTest.cs | https://github.com/austindrenski/AD.OpenXml/blob/HEAD/test/AD.OpenXml.Tests/MarkdownVisitorTest.cs | ghcode:00175:9604e0afda9b | mit | codeparrot/github-code | 9604e0afda9b1709eaee740a5a9b46a99a7c2b99388cad4f4b87e42126314718 | 0.6 | testing_debugging_repair_refactoring | 1,028 | false | 2026-07-17 |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | Squidex/squidex | backend/tests/Squidex.Domain.Apps.Entities.Tests/Comments/DomainObject/CommentsGrainTests.cs | https://github.com/Squidex/squidex/blob/HEAD/backend/tests/Squidex.Domain.Apps.Entities.Tests/Comments/DomainObject/CommentsGrainTests.cs | ghcode:00175:21b35c867959 | mit | codeparrot/github-code | 21b35c867959f7fae75377d4fa4de5640a59fb914527a04386c4ba9470f4cf8d | 0.95 | testing_debugging_repair_refactoring | 1,178 | false | 2026-07-17 |
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PrtgAPI.Tests.UnitTests.TreeNodes;
namespace PrtgAPI.Tests.UnitTests.Support.TestResponses
{
class SensorDeepNestingScenario : SensorDuplicateGroupScenario
{
public SensorDeepNestingScenario()
{
probe = ne... | lordmilko/PrtgAPI | src/PrtgAPI.Tests.UnitTests/Support/TestResponses/RecursiveRequest/Sensor/SensorDeepNestingScenario.cs | https://github.com/lordmilko/PrtgAPI/blob/HEAD/src/PrtgAPI.Tests.UnitTests/Support/TestResponses/RecursiveRequest/Sensor/SensorDeepNestingScenario.cs | ghcode:00175:a5e8797c4692 | mit | codeparrot/github-code | a5e8797c469203c68cc10712612222d8b71ab3adda4b6788f51fdaaa7ddd27df | 0.85 | testing_debugging_repair_refactoring | 1,042 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Objects.Get.Users.Json.Reader
{
using FluentAssertions;
using System;
using System.Threading.Tasks;
using TestUtils;
using Traits;
using TraktApiSharp.Enums;
using TraktApiSharp.Objects.Get.Users.Json.Reader;
using Xunit;
[Category("Objects.Get.Users.J... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Get/Users/Json/Reader/UserCommentObjectJsonReader/UserCommentObjectJsonReader_List_Stream_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Objects/Get/Users/Json/Reader/UserCommentObjectJsonReader/UserCommentObjectJsonReader_List_Stream_Tests.cs | ghcode:00175:c160a89c3525 | mit | codeparrot/github-code | c160a89c35256b3448409b9d57e5dabcfb786294a9c6f35d554079ee7e0e6179 | 0.85 | testing_debugging_repair_refactoring | 6,506 | false | 2026-07-17 |
using System;
enum E { }
interface I { }
class C<T1, T2, T3, T4, T5, T6>
where T2 : class
where T3 : struct
where T4 : new()
where T5 : I
where T6 : C<T1, T2, T3, T4, T5, T6>
{
object x1;
dynamic x2;
ValueType x3;
int x4;
IComparable<int> x5;
Enum x6;
E x7;
int? x8;
T1 x... | github/codeql | csharp/ql/test/library-tests/conversion/boxing/Boxing.cs | https://github.com/github/codeql/blob/HEAD/csharp/ql/test/library-tests/conversion/boxing/Boxing.cs | ghcode:00175:b3fe41521ee2 | mit | codeparrot/github-code | b3fe41521ee2454f6cfe5dd164cfa5895426240bc66a3b582b50d91a99b513da | 0.95 | testing_debugging_repair_refactoring | 304 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Linq;
using MathNet.Numerics.LinearAlgebra;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NeuralLogic.Genetics;
namespace NeuralLogicTest
{
[TestClass]
public class MatrixRecombinationTest
{
[TestMethod]
public void TestThatRe... | Sylwekqaz/BraitenbergVehicle | NeuralLogicTest/MatrixRecombinationTest.cs | https://github.com/Sylwekqaz/BraitenbergVehicle/blob/HEAD/NeuralLogicTest/MatrixRecombinationTest.cs | ghcode:00175:fe601bb8dfde | mit | codeparrot/github-code | fe601bb8dfde9edd72775b62381ffcbd0ba4a65f80903621e3aa4f43e76db71f | 0.6 | testing_debugging_repair_refactoring | 579 | false | 2026-07-17 |
using System;
using System.Net.Http;
using Flurl.Http.Configuration;
namespace Flurl.Http.Testing
{
/// <summary>
/// IHttpClientFactory implementation used to fake and record calls in tests.
/// </summary>
public class TestHttpClientFactory : DefaultHttpClientFactory
{
/// <summary>
/// Creates an instance ... | tmenier/Flurl | src/Flurl.Http/Testing/TestHttpClientFactory.cs | https://github.com/tmenier/Flurl/blob/HEAD/src/Flurl.Http/Testing/TestHttpClientFactory.cs | ghcode:00175:3539d9a54bbc | mit | codeparrot/github-code | 3539d9a54bbc35a4188600219ed26970ac28d1119528cac38666a6a69f9cb335 | 0.85 | testing_debugging_repair_refactoring | 130 | false | 2026-07-17 |
namespace IntergalacticTravel.Tests.Factory.ResourcesFactory
{
using System;
using IntergalacticTravel.Factory;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class GetResources_Should
{
[DataTestMethod]
[DataRow("create resources gold(20) silv... | stoyanov7/TelerikAcademy | ProgrammingWithC#/04.UnitTesting/Exams/IntergalacticTravel/IntergalacticTravel.Tests/Factory/ResourcesFactory/GetResources_Should.cs | https://github.com/stoyanov7/TelerikAcademy/blob/HEAD/ProgrammingWithC#/04.UnitTesting/Exams/IntergalacticTravel/IntergalacticTravel.Tests/Factory/ResourcesFactory/GetResources_Should.cs | ghcode:00175:f495f2c0ee7c | mit | codeparrot/github-code | f495f2c0ee7c17e650cba0d129bfadf1abdb879b628153eed34fa97dfcccde70 | 0.85 | testing_debugging_repair_refactoring | 807 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Net;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using X... | ume05rw/Xb.Core | TestsXb.Core/Xb/Net/HttpXmlTest.cs | https://github.com/ume05rw/Xb.Core/blob/HEAD/TestsXb.Core/Xb/Net/HttpXmlTest.cs | ghcode:00175:06522b73abac | mit | codeparrot/github-code | 06522b73abacd63dcf56206c59c6dabd107cd37b902abb338f0e01e1db55b7bd | 0.85 | testing_debugging_repair_refactoring | 11,550 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Alpha.BusinessLogic.Repositories;
using Alpha.Infrastructure.ViewModels;
using System.Linq;
using System.Threading.Tasks;
using System.Collections.Generic;
namespace Alpha.Tests.BusinessLogic {
[TestClass]
public class PublisherRepUnitTests {
... | lukecahill/alpha | Alpha.Tests.BusinessLogic/PublisherRepUnitTests.cs | https://github.com/lukecahill/alpha/blob/HEAD/Alpha.Tests.BusinessLogic/PublisherRepUnitTests.cs | ghcode:00175:b7449cfb5efa | mit | codeparrot/github-code | b7449cfb5efab3a470f72cebd66a8d6fe626ae258db6102b6dd1eafc0a93dbe3 | 0.75 | testing_debugging_repair_refactoring | 221 | false | 2026-07-17 |
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MvcJsonBootstrapMenu;
namespace Tests
{
[TestClass]
public class ConfigTests
{
[TestMethod]
public void ShouldLoadConfigWithSubmenu()
{
const string menuConfig = @"[
{
""text"": ""Help"",
""submenus"":... | mrchief/JsonBootstrapMenu | Tests/ConfigTests.cs | https://github.com/mrchief/JsonBootstrapMenu/blob/HEAD/Tests/ConfigTests.cs | ghcode:00175:189a4700bc72 | mit | codeparrot/github-code | 189a4700bc7207169b78f5961cb2eb4ea4f527ad8e43d82c5e1efedb1ef6d662 | 0.75 | testing_debugging_repair_refactoring | 201 | false | 2026-07-17 |
using System;
using AssemblyToProcess;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Moq.AutoMock;
namespace AutoDI.Tests
{
[TestClass]
public class InheritanceTests
{
[TestMethod]
public void CanFillDependenciesBeforeBaseConstructorInvocation()
{
... | Keboo/AutoDI | Tests/Shared/InheritanceTests.cs | https://github.com/Keboo/AutoDI/blob/HEAD/Tests/Shared/InheritanceTests.cs | ghcode:00175:74daf5548aca | mit | codeparrot/github-code | 74daf5548acaa1e05fd52f948601f949f35bb231bcc48bab902a80ccaeebb844 | 0.75 | testing_debugging_repair_refactoring | 200 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.IO;
using NUnit.Framework;
using NUnit.Framework.Internal;
namespace Scripty.MsBuild.Tests
{
[TestFixture]
public class ScriptyTaskFixture
{
static readonly string SolutionFilePath = Path.GetFullPath($"{AppDomain.CurrentDomain.BaseDirectory}/../... | daveaglick/Scripty | src/Scripty.MsBuild.Tests/ScriptyTaskFixture.cs | https://github.com/daveaglick/Scripty/blob/HEAD/src/Scripty.MsBuild.Tests/ScriptyTaskFixture.cs | ghcode:00175:1554410ad1e5 | mit | codeparrot/github-code | 1554410ad1e515b072338bd96fc4e8d05bed38975ec3a0f59969f929aa4e35b1 | 0.6 | testing_debugging_repair_refactoring | 549 | false | 2026-07-17 |
using Sundial.Core.Tests.BaseClasses;
using Xunit;
namespace Sundial.Core.Tests
{
public class ProfilerTests : TestingDirectoryFixture
{
[Fact]
public void Creation()
{
var TestObject = new Profiler("TestName");
Assert.NotNull(TestObject);
}
... | JaCraig/Sundial | Sundial.Core.Tests/ProfilerTests.cs | https://github.com/JaCraig/Sundial/blob/HEAD/Sundial.Core.Tests/ProfilerTests.cs | ghcode:00175:38f4193f07a9 | mit | codeparrot/github-code | 38f4193f07a97cb24daf40fbdd357be4ca689aeeeebdaef3e464c063e0654774 | 0.75 | testing_debugging_repair_refactoring | 289 | false | 2026-07-17 |
namespace AutoEquality.Tests
{
using System;
using AutoEquality.Tests.HelperClasses;
using Ploeh.AutoFixture.Xunit2;
using Shouldly;
using Xunit;
public class PropertyComparerTests
{
public class WithTests
{
[Theory]
[InlineAutoData]
[Tra... | whortleberrybearer/AutoEquality | AutoEquality/AutoEquality/AutoEquality.Tests/PropertyComparerTests.cs | https://github.com/whortleberrybearer/AutoEquality/blob/HEAD/AutoEquality/AutoEquality/AutoEquality.Tests/PropertyComparerTests.cs | ghcode:00175:2f2b1ef0c184 | mit | codeparrot/github-code | 2f2b1ef0c1849dcae46c048976fbda46af06e38c7eb44fc188133a6917da1e83 | 0.75 | testing_debugging_repair_refactoring | 1,114 | false | 2026-07-17 |
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WebTools.MicrosoftOffice.AddinHo... | alexanderkozlenko/oads | src/WebTools.MicrosoftOffice.AddinHost.IntegrationTests/RequestFilteringMiddlewareTests.cs | https://github.com/alexanderkozlenko/oads/blob/HEAD/src/WebTools.MicrosoftOffice.AddinHost.IntegrationTests/RequestFilteringMiddlewareTests.cs | ghcode:00175:ca1a71839701 | mit | codeparrot/github-code | ca1a71839701cff92f2868605fd12e697ef8489e9acb0f804b943f989feaca79 | 0.75 | testing_debugging_repair_refactoring | 246 | false | 2026-07-17 |
using System;
using GeneticSharp.Domain.Terminations;
using NUnit.Framework;
using Rhino.Mocks;
using TestSharp;
namespace GeneticSharp.Domain.UnitTests.Terminations
{
[TestFixture()]
[Category("Terminations")]
public class TerminationBaseTest
{
[Test()]
public void HasReached_NullGe... | dfxglr/GeneticSharp | src/GeneticSharp.Domain.UnitTests/Terminations/TerminationBaseTest.cs | https://github.com/dfxglr/GeneticSharp/blob/HEAD/src/GeneticSharp.Domain.UnitTests/Terminations/TerminationBaseTest.cs | ghcode:00175:2a504e90fb49 | mit | codeparrot/github-code | 2a504e90fb490bc9a8c2a915a311bb82eac8de9de595a3b5f48f65e63d22ff09 | 0.6 | testing_debugging_repair_refactoring | 118 | false | 2026-07-17 |
namespace Catel.Test.Data
{
using System.Collections.ObjectModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using Catel.Data;
using NUnit.Framework;
[TestFixture]
public class ModelBaseTest
{
#region Fields
#if !NETFX... | blebougge/Catel | src/Catel.Test/Catel.Test.Shared/Data/ModelBaseTest.cs | https://github.com/blebougge/Catel/blob/HEAD/src/Catel.Test/Catel.Test.Shared/Data/ModelBaseTest.cs | ghcode:00175:b350e4246d95 | mit | codeparrot/github-code | b350e4246d9523f9121ee181538d661e97f7fdaa29410b6c541c7c02d7bf4871 | 0.85 | testing_debugging_repair_refactoring | 5,782 | false | 2026-07-17 |
using System;
using System.IO;
using FluentAssertions;
using Hanssens.Net;
using Hanssens.Net.Helpers;
using Microsoft.VisualStudio.TestPlatform.Utilities.Helpers;
using Xunit;
namespace LocalStorageTests
{
public class LocalStorageConfigurationTests
{
[Fact(DisplayName = "LocalStorage should not be i... | hanssens/localstorage-for-dotnet | LocalStorage.Tests/LocalStorageConfigurationTests.cs | https://github.com/hanssens/localstorage-for-dotnet/blob/HEAD/LocalStorage.Tests/LocalStorageConfigurationTests.cs | ghcode:00175:70248f71822f | mit | codeparrot/github-code | 70248f71822f1b55893180ad72f00f569136d857933af7117b7146fd157c32b1 | 0.85 | testing_debugging_repair_refactoring | 460 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Recipes.DbConnector.Models;
using Recipes.ModelWithLookup;
namespace Recipes.DbConnector.ModelWithLookup
{
[TestClass]
public class ModelWithLookupComplexTests : ModelWithLookupComplexTests<EmployeeComplex>
{
protected override IModelWithLo... | Grauenwolf/DotNet-ORM-Cookbook | ORM Cookbook/Recipes.DbConnector/ModelWithLookup/ModelWithLookupComplexTests.cs | https://github.com/Grauenwolf/DotNet-ORM-Cookbook/blob/HEAD/ORM Cookbook/Recipes.DbConnector/ModelWithLookup/ModelWithLookupComplexTests.cs | ghcode:00175:db1009e4b168 | unlicense | codeparrot/github-code | db1009e4b16807ec34ea762703e6e0e106a39e20f9b60e40881302578b130e8a | 0.68 | testing_debugging_repair_refactoring | 86 | false | 2026-07-17 |
using System;
using System.Linq;
using NetGore.Extensions;
using NUnit.Framework;
using SFML.Graphics;
namespace NetGore.Tests.NetGore
{
[TestFixture]
public class Vector2Tests
{
#region Unit tests
[Test]
public void AbsTest()
{
for (var x = -10; x < 10; x++)
... | LAGIdiot/NetGore | NetGore.Tests/NetGore/Vector2Tests.cs | https://github.com/LAGIdiot/NetGore/blob/HEAD/NetGore.Tests/NetGore/Vector2Tests.cs | ghcode:00175:5d92dbd2347d | unlicense | codeparrot/github-code | 5d92dbd2347d0f2ba100c6db0e8b89038ec959101930a64480a5a3a45331ebb2 | 0.68 | testing_debugging_repair_refactoring | 1,430 | false | 2026-07-17 |
using Fan.Settings;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Moq;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
namespace Fan.Tests.C... | FanrayMedia/Fanray | test/Fan.Tests/Caching/CacheExtensionsTest.cs | https://github.com/FanrayMedia/Fanray/blob/HEAD/test/Fan.Tests/Caching/CacheExtensionsTest.cs | ghcode:00175:bf2d5bef7075 | apache-2.0 | codeparrot/github-code | bf2d5bef707516eef45a4b0f107c35faa174ed012f085b3b534f169c6ef8cec4 | 0.7 | testing_debugging_repair_refactoring | 1,318 | false | 2026-07-17 |
// Copyright Dirk Lemstra (https://github.com/dlemstra/line-bot-sdk-dotnet).
// Licensed under the Apache License, Version 2.0.
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Line.Tests
{
public partial class RichMenuBoundsTests
{
[TestClass]
public class TheValid... | dlemstra/line-bot-sdk-dotnet | tests/LineBot.Tests/RichMenu/RichMenuBoundsTests/TheValidateMethod.cs | https://github.com/dlemstra/line-bot-sdk-dotnet/blob/HEAD/tests/LineBot.Tests/RichMenu/RichMenuBoundsTests/TheValidateMethod.cs | ghcode:00175:cc204a1620bb | apache-2.0 | codeparrot/github-code | cc204a1620bbf6bbfa1305f0667857a6d77419bd65f79aa910059e9bf52e37e7 | 0.85 | testing_debugging_repair_refactoring | 200 | false | 2026-07-17 |
/********************************************************************************************
Copyright (c) Microsoft Corporation
All rights reserved.
Microsoft Public License:
This license governs use of the accompanying software. If you use the software, you
accept this license. If you do not accept the licens... | X-Sharp/XSharpPublic | VisualStudio/UnitTests/BaseTest.cs | https://github.com/X-Sharp/XSharpPublic/blob/HEAD/VisualStudio/UnitTests/BaseTest.cs | ghcode:00175:53d42b5945f2 | apache-2.0 | codeparrot/github-code | 53d42b5945f2ab272cf64acd12cb18eef21804c4f1f0bcbf0bb46103da6b542e | 0.85 | testing_debugging_repair_refactoring | 1,090 | false | 2026-07-17 |
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2017 Yang Chen (cy2000@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of the License at
http... | etechi/ServiceFramework | Projects/Server/Test/SF.UT.Core/Core/Interception/FeatureTest.cs | https://github.com/etechi/ServiceFramework/blob/HEAD/Projects/Server/Test/SF.UT.Core/Core/Interception/FeatureTest.cs | ghcode:00175:3a7521184ea7 | apache-2.0 | codeparrot/github-code | 3a7521184ea77691f503dd778cd5b8b10b613e57083a392cadaa1d7d68a7cb62 | 0.95 | testing_debugging_repair_refactoring | 455 | false | 2026-07-17 |
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tests.Framework;
using System.Net;
namespace Tests.ClientConcepts.Connection
{
public class CustomConnections
{
/**== Custom Connec... | adam-mccoy/elasticsearch-net | src/Tests/ClientConcepts/Connection/CustomConnections.cs | https://github.com/adam-mccoy/elasticsearch-net/blob/HEAD/src/Tests/ClientConcepts/Connection/CustomConnections.cs | ghcode:00175:172f42a0a445 | apache-2.0 | codeparrot/github-code | 172f42a0a445065d93245ccd28b73c5c3d7c3b04cac5794c72b9c45a54c7936a | 0.95 | testing_debugging_repair_refactoring | 652 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CoSales.BLL;
using CoSales.Model.DomainModel;
using CoSales.Model.PO;
namespace CoSales.Tests
{
/// <summary>
/// SellUnitTest 的摘要说明
/// </summary>
[TestClass]
public class ... | imwyw/.net | Src/CoSales/trunk/CoSales.Tests/SellUnitTest.cs | https://github.com/imwyw/.net/blob/HEAD/Src/CoSales/trunk/CoSales.Tests/SellUnitTest.cs | ghcode:00175:59981e2d2763 | apache-2.0 | codeparrot/github-code | 59981e2d2763e472c374eecdd00a6ce86d0355dec47526b7c18de43a0cd1c93f | 0.85 | testing_debugging_repair_refactoring | 955 | false | 2026-07-17 |
namespace JSLintNet.Console.Specifications
{
using System;
using System.Linq;
using JSLintNet.Console.Abstractions;
using JSLintNet.QualityTools;
using JSLintNet.QualityTools.Expectations;
using Moq;
using Xunit;
public class ConsoleWriterUnit
{
public class Write : UnitBas... | ajayanandgit/jslintnet | specifications/JSLintNet.Console.Specifications/ConsoleWriterUnit.cs | https://github.com/ajayanandgit/jslintnet/blob/HEAD/specifications/JSLintNet.Console.Specifications/ConsoleWriterUnit.cs | ghcode:00175:6a36c033955c | apache-2.0 | codeparrot/github-code | 6a36c033955c434ed420b5ebfdf9a26cf73e110a3ab4ce8a2cae0896eeed3306 | 0.75 | testing_debugging_repair_refactoring | 839 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Kiss.Data;
using System.Data;
using System.Configuration;
namespace Kiss.DataTest.Driver
{
[TestFixture]
public class TestMySqlDriver
{
private const string dbName = "mysql";
... | sdming/Kiss.Data | src/Kiss.DataTest/Driver/TestMySql.cs | https://github.com/sdming/Kiss.Data/blob/HEAD/src/Kiss.DataTest/Driver/TestMySql.cs | ghcode:00175:ca5bacba580e | apache-2.0 | codeparrot/github-code | ca5bacba580e3bdd911173c163f96aecd1dda42c8f227f18881bb73b53b5aa48 | 0.85 | testing_debugging_repair_refactoring | 3,529 | false | 2026-07-17 |
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System.IO;
using System.Linq;
using System.Reactive.Linq;
using Elastic.Transport.Extensions;
using Tests.C... | elastic/elasticsearch-net | tests/Tests/Document/Multiple/Bulk/BulkResponseParstingTests.cs | https://github.com/elastic/elasticsearch-net/blob/HEAD/tests/Tests/Document/Multiple/Bulk/BulkResponseParstingTests.cs | ghcode:00175:97b7345da724 | apache-2.0 | codeparrot/github-code | 97b7345da724b3a100d9434640cbd0e8be0862c89949219d0eb321590c724729 | 0.95 | testing_debugging_repair_refactoring | 378 | false | 2026-07-17 |
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
// Unless requi... | NakedObjectsGroup/NakedObjectsFramework | NakedFramework/NakedFramework.Metamodel.Test/Facet/RangeFacetTest.cs | https://github.com/NakedObjectsGroup/NakedObjectsFramework/blob/HEAD/NakedFramework/NakedFramework.Metamodel.Test/Facet/RangeFacetTest.cs | ghcode:00175:b5ae34d64227 | apache-2.0 | codeparrot/github-code | b5ae34d64227574488a82b90651c215d7df6529db9ba6e2d5efb1a8db0959122 | 0.85 | testing_debugging_repair_refactoring | 374 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Google.Common.Geometry;
using NUnit.Framework;
namespace S2Geometry.Tests
{
public class S2LoopTest : GeometryTestCase
{
// A stripe that slightly over-wraps the equator.
p... | onovotny/s2-geometry-library-csharp | S2Geometry.Tests/S2LoopTest.cs | https://github.com/onovotny/s2-geometry-library-csharp/blob/HEAD/S2Geometry.Tests/S2LoopTest.cs | ghcode:00175:54f7c8d2c480 | apache-2.0 | codeparrot/github-code | 54f7c8d2c480045f53b84a6d926fc6da3d85bf810669b8fce69b82370acb8bad | 0.7 | testing_debugging_repair_refactoring | 6,655 | false | 2026-07-17 |
#region license
// ==============================================================================
// Microsoft patterns & practices Enterprise Library
// Semantic Logging Application Block
// ==============================================================================
// Copyright © Microsoft Corporation. All right... | IharYakimush/EntLibLight | Blocks/SemanticLogging/Tests/SemanticLogging.Tests/Etw/ConsoleSinkElementFixture.cs | https://github.com/IharYakimush/EntLibLight/blob/HEAD/Blocks/SemanticLogging/Tests/SemanticLogging.Tests/Etw/ConsoleSinkElementFixture.cs | ghcode:00175:eef89ffdc327 | apache-2.0 | codeparrot/github-code | eef89ffdc327411ae5b4c30bd8eee5712bcbe69e70d66c38d34b4283baa65924 | 0.95 | testing_debugging_repair_refactoring | 464 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace Freya.WFEngine.Tests
{
public class ThenAttribute : TestAttribute
{
}
}
| modulexcite/Freya.WFEngine | Freya.WFEngine.Tests/ThenAttribute.cs | https://github.com/modulexcite/Freya.WFEngine/blob/HEAD/Freya.WFEngine.Tests/ThenAttribute.cs | ghcode:00175:945290a114bd | apache-2.0 | codeparrot/github-code | 945290a114bd6340c63ad1c7f986c6765ec721660e846373d90027a8c943db51 | 0.75 | testing_debugging_repair_refactoring | 43 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using System.Text.RegularExpressions;
namespace AGXUnity.Utils
{
/// <summary>
/// Extensions to Unity Engine GameObject class.
/// </summary>
public static partial class Extensions
{
/// <summary>
/// Add child to... | Algoryx/agxUnity | AGXUnity/Utils/Extensions.cs | https://github.com/Algoryx/agxUnity/blob/HEAD/AGXUnity/Utils/Extensions.cs | ghcode:00175:98c815e06429 | apache-2.0 | codeparrot/github-code | 98c815e064292cce01435d9d4cf7adc320a90c219a1ffaa17dfd94f9973769b2 | 0.7 | testing_debugging_repair_refactoring | 5,178 | false | 2026-07-17 |
using DotNetUtils.Converters;
using NUnit.Framework;
namespace DotNetUtils.tests.Converters.ByteConverter
{
[TestFixture]
public class ToByteFromDecimal
{
#region non nullable
[Test]
public void ToByte_FromMinDecimal()
{
Assert.AreEqual(decimal.MinValue.ToByte(d... | jornfilho/dot-net-utils | DotNetUtils.tests/Converters/ByteConverter/ToByteFromDecimal.cs | https://github.com/jornfilho/dot-net-utils/blob/HEAD/DotNetUtils.tests/Converters/ByteConverter/ToByteFromDecimal.cs | ghcode:00175:fc7c359da1ad | apache-2.0 | codeparrot/github-code | fc7c359da1ad54332a293884c5689b1c998f637458ccea32b8d938d8a8c4e998 | 0.6 | testing_debugging_repair_refactoring | 618 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | jianghaolu/azure-powershell | src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/RemoveBatchPoolCommandTests.cs | https://github.com/jianghaolu/azure-powershell/blob/HEAD/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/RemoveBatchPoolCommandTests.cs | ghcode:00175:819a342d97c8 | apache-2.0 | codeparrot/github-code | 819a342d97c84beb38938d6c7b6bd55973fad9c02b56945cef7c82fdb60ddeff | 0.85 | testing_debugging_repair_refactoring | 506 | false | 2026-07-17 |
/*
| Version 10.1.84
| Copyright 2013 Esri
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or... | Esri/route-planner-csharp | RoutePlanner_DeveloperTools/Source/ArcLogistics/Routing/Violation.cs | https://github.com/Esri/route-planner-csharp/blob/HEAD/RoutePlanner_DeveloperTools/Source/ArcLogistics/Routing/Violation.cs | ghcode:00175:a687ccc9a152 | apache-2.0 | codeparrot/github-code | a687ccc9a152608386c1ff097e66767d18db15d1182706c6c09f432f95c00520 | 0.7 | testing_debugging_repair_refactoring | 866 | false | 2026-07-17 |
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//... | alanch-ms/PTVS | Python/Product/Analysis/Analyzer/FunctionScope.cs | https://github.com/alanch-ms/PTVS/blob/HEAD/Python/Product/Analysis/Analyzer/FunctionScope.cs | ghcode:00175:7da94471e7bf | apache-2.0 | codeparrot/github-code | 7da94471e7bfb43e7f9599c91f5760d8ba7d6493d64aaef29c1dc1cfc068058b | 0.85 | testing_debugging_repair_refactoring | 1,750 | false | 2026-07-17 |
using System.Collections.Concurrent;
using System.Collections.Generic;
using WampSharp.V1.Core.Contracts;
namespace WampSharp.Tests.Rpc.Helpers
{
public class MockWampRpcCallManager<TMessage>
{
private readonly IDictionary<string, MockWampRpcCallDetails<TMessage>> mCallIdToCallDetails =
new... | jmptrader/WampSharp | src/net45/Tests/WampSharp.Tests/Rpc/Helpers/MockWampRpcCallManager.cs | https://github.com/jmptrader/WampSharp/blob/HEAD/src/net45/Tests/WampSharp.Tests/Rpc/Helpers/MockWampRpcCallManager.cs | ghcode:00175:8fe3a19a9aec | bsd-2-clause | codeparrot/github-code | 8fe3a19a9aec12e9f45477fe74264c96f1212f4acb93035e6adaadce3d1f07f3 | 0.78 | testing_debugging_repair_refactoring | 576 | false | 2026-07-17 |
using Xunit;
namespace Jint.Tests.Test262.BuiltIns
{
public class DecodeUriTests : Test262Test
{
[Theory(DisplayName = "built-ins\\decodeURI")]
[MemberData(nameof(SourceFiles), "built-ins\\decodeURI", false)]
[MemberData(nameof(SourceFiles), "built-ins\\decodeURI", true, Skip = "Skipped... | sebastienros/jint | Jint.Tests.Test262/BuiltIns/DecodeUriTests.cs | https://github.com/sebastienros/jint/blob/HEAD/Jint.Tests.Test262/BuiltIns/DecodeUriTests.cs | ghcode:00175:bbda0c3a3516 | bsd-2-clause | codeparrot/github-code | bbda0c3a351626d190695073da8ab60b6c7e13cf9278ed5015980507bbf98fbd | 0.68 | testing_debugging_repair_refactoring | 108 | false | 2026-07-17 |
namespace Shuttle.Esb.Unity.Tests.Duplicate
{
public class DuplicateMessageHandler1 : IMessageHandler<DuplicateCommand>
{
public void ProcessMessage(IHandlerContext<DuplicateCommand> context)
{
}
}
} | Shuttle/shuttle-esb-unity | Shuttle.Esb.Unity.Tests.Duplicate/DuplicateMessageHandler1.cs | https://github.com/Shuttle/shuttle-esb-unity/blob/HEAD/Shuttle.Esb.Unity.Tests.Duplicate/DuplicateMessageHandler1.cs | ghcode:00175:07c2bf6c6a9a | bsd-3-clause | codeparrot/github-code | 07c2bf6c6a9acc71173e913f3755d8e21a42987114606f73fab2ab3c62596331 | 0.75 | testing_debugging_repair_refactoring | 46 | false | 2026-07-17 |
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using Moq.Language;
using Moq.Language.Flow;
namespace Moq.Protected
{
/// <summary>
... | ocoanet/moq4 | src/Moq/Protected/IProtectedMock.cs | https://github.com/ocoanet/moq4/blob/HEAD/src/Moq/Protected/IProtectedMock.cs | ghcode:00175:43a5312db3b1 | bsd-3-clause | codeparrot/github-code | 43a5312db3b1dd84c782817217e21775c7405f875fd7a0d209dacc44ed5eb83b | 0.7 | testing_debugging_repair_refactoring | 3,051 | false | 2026-07-17 |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain ... | alaendle/rhino-mocks | Rhino.Mocks.Tests/Impl/RecordMockStateTests.cs | https://github.com/alaendle/rhino-mocks/blob/HEAD/Rhino.Mocks.Tests/Impl/RecordMockStateTests.cs | ghcode:00175:503c83ed86a7 | bsd-3-clause | codeparrot/github-code | 503c83ed86a7c204d2962dedeb0cb35ce6a95c9c2f466245a11e74a4181511ef | 0.85 | testing_debugging_repair_refactoring | 1,801 | false | 2026-07-17 |
// MsdnDocumenter.cs - a MSDN-like documenter
// Copyright (C) 2003 Don Kackman
// Parts copyright 2001 Kral Ferch, Jason Diamond
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either ve... | hmah/boo | tools/ndoc/src/Documenter/NativeHtmlHelp2/Compiler/HxReg.cs | https://github.com/hmah/boo/blob/HEAD/tools/ndoc/src/Documenter/NativeHtmlHelp2/Compiler/HxReg.cs | ghcode:00175:d0c157fb2b86 | bsd-3-clause | codeparrot/github-code | d0c157fb2b8620f898013ab089d5bcfb130bfb76777625468a16f14cdb707c13 | 0.95 | testing_debugging_repair_refactoring | 1,300 | false | 2026-07-17 |
using System.Linq;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Engines;
using Melanchall.DryWetMidi.Common;
using Melanchall.DryWetMidi.Core;
using Melanchall.DryWetMidi.Interaction;
using NUnit.Framework;
namespace Melanchall.DryWetMidi.Benchmarks.Interaction
{
[TestFixture]
public class ChordsMa... | melanchall/drymidi | DryWetMidi.Benchmarks/Interaction/ChordsManager/ChordsManagingUtilities/ChordsManagingUtilitiesGetChordsBenchmarks.cs | https://github.com/melanchall/drymidi/blob/HEAD/DryWetMidi.Benchmarks/Interaction/ChordsManager/ChordsManagingUtilities/ChordsManagingUtilitiesGetChordsBenchmarks.cs | ghcode:00175:ed62c5db61f7 | mit | codeparrot/github-code | ed62c5db61f790eda17fc52d136f6bf07a572a1ca528383b3b517fb6a4a5506d | 0.75 | testing_debugging_repair_refactoring | 466 | false | 2026-07-17 |
using System;
using System.Linq;
using Bender.Collections;
using Bender.Nodes;
using Bender.Extensions;
using NSubstitute;
using NUnit.Framework;
using Should;
namespace Tests.Nodes
{
[TestFixture]
public class NodeMapperTests
{
private readonly Func<INode, INode, bool> _noMatch = (s... | raidenyn/Bender | src/Tests/Nodes/NodeMapperTests.cs | https://github.com/raidenyn/Bender/blob/HEAD/src/Tests/Nodes/NodeMapperTests.cs | ghcode:00175:39dda2a19626 | mit | codeparrot/github-code | 39dda2a196267984b0c08fb7d8dcf04e54c3f2a408e3d0ddc966efecb27fff9f | 0.85 | testing_debugging_repair_refactoring | 3,331 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading;
using Azure.AI.Translation.Document.Tests;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.AI.Translation.Document.Samples
{
... | ayeletshpigelman/azure-sdk-for-net | sdk/translation/Azure.AI.Translation.Document/tests/samples/Sample_DocumentStatus.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/translation/Azure.AI.Translation.Document/tests/samples/Sample_DocumentStatus.cs | ghcode:00175:4d1726a14d01 | mit | codeparrot/github-code | 4d1726a14d015a8161eb79e2f8cdba52767cca4c863244fc962710200c33fa87 | 0.85 | testing_debugging_repair_refactoring | 395 | false | 2026-07-17 |
// Author(s): Sébastien Lorion
using NLight.IO.Text;
using NUnit.Framework;
using System;
namespace NLight.Tests.Unit.IO.Text.DelimitedRecordReaderTests
{
public static class DelimitedRecordReaderTestData
{
public const string SampleData1 = @"
# This is a comment
""First Name"", ""Last Name"", Address, City, Sta... | slorion/nlight | src/NLight.Tests.Unit/IO/Text/DelimitedRecordReaderTests/DelimitedRecordReaderTestData.cs | https://github.com/slorion/nlight/blob/HEAD/src/NLight.Tests.Unit/IO/Text/DelimitedRecordReaderTests/DelimitedRecordReaderTestData.cs | ghcode:00175:286461e7adb2 | mit | codeparrot/github-code | 286461e7adb2fcaea8f367ee34af27e8fbd6351f02ae55ad1747c138853fb6f7 | 0.75 | testing_debugging_repair_refactoring | 1,549 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using GraphQL.StarWars.Types;
using GraphQL.Types;
using GraphQL.Types.Relay;
using Shouldly;
using Xunit;
namespace GraphQL.Tests.Types
{
public class SchemaTests
{
[Fact]
public void registers_interfaces_when_not_used_in_field... | graphql-dotnet/graphql-dotnet | src/GraphQL.Tests/Types/SchemaTests.cs | https://github.com/graphql-dotnet/graphql-dotnet/blob/HEAD/src/GraphQL.Tests/Types/SchemaTests.cs | ghcode:00175:a54acecf215f | mit | codeparrot/github-code | a54acecf215f31ecbfe126ae5520a1da5d71fafc2288b16a18dfd2f18d99cd7f | 0.75 | testing_debugging_repair_refactoring | 2,891 | false | 2026-07-17 |
using System;
using System.IO;
using System.Threading;
using NUnit.Framework;
using Tailviewer.Api;
namespace Tailviewer.Core.Tests.Sources.Filtered
{
[TestFixture]
public sealed class FilteredLogSourceTest2
: AbstractTaskSchedulerLogFileTest
{
#region Overrides of AbstractTaskSchedulerLogFileTest
protected... | Kittyfisto/SharpTail | src/Tailviewer.Core.Tests/Sources/Filtered/FilteredLogSourceTest2.cs | https://github.com/Kittyfisto/SharpTail/blob/HEAD/src/Tailviewer.Core.Tests/Sources/Filtered/FilteredLogSourceTest2.cs | ghcode:00175:3389f9a48f68 | mit | codeparrot/github-code | 3389f9a48f6845acba326b6a358ad2cb6dbc412800fe982234d62b208359eb49 | 0.6 | testing_debugging_repair_refactoring | 129 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeA... | paulvanbrenk/roslyn | src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_IBinaryOperatorExpression.cs | https://github.com/paulvanbrenk/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_IBinaryOperatorExpression.cs | ghcode:00175:86907b24383e | apache-2.0 | codeparrot/github-code | 86907b24383e85e11398ddfbf166077cc3b341c1bf8272ecf295567c6d0204b6 | 0.75 | testing_debugging_repair_refactoring | 72,990 | false | 2026-07-17 |
// Visual Studio Shared Project
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//
... | Microsoft/VisualStudio-TestHost | VSTestUtilities/MockVsTests/MockVsUIShell.cs | https://github.com/Microsoft/VisualStudio-TestHost/blob/HEAD/VSTestUtilities/MockVsTests/MockVsUIShell.cs | ghcode:00175:dd22ca4896a9 | apache-2.0 | codeparrot/github-code | dd22ca4896a9ef77867ed202bf200a2cc0de7fa6426b33059e9abde5e0910812 | 0.7 | testing_debugging_repair_refactoring | 2,245 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | pivotal-jbarrett/geode-native | clicache/integration-test/DupListenerN.cs | https://github.com/pivotal-jbarrett/geode-native/blob/HEAD/clicache/integration-test/DupListenerN.cs | ghcode:00175:eeafa5ff6ab6 | apache-2.0 | codeparrot/github-code | eeafa5ff6ab6076eca3277ce51e15795726f54f761ff1df210f6b9ee1a9e8ccc | 0.85 | testing_debugging_repair_refactoring | 791 | false | 2026-07-17 |
using System.IO;
using Castle.MonoRail.Framework;
using Castle.MonoRail.Framework.Test;
using Castle.MonoRail.Pdf.Tests.Stubs;
using Castle.MonoRail.TestSupport;
using NUnit.Framework;
namespace Castle.MonoRail.Pdf.Tests
{
[TestFixture]
public class FormatReturnBinderTests: BaseControllerTest
{
... | SparkViewEngine/spark | src/Castle.Monorail.Pdf.Tests/FormatReturnBinderTests.cs | https://github.com/SparkViewEngine/spark/blob/HEAD/src/Castle.Monorail.Pdf.Tests/FormatReturnBinderTests.cs | ghcode:00175:65223f65ea3b | apache-2.0 | codeparrot/github-code | 65223f65ea3b08a22d51c2e6eb3e1b47dbc2bcda0251e3716a0b4592ecce5fba | 0.75 | testing_debugging_repair_refactoring | 722 | false | 2026-07-17 |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading;
namespace Cosmos.VS.DebugEngine.Engine.Impl
{
public delegate void Operation();
// This object represents the debugger poll thread to the managed portion of the engine. It allows the engine to perform
// operations on the poll t... | jp2masa/Cosmos | source/Cosmos.VS.DebugEngine/Engine.Impl/OperationThread.cs | https://github.com/jp2masa/Cosmos/blob/HEAD/source/Cosmos.VS.DebugEngine/Engine.Impl/OperationThread.cs | ghcode:00175:99724ce9fc65 | bsd-3-clause | codeparrot/github-code | 99724ce9fc65750458b7830377e2ec1e451233261ab8f1d4358b8ee2ab88f428 | 0.85 | testing_debugging_repair_refactoring | 868 | false | 2026-07-17 |
// ---------------------------------------------------------------------------------
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
//
// The MIT License (MIT)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated document... | jmservera/connectthedots | Devices/Gateways/GatewayService/Tests/CoreTest/Utils/Loader/Loader.cs | https://github.com/jmservera/connectthedots/blob/HEAD/Devices/Gateways/GatewayService/Tests/CoreTest/Utils/Loader/Loader.cs | ghcode:00175:c06f11d1e63f | mit | codeparrot/github-code | c06f11d1e63fa21db108f48cba9523a4ce64e6481cc8aa2fe3df994cdc745ca8 | 0.95 | testing_debugging_repair_refactoring | 2,010 | false | 2026-07-17 |
using System;
using System.Linq;
using Examine;
using Lucene.Net.Store;
using NUnit.Framework;
using UmbracoExamine;
namespace Umbraco.Tests.UmbracoExamine
{
[TestFixture]
public class EventsTest : ExamineBaseTest
{
[Test]
public void Events_Ignoring_Node()
{
//change the parent id so that ... | neilgaietto/Umbraco-CMS | src/Umbraco.Tests/UmbracoExamine/EventsTest.cs | https://github.com/neilgaietto/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/UmbracoExamine/EventsTest.cs | ghcode:00175:9c70f55d4123 | mit | codeparrot/github-code | 9c70f55d412369e5c7ad0de3c29930c03611f2a3d2c249e4c2c4f67481014a95 | 0.85 | testing_debugging_repair_refactoring | 419 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Screens.Edit.Compose.Components;
using osu.Game.Screens.Edit.Compose.C... | 2yangk23/osu | osu.Game.Tests/Visual/Editor/TestSceneTimelineTickDisplay.cs | https://github.com/2yangk23/osu/blob/HEAD/osu.Game.Tests/Visual/Editor/TestSceneTimelineTickDisplay.cs | ghcode:00175:c83b8595d5e9 | mit | codeparrot/github-code | c83b8595d5e91812321beebddc792e9eab2811d120881b7327a7179cc0ec81ff | 0.75 | testing_debugging_repair_refactoring | 199 | false | 2026-07-17 |
/*
* MindTouch Dream - a distributed REST framework
* Copyright (C) 2006-2014 MindTouch, Inc.
* www.mindtouch.com oss@mindtouch.com
*
* For community documentation and downloads visit mindtouch.com;
* please review the licensing section.
*
* Licensed under the Apache License, Version 2.0 (the "Licens... | PeteE/DReAM | src/tests/DreamMisc/StreamUtilTests.cs | https://github.com/PeteE/DReAM/blob/HEAD/src/tests/DreamMisc/StreamUtilTests.cs | ghcode:00175:7b0a59ea1074 | apache-2.0 | codeparrot/github-code | 7b0a59ea107461b0caf85aa5ab7c485be249edc1d56066a21b3508edc59002f5 | 0.85 | testing_debugging_repair_refactoring | 973 | false | 2026-07-17 |
using GitTfs.Commands;
using GitTfs.Core;
using LibGit2Sharp;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace GitTfs.Test.Core
{
public class RemoteConfigConverterTests : BaseTest
{
public class DumpTests : BaseTest
{
private readonly RemoteConfigConvert... | PKRoma/git-tfs | src/GitTfsTest/Core/RemoteConfigConverterTests.cs | https://github.com/PKRoma/git-tfs/blob/HEAD/src/GitTfsTest/Core/RemoteConfigConverterTests.cs | ghcode:00175:6956a203ee83 | apache-2.0 | codeparrot/github-code | 6956a203ee83f3bc030fe6f3b74ba9540cab7a7ec6a40744ca718011421b62ab | 0.85 | testing_debugging_repair_refactoring | 2,455 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Emit;
using Microsoft.CodeAnalysis.CSharp.Symbols;
u... | dsplaisted/roslyn | src/Compilers/CSharp/Test/Symbol/Symbols/ExtensionMethodTests.cs | https://github.com/dsplaisted/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/Symbols/ExtensionMethodTests.cs | ghcode:00175:86b3a54a35c3 | apache-2.0 | codeparrot/github-code | 86b3a54a35c3a9151a455b2d53945c0ceca5f091e64150f42745139e9d93948e | 0.82 | testing_debugging_repair_refactoring | 30,625 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Roslyn.Utilities;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
namespace Microso... | DavidKarlas/roslyn | src/Compilers/Core/Portable/DiagnosticAnalyzer/SuppressMessageAttributeState.TargetSymbolResolver.cs | https://github.com/DavidKarlas/roslyn/blob/HEAD/src/Compilers/Core/Portable/DiagnosticAnalyzer/SuppressMessageAttributeState.TargetSymbolResolver.cs | ghcode:00175:41278a765109 | apache-2.0 | codeparrot/github-code | 41278a7651094ceb7c3d8f53994fc0178551bc8516e29c2bbef5bb04237cd56b | 0.85 | testing_debugging_repair_refactoring | 5,260 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Roslyn.Test.Utili... | physhi/roslyn | src/Features/LanguageServer/ProtocolUnitTests/Formatting/FormatDocumentOnTypeTests.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Features/LanguageServer/ProtocolUnitTests/Formatting/FormatDocumentOnTypeTests.cs | ghcode:00175:32275469eecd | apache-2.0 | codeparrot/github-code | 32275469eecda63965cf81fda0060094f2f156cc313b43279a7dd75484e769bb | 0.85 | testing_debugging_repair_refactoring | 710 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Microsoft.VisualStudio.TestTools.UnitTesting
{
public sealed class DeploymentItemAttribute : Attribute
{
public string Path { get; private set; }
public string OutputDirectory { get; private set; }
... | acken/AutoTest.Net | src/AutoTest.TestRunner/Plugins/Microsoft.VisualStudio.QualityTools.UnitTestFramework/DeploymentItemAttribute.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/src/AutoTest.TestRunner/Plugins/Microsoft.VisualStudio.QualityTools.UnitTestFramework/DeploymentItemAttribute.cs | ghcode:00175:7ba345f38cba | mit | codeparrot/github-code | 7ba345f38cba9cf6dce39b214bccf1ceacba4cf6da58aba731546167a39c63f7 | 0.75 | testing_debugging_repair_refactoring | 114 | false | 2026-07-17 |
// <copyright file="EventFilterTestBase.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//-------------------------------------------------------------------... | willieferguson/akka.net | src/core/Akka.TestKit.Tests/Xunit2/TestEventListenerTests/EventFilterTestBase.cs | https://github.com/willieferguson/akka.net/blob/HEAD/src/core/Akka.TestKit.Tests/Xunit2/TestEventListenerTests/EventFilterTestBase.cs | ghcode:00175:a830223e4ee4 | apache-2.0 | codeparrot/github-code | a830223e4ee4207c0d5573890ad5f5ec43687c669fd75684ea94d6c3c5555b11 | 0.85 | testing_debugging_repair_refactoring | 505 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | mayurid/azure-powershell | src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/ServiceComponentsTests.cs | https://github.com/mayurid/azure-powershell/blob/HEAD/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/ServiceComponentsTests.cs | ghcode:00175:b2fa5fe93acc | apache-2.0 | codeparrot/github-code | b2fa5fe93acce89aec42f8c07415e7ec769fdfe92ff4066e0d88521eb39ed7bd | 0.85 | testing_debugging_repair_refactoring | 2,665 | false | 2026-07-17 |
namespace Nancy.Tests.Unit.Routing
{
using System.Collections.Generic;
using System.Linq;
using FakeItEasy;
using Nancy.Culture;
using Nancy.Routing;
using Nancy.Tests.Fakes;
using Xunit;
public class RouteCacheFixture
{
private readonly INancyModuleCatalo... | jchannon/Nancy | test/Nancy.Tests/Unit/Routing/RouteCacheFixture.cs | https://github.com/jchannon/Nancy/blob/HEAD/test/Nancy.Tests/Unit/Routing/RouteCacheFixture.cs | ghcode:00175:e96a6e084f95 | mit | codeparrot/github-code | e96a6e084f95bd62cb0df32d954a12b54c483729b5a8aad5c4250d81e34ca144 | 0.85 | testing_debugging_repair_refactoring | 1,537 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Nest.Tests.MockData.Domain;
namespace Nest.Tests.Unit.Search.Rescoring
{
[TestFixture]
public class RescoreTests : BaseJsonTests
{
[Test]
public void RescoreSerializes()
{
var s = new SearchDescriptor<Elasticse... | Grastveit/NEST | src/Tests/Nest.Tests.Unit/Search/Rescoring/RescoreTests.cs | https://github.com/Grastveit/NEST/blob/HEAD/src/Tests/Nest.Tests.Unit/Search/Rescoring/RescoreTests.cs | ghcode:00175:69d85fe852fc | apache-2.0 | codeparrot/github-code | 69d85fe852fc26bf4bb0405bf57105194967803271eddf353afbf4533f082530 | 0.85 | testing_debugging_repair_refactoring | 190 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.Win32.SafeHandles;
using System.Diagnostics;
using System.Threading;
namespace System.Net.Sockets
... | Ermiar/corefx | src/Common/src/System/Net/SafeCloseSocket.cs | https://github.com/Ermiar/corefx/blob/HEAD/src/Common/src/System/Net/SafeCloseSocket.cs | ghcode:00175:99e78df3c20a | mit | codeparrot/github-code | 99e78df3c20a8f81ef5c3cebafaade7593b67a66cc83a27fe82d5b77000cd772 | 0.95 | testing_debugging_repair_refactoring | 1,685 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
namespace System.Xml
{
// Contains information associated with the document type decl... | shahid-pk/corefx | src/System.Xml.XmlDocument/src/System/Xml/Dom/XmlDocumentType.cs | https://github.com/shahid-pk/corefx/blob/HEAD/src/System.Xml.XmlDocument/src/System/Xml/Dom/XmlDocumentType.cs | ghcode:00175:46ff730dea30 | mit | codeparrot/github-code | 46ff730dea30a6efbe3d18ebf2aa7122e3265c6f8ca09d5d64fc0fa9f46ae454 | 0.95 | testing_debugging_repair_refactoring | 745 | false | 2026-07-17 |
using System.Runtime.CompilerServices;
using QUnit;
namespace CoreLib.TestScript.Runtime.CompilerServices {
[TestFixture]
public class RuntimeHelpersTests {
class C {
public override int GetHashCode() {
return 0;
}
}
[Test]
public void GetHashCodeWoksForObject() {
object o1 = new object(), o2 ... | cezary12/SaltarelleCompiler | Runtime/CoreLib.TestScript/Runtime/CompilerServices/RuntimeHelpersTests.cs | https://github.com/cezary12/SaltarelleCompiler/blob/HEAD/Runtime/CoreLib.TestScript/Runtime/CompilerServices/RuntimeHelpersTests.cs | ghcode:00175:fb93f042783f | apache-2.0 | codeparrot/github-code | fb93f042783fc7660366adc5e191db9e7e91cf074cd277ffd50395d9db94cc4a | 0.75 | testing_debugging_repair_refactoring | 225 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// See the LICENSE file in the project root for more information.
//
// System.Configuration.ConnectionStringSettingsTest.cs - Unit tests
// for System.Configuration.ConnectionStringSettings
//
// Author:
// Chris Toshok <toshok@ximian.com>
//
// Copyri... | ViktorHofer/corefx | src/System.Configuration.ConfigurationManager/tests/Mono/ConnectionStringSettingsTest.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Configuration.ConfigurationManager/tests/Mono/ConnectionStringSettingsTest.cs | ghcode:00175:ad3e8cb7cffb | mit | codeparrot/github-code | ad3e8cb7cffbd5d624fcce50ad13649ea2078937e835d21baa811cdb16f871cf | 0.95 | testing_debugging_repair_refactoring | 802 | false | 2026-07-17 |
namespace LinqToImap.Tests.Imap.Commands
{
using LinqToImap.Imap.Commands;
using NUnit.Framework;
using Should;
[TestFixture]
public class LogoutTests
{
[Test]
public void Should_create_a_valid_command()
{
new Logout().ToString().ShouldEqual("LOGO... | mmozuras/LinqToImap | src/LinqToImap.Tests/Imap/Commands/LogoutTests.cs | https://github.com/mmozuras/LinqToImap/blob/HEAD/src/LinqToImap.Tests/Imap/Commands/LogoutTests.cs | ghcode:00175:8d72058b58ec | mit | codeparrot/github-code | 8d72058b58ec341fee8fab06f8ca8f96c276c8daf7a8786902cc169ccf4e4915 | 0.75 | testing_debugging_repair_refactoring | 76 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using ByteSizeLib;
using Flurl.Http;
using NLog;
namespace BlackVueDownloader.PCL
{
public static class BlackVueDownloaderExtensions
{
public const string FileSeparator = "\r... | morrisonbrett/BlackVueDownloader | BlackVueDownloader.PCL/BlackVueDownloader.cs | https://github.com/morrisonbrett/BlackVueDownloader/blob/HEAD/BlackVueDownloader.PCL/BlackVueDownloader.cs | ghcode:00175:af890a987ca5 | mit | codeparrot/github-code | af890a987ca5b80d7a406fd22d33bae2552a188a12dff5276b17d593f28a7929 | 0.7 | testing_debugging_repair_refactoring | 2,042 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Shouldly;
namespace Cumulus.CodingConventionTests
{
[TestFixture]
public class CoreInfrastructureInterfaces
{
[Test]
[TestCaseSource(typeof (TestCases))]
public... | AtmosphereMessaging/Cumulus | src/Tests/Cumulus.CodingConventionTests/CoreInfrastructureInterfaces.cs | https://github.com/AtmosphereMessaging/Cumulus/blob/HEAD/src/Tests/Cumulus.CodingConventionTests/CoreInfrastructureInterfaces.cs | ghcode:00175:99fd7e0d13df | mit | codeparrot/github-code | 99fd7e0d13df6967f9ff9926cc64035d236736d0abf1b9e746aa0d2d536d9b0a | 0.85 | testing_debugging_repair_refactoring | 170 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using LeEulerizer_Library;
namespace LeEulerizer_Library_Test
{
[TestClass]
public class Problem1Test
{
private static TraceSource _source = new TraceSource("test-results");
private Problem1 cut;
... | wimplash/LeEulerizer | LeEulerizer-Library-Test/Problem1Test.cs | https://github.com/wimplash/LeEulerizer/blob/HEAD/LeEulerizer-Library-Test/Problem1Test.cs | ghcode:00175:429866533fb7 | mit | codeparrot/github-code | 429866533fb76415366137e7e7606e7a0cd72be31f4891a6c49cce705ed00ed6 | 0.6 | testing_debugging_repair_refactoring | 366 | false | 2026-07-17 |
// * **************************************************************************
// * Copyright (c) Clinton Sheppard <sheppard@cs.unm.edu>
// *
// * This source code is subject to terms and conditions of the MIT License.
// * A copy of the license can be found in the License.txt file
// * at the root of this distributi... | handcraftsman/Afluistic | src/Afluistic.Tests/Commands/AddTaxReportingCategoryTests.cs | https://github.com/handcraftsman/Afluistic/blob/HEAD/src/Afluistic.Tests/Commands/AddTaxReportingCategoryTests.cs | ghcode:00175:0553f2fcdf2c | mit | codeparrot/github-code | 0553f2fcdf2c0272a281b40d153f4f2505d78384f3bd087b24d0535eea2b2b28 | 0.85 | testing_debugging_repair_refactoring | 1,119 | false | 2026-07-17 |
// <copyright file="DelimitedWriterTest.cs" company="Fubar Development Junker">
// Copyright (c) 2016 Fubar Development Junker. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
using System;
using System.IO;
using BeanIO.Stream.... | FubarDevelopment/beanio-net | test/FubarDev.BeanIO.Test/Stream/DelimitedWriterTest.cs | https://github.com/FubarDevelopment/beanio-net/blob/HEAD/test/FubarDev.BeanIO.Test/Stream/DelimitedWriterTest.cs | ghcode:00175:17677848e89e | mit | codeparrot/github-code | 17677848e89efbf378eee0f716fe04608b9103c75d5018c6ad00d010a4c77dfe | 0.85 | testing_debugging_repair_refactoring | 678 | false | 2026-07-17 |
using System;
using Xunit;
namespace csmacnz.Coveralls.Tests
{
public class CoverageFileBuilderTests
{
[Fact]
public void CanConstructBuilder()
{
var builder = CreateFileBuilder();
Assert.NotNull(builder);
}
[Fact]
public void NewBuilder... | VPashkov/coveralls.net | src/csmacnz.Coveralls.Tests/CoverageFileBuilderTests.cs | https://github.com/VPashkov/coveralls.net/blob/HEAD/src/csmacnz.Coveralls.Tests/CoverageFileBuilderTests.cs | ghcode:00175:0eb9bfa3758a | mit | codeparrot/github-code | 0eb9bfa3758ab892e7891a81f513734375e27cff3f5727f4a65e74f47dfc5308 | 0.75 | testing_debugging_repair_refactoring | 386 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Highway.Data.Contexts;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Highway.Data.Tests.InMemory
{
[TestClass]
public class InMemoryDataContextReferenceByIdTests
{
private InMemoryDat... | daveh551/Highway.Data | Highway/test/Highway.Data.Tests/InMemory/InMemoryDataContextReferenceByIdTests.cs | https://github.com/daveh551/Highway.Data/blob/HEAD/Highway/test/Highway.Data.Tests/InMemory/InMemoryDataContextReferenceByIdTests.cs | ghcode:00175:742f3f57b3b7 | mit | codeparrot/github-code | 742f3f57b3b717353b0b7135fe791be91ebf1fe7e8d58b5f3f477904c1257835 | 0.85 | testing_debugging_repair_refactoring | 275 | false | 2026-07-17 |
using System;
using System.Diagnostics;
namespace HackerRank.Algorithms.Search
{
/// <summary>
/// Sherlock and Array Challenge
/// Description: Find Element where the sum of elements on its left is equal to the sum of elements on its right
/// Problem Statement: https://www.hackerrank.com/challenges/s... | joshimoo/Challenges | HackerRank/Algorithms/Search/SherlockAndArray.cs | https://github.com/joshimoo/Challenges/blob/HEAD/HackerRank/Algorithms/Search/SherlockAndArray.cs | ghcode:00175:fb8ed70bce5d | mit | codeparrot/github-code | fb8ed70bce5d337cef7b2db300173b62a2dea0dbfd789f9a366b328124394d5f | 0.7 | testing_debugging_repair_refactoring | 525 | false | 2026-07-17 |
using Quobject.EngineIoClientDotNet.Modules;
using Quobject.EngineIoClientDotNet.Parser;
using Xunit;
namespace Quobject.EngineIoClientDotNet_Tests.ParserTests
{
public class DecodeTests
{
private const string PARSER_ERROR = "parser error";
[Fact]
public void DecodeBadFormat()
... | Quobject/EngineIoClientDotNet | Src/EngineIoClientDotNet.Tests/ParserTests/DecodeTests.cs | https://github.com/Quobject/EngineIoClientDotNet/blob/HEAD/Src/EngineIoClientDotNet.Tests/ParserTests/DecodeTests.cs | ghcode:00175:38b11cf0895d | mit | codeparrot/github-code | 38b11cf0895d421ff3c7e109d81ebe4548c05ef8461e368b8b3a37459707819b | 0.75 | testing_debugging_repair_refactoring | 475 | false | 2026-07-17 |
using System.IO;
using System.Linq;
using DEG.Emfluence.Models;
using DEG.ServiceCore.Helpers;
using FluentAssertions;
using NUnit.Framework;
namespace DEG.Emfluence.Tests
{
[TestFixture]
public class SaveContactErrorSerializationTests
{
private readonly SaveContactResponse _results;
... | degdigital/DEG.Emfluence | src/DEG.Emfluence.Tests/SaveContactErrorSerializationTests.cs | https://github.com/degdigital/DEG.Emfluence/blob/HEAD/src/DEG.Emfluence.Tests/SaveContactErrorSerializationTests.cs | ghcode:00175:3583bde161e3 | mit | codeparrot/github-code | 3583bde161e350fb574166dd2f5e72950ccf98d42634b2d09cb3beda3b52db98 | 0.75 | testing_debugging_repair_refactoring | 251 | false | 2026-07-17 |
using Einstein.DataAccess.Data;
using FluentAssertions;
using System.Reflection;
using Xunit;
namespace Einstein.DataAccess.Tests
{
public class ConstraintExceptionTests
{
[Fact]
public void Constraint_attribtue_handles_constraint_exceptions()
{
var constraintHandler = typeof(TestObject).GetCustomAttribute... | PaulWeakley/Einstein.DataAccess | Einstein.DataAccess.Tests/ConstraintExceptionTests.cs | https://github.com/PaulWeakley/Einstein.DataAccess/blob/HEAD/Einstein.DataAccess.Tests/ConstraintExceptionTests.cs | ghcode:00175:ffbbcb2c533d | mit | codeparrot/github-code | ffbbcb2c533dd7045f975c1584bc5683c0291e486b73c709a403d806b998e1d4 | 0.75 | testing_debugging_repair_refactoring | 207 | false | 2026-07-17 |
namespace Foat.Collections.Generic.Tests
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class SmallIntArrayTests
{
private const string Category = @"Foat\Collections\SmallIntArray";
[TestMethod]
[TestCategory(Category)]
publi... | afoat/Projects | Libraries/Foat/Collections.Tests/Generic/SmallIntArrayTests.cs | https://github.com/afoat/Projects/blob/HEAD/Libraries/Foat/Collections.Tests/Generic/SmallIntArrayTests.cs | ghcode:00175:f3420220c0f6 | mit | codeparrot/github-code | f3420220c0f62863019adfe35d91c826aea3db6e40074bb4ac5314cfb2f42950 | 0.75 | testing_debugging_repair_refactoring | 2,403 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
// Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histogram.
// Above is a histogram where width of each bar is 1, given height = [2,1,5,6,... | txchen/localleet | csharp/Q084_LargestRectangleinHistogram.cs | https://github.com/txchen/localleet/blob/HEAD/csharp/Q084_LargestRectangleinHistogram.cs | ghcode:00175:e934080f2f74 | mit | codeparrot/github-code | e934080f2f74bd8319dbc205e4c61a4f2cf6af8b5aa5f630d34062df33e42c05 | 0.7 | testing_debugging_repair_refactoring | 575 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Telegram.Bot.Args;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
using Telegram.Bot.Types.ReplyMarkups;
using Xunit.Abstractions;
using Xunit.Sdk;
namespace ... | TelegramBots/telegram.bot | test/Telegram.Bot.Tests.Integ/Framework/TestsFixture.cs | https://github.com/TelegramBots/telegram.bot/blob/HEAD/test/Telegram.Bot.Tests.Integ/Framework/TestsFixture.cs | ghcode:00175:623a614e9ec3 | mit | codeparrot/github-code | 623a614e9ec342220ea9437b0827b3a7f9215a6346469a5861442bf091b7441f | 0.85 | testing_debugging_repair_refactoring | 2,039 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
using System.Threading;
using System.Threading.Tasks;
using... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1413CSharp7UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1413CSharp7UnitTests.cs | ghcode:00175:9f1987409621 | mit | codeparrot/github-code | 9f19874096212d82dd1e33abf6ae8f0813618b38626402ca4e2d335452de4e42 | 0.75 | testing_debugging_repair_refactoring | 692 | false | 2026-07-17 |
using CharacterGen.CharacterClasses;
using CharacterGen.Domain.Tables;
using DnDGen.Core.Mappers.Collections;
using Ninject;
using NUnit.Framework;
namespace CharacterGen.Tests.Integration.Tables.Feats.Data.CharacterClasses
{
[TestFixture]
public class CrossClassFeatDataTests : TableTests
{
protec... | DnDGen/CharacterGen | CharacterGen.Tests.Integration.Tables/Feats/Data/CharacterClasses/CrossClassFeatDataTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Integration.Tables/Feats/Data/CharacterClasses/CrossClassFeatDataTests.cs | ghcode:00175:041b7ceec8fa | mit | codeparrot/github-code | 041b7ceec8faf56e9723a390f58cf2fbe797b3198ab9dc8470cfa23e1b5f504a | 0.75 | testing_debugging_repair_refactoring | 655 | false | 2026-07-17 |
using System.IO;
using Compost.InputOutput;
using NUnit.Framework;
namespace Compost.Tests.InputOutput
{
[TestFixture]
public class FileWrapperTests : WithFileSystemOperations
{
private const string TEXT = "asdfdkjdkdfj";
private static readonly string TestFile = Path.Combine(ROOT_TEST_DI... | josh-egan/Compost.NET | src/tests/Compost.Tests/InputOutput/FileWrapperTests.cs | https://github.com/josh-egan/Compost.NET/blob/HEAD/src/tests/Compost.Tests/InputOutput/FileWrapperTests.cs | ghcode:00175:2f99aedabe43 | mit | codeparrot/github-code | 2f99aedabe438d41ab7ceee7f358e72b5b338206fe4e1521fe00e82b4a4030e1 | 0.85 | testing_debugging_repair_refactoring | 1,003 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.