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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core.TestFramework;
namespace Azure.Data.AppConfiguration
{
public class AppConfigurationTestEnvironment : TestEnvironment
{
public string ConnectionString => GetRecordedVariable("APPCONFIGURAT... | ayeletshpigelman/azure-sdk-for-net | sdk/appconfiguration/Azure.Data.AppConfiguration/tests/AppConfigurationTestEnvironment.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/AppConfigurationTestEnvironment.cs | ghcode:00011:6edad6a411cc | mit | codeparrot/github-code | 6edad6a411cc45c2b4155f640efbf886145bbf84a04b47eede99b1b7b3952130 | 0.85 | testing_debugging_repair_refactoring | 119 | false | 2026-07-17 |
using FlightNode.Common.Exceptions;
using FlightNode.Identity.Services.Models;
using Moq;
using System.Net;
using System.Net.Http;
using Xunit;
namespace FlightNode.Identity.UnitTests.Controllers.UserControllerTests
{
public class Post : Fixture
{
private HttpResponseMessage RunTest(UserModel input)
... | stephenfuqua/FlightNode.Service | Identity/test/Controllers/UserControllerTests/Post.cs | https://github.com/stephenfuqua/FlightNode.Service/blob/HEAD/Identity/test/Controllers/UserControllerTests/Post.cs | ghcode:00011:82af7b69c328 | mit | codeparrot/github-code | 82af7b69c328d8e0521b2e13782cfea99ebe9117e7ad64c4369d62deb01c2bc0 | 0.95 | testing_debugging_repair_refactoring | 588 | false | 2026-07-17 |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using Cities;
using DataTests.AdventureWorks.LTS;
using Microsoft.Silverlight.Testing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestDomainServices;
using TestDomainServices.LTS... | jeffhandley/OpenRiaServices | OpenRiaServices.Controls.DomainServices/Test/Controls/QueryParameterTests.cs | https://github.com/jeffhandley/OpenRiaServices/blob/HEAD/OpenRiaServices.Controls.DomainServices/Test/Controls/QueryParameterTests.cs | ghcode:00011:011a6665c4ae | apache-2.0 | codeparrot/github-code | 011a6665c4ae8322f1f30fa76ecd037fa12602ec7bb661a87d4e96957727d84f | 0.95 | testing_debugging_repair_refactoring | 6,569 | 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 Internal.Text;
using Internal.TypeSystem;
using Internal.TypeSystem.Interop;
names... | gregkalapos/corert | src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/MethodCodeNode.cs | https://github.com/gregkalapos/corert/blob/HEAD/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/MethodCodeNode.cs | ghcode:00011:05a309c52fc5 | mit | codeparrot/github-code | 05a309c52fc591ddfb0f0d1c6e206826e18f91d478d7104110755a0f0664040e | 0.8 | testing_debugging_repair_refactoring | 1,320 | 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;
namespace TestUtilities
{
public interface IAddNewItem : IDisposable
{
string FileName { get; set; }
void OK();
}
... | paulvanbrenk/nodejstools | Common/Tests/Utilities/IAddNewItem.cs | https://github.com/paulvanbrenk/nodejstools/blob/HEAD/Common/Tests/Utilities/IAddNewItem.cs | ghcode:00011:a8201ea98e24 | apache-2.0 | codeparrot/github-code | a8201ea98e2471073c5fe82673b52407e6bf0beb44c897eef28fecd7358c966e | 0.85 | testing_debugging_repair_refactoring | 72 | 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... | devigned/azure-powershell | src/Common/Commands.Common.Authentication.Abstractions/Utilities/FileUtilities.cs | https://github.com/devigned/azure-powershell/blob/HEAD/src/Common/Commands.Common.Authentication.Abstractions/Utilities/FileUtilities.cs | ghcode:00011:0f95a6302ccf | apache-2.0 | codeparrot/github-code | 0f95a6302ccf2c4ac775193a1e7833e86b3f8026ad65690cc15bd17b1f67a6f3 | 0.85 | testing_debugging_repair_refactoring | 2,653 | 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.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
usin... | benpye/corefx | src/System.Linq.Expressions/src/System/Linq/Expressions/LambdaExpression.cs | https://github.com/benpye/corefx/blob/HEAD/src/System.Linq.Expressions/src/System/Linq/Expressions/LambdaExpression.cs | ghcode:00011:d7810f88eaad | mit | codeparrot/github-code | d7810f88eaad40ea53d9c3e803a717dd375b58a5c0a8909e086d3292f1f6abe3 | 0.95 | testing_debugging_repair_refactoring | 8,244 | false | 2026-07-17 |
// Copyright (c) DNN Software. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Entities.Modules.Set... | SCullman/Dnn.Platform | DNN Platform/Tests/DotNetNuke.Tests.Core/Entities/Modules/Settings/NullableSettingsTests.cs | https://github.com/SCullman/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DotNetNuke.Tests.Core/Entities/Modules/Settings/NullableSettingsTests.cs | ghcode:00011:a10299de6fde | mit | codeparrot/github-code | a10299de6fde880763f80f0d7afa435a7ba8897956b2c017c5c43ec312a45785 | 0.95 | testing_debugging_repair_refactoring | 2,350 | false | 2026-07-17 |
using OpenQA.Selenium.Remote;
namespace OpenQA.Selenium.Firefox
{
// This is a simple wrapper class to create a FirefoxDriver that
// uses the Marionette implementation and has no parameters in the
// constructor.
public class StableChannelFirefoxDriver : FirefoxDriver
{
public StableChanne... | asolntsev/selenium | dotnet/test/common/CustomDriverConfigs/StableChannelFirefoxDriver.cs | https://github.com/asolntsev/selenium/blob/HEAD/dotnet/test/common/CustomDriverConfigs/StableChannelFirefoxDriver.cs | ghcode:00011:9ca216f23ecb | apache-2.0 | codeparrot/github-code | 9ca216f23ecb61dba75c64f7e8433645790be17317a0721400b368c11c00576b | 0.95 | testing_debugging_repair_refactoring | 190 | false | 2026-07-17 |
#region License
// Copyright (c) 2007-2018, Sean Chambers <schambers80@gmail.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
/... | schambers/fluentmigrator | test/FluentMigrator.Tests/Unit/Announcers/TextWriterAnnouncerTests.cs | https://github.com/schambers/fluentmigrator/blob/HEAD/test/FluentMigrator.Tests/Unit/Announcers/TextWriterAnnouncerTests.cs | ghcode:00011:634ddabdcbc1 | apache-2.0 | codeparrot/github-code | 634ddabdcbc127f0c5b5690b632cc49f10cce8f647c952604dcae8c7a6541a63 | 0.85 | testing_debugging_repair_refactoring | 476 | false | 2026-07-17 |
/* Copyright (c) Citrix Systems Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice,... | agimofcarmen/xenadmin | XenAdminTests/DialogTests/LicenseManager/Comparers/ProductColumnComparerTests.cs | https://github.com/agimofcarmen/xenadmin/blob/HEAD/XenAdminTests/DialogTests/LicenseManager/Comparers/ProductColumnComparerTests.cs | ghcode:00011:48f20db85381 | bsd-2-clause | codeparrot/github-code | 48f20db853815697b4cfb2ba10fe06e880a7997150a32b41ed301ebd96aaf27c | 0.68 | testing_debugging_repair_refactoring | 933 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.Core.Logging;
using AutoTest.Core.Messaging;
using System.Xml;
using AutoTest.Core.Messaging.MessageConsumers;
using AutoTest.Messages;
using System.IO;
using AutoTest.Core.DebugLog;
namespace AutoTest.Core.TestRunners.T... | continuoustests/AutoTest.Net | src/AutoTest.Core/TestRunners/TestRunners/NUnitTestResponseParser.cs | https://github.com/continuoustests/AutoTest.Net/blob/HEAD/src/AutoTest.Core/TestRunners/TestRunners/NUnitTestResponseParser.cs | ghcode:00011:1f5b7d39ecef | mit | codeparrot/github-code | 1f5b7d39ecef8973d2b5c870008134ffbe97a1cf5823e745aa2cdb562cf4e25e | 0.75 | testing_debugging_repair_refactoring | 2,175 | 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.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
namespace Roslyn.Utilities
{
internal... | DustinCampbell/roslyn | src/Workspaces/Core/Portable/Utilities/BidirectionalMap.cs | https://github.com/DustinCampbell/roslyn/blob/HEAD/src/Workspaces/Core/Portable/Utilities/BidirectionalMap.cs | ghcode:00011:48095a0ccad1 | apache-2.0 | codeparrot/github-code | 48095a0ccad1181f47b29cf182df97f02483d72724b32c22cb0925b9f0a3c371 | 0.75 | testing_debugging_repair_refactoring | 693 | false | 2026-07-17 |
namespace BooCompiler.Tests
{
using NUnit.Framework;
[TestFixture]
public class MacrosTestFixture : AbstractCompilerTestCase
{
[Test]
public void assert_1()
{
RunCompilerTestCase(@"assert-1.boo");
}
[Test]
public void custom_class_macro_as_generic_argument()
{
RunCompil... | sirbrialliance/boo | tests/BooCompiler.Tests/MacrosTestFixture.cs | https://github.com/sirbrialliance/boo/blob/HEAD/tests/BooCompiler.Tests/MacrosTestFixture.cs | ghcode:00011:04c56b97a260 | bsd-3-clause | codeparrot/github-code | 04c56b97a260f107ac83d408b8cd6011c34fd57c9bf7e4807b2be7102a49d053 | 0.6 | testing_debugging_repair_refactoring | 2,263 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Immutable;
using System.Globalization;
using System.Refle... | physhi/roslyn | src/Compilers/Core/CodeAnalysisTest/MetadataReferences/AssemblyIdentityTests.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Compilers/Core/CodeAnalysisTest/MetadataReferences/AssemblyIdentityTests.cs | ghcode:00011:71068a51df4e | apache-2.0 | codeparrot/github-code | 71068a51df4efd596207a92bd16cfed48c27ea3d03926a9231eb9ad4b5e21a2c | 0.85 | testing_debugging_repair_refactoring | 4,479 | false | 2026-07-17 |
using System;
namespace Microsoft.DotNet.Cli.Build.Framework
{
public partial class BuildFailureException : Exception
{
public BuildFailureException()
{
}
public BuildFailureException(string message) : base(message)
{
}
public BuildFailureException(str... | joperezr/core-setup | src/test/build/Microsoft.DotNet.Cli.Build.Framework/BuildFailureException.cs | https://github.com/joperezr/core-setup/blob/HEAD/src/test/build/Microsoft.DotNet.Cli.Build.Framework/BuildFailureException.cs | ghcode:00011:367c0bff25c0 | mit | codeparrot/github-code | 367c0bff25c0b39cf7d6674263b719536d9232f58b7dd9d7535685a03108d9f8 | 0.85 | testing_debugging_repair_refactoring | 77 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BoletoNet.Testes
{
[TestClass]
public class BancoItauTeste
{
#region Carteira 109
private BoletoBancario GerarBoletoCarteira109()
{
DateTime vencimento = new DateTime(2012, 12, 6);
... | correamarques/boletonet | src/Boleto.Net.Testes/BancoItauTeste.cs | https://github.com/correamarques/boletonet/blob/HEAD/src/Boleto.Net.Testes/BancoItauTeste.cs | ghcode:00011:642ebf921833 | apache-2.0 | codeparrot/github-code | 642ebf921833a0538c59dc4ea72e686b130ca5275e5525c90292d6b9d7faa577 | 0.6 | testing_debugging_repair_refactoring | 688 | false | 2026-07-17 |
using NUnit.Framework;
namespace Selenium.Tests
{
[TestFixture]
public class TestElementIndex : SeleniumTestCaseBase
{
[Test]
public void ShouldDetectElementIndex()
{
selenium.Open("/html/test_element_order.html");
Assert.AreEqual(1, selenium.GetElementIndex... | mojwang/selenium | dotnet/test/webdriverbackedselenium/TestElementIndex.cs | https://github.com/mojwang/selenium/blob/HEAD/dotnet/test/webdriverbackedselenium/TestElementIndex.cs | ghcode:00011:c3f0b0adf0c1 | apache-2.0 | codeparrot/github-code | c3f0b0adf0c166b13aac9942416eb9baffa7ce0106745eaeda57b7ea9e1c9c5b | 0.85 | testing_debugging_repair_refactoring | 133 | 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;
using System.Diagnostics;
using System.IO.PortsTests;
using System.Threading;
using Legacy... | BrennanConroy/corefx | src/System.IO.Ports/tests/SerialPort/ReceivedEvent.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.IO.Ports/tests/SerialPort/ReceivedEvent.cs | ghcode:00011:a9814f6597d6 | mit | codeparrot/github-code | a9814f6597d6303060809faabb4e05428a8c53ce62ccc4d7b549cc6db9c0520c | 0.95 | testing_debugging_repair_refactoring | 3,049 | 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 OLEDB.Test.ModuleCore;
using System.IO;
using XmlCoreTest.Common;
namespace System.Xml.Tests
{
[TestCase(... | shimingsg/corefx | src/System.Private.Xml/tests/Readers/ReaderSettings/CreateOverloads.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Private.Xml/tests/Readers/ReaderSettings/CreateOverloads.cs | ghcode:00011:afae3820bba6 | mit | codeparrot/github-code | afae3820bba6f4244953039feec304d0c48fe70bbdf2aba454d42a4f5330b4f1 | 0.95 | testing_debugging_repair_refactoring | 2,493 | 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.Collections.Specialized.Tests
{
public class GetAllValuesTests
{
[The... | dotnet-bot/corefx | src/System.Collections.Specialized/tests/NameObjectCollectionBase/NameObjectCollectionBase.GetAllValuesTests.cs | https://github.com/dotnet-bot/corefx/blob/HEAD/src/System.Collections.Specialized/tests/NameObjectCollectionBase/NameObjectCollectionBase.GetAllValuesTests.cs | ghcode:00011:b47c9abd44ff | mit | codeparrot/github-code | b47c9abd44ff49315ed50622d5ae30b41709ab57c99bfb447a3b689127c73e4e | 0.95 | testing_debugging_repair_refactoring | 332 | 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 OLEDB.Test.ModuleCore;
using Xunit;
namespace System.Xml.Tests
{
public class XmlConvertTests : CTestModu... | BrennanConroy/corefx | src/System.Private.Xml/tests/XmlConvert/XmlConvertTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Private.Xml/tests/XmlConvert/XmlConvertTests.cs | ghcode:00011:f07ac8e52cdd | mit | codeparrot/github-code | f07ac8e52cdd7334bc78b8bcf6958cbd51bbb40f128a32a4d381af7d320f3ade | 0.95 | testing_debugging_repair_refactoring | 1,331 | 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.
/*
** This program was translated to C# and adapted for xunit-performance.
** New variants of several tests were adde... | tijoytom/coreclr | tests/src/JIT/Performance/CodeQuality/Bytemark/ludecomp.cs | https://github.com/tijoytom/coreclr/blob/HEAD/tests/src/JIT/Performance/CodeQuality/Bytemark/ludecomp.cs | ghcode:00011:dab7064a8781 | mit | codeparrot/github-code | dab7064a87812ccca7351894aaa662ccbe141e438f9abd0f0ea513a452f6eb65 | 0.8 | testing_debugging_repair_refactoring | 2,547 | 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 Xunit;
namespace System.Tests
{
public static class ApplicationExceptionTests
{
... | nbarbettini/corefx | src/System.Runtime/tests/System/ApplicationExceptionTests.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Runtime/tests/System/ApplicationExceptionTests.cs | ghcode:00011:3348b392561e | mit | codeparrot/github-code | 3348b392561e7ae083ecaad35208e1dbcf10b07375e1854b6887f7e728e61b4a | 0.95 | testing_debugging_repair_refactoring | 274 | false | 2026-07-17 |
namespace UglyToad.DataTable.Net35.Tests.Unit.POCOs
{
using System;
using Types;
internal class SimpleClassWithAttributes
{
[ColumnMapping(Name = "Prop1")]
public int PropertyOne { get; set; }
[ColumnMapping(Name = "Prop2")]
public string PropertyTwo { get; set; }
... | UglyToad/DataTable | UglyToad.DataTable.Net35.Tests.Unit/POCOs/AttributePocos.cs | https://github.com/UglyToad/DataTable/blob/HEAD/UglyToad.DataTable.Net35.Tests.Unit/POCOs/AttributePocos.cs | ghcode:00011:df34e12f4bba | mit | codeparrot/github-code | df34e12f4bba1d6a9c2c9be9c04507adfea551c2ee8c81ded64a5e1c4f4a3ed0 | 0.75 | testing_debugging_repair_refactoring | 306 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Len.Framework.Checker;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Len.Framework.Tests.Checker
{
[TestClass]
public class PrerequisitesCheckerTest
{
[TestMethod]
public void PrerequisitesChecker_Check_False_Test()
... | LenFon/Len.Net | src/Len.Framework.Tests/Checker/PrerequisitesCheckerTest.cs | https://github.com/LenFon/Len.Net/blob/HEAD/src/Len.Framework.Tests/Checker/PrerequisitesCheckerTest.cs | ghcode:00011:7f15e40f226d | mit | codeparrot/github-code | 7f15e40f226dbae0e177e7e5c0653cf7308dcab2139fb2b77b470c13b55fd218 | 0.6 | testing_debugging_repair_refactoring | 340 | false | 2026-07-17 |
using System.Threading;
using System.Threading.Tasks;
using Autofac;
using Cogito.Autofac;
using Cogito.ServiceFabric.AspNetCore.Kestrel.Autofac;
namespace Cogito.ServiceFabric.Test.AspNetCore.WebService.Net47
{
public static class Program
{
/// <summary>
/// Main application entry point.
... | wasabii/Cogito.ServiceFabric | Cogito.ServiceFabric.Test.AspNetCore.WebService.Net47/Program.cs | https://github.com/wasabii/Cogito.ServiceFabric/blob/HEAD/Cogito.ServiceFabric.Test.AspNetCore.WebService.Net47/Program.cs | ghcode:00011:07bc7536350f | mit | codeparrot/github-code | 07bc7536350f569dbec6dd3ff2fe42d86f4c46b2e53bf0b883be752bb7d7e57b | 0.85 | testing_debugging_repair_refactoring | 205 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework;
using Sonneville.Investing.Trading;
namespace Sonneville.Investing.Test.Trading
{
[TestFixture]
public class AccountAllocationTests
{
[Test]
public void ShouldReturnCorrectAmount()
{
var accountDictionary = new Di... | SonnevilleJ/Investing | Sonneville.Investing.Test/Trading/AccountAllocationTests.cs | https://github.com/SonnevilleJ/Investing/blob/HEAD/Sonneville.Investing.Test/Trading/AccountAllocationTests.cs | ghcode:00011:71753cdb52c5 | mit | codeparrot/github-code | 71753cdb52c59abfdfe1416b597415e3e3a04d41468f19e39b0a4e6e526f1990 | 0.75 | testing_debugging_repair_refactoring | 596 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Xunit;
using SimplyFast.Comparers;
namespace SimplyFast.Tests.Comparers
{
public class CollectionEqualityComparerTests
{
private static IEqualityComparer<T[]> GetCollectionCompar... | Astr0/SimplyFast | tests/SimplyFast.Tests/Comparers/CollectionEqualityComparerTests.cs | https://github.com/Astr0/SimplyFast/blob/HEAD/tests/SimplyFast.Tests/Comparers/CollectionEqualityComparerTests.cs | ghcode:00011:608c7e3f8fbe | mit | codeparrot/github-code | 608c7e3f8fbe7ce8410704308ec1733b55e1ce5672982e92928e45f6bc3c4ba9 | 0.75 | testing_debugging_repair_refactoring | 1,071 | false | 2026-07-17 |
using ConcurrentPriorityQueue;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ConcurrentPriorityQueueTests.FunctionalTests
{
[TestClass]
public class ConcurrentFixedSizePriorityQueueTests : AbstractPriorityQueueTests
{
protected override IPriorityQueue<TElement, TPriority> CreateQue... | dshulepov/ConcurrentPriorityQueue | Tests/ConcurrentPriorityQueueTests/FunctionalTests/ConcurrentFixedSizePriorityQueueTests.cs | https://github.com/dshulepov/ConcurrentPriorityQueue/blob/HEAD/Tests/ConcurrentPriorityQueueTests/FunctionalTests/ConcurrentFixedSizePriorityQueueTests.cs | ghcode:00011:4faf82053763 | mit | codeparrot/github-code | 4faf820537633ac9049b4edc25d953f4ae89668f5a03ff31c1a962f6030f7c2b | 0.75 | testing_debugging_repair_refactoring | 509 | false | 2026-07-17 |
namespace NArms.Config.Tests
{
using System;
using NUnit.Framework;
[TestFixture]
public class TimeSpanPropertyReadingTests
{
private Config _config;
private class Config : ConfigBase
{
public TimeSpan HrMinSecTimeSpan { get; set; }
public TimeSpan ... | Eskat0n/NArms.Config | sources/NArms.Config.Tests/TimeSpanPropertyReadingTests.cs | https://github.com/Eskat0n/NArms.Config/blob/HEAD/sources/NArms.Config.Tests/TimeSpanPropertyReadingTests.cs | ghcode:00011:f793b0c08999 | mit | codeparrot/github-code | f793b0c08999210b91058f331bdaafe27ac6c0f58967062246271575f2bd5768 | 0.75 | testing_debugging_repair_refactoring | 891 | false | 2026-07-17 |
using System;
using System.Linq;
using NUnit.Framework;
using WinBlocks.Game.Input;
using WinBlocks.Game.Model;
using WinBlocks.Game.Rendering;
namespace WinBlocks.Tests.Game.Model
{
[TestFixture]
public class TetriminoTests
{
[Test]
public void RenderLocations_SingleLine_ReturnsCorrectCoor... | davidwhitney/GamePorts | Tetris/WinForms/WinBlocks/WinBlocks.Tests/Game/Model/TetriminoTests.cs | https://github.com/davidwhitney/GamePorts/blob/HEAD/Tetris/WinForms/WinBlocks/WinBlocks.Tests/Game/Model/TetriminoTests.cs | ghcode:00011:267b514c0074 | mit | codeparrot/github-code | 267b514c0074fbb16fa8fb1b5ad0abaf9e299da25c34b8a107a474843f0511a0 | 0.75 | testing_debugging_repair_refactoring | 737 | false | 2026-07-17 |
namespace WordPressPCL.Tests.Selfhosted.Utility
{
public class ApiCredentials
{
public static string WordPressUri = "http://localhost/wp-json/";
public static string Username = "wordpress";
public static string Password = "wordpress";
}
}
| wp-net/WordPressPCL | WordPressPCL.Tests.Selfhosted/Utility/ApiCredentials.cs | https://github.com/wp-net/WordPressPCL/blob/HEAD/WordPressPCL.Tests.Selfhosted/Utility/ApiCredentials.cs | ghcode:00011:5afb63fd7aa4 | mit | codeparrot/github-code | 5afb63fd7aa4458278c00f320a9facab9904407dd43f2ccc368cfed33a88bc0e | 0.75 | testing_debugging_repair_refactoring | 55 | false | 2026-07-17 |
// This file is part of YamlDotNet - A .NET library for YAML.
// Copyright (c) Antoine Aubry and contributors
//
// 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, ... | aaubry/YamlDotNet | YamlDotNet.Test/Serialization/ObjectFactoryTests.cs | https://github.com/aaubry/YamlDotNet/blob/HEAD/YamlDotNet.Test/Serialization/ObjectFactoryTests.cs | ghcode:00011:e0e30f410306 | mit | codeparrot/github-code | e0e30f410306221f889a3973b36452cfb2fed4cef2a86b7f6a16977043b256aa | 0.85 | testing_debugging_repair_refactoring | 485 | false | 2026-07-17 |
using System.Collections.Generic;
using Autofac;
using Util.Dependency;
using Util.Helpers;
using Util.Tests.Samples;
using Xunit;
namespace Util.Tests.Helpers {
/// <summary>
/// Ioc配置
/// </summary>
public class TestIocConfig : ConfigBase {
/// <summary>
/// 加载配置
/// </summar... | yuleyule66/Util | test/Util.Tests/Helpers/IocTest.cs | https://github.com/yuleyule66/Util/blob/HEAD/test/Util.Tests/Helpers/IocTest.cs | ghcode:00011:3b8b6b87c873 | mit | codeparrot/github-code | 3b8b6b87c873e0985e3d1bcabf1149bc8f3e4f75629c33cc352e0740b526575e | 0.7 | testing_debugging_repair_refactoring | 490 | false | 2026-07-17 |
namespace Amazon.Ec2.Tests;
public class RunInstanceRequestTests
{
[Fact]
public void SerializeRequest()
{
var request = new RunInstancesRequest
{
ClientToken = "1",
InstanceType = "",
ImageId = "ami-1",
MinCount = 1,
... | carbon/Amazon | src/Amazon.Ec2.Tests/Actions/RunInstanceRequestTests.cs | https://github.com/carbon/Amazon/blob/HEAD/src/Amazon.Ec2.Tests/Actions/RunInstanceRequestTests.cs | ghcode:00011:b26d5e35fb5c | mit | codeparrot/github-code | b26d5e35fb5c7633942ffd45dec2c6f8a9bebcb5d3925e070b8f36f21347ca23 | 0.75 | testing_debugging_repair_refactoring | 775 | false | 2026-07-17 |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using NuGet.Common;
using NuGet.ProjectModel;
using System.IO;
namespace Microsoft.NET.Build.Tasks.UnitTests
{
internal static class TestLoc... | nkolev92/sdk | src/Tasks/Microsoft.NET.Build.Tasks.UnitTests/TestLockFiles.cs | https://github.com/nkolev92/sdk/blob/HEAD/src/Tasks/Microsoft.NET.Build.Tasks.UnitTests/TestLockFiles.cs | ghcode:00011:2929b498d117 | mit | codeparrot/github-code | 2929b498d117b9b4b29d0c6ef873d6e9624aa5861ef3776a4850e286d2ee3fc8 | 0.75 | testing_debugging_repair_refactoring | 158 | false | 2026-07-17 |
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
public class FileUpload
{
IWebDriver Driver;
[SetUp]
public void SetUp()
{
Driver = new FirefoxDriver();
}
[TearDown]
public void TearDown()
{
Driver.Quit();
}
[Test]
public void... | tjmaher/elemental-selenium-tips | 01-upload-a-file/csharp/FileUpload.cs | https://github.com/tjmaher/elemental-selenium-tips/blob/HEAD/01-upload-a-file/csharp/FileUpload.cs | ghcode:00011:cadcf3d32d1d | mit | codeparrot/github-code | cadcf3d32d1d3f7d90757813e5754c142bafa48d295531eb9be115e2a31857c8 | 0.6 | testing_debugging_repair_refactoring | 179 | false | 2026-07-17 |
// Copyright: Robert P Herbig, 2010
using System;
using NUnit.Framework;
namespace Herbig.ProgrammingChallenge
{
[TestFixture]
public class PrimeFibonacci
{
private static readonly double Phi = (1 + Math.Sqrt( 5 )) / 2;
#region Tests
[Test]
public void ShouldCalculateNthF... | rpherbig/programming_challenges | Challenge 2 - Prime Fibonacci/rpherbig.cs | https://github.com/rpherbig/programming_challenges/blob/HEAD/Challenge 2 - Prime Fibonacci/rpherbig.cs | ghcode:00011:54fccff93e15 | mit | codeparrot/github-code | 54fccff93e155311389254bfa32d45b687864c53874e7861ede058af7261010b | 0.7 | testing_debugging_repair_refactoring | 933 | false | 2026-07-17 |
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); y... | joshball/Lucene.In.Action.NET | vendor/lucene.net/test/contrib/Analyzers/NGram/TestEdgeNGramTokenFilter.cs | https://github.com/joshball/Lucene.In.Action.NET/blob/HEAD/vendor/lucene.net/test/contrib/Analyzers/NGram/TestEdgeNGramTokenFilter.cs | ghcode:00011:2cfc363f7fd5 | mit | codeparrot/github-code | 2cfc363f7fd5cb04ffa55dd98b2a5eb5e04bbcc212fe0da4350bc6eb5c864b87 | 0.95 | testing_debugging_repair_refactoring | 1,167 | false | 2026-07-17 |
namespace Flip
{
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Moq;
using Ploeh.AutoFixture;
using Xunit;
using static Moq.It;
using static Moq.Times;
public class CompositeStreamFilter_features
{
private readonly IFixture _fixture =... | envicase/flip | tests/Flip.Tests/CompositeStreamFilter_features.cs | https://github.com/envicase/flip/blob/HEAD/tests/Flip.Tests/CompositeStreamFilter_features.cs | ghcode:00011:3453e8fd6bfd | mit | codeparrot/github-code | 3453e8fd6bfdd6dfa4e67e35b6abd60b69118792a21b4c697f5ea39ecfec2767 | 0.7 | testing_debugging_repair_refactoring | 874 | false | 2026-07-17 |
using System;
using System.Linq.Expressions;
using System.Reflection;
using LightMock;
using Xunit;
namespace LightMock.Tests
{
public class MatchInfoTests
{
[Fact]
public void Matches_SameValue_ReturnsTrue()
{
var predicateBuilder = new MatchInfoBuilder();
Expr... | neil-119/LightMock | LightMock.Tests.vNext/MatchInfoTests.cs | https://github.com/neil-119/LightMock/blob/HEAD/LightMock.Tests.vNext/MatchInfoTests.cs | ghcode:00011:aad0611a9ce3 | mit | codeparrot/github-code | aad0611a9ce366bc33c9fe2fa8d891008d95c25b681713113c950d7e92000e80 | 0.75 | testing_debugging_repair_refactoring | 463 | false | 2026-07-17 |
using Metrolib.Controls;
using NUnit.Framework;
namespace Metrolib.Test.ProgressBar
{
[TestFixture]
public sealed class FlatProgressBarTest
: AbstractProgressBarTest
{
protected override AbstractProgressBar CreateProgressBar()
{
return new FlatProgressBar();
}
}
} | Kittyfisto/Metrolib | Metrolib.Test/ProgressBar/FlatProgressBarTest.cs | https://github.com/Kittyfisto/Metrolib/blob/HEAD/Metrolib.Test/ProgressBar/FlatProgressBarTest.cs | ghcode:00011:16032cfbd186 | mit | codeparrot/github-code | 16032cfbd18615cbb2ebf54804325e82f6b855d9f3b9c714bebba624953ba603 | 0.6 | testing_debugging_repair_refactoring | 61 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="TargetsInstallerTests.cs" company="SonarSource SA and Microsoft Corporation">
// Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the proj... | jango2015/sonar-msbuild-runner | Tests/SonarQube.TeamBuild.PreProcessor.Tests/TargetsInstallerTests.cs | https://github.com/jango2015/sonar-msbuild-runner/blob/HEAD/Tests/SonarQube.TeamBuild.PreProcessor.Tests/TargetsInstallerTests.cs | ghcode:00011:1fbcb62789cc | mit | codeparrot/github-code | 1fbcb62789cc7b587880381e5d399806870f4c7ae57f4772b0d2474df86fb35c | 0.85 | testing_debugging_repair_refactoring | 931 | false | 2026-07-17 |
// <copyright file="VariableRepositoryTests.cs" company="Peter Ibbotson">
// (C) Copyright 2017 Peter Ibbotson
// </copyright>
namespace ClassicBasic.Test.InterpreterTests
{
using ClassicBasic.Interpreter;
using ClassicBasic.Interpreter.Exceptions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
... | peteri/ClassicBasic | ClassicBasic.Test/InterpreterTests/VariableRepositoryTests.cs | https://github.com/peteri/ClassicBasic/blob/HEAD/ClassicBasic.Test/InterpreterTests/VariableRepositoryTests.cs | ghcode:00011:f5a6e7361d4e | mit | codeparrot/github-code | f5a6e7361d4e3e6316d3da4a2259edf869f76f526f259dc85f03cc838656d972 | 0.85 | testing_debugging_repair_refactoring | 2,872 | false | 2026-07-17 |
using System;
using System.Linq;
using Ewk.BandWebsite.Domain.AppModel;
using Ewk.BandWebsite.UnitTests.ModelCreators;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Rhino.Mocks;
namespace Ewk.BandWebsite.Repositories.UnitTests.AppRepositoryTests
{
[TestClass]
public class BandTests : AppRepository... | Coilz/BandWebsite | Source/Repositories.UnitTests/AppRepositoryTests/BandTests.cs | https://github.com/Coilz/BandWebsite/blob/HEAD/Source/Repositories.UnitTests/AppRepositoryTests/BandTests.cs | ghcode:00011:2153a007d9cb | mit | codeparrot/github-code | 2153a007d9cb0516f71d5f800cf3324f5e452b7ce859dcbd6a7a5b6422f59263 | 0.75 | testing_debugging_repair_refactoring | 963 | false | 2026-07-17 |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | Squidex/squidex | backend/tests/Squidex.Infrastructure.Tests/TypeNameRegistryTests.cs | https://github.com/Squidex/squidex/blob/HEAD/backend/tests/Squidex.Infrastructure.Tests/TypeNameRegistryTests.cs | ghcode:00011:3dd7721a1b34 | mit | codeparrot/github-code | 3dd7721a1b34bb5cfe01a0d3f22c174167165a5fa0aeefc7d9ab5898a36bf4a3 | 0.95 | testing_debugging_repair_refactoring | 1,018 | false | 2026-07-17 |
#if !NET45PLUS
// 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.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.Contracts;
using System.... | tunnelvisionlabs/dotnet-collections | System.Collections.Immutable/src/System/Collections/Immutable/SortedInt32KeyNode.cs | https://github.com/tunnelvisionlabs/dotnet-collections/blob/HEAD/System.Collections.Immutable/src/System/Collections/Immutable/SortedInt32KeyNode.cs | ghcode:00011:2bf462dce240 | mit | codeparrot/github-code | 2bf462dce240d6b405dea0d00a4fb6a125113a30d9440c01fa05790b719ca434 | 0.8 | testing_debugging_repair_refactoring | 6,128 | false | 2026-07-17 |
using Cumulus.Configuration;
using Cumulus.LargeMessages.FileSystem.Configuration;
using Cumulus.MessageContracts;
using Cumulus.Tests.Common;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cumulu... | AtmosphereMessaging/Cumulus | src/Tests/Cumulus.StressTests/StressTestSpecification.cs | https://github.com/AtmosphereMessaging/Cumulus/blob/HEAD/src/Tests/Cumulus.StressTests/StressTestSpecification.cs | ghcode:00011:e69e4902ba47 | mit | codeparrot/github-code | e69e4902ba479da46569ae29eef6381fa59cadb03ab59543d21f18ccaf6cccd9 | 0.85 | testing_debugging_repair_refactoring | 1,174 | false | 2026-07-17 |
using SqlKata.Compilers;
using SqlKata.Tests.Infrastructure;
using Xunit;
namespace SqlKata.Tests
{
public class AggregateTests : TestSupport
{
[Fact]
public void Count()
{
var query = new Query("A").AsCount();
var c = Compile(query);
Assert.Equal("... | sqlkata/querybuilder | QueryBuilder.Tests/AggregateTests.cs | https://github.com/sqlkata/querybuilder/blob/HEAD/QueryBuilder.Tests/AggregateTests.cs | ghcode:00011:96aef0e282cb | mit | codeparrot/github-code | 96aef0e282cb0b81d7127fe2c387374c9d337fd05dc9b8ad7252fa86b9305b1b | 0.75 | testing_debugging_repair_refactoring | 658 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LeetCode.Test
{
[TestClass]
public class _104_MaximumDepthOfBinaryTree_Test
{
[TestMethod]
public void MaxDepthTest()
{
var solution = new _104_MaximumDepthOfBinaryTree();
var result = solution.Ma... | BigEgg/LeetCode | CSharp/LeetCode.Test/101-150/104-MaximumDepthOfBinaryTree-Test.cs | https://github.com/BigEgg/LeetCode/blob/HEAD/CSharp/LeetCode.Test/101-150/104-MaximumDepthOfBinaryTree-Test.cs | ghcode:00011:00bb55314ba0 | mit | codeparrot/github-code | 00bb55314ba041439206b8b8f7a356376bcec7866c29494e89565a214170435c | 0.6 | testing_debugging_repair_refactoring | 161 | false | 2026-07-17 |
using System;
using JK.Common.TypeHelpers;
using Xunit;
namespace JK.Common.Tests.TypeHelpers
{
public class DateHelperTests
{
#region AddWorkDays() Tests
[Theory]
[InlineData("2019-09-16", 5, 23)] // start on monday
[InlineData("2019-09-16", 4, 20)]
[InlineData("2019-... | digital-lagniappe/DL.Common | src/JK.Common.Tests/TypeHelpers/DateHelperTests.cs | https://github.com/digital-lagniappe/DL.Common/blob/HEAD/src/JK.Common.Tests/TypeHelpers/DateHelperTests.cs | ghcode:00011:9ac68b602b72 | mit | codeparrot/github-code | 9ac68b602b72cdd1d2961e007497ecdc2ff18b17438cb1a041fd0d3e1c89c6d8 | 0.85 | testing_debugging_repair_refactoring | 1,828 | false | 2026-07-17 |
using System;
using System.IO;
using Baseline;
using Marten.Schema;
using Marten.Services;
using Marten.Storage;
using Xunit;
namespace Marten.Testing.Bugs
{
public class Bug_145_table_getting_erroneously_regenerated_Tests : DocumentSessionFixture<NulloIdentityMap>
{
public Bug_145_table_getting_erron... | jokokko/marten | src/Marten.Testing/Bugs/Bug_145_table_getting_erroneously_regenerated_Tests.cs | https://github.com/jokokko/marten/blob/HEAD/src/Marten.Testing/Bugs/Bug_145_table_getting_erroneously_regenerated_Tests.cs | ghcode:00011:d776f6034b02 | mit | codeparrot/github-code | d776f6034b026f0f9debc048255c4796a4fa9adb1799f6a90f7a3d82b3449653 | 0.85 | testing_debugging_repair_refactoring | 411 | false | 2026-07-17 |
using System;
using System.IO;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using Serilog;
using Serilog.Context;
using Serilog.Events;
using Serilog.Formatting.Display;
using Xunit.Abstractions;
namespace LinqSubexpressions {
// http://dhickey.ie/2015/06/capturing-log-output-in-tests-with-xunit2/
... | heynickc/linq_subexpressions | LinqSubexpressions/LoggingHelpers.cs | https://github.com/heynickc/linq_subexpressions/blob/HEAD/LinqSubexpressions/LoggingHelpers.cs | ghcode:00011:497c09e852bd | mit | codeparrot/github-code | 497c09e852bdf625e2bd5f8fa6e40ae4118510e333bdfc120b3c14a750371b86 | 0.7 | testing_debugging_repair_refactoring | 454 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.CodeDom;
namespace Moonlit.PatternDesign {
/// <summary>
///
/// </summary>
public class MemberMethodInfoFactory : IMemberInfoFactory {
... | moonwa/moonlit | src/moonlit/PatternDesign/Decorator/MemberMethodInfoFactory.cs | https://github.com/moonwa/moonlit/blob/HEAD/src/moonlit/PatternDesign/Decorator/MemberMethodInfoFactory.cs | ghcode:00011:15ab308f925f | mit | codeparrot/github-code | 15ab308f925f2e642a9a382f0092954b43d1998ac83640abb799cd69cfe44f6f | 0.7 | testing_debugging_repair_refactoring | 573 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Overlays.Rankings;
using osu.Game.Users;
nam... | ZLima12/osu | osu.Game.Tests/Visual/Online/TestSceneRankingsHeaderTitle.cs | https://github.com/ZLima12/osu/blob/HEAD/osu.Game.Tests/Visual/Online/TestSceneRankingsHeaderTitle.cs | ghcode:00011:054888ce3c1f | mit | codeparrot/github-code | 054888ce3c1f9cdd70b476c4bcac82bc58f84f6c0538216ddfbb23851c4ef01e | 0.75 | testing_debugging_repair_refactoring | 462 | false | 2026-07-17 |
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
namespace EndToEndMailCourse._02
{
[TestFixture]
public class Workshop02Tests
{
private string testUrl = "https://suvroc.github.io/selenium-mail-course/02/workshop.html";
[Test]
public void ShouldTestWorks... | suvroc/selenium-mail-course | EndToEndMailCourse/EndToEndMailCourse/02/Workshop02Tests.cs | https://github.com/suvroc/selenium-mail-course/blob/HEAD/EndToEndMailCourse/EndToEndMailCourse/02/Workshop02Tests.cs | ghcode:00011:8d59420d1d3c | mit | codeparrot/github-code | 8d59420d1d3cec5a38c8a753ee48082d6d0bd58f226ed3b9ea6a8d4153f311f8 | 0.75 | testing_debugging_repair_refactoring | 240 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using FakeItEasy;
using FluentAssertions;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using Ober.Test.Extensions;
using Ober.Test.Mock;
using Ober.Tool.Commands;
using Ober.Tool.Interfaces;
using Ober.Tool.Localiza... | JanJoris/ober | Ober.Test/Commands/SubmitCommandPackageTest.cs | https://github.com/JanJoris/ober/blob/HEAD/Ober.Test/Commands/SubmitCommandPackageTest.cs | ghcode:00011:ebe83f5267ae | mit | codeparrot/github-code | ebe83f5267ae76bf3c4b8529c78df62105ee04f5adc8d4cc0cd8577ed0d7bfe4 | 0.6 | testing_debugging_repair_refactoring | 815 | false | 2026-07-17 |
#region PDFsharp Charting - A .NET charting library based on PDFsharp
//
// Authors:
// Niklas Schneider
//
// Copyright (c) 2005-2016 empira Software GmbH, Cologne Area (Germany)
//
// http://www.pdfsharp.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is hereby granted, free of charge, to any perso... | jumpchain/jumpmaker | JumpMaker/PDFSharp/PdfSharp.Charting/Charting/LineFormat.cs | https://github.com/jumpchain/jumpmaker/blob/HEAD/JumpMaker/PDFSharp/PdfSharp.Charting/Charting/LineFormat.cs | ghcode:00011:dbb177e3fef5 | mit | codeparrot/github-code | dbb177e3fef5332e92b93a887f66a0cd851afd6eb9f57528690e9998815f0fae | 0.7 | testing_debugging_repair_refactoring | 760 | false | 2026-07-17 |
using FluentAssertions;
using NUnit.Framework;
using System.Collections.ObjectModel;
namespace Nerdle.AutoConfig.Tests.Integration
{
[TestFixture]
class MappingKeyedCollections : EndToEndTest
{
[Test]
public void Mapping_keyed_collections()
{
var config = AutoConfig.Map... | edpollitt/Nerdle.AutoConfig | Nerdle.AutoConfig.Tests.Integration/MappingKeyedCollections.cs | https://github.com/edpollitt/Nerdle.AutoConfig/blob/HEAD/Nerdle.AutoConfig.Tests.Integration/MappingKeyedCollections.cs | ghcode:00011:e147b631150a | mit | codeparrot/github-code | e147b631150a96d4556dd7a2e57c6bc5c96ef500d1378cd8598ad4c7851c5488 | 0.75 | testing_debugging_repair_refactoring | 267 | false | 2026-07-17 |
using System.Collections;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace GameRayBurst.FtLinq.Tests.EnumerableLinq
{
[TestClass]
public class CastTests
{
[TestMethod, PerformanceTest]
public void Cast_Boxed()
{
var list = new... | tailsu/FtLinq | GameRayBurst.FtLinq.Tests/EnumerableLinq/CastTests.cs | https://github.com/tailsu/FtLinq/blob/HEAD/GameRayBurst.FtLinq.Tests/EnumerableLinq/CastTests.cs | ghcode:00011:404114ae87cc | mit | codeparrot/github-code | 404114ae87cca55a172f5a412cd0911460c54285a89580bd885a79b41d0f2369 | 0.75 | testing_debugging_repair_refactoring | 150 | false | 2026-07-17 |
namespace Owin.Limits
{
using System;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Owin.Testing;
using Xunit;
public class MaxBandwidthTests
{
[Fact]
public async Task W... | tugberkugurlu/Owin.Limits | src/Owin.Limits.Tests/MaxBandwidthTests.cs | https://github.com/tugberkugurlu/Owin.Limits/blob/HEAD/src/Owin.Limits.Tests/MaxBandwidthTests.cs | ghcode:00011:bd62a5e4ea53 | mit | codeparrot/github-code | bd62a5e4ea53bd681062d99037e9bfaa11b9593a55fb465b61b4e7b84aeda19d | 0.85 | testing_debugging_repair_refactoring | 373 | false | 2026-07-17 |
using Cake.Common.Build.AppVeyor;
using Cake.Common.Tests.Fixtures.Build;
using Cake.Core;
using Cake.Core.IO;
using NSubstitute;
using Xunit;
namespace Cake.Common.Tests.Unit.Build.AppVeyor
{
public sealed class AppVeyorProviderTests
{
public sealed class TheConstructor
{
[Fact]
... | Invenietis/cake | src/Cake.Common.Tests/Unit/Build/AppVeyor/AppVeyorProviderTests.cs | https://github.com/Invenietis/cake/blob/HEAD/src/Cake.Common.Tests/Unit/Build/AppVeyor/AppVeyorProviderTests.cs | ghcode:00011:477939b529f0 | mit | codeparrot/github-code | 477939b529f0de547530745b2d3ea049e5c227fe1ab5c683854c3380c38babf1 | 0.85 | testing_debugging_repair_refactoring | 1,287 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using ShippingEasy;
namespace Tests
{
[TestFixture]
public class OrderQueryTests
{
[Test]
public void BuildsDictionaryForPropertiesWithValues()
{
var orderQuery = new OrderQuery {Page = 2, Status = "shipped"};
var options... | ShippingEasy/shipping_easy-dotnet | Tests/OrderQueryTests.cs | https://github.com/ShippingEasy/shipping_easy-dotnet/blob/HEAD/Tests/OrderQueryTests.cs | ghcode:00011:9c21f860a36d | mit | codeparrot/github-code | 9c21f860a36d5f3a08aab3c122bc0f85161e979c3da11a4a12d77e709acf99eb | 0.75 | testing_debugging_repair_refactoring | 301 | false | 2026-07-17 |
using MapCollections;
using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine;
using LibNoise;
using LibNoise.Generator;
using LibNoise.Operator;
public abstract class TerrainGenerator
{
abstract public float [,] GenerateMap(int width, int height);
}
public class PerlinTerrai... | callumW/World-Explorer | Assets/scripts/TerrainGenerator.cs | https://github.com/callumW/World-Explorer/blob/HEAD/Assets/scripts/TerrainGenerator.cs | ghcode:00011:8b9ba806db23 | mit | codeparrot/github-code | 8b9ba806db2341bb8a15841aaae83c35dbfd9a51795f04268a34ac72fe94f0a0 | 0.7 | testing_debugging_repair_refactoring | 6,925 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DataStructures.LDS.Lists;
using System;
namespace DataStructuresTests.LSD.Lists
{
[TestClass]
public abstract class SOListTests<T>
{
public abstract T GetValue1();
public abstract T GetValue2();
public abstract T GetValue3()... | NeuroXiq/DataStructures | DataStructuresTests/LSD/Lists/SOListBaseTests.cs | https://github.com/NeuroXiq/DataStructures/blob/HEAD/DataStructuresTests/LSD/Lists/SOListBaseTests.cs | ghcode:00011:5aeee81fd809 | mit | codeparrot/github-code | 5aeee81fd8090693c7d4ecd5c5969e77cfe89568b8b3a417b1cc86eb45d65f74 | 0.75 | testing_debugging_repair_refactoring | 318 | false | 2026-07-17 |
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using SJP.Schematic.Core;
namespace SJP.Schematic.PostgreSql.Tests.Integration.Versions.V10
{
internal sealed partial class PostgreSqlRelationalDatabaseTableProviderTests : PostgreSql10Test
{
[Test]
public async Task Trigg... | sjp/Schematic | src/SJP.Schematic.PostgreSql.Tests/Integration/Versions/V10/PostgreSqlRelationalDatabaseTableProviderTests.Triggers.cs | https://github.com/sjp/Schematic/blob/HEAD/src/SJP.Schematic.PostgreSql.Tests/Integration/Versions/V10/PostgreSqlRelationalDatabaseTableProviderTests.Triggers.cs | ghcode:00011:9fdd557e9613 | mit | codeparrot/github-code | 9fdd557e961390b861c35108e2a0b0aa0e73b26145e2bce098be5fdd7b2a2fef | 0.75 | testing_debugging_repair_refactoring | 1,157 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
using FluentAssertions;
using NUnit.Framework;
namespace SocketIO.Emitter.Tests
{
public class EmitterTests : TestBase
{
private IEmitter _emitter;
private Process _redisCli;
private Process _redisSe... | ziyasal/socket.io-csharp-emitter | src/SocketIO.Emitter.Tests/EmitterTests.cs | https://github.com/ziyasal/socket.io-csharp-emitter/blob/HEAD/src/SocketIO.Emitter.Tests/EmitterTests.cs | ghcode:00011:88c1994e72c3 | mit | codeparrot/github-code | 88c1994e72c3cdd4812a7b97f66b6f4f958c11cb5a85aaaf4258d0eec634b335 | 0.75 | testing_debugging_repair_refactoring | 918 | false | 2026-07-17 |
using UnityEngine;
using System.Collections;
using System.Net;
using uPLibrary.Networking.M2Mqtt;
using uPLibrary.Networking.M2Mqtt.Messages;
using uPLibrary.Networking.M2Mqtt.Utility;
using uPLibrary.Networking.M2Mqtt.Exceptions;
using System;
public class mqttTest : MonoBehaviour {
private MqttClient client;
// ... | Ninosauleo/RunDorisRun | Game/Run Doris Run!/Assets/MQTT/scripts/test/mqttTest.cs | https://github.com/Ninosauleo/RunDorisRun/blob/HEAD/Game/Run Doris Run!/Assets/MQTT/scripts/test/mqttTest.cs | ghcode:00011:983156d180ed | mit | codeparrot/github-code | 983156d180ed37a51b2e17dcbb6b4fb1c671f67a258e559934d93305922892f2 | 0.95 | testing_debugging_repair_refactoring | 357 | false | 2026-07-17 |
namespace Gu.Reactive.Tests.Conditions
{
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Gu.Reactive.Tests.Helpers;
using NUnit.Framework;
public static class NegatedConditionTests
{
[TestCase(false, true)]
[TestCase(true, false)]
... | JohanLarsson/Gu.Reactive | Gu.Reactive.Tests/Conditions/NegatedConditionTests.cs | https://github.com/JohanLarsson/Gu.Reactive/blob/HEAD/Gu.Reactive.Tests/Conditions/NegatedConditionTests.cs | ghcode:00011:cb9f9e6e277e | mit | codeparrot/github-code | cb9f9e6e277ec1d2c80f0e08eb4f6c31ba12354cb389cfaef4512d4b1632fc3b | 0.75 | testing_debugging_repair_refactoring | 1,227 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Threading;
using Microsoft.CodeAnalysis.PooledObjects;
using Roslyn.... | xasx/roslyn | src/Compilers/CSharp/Portable/Symbols/SubstitutedMethodSymbol.cs | https://github.com/xasx/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/SubstitutedMethodSymbol.cs | ghcode:00011:6264d1681aaa | apache-2.0 | codeparrot/github-code | 6264d1681aaa52d5248ef4e781f898529fa48626f6d6cd308e279fe014e5223f | 0.85 | testing_debugging_repair_refactoring | 2,892 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using EddiCompanionAppService;
using EddiDataDefinitions;
using System.Collections.Generic;
using EddiDataProviderService;
namespace Tests
{
[TestClass]
public class DataProviderTests
{
[TestMethod]
public void TestDataProviderEmptySystem... | cmdrmcdonald/EliteDangerousDataProvider | Tests/DataProviderTests.cs | https://github.com/cmdrmcdonald/EliteDangerousDataProvider/blob/HEAD/Tests/DataProviderTests.cs | ghcode:00011:5fec1d7be641 | apache-2.0 | codeparrot/github-code | 5fec1d7be641119145f885c9416916827bc3e1be5c5c118102ea2b520e4c0762 | 0.75 | testing_debugging_repair_refactoring | 945 | false | 2026-07-17 |
namespace NServiceBus.AcceptanceTests.Sagas
{
using System;
using EndpointTemplates;
using AcceptanceTesting;
using NUnit.Framework;
using Saga;
public class When_using_ReplyToOriginator : NServiceBusAcceptanceTest
{
[Test]
public void Should_set_Reply_as_messageintent()
... | benjaminramey/GoodlyFere.NServiceBus.EntityFramework | src/AcceptanceTests/App_Packages/NSB.AcceptanceTests.5.2.14/Sagas/When_using_ReplyToOriginator.cs | https://github.com/benjaminramey/GoodlyFere.NServiceBus.EntityFramework/blob/HEAD/src/AcceptanceTests/App_Packages/NSB.AcceptanceTests.5.2.14/Sagas/When_using_ReplyToOriginator.cs | ghcode:00011:3e4c313e18f9 | apache-2.0 | codeparrot/github-code | 3e4c313e18f92a1086e3b5b7bf00a0acc884acce311e344daae66f0fd8a460e6 | 0.7 | testing_debugging_repair_refactoring | 629 | false | 2026-07-17 |
#region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. 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
//
// ... | fsateler/MoreLINQ | MoreLinq.Test/MaxByTest.cs | https://github.com/fsateler/MoreLINQ/blob/HEAD/MoreLinq.Test/MaxByTest.cs | ghcode:00011:5e23bf830b0a | apache-2.0 | codeparrot/github-code | 5e23bf830b0adc61f8d2b2f439570fdf8678cafd82717f38a6ac87908b266954 | 0.7 | testing_debugging_repair_refactoring | 1,191 | false | 2026-07-17 |
#region License
//
// Dasher
//
// Copyright 2015-2017 Drew Noakes
//
// 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
//
// ... | drewnoakes/dasher | Dasher.Tests/SerialiserPerfTests.cs | https://github.com/drewnoakes/dasher/blob/HEAD/Dasher.Tests/SerialiserPerfTests.cs | ghcode:00011:22302f793bf9 | apache-2.0 | codeparrot/github-code | 22302f793bf9882b4e0162590171487c3ac4ab3f0cfc67cf70be6799a627b74e | 0.85 | testing_debugging_repair_refactoring | 745 | false | 2026-07-17 |
#region Apache License 2.0
// Copyright 2008 Christian Rodemeyer
//
// 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... | kalyptorisk/svnquery | source/SvnQueryTests/Lucene/GapPhraseParserTest.cs | https://github.com/kalyptorisk/svnquery/blob/HEAD/source/SvnQueryTests/Lucene/GapPhraseParserTest.cs | ghcode:00011:075deac26fc9 | apache-2.0 | codeparrot/github-code | 075deac26fc956a1aa9d731a80c3b33282a59a5607f4748aceadf452c89586c7 | 0.7 | testing_debugging_repair_refactoring | 554 | false | 2026-07-17 |
namespace King.Route.Unit.Test
{
using King.Route;
using NUnit.Framework;
using System;
[TestFixture]
public class RouteAttributeTests
{
[Test]
public void Constructor()
{
new RouteAliasAttribute(Guid.NewGuid().ToString());
}
[Test]
... | jefking/King.Route | King.Route.Unit.Test/RouteAliasAttributeTests.cs | https://github.com/jefking/King.Route/blob/HEAD/King.Route.Unit.Test/RouteAliasAttributeTests.cs | ghcode:00011:37e3aeaa28fe | apache-2.0 | codeparrot/github-code | 37e3aeaa28fec3ceb0cca46dcb425c62877e76642d88c956166c274c7242fbfc | 0.75 | testing_debugging_repair_refactoring | 131 | false | 2026-07-17 |
namespace BelkaCloudDownloader.Utils.Tests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
/// <summary>
/// Tests for <see cref="AbstractDownloader"/> class.
/// </summary>
[TestClass]
public sealed class AbstractDownloaderTests
{
/// <summary>
/// Tests estimation a... | AlexanderKiselyov/DownloadProject | Belka/Tests/BelkaCLoudDownloader.Utils.Tests/AbstractDownloaderTests.cs | https://github.com/AlexanderKiselyov/DownloadProject/blob/HEAD/Belka/Tests/BelkaCLoudDownloader.Utils.Tests/AbstractDownloaderTests.cs | ghcode:00011:ccfc776b3417 | apache-2.0 | codeparrot/github-code | ccfc776b3417e839f5fc6888b3226a20ecc99213f3bc3639295a24f5980bb550 | 0.95 | testing_debugging_repair_refactoring | 888 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace log4net.Appender.Msmq.Tests
{
public class MsmqAppenderTests
{
}
}
| fanyangxi/log4net.Appender.Msmq | src/log4net.Appender.Msmq.Tests/MsmqAppenderTests.cs | https://github.com/fanyangxi/log4net.Appender.Msmq/blob/HEAD/src/log4net.Appender.Msmq.Tests/MsmqAppenderTests.cs | ghcode:00011:561c1c487e25 | apache-2.0 | codeparrot/github-code | 561c1c487e252ee1e9b1b3a8f2b75fe7ee5272a2ed47c920f05f1a6c3e9647b5 | 0.5 | testing_debugging_repair_refactoring | 43 | false | 2026-07-17 |
// Copyright 2020 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | googlestadia/vsi-lldb | YetiCommon.Tests/SDKConfigTests.cs | https://github.com/googlestadia/vsi-lldb/blob/HEAD/YetiCommon.Tests/SDKConfigTests.cs | ghcode:00011:0a844d588b44 | apache-2.0 | codeparrot/github-code | 0a844d588b446fee10e323239f87f69181c0c89d3f7e066df9b5cd31bd8d1278 | 0.85 | testing_debugging_repair_refactoring | 668 | false | 2026-07-17 |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
public class TestManager : MonoBehaviour
{
public static TestManager instance = null;
StreamWriter file;
[HideInInspector]
public string HMD;
[HideInInspector]
public string nonHMD;
[HideInIn... | ActiveCG/ACVR10 | AsymmetricVRWalk/Assets/TestManager.cs | https://github.com/ActiveCG/ACVR10/blob/HEAD/AsymmetricVRWalk/Assets/TestManager.cs | ghcode:00011:570ce498920b | apache-2.0 | codeparrot/github-code | 570ce498920b6f67fdec4415c9b6d8cf79a45d685e42cb782829fd84e5e4113b | 0.75 | testing_debugging_repair_refactoring | 416 | false | 2026-07-17 |
/* Copyright 2009 dotless project, http://www.dotlesscss.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... | erikvanbrakel/DotLessVSIntegration | src/dotlessVS.Test/LexerFixtures.cs | https://github.com/erikvanbrakel/DotLessVSIntegration/blob/HEAD/src/dotlessVS.Test/LexerFixtures.cs | ghcode:00011:48b130424f76 | apache-2.0 | codeparrot/github-code | 48b130424f7605f697368385f608ed51572fc56f8784182ba079431831c0ea87 | 0.7 | testing_debugging_repair_refactoring | 450 | false | 2026-07-17 |
/*
* Copyright 2020 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 ... | GoogleCloudPlatform/dotnet-docs-samples | kms/api/Kms.Samples.Tests/UpdateKeyRemoveLabelsTests.cs | https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/HEAD/kms/api/Kms.Samples.Tests/UpdateKeyRemoveLabelsTests.cs | ghcode:00011:2fef921d4fed | apache-2.0 | codeparrot/github-code | 2fef921d4fed9852dd592bd4a20b7d2d171807e253045697a6dfb4cec112b4df | 0.85 | testing_debugging_repair_refactoring | 347 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Bloom.Domain.Enums;
using Bloom.Domain.Models;
using NUnit.Framework;
namespace Bloom.Domain.Tests.Models
{
/// <summary>
/// Tests the album model classes.
/// </summary>
[TestFixture]
public class AlbumModelTests
{
private const s... | RobDixonIII/Bloom | Shared/Tests/Bloom.Domain.Tests/Models/AlbumModelTests.cs | https://github.com/RobDixonIII/Bloom/blob/HEAD/Shared/Tests/Bloom.Domain.Tests/Models/AlbumModelTests.cs | ghcode:00011:92239784fe73 | apache-2.0 | codeparrot/github-code | 92239784fe733c8e8ba4059df906c8a1a7e55ccebeef12010d1297ebff304307 | 0.95 | testing_debugging_repair_refactoring | 5,374 | false | 2026-07-17 |
using System;
using Bogus;
using Nest;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Tests.Framework.MockData
{
public class CommitActivity
{
public string Id { get; set; }
public string ProjectName { get; set; }
public string Message { get; set; }
public long SizeInBytes { get; set;... | cstlaurent/elasticsearch-net | src/Tests/Framework/MockData/CommitActivity.cs | https://github.com/cstlaurent/elasticsearch-net/blob/HEAD/src/Tests/Framework/MockData/CommitActivity.cs | ghcode:00011:0f437b1ab195 | apache-2.0 | codeparrot/github-code | 0f437b1ab19598b4043eeb26af765d3e6b68c294a24fc5f3f0465b29224c9a00 | 0.85 | testing_debugging_repair_refactoring | 643 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Collections.Generic;
#if OPENGL
#if MONOMAC
using MonoMac.OpenGL;
using GLStencilFunction = MonoMac.OpenGL.StencilFunction;
#elif WINDOWS || LINUX
using OpenTK.Graphics.OpenGL;
using GLStencilFunction = OpenTK.Graphics.OpenGL.StencilFunction;
#elif GLES
... | jonathanpeppers/MonoGameOrientation | MonoGame/MonoGame.Framework/Graphics/States/DepthStencilState.cs | https://github.com/jonathanpeppers/MonoGameOrientation/blob/HEAD/MonoGame/MonoGame.Framework/Graphics/States/DepthStencilState.cs | ghcode:00011:8631706a22e3 | apache-2.0 | codeparrot/github-code | 8631706a22e31faafbfdd66a079371c4e84fc2df489e546f173a5c4a417667fa | 0.85 | testing_debugging_repair_refactoring | 3,403 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
using System.Runtime.Serialization;
using NUnit.Framework;
using ObjectSerialization.UT.Helpers;
namespace ObjectSerialization.UT
{
[TestFixture]
public class ObjectSerializerTests
{
... | Suremaker/ObjectSerialization-Net | ObjectSerialization.UT/ObjectSerializerTests.cs | https://github.com/Suremaker/ObjectSerialization-Net/blob/HEAD/ObjectSerialization.UT/ObjectSerializerTests.cs | ghcode:00011:a4f280ee6f97 | bsd-2-clause | codeparrot/github-code | a4f280ee6f977b533353f2b04e9c6a2549c04203b327e4dda3fd92a269c4a4d8 | 0.68 | testing_debugging_repair_refactoring | 3,216 | false | 2026-07-17 |
using System;
using System.Linq;
using System.IO;
using NUnit.Framework;
using FastCgiNet;
using FastCgiNet.Requests;
using System.Net;
using System.Net.Sockets;
namespace FastCgiNet.Tests
{
[TestFixture]
public class SocketRequestTests
{
private System.Net.IPAddress ListenAddr = System.Net.IPAddre... | mzabani/FastCgiNet | FastCgiNet.Tests/Requests/SocketRequestTests.cs | https://github.com/mzabani/FastCgiNet/blob/HEAD/FastCgiNet.Tests/Requests/SocketRequestTests.cs | ghcode:00011:2f2056481216 | bsd-2-clause | codeparrot/github-code | 2f20564812167f476764969ce7b5c68d3098712078a84cd3681697e7c5835407 | 0.78 | testing_debugging_repair_refactoring | 1,547 | false | 2026-07-17 |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
namespace Microsoft.iMote2Tester.UnitTests
{
using System;
using System.IO.Ports;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using RT = Microsoft.Zelig.Runtime;
using TS = Microsoft.Zelig.Runtime... | jkotas/llilum | Zelig/Zelig/RunTime/DeviceModels/iMote2Tester/UnitTests/LED.Tests.cs | https://github.com/jkotas/llilum/blob/HEAD/Zelig/Zelig/RunTime/DeviceModels/iMote2Tester/UnitTests/LED.Tests.cs | ghcode:00011:93d07e733ecd | mit | codeparrot/github-code | 93d07e733ecda2ad625d4417e6b0a91fde4d4f1fc1c33f69d24122e1aa6f1530 | 0.85 | testing_debugging_repair_refactoring | 881 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace NNanomsg.UnitTests
{
public static class TestExtensions
{
}
}
| tempbottle/NNanomsg | UnitTests/TestExtensions.cs | https://github.com/tempbottle/NNanomsg/blob/HEAD/UnitTests/TestExtensions.cs | ghcode:00011:788ce03ff387 | mit | codeparrot/github-code | 788ce03ff387b36ff5fb7d4db0d6e50e91e4b084c23ae54760264c4f821b4e86 | 0.75 | testing_debugging_repair_refactoring | 43 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Shouldly;
using Xunit;
namespace GraphQL.Tests
{
public class ObjectExtensionsTests
{
[Fact]
public void convert_double_using_cultures()
{
CultureTestHelper.UseCultures(convert_double);
}
[Fact]
p... | graphql-dotnet/graphql-dotnet | src/GraphQL.Tests/ObjectExtensionsTest.cs | https://github.com/graphql-dotnet/graphql-dotnet/blob/HEAD/src/GraphQL.Tests/ObjectExtensionsTest.cs | ghcode:00011:843f3fd85805 | mit | codeparrot/github-code | 843f3fd85805fc9059a37c4a6fc7c5d1ed9d1e823c82d9d9a1f292123c702247 | 0.85 | testing_debugging_repair_refactoring | 1,527 | false | 2026-07-17 |
/* Copyright (C) <2009-2011> <Thorben Linneweber, Jitter Physics>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any... | Xaer033/YellowSign | YellowSignUnity/Assets/ThirdParty/Networking/TrueSync/Physics/Jitter/Collision/Shapes/Multishape.cs | https://github.com/Xaer033/YellowSign/blob/HEAD/YellowSignUnity/Assets/ThirdParty/Networking/TrueSync/Physics/Jitter/Collision/Shapes/Multishape.cs | ghcode:00011:fddf20c6bff6 | mit | codeparrot/github-code | fddf20c6bff67308ca94c150188c088f96a85d980023f9b2b8be91156ea9a177 | 0.7 | testing_debugging_repair_refactoring | 1,160 | false | 2026-07-17 |
namespace AutoMapper.UnitTests
{
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using Xunit;
using Should;
using System.Linq;
// ReSharper disable ConvertToAutoProperty
// ReSharper disable ConvertProper... | mwpowellhtx/AutoMapperContributed | src/UnitTests/ArraysAndLists.cs | https://github.com/mwpowellhtx/AutoMapperContributed/blob/HEAD/src/UnitTests/ArraysAndLists.cs | ghcode:00011:fb965220f822 | mit | codeparrot/github-code | fb965220f822f6f04e1eb31226415fb1dd8c18a7c3f842015aefc6046b776de1 | 0.85 | testing_debugging_repair_refactoring | 3,126 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using FluentAssertions;
using NUnit.Framework;
using Tailviewer.Core;
namespace Tailviewer.Tests.Settings
{
[TestFixture]
public sealed class TimeFilterTest
{
public static IEnumerable<SpecialDateTimeInterval> R... | Kittyfisto/SharpTail | src/Tailviewer.Tests/Settings/TimeFilterTest.cs | https://github.com/Kittyfisto/SharpTail/blob/HEAD/src/Tailviewer.Tests/Settings/TimeFilterTest.cs | ghcode:00011:0680c335b24f | mit | codeparrot/github-code | 0680c335b24f6df31024040e33683e48ff9bbabcf3cb959b1a0460c109436d8a | 0.6 | testing_debugging_repair_refactoring | 681 | false | 2026-07-17 |
namespace AngleSharp.Core.Tests.Library
{
using AngleSharp.Core.Tests.Mocks;
using AngleSharp.Dom.Html;
using AngleSharp.Extensions;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
[TestFixture]
public class PageImportTests
{... | FlorianRappl/AngleSharp | src/AngleSharp.Core.Tests/Library/PageImport.cs | https://github.com/FlorianRappl/AngleSharp/blob/HEAD/src/AngleSharp.Core.Tests/Library/PageImport.cs | ghcode:00011:4fc14123d2d2 | mit | codeparrot/github-code | 4fc14123d2d2a1dd63feb409a62e86a21603323348d0ef133aa7d0ed28fe097a | 0.85 | testing_debugging_repair_refactoring | 807 | false | 2026-07-17 |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If ... | tempbottle/dlr | Src/Microsoft.Dynamic/ComInterop/ComInvokeAction.cs | https://github.com/tempbottle/dlr/blob/HEAD/Src/Microsoft.Dynamic/ComInterop/ComInvokeAction.cs | ghcode:00012:580260692b8e | apache-2.0 | codeparrot/github-code | 580260692b8e7758e1d77f57e2dab4c7246a42dcfe4cbbeaf829191f5ce72ab7 | 0.7 | testing_debugging_repair_refactoring | 742 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | vadopolski/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Binary/BinaryBuilderSelfTest.cs | https://github.com/vadopolski/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Binary/BinaryBuilderSelfTest.cs | ghcode:00012:e423a2d96480 | apache-2.0 | codeparrot/github-code | e423a2d964809c0da88e34ea5ca232341e434b272f42432a012f0150fd1175f1 | 0.57 | testing_debugging_repair_refactoring | 18,614 | false | 2026-07-17 |
/*
* Copyright 2004 - $Date: 2008-11-15 23:58:07 +0100 (za, 15 nov 2008) $ by PeopleWare n.v..
*
* 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/license... | jandppw/ppwcode-recovered-from-google-code | dotnet/Vernacular/Semantics/dev/PPWCode.Vernacular.Semantics.II/src/Test_II/AbstractSemanticObjectTest.cs | https://github.com/jandppw/ppwcode-recovered-from-google-code/blob/HEAD/dotnet/Vernacular/Semantics/dev/PPWCode.Vernacular.Semantics.II/src/Test_II/AbstractSemanticObjectTest.cs | ghcode:00012:997fe0ecd78d | apache-2.0 | codeparrot/github-code | 997fe0ecd78df8a28f33e41119a3d96d015dc95f463f58a2591adefbdff97995 | 0.95 | testing_debugging_repair_refactoring | 1,384 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.Operation... | paulvanbrenk/roslyn | src/Compilers/Core/Portable/Operations/ControlFlowGraph.cs | https://github.com/paulvanbrenk/roslyn/blob/HEAD/src/Compilers/Core/Portable/Operations/ControlFlowGraph.cs | ghcode:00012:6cafb99f2a51 | apache-2.0 | codeparrot/github-code | 6cafb99f2a5146767012d2772fe8d7c6ca440edc25358837b635736e99925168 | 0.85 | testing_debugging_repair_refactoring | 2,083 | false | 2026-07-17 |
using NUnit.Framework;
namespace StructureMap.Testing.Configuration.DSL
{
[TestFixture]
public class ProgrammaticConstructorSelectionTester
{
[Test]
public void override_constructor_selection_in_code()
{
var container = new Container(x =>
{
... | chester89/structuremap-35-client | Source/StructureMap.Testing/Configuration/DSL/ProgrammaticConstructorSelectionTester.cs | https://github.com/chester89/structuremap-35-client/blob/HEAD/Source/StructureMap.Testing/Configuration/DSL/ProgrammaticConstructorSelectionTester.cs | ghcode:00012:5752613f6b01 | apache-2.0 | codeparrot/github-code | 5752613f6b014363cdf60c6a7a7bb54f54a018de0af4ce710c5272684e1e454d | 0.6 | testing_debugging_repair_refactoring | 227 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.