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.
using System.ComponentModel;
using Xunit;
namespace System.DirectoryServices.Protocols.Tests
{
public class Di... | nbarbettini/corefx | src/System.DirectoryServices.Protocols/tests/DirectoryAttributeModificationTests.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.DirectoryServices.Protocols/tests/DirectoryAttributeModificationTests.cs | ghcode:00170:ddc028b8d4bb | mit | codeparrot/github-code | ddc028b8d4bb27b66476084f2f38fe09044dcc4e08a92764db90067646579bf0 | 0.95 | testing_debugging_repair_refactoring | 240 | false | 2026-07-17 |
using System;
using System.Messaging;
using MessageQueuing;
using MessageQueuing.Tests.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Text;
namespace MessageQueuing.Tests
{
[TestClass]
public class JsonMessageFormatterTests
{
[TestMethod]
public void T... | dejanstojanovic/MessageQueue-Manager | src/MessageQueuing.Tests/JsonMessageFormatterTests.cs | https://github.com/dejanstojanovic/MessageQueue-Manager/blob/HEAD/src/MessageQueuing.Tests/JsonMessageFormatterTests.cs | ghcode:00170:931927c5c952 | mit | codeparrot/github-code | 931927c5c9526dab22b3aa4a6fac838b6addd6f81f216ac5acf8ce384cf9035d | 0.75 | testing_debugging_repair_refactoring | 219 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Steamworks.Data;
namespace Steamworks
{
[TestClass]
[DeploymentItem( "steam_api64.dll" )]
[DeploymentItem( "steam_api.dll" )]
public class UgcTe... | Facepunch/Facepunch.Steamworks | Facepunch.Steamworks.Test/UgcTest.cs | https://github.com/Facepunch/Facepunch.Steamworks/blob/HEAD/Facepunch.Steamworks.Test/UgcTest.cs | ghcode:00170:86809b8efd4c | mit | codeparrot/github-code | 86809b8efd4ca96d53ebd3eb0c47cf38dc90369ab7307d0e373b79d87262deab | 0.6 | testing_debugging_repair_refactoring | 312 | false | 2026-07-17 |
using AspNetCoreComponentLibrary;
using AspNetCoreComponentLibrary.Abstractions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using Xunit;
namespace AspNetCore.Test
{
public class CultureTests
{
[Theory]
[InlineData("ru")]
[InlineData("ru-RU")]
... | 96467840/AspNetCore | test/AspNetCore.Test/CultureTests.cs | https://github.com/96467840/AspNetCore/blob/HEAD/test/AspNetCore.Test/CultureTests.cs | ghcode:00170:3b27e81b5801 | mit | codeparrot/github-code | 3b27e81b580112266e958b73c30e9a87f02f9dd114445e6ae7f277a86a00336c | 0.85 | testing_debugging_repair_refactoring | 274 | false | 2026-07-17 |
using NUnit.Framework;
using Moq;
using SJP.Schematic.Core;
using SJP.Schematic.Tests.Utilities;
namespace SJP.Schematic.Oracle.Tests
{
[TestFixture]
internal static class OracleRelationalKeyTests
{
[Test]
public static void Ctor_GivenNullChildTable_ThrowsArgumentNullException()
{
... | sjp/SJP.Schema | src/SJP.Schematic.Oracle.Tests/OracleRelationalKeyTests.cs | https://github.com/sjp/SJP.Schema/blob/HEAD/src/SJP.Schematic.Oracle.Tests/OracleRelationalKeyTests.cs | ghcode:00170:88451aa4b209 | mit | codeparrot/github-code | 88451aa4b2096d24622ce7f1d3e507f125cadaf6826c08a9a8971423974badda | 0.75 | testing_debugging_repair_refactoring | 1,927 | false | 2026-07-17 |
using System;
using Autofac;
using Autofac.Builder;
using NUnit.Framework;
using TeamBot.Tests.AutofacModules;
using TeamBot.Tests.Conventions.Container;
namespace TeamBot.Tests.Conventions
{
public class VerifyAllTypesRegisteredWithTheContainer
{
[Test]
public void VerifyAllTypesCanBeResolved... | gertjvr/TeamBot | src/TeamBot.Tests/Conventions/VerifyAllTypesRegisteredWithTheContainer.cs | https://github.com/gertjvr/TeamBot/blob/HEAD/src/TeamBot.Tests/Conventions/VerifyAllTypesRegisteredWithTheContainer.cs | ghcode:00170:8eddfc4bcd03 | mit | codeparrot/github-code | 8eddfc4bcd036815e48d71bd51309b29dc33aa947afd2834db1ee96beb7f1b2c | 0.6 | testing_debugging_repair_refactoring | 233 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CohenSutherlandClippingTests.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// Provides unit tests for the <see cref="Cohe... | luiseduardohdbackup/oxyplot-v2 | Source/OxyPlot.Tests/Foundation/CohenSutherlandClippingTests.cs | https://github.com/luiseduardohdbackup/oxyplot-v2/blob/HEAD/Source/OxyPlot.Tests/Foundation/CohenSutherlandClippingTests.cs | ghcode:00170:fc9b9065237b | mit | codeparrot/github-code | fc9b9065237beb454afd1800f3253269431b03009c8406c9b0a68255bded2304 | 0.85 | testing_debugging_repair_refactoring | 1,026 | false | 2026-07-17 |
using System.Collections.Generic;
using Frontenac.Blueprints.Impls;
using NUnit.Framework;
namespace Frontenac.Blueprints
{
public class TestSuite : BaseTest
{
private readonly string _name;
protected GraphTest GraphTest;
public TestSuite(string name, GraphTest graphTest)
{
... | Loupi/Frontenac | Frontenac/Blueprints.TestSuite/TestSuite.cs | https://github.com/Loupi/Frontenac/blob/HEAD/Frontenac/Blueprints.TestSuite/TestSuite.cs | ghcode:00170:65784bb17741 | mit | codeparrot/github-code | 65784bb17741588a952b588178989bf432a0359aec0035893056a0587e8b61f3 | 0.75 | testing_debugging_repair_refactoring | 314 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Xunit.Sdk;
namespace Parquet.Test.Xunit
{
public class RepeatAttribute : DataAttribute
{
private readonly int _count;
public RepeatAttribute(int count)
{
if (count < 1... | elastacloud/parquet-dotnet | src/Parquet.Test/Xunit/RepeatAttribute.cs | https://github.com/elastacloud/parquet-dotnet/blob/HEAD/src/Parquet.Test/Xunit/RepeatAttribute.cs | ghcode:00170:2ae9688962d7 | mit | codeparrot/github-code | 2ae9688962d78d9ea52c9f1655cde2216ddae79429c6f11c9bd913c3a56c1f61 | 0.75 | testing_debugging_repair_refactoring | 135 | false | 2026-07-17 |
namespace SafeOrbit.Tests.Cases
{
public static class ByteCases
{
public static byte[] AllBytes =
{
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 4... | undergroundwires/SafeOrbit | src/tests/Common/Cases/ByteCases.cs | https://github.com/undergroundwires/SafeOrbit/blob/HEAD/src/tests/Common/Cases/ByteCases.cs | ghcode:00170:0ca429da9d06 | mit | codeparrot/github-code | 0ca429da9d06a9921d250186c19715fccf0577dde99b6d315bcb8cd6e0886685 | 0.85 | testing_debugging_repair_refactoring | 2,889 | false | 2026-07-17 |
using ProgrammersSpot.Business.MVP.Presenters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ProgrammersSpot.Business.MVP.Views;
using ProgrammersSpot.Business.Services.Contracts;
namespace ProgrammersSpot.Business.MVP.Tests.Mocks
{
publi... | loriyana-saves-daniel/programmers-spot | ProgrammersSpot/Tests/Business/ProgrammersSpot.Business.MVP.Tests/Mocks/UploadImagePresenterMock.cs | https://github.com/loriyana-saves-daniel/programmers-spot/blob/HEAD/ProgrammersSpot/Tests/Business/ProgrammersSpot.Business.MVP.Tests/Mocks/UploadImagePresenterMock.cs | ghcode:00170:2262c0a51beb | mit | codeparrot/github-code | 2262c0a51beb57dd4fbc8817656142e52af44d8ded213078818bd9d900b8c612 | 0.85 | testing_debugging_repair_refactoring | 249 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Text;
namespace VmRocha.Jwt.Tests
{
[TestFixture]
public class Base64UrlTests
{
private string _encoded;
private byte[] _decoded;
private Base64Url _base64Url;
[SetUp]
public void SetUp()
{
_base... | vmrocha/jwt | VmRocha.Jwt.Tests/Base64UrlTests.cs | https://github.com/vmrocha/jwt/blob/HEAD/VmRocha.Jwt.Tests/Base64UrlTests.cs | ghcode:00170:d40b1970647c | mit | codeparrot/github-code | d40b1970647c0769dc52a6894a1bf84a5253b2c8cfca33c738cf2e906eeb150f | 0.75 | testing_debugging_repair_refactoring | 377 | 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.MaintainabilityRules
{
using System.Threading;
using System.Threading.Tasks;
using Microso... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test/MaintainabilityRules/SA1119UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test/MaintainabilityRules/SA1119UnitTests.cs | ghcode:00170:415fd91dd0ef | mit | codeparrot/github-code | 415fd91dd0ef75ba85422c4a46cc6c01b864a69a27f992a5b3832a3f892d6343 | 0.85 | testing_debugging_repair_refactoring | 9,765 | false | 2026-07-17 |
using FluentAssertions;
using iTunesAssistantLib;
using iTunesLib;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
namespace iTunesAssistantLibTest
{
[TestClass]
public class AlbumWorkflowRunnerTests
{
private readon... | jasonracey/iTunesAssistant | iTunesAssistantLibTest/Workflow/AlbumWorkflowRunnerTests.cs | https://github.com/jasonracey/iTunesAssistant/blob/HEAD/iTunesAssistantLibTest/Workflow/AlbumWorkflowRunnerTests.cs | ghcode:00170:7c9cb77eea40 | mit | codeparrot/github-code | 7c9cb77eea408f458363779a719c609aebfd1582caab3480ee7598081004341c | 0.85 | testing_debugging_repair_refactoring | 894 | false | 2026-07-17 |
using System;
using FluentAssertions;
using NUnit.Framework;
using MinutoSeguros.BlogFeed.Core.Exceptions;
namespace MinutoSeguros.BlogFeed.Core.Tests.Exceptions
{
[TestFixture]
public class InternalServerErrorExceptionTest
{
[Test]
public void Should_ReturnAnExactErrorMessage_InInternalSe... | jeduardocosta/oportunidade | test/MinutoSeguros.BlogFeed.Core.Tests/Exceptions/InternalServerErrorExceptionTest.cs | https://github.com/jeduardocosta/oportunidade/blob/HEAD/test/MinutoSeguros.BlogFeed.Core.Tests/Exceptions/InternalServerErrorExceptionTest.cs | ghcode:00170:a60de1dcd490 | mit | codeparrot/github-code | a60de1dcd490f386cd5cd1b96403a8c268a22425c4020843a2c3edd82feea768 | 0.6 | testing_debugging_repair_refactoring | 113 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="NodeHello.cs" company="Sean McElroy">
// Copyright Sean McElroy; released as open-source software under the licensing terms of the MIT License.
// </copyright>
// <summary>
// ... | seanmcelroy/Mystiko | Mystiko.Library.Core/Net/Messages/NodeHello.cs | https://github.com/seanmcelroy/Mystiko/blob/HEAD/Mystiko.Library.Core/Net/Messages/NodeHello.cs | ghcode:00170:56f923e2e1b7 | mit | codeparrot/github-code | 56f923e2e1b70dff97cad80ced52d3a9e4c4215e8ea8202bd85f435d1ccb284d | 0.85 | testing_debugging_repair_refactoring | 1,599 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2014-2016, Institute for Software & Systems Engineering
//
// 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 wi... | cubeme/ssharp | Tests/FaultActivation/StateGraph/fault without observable effect.cs | https://github.com/cubeme/ssharp/blob/HEAD/Tests/FaultActivation/StateGraph/fault without observable effect.cs | ghcode:00170:d87458b9f3c4 | mit | codeparrot/github-code | d87458b9f3c4f239b1a3741be67346da1fb491d655589f56a1b979456775e36b | 0.85 | testing_debugging_repair_refactoring | 455 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SecurityConsultantCore.Domain;
using SecurityConsultantCore.Domain.Basic;
using SecurityConsultantCore.Player;
using SecurityConsultantCore.Test.Engine;
using SecurityConsultantCore.Test._TestDoubles;
namespace SecurityConsultantCore.Test.Player
{
[TestCla... | EnigmaDragons/SecurityConsultantCore | test/SecurityConsultantCore.Test/Player/EditCommandTests.cs | https://github.com/EnigmaDragons/SecurityConsultantCore/blob/HEAD/test/SecurityConsultantCore.Test/Player/EditCommandTests.cs | ghcode:00170:c901d57528f0 | mit | codeparrot/github-code | c901d57528f0ed32497db3507421d2732ddaed83cac5ce7e8c1c4633534a450e | 0.75 | testing_debugging_repair_refactoring | 371 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Modules.TraktCheckinsModule
{
using FluentAssertions;
using System;
using System.Net;
using System.Threading.Tasks;
using TestUtils;
using Traits;
using TraktApiSharp.Exceptions;
using TraktApiSharp.Responses;
using Xunit;
[Category("Modules.Checki... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Modules/TraktCheckinsModule/TraktCheckinsModule_DeleteAnyActiveCheckins_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Modules/TraktCheckinsModule/TraktCheckinsModule_DeleteAnyActiveCheckins_Tests.cs | ghcode:00170:90ce49eed569 | mit | codeparrot/github-code | 90ce49eed569f5a349b3cc729d7abd4978189ad9f3abc2a57fb12574af78702d | 0.85 | testing_debugging_repair_refactoring | 1,567 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Wyam.Common.Documents;
using Wyam.Common.Meta;
using Wyam.Core.Documents;
using Wyam.Core.Execution;
using Wyam.Core.Meta;
using Wyam.Core.Modules.Control;
using Wyam.Core.Modules.Extensibility;
using Wyam.Core.Modules.Metadata;
using Wy... | Wyamio/Wyam | tests/core/Wyam.Core.Tests/Modules/Control/GroupByFixture.cs | https://github.com/Wyamio/Wyam/blob/HEAD/tests/core/Wyam.Core.Tests/Modules/Control/GroupByFixture.cs | ghcode:00170:6cc5ffa9e2a5 | mit | codeparrot/github-code | 6cc5ffa9e2a569806b5d4e4d1220b4fabf3b5f2a176157feec4a71c200d550ca | 0.85 | testing_debugging_repair_refactoring | 1,154 | false | 2026-07-17 |
using BNQ.Core.Abstractions;
using BNQ.Core.Factories;
using BNQ.Core.Models;
using BNQ.Core.Search;
using BNQ.Core.Tests.Doubles;
using Moq;
using NUnit.Framework;
namespace BNQ.Core.Tests.Search
{
public class SimulatorTests
{
private Mock<IStateFactory> stateFactory;
private Mo... | YouJinTou/BNQ | BNQ/BNQ.Core.Tests/Search/SimulatorTests.cs | https://github.com/YouJinTou/BNQ/blob/HEAD/BNQ/BNQ.Core.Tests/Search/SimulatorTests.cs | ghcode:00170:0cfad3dbd7dd | mit | codeparrot/github-code | 0cfad3dbd7dd2474140310e9d9de7a43d756ec2b410cf168b41f2a60731d47d3 | 0.75 | testing_debugging_repair_refactoring | 1,938 | false | 2026-07-17 |
namespace CreateRuleFabricBotTests
{
public class TestAndExpected
{
public TestAndExpected(string pathAndOwnersLine, string labelsLine, string expectedPath, string[] expectedOwners, string[] expectedLabels)
{
PathAndOwners = pathAndOwnersLine;
LabelsLine = labelsLine;
... | tg-msft/azure-sdk-tools | tools/CreateRuleFabricBot/CreateRuleFabricBotTests/TestAndExpected.cs | https://github.com/tg-msft/azure-sdk-tools/blob/HEAD/tools/CreateRuleFabricBot/CreateRuleFabricBotTests/TestAndExpected.cs | ghcode:00170:d57d09787f20 | mit | codeparrot/github-code | d57d09787f202bb994d7016a237fbeedb12373d71e053d7e67d308b9c272f5c3 | 0.75 | testing_debugging_repair_refactoring | 149 | false | 2026-07-17 |
using Razorpay.Api;
using System.Collections.Generic;
using NUnit.Framework;
namespace RazorpayClientTest
{
public class PaymentTestCases
{
public static void Init(string key, string secret)
{
Helper.client = new RazorpayClient(key, secret);
}
public static void Ge... | razorpay/razorpay-dot-net | test/src/PaymentTestCases.cs | https://github.com/razorpay/razorpay-dot-net/blob/HEAD/test/src/PaymentTestCases.cs | ghcode:00170:1725a4370ce1 | mit | codeparrot/github-code | 1725a4370ce190ffbb5cb182c51879534a9fbb16e432744f3d15ed0e411b1ed0 | 0.7 | testing_debugging_repair_refactoring | 291 | false | 2026-07-17 |
namespace UglyToad.MakeMe
{
using System.Collections.Generic;
using System.Linq;
using Makers;
/// <summary>
/// Responsible for producing instances of test data of the correct type.
/// </summary>
/// <typeparam name="TGenerated">The type of test data to generate.</typeparam>
public c... | UglyToad/MakeMe | UglyToad.MakeMe/TestDataTypeFactory.cs | https://github.com/UglyToad/MakeMe/blob/HEAD/UglyToad.MakeMe/TestDataTypeFactory.cs | ghcode:00170:04df4fa0c673 | mit | codeparrot/github-code | 04df4fa0c673cb652939fe368494db5ae0a7089d1cd72aeb06fe63bf3afb055a | 0.85 | testing_debugging_repair_refactoring | 251 | false | 2026-07-17 |
using System;
using Xunit;
public class PhoneNumberTests
{
[Fact]
public void Cleans_the_number()
{
var phrase = "(223) 456-7890";
Assert.Equal("2234567890", PhoneNumber.Clean(phrase));
}
[Fact(Skip = "Remove this Skip property to run this test")]
public void Cleans_numbers_wit... | exercism/xcsharp | exercises/practice/phone-number/PhoneNumberTests.cs | https://github.com/exercism/xcsharp/blob/HEAD/exercises/practice/phone-number/PhoneNumberTests.cs | ghcode:00170:89d345b24f10 | mit | codeparrot/github-code | 89d345b24f108b64c6e29f4cddfa56a529d9f7fa581f1d5f61b430b46afb0d5d | 0.75 | testing_debugging_repair_refactoring | 1,212 | false | 2026-07-17 |
using System;
using Shouldly;
using Valit.Tests.HelperExtensions;
using Xunit;
namespace Valit.Tests.DateTime_
{
public class DateTime_IsAfterNow_Tests
{
[Fact]
public void DateTime_IsAfterNow_For_Not_Nullable_Value_Throws_When_Null_Rule_Is_Given()
{
var exception = Record.E... | valit-stack/Valit | tests/Valit.Tests/DateTime_/DateTime_IsAfterNow_Tests.cs | https://github.com/valit-stack/Valit/blob/HEAD/tests/Valit.Tests/DateTime_/DateTime_IsAfterNow_Tests.cs | ghcode:00170:4dcff1fd1927 | mit | codeparrot/github-code | 4dcff1fd1927848e618ecf7b94ce1e2bc5eedf506a5ebcde8ffeadc2475a8063 | 0.75 | testing_debugging_repair_refactoring | 696 | false | 2026-07-17 |
#region Copyright (c) 2014 Systematic
// **********************************************************************************
// The MIT License (MIT)
//
// Copyright (c) 2014 Systematic
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation ... | systematic-com/nunit | src/Systematic.NUnit/Constraints/ObjectPropertiesNotEqualsConstraint.cs | https://github.com/systematic-com/nunit/blob/HEAD/src/Systematic.NUnit/Constraints/ObjectPropertiesNotEqualsConstraint.cs | ghcode:00170:49a267ff1458 | mit | codeparrot/github-code | 49a267ff145847e4dbf9e79bdca1bdccca0994adbfca91e948b6a8a02ca3431a | 0.7 | testing_debugging_repair_refactoring | 570 | false | 2026-07-17 |
// Copyright © 2007 by Initial Force AS. All rights reserved.
// https://github.com/InitialForce/UnitsNet
//
// 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, includi... | BoGrevyDynatest/UnitsNet | UnitsNet.Tests/CustomCode/SpecificEnergyTests.cs | https://github.com/BoGrevyDynatest/UnitsNet/blob/HEAD/UnitsNet.Tests/CustomCode/SpecificEnergyTests.cs | ghcode:00170:749d9d242d94 | mit | codeparrot/github-code | 749d9d242d94448eb8229156c81a59bd6d80bd88dee9bf31b9286240edfb184b | 0.85 | testing_debugging_repair_refactoring | 642 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Overlook.Server.Storage.Sqlite;
namespace Overlook.Tests.Storage
{
[TestClass]
public class SqliteStorageEngineTests : StorageEngineBaseTests
{
[TestInitialize]
public void TestInitialize()
{
_storageEngine = new... | KallDrexx/Overlook | Overlook.Tests/Storage/SqliteStorageEngineTests.cs | https://github.com/KallDrexx/Overlook/blob/HEAD/Overlook.Tests/Storage/SqliteStorageEngineTests.cs | ghcode:00170:183325b551e8 | mit | codeparrot/github-code | 183325b551e843930c3216f37b88a4eece1e09d0588d6834cf25be8d737d53c5 | 0.75 | testing_debugging_repair_refactoring | 74 | false | 2026-07-17 |
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation directorys (the "Software"), to deal
* in the Software without restriction, including without limita... | alphaleonis/AlphaFS | tests/AlphaFS.UnitTest/FileInfo Class/FileInfo.Attributes.cs | https://github.com/alphaleonis/AlphaFS/blob/HEAD/tests/AlphaFS.UnitTest/FileInfo Class/FileInfo.Attributes.cs | ghcode:00170:a86dcd48c4a0 | mit | codeparrot/github-code | a86dcd48c4a001e37899bbef77a8898c990808147f2ce03ed67f2cedb2197a59 | 0.6 | testing_debugging_repair_refactoring | 711 | false | 2026-07-17 |
using ArgumentsParser;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using ArgumentsParser.ArgumentDescription;
namespace ArgumentsParser.Test
{
/// <summary>
///Classe de test pour ArgumentsParserManagerTest, destinée à co... | blueneosky/Bag | ArgumentsParser/ArgumentsParser.Test/ArgumentsParserManagerTest.cs | https://github.com/blueneosky/Bag/blob/HEAD/ArgumentsParser/ArgumentsParser.Test/ArgumentsParserManagerTest.cs | ghcode:00170:c190ccbe49cf | unlicense | codeparrot/github-code | c190ccbe49cfa8e3eff09e6d58ee2285dfd09766db8124d920e0e6e1282583f9 | 0.63 | testing_debugging_repair_refactoring | 964 | false | 2026-07-17 |
namespace Basic.Tests.Statements
{
using Basic.Runtime.Expressions;
using Basic.Runtime.Statements;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class InputTests : BaseTests
{
[TestMethod]
public void Execute_OfInput_StoresValueFromInput()
{
... | markshevchenko/learningbasic | Basic.Tests/RunTime/Statements/InputTests.cs | https://github.com/markshevchenko/learningbasic/blob/HEAD/Basic.Tests/RunTime/Statements/InputTests.cs | ghcode:00170:caa5622bef75 | unlicense | codeparrot/github-code | caa5622bef75c80cb3e3292409aac1c85116eda00b39e056434ae9a007f5e87b | 0.68 | testing_debugging_repair_refactoring | 195 | false | 2026-07-17 |
/*
Copyright 2016 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 writing, software
dis... | chrisdunelm/google-api-dotnet-client | Src/Support/Google.Apis.Tests/Apis/Requests/Parameters/ParameterUtilsTest.cs | https://github.com/chrisdunelm/google-api-dotnet-client/blob/HEAD/Src/Support/Google.Apis.Tests/Apis/Requests/Parameters/ParameterUtilsTest.cs | ghcode:00170:7b0b240bc33a | apache-2.0 | codeparrot/github-code | 7b0b240bc33a77c3880f26be1b9f985153c5fe4ddc6cbc6cd79181b63b0e1c45 | 0.85 | testing_debugging_repair_refactoring | 567 | false | 2026-07-17 |
//-------------------------------------------------------------------------------
// <copyright file="EnvelopeTest.cs" company="frokonet.ch">
// Copyright (C) frokonet.ch, 2014-2020
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Li... | froko/SimpleDomain | src/SimpleDomain.Facts/Bus/EnvelopeTest.cs | https://github.com/froko/SimpleDomain/blob/HEAD/src/SimpleDomain.Facts/Bus/EnvelopeTest.cs | ghcode:00170:e7e4fa7a356a | apache-2.0 | codeparrot/github-code | e7e4fa7a356abff3ac3a290fd828a9e65f917e6d47fcd6c29b130cda24e2e3a0 | 0.7 | testing_debugging_repair_refactoring | 1,862 | false | 2026-07-17 |
using System;
using System.IO;
using UnityEngine;
namespace AGXUnity
{
public struct VersionInfo : IComparable<VersionInfo>
{
public struct ReleaseType
{
public bool Official;
public int Alpha;
public int Beta;
public int Rc;
public bool IsAlpha { get { return Alpha >= 0; }... | Algoryx/agxUnity | AGXUnity/VersionInfo.cs | https://github.com/Algoryx/agxUnity/blob/HEAD/AGXUnity/VersionInfo.cs | ghcode:00170:02861a797ad9 | apache-2.0 | codeparrot/github-code | 02861a797ad968db4db3efd77f92efc4b6402c0b0104702dff2ea7379e76a7d8 | 0.7 | testing_debugging_repair_refactoring | 2,156 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading;
using System.Threading.Tasks;
using Azure.Cor... | stankovski/azure-sdk-for-net | sdk/search/Azure.Search.Documents/src/Models/SearchResult{T}.cs | https://github.com/stankovski/azure-sdk-for-net/blob/HEAD/sdk/search/Azure.Search.Documents/src/Models/SearchResult{T}.cs | ghcode:00170:d42586c6a710 | apache-2.0 | codeparrot/github-code | d42586c6a7101b7fdf440297d3c9da5df9e02ae1bb258dbd9fe7d12e951e1ac3 | 0.95 | testing_debugging_repair_refactoring | 1,155 | 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.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Emit;
using Roslyn.Utilities;
namespace Microsoft.CodeAnal... | ValentinRueda/roslyn | src/Compilers/CSharp/Portable/Symbols/Synthesized/SynthesizedFieldSymbolBase.cs | https://github.com/ValentinRueda/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Synthesized/SynthesizedFieldSymbolBase.cs | ghcode:00170:d0810ebdd237 | apache-2.0 | codeparrot/github-code | d0810ebdd2375e98ce0f04c2f10d383706e933f1ad45fce1ee61f58fe598cdd9 | 0.85 | testing_debugging_repair_refactoring | 913 | false | 2026-07-17 |
/**
* Copyright 2016 d-fens GmbH
*
* 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... | dfensgmbh/biz.dfch.CS.PowerShell.Commons | src/biz.dfch.CS.PowerShell.Commons.Tests/PSCmdletBaseTest.cs | https://github.com/dfensgmbh/biz.dfch.CS.PowerShell.Commons/blob/HEAD/src/biz.dfch.CS.PowerShell.Commons.Tests/PSCmdletBaseTest.cs | ghcode:00170:47bb9118d406 | apache-2.0 | codeparrot/github-code | 47bb9118d4065ff70d4a9da4b785780fd37219f222a37ac414942e7096c7433f | 0.6 | testing_debugging_repair_refactoring | 851 | 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;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.... | aspnet/AspNetCore | src/Servers/Kestrel/test/InMemory.FunctionalTests/MaxRequestBodySizeTests.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Servers/Kestrel/test/InMemory.FunctionalTests/MaxRequestBodySizeTests.cs | ghcode:00170:5d4a593f4a31 | apache-2.0 | codeparrot/github-code | 5d4a593f4a316b885264f808d5ec8d0ace31cff31245dad3afc98828c90b34d4 | 0.95 | testing_debugging_repair_refactoring | 4,047 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using NUnit.Framework;
using System.Xml;
using System.Xml.Schema;
using Newtonsoft.Json.Schema;
namespace Newtonsoft.Json.Tests
{
public class JsonValidatingReaderTests : TestFixtureBase
{
[Test]
public ... | DanielLazarov/test_me-windows_phone_ui | test_me-windows_phone_ui/json/Source/Src/Newtonsoft.Json.Tests/JsonValidatingReaderTests.cs | https://github.com/DanielLazarov/test_me-windows_phone_ui/blob/HEAD/test_me-windows_phone_ui/json/Source/Src/Newtonsoft.Json.Tests/JsonValidatingReaderTests.cs | ghcode:00170:24f89c90cd42 | apache-2.0 | codeparrot/github-code | 24f89c90cd4266d7c577b4f248eb78a0621c614308b4062915c5f3641486e45e | 0.85 | testing_debugging_repair_refactoring | 8,104 | false | 2026-07-17 |
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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 writing,... | mauricionr/nodejstools | Nodejs/Product/Nodejs/Repl/NpmReplCommand.cs | https://github.com/mauricionr/nodejstools/blob/HEAD/Nodejs/Product/Nodejs/Repl/NpmReplCommand.cs | ghcode:00170:b93b58ebd5c6 | apache-2.0 | codeparrot/github-code | b93b58ebd5c6328286916400c16be82f87431df5471df634c37978b1b6b8cd1c | 0.85 | testing_debugging_repair_refactoring | 2,076 | false | 2026-07-17 |
using System;
using Foundation.Services.UnitOfWorkServices;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace Foundation.Tests.Services.UnitOfWorkServices
{
[TestClass]
public class UnitOfWorkFactoryTests
{
[TestInitialize]
public void Initialize()
... | DavidMoore/Foundation | Tests/UnitTests/Foundation.Tests/Services/UnitOfWorkServices/UnitOfWorkFactoryTests.cs | https://github.com/DavidMoore/Foundation/blob/HEAD/Tests/UnitTests/Foundation.Tests/Services/UnitOfWorkServices/UnitOfWorkFactoryTests.cs | ghcode:00170:b2c7d8448f27 | apache-2.0 | codeparrot/github-code | b2c7d8448f272c378bd5afbecc2b47796ea6af60627f08f8c346c92055e3b3f5 | 0.75 | testing_debugging_repair_refactoring | 204 | false | 2026-07-17 |
/*
Copyright 2014 Chris Hannon
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 wri... | Norhaven/FluentBoilerplate | DotNet/FluentBoilerplate.Tests/SyntaxTestPlayground.cs | https://github.com/Norhaven/FluentBoilerplate/blob/HEAD/DotNet/FluentBoilerplate.Tests/SyntaxTestPlayground.cs | ghcode:00170:5687de08d599 | apache-2.0 | codeparrot/github-code | 5687de08d59908543f274686e99538023f4aef54a26069c621860c2163e10e27 | 0.85 | testing_debugging_repair_refactoring | 1,675 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
namespace Cake.Yaml.Tests
{
public class TestObject
{
public TestObject ()
{
Name = "Testing";
Items = new List<string> { "One", "Two", "Three" };
KeysAndValues = new Dictionary<string, string> {
... | Redth/Cake.Yaml | src/Cake.Yaml.Tests/TestObject.cs | https://github.com/Redth/Cake.Yaml/blob/HEAD/src/Cake.Yaml.Tests/TestObject.cs | ghcode:00170:c5ceeae5cb05 | apache-2.0 | codeparrot/github-code | c5ceeae5cb05e2b0672b44fb7047c4d4efe12e58c6356af0940211f53fac34b1 | 0.75 | testing_debugging_repair_refactoring | 304 | false | 2026-07-17 |
/* Yet Another Forum.NET
*
* Copyright (C) Jaben Cargman
* http://www.yetanotherforum.net/
*
* 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 limi... | vzrus/VZF | vzfsrc/VZF.UnitTests/VZF.Tests.UserTests/Authentification/RegisterTests.cs | https://github.com/vzrus/VZF/blob/HEAD/vzfsrc/VZF.UnitTests/VZF.Tests.UserTests/Authentification/RegisterTests.cs | ghcode:00170:a1072e4ee3c2 | apache-2.0 | codeparrot/github-code | a1072e4ee3c27f72187c63f25300a1ec60106ff620c1483705813cb522797bcb | 0.85 | testing_debugging_repair_refactoring | 1,085 | 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.
namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest
{
[ApiController]
public class NoDiagnos... | aspnet/AspNetCore | src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiActionsWithoutModelStateChecks.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiActionsWithoutModelStateChecks.cs | ghcode:00170:ddc16339391d | apache-2.0 | codeparrot/github-code | ddc16339391dd245c850697eacc86584e1bc696f388bed2e9ec147e099df0846 | 0.85 | testing_debugging_repair_refactoring | 109 | 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 System;
using System.Linq;
using Microsoft.Azure.KeyVault.Cryptography.Algorithms;
using Xunit;
namespace Microsoft.Azure.KeyVault.Cryptography.Tests
{... | smithab/azure-sdk-for-net | src/KeyVault/Microsoft.Azure.KeyVault.Cryptography.Tests/Tests/Cryptography/Algorithms/AesCbcTests.cs | https://github.com/smithab/azure-sdk-for-net/blob/HEAD/src/KeyVault/Microsoft.Azure.KeyVault.Cryptography.Tests/Tests/Cryptography/Algorithms/AesCbcTests.cs | ghcode:00170:56948538b11d | apache-2.0 | codeparrot/github-code | 56948538b11d73eef0098f1af185f7fc8c591751c7d4f7a68c1af2009cc349ed | 0.95 | testing_debugging_repair_refactoring | 3,127 | false | 2026-07-17 |
using NUnit.Framework;
namespace GoCoinAPI.Tests.Api
{
[TestFixture]
public class MerchantTests : ApiTestsBase
{
[Test]
public void CanGet()
{
var result = Client.api.merchants.get(User.merchant_id);
Assert.AreEqual(User.merchant_id, result.id);
... | GoCoin/gocoin-.net | GoCoinAPI.Tests/Api/MerchantTests.cs | https://github.com/GoCoin/gocoin-.net/blob/HEAD/GoCoinAPI.Tests/Api/MerchantTests.cs | ghcode:00170:218d410ed423 | apache-2.0 | codeparrot/github-code | 218d410ed423099a5f1c6830175b1a9ad7c6f779e78187683cd59d9092b9c11f | 0.75 | testing_debugging_repair_refactoring | 125 | false | 2026-07-17 |
#region copyright
// Copyright 2015 Habart Thierry
//
// 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 ... | thabart/SimpleIdentityServer | SimpleIdentityServer/tests/SimpleIdentityServer.Core.UnitTests/WebSite/User/GetUserOperationFixture.cs | https://github.com/thabart/SimpleIdentityServer/blob/HEAD/SimpleIdentityServer/tests/SimpleIdentityServer.Core.UnitTests/WebSite/User/GetUserOperationFixture.cs | ghcode:00170:0a10cbc62df7 | apache-2.0 | codeparrot/github-code | 0a10cbc62df75fa150d8922c40ccc0e6309d49a569d32c3434d0e50ffc6f9c8f | 0.95 | testing_debugging_repair_refactoring | 725 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="LoggerConfigurationKafkaExtensionsTests.cs" company="Wes Day">
// Copyright (c) 2016 Wes Day
//
// Licensed under the Apache License, Version 2.0 (the "License");
// yo... | wespday/serilog-sinks-kafka | src/Serilog.Sinks.Kafka.Tests/LoggerConfigurationKafkaExtensionsTests.cs | https://github.com/wespday/serilog-sinks-kafka/blob/HEAD/src/Serilog.Sinks.Kafka.Tests/LoggerConfigurationKafkaExtensionsTests.cs | ghcode:00170:e9d87fc97585 | apache-2.0 | codeparrot/github-code | e9d87fc975853546b25a2c5bb5192541d16525d610a61d397877454073a1b6c1 | 0.85 | testing_debugging_repair_refactoring | 471 | 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.Collections.Immutable;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using Sy... | pakdev/roslyn-analyzers | src/NetAnalyzers/Core/Microsoft.NetCore.Analyzers/Security/DoNotUseInsecureDeserializerWithoutBinderBase.cs | https://github.com/pakdev/roslyn-analyzers/blob/HEAD/src/NetAnalyzers/Core/Microsoft.NetCore.Analyzers/Security/DoNotUseInsecureDeserializerWithoutBinderBase.cs | ghcode:00170:67cf683b9b8c | apache-2.0 | codeparrot/github-code | 67cf683b9b8c0804f7db22729bde704dca31deb62247ae5d01d8a1b28e5e0044 | 0.85 | testing_debugging_repair_refactoring | 1,859 | false | 2026-07-17 |
using System.Diagnostics;
using System.Linq;
using NUnit.Framework;
using Virtlink.Vfs.Support;
/// <summary>
/// Initializer for all unit tests.
/// </summary>
[SetUpFixture]
// ReSharper disable once CheckNamespace
public class VfsTests
{
[OneTimeSetUp]
public void OneTimeSetUp()
{
var listenersToRemove = Debu... | Virtlink/vfs | test/Virtlink.Vfs.IntegrationTests/VfsTests.cs | https://github.com/Virtlink/vfs/blob/HEAD/test/Virtlink.Vfs.IntegrationTests/VfsTests.cs | ghcode:00170:3e7ba0fc5d45 | apache-2.0 | codeparrot/github-code | 3e7ba0fc5d4565c6cc9af2652120ca73264c26ca0dbecb38efa8f24c69e11a3a | 0.85 | testing_debugging_repair_refactoring | 141 | false | 2026-07-17 |
namespace Hangfire.StructureMap.Test
{
using System;
public class TestJob
{
public TestJob(BackgroundJobDependency backgroundJobDependency, UniqueDependency uniqueDependency, ObjectDependsOnSameDependency sameDependencyObject)
{
BackgroundJobDependency = backgroundJobDependency... | lucashby/Hangfire.StructureMap | src/Hangfire.StructureMap.Test/TestJob.cs | https://github.com/lucashby/Hangfire.StructureMap/blob/HEAD/src/Hangfire.StructureMap.Test/TestJob.cs | ghcode:00170:95d96b41a178 | apache-2.0 | codeparrot/github-code | 95d96b41a178dc2a4b1f05b3d8fee441c6e6993785181363415ba4c14db302bb | 0.75 | testing_debugging_repair_refactoring | 288 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ProviderManagerFacts.cs" company="CatenaLogic">
// Copyright (c) 2014 - 2016 CatenaLogic. All rights reserved.
// </copyright>
// -----------------------------------------------... | GitTools/GitLink | src/GitLink.Tests/Providers/ProviderManagerFacts.cs | https://github.com/GitTools/GitLink/blob/HEAD/src/GitLink.Tests/Providers/ProviderManagerFacts.cs | ghcode:00170:2a112bfc0617 | mit | codeparrot/github-code | 2a112bfc0617a262678df1c072c2519ca5e3843303b0d2da0d91ba33a06a7874 | 0.7 | testing_debugging_repair_refactoring | 243 | false | 2026-07-17 |
#if !NOT_UNITY3D
using System;
using System.IO;
using UnityEditor;
using UnityEngine;
using ModestTree;
using UnityEditor.SceneManagement;
using System.Linq;
using UnityEngine.SceneManagement;
namespace Zenject.Internal
{
public static class ZenMenuItems
{
// NOTE: We use shift+alt+v instead of contro... | Xaer033/YellowSign | YellowSignUnity/Assets/ThirdParty/Plugins/Zenject/Source/Editor/ZenMenuItems.cs | https://github.com/Xaer033/YellowSign/blob/HEAD/YellowSignUnity/Assets/ThirdParty/Plugins/Zenject/Source/Editor/ZenMenuItems.cs | ghcode:00170:d62c5401f4fa | mit | codeparrot/github-code | d62c5401f4faa21eba68f3bf311840b3aeed9ad6f4b481d368bd555caf44d968 | 0.7 | testing_debugging_repair_refactoring | 2,685 | false | 2026-07-17 |
using NDomain.Bus.Transport;
using NDomain.Bus.Transport.Redis;
using NDomain.Tests.Bus.Transport;
using NDomain.Tests.Specs;
using NUnit.Framework;
using StackExchange.Redis;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NDomain.Redis.Te... | mfelicio/NDomain | source/NDomain.Redis.Tests/Bus/Transport/RedisTransportTests.cs | https://github.com/mfelicio/NDomain/blob/HEAD/source/NDomain.Redis.Tests/Bus/Transport/RedisTransportTests.cs | ghcode:00170:6f77e57f9842 | mit | codeparrot/github-code | 6f77e57f984244f51879812ef0c1d2f40c4f38deca8a42d79c3d8d4974ebbdf6 | 0.75 | testing_debugging_repair_refactoring | 308 | false | 2026-07-17 |
using NUnit.Framework;
using QbSync.QbXml.Objects;
using QbSync.QbXml.Tests.Helpers;
namespace QbSync.QbXml.Tests.QbXml
{
[TestFixture]
class DataExtDefDelResponseTests
{
[Test]
public void BasicDataExtDefDelResponseTest()
{
var ret = "<DataExtDefDelRet><OwnerID>{7d543f... | cyberjared/quickbooks-sync | test/QbXml.Tests/Messages/Responses/DataExtDefDelResponseTests.cs | https://github.com/cyberjared/quickbooks-sync/blob/HEAD/test/QbXml.Tests/Messages/Responses/DataExtDefDelResponseTests.cs | ghcode:00170:4ba0124b561e | mit | codeparrot/github-code | 4ba0124b561e317be05ef4b5d7acfa9cb97cd7ecd2466665d1b0d823512e8924 | 0.75 | testing_debugging_repair_refactoring | 210 | 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 System.Diagnostics;
using System.IO;
using System.Net.Sockets;
using System.... | elijah6/corefx | src/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.MaxResponseHeadersLength.cs | https://github.com/elijah6/corefx/blob/HEAD/src/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.MaxResponseHeadersLength.cs | ghcode:00170:d6372aac9b67 | mit | codeparrot/github-code | d6372aac9b67f0afe1505777a3fc60d4db8d83b4edaf3b53272f64bbab573d78 | 0.95 | testing_debugging_repair_refactoring | 1,229 | false | 2026-07-17 |
using System;
using LinqToDB.Mapping;
namespace Tests.Model
{
public class TestIdentity
{
[Identity, PrimaryKey]
//[SequenceName(ProviderName.PostgreSQL, "Seq")]
//[SequenceName(ProviderName.Firebird, "PersonID")]
//[SequenceName("ID")]
public int ID;
}
}
| MaceWindu/linq2db | Tests/Model/TestIdentity.cs | https://github.com/MaceWindu/linq2db/blob/HEAD/Tests/Model/TestIdentity.cs | ghcode:00170:f1761733f456 | mit | codeparrot/github-code | f1761733f4562a46b635346d2372a6053512b92c6b896d854e62978ad7504553 | 0.85 | testing_debugging_repair_refactoring | 76 | false | 2026-07-17 |
using System.Collections.Generic;
namespace KERBALISM
{
/// <summary>
/// Contains a list of resources that can be dumped overboard
/// </summary>
public sealed class DumpSpecs
{
// constructor
/// <summary> Configures the always dump resources and the dump valves, dump valves are only used if always_dump ... | PiezPiedPy/Kerbalism | src/Kerbalism/Utility/DumpSpec.cs | https://github.com/PiezPiedPy/Kerbalism/blob/HEAD/src/Kerbalism/Utility/DumpSpec.cs | ghcode:00170:4e4bc44d9dd3 | unlicense | codeparrot/github-code | 4e4bc44d9dd3485c1a52f4b29d4901ef8035a492326d8752a68bd11afaf65f31 | 0.78 | testing_debugging_repair_refactoring | 887 | false | 2026-07-17 |
namespace Springboard365.Xrm.Plugins.Core.Test
{
using NUnit.Framework;
using Springboard365.Xrm.UnitTest.Core;
[TestFixture]
public class WhenExecutingCancelContractPluginSuccessfully : Specification<DummyCancelContractPlugin>
{
protected override void Context()
{
Test... | SpringBoard365/Springboard365.Xrm.Plugins.Core | Springboard365.Xrm.Plugins.Core.Test/CancelContractPlugin/WhenExecutingCancelContractPluginSuccessfully.cs | https://github.com/SpringBoard365/Springboard365.Xrm.Plugins.Core/blob/HEAD/Springboard365.Xrm.Plugins.Core.Test/CancelContractPlugin/WhenExecutingCancelContractPluginSuccessfully.cs | ghcode:00170:58e655fd0cca | apache-2.0 | codeparrot/github-code | 58e655fd0cca99d8d8d6292a2ab35b5e3780ce2c270abc35df8a8bd079f6bb7e | 0.6 | testing_debugging_repair_refactoring | 279 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using AutoPoco.Engine;
using AutoPoco.Testing;
namespace AutoPoco.Tests.Integration.Complete
{
[TestFixture]
public class WhenRequestingClosedGenericType
{
IGenerationSession mSession;
... | reddy6ue/AutoPoco.NetCore | AutoPoco.Tests.Integration/Complete/WhenRequestingClosedGenericType.cs | https://github.com/reddy6ue/AutoPoco.NetCore/blob/HEAD/AutoPoco.Tests.Integration/Complete/WhenRequestingClosedGenericType.cs | ghcode:00170:032744094734 | apache-2.0 | codeparrot/github-code | 032744094734a3ae632e1f9d99bf333412d9a8814470b3dfe3af827175c06767 | 0.75 | testing_debugging_repair_refactoring | 149 | 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.Text;
using System.Globalization;
using Xunit;
namespace System.Globalization.Tests
{
public class CompareInfoIndexOf2
{
pri... | mellinoe/corefx | src/System.Globalization/tests/CompareInfo/CompareInfoIndexOf2.cs | https://github.com/mellinoe/corefx/blob/HEAD/src/System.Globalization/tests/CompareInfo/CompareInfoIndexOf2.cs | ghcode:00170:084a374c9f8f | mit | codeparrot/github-code | 084a374c9f8fa6672ff525a7ab9462086506685b2b0f21901e7aeb9e011dddfe | 0.95 | testing_debugging_repair_refactoring | 598 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using AngleSharp.Common;
using AutoFixture.NUnit3;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
using Microsoft... | umbraco/Umbraco-CMS | tests/Umbraco.Tests.UnitTests/Umbraco.Web.BackOffice/Controllers/MemberControllerUnitTests.cs | https://github.com/umbraco/Umbraco-CMS/blob/HEAD/tests/Umbraco.Tests.UnitTests/Umbraco.Web.BackOffice/Controllers/MemberControllerUnitTests.cs | ghcode:00170:2e97109b2c26 | mit | codeparrot/github-code | 2e97109b2c2692b6f4f4a2bdd61476626cba3c7101bc4caf2cd7e696359e8da7 | 0.85 | testing_debugging_repair_refactoring | 6,140 | false | 2026-07-17 |
// suppress "Missing XML comment for publicly visible type or member"
#pragma warning disable 1591
#region ReSharper warnings
// ReSharper disable PartialTypeWithSinglePart
// ReSharper disable RedundantNameQualifier
// ReSharper disable InconsistentNaming
// ReSharper disable CheckNamespace
// ReSharper disable Un... | gencer/bond | compiler/tests/generated/collection-interfaces/complex_types_types.cs | https://github.com/gencer/bond/blob/HEAD/compiler/tests/generated/collection-interfaces/complex_types_types.cs | ghcode:00170:729983f3e74f | mit | codeparrot/github-code | 729983f3e74f7635b3a52c8942d5f8a6aec02918148588ab0dbd92d1bad878ea | 0.95 | testing_debugging_repair_refactoring | 545 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Shouldly;
using StructureMap.Building;
using StructureMap.Graph;
using StructureMap.Pipeline;
using StructureMap.Testing.Widget3;
namespace StructureMap.Testing.Pipeline
{
[TestFixture]
public class BuildStrategiesTester
{
public class StubIns... | NightOwl888/structuremap | src/StructureMap.Testing/Pipeline/BuildStrategiesTester.cs | https://github.com/NightOwl888/structuremap/blob/HEAD/src/StructureMap.Testing/Pipeline/BuildStrategiesTester.cs | ghcode:00170:ed9a8a06003f | apache-2.0 | codeparrot/github-code | ed9a8a06003fe103a1882cfe5a3839ed40aa87122f728f8df74c4c3fa877d0e6 | 0.75 | testing_debugging_repair_refactoring | 773 | 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.Symbols;
using Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Micro... | orthoxerox/roslyn | src/Compilers/CSharp/Test/Emit/Attributes/AttributeTests_RefReadOnly.cs | https://github.com/orthoxerox/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/Attributes/AttributeTests_RefReadOnly.cs | ghcode:00170:8c5220351608 | apache-2.0 | codeparrot/github-code | 8c5220351608bda7c7038500f5192ab5c7a7d170824a30893e4667d1461fc02c | 0.82 | testing_debugging_repair_refactoring | 18,267 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Messaging.EventHubs.Authorization;
using Moq;
... | ayeletshpigelman/azure-sdk-for-net | sdk/eventhub/Azure.Messaging.EventHubs.Shared/tests/Authorization/EventHubTokenCredentialTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/eventhub/Azure.Messaging.EventHubs.Shared/tests/Authorization/EventHubTokenCredentialTests.cs | ghcode:00170:a0f7ecbe3bcc | mit | codeparrot/github-code | a0f7ecbe3bcc9f90ac5857cf8a793f62fa2d5fd8139cbe3f55fbf63a3625ab30 | 0.95 | testing_debugging_repair_refactoring | 996 | 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... | juvchan/azure-powershell | src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/Mocks/MockClientFactory.cs | https://github.com/juvchan/azure-powershell/blob/HEAD/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/Mocks/MockClientFactory.cs | ghcode:00170:dc1db39b9635 | apache-2.0 | codeparrot/github-code | dc1db39b9635eeb980a4c26e14053adfe0c4197c8c43825e1592dd61769142e2 | 0.85 | testing_debugging_repair_refactoring | 1,661 | false | 2026-07-17 |
using System;
using LightBlue.Standalone;
using Xunit;
using Xunit.Extensions;
namespace LightBlue.Tests.Standalone.QueueStorage
{
public class StandaloneAzureQueueStorageClientTests
{
[Fact]
public void WillThrowIfConstructorStorageAccountDirectoryIsNull()
{
Assert.Throw... | wangdoubleyan/LightBlue | LightBlue.Tests/Standalone/QueueStorage/StandaloneAzureQueueStorageClientTests.cs | https://github.com/wangdoubleyan/LightBlue/blob/HEAD/LightBlue.Tests/Standalone/QueueStorage/StandaloneAzureQueueStorageClientTests.cs | ghcode:00170:af7fdbfc3bf2 | apache-2.0 | codeparrot/github-code | af7fdbfc3bf26a07139c54e425f28a9b79f2a8ad95526eb01eef583a25de47b0 | 0.75 | testing_debugging_repair_refactoring | 130 | false | 2026-07-17 |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// 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.... | KidFashion/UBL.net | src/packages/GallioBundle.3.4.14.0/sdk/Testing/Example.cs | https://github.com/KidFashion/UBL.net/blob/HEAD/src/packages/GallioBundle.3.4.14.0/sdk/Testing/Example.cs | ghcode:00170:e0e402ae4887 | apache-2.0 | codeparrot/github-code | e0e402ae488710f3a2b4b170c420383ac88b9530908faf800d4db30eac87989d | 0.7 | testing_debugging_repair_refactoring | 1,007 | false | 2026-07-17 |
using System;
namespace OneBoxDeployment.IntegrationTests
{
/// <summary>
/// Database management queries.
/// </summary>
public interface IManagementQueries
{
/// <summary>
/// Creates a query to create a database with <paramref name="databaseName"/> to a default path.
/// ... | benjaminpetit/orleans | samples/OneBoxDeployment/test/OneBoxDeployment.IntegrationTests/DatabaseManagement.cs | https://github.com/benjaminpetit/orleans/blob/HEAD/samples/OneBoxDeployment/test/OneBoxDeployment.IntegrationTests/DatabaseManagement.cs | ghcode:00170:0767134a1462 | mit | codeparrot/github-code | 0767134a14621c3893cce9b371d59e5521695ea4ec2646d7df17f817cced52f7 | 0.95 | testing_debugging_repair_refactoring | 2,272 | false | 2026-07-17 |
/*
* Copyright 2008 ZXing 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
*
* Unless required by applicable law o... | DHMechatronicAG/ZXing.Net | Source/test/src/oned/CodabarBlackBox1TestCase.cs | https://github.com/DHMechatronicAG/ZXing.Net/blob/HEAD/Source/test/src/oned/CodabarBlackBox1TestCase.cs | ghcode:00170:66c0f222bb9c | apache-2.0 | codeparrot/github-code | 66c0f222bb9c4752c9a7e1b45ac417d616e2621ca773ef3088df19836a06746e | 0.95 | testing_debugging_repair_refactoring | 268 | false | 2026-07-17 |
using NUnit.Framework;
namespace OpenQA.Selenium
{
[TestFixture]
public class MiscTest : DriverTestFixture
{
[Test]
public void ShouldReportTheCurrentUrlCorrectly()
{
driver.Url = macbethPage;
Assert.AreEqual(macbethPage, driver.Url);
driver.Url ... | alb-i986/selenium | dotnet/test/common/MiscTest.cs | https://github.com/alb-i986/selenium/blob/HEAD/dotnet/test/common/MiscTest.cs | ghcode:00170:96249f70c873 | apache-2.0 | codeparrot/github-code | 96249f70c8733d25afa00fda7fb96b84d55fa2d5d3f3adbbb9826128a6a5886c | 0.95 | testing_debugging_repair_refactoring | 429 | false | 2026-07-17 |
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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-... | glorylee/FluentValidation | src/FluentValidation.Tests/RuleDependencyTests.cs | https://github.com/glorylee/FluentValidation/blob/HEAD/src/FluentValidation.Tests/RuleDependencyTests.cs | ghcode:00170:48ea6b2e4054 | apache-2.0 | codeparrot/github-code | 48ea6b2e40549e424c61fcb6630f3fa3272e025b9a7a93cb3e81a3b9c5219daf | 0.85 | testing_debugging_repair_refactoring | 407 | false | 2026-07-17 |
/*
* Copyright 2014, 2015 Dominick Baier, Brock Allen
*
* 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... | buddhike/IdentityServer3 | source/Tests/UnitTests/Validation/Setup/TokenFactory.cs | https://github.com/buddhike/IdentityServer3/blob/HEAD/source/Tests/UnitTests/Validation/Setup/TokenFactory.cs | ghcode:00170:d8b60a6cba3e | apache-2.0 | codeparrot/github-code | d8b60a6cba3e414bf3d01bd10e5193f247dbccc4413b55297c333b4c7c8aec56 | 0.95 | testing_debugging_repair_refactoring | 442 | false | 2026-07-17 |
using System;
using System.Collections;
using System.IO;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Tcp;
using System.Runtime.Serialization.Formatters;
using NUnit.Core;
using PNUnit.Framework;
using log4net;
using log4net.Config;
namespace PNUnit.... | prepare/LiteDB | NUnit-2.6.0.12051/src/PNUnit/launcher/launcher.cs | https://github.com/prepare/LiteDB/blob/HEAD/NUnit-2.6.0.12051/src/PNUnit/launcher/launcher.cs | ghcode:00170:bc6a00390706 | mit | codeparrot/github-code | bc6a0039070683180a3075cb076ffcfe7a2277d68bd6782a4b4bfa479a8a0c57 | 0.95 | testing_debugging_repair_refactoring | 3,313 | 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.Reflection;
using Xunit;
namespace System.Linq.Expressions.Tests
{
public static cla... | kkurni/corefx | src/System.Linq.Expressions/tests/Lifted/LiftedSubtractNullableTests.cs | https://github.com/kkurni/corefx/blob/HEAD/src/System.Linq.Expressions/tests/Lifted/LiftedSubtractNullableTests.cs | ghcode:00170:9474f484a317 | mit | codeparrot/github-code | 9474f484a3175b6620c3107541a086aa5a4423ba8b3f4b24e84bede8c0bab3cb | 0.95 | testing_debugging_repair_refactoring | 4,537 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="PrimitiveConverter.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//----------------------------------... | hotchandanisagar/odata.net | src/Microsoft.OData.Core/PrimitiveConverter.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/src/Microsoft.OData.Core/PrimitiveConverter.cs | ghcode:00170:b467dd028061 | mit | codeparrot/github-code | b467dd02806178171eedbd530ea3276125df237d8ccd53b15491da098e91f91b | 0.85 | testing_debugging_repair_refactoring | 2,073 | 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.Linq;
using System.Linq.Expressions;
using Xunit;
namespace Tests.ExpressionCompiler.Lambda
{
public static class LambdaModuloTests
... | vidhya-bv/corefx-sorting | src/System.Linq.Expressions/tests/Lambda/LambdaModuloTests.cs | https://github.com/vidhya-bv/corefx-sorting/blob/HEAD/src/System.Linq.Expressions/tests/Lambda/LambdaModuloTests.cs | ghcode:00170:1698b97955dc | mit | codeparrot/github-code | 1698b97955dc44d740aabba237fead86af249593c5260111643e936e5e2592cb | 0.82 | testing_debugging_repair_refactoring | 12,592 | 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.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using Microsoft.CodeAnalysi... | OmarTawfik/roslyn | src/Compilers/CSharp/Portable/FlowAnalysis/EmptyStructTypeCache.cs | https://github.com/OmarTawfik/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/FlowAnalysis/EmptyStructTypeCache.cs | ghcode:00170:8a8cf5ce190d | apache-2.0 | codeparrot/github-code | 8a8cf5ce190d927bc382fb40eea3e09590657bbbd428813c67dc16bcb38bd212 | 0.85 | testing_debugging_repair_refactoring | 1,919 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Elasticsearch.Net.Integration.Yaml.CatRecovery1
{
public partial class CatRecovery1YamlTests
{
[NCrunch.Framework.Exclusivel... | amyzheng424/elasticsearch-net | src/Tests/Elasticsearch.Net.Integration.Yaml/cat.recovery/10_basic.yaml.cs | https://github.com/amyzheng424/elasticsearch-net/blob/HEAD/src/Tests/Elasticsearch.Net.Integration.Yaml/cat.recovery/10_basic.yaml.cs | ghcode:00170:d0545da32304 | apache-2.0 | codeparrot/github-code | d0545da323046a528c7e49f5fe2b3e2bb3d04dddd382d770d83e4ceb99105065 | 0.95 | testing_debugging_repair_refactoring | 496 | 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.DirectoryServices.AccountManagement;
using Xunit;
namespace AccountManagementUnitTests
{
/// <sum... | Petermarcu/corefx | src/System.DirectoryServices.AccountManagement/tests/UserPrincipalTest.cs | https://github.com/Petermarcu/corefx/blob/HEAD/src/System.DirectoryServices.AccountManagement/tests/UserPrincipalTest.cs | ghcode:00170:445727bc0dc1 | mit | codeparrot/github-code | 445727bc0dc1af53522a624b330bf57a15e4212e811d4c72fde47ddbc4ece406 | 0.95 | testing_debugging_repair_refactoring | 770 | 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.Linq;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeFixes.Suppression;
using Microsoft.CodeAnalysis.CodeRefactorings;... | mmitche/roslyn | src/EditorFeatures/Test/CodeFixes/ExtensionOrderingTests.cs | https://github.com/mmitche/roslyn/blob/HEAD/src/EditorFeatures/Test/CodeFixes/ExtensionOrderingTests.cs | ghcode:00170:2f00491d8dc3 | apache-2.0 | codeparrot/github-code | 2f00491d8dc301585af423d37b588d6878f961851d5e5ee38a37d86ae6890d4a | 0.95 | testing_debugging_repair_refactoring | 1,035 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 James Newton-King
//
// 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,... | pWnH/CarsonAgainstHumanity | lib/Json90r1/Source/Src/Newtonsoft.Json.Tests/Documentation/Samples/Serializer/JsonConverterAttributeClass.cs | https://github.com/pWnH/CarsonAgainstHumanity/blob/HEAD/lib/Json90r1/Source/Src/Newtonsoft.Json.Tests/Documentation/Samples/Serializer/JsonConverterAttributeClass.cs | ghcode:00170:22918783816b | apache-2.0 | codeparrot/github-code | 22918783816b2bfffa206e8fd76c0d79fce3e503b5711ddc90d56a8c2cf28489 | 0.95 | testing_debugging_repair_refactoring | 557 | 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;
using System.IO.PortsTests;
using Legacy.Support;
using Xunit;
namespace System.IO.Ports.... | ViktorHofer/corefx | src/System.IO.Ports/tests/SerialStream/CanRead.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.IO.Ports/tests/SerialStream/CanRead.cs | ghcode:00170:fc58766417ef | mit | codeparrot/github-code | fc58766417efa0cf8755ddf25ec9747bed5d4badbd35518816f8ce68b103202b | 0.95 | testing_debugging_repair_refactoring | 377 | 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
{
public static partial class MemoryExtensions
{
/// <s... | BrennanConroy/corefx | src/Common/src/CoreLib/System/MemoryExtensions.Trim.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/Common/src/CoreLib/System/MemoryExtensions.Trim.cs | ghcode:00170:5b93bf9d06ca | mit | codeparrot/github-code | 5b93bf9d06cadec8466e49d62a7ac07b7a8619d0b11e257b3cd01df99fb417eb | 0.95 | testing_debugging_repair_refactoring | 7,913 | 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 Xunit;
namespace System.Composition.Tests
{
public class MetadataAttributeAttributeTests
{
[... | DnlHarvey/corefx | src/System.Composition.AttributedModel/tests/MetadataAttributeAttributeTests.cs | https://github.com/DnlHarvey/corefx/blob/HEAD/src/System.Composition.AttributedModel/tests/MetadataAttributeAttributeTests.cs | ghcode:00170:3ca205a37218 | mit | codeparrot/github-code | 3ca205a372184afe62fc30387480c24aca9fc7ccc6bb1aa01f8c1d45e8b915d2 | 0.95 | testing_debugging_repair_refactoring | 101 | 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 System.ComponentModel.Design.Serialization;
using System.Globalization;
nam... | BrennanConroy/corefx | src/System.ComponentModel.TypeConverter/tests/SByteConverterTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.ComponentModel.TypeConverter/tests/SByteConverterTests.cs | ghcode:00170:a05993714446 | mit | codeparrot/github-code | a05993714446b316b52e195581857d6f1e340569944c5c7c50fb8a22e6f63e3d | 0.95 | testing_debugging_repair_refactoring | 505 | 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.
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// LastQueryOperator.cs
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=... | vs-team/corefx | src/System.Linq.Parallel/src/System/Linq/Parallel/QueryOperators/Unary/LastQueryOperator.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Linq.Parallel/src/System/Linq/Parallel/QueryOperators/Unary/LastQueryOperator.cs | ghcode:00170:b836814f2036 | mit | codeparrot/github-code | b836814f20361516065852adc0b9f9ec51ef3d8fe122cf11d08f46d81e7fff2e | 0.95 | testing_debugging_repair_refactoring | 1,837 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Helpful.BDD;
using Helpful.CircuitBreaker;
using Helpful.CircuitBreaker.Config;
using Helpful.CircuitBreaker.Exceptions;
using NUnit.Framework;
namespace when_executing_async_code_via_the_breaker.when... | RokitSalad/Helpful.CircuitBreaker | Helpful.CircuitBreaker.Test.Unit/when_executing_async_code_via_the_breaker/when_tolerating_open_events/when_hitting_timeouts_within_tollerance.cs | https://github.com/RokitSalad/Helpful.CircuitBreaker/blob/HEAD/Helpful.CircuitBreaker.Test.Unit/when_executing_async_code_via_the_breaker/when_tolerating_open_events/when_hitting_timeouts_within_tollerance.cs | ghcode:00170:7e8d7ea96491 | mit | codeparrot/github-code | 7e8d7ea964913ccdd4e1d912b1d00a1b6cc72391d3aa747f8885589da4afab2c | 0.75 | testing_debugging_repair_refactoring | 476 | false | 2026-07-17 |
namespace BaristaLabs.BaristaCore.Tests
{
using BaristaCore.Extensions;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections;
using System.Collections.Generic;
using Xunit;
[Collection("BaristaCore Tests")]
public partial class BaristaTypeConversionStr... | BaristaLabs/BaristaCore | test/BaristaLabs.BaristaCore.Tests/BaristaTypeConversionStrategy_Base_Facts.cs | https://github.com/BaristaLabs/BaristaCore/blob/HEAD/test/BaristaLabs.BaristaCore.Tests/BaristaTypeConversionStrategy_Base_Facts.cs | ghcode:00170:26643e869b01 | mit | codeparrot/github-code | 26643e869b01af11f44e94611677487dd8da36f2c315c34b7a800a85301df2f2 | 0.6 | testing_debugging_repair_refactoring | 3,400 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LiGet.Entities;
using LiGet.Services;
using LiGet.Tests;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Moq;
using NuGet.Vers... | ai-traders/liget | tests/LiGet.Tests/Services/PackageServiceTests.cs | https://github.com/ai-traders/liget/blob/HEAD/tests/LiGet.Tests/Services/PackageServiceTests.cs | ghcode:00170:923f3bd1bf71 | mit | codeparrot/github-code | 923f3bd1bf7188b9ea7edfcf6674da5d73bb7bd72017e050233ba373a3d617da | 0.85 | testing_debugging_repair_refactoring | 1,771 | false | 2026-07-17 |
using Marten.Schema;
using Marten.Testing.Documents;
using Shouldly;
using Xunit;
namespace Marten.Testing.Schema
{
public class deriving_delete_sql_for_document_type
{
[Fact]
public void delete_by_id_for_remove_style_deletion()
{
var mapping = DocumentMapping.For<User>();
... | jamesfarrer/marten | src/Marten.Testing/Schema/deriving_delete_sql_for_document_type.cs | https://github.com/jamesfarrer/marten/blob/HEAD/src/Marten.Testing/Schema/deriving_delete_sql_for_document_type.cs | ghcode:00170:1cbb8f50cdd9 | mit | codeparrot/github-code | 1cbb8f50cdd97985c7e4ce2131d1001316e6aef0b896c275c758ffe6952a4abd | 0.75 | testing_debugging_repair_refactoring | 360 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PerformanceCounterTests.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
// </copyright>
// ------------------------------------------------... | NaosProject/Naos.Diagnostics | Naos.Diagnostics.Domain.Test/PerformanceCounterTests.cs | https://github.com/NaosProject/Naos.Diagnostics/blob/HEAD/Naos.Diagnostics.Domain.Test/PerformanceCounterTests.cs | ghcode:00170:9047aabbf3f3 | mit | codeparrot/github-code | 9047aabbf3f36e43ec1aac83f374b22f3e1dc0198a4757698103a8dd5619b319 | 0.85 | testing_debugging_repair_refactoring | 625 | false | 2026-07-17 |
using BenchmarkDotNet.Columns;
namespace BenchmarkDotNet.Attributes.Columns
{
public class MeanColumnAttribute : ColumnConfigBaseAttribute
{
public MeanColumnAttribute() : base(StatisticColumn.Mean)
{
}
}
} | Teknikaali/BenchmarkDotNet | src/BenchmarkDotNet.Core/Attributes/Columns/MeanColumnAttribute.cs | https://github.com/Teknikaali/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet.Core/Attributes/Columns/MeanColumnAttribute.cs | ghcode:00170:3f7ba7113169 | mit | codeparrot/github-code | 3f7ba7113169994d3703eff2ac8a3f0c639bce862230c02d7daf368ead20a359 | 0.75 | testing_debugging_repair_refactoring | 49 | false | 2026-07-17 |
/*
Copyright (C) 2013-2015 MetaMorph Software, Inc
Permission is hereby granted, free of charge, to any person obtaining a
copy of this data, including any software or models in source or binary
form, as well as any drawings, specifications, and documentation
(collectively "the Data"), to deal in the Data witho... | pombredanne/metamorphosys-desktop | metamorphosys/META/test/InterchangeTest/ComponentInterchangeTest/ComponentInterchangeTest/DistributionRestriction.cs | https://github.com/pombredanne/metamorphosys-desktop/blob/HEAD/metamorphosys/META/test/InterchangeTest/ComponentInterchangeTest/ComponentInterchangeTest/DistributionRestriction.cs | ghcode:00170:88f68aa98196 | mit | codeparrot/github-code | 88f68aa98196fc19d24e5c0a4012fa082067e563fc2a2a7095a85eb42f2b7af6 | 0.95 | testing_debugging_repair_refactoring | 3,658 | 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;
using System.Collections.Generic;
using System.IO;
using Microsoft.Build.CommandLine;
using Microsoft.Build.Construction;
usin... | nikson/msbuild | src/XMakeCommandLine/UnitTests/CommandLineSwitches_Tests.cs | https://github.com/nikson/msbuild/blob/HEAD/src/XMakeCommandLine/UnitTests/CommandLineSwitches_Tests.cs | ghcode:00170:81914be8c208 | mit | codeparrot/github-code | 81914be8c2080d90def2623bb1b00b62c78b02fea9da0032a41db16d3ca123b0 | 0.72 | testing_debugging_repair_refactoring | 11,533 | false | 2026-07-17 |
using System;
using System.ComponentModel;
using System.IO;
using DynamicConfig.ConfigTray;
using DynamicConfig.ConfigTray.JSONConfig;
using DynamicConfig.ConfigTray.ViewModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DynamicConfig.Test.DeveloperView
{
[TestClass()]
public class TestConfi... | yikliu/DynamicConfig | DynamicConfig.Test/DeveloperView/TestConfigDaemonDynamicObject.cs | https://github.com/yikliu/DynamicConfig/blob/HEAD/DynamicConfig.Test/DeveloperView/TestConfigDaemonDynamicObject.cs | ghcode:00170:81ea33de8525 | mit | codeparrot/github-code | 81ea33de8525a9d210136d1dfbae71ddd76ddd5bfc79d01c486c2d108199c8a2 | 0.85 | testing_debugging_repair_refactoring | 1,402 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2015-2016 Rasmus Mikkelsen
// Copyright (c) 2015-2016 eBay Software Foundation
// https://github.com/rasmus/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software")... | AntoineGa/EventFlow | Source/EventFlow.Tests/UnitTests/Configuration/Registrations/AutofacServiceRegistrationTests.cs | https://github.com/AntoineGa/EventFlow/blob/HEAD/Source/EventFlow.Tests/UnitTests/Configuration/Registrations/AutofacServiceRegistrationTests.cs | ghcode:00170:54635131c79d | mit | codeparrot/github-code | 54635131c79d2f7bf517e48c8fbfcf2b63023a4b0f5b21f626bb9462ded2b20b | 0.85 | testing_debugging_repair_refactoring | 1,047 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.