text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using NUnit.Framework;
using System.Collections.ObjectModel;
using OpenQA.Selenium.Environment;
namespace OpenQA.Selenium
{
[TestFixture]
public class ElementAttributeTest : DriverTestFixture
{
[Test]
public void ShouldReturnNullWhenGettingThe... | SeleniumHQ/selenium | dotnet/test/common/ElementAttributeTest.cs | https://github.com/SeleniumHQ/selenium/blob/HEAD/dotnet/test/common/ElementAttributeTest.cs | ghcode:00004:55ef1b1a80f4 | apache-2.0 | codeparrot/github-code | 55ef1b1a80f4443e3f5471016e6c844bcd2eddc54ab5fb101d18a09e6067581c | 0.95 | testing_debugging_repair_refactoring | 3,298 | 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.Linq;
using System.Net.Http.Headers;
using System.Text;... | BrennanConroy/corefx | src/System.Net.Http/tests/UnitTests/Headers/ProductInfoHeaderParserTest.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Net.Http/tests/UnitTests/Headers/ProductInfoHeaderParserTest.cs | ghcode:00004:5e87b4a84a56 | mit | codeparrot/github-code | 5e87b4a84a56a88a88b8b73a576ff988f99ec17324a04da123551cbbb54f0513 | 0.95 | testing_debugging_repair_refactoring | 994 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// See the LICENSE file in the project root for more information.
//
// System.Configuration.TimeSpanSecondsConverterTest.cs - Unit tests
// for System.Configuration.TimeSpanSecondsConverter.
//
// Author:
// Chris Toshok <toshok@ximian.com>
//
// Copyri... | Petermarcu/corefx | src/System.Configuration.ConfigurationManager/tests/Mono/TimeSpanSecondsConverterTest.cs | https://github.com/Petermarcu/corefx/blob/HEAD/src/System.Configuration.ConfigurationManager/tests/Mono/TimeSpanSecondsConverterTest.cs | ghcode:00004:e5670483ccf0 | mit | codeparrot/github-code | e5670483ccf0eb91bda511da3dd72498f4939e5e26db848ca7e2d5cfe05c13f7 | 0.95 | testing_debugging_repair_refactoring | 1,038 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2009 Charlie Poole
//
// 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, incl... | Suremaker/nunit | src/NUnitFramework/tests/Assertions/AssertInconclusiveTests.cs | https://github.com/Suremaker/nunit/blob/HEAD/src/NUnitFramework/tests/Assertions/AssertInconclusiveTests.cs | ghcode:00004:9926105dcbff | mit | codeparrot/github-code | 9926105dcbff508f7e0d0a34090b646e832ea37885957a4f2354b61d81dea16a | 0.95 | testing_debugging_repair_refactoring | 434 | false | 2026-07-17 |
using Microsoft.Azure.Management.HDInsight;
using Microsoft.Azure.Management.HDInsight.Models;
using Xunit;
namespace HDInsight.Tests.UnitTests
{
public class MetastoreTests
{
[Fact]
public void TestMetastoreConfigsForPaaS()
{
//Hive metastore
var hiveMetastore ... | nemanja88/azure-sdk-for-net | src/ResourceManagement/HDInsight/HDInsight.Tests/UnitTests/MetastoreTests.cs | https://github.com/nemanja88/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/HDInsight/HDInsight.Tests/UnitTests/MetastoreTests.cs | ghcode:00004:797106b3a59d | apache-2.0 | codeparrot/github-code | 797106b3a59db3a2d1265c4a68af6e29b81cf25725ef656d1efc8fcc45d82d12 | 0.85 | testing_debugging_repair_refactoring | 1,727 | false | 2026-07-17 |
using NUnit.Framework;
namespace OpenQA.Selenium
{
[TestFixture]
public class GetMultipleAttributeTest : DriverTestFixture
{
[Test]
public void MultipleAttributeShouldBeNullWhenNotSet()
{
driver.Url = selectPage;
IWebElement element = driver.FindElement(By.I... | p0deje/selenium | dotnet/test/common/GetMultipleAttributeTest.cs | https://github.com/p0deje/selenium/blob/HEAD/dotnet/test/common/GetMultipleAttributeTest.cs | ghcode:00004:b985b4bb984c | apache-2.0 | codeparrot/github-code | b985b4bb984c1e0b60a292b9d8d684ea2230f5743a3848ee4202941350337ab2 | 0.85 | testing_debugging_repair_refactoring | 317 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// See the LICENSE file in the project root for more information.
//
// System.Configuration.IntegerValidatorTest.cs - Unit tests
// for System.Configuration.IntegerValidator.
//
// Author:
// Chris Toshok <toshok@ximian.com>
// Andres G. Aragoneses ... | ViktorHofer/corefx | src/System.Configuration.ConfigurationManager/tests/Mono/IntegerValidatorTest.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Configuration.ConfigurationManager/tests/Mono/IntegerValidatorTest.cs | ghcode:00004:a14405a05129 | mit | codeparrot/github-code | a14405a05129aaa60c90bf887f1f24f993ce0dbe0d772c8981156a8f76f8b784 | 0.95 | testing_debugging_repair_refactoring | 1,346 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions;
using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
using Xunit;
namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.UnitTests.Cmdlets.IaaS.Extensions.DS... | dulems/azure-powershell | src/ServiceManagement/Compute/Commands.ServiceManagement.Test/UnitTests/Cmdlets/IaaS/Extensions/DSC/GetAzureVMDscExtensionStatusUnitTest.cs | https://github.com/dulems/azure-powershell/blob/HEAD/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/UnitTests/Cmdlets/IaaS/Extensions/DSC/GetAzureVMDscExtensionStatusUnitTest.cs | ghcode:00004:8ffea5d57a79 | apache-2.0 | codeparrot/github-code | 8ffea5d57a79043e73d8cd1529e4a79f0d60a93382930c6bd2de00bce167cac9 | 0.7 | testing_debugging_repair_refactoring | 2,280 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law ... | yadavbdev/azure-sdk-for-net | src/ServiceManagement/Network/Network.Tests/Routes/CreateRouteTableTests.cs | https://github.com/yadavbdev/azure-sdk-for-net/blob/HEAD/src/ServiceManagement/Network/Network.Tests/Routes/CreateRouteTableTests.cs | ghcode:00004:7704e46797e7 | apache-2.0 | codeparrot/github-code | 7704e46797e76e5870999322d2f769e9d70dbc5b32f5a6e607112c7e989ed9b3 | 0.85 | testing_debugging_repair_refactoring | 851 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
using Microsoft.Extensions.Configuration;
using Moq;
using StockportGovUK.NetS... | smbc-digital/iag-webapp | test/StockportWebappTests/Unit/Controllers/PaymentControllerTest.cs | https://github.com/smbc-digital/iag-webapp/blob/HEAD/test/StockportWebappTests/Unit/Controllers/PaymentControllerTest.cs | ghcode:00004:697fef6dfcf9 | mit | codeparrot/github-code | 697fef6dfcf9fd8c3a0185d4a885cd58ad8c24881f14fdac1966364b4b067d58 | 0.6 | testing_debugging_repair_refactoring | 2,598 | false | 2026-07-17 |
// --------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// --------------------------------------------------------------------
// --------------------------------------------------------------------
//
// Copyright (c) Microsoft C... | chipitsine/msbuild | src/Build.UnitTests/SolutionFileBuilder.cs | https://github.com/chipitsine/msbuild/blob/HEAD/src/Build.UnitTests/SolutionFileBuilder.cs | ghcode:00004:c4a67cb99bf6 | mit | codeparrot/github-code | c4a67cb99bf614997634861d44b138e6326f5ed72fb60446f0224a8b576be687 | 0.7 | testing_debugging_repair_refactoring | 1,433 | false | 2026-07-17 |
using System;
using Mensura.Length;
using Xunit;
namespace Mensura.Tests.Length
{
public class PicometreTests
: UnitOfLengthTTests<Picometre>
{
public PicometreTests()
: base(new Picometre(5))
{
}
[Fact]
public void Ctor_WithZeroValue_DoesNotThrow()
{
_ = new Picometre(0)... | akamsteeg/Mensura | src/Mensura.Tests/Length/PicometreTests.cs | https://github.com/akamsteeg/Mensura/blob/HEAD/src/Mensura.Tests/Length/PicometreTests.cs | ghcode:00004:e66503d5d423 | mit | codeparrot/github-code | e66503d5d42317a09df4d2cbb4514a01ce6f4165ee555c95de81d35451213291 | 0.75 | testing_debugging_repair_refactoring | 133 | false | 2026-07-17 |
using Xunit;
using Xunit.Abstractions;
namespace DD.Cloud.VersionManagement.Tests
{
/// <summary>
/// Some example unit tests.
/// </summary>
public class ExampleTests
{
/// <summary>
/// Create a new example unit-test suite.
/// </summary>
/// <param name="testOutput">
/// The unit test output f... | tintoy/version-management-v2 | test/VersionManagement.Tests/ExampleTests.cs | https://github.com/tintoy/version-management-v2/blob/HEAD/test/VersionManagement.Tests/ExampleTests.cs | ghcode:00004:6bc06625c159 | mit | codeparrot/github-code | 6bc06625c1591d9c0a6b381ff8197b11431ebf7238aa156f76e04288baa24025 | 0.85 | testing_debugging_repair_refactoring | 259 | false | 2026-07-17 |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | pushrbx/squidex | tests/Squidex.Domain.Apps.Entities.Tests/Schemas/SchemaGrainTests.cs | https://github.com/pushrbx/squidex/blob/HEAD/tests/Squidex.Domain.Apps.Entities.Tests/Schemas/SchemaGrainTests.cs | ghcode:00004:4a7d446db9a7 | mit | codeparrot/github-code | 4a7d446db9a7dbcdb59447b0bebd0ddc7611b5d71bb97c352edc80a5f2a3f699 | 0.85 | testing_debugging_repair_refactoring | 4,315 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Melanchall.DryWetMidi.Common;
using Melanchall.DryWetMidi.Devices;
using Melanchall.DryWetMidi.Core;
using Melanchall.DryWetMidi.Interaction;
using Melanchall.DryWetMidi.Tests.Utilities;
using NUnit.Framework;
namespace M... | melanchall/drymidi | DryWetMidi.Tests/Devices/Playback/PlaybackTests.Asserts.cs | https://github.com/melanchall/drymidi/blob/HEAD/DryWetMidi.Tests/Devices/Playback/PlaybackTests.Asserts.cs | ghcode:00004:ae762057bfdb | mit | codeparrot/github-code | ae762057bfdb92f69699133b8649ae43f080e198ba1fe2cfff7d8e24bbd39edc | 0.6 | testing_debugging_repair_refactoring | 5,211 | false | 2026-07-17 |
namespace NQuery.Tests.Symbols
{
public class BuiltInSymbolsTests
{
protected static void AssertEvaluatesTo(string text, object expectedValue)
{
var actualValue = Compute(text);
Assert.Equal(expectedValue, actualValue);
}
protected static object Compute... | terrajobst/nquery-vnext | src/NQuery.Tests/Symbols/BuiltInSymbolsTests.cs | https://github.com/terrajobst/nquery-vnext/blob/HEAD/src/NQuery.Tests/Symbols/BuiltInSymbolsTests.cs | ghcode:00004:94100bb61764 | mit | codeparrot/github-code | 94100bb61764d3db86e74c923ba04e49a624b3a0653fa2b5d2d0a8473b81d56b | 0.75 | testing_debugging_repair_refactoring | 96 | false | 2026-07-17 |
using FluentAssertions;
using NUnit.Framework;
namespace SFA.DAS.Commitments.Application.UnitTests.Commands.SharedValidation.Apprenticeships
{
[TestFixture]
public sealed class ValidatingFamilyName : ApprenticeshipValidationTestBase
{
[TestCase("")]
[TestCase(null)]
public void The... | SkillsFundingAgency/das-commitments | src/SFA.DAS.Commitments.Application.UnitTests/Commands/SharedValidation/Apprenticeships/ValidatingFamilyName.cs | https://github.com/SkillsFundingAgency/das-commitments/blob/HEAD/src/SFA.DAS.Commitments.Application.UnitTests/Commands/SharedValidation/Apprenticeships/ValidatingFamilyName.cs | ghcode:00004:01e86d3bd2a9 | mit | codeparrot/github-code | 01e86d3bd2a958dd949f6f620387e8933353b738a60b6dfefc8b2b14705c0439 | 0.75 | testing_debugging_repair_refactoring | 114 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.Extensibility;
using vm.Aspects;
using vm.Aspects.Facilities;
using vm.Aspects.Facilities.LogWriters.Etw;
namespace TestEtwEventSource
{
class Program
{
static... | vmelamed/vm | Aspects/Test/TestEtwEventSource/Program.cs | https://github.com/vmelamed/vm/blob/HEAD/Aspects/Test/TestEtwEventSource/Program.cs | ghcode:00004:82de9d7ba706 | mit | codeparrot/github-code | 82de9d7ba70633a94be5f2e91b4e57654cfa37f747e4f5c832b5f7ba07797a8d | 0.85 | testing_debugging_repair_refactoring | 347 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Globalization;
using System.Waf.UnitTesting;
using Test.MusicManager.Domain.MusicFiles;
using Waf.MusicManager.Applications.DataModels;
using Waf.MusicManager.Domain.MusicFiles;
namespace Test.MusicManager.Applications.DataModels;
[TestClass]
... | jbe2277/musicmanager | src/MusicManager/MusicManager.Applications.Test/DataModels/MusicFileDataModelTest.cs | https://github.com/jbe2277/musicmanager/blob/HEAD/src/MusicManager/MusicManager.Applications.Test/DataModels/MusicFileDataModelTest.cs | ghcode:00004:68d230d290fb | mit | codeparrot/github-code | 68d230d290fbdfe9fe7d4a6c1abcd6e1a79d8a3eafcf284bf0863b6334d76617 | 0.6 | testing_debugging_repair_refactoring | 293 | false | 2026-07-17 |
using Character.Display;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Character.Tests.Display
{
[TestClass]
public class TextObjTests
{
[TestMethod, TestCategory("Unit")]
public void ShouldEquate()
{
//arrange
TextObj... | MyTurnyet/CharacterBuilder | Character.Tests/Display/TextObjTests.cs | https://github.com/MyTurnyet/CharacterBuilder/blob/HEAD/Character.Tests/Display/TextObjTests.cs | ghcode:00004:2f572778c0a8 | mit | codeparrot/github-code | 2f572778c0a8897b327799a430f3d41cb2655d612f1503428c6a8d040b83b210 | 0.85 | testing_debugging_repair_refactoring | 515 | false | 2026-07-17 |
namespace Mass.Core.Tests.Expressions
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Mass.Core.Expressions;
using Mass.Core.Functions;
using Mass.Core.Language;
using Microsoft.VisualStudio.TestTools.UnitTesti... | ajlopez/Mass | Src/Mass.Core.Tests/Expressions/SuperCallExpressionTests.cs | https://github.com/ajlopez/Mass/blob/HEAD/Src/Mass.Core.Tests/Expressions/SuperCallExpressionTests.cs | ghcode:00004:44bdd56c72c3 | mit | codeparrot/github-code | 44bdd56c72c3286f242c8a28d530e2b87183e323edf3b97252bfdef19460c2e5 | 0.75 | testing_debugging_repair_refactoring | 396 | false | 2026-07-17 |
using Reusables.Cqrs;
using Reusables.EventSourcing;
using SimpleInjector;
using Xunit.Abstractions;
namespace MailingServiceDemo.Tests.AsyncTests
{
internal static class ContainerAsyncExtensions
{
public static Container ThreadIdAndTimeLogger(this Container container)
{
container.R... | sonbua/Scratchpad | src/MailingServiceDemo.Tests/AsyncTests/ContainerAsyncExtensions.cs | https://github.com/sonbua/Scratchpad/blob/HEAD/src/MailingServiceDemo.Tests/AsyncTests/ContainerAsyncExtensions.cs | ghcode:00004:a4eb8928d1a6 | mit | codeparrot/github-code | a4eb8928d1a6d7364a241b1b21f393f5584cdd9e433d0501a7739c871e07c567 | 0.6 | testing_debugging_repair_refactoring | 310 | false | 2026-07-17 |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 Andrew B. Johnson
*
* 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 ri... | helios2k6/Fansub-File-Name-Parser | Tests/BaseGrammarsTests.cs | https://github.com/helios2k6/Fansub-File-Name-Parser/blob/HEAD/Tests/BaseGrammarsTests.cs | ghcode:00004:ee1e893fbfd8 | mit | codeparrot/github-code | ee1e893fbfd8020925f6f9485e24a8f6824a04a26bbfafb7e5e9cd329896fd0e | 0.75 | testing_debugging_repair_refactoring | 421 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClawLibTests
{
/// <summary>
/// Contains globally used test properties.
/// </summary>
internal static class TestConstants
{
internal readonly static string VALID_... | UserXXX/Claw | ClawLibTests/TestConstants.cs | https://github.com/UserXXX/Claw/blob/HEAD/ClawLibTests/TestConstants.cs | ghcode:00004:14d72f13447e | mit | codeparrot/github-code | 14d72f13447e1178d9c66d89893b0ae3c794912c2ef7573721c3cc3d8dc863a5 | 0.85 | testing_debugging_repair_refactoring | 163 | false | 2026-07-17 |
using PublicApiGenerator;
using PublicApiGeneratorTests.Examples;
using Xunit;
namespace PublicApiGeneratorTests
{
public class Interface_attributes : ApiGeneratorTestsBase
{
[Fact]
public void Should_add_attribute_with_no_parameters()
{
AssertPublicApi<IInterfaceWithSimple... | JakeGinnivan/ApiApprover | src/PublicApiGeneratorTests/Interface_attributes.cs | https://github.com/JakeGinnivan/ApiApprover/blob/HEAD/src/PublicApiGeneratorTests/Interface_attributes.cs | ghcode:00004:c34efd268eda | mit | codeparrot/github-code | c34efd268edab2f6ad3f9ab01c2ba2147db6229a994a6af9fc16855f2634934d | 0.7 | testing_debugging_repair_refactoring | 1,660 | false | 2026-07-17 |
using Akka.TestKit.Xunit2;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Neo.Consensus;
using Neo.IO;
using Neo.Network.P2P.Payloads;
using Neo.SmartContract.Native;
using Neo.Wallets;
using System;
using System.Linq;
namespace Neo.UnitTests.Consensus
{
[TestClass]
public class UT_Conse... | shargon/neo | tests/neo.UnitTests/Consensus/UT_ConsensusContext.cs | https://github.com/shargon/neo/blob/HEAD/tests/neo.UnitTests/Consensus/UT_ConsensusContext.cs | ghcode:00004:9e49501e31f2 | mit | codeparrot/github-code | 9e49501e31f2e9e2004bf7e5f48db0afb94b8dff1b4680c873a1ec53f850c777 | 0.7 | testing_debugging_repair_refactoring | 1,008 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Test_string_compare_1._0
{
class Program
{
static void Main(string[] args)
{
string s1 = "abdr";
string o1 = "bcdr";
Console.WriteLi... | danielstaikov/List-and-others | Test string compare 1.0/Test string compare 1.0.cs | https://github.com/danielstaikov/List-and-others/blob/HEAD/Test string compare 1.0/Test string compare 1.0.cs | ghcode:00004:ed7b33cb8b84 | mit | codeparrot/github-code | ed7b33cb8b849c0a367c3ba976e5321718ba2454c917e166a0d91172cc3de624 | 0.75 | testing_debugging_repair_refactoring | 82 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using Lunchorder.Common;
using Lunchorder.Domain.Dtos;
using Lunchorder.Domain.Entities.DocumentDb;
using Lunchorder.Test.Integration.Helpers;
using Lunchorder.Test.Integration.Helpers.Base;
usi... | CoditEU/lunchorder | backend/WebApi/Lunchorder.Test/Integration/Repositories/DocumentDbRepositoryTest.cs | https://github.com/CoditEU/lunchorder/blob/HEAD/backend/WebApi/Lunchorder.Test/Integration/Repositories/DocumentDbRepositoryTest.cs | ghcode:00004:b7ffe93ca934 | mit | codeparrot/github-code | b7ffe93ca93467acdbccf9768bf532bc03921de8c465ebb01c3f74dc5fdb6048 | 0.57 | testing_debugging_repair_refactoring | 19,095 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using System;
using System.Collections.Generic;
using System.Reflection;
using NUnit.Framework;
using NUnit.Framework.Internal;
using NUnitLite;
namespace NUnit.Tests
{
namespace Assemblies
{
/// <summary>
... | nunit/nunit | src/NUnitFramework/mock-assembly/MockAssembly.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/mock-assembly/MockAssembly.cs | ghcode:00004:d3bbbff08b3d | mit | codeparrot/github-code | d3bbbff08b3da01d9df676979e80acfb90ccbbc063a2fcbd54cd8a1754448d7b | 0.85 | testing_debugging_repair_refactoring | 1,837 | false | 2026-07-17 |
using System;
using FluentAssertions.Primitives;
namespace FluentAssertions
{
public class ST
{
private readonly Func<string, string>[] transforms;
public static readonly ST None = Do();
public static Func<string, string> Trim = s => s.Trim();
public static Func<string, strin... | paiden/Nett | Test/Nett.Tests.Util/Fluent/CustomStringAssertions.cs | https://github.com/paiden/Nett/blob/HEAD/Test/Nett.Tests.Util/Fluent/CustomStringAssertions.cs | ghcode:00004:e56824a7184d | mit | codeparrot/github-code | e56824a7184d4b14c7e18656c8b327687f33e29473e8deb1df1d5a1f06ef45ee | 0.75 | testing_debugging_repair_refactoring | 287 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SpirvNet.Spirv.Enums;
// This file is auto-generated and should not be modified manually.
namespace SpirvNet.Spirv.Ops.DeviceSideEnqueue
{
/// <summary>
/// OpGetKernelNDrangeMaxSubGroupSi... | Philip-Trettner/SpirvNet | SpirvNet/SpirvNet/Spirv/Ops/DeviceSideEnqueue/OpGetKernelNDrangeMaxSubGroupSize.cs | https://github.com/Philip-Trettner/SpirvNet/blob/HEAD/SpirvNet/SpirvNet/Spirv/Ops/DeviceSideEnqueue/OpGetKernelNDrangeMaxSubGroupSize.cs | ghcode:00004:27da3e789073 | mit | codeparrot/github-code | 27da3e7890733d8ad7d9e3bb7673272ccef596795025236ad9cb7aa4650b50d5 | 0.7 | testing_debugging_repair_refactoring | 605 | false | 2026-07-17 |
namespace MajorantOfArrayTests
{
using System;
using System.Collections.Generic;
using MajorantOfArray;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class MajorantOfArrayTests
{
[TestMethod]
public void GetArrayMajorantTest1()
{
... | d-georgiev-91/TelerikAcademy | Programming/CSharp/DataStructuresAndAlgorithms/LinearDataStructures/MajorantOfArrayTests/MajorantOfArrayTests.cs | https://github.com/d-georgiev-91/TelerikAcademy/blob/HEAD/Programming/CSharp/DataStructuresAndAlgorithms/LinearDataStructures/MajorantOfArrayTests/MajorantOfArrayTests.cs | ghcode:00004:3d7d6b4f9ca8 | mit | codeparrot/github-code | 3d7d6b4f9ca8c0c109321ba0eb59962b0555c4f2fe914fad5f6ee7473e1b5153 | 0.75 | testing_debugging_repair_refactoring | 397 | false | 2026-07-17 |
namespace Sitecore.FakeDb.Tests.Buckets
{
using FluentAssertions;
using Sitecore.Buckets.Managers;
using Sitecore.Common;
using Sitecore.FakeDb.Buckets;
using Xunit;
public class BucketProviderSwitcherTest
{
[Theory, DefaultSubstituteAutoData]
public void SutIsSwitcher(Buck... | sergeyshushlyapin/Sitecore.FakeDb | test/Sitecore.FakeDb.Tests/Buckets/BucketProviderSwitcherTest.cs | https://github.com/sergeyshushlyapin/Sitecore.FakeDb/blob/HEAD/test/Sitecore.FakeDb.Tests/Buckets/BucketProviderSwitcherTest.cs | ghcode:00004:f80ce828aa06 | mit | codeparrot/github-code | f80ce828aa060adf9ad1dc50e4c7ffaead1f674e3623284f03e17d23e2700a43 | 0.6 | testing_debugging_repair_refactoring | 160 | false | 2026-07-17 |
using System;
using Certes.Acme;
using Certes.Acme.Resource;
using Xunit;
namespace Certes.Tests.Acme.Resource
{
public class ChallengeTests
{
[Fact]
public void CanGetSetProperties()
{
var entity = new Challenge();
entity.VerifyGetterSetter(e => e.Error, new Ac... | fszlin/certes | test/Certes.Tests/Acme/Resource/ChallengeTests.cs | https://github.com/fszlin/certes/blob/HEAD/test/Certes.Tests/Acme/Resource/ChallengeTests.cs | ghcode:00004:1d59c6b1a19b | mit | codeparrot/github-code | 1d59c6b1a19b24fa4f1b4634925bd3fb2022f3ab40d077a759c03be19291eccb | 0.75 | testing_debugging_repair_refactoring | 154 | false | 2026-07-17 |
using UnityEngine;
using UnityEngine.Assertions;
using System.Collections;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Linq;
using SDD.Events;
namespace Examples.Integration.Test {
/// <summary>
/// Manages the Setup and Teardown before and after ALL integration tests.
... | robertwahler/EventManager | Assets/Examples/Colors/Test/Integration/IntegrationTestManager.cs | https://github.com/robertwahler/EventManager/blob/HEAD/Assets/Examples/Colors/Test/Integration/IntegrationTestManager.cs | ghcode:00004:b4fd76b950f8 | mit | codeparrot/github-code | b4fd76b950f80d8155586a351911ba4dc492dc68975272cd990da8741680d91c | 0.95 | testing_debugging_repair_refactoring | 1,012 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using System;
using System.IO;
using NUnit.Framework.Interfaces;
namespace NUnit.Framework.Internal.Extensions
{
internal static class TestExtensions
{
public static bool HasLifeCycle(this ITest test, LifeCycle ... | nunit/nunit | src/NUnitFramework/framework/Internal/Extensions/TestExtensions.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/framework/Internal/Extensions/TestExtensions.cs | ghcode:00004:78a611882db4 | mit | codeparrot/github-code | 78a611882db44e49fb962b7890af7491172787e052432343413c3d9700c9cdf4 | 0.75 | testing_debugging_repair_refactoring | 122 | false | 2026-07-17 |
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
using Thriot.Framework;
using Thriot.Management.Services.Dto;
using Thriot.Management.Services;
using Thriot.Messaging.Services.Client;
using Thriot.TestHelpers;
namespace Thriot.Objects.Operations.Tests
{
[TestClass]
pu... | kpocza/thriot | Service/Objects/Thriot.Objects.Operations.Tests/DeviceOperationsTest.cs | https://github.com/kpocza/thriot/blob/HEAD/Service/Objects/Thriot.Objects.Operations.Tests/DeviceOperationsTest.cs | ghcode:00004:f577fce7e6de | mit | codeparrot/github-code | f577fce7e6de19eca65b56753062255005b3fc4d2620a3db080a5a0a3fbe9b2a | 0.6 | testing_debugging_repair_refactoring | 1,190 | 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.Consumer;
using Azure.Mess... | hyonholee/azure-sdk-for-net | sdk/eventhub/Azure.Messaging.EventHubs.Processor/tests/Processor/EventProcessorClientTests.cs | https://github.com/hyonholee/azure-sdk-for-net/blob/HEAD/sdk/eventhub/Azure.Messaging.EventHubs.Processor/tests/Processor/EventProcessorClientTests.cs | ghcode:00004:20e3b9ab2998 | mit | codeparrot/github-code | 20e3b9ab29985eb009e7695a75802820912fffc5ee652479b220ab8325a40ed4 | 0.82 | testing_debugging_repair_refactoring | 15,249 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2015-2018 Rida Messaoudene
// https://github.com/eventflow/EventFlow
//
// 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,... | rasmus/EventFlow | Source/EventFlow.MongoDB.Tests/IntegrationTests/SnapshotStores/PostgresSqlSnapshotStoreTests.cs | https://github.com/rasmus/EventFlow/blob/HEAD/Source/EventFlow.MongoDB.Tests/IntegrationTests/SnapshotStores/PostgresSqlSnapshotStoreTests.cs | ghcode:00004:d71c9f4acbba | mit | codeparrot/github-code | d71c9f4acbba8e1959e70f8526e7d42eb962a7d170e98ead21ec4b2d0ba164bd | 0.85 | testing_debugging_repair_refactoring | 440 | false | 2026-07-17 |
using System.Threading.Tasks;
using Nimbus.Handlers;
using Nimbus.IntegrationTests.Tests.AbstractBaseTypeMessageTests.MessageContracts;
using Nimbus.Tests.Common;
using Nimbus.Tests.Common.TestUtilities;
namespace Nimbus.IntegrationTests.Tests.AbstractBaseTypeMessageTests.Handlers
{
public class SomeConcreteEventT... | KodrAus/Nimbus | src/Tests/Nimbus.IntegrationTests/Tests/AbstractBaseTypeMessageTests/Handlers/SomeConcreteEventTypeCompetingHandler.cs | https://github.com/KodrAus/Nimbus/blob/HEAD/src/Tests/Nimbus.IntegrationTests/Tests/AbstractBaseTypeMessageTests/Handlers/SomeConcreteEventTypeCompetingHandler.cs | ghcode:00004:102d5f4b8090 | mit | codeparrot/github-code | 102d5f4b80903fb24f821b3bbb4d8ef3e870cf61c6a68fc388df15a9c506da5e | 0.85 | testing_debugging_repair_refactoring | 112 | false | 2026-07-17 |
// -------------------------------------------------------------------------------------------------------------------
// <copyright company="Gemotial" file="ReportGeneratorTests.cs" project="RunnersTimeManagement.ServerServices.UnitTests" date="2014-06-10 09:19">
//
// </copyright>
// -------------------------------... | pawelklimczyk/RunnersTimeManagement | src/RunnersTimeManagement/RunnersTimeManagement.ServerServices.UnitTests/ReportGeneratorTests.cs | https://github.com/pawelklimczyk/RunnersTimeManagement/blob/HEAD/src/RunnersTimeManagement/RunnersTimeManagement.ServerServices.UnitTests/ReportGeneratorTests.cs | ghcode:00004:cc3faa53182c | mit | codeparrot/github-code | cc3faa53182c78768e2737dbeb728c4dfb0c68eaaabb82c71f4771f47435668d | 0.85 | testing_debugging_repair_refactoring | 793 | false | 2026-07-17 |
using System.Collections.Generic;
using UnityEngine;
using Zenject.TestFramework;
using Zenject;
#pragma warning disable 649
namespace Zenject.Tests.ToSubContainerPrefab
{
public class Fixture : ZenjectIntegrationTestFixture
{
[SerializeField]
GameObject _fooPrefab;
[Test]
pu... | skahal/Buildron-Classic-Mods | src/Solution/Zenject/OptionalExtras/IntegrationTests/Bindings/TestToSubContainerPrefab/Fixture.cs | https://github.com/skahal/Buildron-Classic-Mods/blob/HEAD/src/Solution/Zenject/OptionalExtras/IntegrationTests/Bindings/TestToSubContainerPrefab/Fixture.cs | ghcode:00004:ec971194a61d | mit | codeparrot/github-code | ec971194a61d0ce7e136645bca290bdbf579de7c91fb7ab67577b09d5365af4c | 0.75 | testing_debugging_repair_refactoring | 1,290 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Marten;
using Marten.Schema;
using Marten.Storage;
using Xunit;
namespace Marten.Testing.Examples
{
public sealed class Policies
{
class MultiTenantType : IRequireMultiTenancy
{... | jokokko/marten | src/Marten.Testing/Examples/Policies.cs | https://github.com/jokokko/marten/blob/HEAD/src/Marten.Testing/Examples/Policies.cs | ghcode:00004:b75090a33c07 | mit | codeparrot/github-code | b75090a33c073702c711cb9aa053bf1fb45acbe35e9295f263823c0408d4fe85 | 0.7 | testing_debugging_repair_refactoring | 271 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="KeyAttributeTest.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the proje... | quartz-software/kephas | src/Tests/Kephas.Data.Model.Tests/AttributedModel/KeyAttributeTest.cs | https://github.com/quartz-software/kephas/blob/HEAD/src/Tests/Kephas.Data.Model.Tests/AttributedModel/KeyAttributeTest.cs | ghcode:00004:987b59d1b211 | mit | codeparrot/github-code | 987b59d1b2115b432cc9ce9893ca5504fc0377213847b75242d492a09e3ddf07 | 0.95 | testing_debugging_repair_refactoring | 238 | false | 2026-07-17 |
using NUnit.Framework;
using Ploeh.AutoFixture;
using RememBeer.Business.Logic.Common.EventArgs;
using RememBeer.Tests.Utils;
namespace RememBeer.Tests.Business.Logic.Common.EventArgs
{
public class PaginationEventArgsTests : TestClassBase
{
[Test]
public void Ctor_ShouldSetPropertiesCorrect... | J0hnyBG/RememBeerMe | src/RememBeer.Tests/Business/Logic/Common/EventArgs/PaginationEventArgsTests.cs | https://github.com/J0hnyBG/RememBeerMe/blob/HEAD/src/RememBeer.Tests/Business/Logic/Common/EventArgs/PaginationEventArgsTests.cs | ghcode:00004:50a63b2f0b30 | mit | codeparrot/github-code | 50a63b2f0b30d6a50f9527508dce3af2a3187755e93bb35161ebb6623f3f7a0a | 0.75 | testing_debugging_repair_refactoring | 123 | false | 2026-07-17 |
using System;
using System.Linq;
using Xunit;
using VstsNotifications.Models;
using VstsNotifications.Services.Interfaces;
using VstsNotifications.Services.Models;
namespace VstsNotifications.Services.Tests
{
public class PullRequestMessageServiceTests
{
private readonly IPullRequestMessageS... | svillamonte/vsts-notifications | test/VstsNotifications.Services.Tests/PullRequestMessageServiceTests.cs | https://github.com/svillamonte/vsts-notifications/blob/HEAD/test/VstsNotifications.Services.Tests/PullRequestMessageServiceTests.cs | ghcode:00004:a3c7e2ebdb0b | mit | codeparrot/github-code | a3c7e2ebdb0b0812af986f1041a11b22815ff3b2c437f284969fb3c9041b82df | 0.85 | testing_debugging_repair_refactoring | 1,270 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NHibernate;
using Eimbo.Infraestrutura.Repositorio.NHibernate;
namespace Eimbo.Teste.Infraestrutura.Repositorio.NHibernate
{
[TestClass]
public abstract class RepositorioNHibernateTeste
{
protected static ISession GetSessao(... | RMedeirosCosta/eimbo | Eimbo.Teste/Infraestrutura/Repositorio/NHibernate/RepositorioNHibernateTeste.cs | https://github.com/RMedeirosCosta/eimbo/blob/HEAD/Eimbo.Teste/Infraestrutura/Repositorio/NHibernate/RepositorioNHibernateTeste.cs | ghcode:00004:bd5316c4a5c3 | mit | codeparrot/github-code | bd5316c4a5c30a88f9a98fb27080cbbec3a4cb62c6b58859d3cbb7b097d6545f | 0.7 | testing_debugging_repair_refactoring | 230 | false | 2026-07-17 |
using System;
using OpenQA.Selenium;
namespace AlphaDev.Web.Tests.Integration.Support
{
public class ContactWebPage : DetailsWebPage
{
public ContactWebPage(IWebDriver driver, Uri baseUrl) : base(driver, new Uri(baseUrl, "info/contact/"))
{
}
public override void EditValue()
... | OlegKleyman/AlphaDev | tests/integration/AlphaDev.Web.Tests.Integration/Support/ContactWebPage.cs | https://github.com/OlegKleyman/AlphaDev/blob/HEAD/tests/integration/AlphaDev.Web.Tests.Integration/Support/ContactWebPage.cs | ghcode:00004:79ab12fd2597 | unlicense | codeparrot/github-code | 79ab12fd25977533a0d8718a6d99736c137ba0bb7fc7f50a51934fa18a4f36fd | 0.68 | testing_debugging_repair_refactoring | 92 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ru.Rubinst.NXT;
namespace TestNXT
{
[TestClass]
public class HelperTest
{
[TestMethod]
public void TestIntToBytes()
{
var result = ByteHelper.IntToBytes(300);
var template = new byte[] {... | Imagio/NXTBluetoothControl | TestNXT/HelperTest.cs | https://github.com/Imagio/NXTBluetoothControl/blob/HEAD/TestNXT/HelperTest.cs | ghcode:00004:c98d3c580984 | unlicense | codeparrot/github-code | c98d3c580984de883c6637301f7d4ca1d3726186d755cbd86a89217e3402249e | 0.53 | testing_debugging_repair_refactoring | 168 | 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.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using M... | HellBrick/roslyn | src/VisualStudio/CSharp/Test/Debugging/ProximityExpressionsGetterTests_Caching.cs | https://github.com/HellBrick/roslyn/blob/HEAD/src/VisualStudio/CSharp/Test/Debugging/ProximityExpressionsGetterTests_Caching.cs | ghcode:00004:6894ef2ce7c8 | apache-2.0 | codeparrot/github-code | 6894ef2ce7c8934ca02711166c511decf477ec9dae2301dacb33d0efadc1abe9 | 0.95 | testing_debugging_repair_refactoring | 1,107 | 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.Net;
using System.Net.Http;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Micro... | aspnet/AspNetCore | src/Servers/HttpSys/test/FunctionalTests/ResponseTests.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Servers/HttpSys/test/FunctionalTests/ResponseTests.cs | ghcode:00004:a1e321d142f9 | apache-2.0 | codeparrot/github-code | a1e321d142f963ed83d7ea1b70d05fab7da0bdee2a810f8eb816d0e62aa9dde0 | 0.95 | testing_debugging_repair_refactoring | 1,997 | false | 2026-07-17 |
// Copyright 2015, Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... | stevemanderson/googleads-dotnet-lib | tests/AdXBuyer/v201502/ReportingTest.cs | https://github.com/stevemanderson/googleads-dotnet-lib/blob/HEAD/tests/AdXBuyer/v201502/ReportingTest.cs | ghcode:00004:1cb45520376c | apache-2.0 | codeparrot/github-code | 1cb45520376c28fd5d4fc7d0026a8d9bdd2005b0470d8b52154e8562f5d45e38 | 0.85 | testing_debugging_repair_refactoring | 753 | false | 2026-07-17 |
using NUnit.Framework;
namespace CqlPoco.IntegrationTests
{
/// <summary>
/// Does one-time setup that needs to happen before any integration tests are run.
/// </summary>
[SetUpFixture]
public class SetupBeforeAnyTests
{
[SetUp]
public void Setup()
{
// Ini... | LukeTillman/cqlpoco | src/CqlPoco.IntegrationTests/SetupBeforeAnyTests.cs | https://github.com/LukeTillman/cqlpoco/blob/HEAD/src/CqlPoco.IntegrationTests/SetupBeforeAnyTests.cs | ghcode:00004:df281b66600e | apache-2.0 | codeparrot/github-code | df281b66600e71e3d72dad021b3adcb4f46fc507426d4a2d6decc493a601e36f | 0.85 | testing_debugging_repair_refactoring | 122 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using Moq;
using Xunit;
using NuGet.Test.Mocks;
using Xunit.Extensions;
using NuGet.Test.Utility;
namespace NuGet.Test
{
public class SettingsTests
{
[Fact]
public void CallingCtroWithNullFileSystemWithThrowExceptio... | atheken/nuget | test/Core.Test/SettingsTests.cs | https://github.com/atheken/nuget/blob/HEAD/test/Core.Test/SettingsTests.cs | ghcode:00004:ae3fdd5ac11e | apache-2.0 | codeparrot/github-code | ae3fdd5ac11eb0d61d8edebaab819ff37d23b55c79c0ed5af9f1df0ecbea3d9e | 0.85 | testing_debugging_repair_refactoring | 9,327 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Versioning;
using Xunit;
namespace NuGet.Test
{
public class ProjectSystemExtensionsTest
{
[Fact]
public void GetCompatibleReferencesPrefersMatchingProfile()
{
// Arrange ... | monoman/NugetCracker | Nuget/test/Core.Test/ProjectSystemExtensionsTest.cs | https://github.com/monoman/NugetCracker/blob/HEAD/Nuget/test/Core.Test/ProjectSystemExtensionsTest.cs | ghcode:00004:17f039db1c9c | apache-2.0 | codeparrot/github-code | 17f039db1c9c3b663d33ca638f4444249340caf8c7b8037a04cf831d70c0bc86 | 0.95 | testing_debugging_repair_refactoring | 2,133 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using ReadReco.Services;
using ReadReco.Data.Model;
using ReadReco.Model;
using System.IO;
namespace ReadReco.Tests
{
[TestFixture]
public class UserInterestTests
{
DataService dataService;
FeedService ... | AlexMerle/read-reco | ReadReco.Tests/UserInterestTests.cs | https://github.com/AlexMerle/read-reco/blob/HEAD/ReadReco.Tests/UserInterestTests.cs | ghcode:00004:dc9c1432ddbd | apache-2.0 | codeparrot/github-code | dc9c1432ddbd1de517ac38bae5edd3b3ae922f6efc79a155207859fc3e5d0b7f | 0.75 | testing_debugging_repair_refactoring | 2,133 | false | 2026-07-17 |
#region File Description
//-----------------------------------------------------------------------------
// Crc32.cs
//
// Snailium Library (http://www.snailium.net)
// Copyright (C) Snailium. All rights reserved.
//-----------------------------------------------------------------------------
#endregion
#region Using... | snailium/ArchiveManager | Snailium.Lib.Containers/Snailium.Lib.Containers/Crc32.cs | https://github.com/snailium/ArchiveManager/blob/HEAD/Snailium.Lib.Containers/Snailium.Lib.Containers/Crc32.cs | ghcode:00004:d8359c6c531f | apache-2.0 | codeparrot/github-code | d8359c6c531f9291fcab55948a1bf17332c3cf0b5a0751e45afb655bd89ee8ff | 0.7 | testing_debugging_repair_refactoring | 3,448 | false | 2026-07-17 |
namespace Bio.TestUtils.SimulatorUtility
{
/// <summary>
/// This class contains the output of test case executed by TestCaseSimulator.
/// </summary>
public class TestCaseOutput
{
private object _result = null;
private bool _isMockOutput = false;
/// <summary>
///... | dotnetbio/bio | Tests/Bio.Tests/SimulatorUtility/TestCaseOutput.cs | https://github.com/dotnetbio/bio/blob/HEAD/Tests/Bio.Tests/SimulatorUtility/TestCaseOutput.cs | ghcode:00004:c9d28be3bdd0 | apache-2.0 | codeparrot/github-code | c9d28be3bdd028deca8ba48ab0f84bdbbfac34ed776abae3c3f862dcd3de983b | 0.85 | testing_debugging_repair_refactoring | 229 | false | 2026-07-17 |
using Konves.ChordPro.DirectiveHandlers;
using Konves.ChordPro.Directives;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Konves.ChordPro.UnitTests.DirectiveHandlers
{
[TestClass]
public class NewPhysicalPageHandlerTestFixture : KeyOnlyBaseTestFixture<NewPhysicalPageDirective>
{
public NewPhysical... | skonves/Konves.ChordPro | tests/Konves.ChordPro.UnitTests/DirectiveHandlers/NewPhysicalPageHandlerTestFixture.cs | https://github.com/skonves/Konves.ChordPro/blob/HEAD/tests/Konves.ChordPro.UnitTests/DirectiveHandlers/NewPhysicalPageHandlerTestFixture.cs | ghcode:00004:8db3ae6740c7 | apache-2.0 | codeparrot/github-code | 8db3ae6740c7e0cc009ebe1b8334f2485ce5835b2d33c08b3a2a5c0ce00069fc | 0.6 | testing_debugging_repair_refactoring | 218 | false | 2026-07-17 |
using System;
using Akka.Actor;
using Akka.Configuration;
using Akka.TestKit;
using Xunit;
namespace Akka.Remote.Tests
{
/// <summary>
/// Validate that the remoting terminator for Akka.Remote transports fires and does not
/// indefinitely block the <see cref="ActorSystem"/> from terminating.
/// </su... | rogeralsing/akka.net | src/core/Akka.Remote.Tests/RemotingTerminatorSpecs.cs | https://github.com/rogeralsing/akka.net/blob/HEAD/src/core/Akka.Remote.Tests/RemotingTerminatorSpecs.cs | ghcode:00004:c6303025448e | apache-2.0 | codeparrot/github-code | c6303025448e251d290154289e0a24ad412c302f313add29634cd96c1b8aed33 | 0.7 | testing_debugging_repair_refactoring | 518 | false | 2026-07-17 |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
usin... | manimaranm7/azure-mobile-services | sdk/Managed/test/Microsoft.WindowsAzure.MobileServices.Test/UnitTests/Table/MobileServiceTable.Generic.Test.cs | https://github.com/manimaranm7/azure-mobile-services/blob/HEAD/sdk/Managed/test/Microsoft.WindowsAzure.MobileServices.Test/UnitTests/Table/MobileServiceTable.Generic.Test.cs | ghcode:00004:448b1a92f350 | apache-2.0 | codeparrot/github-code | 448b1a92f3503bb74b67654dbf585fe3ae72751ef0b7609293e4c8a36271859f | 0.82 | testing_debugging_repair_refactoring | 26,603 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Moq;
using NUnit.Framework;
using RestSharp;
namespace D2L.Extensibility.AuthSdk.Restsharp.Tests {
[TestFixture]
public class AuthenticatorTests {
private ValenceAuthenticator m_authenticator;
const string BASE_ROUTE... | Brightspace/valence-sdk-dotnet-restsharp | D2L.Extensibility.AuthSdk.Restsharp.Tests/AuthenticatorTests.cs | https://github.com/Brightspace/valence-sdk-dotnet-restsharp/blob/HEAD/D2L.Extensibility.AuthSdk.Restsharp.Tests/AuthenticatorTests.cs | ghcode:00004:7a77463a2b9e | apache-2.0 | codeparrot/github-code | 7a77463a2b9eb32181f6e4620d9da99cfbc804e504d329eab391d52d8bcb5da9 | 0.75 | testing_debugging_repair_refactoring | 824 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using CloneExtensions.UnitTests.Base;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CloneExtensions.UnitTests
{
[TestClass]
public class CollectionTests : TestBase
{
[TestMethod]
public void GetC... | MarcinJuraszek/CloneExtensions | src/CloneExtensions.UnitTests/CollectionTests.cs | https://github.com/MarcinJuraszek/CloneExtensions/blob/HEAD/src/CloneExtensions.UnitTests/CollectionTests.cs | ghcode:00004:0de90b8163a9 | apache-2.0 | codeparrot/github-code | 0de90b8163a931084539621f82054e5a4d742623813b069e027d4e9b278e0a31 | 0.75 | testing_debugging_repair_refactoring | 795 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ValidationRuleTests.cs" company="Genesys Source">
// Copyright (c) Genesys Source. All rights reserved.
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. ... | GenesysSource/Foundation | src/Test/Framework.Test.Core/Validation/ValidationRuleTests.cs | https://github.com/GenesysSource/Foundation/blob/HEAD/src/Test/Framework.Test.Core/Validation/ValidationRuleTests.cs | ghcode:00004:11ba023566cc | apache-2.0 | codeparrot/github-code | 11ba023566cc4f466bf1252e9565067a09e6e698ed02d1ee490d23fc81cd6265 | 0.95 | testing_debugging_repair_refactoring | 421 | false | 2026-07-17 |
namespace StripeTests
{
using System.IO;
using System.Net;
using System.Net.Http;
using System.Reflection;
using System.Text;
using Stripe;
using Xunit;
[Collection("stripe-mock tests")]
public class BaseStripeTest
{
/// <summary>
/// Initializes a new instance o... | richardlawley/stripe.net | src/StripeTests/BaseStripeTest.cs | https://github.com/richardlawley/stripe.net/blob/HEAD/src/StripeTests/BaseStripeTest.cs | ghcode:00004:684247e85bc3 | apache-2.0 | codeparrot/github-code | 684247e85bc3873740b1ba23b20291761c6919a007acae429137519845be293e | 0.7 | testing_debugging_repair_refactoring | 1,376 | false | 2026-07-17 |
// Copyright (c) Alexandre Mutel. All rights reserved.
// Licensed under the BSD license. See LICENSE file in the project root for full license information.
using System.Linq;
using Xunit;
using Xunit.Abstractions;
namespace GitRocketFilter.Tests
{
/// <summary>
/// Tests for commit filtering: --commit-filter... | xoofx/GitRocketFilter | tests/TestCommitFiltering.cs | https://github.com/xoofx/GitRocketFilter/blob/HEAD/tests/TestCommitFiltering.cs | ghcode:00004:5b878d41a3bf | bsd-2-clause | codeparrot/github-code | 5b878d41a3bffa94a27cbd9cccd1cdd682cfcb50ecacf842054d0cb10ff36e8f | 0.78 | testing_debugging_repair_refactoring | 1,479 | false | 2026-07-17 |
using FasterTests.Helpers;
using Machine.Specifications;
namespace FasterTests.Tests.Helpers.OptionSpecs
{
[Subject(typeof(Option<>))]
public class When_some_option_is_created
{
Because of = () =>
option = Option.Some("string");
It should_identify_as_some = () => option.IsSome... | devoyster/FasterTests | Source/Tests/Helpers/OptionSpecs/When_some_option_is_created.cs | https://github.com/devoyster/FasterTests/blob/HEAD/Source/Tests/Helpers/OptionSpecs/When_some_option_is_created.cs | ghcode:00004:b113b675800b | bsd-3-clause | codeparrot/github-code | b113b675800be9344e2f7c42c73564f627923c38ce1ae61c63030d7c78f9044a | 0.85 | testing_debugging_repair_refactoring | 80 | false | 2026-07-17 |
using System;
using System.Threading;
using Xunit;
namespace Rhino.ServiceBus.Tests
{
public class SendAndReceiveMessages : MsmqTestBase
{
[Fact]
public void Can_send_and_receive_messages()
{
TestMessage receivedMsg = null;
var waitHandle = new Manual... | brumschlag/rhino-tools | rhino-service.bus/Rhino.ServiceBus.Tests/SendAndReceiveMessages.cs | https://github.com/brumschlag/rhino-tools/blob/HEAD/rhino-service.bus/Rhino.ServiceBus.Tests/SendAndReceiveMessages.cs | ghcode:00004:700b733c664c | bsd-3-clause | codeparrot/github-code | 700b733c664c594d112c859397d798b0dd777ad9e0df072320442fbd5caf44d1 | 0.75 | testing_debugging_repair_refactoring | 439 | 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.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Xuni... | shmao/corefx | src/System.Transactions/tests/CloneTxTests.cs | https://github.com/shmao/corefx/blob/HEAD/src/System.Transactions/tests/CloneTxTests.cs | ghcode:00004:05b410049700 | mit | codeparrot/github-code | 05b4100497001ad9ee3f89a8d52d9143ca9a1a5f34a6c6047bb09c911d683857 | 0.95 | testing_debugging_repair_refactoring | 1,511 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalys... | genlu/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenOperators.cs | https://github.com/genlu/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenOperators.cs | ghcode:00004:940234cd6bd7 | mit | codeparrot/github-code | 940234cd6bd79981c2142c716c38dc5b65ed2b6fdb5b747fc8ab6639141aca81 | 0.75 | testing_debugging_repair_refactoring | 50,976 | 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.
namespace Microsoft.Protocols.TestSuites.Validator
{
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/// <summa... | congysu/ValidationTool | test/TestSuite/S09_ATOMRule_ServiceDocument_Validation.cs | https://github.com/congysu/ValidationTool/blob/HEAD/test/TestSuite/S09_ATOMRule_ServiceDocument_Validation.cs | ghcode:00004:de407dfe9356 | mit | codeparrot/github-code | de407dfe9356220a9c6964ca8e4582886dae88c47b3ee03e25d023d596c5b406 | 0.7 | testing_debugging_repair_refactoring | 778 | 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.Text;
using System.Diagnostics;
namespace Microsoft.Xml
{
using System;
internal class UTF16... | mconnew/wcf | src/dotnet-svcutil/lib/src/FrameworkFork/Microsoft.Xml/Xml/XmlEncoding.cs | https://github.com/mconnew/wcf/blob/HEAD/src/dotnet-svcutil/lib/src/FrameworkFork/Microsoft.Xml/Xml/XmlEncoding.cs | ghcode:00004:b3805e299a1b | mit | codeparrot/github-code | b3805e299a1b66ea2d1a23628596d3a6a715522f652df3951c30c02eb62d7647 | 0.8 | testing_debugging_repair_refactoring | 4,550 | 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.Diagnostics;
using System.Reflection.Internal;
using System.Reflection.Metadata.Ecma335;
using System.Runtime.CompilerServices;
namespace System.Reflectio... | mellinoe/corefx | src/System.Reflection.Metadata/src/System/Reflection/Metadata/BlobReader.cs | https://github.com/mellinoe/corefx/blob/HEAD/src/System.Reflection.Metadata/src/System/Reflection/Metadata/BlobReader.cs | ghcode:00004:4840be3cdedf | mit | codeparrot/github-code | 4840be3cdedfb282d1a7247fff6fa04d65296accc6ee8fecf79c4934d4c46f4f | 0.8 | testing_debugging_repair_refactoring | 4,114 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="BitBucketProviderFacts.cs" company="CatenaLogic">
// Copyright (c) 2014 - 2014 CatenaLogic. All rights reserved.
// </copyright>
// ---------------------------------------------... | naveensrinivasan/GitLink | src/GitLink.Tests/Providers/BitBucketProviderFacts.cs | https://github.com/naveensrinivasan/GitLink/blob/HEAD/src/GitLink.Tests/Providers/BitBucketProviderFacts.cs | ghcode:00004:26efd18b0c61 | mit | codeparrot/github-code | 26efd18b0c61fef64672129da3ea251c443c56a9610c2d05f52154a724c3dea0 | 0.7 | testing_debugging_repair_refactoring | 514 | false | 2026-07-17 |
#region PDFsharp Charting - A .NET charting library based on PDFsharp
//
// Authors:
// Niklas Schneider (mailto:Niklas.Schneider@pdfsharp.com)
//
// Copyright (c) 2005-2009 empira Software GmbH, Cologne (Germany)
//
// http://www.pdfsharp.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is ... | dankennedy/PDFSharp | code/PdfSharp.Charting/PdfSharp.Charting/Series.cs | https://github.com/dankennedy/PDFSharp/blob/HEAD/code/PdfSharp.Charting/PdfSharp.Charting/Series.cs | ghcode:00004:2ee435feed2f | mit | codeparrot/github-code | 2ee435feed2fbf985057df9d83adbcd83018d5c808d2110dc87335a09d2c8612 | 0.7 | testing_debugging_repair_refactoring | 1,592 | false | 2026-07-17 |
using Chemistry;
using EngineLayer;
using EngineLayer.ClassicSearch;
using EngineLayer.Indexing;
using EngineLayer.... | lonelu/MetaMorpheus | Test/MyPeptideTest.cs | https://github.com/lonelu/MetaMorpheus/blob/HEAD/Test/MyPeptideTest.cs | ghcode:00004:581ebc3a5ac5 | mit | codeparrot/github-code | 581ebc3a5ac53486cae3b887cf9d1fecb39b7f48d95ae453b8e62a731b93baa0 | 0.6 | testing_debugging_repair_refactoring | 3,176 | false | 2026-07-17 |
/*
* Copyright 2007 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 ... | cilliemalan/zxing.net | Source/test/src/client/result/URIParsedResultTestCase.cs | https://github.com/cilliemalan/zxing.net/blob/HEAD/Source/test/src/client/result/URIParsedResultTestCase.cs | ghcode:00004:f269345207be | apache-2.0 | codeparrot/github-code | f269345207bea9b8f465c4b94bfd14d287b4094e13d6e53ab1f8d20403c760bf | 0.95 | testing_debugging_repair_refactoring | 2,296 | false | 2026-07-17 |
using Xunit;
using OSharp.Utility.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OSharp.Utility.Data.Tests
{
public class MathHelperTests
{
[Fact()]
public void FourSpeciesTest()
{
string e... | iceman726/osharp | tests/OSharp.Utility.Tests/Data/MathHelperTests.cs | https://github.com/iceman726/osharp/blob/HEAD/tests/OSharp.Utility.Tests/Data/MathHelperTests.cs | ghcode:00004:c56fd1400562 | apache-2.0 | codeparrot/github-code | c56fd14005627676321e1ee49d80796380df1644569fd5ef8ccb4848d5c1761e | 0.75 | testing_debugging_repair_refactoring | 94 | false | 2026-07-17 |
using Entitas;
public class ClearReactiveSubSystemSpy : ReactiveSubSystemSpy, IClearReactiveSystem {
public ClearReactiveSubSystemSpy(IMatcher matcher, GroupEventType eventType) :
base(matcher, eventType) {
}
}
| vkuskov/Entitas-CSharp | Tests/Tests/Entitas/Fixtures/Systems/ClearReactiveSubSystemSpy.cs | https://github.com/vkuskov/Entitas-CSharp/blob/HEAD/Tests/Tests/Entitas/Fixtures/Systems/ClearReactiveSubSystemSpy.cs | ghcode:00004:1d1ab568fdd7 | mit | codeparrot/github-code | 1d1ab568fdd7215fb09ad977e355ea2bc7394c8ff89e47d5ded94326cfcf6d2b | 0.85 | testing_debugging_repair_refactoring | 52 | false | 2026-07-17 |
// <copyright file="UnitPreconditionerTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2016 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a co... | albertp007/mathnet-numerics | src/UnitTests/LinearAlgebraTests/Double/Solvers/Preconditioners/UnitPreconditionerTest.cs | https://github.com/albertp007/mathnet-numerics/blob/HEAD/src/UnitTests/LinearAlgebraTests/Double/Solvers/Preconditioners/UnitPreconditionerTest.cs | ghcode:00004:bdd0febe225d | mit | codeparrot/github-code | bdd0febe225d9b996b32b8adff794f8ee81e627ce933865c341ba4018d5e7f88 | 0.85 | testing_debugging_repair_refactoring | 634 | 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:... | xJom/mbunit-v3 | src/Extensions/VisualStudio/Gallio.VisualStudio.Tip.Proxy/MarshalByRefTestAdapterProxy.cs | https://github.com/xJom/mbunit-v3/blob/HEAD/src/Extensions/VisualStudio/Gallio.VisualStudio.Tip.Proxy/MarshalByRefTestAdapterProxy.cs | ghcode:00004:d9705f4fdc55 | apache-2.0 | codeparrot/github-code | d9705f4fdc55828b26c2384007eba07bdce8ae898ab1e2500aa1969e558dcff5 | 0.85 | testing_debugging_repair_refactoring | 472 | 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.CSharp.Symbols.Metadata.PE;
using Microsoft.CodeAnalysis.CSharp.Symbols.Retargeting;
using Microsoft.CodeAnal... | nguerrera/roslyn | src/Compilers/CSharp/Test/Symbol/Symbols/Retargeting/RetargetCustomModifiers.cs | https://github.com/nguerrera/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/Symbols/Retargeting/RetargetCustomModifiers.cs | ghcode:00004:d5b143045b56 | apache-2.0 | codeparrot/github-code | d5b143045b562eed0f3f8c26497229d280743586a261856654711f8bad8b7b6b | 0.95 | testing_debugging_repair_refactoring | 2,061 | 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.Linq;
using System.Threading;
using Micros... | jmarolf/roslyn | src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/Extensions/DirectiveSyntaxExtensions.DirectiveWalker.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/Extensions/DirectiveSyntaxExtensions.DirectiveWalker.cs | ghcode:00004:cf77423131f6 | mit | codeparrot/github-code | cf77423131f65268b876168be4561953e43290ca46850da68581e66185bc01b1 | 0.85 | testing_debugging_repair_refactoring | 1,020 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.IO.Compression;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using VW;
using VW.Interfaces;
using VW.Labels;
using VW.Serializer.Attributes;
namespace cs_unittest
{
[TestClass]
public c... | zhoususheng/vowpal_wabbit | cs_unittest/Rcv1Test.cs | https://github.com/zhoususheng/vowpal_wabbit/blob/HEAD/cs_unittest/Rcv1Test.cs | ghcode:00004:682175c55f0a | bsd-3-clause | codeparrot/github-code | 682175c55f0a8d41755a080a27a9a44228105384abf68c9f6f45962d3b16a44e | 0.6 | testing_debugging_repair_refactoring | 548 | 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.ComponentModel;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using Syst... | shmao/corefx | src/System.Private.Xml/src/System/Xml/XPath/XPathNavigator.cs | https://github.com/shmao/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/XPath/XPathNavigator.cs | ghcode:00004:5733ae5bb602 | mit | codeparrot/github-code | 5733ae5bb6021c1a395478ffbfb9c0526eb51b35a5afc19be4e7ec6bc2efc61b | 0.82 | testing_debugging_repair_refactoring | 12,794 | 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.Diagnostics;
using System.Dynamic.Utils;
using System.R... | benpye/corefx | src/System.Linq.Expressions/src/System/Linq/Expressions/BinaryExpression.cs | https://github.com/benpye/corefx/blob/HEAD/src/System.Linq.Expressions/src/System/Linq/Expressions/BinaryExpression.cs | ghcode:00004:7ddf408204a8 | mit | codeparrot/github-code | 7ddf408204a8809c2c056564611d5e8c40f9806302befec29db09575e54dce09 | 0.6 | testing_debugging_repair_refactoring | 36,427 | false | 2026-07-17 |
#region License
//
// Copyright (c) 2018, Fluent Migrator Project
//
// 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 ... | schambers/fluentmigrator | test/FluentMigrator.Tests/Unit/Generators/BaseColumnTests.cs | https://github.com/schambers/fluentmigrator/blob/HEAD/test/FluentMigrator.Tests/Unit/Generators/BaseColumnTests.cs | ghcode:00004:afa80b431a6a | apache-2.0 | codeparrot/github-code | afa80b431a6a295915e9e5bd7439df164db2ac3bad5f425c9b8b9bc08fe72a61 | 0.85 | testing_debugging_repair_refactoring | 407 | false | 2026-07-17 |
using System;
internal class StartupHook
{
public static void Init()
{
// This hook should not be called because it doesn't have the
// correct name (Initialize). Instead, the startup hook
// provider code should throw an exception.
Console.WriteLine("Hello from startup hook!");... | chcosta/core-setup | src/test/Assets/TestProjects/StartupHookWithoutInitializeMethod/StartupHookWithoutInitializeMethod.cs | https://github.com/chcosta/core-setup/blob/HEAD/src/test/Assets/TestProjects/StartupHookWithoutInitializeMethod/StartupHookWithoutInitializeMethod.cs | ghcode:00004:c718fd443a3e | mit | codeparrot/github-code | c718fd443a3e04ff0f1d0d295e6ed71d9caf461ba781481646777fb56d7d2046 | 0.95 | testing_debugging_repair_refactoring | 66 | false | 2026-07-17 |
//
// SqliteUtilTests.cs
//
// Author:
// John Millikin <jmillikin@gmail.com>
//
// 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 ... | rubenv/tripod | src/Libraries/Hyena/Hyena.Data.Sqlite/Tests/SqliteUtilTests.cs | https://github.com/rubenv/tripod/blob/HEAD/src/Libraries/Hyena/Hyena.Data.Sqlite/Tests/SqliteUtilTests.cs | ghcode:00004:8604c802d36a | mit | codeparrot/github-code | 8604c802d36a360c0e8b122304410e98af69fff69853be8506aa61e34984e25a | 0.95 | testing_debugging_repair_refactoring | 628 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
usin... | ericstj/corefxlab | samples/SpanUsage/MemoryUsage/MemoryUsage.Test/MemoryUsageUnitTests.cs | https://github.com/ericstj/corefxlab/blob/HEAD/samples/SpanUsage/MemoryUsage/MemoryUsage.Test/MemoryUsageUnitTests.cs | ghcode:00004:69b9d1c4919e | mit | codeparrot/github-code | 69b9d1c4919e78e5e5d3df83d46cefb386f87d0165b3ba06c3d7bd73882bc52d | 0.85 | testing_debugging_repair_refactoring | 1,387 | 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,... | oschwald/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/Linq/LinqToJsonTest.cs | https://github.com/oschwald/Newtonsoft.Json/blob/HEAD/Src/Newtonsoft.Json.Tests/Linq/LinqToJsonTest.cs | ghcode:00004:caa8b9e6e5ee | mit | codeparrot/github-code | caa8b9e6e5ee8585b6f5a2f1450decaa816661f44f33153e9e3098ed70c47f8e | 0.7 | testing_debugging_repair_refactoring | 10,621 | false | 2026-07-17 |
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System.IO;
using NUnit.Framework;
namespace FunctionalTests
{
[TestFixture]
public class SimpleDomNoXmlEditorTests : TestBase
{
protected override string GetAppName()
{
return "SimpleDomNoXmlEd... | jethac/ATF | Test/FunctionalTests/SimpleDomNoXmlEditorTests.cs | https://github.com/jethac/ATF/blob/HEAD/Test/FunctionalTests/SimpleDomNoXmlEditorTests.cs | ghcode:00004:b93547924667 | apache-2.0 | codeparrot/github-code | b93547924667892578cd13091a9892ba2efaabfe0f619449cebe759f375f3007 | 0.75 | testing_debugging_repair_refactoring | 127 | 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.
// Don't entity encode high chars (160 to 256)
#define ENTITY_ENCODE_HIGH_ASCII_CHARS
using System.Collections.Gene... | ViktorHofer/corefx | src/System.Runtime.Extensions/src/System/Net/WebUtility.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Runtime.Extensions/src/System/Net/WebUtility.cs | ghcode:00004:ea5173949965 | mit | codeparrot/github-code | ea517394996514e72d67629742207757b51f1d8995e70f5af72b913f3aa05e4d | 0.95 | testing_debugging_repair_refactoring | 10,878 | 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 Xunit;
namespace System.Net.NetworkInformation.Tests
{
public class ConnectionsParsingTests
{
[Fact]
public static void NumSocketConnect... | 690486439/corefx | src/System.Net.NetworkInformation/tests/FunctionalTests/ConnectionsParsingTests.cs | https://github.com/690486439/corefx/blob/HEAD/src/System.Net.NetworkInformation/tests/FunctionalTests/ConnectionsParsingTests.cs | ghcode:00004:051e75ce7b03 | mit | codeparrot/github-code | 051e75ce7b037e414c67fc1b0ae01a7c8f9a0545f94de4399ed9ee9f3392cd2f | 0.85 | testing_debugging_repair_refactoring | 2,545 | 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.
//
namespace KeyVault.Tests
{
using Microsoft.AzureStack.Management.KeyVault.Admin;
using Microsoft.AzureStack.Management.KeyVault.Admin.Models;
u... | yaakoviyun/azure-sdk-for-net | src/AzureStack/Admin/KeyVaultAdmin/KeyVault.Admin.Tests/src/QuotaTests.cs | https://github.com/yaakoviyun/azure-sdk-for-net/blob/HEAD/src/AzureStack/Admin/KeyVaultAdmin/KeyVault.Admin.Tests/src/QuotaTests.cs | ghcode:00004:4accf97ea0e5 | mit | codeparrot/github-code | 4accf97ea0e5d81e9bd23dd5909a328cb5aaae21007718d7d51965916f91a93c | 0.95 | testing_debugging_repair_refactoring | 198 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | zhencui/azure-powershell | src/ResourceManager/KeyVault/Commands.KeyVault.Test/UnitTests/RemoveKeyVaultSecretTests.cs | https://github.com/zhencui/azure-powershell/blob/HEAD/src/ResourceManager/KeyVault/Commands.KeyVault.Test/UnitTests/RemoveKeyVaultSecretTests.cs | ghcode:00004:a0c729df3258 | apache-2.0 | codeparrot/github-code | a0c729df3258856cd6ee7794f046b0a5dec8e4cc2a97409725a22578a4fa5ec4 | 0.85 | testing_debugging_repair_refactoring | 1,043 | 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 System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.Implementation.TodoComments;
using Microsoft.Code... | vslsnap/roslyn | src/EditorFeatures/CSharpTest/TodoComment/TodoCommentTests.cs | https://github.com/vslsnap/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/TodoComment/TodoCommentTests.cs | ghcode:00004:c705f23712c3 | apache-2.0 | codeparrot/github-code | c705f23712c390b63deb021a2e79cbf63cf7b2089cecc69b301c1bf6cb6e555d | 0.85 | testing_debugging_repair_refactoring | 1,134 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Moq.Visualizer
{
[Serializable]
public class CallViewModel
{
internal CallViewModel(MethodInfo methodInfo, object[] arguments, object returnValue)
{
this.Method = methodInfo.GetName();
this.IsVoid = meth... | iskiselev/moq4 | Visualizer/CallViewModel.cs | https://github.com/iskiselev/moq4/blob/HEAD/Visualizer/CallViewModel.cs | ghcode:00004:7ee78c00a441 | bsd-3-clause | codeparrot/github-code | 7ee78c00a441dd2859edc4e659d74e945db48c02aea4c6d3bda9175baca558b7 | 0.7 | testing_debugging_repair_refactoring | 723 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | zhencui/azure-powershell | src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/BatchApplicationPackageTests.cs | https://github.com/zhencui/azure-powershell/blob/HEAD/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/BatchApplicationPackageTests.cs | ghcode:00004:372a6ec020fe | apache-2.0 | codeparrot/github-code | 372a6ec020feb19108a61aad74c8558b2b6a962210b603f4cbd1569275f031b8 | 0.85 | testing_debugging_repair_refactoring | 991 | 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;
using System.Collections.Specialized;
using Xunit;
namespace System.Diagnos... | shimingsg/corefx | src/System.Diagnostics.PerformanceCounter/tests/InstanceDataTests.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Diagnostics.PerformanceCounter/tests/InstanceDataTests.cs | ghcode:00004:5c1afaa603fb | mit | codeparrot/github-code | 5c1afaa603fb8531a1b38f5cf7034f0b1926ce9f5506e6a551b4be7db863ce8a | 0.95 | testing_debugging_repair_refactoring | 1,112 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.