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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using Generators.Input;
namespace Generators.Output
{
public class TestMethodBodyWithNullCheck : TestMethodBody
{
public TestMethodBodyWithNullCheck(CanonicalDataCase canonicalDataCase, CanonicalData canonicalData) : base(canonicalDataCase, canonicalData)
{
AssertTemplateName = "As... | GKotfis/csharp | generators/Output/TestMethodBodyWithNullCheck.cs | https://github.com/GKotfis/csharp/blob/HEAD/generators/Output/TestMethodBodyWithNullCheck.cs | ghcode:00174:b8652cd3d46c | mit | codeparrot/github-code | b8652cd3d46c8a622d844aaca35045b76d9b379830f0673973cd405fb4d1055e | 0.75 | testing_debugging_repair_refactoring | 86 | false | 2026-07-17 |
using DnDGen.TreasureGen.Goods;
using DnDGen.TreasureGen.Tables;
using NUnit.Framework;
namespace DnDGen.TreasureGen.Tests.Integration.Tables.Goods.Levels
{
[TestFixture]
public class Level1GoodsTests : TypeAndAmountPercentileTests
{
protected override string tableName
{
get { ... | DnDGen/TreasureGen | DnDGen.TreasureGen.Tests.Integration.Tables/Goods/Levels/Level1GoodsTests.cs | https://github.com/DnDGen/TreasureGen/blob/HEAD/DnDGen.TreasureGen.Tests.Integration.Tables/Goods/Levels/Level1GoodsTests.cs | ghcode:00174:bccbe5630748 | mit | codeparrot/github-code | bccbe56307480f992fd69ac95a42c45518b902b35ee6950df07475d503ae9de3 | 0.75 | testing_debugging_repair_refactoring | 275 | false | 2026-07-17 |
namespace CurrencyRates.Tests.NbpCurrencyRates.Services.Entities
{
using CurrencyRates.NbpCurrencyRates.Services.Entities;
using NUnit.Framework;
[TestFixture]
public class CurrencyRateTest
{
[Test]
public void TestBuildFromXml()
{
const string Xml ... | Lc5/CurrencyRates | CurrencyRates.Tests/NbpCurrencyRates/Services/Entities/CurrencyRateTest.cs | https://github.com/Lc5/CurrencyRates/blob/HEAD/CurrencyRates.Tests/NbpCurrencyRates/Services/Entities/CurrencyRateTest.cs | ghcode:00174:24424ef26682 | mit | codeparrot/github-code | 24424ef266822305a490c4552c4d010db53c549364adb6530e86ecc7f0fe6013 | 0.6 | testing_debugging_repair_refactoring | 230 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using indice.Edi.Tests.Models;
using Xunit;
namespace indice.Edi.Tests
{
public class Edifact_ORDRSPTests
{
[Fact]
[Trait(Traits.Tag, "EDIFact")]
[Trait(Traits.Issue, "#3... | indice-co/EDI.Net | test/indice.Edi.Tests/Edifact_ORDRSPTests.cs | https://github.com/indice-co/EDI.Net/blob/HEAD/test/indice.Edi.Tests/Edifact_ORDRSPTests.cs | ghcode:00174:d542fc3ae713 | mit | codeparrot/github-code | d542fc3ae71343bb50b040498c47d18aa40ff1e9941b46fff2d29364cc93140d | 0.75 | testing_debugging_repair_refactoring | 321 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SysUt14Gr03.Tests
{
[TestClass]
public class EpostPreferanserTest
{
EpostPreferanser pref;
[TestInitialize()]
public void Initialize()
{
pref = new EpostPreferanser();
}
... | divarsoy/Gruppe3HIN | kode/SysUt14Gr03/SysUt14Gr03.Tests/EpostPreferanserTest.cs | https://github.com/divarsoy/Gruppe3HIN/blob/HEAD/kode/SysUt14Gr03/SysUt14Gr03.Tests/EpostPreferanserTest.cs | ghcode:00174:15b0f2a0c7ba | mit | codeparrot/github-code | 15b0f2a0c7bab9e24f77b2dd4afdf6d0dbf6c7df94e3fb2611fef35cc2fb9ca6 | 0.6 | testing_debugging_repair_refactoring | 320 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Oogi;
using Oogi.Queries;
using Oogi.Tokens;
namespace Tests
{
[TestClass]
public class DynamicQueryTest
{
[TestMethod]
public void Classic()
{
var q = new ... | goto10hq/Oogi | Oogi/Tests/DynamicQueryTest.cs | https://github.com/goto10hq/Oogi/blob/HEAD/Oogi/Tests/DynamicQueryTest.cs | ghcode:00174:633ff86b273a | mit | codeparrot/github-code | 633ff86b273a238c5d1931d439b0559872c1c72dd48c902ed5d3df021b45b8ed | 0.85 | testing_debugging_repair_refactoring | 598 | false | 2026-07-17 |
namespace boomerang.tests.unit
{
using FizzWare.NBuilder;
using NUnit.Framework;
using Rainbow.Testing.Boomerang.Host;
using Shouldly;
public class WhenComparingRequests
{
[Test]
public void Same_method_and_address_means_equality()
{
var re... | garfieldmoore/Boomerang | tests/boomerang.tests.unit/WhenComparingRequests.cs | https://github.com/garfieldmoore/Boomerang/blob/HEAD/tests/boomerang.tests.unit/WhenComparingRequests.cs | ghcode:00174:dc9492822ea8 | mit | codeparrot/github-code | dc9492822ea8d0cc489062240bf585d3362d32c44c04882f2f334f02d07328c8 | 0.75 | testing_debugging_repair_refactoring | 481 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Reflection;
using NUnit.Framework;
using UnityEngine;
namespace Stratus.Tests
{
public static partial class UtilitiesTests
{
public static class SerializationTests
{
public abstract class A { }
public class B : A { }
public class B1 : B { }... | Azurelol/StratusFramework | Core/Source/Tests/Editor/UtilitiesSerializationTests.cs | https://github.com/Azurelol/StratusFramework/blob/HEAD/Core/Source/Tests/Editor/UtilitiesSerializationTests.cs | ghcode:00174:fcbf7c6d5d5c | mit | codeparrot/github-code | fcbf7c6d5d5c1c477e25a96a85f87aa1db62e52ea0347c16f3838cb4651eb7bc | 0.85 | testing_debugging_repair_refactoring | 379 | false | 2026-07-17 |
using ApiApprover;
using ApprovalTests.Namers;
using ApprovalTests.Reporters;
using Xunit;
namespace ZeroMVVM.Tests
{
[UseReporter(typeof(DiffReporter))]
[UseApprovalSubdirectory("results")]
public class APITests
{
[Fact]
public void PublicAPI()
{
PublicApiApprover.... | distantcam/zeromvvm | src/ZeroMVVM.Tests/APITests.cs | https://github.com/distantcam/zeromvvm/blob/HEAD/src/ZeroMVVM.Tests/APITests.cs | ghcode:00174:77edf5e29ebc | mit | codeparrot/github-code | 77edf5e29ebc405ffd7f5e8cfb304968177a7abbf26e42fa17eb44419f90e600 | 0.75 | testing_debugging_repair_refactoring | 87 | false | 2026-07-17 |
using MeetMe.Data.Contracts;
using MeetMe.Data.Models;
using MeetMe.Services.Contracts;
using Moq;
using NUnit.Framework;
namespace MeetMe.Services.Tests.NotificationServiceTests
{
[TestFixture]
public class RemoveNotification_Should
{
[Test]
public void CallNotificationRepository_GetByIdO... | Warez-VD/MeetMe | MeetMe/MeetMe.Services.Tests/NotificationServiceTests/RemoveNotification_Should.cs | https://github.com/Warez-VD/MeetMe/blob/HEAD/MeetMe/MeetMe.Services.Tests/NotificationServiceTests/RemoveNotification_Should.cs | ghcode:00174:70d60ba0a6d6 | mit | codeparrot/github-code | 70d60ba0a6d6a3e988ee6f3ffd0ef6a0a94161024fcdefde6af216adae2a8be6 | 0.7 | testing_debugging_repair_refactoring | 628 | false | 2026-07-17 |
using Propeller.Mvc.Model;
namespace IntergrationTest.Models
{
public class VehicleClassModel : PropellerModel<VehicleClassModel>
{
public string Name { get; set; }
}
} | galtrold/propeller.mvc | src/Test/IntergrationTest/Models/VehicleClassModel.cs | https://github.com/galtrold/propeller.mvc/blob/HEAD/src/Test/IntergrationTest/Models/VehicleClassModel.cs | ghcode:00174:2ebe40ab8c51 | mit | codeparrot/github-code | 2ebe40ab8c51adc8bccfcda3fd52edf4abce8c14a23d5ad1555af82bd9680850 | 0.6 | testing_debugging_repair_refactoring | 44 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading;
using Csla.Core;
namespace Csla.Test.AppContext
{
public class TestContext : IContextManager
{
[ThreadStatic]
private static ... | jonnybee/csla | Source/Csla.test/AppContext/TestContext.cs | https://github.com/jonnybee/csla/blob/HEAD/Source/Csla.test/AppContext/TestContext.cs | ghcode:00174:fbfb56c7fbd7 | mit | codeparrot/github-code | fbfb56c7fbd7bd0f31ee52fc3caba6786ac65148fe4f95ae73e9c8d7bf16911e | 0.75 | testing_debugging_repair_refactoring | 433 | false | 2026-07-17 |
namespace OffByOne.Qls.Tests.Ast.Style.Rules
{
using System;
using System.Collections.Generic;
using OffByOne.Qls.Ast.Style.Properties.Base;
using OffByOne.Qls.Ast.Style.Rules;
using OffByOne.Qls.Ast.Style.Widgets;
using Xunit;
public class ValueTypeRuleTests
{
[Fact]
... | Teodor92/QL-DSL | test/OffByOne.Qls.Tests/Ast/Style/Rules/ValueTypeRuleTests.cs | https://github.com/Teodor92/QL-DSL/blob/HEAD/test/OffByOne.Qls.Tests/Ast/Style/Rules/ValueTypeRuleTests.cs | ghcode:00174:bc8b1cf2ac09 | mit | codeparrot/github-code | bc8b1cf2ac09ce5341539f771c5d997857e746c2e34cb93fc64536e3a33eb316 | 0.75 | testing_debugging_repair_refactoring | 144 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Mono.Cecil;
using Mono.Collections.Generic;
using Spinner.Fody.Multicasting;
namespace Spinner.Fody
{
internal static class ReferenceExtensions
{
internal static GenericParameter Clone(this GenericParameter genericParameter... | Inverness/Spinner | Spinner.Fody/ReferenceExtensions.cs | https://github.com/Inverness/Spinner/blob/HEAD/Spinner.Fody/ReferenceExtensions.cs | ghcode:00174:0970e82bf881 | mit | codeparrot/github-code | 0970e82bf88193098442ba5a9ee312b1435652234c5a30c881200ae5dc8eee90 | 0.85 | testing_debugging_repair_refactoring | 2,308 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SpirvNet.Spirv.Enums;
// This file is auto-generated and should not be modified manually.
namespace SpirvNet.Spirv.Ops.TypeDeclaration
{
/// <summary>
/// OpTypeVoid
///
/// Decla... | Philip-Trettner/SpirvNet | SpirvNet/SpirvNet/Spirv/Ops/TypeDeclaration/OpTypeVoid.cs | https://github.com/Philip-Trettner/SpirvNet/blob/HEAD/SpirvNet/SpirvNet/Spirv/Ops/TypeDeclaration/OpTypeVoid.cs | ghcode:00174:b97c95b144ed | mit | codeparrot/github-code | b97c95b144edfc70d0fdb05bd7a988a40ec561eee32fb7c83a11b27904228f89 | 0.85 | testing_debugging_repair_refactoring | 317 | false | 2026-07-17 |
namespace SimpleInjector.Tests.Unit.Advanced
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SimpleInjector.Tests.Unit;
/// <summary>Tests for property injection for Silverlight version.</summary>
public partial class PropertyInjectionTests
{
[TestMet... | abergs/SimpleInjector | SimpleInjector.Silverlight.Tests.Unit/Advanced/PropertyInjectionTests.silverlight.cs | https://github.com/abergs/SimpleInjector/blob/HEAD/SimpleInjector.Silverlight.Tests.Unit/Advanced/PropertyInjectionTests.silverlight.cs | ghcode:00174:97da57375516 | mit | codeparrot/github-code | 97da57375516f01b90539bade065669990bfc1a94630d1448c7314278d481ec0 | 0.85 | testing_debugging_repair_refactoring | 190 | false | 2026-07-17 |
#region The MIT License - Copyright (C) 2012-2016 Pieter Geerkens
/////////////////////////////////////////////////////////////////////////////////////////
// PG Software Solutions - Monad Utilities
/////////////////////////////////////////////////////////////////////////////////////////
// The MIT Lice... | pgeerkens/Monads | MonadTests/LazyStateTests.cs | https://github.com/pgeerkens/Monads/blob/HEAD/MonadTests/LazyStateTests.cs | ghcode:00174:cb38dd600744 | mit | codeparrot/github-code | cb38dd6007440f5e1dcc7c19795908da534d98b7071169c9d1b99ffeb84c3a1d | 0.85 | testing_debugging_repair_refactoring | 2,402 | false | 2026-07-17 |
using Shouldly;
using Xunit;
namespace FizzWare.NBuilder.Tests.Unit
{
public class BuilderTests
{
public class MyClass
{
public string StringProperty { get; set; }
}
[Fact]
public void Default()
{
var builder = new Builder();
... | nbuilder/nbuilder | tests/FizzWare.NBuilder.Tests/Unit/BuilderTests.cs | https://github.com/nbuilder/nbuilder/blob/HEAD/tests/FizzWare.NBuilder.Tests/Unit/BuilderTests.cs | ghcode:00174:5962e21200a3 | mit | codeparrot/github-code | 5962e21200a30af51706561e539fe44c882214ad4f6c81856e0ad33d6a4a58d8 | 0.75 | testing_debugging_repair_refactoring | 159 | false | 2026-07-17 |
using System.Dynamic;
using MvcFlash.Core.Helpers;
using NUnit.Framework;
namespace MvcFlash.Tests
{
[TestFixture]
public class DynamicHelpersTests
{
[Test]
public void Can_Convert_Anonymous_To_Expando()
{
var target = new {id = 1};
var result = DynamicHelpe... | khalidabuhakmeh/MvcFlash | MvcFlash.Tests/DynamicHelpersTests.cs | https://github.com/khalidabuhakmeh/MvcFlash/blob/HEAD/MvcFlash.Tests/DynamicHelpersTests.cs | ghcode:00174:be56c9783411 | mit | codeparrot/github-code | be56c97834116a98b982c593a6517169cc3b9c9206938453307a3e30ab9efaf1 | 0.75 | testing_debugging_repair_refactoring | 204 | false | 2026-07-17 |
using System;
using ExitGames.Logging;
using Photon.Hive.Plugin;
using TestPlugins;
namespace Photon.LoadBalancing.UnitTests.UnifiedServer.OfflineExtra
{
public class TestPluginManager : IPluginManager
{
private static readonly ILogger log = LogManager.GetCurrentClassLogger();
private readonl... | tienrocker/server | LoadBalancing.UnitTests/UnifiedServer/OfflineExtra/TestPluginManager.cs | https://github.com/tienrocker/server/blob/HEAD/LoadBalancing.UnitTests/UnifiedServer/OfflineExtra/TestPluginManager.cs | ghcode:00174:c1d2f4f961b8 | mit | codeparrot/github-code | c1d2f4f961b81e41e8b47267efd6e1266edb65987a8c2794bcd3096cffca153c | 0.75 | testing_debugging_repair_refactoring | 279 | false | 2026-07-17 |
using StringToExpression.Exceptions;
using StringToExpression.LanguageDefinitions;
using StringToExpression.Test.Fixtures;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Xuni... | codecutout/StringToExpression | tests/StringToExpression.Test/Languages/ODataFilter/ODataEnumerationTests.cs | https://github.com/codecutout/StringToExpression/blob/HEAD/tests/StringToExpression.Test/Languages/ODataFilter/ODataEnumerationTests.cs | ghcode:00174:760cb97355b5 | mit | codeparrot/github-code | 760cb97355b5e38bf33b809439334300318d0a3e4fce2481d4c1c4edad1fc3db | 0.85 | testing_debugging_repair_refactoring | 1,383 | false | 2026-07-17 |
namespace Ocelot.UnitTests.Requester
{
using Microsoft.Extensions.DependencyInjection;
using Moq;
using Ocelot.Configuration;
using Ocelot.Configuration.Builder;
using Ocelot.Logging;
using Ocelot.Requester;
using Ocelot.Requester.QoS;
using Ocelot.Responses;
using Responder;
usi... | geffzhang/Ocelot | test/Ocelot.UnitTests/Requester/DelegatingHandlerHandlerProviderFactoryTests.cs | https://github.com/geffzhang/Ocelot/blob/HEAD/test/Ocelot.UnitTests/Requester/DelegatingHandlerHandlerProviderFactoryTests.cs | ghcode:00174:f52f53271ac0 | mit | codeparrot/github-code | f52f53271ac040e907a621676752e1983355e8f456de714827cf3e5179afed86 | 0.85 | testing_debugging_repair_refactoring | 4,751 | false | 2026-07-17 |
namespace Aspose.Tasks.Examples.CSharp
{
using NUnit.Framework;
[TestFixture]
public class ExLabelDisplay : ApiExampleBase
{
[Test]
public void WorkWithMinuteLabelDisplay()
{
{
// ExStart
// ExFor: Aspose.Tasks.MinuteLabelDisplay
... | aspose-tasks/Aspose.Tasks-for-.NET | Examples/CSharp/ExLabelDisplay.cs | https://github.com/aspose-tasks/Aspose.Tasks-for-.NET/blob/HEAD/Examples/CSharp/ExLabelDisplay.cs | ghcode:00174:d1bfc3c1044d | mit | codeparrot/github-code | d1bfc3c1044ddec95d20115cf40b95b61038d8fc71cce7cc23b93956c54faf51 | 0.7 | testing_debugging_repair_refactoring | 703 | false | 2026-07-17 |
namespace Host.UnitTests.Serialization
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Crest.Host.Engine;
using Crest.Host.Serialization;
using Crest.Host.Serialization.Internal;
using FluentAssertion... | samcragg/Crest | test/Host.UnitTests/Serialization/DelegateGeneratorTests.cs | https://github.com/samcragg/Crest/blob/HEAD/test/Host.UnitTests/Serialization/DelegateGeneratorTests.cs | ghcode:00174:156e8eb77a0d | mit | codeparrot/github-code | 156e8eb77a0de294a4fdcbe80ea5f5962ca806eccb553b7afb92550e3760b27a | 0.75 | testing_debugging_repair_refactoring | 1,175 | false | 2026-07-17 |
using System;
using System.Data;
using System.IO;
using FileHelpers.Options;
using NUnit.Framework;
using NFluent;
namespace FileHelpers.Tests.CommonTests
{
[TestFixture]
public class QuoteModeTests
{
private const int ExpectedRecords = 6;
private readonly string[] ExpectedNa... | guillaumejay/FileHelpers | FileHelpers.Tests/Tests/Common/QuoteMode.cs | https://github.com/guillaumejay/FileHelpers/blob/HEAD/FileHelpers.Tests/Tests/Common/QuoteMode.cs | ghcode:00174:85c220ad479e | mit | codeparrot/github-code | 85c220ad479ebb61151587c85e26599baf50f223d0074ff483dd53a18873e4d2 | 0.85 | testing_debugging_repair_refactoring | 888 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Nethereum.JsonRpc.Client;
using Nethereum.RPC.Eth;
using Nethereum.RPC.Eth.Compilation;
using Newtonsoft.Json.Linq;
using Xunit;
namespace Nethereum.RPC.Tests.Testers
{
public class EthCoinBaseTester : RPCRequestTester<string>, IRPCRequestTester
{
[F... | Nethereum/Nethereum | tests/Nethereum.RPC.IntegrationTests/Testers/EthCoinBaseTester.cs | https://github.com/Nethereum/Nethereum/blob/HEAD/tests/Nethereum.RPC.IntegrationTests/Testers/EthCoinBaseTester.cs | ghcode:00174:68a99bbd6851 | mit | codeparrot/github-code | 68a99bbd685107dd82218453328d39df802d450a00b03c7fd55a9ec0f701376c | 0.75 | testing_debugging_repair_refactoring | 165 | false | 2026-07-17 |
using System;
using FluentAssertions;
using Ruzzie.Common.Numerics;
using Xunit;
namespace Ruzzie.Common.UnitTests.Numerics
{
public class PrimeHelperTests
{
#if !NET40
[Theory]
[InlineData(0,false)]
[InlineData(1,false)]
[InlineData(2,true)]
[InlineData(709, true)]... | Ruzzie/Ruzzie.Common | src/Ruzzie.Common/Ruzzie.Common.UnitTests/Numerics/PrimeHelperTests.cs | https://github.com/Ruzzie/Ruzzie.Common/blob/HEAD/src/Ruzzie.Common/Ruzzie.Common.UnitTests/Numerics/PrimeHelperTests.cs | ghcode:00174:18b123891bee | mit | codeparrot/github-code | 18b123891bee18436285729ac63d4a16fc18aae54e11b5c5ec4b7ca981c2763b | 0.75 | testing_debugging_repair_refactoring | 326 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using Certify.Management;
using Certify.Models.Providers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Certify.Core.Tests
{
[TestClass]
public class DnsAPITestAWSRoute53 : IntegrationTestBase
{
... | ndouthit/Certify | src/Certify.Tests/Certify.Core.Tests.Integration/DnsAPITest.AWSRoute53.cs | https://github.com/ndouthit/Certify/blob/HEAD/src/Certify.Tests/Certify.Core.Tests.Integration/DnsAPITest.AWSRoute53.cs | ghcode:00174:0bc855892b7d | mit | codeparrot/github-code | 0bc855892b7d219221a433f2216a50d0e824850395357da453122ac7ce44ff4f | 0.75 | testing_debugging_repair_refactoring | 638 | false | 2026-07-17 |
using System;
using System.IO;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ini.Net;
namespace Ini.Net.Tests
{
[TestClass]
public class IniFileTests
{
private string fileName;
private Ini.Net.IniFile iniFile;
public IniFileTests()
{
... | martinusso/Ini.Net | test/Ini.Net.Tests/IniFileTests.cs | https://github.com/martinusso/Ini.Net/blob/HEAD/test/Ini.Net.Tests/IniFileTests.cs | ghcode:00174:986e3ff14639 | mit | codeparrot/github-code | 986e3ff146391a103a7886a6ea6ae3e7ff07c078edffbb569e17bb4fe4767bea | 0.75 | testing_debugging_repair_refactoring | 2,271 | false | 2026-07-17 |
//
// SiteMembershipConditionTest.cs -
// NUnit Test Cases for SiteMembershipCondition
//
// Author:
// Sebastien Pouliot <sebastien@ximian.com>
//
// (C) 2004 Motus Technologies Inc. (http://www.motus.com)
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, t... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Security.Policy/SiteMembershipConditionTest.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Security.Policy/SiteMembershipConditionTest.cs | ghcode:00174:a4c8aba33106 | mit | codeparrot/github-code | a4c8aba33106da984bb42dd0b66f7a6ed98b8f82753b4bd1a5f08455e5e38fad | 0.95 | testing_debugging_repair_refactoring | 2,265 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Moq;
using RockLib.Logging.DependencyInjection;
using System;
using System.Collections.Generic;
using Xunit;
namespace RockLib.Logging.AspNetCore.Tests
{
public class LogBuilderExtensionTests
{
... | RockFramework/Rock.Logging | Tests/RockLib.Logging.AspNetCore.Tests/LogBuilderExtensionTests.cs | https://github.com/RockFramework/Rock.Logging/blob/HEAD/Tests/RockLib.Logging.AspNetCore.Tests/LogBuilderExtensionTests.cs | ghcode:00174:7756a137055b | mit | codeparrot/github-code | 7756a137055ba7969fdf710a23dbc5ad3dcefea0a776ec63be6097ea0284a5b6 | 0.75 | testing_debugging_repair_refactoring | 333 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Xunit;
namespace XUnitTests
{
public class CollectionExamples
{
[Fact]
public void CollectionEquality()
{
List<int> left = new List<int>(new[] { 4, 12, 16, 27 });
List<int> right = new List<int>(new[] { 4, 12, 16, 27 });
Assert.E... | fredatgithub/UsefulFunctions | XUnitTests/CollectionExamples.cs | https://github.com/fredatgithub/UsefulFunctions/blob/HEAD/XUnitTests/CollectionExamples.cs | ghcode:00174:e4d5df4ed067 | mit | codeparrot/github-code | e4d5df4ed067547460bd9ce8bf45034a71f22cb92b13579cbcc274e2f05ccc7e | 0.6 | testing_debugging_repair_refactoring | 756 | false | 2026-07-17 |
using ExpressEntryCalculator.Core;
using Shouldly;
using TestStack.BDDfy;
using Xunit;
namespace ExpressEntryCalculator.AcceptanceTests
{
public class EducationPointsCalculatorTestsWithoutSpouse : EducationPointsCalculatorTests
{
[Fact]
public void HaveCorrectPointsForMyEducation()
{
... | annaked/ExpressEntryCalculator | ExpressEntryCalculator.AcceptanceTests/EducationPointsCalculatorTests.cs | https://github.com/annaked/ExpressEntryCalculator/blob/HEAD/ExpressEntryCalculator.AcceptanceTests/EducationPointsCalculatorTests.cs | ghcode:00174:d0598e3e952d | mit | codeparrot/github-code | d0598e3e952dc750792771c332d457d38826d9d04a9993066e405022f55e5afd | 0.75 | testing_debugging_repair_refactoring | 706 | false | 2026-07-17 |
using System;
using System.Data;
using System.Linq;
using System.Reflection;
using Ninject;
using Ninject.Extensions.Conventions;
using NUnit.Framework;
using Smooth.IoC.Repository.UnitOfWork.Tests.ExampleTests.IoC.IoC_Example_Installers;
using Smooth.IoC.Repository.UnitOfWork.Tests.ExampleTests.Repository;
using Smoo... | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | test/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/ExampleTests/IoC/NinjectTests.cs | https://github.com/generik0/Smooth.IoC.Dapper.Repository.UnitOfWork/blob/HEAD/test/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/ExampleTests/IoC/NinjectTests.cs | ghcode:00174:5e763ffd68d8 | mit | codeparrot/github-code | 5e763ffd68d879d3efa99f84f665b65da2b1221afb84178c3713006b70f9363b | 0.75 | testing_debugging_repair_refactoring | 763 | false | 2026-07-17 |
//
// Copyright (c) 2013 Agustin Santos
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge... | agustinsantos/LibNoise | LibNoise/Operator/Terrace.cs | https://github.com/agustinsantos/LibNoise/blob/HEAD/LibNoise/Operator/Terrace.cs | ghcode:00174:24a812e9b3ce | mit | codeparrot/github-code | 24a812e9b3ced1fbaf34198611b2f75e918ccc98e5b5d90237f42f6e2ebb989a | 0.7 | testing_debugging_repair_refactoring | 1,313 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using EcsRx.Pools;
using Xunit;
namespace EcsRx.Tests.Framework.Pools
{
public class IdPoolTests
{
[Fact]
public void should_allocate_up_front_ids()
{
var idPool = new IdPool(10, 10);
Assert.Equal(idPool.Avail... | grofit/ecsrx | src/EcsRx.Tests/Framework/Pools/IdPoolTests.cs | https://github.com/grofit/ecsrx/blob/HEAD/src/EcsRx.Tests/Framework/Pools/IdPoolTests.cs | ghcode:00174:9f98f2fa3188 | mit | codeparrot/github-code | 9f98f2fa3188d374403d817f2032addd6ae828722d6cef067b074e744eda6e37 | 0.75 | testing_debugging_repair_refactoring | 792 | false | 2026-07-17 |
using Indy.Sdk.Dotnet.Wrapper;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
namespace Indy.Sdk.Dotnet.Test.Wrapper.AgentTests
{
public abstract class AgentIntegrationTestBase
{
protected static Wallet _wallet;
protected static Pool _pool;
protected ... | korsimoro/indy-sdk | wrappers/dotnet/indy-sdk-dotnet-test/Wrapper/AgentTests/AgentIntegrationTestBase.cs | https://github.com/korsimoro/indy-sdk/blob/HEAD/wrappers/dotnet/indy-sdk-dotnet-test/Wrapper/AgentTests/AgentIntegrationTestBase.cs | ghcode:00174:d338c6a6556f | apache-2.0 | codeparrot/github-code | d338c6a6556f636c25197db2f475555f45c061bcecb7716e1504e1c992cc404f | 0.6 | testing_debugging_repair_refactoring | 246 | false | 2026-07-17 |
// Copyright (c) 2002-2019 "Neo4j,"
// Neo4j Sweden AB [http://neo4j.com]
//
// This file is part of Neo4j.
//
// 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.... | ali-ince/neo4j-dotnet-driver | Neo4j.Driver/Neo4j.Driver.Tests.Integration/Stress/Blocking/BlockingReadCommandInTx.cs | https://github.com/ali-ince/neo4j-dotnet-driver/blob/HEAD/Neo4j.Driver/Neo4j.Driver.Tests.Integration/Stress/Blocking/BlockingReadCommandInTx.cs | ghcode:00174:0f3b2b12ac26 | apache-2.0 | codeparrot/github-code | 0f3b2b12ac265fd31db86fabb4f2fd4f1ae36de906f3d5c1f7fce445305fdade | 0.85 | testing_debugging_repair_refactoring | 343 | false | 2026-07-17 |
#region License
/*
* Copyright © 2002-2005 the original author or authors.
*
* 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
*
* Un... | MaferYangPointJun/Spring.net | test/Spring/Spring.Core.Tests/Context/Support/DefaultMessageSourceResolvableTests.cs | https://github.com/MaferYangPointJun/Spring.net/blob/HEAD/test/Spring/Spring.Core.Tests/Context/Support/DefaultMessageSourceResolvableTests.cs | ghcode:00174:d01d1957bc89 | apache-2.0 | codeparrot/github-code | d01d1957bc896b797d7308c0928873b400bd08c92a7da2d3db8d8d10837a0bde | 0.85 | testing_debugging_repair_refactoring | 891 | false | 2026-07-17 |
// Copyright 2021 Google Inc.
//
// 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 agreed to in... | GoogleCloudPlatform/dotnet-docs-samples | dlp/api/Snippets.Tests/JobsGetTests.cs | https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/HEAD/dlp/api/Snippets.Tests/JobsGetTests.cs | ghcode:00174:24bbaf13e215 | apache-2.0 | codeparrot/github-code | 24bbaf13e21582899253c9cb1eea2dcdc953c521f4c6dd0dd9a261c759f36598 | 0.85 | testing_debugging_repair_refactoring | 301 | false | 2026-07-17 |
using Moq;
using ScriptCs.Contracts;
using Should;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.IO;
using System.Linq;
using Xunit;
namespace ScriptCs.ComponentModel.Composition.Test
{
public class ScriptCsCat... | scriptcs-contrib/scriptcs-mef | src/ScriptCs.ComponentModel.Composition.Test/ScriptCsCatalogFacts.cs | https://github.com/scriptcs-contrib/scriptcs-mef/blob/HEAD/src/ScriptCs.ComponentModel.Composition.Test/ScriptCsCatalogFacts.cs | ghcode:00174:b6e82baebcb7 | apache-2.0 | codeparrot/github-code | b6e82baebcb72aa9ea252084d700b3cfba76ed2290e01ed7fad8b3d848317e35 | 0.7 | testing_debugging_repair_refactoring | 6,525 | false | 2026-07-17 |
// <copyright file="UninstrumentedAspNetCoreBenchmark.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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
//
// ... | open-telemetry/opentelemetry-dotnet | test/Benchmarks/Instrumentation/UninstrumentedAspNetCoreBenchmark.cs | https://github.com/open-telemetry/opentelemetry-dotnet/blob/HEAD/test/Benchmarks/Instrumentation/UninstrumentedAspNetCoreBenchmark.cs | ghcode:00174:e55b750e7dcc | apache-2.0 | codeparrot/github-code | e55b750e7dcc29b023df94e0846a566365bc0aedfe7a5bc63483b9296c1a8a8f | 0.85 | testing_debugging_repair_refactoring | 343 | false | 2026-07-17 |
using System.Collections.Generic;
using FluentAssertions;
using Nest.Indexify.Contributors;
using Nest.Indexify.Tests.Stubs;
using Xunit;
namespace Nest.Indexify.Tests.Contributors
{
public class WhenIndexCreationContributionCanContribute : IndexCreationStrategyContext
{
private StubElasticsearchIndexC... | stormid/Nest-Indexify | tests/Nest.Indexify.Tests/Contributors/WhenIndexCreationContributionCanContribute.cs | https://github.com/stormid/Nest-Indexify/blob/HEAD/tests/Nest.Indexify.Tests/Contributors/WhenIndexCreationContributionCanContribute.cs | ghcode:00174:b0d8e39265a8 | apache-2.0 | codeparrot/github-code | b0d8e39265a81ce4a340ef8db7c1a77677c967e8747c6a82ec363d798b30f7d6 | 0.6 | testing_debugging_repair_refactoring | 161 | 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.
using System.Threading.Tasks;
namespace Microsoft.Extensions.Logging.AzureAppServices.Test
{
internal class ManualIntervalControl
{
private TaskCompletionSource<obj... | aspnet/AspNetCore | src/Logging.AzureAppServices/test/ManualIntervalControl.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Logging.AzureAppServices/test/ManualIntervalControl.cs | ghcode:00174:644c7ebdef28 | apache-2.0 | codeparrot/github-code | 644c7ebdef28125277d52f1aa270c84de14dece7170e51445cab1e77d214fff0 | 0.85 | testing_debugging_repair_refactoring | 166 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using DigitalPlatform.IO;
namespace DigitalPlatform.LibraryServer
{
/*
[Serializable()]
public class DupL... | renyh1013/dp2 | DigitalPlatform.LibraryServer/DupResultSet.cs | https://github.com/renyh1013/dp2/blob/HEAD/DigitalPlatform.LibraryServer/DupResultSet.cs | ghcode:00174:c0dd975c6595 | apache-2.0 | codeparrot/github-code | c0dd975c65950d013a4ae694ba7b00da7e2af21db8c8d9cec68e1ffd12158551 | 0.85 | testing_debugging_repair_refactoring | 3,529 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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... | Jay-Jay-D/LeanSTP | Tests/Common/Securities/ImmediateSettlementModelTests.cs | https://github.com/Jay-Jay-D/LeanSTP/blob/HEAD/Tests/Common/Securities/ImmediateSettlementModelTests.cs | ghcode:00174:7b699a8736d9 | apache-2.0 | codeparrot/github-code | 7b699a8736d9da45dccd35a6b1142d869fc34f0295b25b1fc418e1108892b234 | 0.75 | testing_debugging_repair_refactoring | 646 | false | 2026-07-17 |
//-------------------------------------------------------------------------------
// <copyright file="ExtensionSpecifications.cs" company="Appccelerate">
// Copyright (c) 2008-2020
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with th... | appccelerate/eventbroker | source/Appccelerate.EventBroker.Specs/Extensions/ExtensionSpecifications.cs | https://github.com/appccelerate/eventbroker/blob/HEAD/source/Appccelerate.EventBroker.Specs/Extensions/ExtensionSpecifications.cs | ghcode:00174:c9c4e8d1b206 | apache-2.0 | codeparrot/github-code | c9c4e8d1b20625016b26660391fede3032967f1fb347071e79afb80942793497 | 0.7 | testing_debugging_repair_refactoring | 2,097 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Integer.Domain.Paroquia;
using Rhino.Mocks;
using Xunit;
namespace Integer.UnitTests.Domain.Paroquia
{
public class Grupo_Novo_Criado_Corretamente
{
Grupo grupo, grupoPai;
string nome, email, cor;
... | integercal/integer | src/Test/Domain/Paroquia/Grupo_Novo_Criado_Corretamente.cs | https://github.com/integercal/integer/blob/HEAD/src/Test/Domain/Paroquia/Grupo_Novo_Criado_Corretamente.cs | ghcode:00174:06788ba9d1ad | apache-2.0 | codeparrot/github-code | 06788ba9d1ad0ae9f51cdf178af6f9eb771c5040339a6369bf434a8be341d686 | 0.85 | testing_debugging_repair_refactoring | 336 | false | 2026-07-17 |
// Copyright 2018-2020 Andrew White
//
// 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 appl... | achandlerwhite/Finbuckle.MultiTenant | test/Finbuckle.MultiTenant.Test/Strategies/StaticStrategyShould.cs | https://github.com/achandlerwhite/Finbuckle.MultiTenant/blob/HEAD/test/Finbuckle.MultiTenant.Test/Strategies/StaticStrategyShould.cs | ghcode:00174:6655dcc3dfef | apache-2.0 | codeparrot/github-code | 6655dcc3dfefacb49021b03fefed0ae35d193675fce6d3a9e7ec6bf3368b4b4b | 0.7 | testing_debugging_repair_refactoring | 303 | false | 2026-07-17 |
// -----------------------------------------------------------------------
// <copyright file="ConsoleUtilities.cs">
// Copyright (c) 2013.
// </copyright>
// -----------------------------------------------------------------------
namespace VendingMachine.Console
{
using System;
using System.Collection... | ewilde/vending-machine | console/Utility/TableParser.cs | https://github.com/ewilde/vending-machine/blob/HEAD/console/Utility/TableParser.cs | ghcode:00174:48718bb56498 | apache-2.0 | codeparrot/github-code | 48718bb564987794e2f32cb511836b037276ad9e522638b264773e49676f0438 | 0.7 | testing_debugging_repair_refactoring | 669 | 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.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft.CodeAnalysis.Un... | mattwar/roslyn-analyzers | src/Microsoft.ApiDesignGuidelines.Analyzers/UnitTests/NonConstantFieldsShouldNotBeVisibleTests.Fixer.cs | https://github.com/mattwar/roslyn-analyzers/blob/HEAD/src/Microsoft.ApiDesignGuidelines.Analyzers/UnitTests/NonConstantFieldsShouldNotBeVisibleTests.Fixer.cs | ghcode:00174:66990af201d8 | apache-2.0 | codeparrot/github-code | 66990af201d8c9a29d11afc3c62391eaa5e8abedcf33b97038d8842a213484a4 | 0.75 | testing_debugging_repair_refactoring | 219 | false | 2026-07-17 |
using System;
using System.Threading;
using Orchard.BackgroundTasks;
namespace Orchard.Demo.Services
{
public class TestBackgroundTask : IBackgroundTask
{
private int _count;
public void DoWork(IServiceProvider serviceProvider, CancellationToken cancellationToken)
{
_count... | alexbocharov/Orchard2 | src/Orchard.Web/Modules/Orchard.Demo/Services/TestBackgroundTask.cs | https://github.com/alexbocharov/Orchard2/blob/HEAD/src/Orchard.Web/Modules/Orchard.Demo/Services/TestBackgroundTask.cs | ghcode:00174:b1aea9806164 | bsd-3-clause | codeparrot/github-code | b1aea9806164cc3d60571344595eeb0d0cc891ab11c1149e0d37f568a613f79a | 0.75 | testing_debugging_repair_refactoring | 61 | false | 2026-07-17 |
using StoryLine.Exceptions;
using StoryLine.Rest.Services;
using Xunit;
namespace StoryLine.Rest.Tests.Services
{
public class StringContentComparerTests
{
private readonly StringContentComparer _underTest;
public StringContentComparerTests()
{
_underTest = new StringConte... | DiamondDragon/StoryLine.Rest | StoryLine.Rest.Tests/Services/StringContentComparerTests.cs | https://github.com/DiamondDragon/StoryLine.Rest/blob/HEAD/StoryLine.Rest.Tests/Services/StringContentComparerTests.cs | ghcode:00174:58688f75e9cf | bsd-3-clause | codeparrot/github-code | 58688f75e9cffdf3c048457ab1386f8a0b788b49d0dc1387b0a4536055542936 | 0.75 | testing_debugging_repair_refactoring | 227 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.Reactive.Testing;
using NSubstitute;
using NSubstitute.ExceptionExtensions;
using System;
using System.Reactive;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Toggl.Core.Analytics;
using Toggl.Core.DataSources.Interfaces;
using Toggl.Core.Extensions;
using Togg... | toggl/mobileapp | Toggl.Core.Tests/Sync/States/Push/DeleteEntityStateTests.cs | https://github.com/toggl/mobileapp/blob/HEAD/Toggl.Core.Tests/Sync/States/Push/DeleteEntityStateTests.cs | ghcode:00174:8cfac391e4f1 | bsd-3-clause | codeparrot/github-code | 8cfac391e4f16b30068827aa777e80f8a9cce640c87bd992d7d4fbe292c73745 | 0.75 | testing_debugging_repair_refactoring | 1,266 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2008 Charlie Poole, Rob Prouse
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restri... | JustinRChou/nunit | src/NUnitFramework/tests/Assertions/WarningTests.cs | https://github.com/JustinRChou/nunit/blob/HEAD/src/NUnitFramework/tests/Assertions/WarningTests.cs | ghcode:00174:4d0697396f37 | mit | codeparrot/github-code | 4d0697396f37951b8733b95478cd9f7092537537e9d5822ec33fe940a92b15ad | 0.95 | testing_debugging_repair_refactoring | 3,765 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Azure.WebJobs.Script.Configuration;
using Microsoft.Azure.WebJobs.Script.Rpc;
using ... | fabiocav/azure-webjobs-sdk-script | test/WebJobs.Script.Tests/Configuration/ScriptHostOptionsSetupTests.cs | https://github.com/fabiocav/azure-webjobs-sdk-script/blob/HEAD/test/WebJobs.Script.Tests/Configuration/ScriptHostOptionsSetupTests.cs | ghcode:00174:068987900750 | mit | codeparrot/github-code | 06898790075053efb074d98189ea4f51b22a7c1b4642a3a92e67267f16244584 | 0.85 | testing_debugging_repair_refactoring | 1,747 | 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 enable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.... | abock/roslyn | src/Features/Core/Portable/PopulateSwitch/AbstractPopulateSwitchCodeFixProvider.cs | https://github.com/abock/roslyn/blob/HEAD/src/Features/Core/Portable/PopulateSwitch/AbstractPopulateSwitchCodeFixProvider.cs | ghcode:00174:7355798429bf | mit | codeparrot/github-code | 7355798429bf48cbf46b03357e8ef2517872e0c5efadb46822be478612b7005f | 0.85 | testing_debugging_repair_refactoring | 1,750 | false | 2026-07-17 |
using System;
using System.Linq;
using WindowsAzure.Table;
using WindowsAzure.Tests.Attributes;
using WindowsAzure.Tests.Samples;
using Xunit;
namespace WindowsAzure.Tests.Table.Queryable.Integration
{
public sealed class FirstOrDefaultTests : CountryTableSetBase
{
private const string Finland = "Finl... | richiej84/WindowsAzure | test/WindowsAzure.Tests/Table/Queryable/Integration/FirstOrDefaultTests.cs | https://github.com/richiej84/WindowsAzure/blob/HEAD/test/WindowsAzure.Tests/Table/Queryable/Integration/FirstOrDefaultTests.cs | ghcode:00174:adf3bd0a500a | mit | codeparrot/github-code | adf3bd0a500a53af302a36f648a62e0e710e375548470e0930af9c5bdc9907fa | 0.85 | testing_debugging_repair_refactoring | 911 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Marten.Events;
using Marten.Storage;
using Marten.Testing.Harness;
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace Marten.Testing.Events
{
public class multi_tenancy_and_event_capture: IntegrationContext
{
private rea... | ericgreenmix/marten | src/Marten.Testing/Events/multi_tenancy_and_event_capture.cs | https://github.com/ericgreenmix/marten/blob/HEAD/src/Marten.Testing/Events/multi_tenancy_and_event_capture.cs | ghcode:00174:e3e6328e0011 | mit | codeparrot/github-code | e3e6328e0011bea3136784593cfe431b95ab7335701e8f679ea875cc5735a1f6 | 0.75 | testing_debugging_repair_refactoring | 1,286 | false | 2026-07-17 |
namespace IntegrationTests
{
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity.DocumentDB;
using Xunit;
// todo low - validate all tests work
public class UserTwoFactorStoreTests : UserIntegrationTestsBase
{
[Fact]
public async Task SetTwoFactorEnabled()
... | FelschR/aspnetcore-identity-documentdb | test/CoreIntegrationTests/UserTwoFactorStoreTests.cs | https://github.com/FelschR/aspnetcore-identity-documentdb/blob/HEAD/test/CoreIntegrationTests/UserTwoFactorStoreTests.cs | ghcode:00174:e5b436666dd2 | mit | codeparrot/github-code | e5b436666dd2adc7b9c3af531591a80318361701ef39d2ffd491bcdb6aca61a0 | 0.75 | testing_debugging_repair_refactoring | 207 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Text.Json;
using NUnit.Framework;
namespace Azure.Core.Tests
{
public class ResponseErrorTests
{
[Test]
public void CanDeserializeNull()
{
Assert.Null... | Azure/azure-sdk-for-net | sdk/core/Azure.Core/tests/ResponseErrorTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/core/Azure.Core/tests/ResponseErrorTests.cs | ghcode:00174:cf6b84ce6e7e | mit | codeparrot/github-code | cf6b84ce6e7e789199fdc83d856baf390b44ebb54590d9997151beacb6a5dbea | 0.85 | testing_debugging_repair_refactoring | 842 | false | 2026-07-17 |
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using SevenDigital.Api.Schema.Artists;
using SevenDigital.Api.Schema.Integration.Tests.Infrastructure;
using SevenDigital.Api.Wrapper;
namespace SevenDigital.Api.Schema.Integration.Tests.EndpointTests.Artists
{
[TestFixture]
public cl... | 7digital/SevenDigital.Api.Schema | src/Schema.Integration.Tests/EndpointTests/Artists/ArtistReleasesTests.cs | https://github.com/7digital/SevenDigital.Api.Schema/blob/HEAD/src/Schema.Integration.Tests/EndpointTests/Artists/ArtistReleasesTests.cs | ghcode:00174:68f104c9c682 | mit | codeparrot/github-code | 68f104c9c682b920c4984d9da418017bf783cc081a1da0d236b48ffd4cb23f58 | 0.75 | testing_debugging_repair_refactoring | 306 | false | 2026-07-17 |
using System.Diagnostics.Contracts;
[ContractClass(typeof (SomeClassContract))]
abstract class SomeClass{on}
{
public abstract void MethodWithPrecondition(string s);
}
[ContractClassFor(typeof (SomeClass))]
abstract class SomeClassContract : SomeClass
{
} | Diagonactic/ReSharperContractExtensions | ReSharper.ContractExtensions.Tests/test/data/Intentions/ContextActions/ContractFor/07_AvailableOnPartiallyDefinedContractForClass.cs | https://github.com/Diagonactic/ReSharperContractExtensions/blob/HEAD/ReSharper.ContractExtensions.Tests/test/data/Intentions/ContextActions/ContractFor/07_AvailableOnPartiallyDefinedContractForClass.cs | ghcode:00174:c132d9ad30ee | mit | codeparrot/github-code | c132d9ad30eedd7dd20b6695ef40761b09bf078d1a187778eb529afeea87bdc3 | 0.85 | testing_debugging_repair_refactoring | 54 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using JetBrains.Annotations;
namespace BenchmarkDotNet.Helpers
{
internal static class SectionsHelper
{
[NotNull]
public static Dictionary<string, string> ParseSection([CanBeNull] string co... | Ky7m/BenchmarkDotNet | src/BenchmarkDotNet/Helpers/SectionsHelper.cs | https://github.com/Ky7m/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Helpers/SectionsHelper.cs | ghcode:00174:e728208a63d9 | mit | codeparrot/github-code | e728208a63d949263a353d991b64bb59d1d395e53a1b5f70c8b7b33ab6f7feee | 0.75 | testing_debugging_repair_refactoring | 271 | false | 2026-07-17 |
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace applicationGateway
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using Newtonsoft.Json;
using System.Collections;
... | ljhljh235/AutoRest | Samples/test/end-to-end/network/Client/ExpressRouteCircuitAuthorizationsOperations.cs | https://github.com/ljhljh235/AutoRest/blob/HEAD/Samples/test/end-to-end/network/Client/ExpressRouteCircuitAuthorizationsOperations.cs | ghcode:00174:b1ecd4c2aee0 | mit | codeparrot/github-code | b1ecd4c2aee03f845090efbfb019d07768ed017e22959aac8bf61243cd2f8f9f | 0.95 | testing_debugging_repair_refactoring | 9,035 | false | 2026-07-17 |
using LinqToDB;
using LinqToDB.Data;
using LinqToDB.DataProvider;
using LinqToDB.Mapping;
using NUnit.Framework;
using System.Data;
using System.Linq;
using Tests.Model;
namespace Tests.UserTests
{
[TestFixture]
public class Issue1486Tests : TestBase
{
public class IssueDataConnection : DataConnection
{
pub... | linq2db/linq2db | Tests/Linq/UserTests/Issue1486Tests.cs | https://github.com/linq2db/linq2db/blob/HEAD/Tests/Linq/UserTests/Issue1486Tests.cs | ghcode:00174:183998630535 | mit | codeparrot/github-code | 183998630535c1c799bf5b7fe7580e3ea69685635a5492a3f60830be2a299fa0 | 0.85 | testing_debugging_repair_refactoring | 493 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Common;
using Renci.SshNet.Tests.Common;
using Renci.SshNet.Tests.Properties;
namespace Renci.SshNet.Tests.Classes
{
/// <summary>
/// Implementation of the SSH File Transfer Protocol (SFTP) over SSH.
/// </summary>
publi... | GenericHero/SSH.NET | src/Renci.SshNet.Tests/Classes/SftpClientTest.ChangeDirectory.cs | https://github.com/GenericHero/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/SftpClientTest.ChangeDirectory.cs | ghcode:00174:c116e1aafcbe | mit | codeparrot/github-code | c116e1aafcbe9d4a3fad421c61870d8abb24c58ea94794f0f1ae048a4d72e672 | 0.85 | testing_debugging_repair_refactoring | 606 | false | 2026-07-17 |
using NRules.IntegrationTests.TestAssets;
namespace NRules.IntegrationTests.TestRules
{
public class TwoFactOneNotRule : BaseRule
{
public override void Define()
{
FactType1 fact1 = null;
When()
.Match<FactType1>(() => fact1, f => f.TestProperty.StartsW... | StanleyGoldman/NRules | src/NRules/Tests/NRules.IntegrationTests/TestRules/TwoFactOneNotRule.cs | https://github.com/StanleyGoldman/NRules/blob/HEAD/src/NRules/Tests/NRules.IntegrationTests/TestRules/TwoFactOneNotRule.cs | ghcode:00174:42165361160d | mit | codeparrot/github-code | 42165361160d204879801987a7495add10093f2512dcaca4d7bcecf6fd0af1a9 | 0.85 | testing_debugging_repair_refactoring | 117 | false | 2026-07-17 |
#region License
/*
Copyright [2011] [Jeffrey Cameron]
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 applica... | ppnrao/pickles | src/Pickles/Pickles/CommandLineArgumentParser.cs | https://github.com/ppnrao/pickles/blob/HEAD/src/Pickles/Pickles/CommandLineArgumentParser.cs | ghcode:00174:f17f25ecfc55 | apache-2.0 | codeparrot/github-code | f17f25ecfc555281ef1e4f9d6c32e8c5c77deaee50ee6ae83303eb6541e0fab2 | 0.75 | testing_debugging_repair_refactoring | 947 | 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.Generic;
using System.Diagnostics;
using Microsoft.CodeAnalysis.Shared.Extensions;
using Roslyn.Utilities;
namespace ... | swaroop-sridhar/roslyn | src/Features/Core/Portable/FullyQualify/AbstractFullyQualifyCodeFixProvider.SymbolResult.cs | https://github.com/swaroop-sridhar/roslyn/blob/HEAD/src/Features/Core/Portable/FullyQualify/AbstractFullyQualifyCodeFixProvider.SymbolResult.cs | ghcode:00174:e31a3612b368 | apache-2.0 | codeparrot/github-code | e31a3612b36866b4640fac256143f5ff1cdd9f8c9e430b75cf86e4502525e95a | 0.75 | testing_debugging_repair_refactoring | 363 | false | 2026-07-17 |
using System;
namespace GridDomain.Tests.Unit.BalloonDomain.ProjectionBuilders
{
public class BalloonCreatedNotification
{
public string BallonId { get; set; }
}
} | linkelf/GridDomain | GridDomain.Tests.Unit/BalloonDomain/ProjectionBuilders/BalloonCreatedNotification.cs | https://github.com/linkelf/GridDomain/blob/HEAD/GridDomain.Tests.Unit/BalloonDomain/ProjectionBuilders/BalloonCreatedNotification.cs | ghcode:00174:7a5f362c348a | apache-2.0 | codeparrot/github-code | 7a5f362c348ac23898a21f300806ba6e683755bd84067a980bdeb329f6dfc838 | 0.5 | testing_debugging_repair_refactoring | 42 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ... | QuantConnect/Lean | Tests/Common/Securities/CashTests.cs | https://github.com/QuantConnect/Lean/blob/HEAD/Tests/Common/Securities/CashTests.cs | ghcode:00174:3021cd6878ed | apache-2.0 | codeparrot/github-code | 3021cd6878ed7e6d4c247b0132a1c61ff2f9142bb52bbbdacc4fdff88c501992 | 0.85 | testing_debugging_repair_refactoring | 6,916 | false | 2026-07-17 |
using System;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Octokit.Reactive;
using Xunit;
namespace Octokit.Tests.Integration.Reactive
{
public class ObservableFollowersClientTests
{
public class TheGetAllForCurrentMethod
{
readonly ObservableFollowersClient _fol... | rlugojr/octokit.net | Octokit.Tests.Integration/Reactive/ObservableFollowersClientTests.cs | https://github.com/rlugojr/octokit.net/blob/HEAD/Octokit.Tests.Integration/Reactive/ObservableFollowersClientTests.cs | ghcode:00174:3db5f9c182d7 | mit | codeparrot/github-code | 3db5f9c182d7ec04d0aa818978c6d97a7ce98bb811191cb0527c2807385a3345 | 0.75 | testing_debugging_repair_refactoring | 1,785 | false | 2026-07-17 |
using BrightstarDB.Dto;
using NUnit.Framework;
namespace BrightstarDB.Server.Modules.Tests
{
[TestFixture]
public class JobResponseObjectSpec
{
[Test]
public void TestBooleanFlagsFromJobStatus()
{
var status = new JobResponseModel {JobStatus = "Pending"};
As... | BrightstarDB/BrightstarDB | src/core/BrightstarDB.Server.Modules.Tests/JobResponseObjectSpec.cs | https://github.com/BrightstarDB/BrightstarDB/blob/HEAD/src/core/BrightstarDB.Server.Modules.Tests/JobResponseObjectSpec.cs | ghcode:00174:cf24408b3fcf | mit | codeparrot/github-code | cf24408b3fcf3c7a2566555e136c6d66c871625ab92cc76a2b2d3464dd3f67cd | 0.75 | testing_debugging_repair_refactoring | 292 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Text.RegularExpressions;
namespace NFaker.Tests
{
[TestClass]
public class AddressBRTests
{
[TestMethod]
[Description("When call 'AddressBR.State' returns state name")]
public void AddressBR_State()
{
Assert.IsNotNull(NFaker.... | augustocordeiro/NFaker | FFaker.net.tests/AddressBRTests.cs | https://github.com/augustocordeiro/NFaker/blob/HEAD/FFaker.net.tests/AddressBRTests.cs | ghcode:00174:495a94155b96 | mit | codeparrot/github-code | 495a94155b9697e576a8d13e584df0c52870d6f49504b97a69b7ef5915750f71 | 0.75 | testing_debugging_repair_refactoring | 324 | false | 2026-07-17 |
namespace FakeItEasy.Tests.Core
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using FakeItEasy.Core;
using FakeItEasy.Tests.TestHelpers;
using FluentAssertions;
using Xunit;
public class ArgumentValueF... | blairconrad/FakeItEasy | tests/FakeItEasy.Tests/Core/ArgumentValueFormatterTests.cs | https://github.com/blairconrad/FakeItEasy/blob/HEAD/tests/FakeItEasy.Tests/Core/ArgumentValueFormatterTests.cs | ghcode:00174:15f62dadbdc8 | mit | codeparrot/github-code | 15f62dadbdc8a65d9bb2bba154b719a7ddc0072a86424f5516e7dd94586a9564 | 0.85 | testing_debugging_repair_refactoring | 1,147 | false | 2026-07-17 |
// Copyright 2011 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using NUnit.Framework;
namespace NodaTime.Test
{
public partial class LocalTimeTest
{
[Test]
public void PlusHours_Simple()
... | BenJenkinson/nodatime | src/NodaTime.Test/LocalTimeTest.Pseudomutators.cs | https://github.com/BenJenkinson/nodatime/blob/HEAD/src/NodaTime.Test/LocalTimeTest.Pseudomutators.cs | ghcode:00174:e266db693ffc | apache-2.0 | codeparrot/github-code | e266db693ffc859e6133445840c9de81b596ccc635d09467184935b344b643c5 | 0.7 | testing_debugging_repair_refactoring | 1,207 | false | 2026-07-17 |
// Copyright 2018 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | googleapis/google-cloud-dotnet | apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.IntegrationTests/RetentionPolicyTest.cs | https://github.com/googleapis/google-cloud-dotnet/blob/HEAD/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.IntegrationTests/RetentionPolicyTest.cs | ghcode:00174:25bdabbab018 | apache-2.0 | codeparrot/github-code | 25bdabbab018c046a6a0e71bed59ca4c882d03ad73606dfc35ef7b04ee2e76ad | 0.85 | testing_debugging_repair_refactoring | 1,660 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.AspNetCore.Routing;
using Newtonsoft.Json.Linq;
using Xunit;
namespace Stratis.Bitcoin.Features.RPC.Tests
{
publ... | mikedennis/StratisBitcoinFullNode | src/Stratis.Bitcoin.Features.RPC.Tests/RPCParametersValueProviderTest.cs | https://github.com/mikedennis/StratisBitcoinFullNode/blob/HEAD/src/Stratis.Bitcoin.Features.RPC.Tests/RPCParametersValueProviderTest.cs | ghcode:00174:2afe71481086 | mit | codeparrot/github-code | 2afe7148108611f0ba01e6053174265b347c296beeef62b33d401de5c3c7c76c | 0.75 | testing_debugging_repair_refactoring | 1,220 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Consumption.Tests.Helpers;
using Microsoft.Azure.Management.Consumption;
using Microsoft.Azure.Management.Consumption.Models;
using Microsoft.Azure.Managem... | shahabhijeet/azure-sdk-for-net | src/SDKs/Consumption/Consumption.Tests/ScenarioTests/PricesheetTests.cs | https://github.com/shahabhijeet/azure-sdk-for-net/blob/HEAD/src/SDKs/Consumption/Consumption.Tests/ScenarioTests/PricesheetTests.cs | ghcode:00174:e963c15cc013 | mit | codeparrot/github-code | e963c15cc0135db4f7edff997287196ee4deca58021761ba77d36628efb384bc | 0.75 | testing_debugging_repair_refactoring | 745 | 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;
using System.Collections.Generic;
using System.Text;
using Microsoft.VisualStudio.Debugger.Interop;
using System.Diagnostics;
using System.Collections.Obj... | wesrupert/MIEngine | src/MIDebugEngine/Engine.Impl/EngineCallback.cs | https://github.com/wesrupert/MIEngine/blob/HEAD/src/MIDebugEngine/Engine.Impl/EngineCallback.cs | ghcode:00174:d8cc5bade2cf | mit | codeparrot/github-code | d8cc5bade2cf6cc01485a878f28474f015075c38b9e9ddd398298b4d43d8a2b9 | 0.7 | testing_debugging_repair_refactoring | 2,754 | false | 2026-07-17 |
/*
* Copyright 2001-2008 The Apache Software Foundation.
*
* 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 r... | st609877063/juddi | juddi-parent/juddi-client.net/juddi-client.net-integration.test/org.apache.juddi.client.test.integration/DigitalSignatureIntegrationTests.cs | https://github.com/st609877063/juddi/blob/HEAD/juddi-parent/juddi-client.net/juddi-client.net-integration.test/org.apache.juddi.client.test.integration/DigitalSignatureIntegrationTests.cs | ghcode:00174:884fe618118d | apache-2.0 | codeparrot/github-code | 884fe618118d0fb8e99d321d395e353032d4b88b526d711148dc53f8552b45f7 | 0.85 | testing_debugging_repair_refactoring | 1,468 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OfficeDevPnP.Core.Framework.Provisioning.Connectors;
using System.IO;
using OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml;
namespace OfficeDevPnP.Core.Tests.Framework.Connectors
{
[TestClass]
public class ConnectorOpenXmlTests
{
pri... | phillipharding/PnP-Sites-Core | Core/OfficeDevPnP.Core.Tests/Framework/Connectors/ConnectorOpenXmlTests.cs | https://github.com/phillipharding/PnP-Sites-Core/blob/HEAD/Core/OfficeDevPnP.Core.Tests/Framework/Connectors/ConnectorOpenXmlTests.cs | ghcode:00174:0365e467d237 | mit | codeparrot/github-code | 0365e467d2370529b5f620b151ead2b65ee8e9305668754db87c1722b0f74f89 | 0.85 | testing_debugging_repair_refactoring | 2,202 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Stratis.Bitcoin.IntegrationTests.Wallet;
using Xunit;
namespace Stratis.Bitcoin.IntegrationTests
{
internal class Program
{
public static void Main(string[] args)
{
RunAllTestsOf<Walle... | mikedennis/StratisBitcoinFullNode | src/Stratis.Bitcoin.IntegrationTests/Program.cs | https://github.com/mikedennis/StratisBitcoinFullNode/blob/HEAD/src/Stratis.Bitcoin.IntegrationTests/Program.cs | ghcode:00174:c387ea73451e | mit | codeparrot/github-code | c387ea73451e2d8442d8fc226a4fe4df45c974bac40698124a7bbaea015893b3 | 0.75 | testing_debugging_repair_refactoring | 332 | false | 2026-07-17 |
namespace Sitecore.Foundation.Multisite.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using NSubstitute;
using Sitecore.Configuration;
using Sitecore.Data;
using Sitecore.Foundation.Multisite.Provi... | GoranHalvarsson/Habitat | src/Foundation/Multisite/tests/DatasourceProviderFactoryTests.cs | https://github.com/GoranHalvarsson/Habitat/blob/HEAD/src/Foundation/Multisite/tests/DatasourceProviderFactoryTests.cs | ghcode:00174:414f5950278a | apache-2.0 | codeparrot/github-code | 414f5950278a4d917434a1e18cd81de99087ecc23bf03874df44d544ff107c4e | 0.85 | testing_debugging_repair_refactoring | 228 | 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 enable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.... | jmarolf/roslyn | src/Compilers/Core/Portable/Collections/ByteSequenceComparer.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Compilers/Core/Portable/Collections/ByteSequenceComparer.cs | ghcode:00174:6e59b83a0478 | mit | codeparrot/github-code | 6e59b83a0478f7da5c1ee7b6c7a38af0b49007133faa16fbfd254ec9a9c1ccc9 | 0.85 | testing_debugging_repair_refactoring | 690 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ... | Neoracle/Lean | Tests/Engine/DataFeeds/FillForwardEnumeratorTest.cs | https://github.com/Neoracle/Lean/blob/HEAD/Tests/Engine/DataFeeds/FillForwardEnumeratorTest.cs | ghcode:00174:fa9c6bc0bc37 | apache-2.0 | codeparrot/github-code | fa9c6bc0bc371eafb878547072f575f720ef74865406551fd07facf83184ae51 | 0.85 | testing_debugging_repair_refactoring | 5,862 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using System.Management.Automation;
namespace ReferenceTests.Language
{
class InvocationTests : ReferenceTestBase
{
/// <summary>
/// This was throwing an index out of range exception.
/// </summa... | WimObiwan/Pash | Source/ReferenceTests/Language/InvocationTests.cs | https://github.com/WimObiwan/Pash/blob/HEAD/Source/ReferenceTests/Language/InvocationTests.cs | ghcode:00174:929251540dad | bsd-3-clause | codeparrot/github-code | 929251540dadebc3db9b49898168f25ecf0a463581f680b62a02daaeab180193 | 0.85 | testing_debugging_repair_refactoring | 182 | 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;
using System.Diagnostics;
using Microsoft.CSharp.RuntimeBinder.Syntax;
namespace Microsoft.CSharp.Run... | dotnet-bot/corefx | src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/ExprFactory.cs | https://github.com/dotnet-bot/corefx/blob/HEAD/src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/ExprFactory.cs | ghcode:00174:a9306a1a3740 | mit | codeparrot/github-code | a9306a1a3740a6517f6b32026851c56dac23693e4e069b3474d6f1ec0903dcd3 | 0.95 | testing_debugging_repair_refactoring | 5,509 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="GeometryValidatorTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//------------------------------... | abkmr/odata.net | test/FunctionalTests/Tests/Microsoft.Spatial/GeometryValidatorTests.cs | https://github.com/abkmr/odata.net/blob/HEAD/test/FunctionalTests/Tests/Microsoft.Spatial/GeometryValidatorTests.cs | ghcode:00174:5124eabe2e58 | mit | codeparrot/github-code | 5124eabe2e586d6e3f511a501adc2c20883a7d25aa935d032c8bd3769d0e0b67 | 0.95 | testing_debugging_repair_refactoring | 769 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="EntityParameterRequestMessage.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-----------------------... | hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataServices/UnitTests/Client.TDD.Tests/Tests/EntityParameter/EntityParameterRequestMessage.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataServices/UnitTests/Client.TDD.Tests/Tests/EntityParameter/EntityParameterRequestMessage.cs | ghcode:00174:723ff16af875 | mit | codeparrot/github-code | 723ff16af875635f86bfb86a6b92c1763390be89ef40ea753eff5c3d558eae56 | 0.95 | testing_debugging_repair_refactoring | 223 | 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;
using System.IO;
using System.Threading;
using Xunit;
public class MoveFileTests
{
#region Window... | mafiya69/corefx | src/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.MoveFile.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.MoveFile.cs | ghcode:00174:ee1b9a6b2ba8 | mit | codeparrot/github-code | ee1b9a6b2ba88a499fa9774730818c9e1570041b2e04527ddba828ce9f9c3c45 | 0.95 | testing_debugging_repair_refactoring | 2,068 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Xunit;
using Xunit.Extensions;
namespace Ploeh.AutoFixture.Xunit.UnitTest
{
public class FakeDataAttribute : DataAttribute
{
private readonly MethodInfo expectedMethod;
private readonl... | yuva2achieve/AutoFixture | Src/AutoFixture.xUnit.net.UnitTest/FakeDataAttribute.cs | https://github.com/yuva2achieve/AutoFixture/blob/HEAD/Src/AutoFixture.xUnit.net.UnitTest/FakeDataAttribute.cs | ghcode:00174:44bcc6dafc11 | mit | codeparrot/github-code | 44bcc6dafc11beb403ee7528f596056fe31c9366a65ca8cd587bd40cd3f52c6e | 0.75 | testing_debugging_repair_refactoring | 168 | 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.Collections.Generic;
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class TypeBuild... | marksmeltzer/corefx | src/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderDefineProperty.cs | https://github.com/marksmeltzer/corefx/blob/HEAD/src/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderDefineProperty.cs | ghcode:00174:1b46d63837fe | mit | codeparrot/github-code | 1b46d63837fe3646303f44b1c99327a1cbab1fd18bba58eb4306377fd6ed3816 | 0.95 | testing_debugging_repair_refactoring | 2,705 | false | 2026-07-17 |
using System.Collections.Generic;
using Xunit.Sdk;
namespace Nuwa.Sdk
{
/// <summary>
/// A RunElementPerceiver (perceiver) is used to percieve a collection of
/// related RunElements (elements) from a given NuwaTestClassCommand (test
/// class). The group of returned elements mutually exclusive, and... | yonglehou/WebApi | OData/test/E2ETestV3/Nuwa/Sdk/IRunElementPerceiver.cs | https://github.com/yonglehou/WebApi/blob/HEAD/OData/test/E2ETestV3/Nuwa/Sdk/IRunElementPerceiver.cs | ghcode:00174:460590d41174 | mit | codeparrot/github-code | 460590d41174d59e219870cac290246d307ef89c1b6ec3d8ac6b2dd2ed6b8e5a | 0.95 | testing_debugging_repair_refactoring | 273 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.Un... | pdelvo/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/NameOfKeywordRecommenderTests.cs | https://github.com/pdelvo/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/NameOfKeywordRecommenderTests.cs | ghcode:00174:ed32f1b374a0 | apache-2.0 | codeparrot/github-code | ed32f1b374a0b542b4050f37680a5f1596653195eb66421415698681f0520436 | 0.75 | testing_debugging_repair_refactoring | 639 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Test_NUnit;
using System.Data.Linq;
using nwind;
// test ns
#if MYSQL
namespace Test_NUnit_MySql
#elif ORACLE && ODP
namespace Test_NUnit_OracleODP
#elif ORACLE
namespace Tes... | vinodvar/dblinq | src/DbLinq/Test/Providers/Attach.cs | https://github.com/vinodvar/dblinq/blob/HEAD/src/DbLinq/Test/Providers/Attach.cs | ghcode:00174:9869bb78b364 | mit | codeparrot/github-code | 9869bb78b364156f609375c97a809c952a5109894c100602ef44833b8957188f | 0.85 | testing_debugging_repair_refactoring | 672 | false | 2026-07-17 |
//
// Copyright (c) Microsoft. 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
//
// Unless required by app... | AuxMon/azure-sdk-for-net | src/ResourceManagement/ApiManagement/ApiManagement.Tests/ScenarioTests/SmapiTests/SmapiFunctionalTests.OpenIdConnectProviders.cs | https://github.com/AuxMon/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/ApiManagement/ApiManagement.Tests/ScenarioTests/SmapiTests/SmapiFunctionalTests.OpenIdConnectProviders.cs | ghcode:00174:861fac77a2a9 | apache-2.0 | codeparrot/github-code | 861fac77a2a9c9bcaf4e0a7187832d5b000f4e431f89b781dd8803be43d28589 | 0.85 | testing_debugging_repair_refactoring | 1,532 | 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... | zhencui/azure-powershell | src/ResourceManager/NotificationHubs/Commands.NotificationHubs.Test/ScenarioTests/TestBaseClass.cs | https://github.com/zhencui/azure-powershell/blob/HEAD/src/ResourceManager/NotificationHubs/Commands.NotificationHubs.Test/ScenarioTests/TestBaseClass.cs | ghcode:00174:6c70ae8a4275 | apache-2.0 | codeparrot/github-code | 6c70ae8a4275b99661b4abf97464569932e2e63919f693946762f8b30ef4bb7a | 0.85 | testing_debugging_repair_refactoring | 927 | false | 2026-07-17 |
using System;
using System.IO.Compression;
using System.Net;
using NUnit.Framework;
using RestSharp.IntegrationTests.Helpers;
namespace RestSharp.IntegrationTests
{
[TestFixture]
public class CompressionTests
{
[Test]
public void Can_Handle_Gzip_Compressed_Content()
{
U... | dmgandini/RestSharp | RestSharp.IntegrationTests/CompressionTests.cs | https://github.com/dmgandini/RestSharp/blob/HEAD/RestSharp.IntegrationTests/CompressionTests.cs | ghcode:00174:451f3fd806d8 | apache-2.0 | codeparrot/github-code | 451f3fd806d8ae3f49ba76b5715a0d39363e0898ffe280863974b0c4a83c3c48 | 0.85 | testing_debugging_repair_refactoring | 504 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.