text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.Immutable;
using Xunit;
namespace System.Linq.Parallel.T... | nbarbettini/corefx | src/System.Linq.Parallel/tests/QueryOperators/AggregateTests.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Linq.Parallel/tests/QueryOperators/AggregateTests.cs | ghcode:00164:2778ca11541d | mit | codeparrot/github-code | 2778ca11541d4afac10e9b38df811d558dfd8e5f50f07b9a3906973bb2ab6ef9 | 0.95 | testing_debugging_repair_refactoring | 4,154 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics.Eventing.Reader;
using System.Dynamic;
using System.Linq;
using Syst... | ckurt/Its.Monitoring | Its.Log.UnitTests/FormatterSetTests.cs | https://github.com/ckurt/Its.Monitoring/blob/HEAD/Its.Log.UnitTests/FormatterSetTests.cs | ghcode:00164:cd435ab0f4f5 | mit | codeparrot/github-code | cd435ab0f4f582db34523efc5175ebbea2d352c34b3a75dd020a04fe31bff9f9 | 0.85 | testing_debugging_repair_refactoring | 4,306 | false | 2026-07-17 |
using NUnit.Framework;
using Moq;
using NSmtp.Processors;
using NSmtp.Converters;
using System.Collections.Generic;
using NSmtp.Models.Commands;
using NSmtp.Models;
using NSmtp;
using System.Net.Mail;
using System;
namespace NSmtpUnitTests
{
[TestFixture]
public class CommandListCreatorTest
{
Mock... | bogan87/NSmtp | NSmtpUnitTests/CommandListCreatorTest.cs | https://github.com/bogan87/NSmtp/blob/HEAD/NSmtpUnitTests/CommandListCreatorTest.cs | ghcode:00164:50e7146f98de | mit | codeparrot/github-code | 50e7146f98de1f7bdcb2c07ddb0fdc84fbb48454e180306d8f323e51ed1840eb | 0.6 | testing_debugging_repair_refactoring | 483 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using AutoFixture.NUnit3;
using FluentAssertions;
using Moq;
using Moq.Protected;
using Newtonsoft.Json;
using NUnit.Framework;
using SFA.DAS.Commitments.Domain.Api.Configu... | SkillsFundingAgency/das-commitments | src/SFA.DAS.Commitments.Infrastructure.UnitTests/Api/WhenCallingGet.cs | https://github.com/SkillsFundingAgency/das-commitments/blob/HEAD/src/SFA.DAS.Commitments.Infrastructure.UnitTests/Api/WhenCallingGet.cs | ghcode:00164:31d090d8570a | mit | codeparrot/github-code | 31d090d8570ada2194f758e13287bee48a081e91c91698b60d85115832458558 | 0.85 | testing_debugging_repair_refactoring | 867 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Types;
namespace SFA.DAS.CommitmentsV2.UnitTests.Domain.TrainingProgramme
{
[TestFixture]
public class WhenDeterminingIfATrainingProgrammeIsActive
{
[TestCase("2016-01-01", "2016-12-01", "2016-06-01", true, Description = "Within date... | SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Domain/TrainingProgramme/WhenDeterminingIfATrainingProgrammeIsActive.cs | https://github.com/SkillsFundingAgency/das-commitments/blob/HEAD/src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Domain/TrainingProgramme/WhenDeterminingIfATrainingProgrammeIsActive.cs | ghcode:00164:e403dd364a05 | mit | codeparrot/github-code | e403dd364a0537ee1ac4f2aa6905b4f9f4debd6c21ba9747b7f976d898b43b4a | 0.85 | testing_debugging_repair_refactoring | 537 | false | 2026-07-17 |
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using JetBrains.Annotations;
using NUnit.Framework;
// ReSharper disable CheckNamespace
namespace System
// ReSharper restore CheckNamespace
{
// ReSharper disable UnusedMember.Global
[DebuggerStepThrough]
... | QuickUnit/KafkaCrow | Kafka.Crow.Tests/Infra/Extensions/EnumerableAssertionExtenders.cs | https://github.com/QuickUnit/KafkaCrow/blob/HEAD/Kafka.Crow.Tests/Infra/Extensions/EnumerableAssertionExtenders.cs | ghcode:00164:56214dbdfdc9 | mit | codeparrot/github-code | 56214dbdfdc98ca49c3ac57b3c6372b07d0d882cb0ad106172b7bfed7da7e7b6 | 0.7 | testing_debugging_repair_refactoring | 1,988 | false | 2026-07-17 |
// ***********************************************************************
// Assembly : Heliar.Composition.Core.Tests
// Author : R. L. Vandaveer
// Created : 10-26-2015
//
// Last Modified By : R. L. Vandaveer
// Last Modified On : 08-26-2016
// ********************************************... | rlvandaveer/heliar-composition | src/Heliar.Composition.Core.Tests/ContainerBootstrapperTest.cs | https://github.com/rlvandaveer/heliar-composition/blob/HEAD/src/Heliar.Composition.Core.Tests/ContainerBootstrapperTest.cs | ghcode:00164:eacea67854ff | mit | codeparrot/github-code | eacea67854ffdb6f692baf62877f3f24c936dc9d3f250a5d1fe5d028bff6cbe7 | 0.85 | testing_debugging_repair_refactoring | 2,388 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Ploeh.AutoFixture;
using RememBeer.Models;
using RememBeer.Tests.Utils;
namespace RememBeer.Tests.Models
{
[TestFixture]
public class BeerReviewTests : TestClassBase
{
[Test]
public void Setters_ShouldSetUpPropertiesCorrectly()
{
... | J0hnyBG/RememBeerMeMvc | src/RememBeer.Tests/Models/BeerReviewTests.cs | https://github.com/J0hnyBG/RememBeerMeMvc/blob/HEAD/src/RememBeer.Tests/Models/BeerReviewTests.cs | ghcode:00164:8782efe57cd8 | mit | codeparrot/github-code | 8782efe57cd80456fd9687d375ae8d7d14622ddc8c1df396b6e29ec64f7504d7 | 0.85 | testing_debugging_repair_refactoring | 398 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
namespace ByrneLabs.Commons.MetadataDom.Tests.SampleToParse.UnicodeSamples
{
class CharacterSamplesWithUnderscore
{
_︫Class _︫Field;
_ೀClass _ೀField;
_︪Class _︪Field;
_᧕Class _᧕Field;
_꘤Class _꘤Field;
... | Byrne-Labs/Metadata-DOM | test/ByrneLabs.Commons.MetadataDom.Tests.SampleToParse/UnicodeSamples/CharacterSamplesWithUnderscore.cs | https://github.com/Byrne-Labs/Metadata-DOM/blob/HEAD/test/ByrneLabs.Commons.MetadataDom.Tests.SampleToParse/UnicodeSamples/CharacterSamplesWithUnderscore.cs | ghcode:00164:1e188e0438f7 | mit | codeparrot/github-code | 1e188e0438f7dc9a192c2ca72816c061f8e53726046be0517f85e5c414da73f2 | 0.75 | testing_debugging_repair_refactoring | 671 | false | 2026-07-17 |
namespace Gu.Analyzers.Test
{
using System;
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
using Gu.Roslyn.AnalyzerExtensions;
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using NUnit.Framework;... | JohanLarsson/Gu.Analyzers | Gu.Analyzers.Test/ValidCodeWithAll.cs | https://github.com/JohanLarsson/Gu.Analyzers/blob/HEAD/Gu.Analyzers.Test/ValidCodeWithAll.cs | ghcode:00164:d0f046759dc7 | mit | codeparrot/github-code | d0f046759dc734518d9607ef882ca5a5a09df35864553d443722bb66aad2de46 | 0.75 | testing_debugging_repair_refactoring | 693 | false | 2026-07-17 |
using System.Globalization;
namespace UnitTestProject1 {
public class TestConstants {
public static readonly CultureInfo InvariantCulture = CultureInfo.InvariantCulture;
public static readonly CultureInfo DanishCulture = CultureInfo.GetCultureInfo("da-DK");
}
} | skybrud/Skybrud.Essentials | src/UnitTestProject1/TestConstants.cs | https://github.com/skybrud/Skybrud.Essentials/blob/HEAD/src/UnitTestProject1/TestConstants.cs | ghcode:00164:fa68d74bee14 | mit | codeparrot/github-code | fa68d74bee14b094cfb714dccb1401ff47b3c81dbe99df6addeabdd1d1a28657 | 0.75 | testing_debugging_repair_refactoring | 49 | false | 2026-07-17 |
using NUnit.Framework;
using SQMImportExport.Common;
namespace SQMImportExport.Tests
{
[TestFixture]
public class VectorTests
{
[Test]
public void Expect_same_values_in_properties_when_creating_a_vector()
{
var vector = new Vector(1, 2, 3);
Assert.AreEqual(... | SvDvorak/SQMImportExport | SQMImportExport.Tests/VectorTests.cs | https://github.com/SvDvorak/SQMImportExport/blob/HEAD/SQMImportExport.Tests/VectorTests.cs | ghcode:00164:f87a886c86fa | mit | codeparrot/github-code | f87a886c86facc79a1c9f92f3cb4c270fcde0abbdb6e750934849e749634c149 | 0.75 | testing_debugging_repair_refactoring | 481 | false | 2026-07-17 |
using Firestorm.Endpoints.Formatting.Naming;
using Firestorm.Endpoints.Formatting.Naming.Conventions;
using Xunit;
namespace Firestorm.Endpoints.Tests.Naming
{
public class DefaultNamingConventionSwitcherTests
{
[Fact]
public void GivenDefaultConfig_Construct_CodedCasePascal()
{
... | connellw/Firestorm | tests/Firestorm.Endpoints.Tests/Naming/DefaultNamingConventionSwitcherTests.cs | https://github.com/connellw/Firestorm/blob/HEAD/tests/Firestorm.Endpoints.Tests/Naming/DefaultNamingConventionSwitcherTests.cs | ghcode:00164:6f3062e02ee1 | mit | codeparrot/github-code | 6f3062e02ee1e8a268124c6b2c958a533b34aa14dcdde3f90cf30291aed8e1d2 | 0.75 | testing_debugging_repair_refactoring | 198 | false | 2026-07-17 |
// * **************************************************************************
// * Copyright (c) McCreary, Veselka, Bragg & Allen, P.C.
// * This source code is subject to terms and conditions of the MIT License.
// * A copy of the license can be found in the License.txt file
// * at the root of this distributio... | mvbalaw/RunTimeCodeGenerator | src/RunTimeCodeGenerator.Tests/ClassGeneration/ClassFileGeneratorTests.cs | https://github.com/mvbalaw/RunTimeCodeGenerator/blob/HEAD/src/RunTimeCodeGenerator.Tests/ClassGeneration/ClassFileGeneratorTests.cs | ghcode:00164:ff00187dd997 | mit | codeparrot/github-code | ff00187dd9979b1344d6a047eee1a22bac32990b555d0f4a9247e797d507101d | 0.85 | testing_debugging_repair_refactoring | 871 | false | 2026-07-17 |
using System.Linq;
using Xunit;
namespace Farity.Tests
{
public class ReduceTests
{
[Fact]
public void ReduceExecutesFunctionsForAllElementsInTheList()
{
var expected = 15;
var actual = F.Reduce((sum, current) => sum + current, 0, new[] { 1, 2, 3, 4, 5 });
... | farity/farity | Farity.Tests/ReduceTests.cs | https://github.com/farity/farity/blob/HEAD/Farity.Tests/ReduceTests.cs | ghcode:00164:8fcca796400d | mit | codeparrot/github-code | 8fcca796400d7675f94431acebd16d6c1681e959066d31dc7eff4bd4d71ad691 | 0.75 | testing_debugging_repair_refactoring | 98 | false | 2026-07-17 |
using System;
using Xunit;
namespace Liquid.NET.Tests.Tags
{
public class DecrementTagTests
{
[Fact]
public void It_Should_Decrement_A_Variable()
{
// Arrange
TemplateContext ctx = new TemplateContext();
var template = LiquidTemplat... | mikebridge/Liquid.NET | Liquid.NET.Tests/Tags/DecrementTagTests.cs | https://github.com/mikebridge/Liquid.NET/blob/HEAD/Liquid.NET.Tests/Tags/DecrementTagTests.cs | ghcode:00164:4048cd5e15bf | mit | codeparrot/github-code | 4048cd5e15bf73c4112cb97dfc2fc9f0645df865c6852069a62321b3db169019 | 0.85 | testing_debugging_repair_refactoring | 304 | false | 2026-07-17 |
using System;
using Homely.Testing;
using Shouldly;
using WorldDomination.DelegatedAuthentication.Tests.AuthenticationServiceTests;
using Xunit;
namespace WorldDomination.DelegatedAuthentication.Tests.JwtExtensionsTests
{
public class DecodeTests
{
public static TheoryData<string, string> Bad... | PureKrome/DelegatedAuthentication | tests/DelegatedAuthentication.Tests/JwtExtensionsTests/DecodeTests.cs | https://github.com/PureKrome/DelegatedAuthentication/blob/HEAD/tests/DelegatedAuthentication.Tests/JwtExtensionsTests/DecodeTests.cs | ghcode:00164:d8d10adf4525 | mit | codeparrot/github-code | d8d10adf45252ae78939a1144782d01f0e3028c7cadcf8183fb08c293b3513d3 | 0.85 | testing_debugging_repair_refactoring | 375 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using NUnit.Framework;
using Rhino.Mocks;
using Styx.Protocol;
using Styx.Protocol.Handshake;
using Styx.Requests;
namespace Styx.Tests.Protocol.Handshake
{
[TestFixture]
public class MethodNotAllowedHandshakeNegotiatorTests
{
[Test]
public void ... | ReactiveMarkets/Styx | src/Styx.Tests/Protocol/Handshake/MethodNotAllowedHandshakeNegotiatorTests.cs | https://github.com/ReactiveMarkets/Styx/blob/HEAD/src/Styx.Tests/Protocol/Handshake/MethodNotAllowedHandshakeNegotiatorTests.cs | ghcode:00164:37f752d94134 | mit | codeparrot/github-code | 37f752d941347ce02fc48d764b1f604a69d2b7db272a23859f633cab19fc4023 | 0.75 | testing_debugging_repair_refactoring | 525 | false | 2026-07-17 |
partial class C4
{
int M2() => 0;
}
| github/codeql | csharp/ql/test/library-tests/exprorstmtparent/C.cs | https://github.com/github/codeql/blob/HEAD/csharp/ql/test/library-tests/exprorstmtparent/C.cs | ghcode:00164:9434c1d74d2d | mit | codeparrot/github-code | 9434c1d74d2d73b7d0b37c58325ecc828b474fe689f2ea1ccc3937262bcb3990 | 0.45 | testing_debugging_repair_refactoring | 16 | false | 2026-07-17 |
using System;
using Agiil.BDD.Pages;
using Agiil.BDD.Personas;
using Agiil.BDD.Tasks.Tickets;
using CSF.Screenplay;
using CSF.Screenplay.Actors;
using CSF.Screenplay.Selenium.Builders;
using FluentAssertions;
using TechTalk.SpecFlow;
using static CSF.Screenplay.StepComposer;
namespace Agiil.BDD.Bindings.Tickets
{
[... | csf-dev/agiil | Tests/Agiil.BDD/Bindings/Tickets/TicketEditingSteps.cs | https://github.com/csf-dev/agiil/blob/HEAD/Tests/Agiil.BDD/Bindings/Tickets/TicketEditingSteps.cs | ghcode:00164:fc9f1437cace | mit | codeparrot/github-code | fc9f1437cacec934b4d2625bfd1930bfd0aff66852fb42f0d02465102df3b3b2 | 0.75 | testing_debugging_repair_refactoring | 790 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ClassifierConstructorTest.cs" company="Quartz Software SRL">
// Copyright (c) Quartz Software SRL. All rights reserved.
// </copyright>
// <summary>
// Implements the classifi... | raimu/kephas | src/Tests/Kephas.Model.Tests/Runtime/Construction/ClassifierConstructorTest.cs | https://github.com/raimu/kephas/blob/HEAD/src/Tests/Kephas.Model.Tests/Runtime/Construction/ClassifierConstructorTest.cs | ghcode:00164:2a099ff583e7 | mit | codeparrot/github-code | 2a099ff583e712b078de54a0ed6c4ce5faf6e6502fe1d70254d56704f1ead963 | 0.95 | testing_debugging_repair_refactoring | 281 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CocosSharp;
using System.Diagnostics;
namespace tests
{
public class Bug914Layer : BugsTestBaseLayer
{
public static CCScene scene()
{
// 'scene' is an autorelease object.
CCScene... | hig-ag/CocosSharp | tests/tests/classes/tests/BugsTest/Bug914Layer.cs | https://github.com/hig-ag/CocosSharp/blob/HEAD/tests/tests/classes/tests/BugsTest/Bug914Layer.cs | ghcode:00164:ec93c120fba4 | mit | codeparrot/github-code | ec93c120fba4be065d3514de38cfc40719125eeb1c81c8652b627a744ec63429 | 0.95 | testing_debugging_repair_refactoring | 640 | 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.Generic;
using System.Diagnostics;
using Microsoft... | ahsonkhan/corefxlab | src/Microsoft.Data.Analysis/StringDataFrameColumn.cs | https://github.com/ahsonkhan/corefxlab/blob/HEAD/src/Microsoft.Data.Analysis/StringDataFrameColumn.cs | ghcode:00164:be68b65d0a22 | mit | codeparrot/github-code | be68b65d0a224062109dc4372871e6ada53ccfa1c54471f2232fcf40ac7150eb | 0.85 | testing_debugging_repair_refactoring | 3,621 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Toggl.Extensions;
using Toggl.Services;
namespace Toggl.Tests
{
[TestFixture]
public class UserTests : BaseTogglApiTest
{
[Test]
public void GetViaRestSharp()
{
var restSharpClient ... | sochix/TogglAPI.Net | TogglAPI.NetStandard.Tests/UserTests.cs | https://github.com/sochix/TogglAPI.Net/blob/HEAD/TogglAPI.NetStandard.Tests/UserTests.cs | ghcode:00164:5b6d91534d1c | mit | codeparrot/github-code | 5b6d91534d1c569c2f90227e1145bfa91132c3c234bbfeddd1ea89740e02940d | 0.75 | testing_debugging_repair_refactoring | 669 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using Piforatio.Win.ViewModel;
using Piforatio.Test.Core;
using Piforatio.Core.ObjectsAbstract;
namespace Piforatio.Test.Win
{
[TestFixture]
class ProjectVMTest
{
[Test]
public void Update_dataNotEmpty()
{
var pvm = new ProjectVM();
... | oledb/PiforatioAlpha | Piforatio.Core/Pifaratio.Test/Win/ProjectVMTest.cs | https://github.com/oledb/PiforatioAlpha/blob/HEAD/Piforatio.Core/Pifaratio.Test/Win/ProjectVMTest.cs | ghcode:00164:2b34ecdbe0af | mit | codeparrot/github-code | 2b34ecdbe0af9017e2a4e9e0cd1c77849daa18072bad27ac70b109b4fa4f8088 | 0.6 | testing_debugging_repair_refactoring | 249 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#if !WINDOWS_UWP
// When the .NET scripting backend is enabled and C# projects are built
// The assembly that this file is part of is still built for the player,
// even though the assembly itself is marked as a test assembly (this is not
// e... | DDReaper/MixedRealityToolkit-Unity | Assets/MRTK/Tests/PlayModeTests/PointerTests.cs | https://github.com/DDReaper/MixedRealityToolkit-Unity/blob/HEAD/Assets/MRTK/Tests/PlayModeTests/PointerTests.cs | ghcode:00164:ae2df0dfaeb3 | mit | codeparrot/github-code | ae2df0dfaeb3c8409c5573eaa26e58dc38e19b9db1e3981d1871b2a59bbef7d7 | 0.95 | testing_debugging_repair_refactoring | 4,799 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Testing;
using Test.Utilities;
using Xunit;
using VerifyCS = Test.Utilities.CSharpCodeFixVerifier<
Microsoft.Co... | dotnet/roslyn-analyzers | src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/EnumsShouldHaveZeroValueTests.cs | https://github.com/dotnet/roslyn-analyzers/blob/HEAD/src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/EnumsShouldHaveZeroValueTests.cs | ghcode:00164:4ad570d4512d | mit | codeparrot/github-code | 4ad570d4512d25b77f166838d08f458d97d43c012d76930b9ad039daae8df2ba | 0.85 | testing_debugging_repair_refactoring | 3,550 | false | 2026-07-17 |
// This is ExFat, an exFAT accessor written in pure C#
// Released under MIT license
// https://github.com/picrap/ExFat
namespace ExFat.DiscUtils.Tests
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
[TestCategory("Common")]
public class DateTests
{
[Te... | picrap/ExFat | ExFat.DiscUtils.Tests/Tests/DateTests.cs | https://github.com/picrap/ExFat/blob/HEAD/ExFat.DiscUtils.Tests/Tests/DateTests.cs | ghcode:00164:e50df15a004a | mit | codeparrot/github-code | e50df15a004a21476729460a02d92f9f21552c33c0a748d2cc78804a5fd05217 | 0.95 | testing_debugging_repair_refactoring | 610 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using vivego.MessageBroker.Abstractions;
using Xunit;
using Xunit.Abstractions;
namespace vivego.MessageBroker.Tests
{
[Collection(nameof(TestSilo))]
public sealed class MessageBrokerTests : IClassFixtur... | esbencarlsen/vivego | src/vivego.MessageBroker.Tests/MessageBrokerTests.cs | https://github.com/esbencarlsen/vivego/blob/HEAD/src/vivego.MessageBroker.Tests/MessageBrokerTests.cs | ghcode:00164:60dbb2c14107 | mit | codeparrot/github-code | 60dbb2c14107e850301d941a7637306e3966df324a6487de6e8d554dc269665a | 0.75 | testing_debugging_repair_refactoring | 419 | false | 2026-07-17 |
using System.Diagnostics;
namespace NUnit.Framework.Helpers.Extensions
{
[DebuggerStepThrough]
[DebuggerNonUserCode]
public static class AssertionExtensions
{
public static void ShouldBeNull(this object actual)
{
Assert.IsNull(actual);
}
public static void ... | martinbuberl/NUnitHelpers | src/NUnit.Framework.Helpers/Extensions/AssertionExtensions.cs | https://github.com/martinbuberl/NUnitHelpers/blob/HEAD/src/NUnit.Framework.Helpers/Extensions/AssertionExtensions.cs | ghcode:00164:8d4734df732a | mit | codeparrot/github-code | 8d4734df732a5da11ffc7c6f295af1e6b9471b18081c0652fad08de5bec0c135 | 0.6 | testing_debugging_repair_refactoring | 1,172 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
namespace Tests
{
// Insane undocumented shit that violates the standard (II.12.2).
// If an interface METHOD is a reused implementation, then it's lower-priority than new implementations.
public class TestInheritedImplementationDe... | elasota/clarity | Tests/TestInheritedImplementationDeprioritization.cs | https://github.com/elasota/clarity/blob/HEAD/Tests/TestInheritedImplementationDeprioritization.cs | ghcode:00164:f0ea8b6613e0 | mit | codeparrot/github-code | f0ea8b6613e0b497f03664aac39ada1befce760d64b1d917344d688c9d860b5b | 0.75 | testing_debugging_repair_refactoring | 415 | false | 2026-07-17 |
namespace VinylC.Tests.Web.Controllers.PrivateArea
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestStack.FluentMVCTesting;
using VinylC.Services.Data.Contracts;
using VinylC.Services.Web;
using VinylC.Services.Web.Contracts;
using VinylC.Web.MVC.Areas.Private.Controllers;
[... | clangelov/ASP.NET-MVC-Course-Project | VinylC/Tests/VinylC.Tests.Web/Controllers/PrivateArea/UserControllerTests.cs | https://github.com/clangelov/ASP.NET-MVC-Course-Project/blob/HEAD/VinylC/Tests/VinylC.Tests.Web/Controllers/PrivateArea/UserControllerTests.cs | ghcode:00164:ca63f39a2066 | mit | codeparrot/github-code | ca63f39a2066c05da155065f80748d7e4a49bb42344ea3037d301657ad65835a | 0.85 | testing_debugging_repair_refactoring | 215 | false | 2026-07-17 |
/****************************************************************************
Copyright (c) 2013-2015 scutgame.com
http://www.scutgame.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... | Jesse1205/ScutGame | Framework/ZyGames.Framework.Common/Threading/PriorityQueue.cs | https://github.com/Jesse1205/ScutGame/blob/HEAD/Framework/ZyGames.Framework.Common/Threading/PriorityQueue.cs | ghcode:00164:5bf0f7669a23 | mit | codeparrot/github-code | 5bf0f7669a232433da1e1ac309d161b0cb95cac2f5168c458ce7b68c2137a1e3 | 0.7 | testing_debugging_repair_refactoring | 1,642 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using Common.Properties.Numerical.Data;
namespace Common.Tests.Properties.Numerical.Data
{
class NumericalPropertyDoubleDataTests
{
[Test]
public void NumericalPropertyDoubleDataConstructors()
{
NumericalPropertyDoubleData emptyPropertyD... | JuliusNarvilas/Bedrock | Assets/Common/Scripts/Editor/Tests/Properties/Numerical/Data/NumericalPropertyDoubleDataTests.cs | https://github.com/JuliusNarvilas/Bedrock/blob/HEAD/Assets/Common/Scripts/Editor/Tests/Properties/Numerical/Data/NumericalPropertyDoubleDataTests.cs | ghcode:00164:aa21a641bfce | mit | codeparrot/github-code | aa21a641bfce20d3cefbab1a57e68b67a82e3554cc106a81dc78638e6cfc992e | 0.85 | testing_debugging_repair_refactoring | 1,052 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
using Collections.Compiler;
using Collections.Messages;
using Collections.Runtime;
using NUnit.Framework;
names... | balanikas/collections | Collections/Collections.Tests/CompilerServiceTests.cs | https://github.com/balanikas/collections/blob/HEAD/Collections/Collections.Tests/CompilerServiceTests.cs | ghcode:00164:deeaf0ae87ce | mit | codeparrot/github-code | deeaf0ae87cee7c34983974dcc2c8ffb3afc7a904366df9457613fbe6b89a7bc | 0.75 | testing_debugging_repair_refactoring | 817 | false | 2026-07-17 |
namespace ArgentPonyWarcraftClient.Tests.GameDataApi;
public class PlayableSpecializationApiTests
{
[Fact]
public async Task GetPlayableSpecializationsIndexAsync_Gets_PlayableSpecializationsIndex()
{
IPlayableSpecializationApi warcraftClient = ClientFactory.BuildMockClient(
requestUri:... | danjagnow/ArgentPonyWarcraftClient | tests/ArgentPonyWarcraftClient.Tests/GameDataApi/PlayableSpecializationApiTests.cs | https://github.com/danjagnow/ArgentPonyWarcraftClient/blob/HEAD/tests/ArgentPonyWarcraftClient.Tests/GameDataApi/PlayableSpecializationApiTests.cs | ghcode:00164:1bf09ac31bf9 | mit | codeparrot/github-code | 1bf09ac31bf9fbc3e5228551d8b6f3d8ce30078f4ba8bea2386ff892ce440e3b | 0.85 | testing_debugging_repair_refactoring | 381 | false | 2026-07-17 |
#region
using Akka.Util.Internal;
using AkkaBootCampThings;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using SignalXLib.Lib;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Th... | contactsamie/akka-plate | WebTests.cs | https://github.com/contactsamie/akka-plate/blob/HEAD/WebTests.cs | ghcode:00164:f14b65358229 | mit | codeparrot/github-code | f14b65358229d3e3ef0c41d51c8b5892bb8788d5930cbee08f50ee5e96f481a2 | 0.85 | testing_debugging_repair_refactoring | 986 | false | 2026-07-17 |
using AutoMapper;
using System;
namespace SixtenLabs.Spawn.Tests
{
public class TestCreator : BaseCreator<TestRegistry, string>
{
public TestCreator(ICodeGenerator generator, ISpawnSpec<TestRegistry> spawnSpec)
: base(generator, spawnSpec, "Test Creator", 10)
{
}
public override int Rewrite()
{
thr... | SixtenLabs/Spawn | src/SixtenLabs.Spawn.Tests/MockClasses/TestCreator.cs | https://github.com/SixtenLabs/Spawn/blob/HEAD/src/SixtenLabs.Spawn.Tests/MockClasses/TestCreator.cs | ghcode:00165:4a4c88600eb0 | unlicense | codeparrot/github-code | 4a4c88600eb0c7299df6c84f06fc60f3d05cca13298c0af07a22e23818152daa | 0.68 | testing_debugging_repair_refactoring | 128 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace SQLitePCL.pretty.tests.iOS
{
public class Application
{
// This is the main entry point of the application.
static void Main(string[] args)
{
// if you want to use a... | matrostik/SQLitePCL.pretty | SQLitePCL.pretty.tests.iOS/Main.cs | https://github.com/matrostik/SQLitePCL.pretty/blob/HEAD/SQLitePCL.pretty.tests.iOS/Main.cs | ghcode:00165:ff79a047fd22 | apache-2.0 | codeparrot/github-code | ff79a047fd222f8b6a32834bd59c76cf30779a0070ab9987ccbe0d1d52bae508 | 0.85 | testing_debugging_repair_refactoring | 95 | 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 n... | abelli85/nvelocity | NVelocity/NVelocity.Tests/ForeachBreakTestCase.cs | https://github.com/abelli85/nvelocity/blob/HEAD/NVelocity/NVelocity.Tests/ForeachBreakTestCase.cs | ghcode:00165:250b2649f21d | apache-2.0 | codeparrot/github-code | 250b2649f21df5e289c6fc3738af9eaa770c9b79a87a908ddd9a54d0c613889c | 0.85 | testing_debugging_repair_refactoring | 432 | false | 2026-07-17 |
/* Copyright © 2014 by Eric Kolotyluk <eric@kolotyluk.net>
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 ... | kolotyluk/csharp-windows-elevate | elevate/src/test/csharp/net/kolotyluk/windows/elevate/ElevateTest.cs | https://github.com/kolotyluk/csharp-windows-elevate/blob/HEAD/elevate/src/test/csharp/net/kolotyluk/windows/elevate/ElevateTest.cs | ghcode:00165:6a08a35f9832 | apache-2.0 | codeparrot/github-code | 6a08a35f9832cfb7f714a1ed16f8b73995084169b7ecb5640b9c45fa8c02d709 | 0.95 | testing_debugging_repair_refactoring | 750 | 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.Immutable;
using System.Diagnostics;
using... | reaction1989/roslyn | src/Workspaces/CoreTest/BatchFixAllProviderTests.cs | https://github.com/reaction1989/roslyn/blob/HEAD/src/Workspaces/CoreTest/BatchFixAllProviderTests.cs | ghcode:00165:1d40ba7b61e7 | apache-2.0 | codeparrot/github-code | 1d40ba7b61e7e98dec591fe6b1b0e3783da00b6a857906e6310b2b07e299b995 | 0.85 | testing_debugging_repair_refactoring | 1,140 | false | 2026-07-17 |
using System.Collections.Generic;
using Xunit;
namespace Snowflake.Game.Tests
{
public class GameInfoTests
{
[Fact]
public void GameInfoCreation_Test()
{
Assert.NotNull(new GameInfo("TEST", "TEST", new Dictionary<string, string> {{"snowflake_mediastore", "TEST"}}, "TEST", "... | faint32/snowflake-1 | Snowflake.Tests/Game/GameInfoTests.cs | https://github.com/faint32/snowflake-1/blob/HEAD/Snowflake.Tests/Game/GameInfoTests.cs | ghcode:00165:217a1428116c | apache-2.0 | codeparrot/github-code | 217a1428116c8932bdaa23067ab8b8a24cab5cdd26508a1bcb3d9994e90f3fdf | 0.75 | testing_debugging_repair_refactoring | 84 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FCT.LLC.BusinessService.BusinessLogic;
using FCT.LLC.Common.DataContracts;
using NUnit.Framework;
namespace FCT.LLC.BusinessService.UnitTests
{
[TestFixture]
public class SignDealHelperTes... | ygrinev/ygrinev | LLC/Source Code/FCT.LLC.BusinessService/UnitTests/BusinessLogic Tests/SignDealHelperTests.cs | https://github.com/ygrinev/ygrinev/blob/HEAD/LLC/Source Code/FCT.LLC.BusinessService/UnitTests/BusinessLogic Tests/SignDealHelperTests.cs | ghcode:00165:edb4ed3137a0 | apache-2.0 | codeparrot/github-code | edb4ed3137a0479556eeb026e4655b00a1b6beb82112e9269216e2df03dccbf1 | 0.75 | testing_debugging_repair_refactoring | 610 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Analyzers.MetaAnalyzers.Helpers;
using Microsoft.CodeAnalysis.CSharp.Analyzers.MetaAnalyzers;
usin... | mavasani/roslyn-analyzers | src/Microsoft.CodeAnalysis.Analyzers/UnitTests/MetaAnalyzers/InvalidSyntaxKindTypeArgumentRuleTests.cs | https://github.com/mavasani/roslyn-analyzers/blob/HEAD/src/Microsoft.CodeAnalysis.Analyzers/UnitTests/MetaAnalyzers/InvalidSyntaxKindTypeArgumentRuleTests.cs | ghcode:00165:0d3f81f6d885 | apache-2.0 | codeparrot/github-code | 0d3f81f6d8853c884d33c6c778b2fcc38401e787e3c5aeb1ae83afaed2f68255 | 0.85 | testing_debugging_repair_refactoring | 1,525 | 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 Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Rewrite.UrlActions;
using Xunit;
namespace Microsoft.AspNetCore.Rewrite.Tests.UrlActions
{
public class GoneActionTe... | aspnet/AspNetCore | src/Middleware/Rewrite/test/UrlActions/GoneActionTests.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Middleware/Rewrite/test/UrlActions/GoneActionTests.cs | ghcode:00165:6cf56cd7a08f | apache-2.0 | codeparrot/github-code | 6cf56cd7a08fd12611ecf0edb03a62a81f22180fb3c79b2e2d9b98a5913e198f | 0.85 | testing_debugging_repair_refactoring | 152 | false | 2026-07-17 |
#region Copyright & License
// Copyright © 2012 - 2016 François Chabot, Yves Dierick
//
// 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/LICEN... | icraftsoftware/BizTalk.Factory | src/ServiceModel.Tests/TestSetup.cs | https://github.com/icraftsoftware/BizTalk.Factory/blob/HEAD/src/ServiceModel.Tests/TestSetup.cs | ghcode:00165:66552546a60e | apache-2.0 | codeparrot/github-code | 66552546a60e12ffd83c127a8dfd08e880f2a0c822eb8792b6b236c5de83631e | 0.85 | testing_debugging_repair_refactoring | 214 | false | 2026-07-17 |
//
// - TypeHelperTests.cs -
//
// Copyright 2013 Carbonfrost Systems, Inc. (http://carbonfrost.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/licens... | Carbonfrost/ff-property-trees | test/Carbonfrost.Commons.PropertyTrees.Test/Src/Tests/TypeHelperTests.cs | https://github.com/Carbonfrost/ff-property-trees/blob/HEAD/test/Carbonfrost.Commons.PropertyTrees.Test/Src/Tests/TypeHelperTests.cs | ghcode:00165:704fab762cee | apache-2.0 | codeparrot/github-code | 704fab762ceee817c5f810c023e2444b2504f833f95d839dff9d87c9ddfaeed1 | 0.95 | testing_debugging_repair_refactoring | 419 | false | 2026-07-17 |
using UnityEngine;
using UnityEditor;
using System;
using System.Reflection;
using System.Collections;
using System.Linq.Expressions;
public class IVPMethods : MonoBehaviour {
public static class Path
{
public static string GetEditorPath(ScriptableObject editorScript)
{
MonoScript ... | Belleal/civilization-rise-and-fall | Assets/Ikari/Vertex Painter/Scripts/Editor/IVPMethods.cs | https://github.com/Belleal/civilization-rise-and-fall/blob/HEAD/Assets/Ikari/Vertex Painter/Scripts/Editor/IVPMethods.cs | ghcode:00165:f7001ea790cf | apache-2.0 | codeparrot/github-code | f7001ea790cfe1b9db8574c1d7cf5124a2cfadc7940fdc29bcd3fd02dd2a04d2 | 0.6 | testing_debugging_repair_refactoring | 251 | false | 2026-07-17 |
using NUnit.Framework;
namespace Virtlink.Vfs
{
partial class FilenameTests
{
/// <summary>
/// Tests the <see cref="Filename.Parent"/> property.
/// </summary>
[TestFixture]
public class ParentTests : FilenameTests
{
[Test]
public void IsNullForRoot()
{
// Arrange
var filename = GetFil... | Virtlink/vfs | test/Virtlink.Vfs.IntegrationTests/FilenameTests.ParentTests.cs | https://github.com/Virtlink/vfs/blob/HEAD/test/Virtlink.Vfs.IntegrationTests/FilenameTests.ParentTests.cs | ghcode:00165:06011e174e9c | apache-2.0 | codeparrot/github-code | 06011e174e9c9f7d947673859bbd0e435cc3b10d1b6c7c00c1aad8663226e028 | 0.85 | testing_debugging_repair_refactoring | 278 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Moq;
using Moq.Protected;
using NUnit.Framework;
using Virtlink.Caching;
using static Virtlink.TestUtils.Test;
namespace Virtlink.Vfs
{
/// <summary>
/// Tests the <see cref="ReadOnlyVirtualFile... | Virtlink/vfs | test/Virtlink.Vfs.Tests/ReadOnlyVirtualFileTests.cs | https://github.com/Virtlink/vfs/blob/HEAD/test/Virtlink.Vfs.Tests/ReadOnlyVirtualFileTests.cs | ghcode:00165:385948a97c46 | apache-2.0 | codeparrot/github-code | 385948a97c46641f48dc002337514f9085230a204bc2789a42f87ce0161a584c | 0.85 | testing_debugging_repair_refactoring | 286 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Akka.Actor;
using Akka.Configuration;
using Akka.TestKit.Xunit2;
using Autofac;
using GridDomain.Aggregates;
using GridDomain.Aggregates.Abstractions;
using GridDomain.Common;
using GridDomain.Domains;
using GridDomai... | ContextCore/GridDomain | src/GridDomain.Node.Tests/AggregateActorTests.cs | https://github.com/ContextCore/GridDomain/blob/HEAD/src/GridDomain.Node.Tests/AggregateActorTests.cs | ghcode:00165:1bca885c67e5 | apache-2.0 | codeparrot/github-code | 1bca885c67e5426dcd73a6e5882b0f5c56fa7f4bf6da702d495daa4756e09855 | 0.85 | testing_debugging_repair_refactoring | 1,239 | false | 2026-07-17 |
// -----------------------------------------------------------------------------------------
// <copyright file="TamperBehaviors.cs" company="Microsoft">
// Copyright 2012 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compli... | takekazuomi/azure-sdk-for-net | microsoft-azure-api/Services/Storage/Test/Unit/FaultInjection/HttpMangler/Behaviors/TamperBehaviors.cs | https://github.com/takekazuomi/azure-sdk-for-net/blob/HEAD/microsoft-azure-api/Services/Storage/Test/Unit/FaultInjection/HttpMangler/Behaviors/TamperBehaviors.cs | ghcode:00165:89091c7dcf81 | apache-2.0 | codeparrot/github-code | 89091c7dcf814c1b05da50f06c88feed7f04ddad30bf3c24acecf98c2a3f6cf8 | 0.95 | testing_debugging_repair_refactoring | 3,266 | false | 2026-07-17 |
/*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/openiddict/openiddict-core for more information concerning
* the license and the contributors participating to this project.
*/
using System;
using System.Diagnostics;
using System.Threading.T... | ilmax/core | src/OpenIddict.Core/Infrastructure/OpenIddictProvider.Revocation.cs | https://github.com/ilmax/core/blob/HEAD/src/OpenIddict.Core/Infrastructure/OpenIddictProvider.Revocation.cs | ghcode:00165:90977be60100 | apache-2.0 | codeparrot/github-code | 90977be60100b68968bedcca453214ca9326077ff023d4e87f400006720e5435 | 0.7 | testing_debugging_repair_refactoring | 1,037 | false | 2026-07-17 |
//
// Copyright (C) DataStax Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | maxwellb/csharp-driver | src/Cassandra.IntegrationTests/Core/MetadataTests.cs | https://github.com/maxwellb/csharp-driver/blob/HEAD/src/Cassandra.IntegrationTests/Core/MetadataTests.cs | ghcode:00165:c8bb5421441a | apache-2.0 | codeparrot/github-code | c8bb5421441a6fc5e08df3b96a22d088d2b8908f66ef5be37b15313fa7a3b31a | 0.85 | testing_debugging_repair_refactoring | 7,260 | false | 2026-07-17 |
using FluentAssertions;
using Xunit;
using Grobid.NET;
namespace Grobid.Test
{
public class TeiFeatureFormatterTest
{
[Fact]
public void TeiFeatureFormatter00()
{
var feature = new TeiFeature
{
Value = "The",
Cla... | boumenot/Grobid.NET | test/Grobid.Test/TeiFeatureFormatterTest.cs | https://github.com/boumenot/Grobid.NET/blob/HEAD/test/Grobid.Test/TeiFeatureFormatterTest.cs | ghcode:00165:0bb2c1227273 | apache-2.0 | codeparrot/github-code | 0bb2c12272738876094857f83f0327166540d1735c5714e14853a519ffc07baa | 0.6 | testing_debugging_repair_refactoring | 316 | false | 2026-07-17 |
using System;
using System.Reflection;
using FactoryNet.Core;
using NUnit.Framework;
namespace FactoryNet.Tests
{
[TestFixture]
public class PropertyDataTests
{
[Test]
public void Should_Be_Equal_To_Same_PropertyData_Object()
{
PropertyInfo propInfo = new {Property1 = 3}... | StefanoGermani/FactoryNet | FactoryNet.Tests/PropertyDataTests.cs | https://github.com/StefanoGermani/FactoryNet/blob/HEAD/FactoryNet.Tests/PropertyDataTests.cs | ghcode:00165:a83eb8f4de97 | apache-2.0 | codeparrot/github-code | a83eb8f4de97102a123352847ba3d103eb7773479f5170ef91745554e4699616 | 0.75 | testing_debugging_repair_refactoring | 770 | false | 2026-07-17 |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the abov... | cneuwirt/rhino-commons | Rhino.Commons.Test/ForTesting/NHibernateDatabaseTestFixtureBaseTests.cs | https://github.com/cneuwirt/rhino-commons/blob/HEAD/Rhino.Commons.Test/ForTesting/NHibernateDatabaseTestFixtureBaseTests.cs | ghcode:00165:ddd621eff40b | bsd-3-clause | codeparrot/github-code | ddd621eff40ba2b024c7a88d7d82552f83038fe438017ebd5be56d0e7992bafc | 0.85 | testing_debugging_repair_refactoring | 878 | false | 2026-07-17 |
// Copyright © 2010 onwards, Andrew Whewell
// All rights reserved.
//
// Redistribution and use of this software 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, this l... | VincentFortuneDeng/VirtualRadarSource2.0.2 | Test/Test.VirtualRadar.Interface/BaseStation/BaseStationTranslatorExceptionTests.cs | https://github.com/VincentFortuneDeng/VirtualRadarSource2.0.2/blob/HEAD/Test/Test.VirtualRadar.Interface/BaseStation/BaseStationTranslatorExceptionTests.cs | ghcode:00165:14328d9babe8 | bsd-3-clause | codeparrot/github-code | 14328d9babe8c3ef0449ad6082a7262b28621bc664ab45e1f9dafc4a70fb3621 | 0.85 | testing_debugging_repair_refactoring | 381 | false | 2026-07-17 |
using FluentNHibernate.MappingModel;
using FluentNHibernate.MappingModel.Output;
using FluentNHibernate.Testing.DomainModel;
using FluentNHibernate.Testing.Testing;
using NUnit.Framework;
namespace FluentNHibernate.Testing.MappingModel.Output
{
[TestFixture]
public class XmlManyToOneWriterTester
... | MiguelMadero/fluent-nhibernate | src/FluentNHibernate.Testing/MappingModel/Output/XmlManyToOneWriterTester.cs | https://github.com/MiguelMadero/fluent-nhibernate/blob/HEAD/src/FluentNHibernate.Testing/MappingModel/Output/XmlManyToOneWriterTester.cs | ghcode:00165:564e3a2ef5f0 | bsd-3-clause | codeparrot/github-code | 564e3a2ef5f0f1a9d23118c0fc8ea312b765cdf197fd69e7098a2fc314bb2647 | 0.75 | testing_debugging_repair_refactoring | 766 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using NUnit.Framework;
namespace Embeddinator.Tests
{
/// <summary>
/// Base class for unit tests that handle deleting temporary files
/// </summary>
public class TempFileTest : CurrentDirectoryTest
{
protected string temp;
protect... | mono/Embeddinator-4000 | tests/MonoEmbeddinator4000.Tests/Helpers/TempFileTest.cs | https://github.com/mono/Embeddinator-4000/blob/HEAD/tests/MonoEmbeddinator4000.Tests/Helpers/TempFileTest.cs | ghcode:00165:9ab156a58812 | mit | codeparrot/github-code | 9ab156a58812cc9f01c53db369e1fc9c10a228f1addf26e4b65114d214bc2577 | 0.85 | testing_debugging_repair_refactoring | 172 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Renci.SshNet.Abstractions;
using Renci.SshNet.Common;
using Renci.SshNet.Sftp;
using System;
using System.Diagnostics;
using System.Threading;
using BufferedRead = Renci.SshNet.Sftp.SftpFileReader.BufferedRead;
namespace Renci.SshNet.Tests.Classes.S... | Bloomcredit/SSH.NET | src/Renci.SshNet.Tests/Classes/Sftp/SftpFileReaderTest_ReadAheadEndInvokeException_DiscardsFurtherReadAheads.cs | https://github.com/Bloomcredit/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileReaderTest_ReadAheadEndInvokeException_DiscardsFurtherReadAheads.cs | ghcode:00165:9e4cb4fb8cf1 | mit | codeparrot/github-code | 9e4cb4fb8cf1da73e15d30f9e6450563d4c06be9380f694eac20f1cd53f6792b | 0.7 | testing_debugging_repair_refactoring | 1,951 | false | 2026-07-17 |
using System;
using System.IO;
#if NET46
using System.Runtime.Serialization.Formatters.Binary;
#endif
using Modbus.Message;
using Xunit;
namespace Modbus.UnitTests
{
public class SlaveExceptionFixture
{
[Fact]
public void EmptyConstructor()
{
var e = new Slav... | Maxwe11/NModbus4 | NModbus4.UnitTests/SlaveExceptionFixture.cs | https://github.com/Maxwe11/NModbus4/blob/HEAD/NModbus4.UnitTests/SlaveExceptionFixture.cs | ghcode:00165:b353d3e21426 | mit | codeparrot/github-code | b353d3e21426fd21123c06360090f7d36966d851b0b346eef1111e134fb5cf63 | 0.6 | testing_debugging_repair_refactoring | 742 | false | 2026-07-17 |
namespace Sitecore.FakeDb.Tests.Data.Engines.DataCommands
{
using System.Linq;
using FluentAssertions;
using NSubstitute;
using Sitecore.Data.Items;
using Sitecore.FakeDb.Data.Engines.DataCommands;
using Sitecore.Reflection;
using Xunit;
public class RemoveVersionCommandTest
{
[Theory, DefaultAu... | pveller/Sitecore.FakeDb | test/Sitecore.FakeDb.Tests/Data/Engines/DataCommands/RemoveVersionCommandTest.cs | https://github.com/pveller/Sitecore.FakeDb/blob/HEAD/test/Sitecore.FakeDb.Tests/Data/Engines/DataCommands/RemoveVersionCommandTest.cs | ghcode:00165:8b2ddafce7a1 | mit | codeparrot/github-code | 8b2ddafce7a1b82aed5d06be6ba9114546b6a78b69235e90b81d3804ac12114b | 0.7 | testing_debugging_repair_refactoring | 451 | 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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.API;
using osu.Game.Online.API.Requests;
usin... | smoogipooo/osu | osu.Game.Tournament.Tests/Components/TestSceneTournamentModDisplay.cs | https://github.com/smoogipooo/osu/blob/HEAD/osu.Game.Tournament.Tests/Components/TestSceneTournamentModDisplay.cs | ghcode:00165:87ca10cb9736 | mit | codeparrot/github-code | 87ca10cb9736429fcf7b27326f5e80f41264ad51b6debdfea3a61148c2f63365 | 0.75 | testing_debugging_repair_refactoring | 398 | 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 Microsoft.CSharp.RuntimeBinder.Syntax;
namespace Microsoft... | lggomez/corefx | src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Symbols/MethodSymbol.cs | https://github.com/lggomez/corefx/blob/HEAD/src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Symbols/MethodSymbol.cs | ghcode:00165:3f0ad9e5127e | mit | codeparrot/github-code | 3f0ad9e5127e98a9a31393609d3e9920567ce13ce375df8243332d46f3173517 | 0.95 | testing_debugging_repair_refactoring | 1,287 | false | 2026-07-17 |
//The MIT License (MIT)
//
//Copyright 2015 Microsoft Corporation
//
//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, cop... | OSTC/enhanced-monitoring-service | src/UnitTest/FormatHelperTest.cs | https://github.com/OSTC/enhanced-monitoring-service/blob/HEAD/src/UnitTest/FormatHelperTest.cs | ghcode:00165:0990998fed1d | mit | codeparrot/github-code | 0990998fed1d8686da522298e6daa3dc684798c691fd5411bf531785cf8cb344 | 0.7 | testing_debugging_repair_refactoring | 816 | false | 2026-07-17 |
using Bridge.Test.NUnit;
namespace Bridge.ClientTest.CSharp7
{
/// <summary>
/// The test here consists in checking expression-bodied members support,
/// following C#7 specification patterns.
/// </summary>
[Category(Constants.MODULE_BASIC_CSHARP)]
[TestFixture(TestNameFormat = "Expression-bod... | bridgedotnet/Bridge | Tests/Batch1/CSharp7/TestExpressionBodyMember.cs | https://github.com/bridgedotnet/Bridge/blob/HEAD/Tests/Batch1/CSharp7/TestExpressionBodyMember.cs | ghcode:00165:455a502f0ee2 | apache-2.0 | codeparrot/github-code | 455a502f0ee2478444c65e2c46db45f8f34470eb7a82057db43838f5ea6988f8 | 0.85 | testing_debugging_repair_refactoring | 271 | false | 2026-07-17 |
// Copyright 2018, Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | evildour/google-cloud-dotnet | apis/Google.Cloud.Firestore/Google.Cloud.Firestore.Tests/DocumentChangeTest.cs | https://github.com/evildour/google-cloud-dotnet/blob/HEAD/apis/Google.Cloud.Firestore/Google.Cloud.Firestore.Tests/DocumentChangeTest.cs | ghcode:00165:e7d07433b9ce | apache-2.0 | codeparrot/github-code | e7d07433b9ced22a58ad456f05f4cd3d4d3280b7882918729170b9f4faf7a172 | 0.85 | testing_debugging_repair_refactoring | 690 | false | 2026-07-17 |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2009, 2010 Oracle and/or its affiliates. All rights reserved.
*
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Xml;
using NUnit.Framework;
using BerkeleyDB;
... | racker/omnibus | source/db-5.0.26.NC/test/scr037/MutexConfigTest.cs | https://github.com/racker/omnibus/blob/HEAD/source/db-5.0.26.NC/test/scr037/MutexConfigTest.cs | ghcode:00165:7895618e1e80 | apache-2.0 | codeparrot/github-code | 7895618e1e80e72791164c710ab5d6b56c4225d379ae2c8c7711e9009f3a5c3b | 0.85 | testing_debugging_repair_refactoring | 532 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | AnshulYADAV007/Lean | Tests/Common/Scheduling/DateRulesTests.cs | https://github.com/AnshulYADAV007/Lean/blob/HEAD/Tests/Common/Scheduling/DateRulesTests.cs | ghcode:00165:eac109aaac50 | apache-2.0 | codeparrot/github-code | eac109aaac50e917376fd6f584ca917538d343c0d1ebd956cfb89516f3a00f6e | 0.85 | testing_debugging_repair_refactoring | 1,994 | false | 2026-07-17 |
// Application.Behaviors.cs
// Script#/FX/Sharpen/Core
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Html;
using System.Runtime.CompilerServices;
namespace Sharpen {
public seale... | nikhilk/scriptsharp | fx/Sharpen/Core/Application.Behaviors.cs | https://github.com/nikhilk/scriptsharp/blob/HEAD/fx/Sharpen/Core/Application.Behaviors.cs | ghcode:00165:8083da3e7fc0 | apache-2.0 | codeparrot/github-code | 8083da3e7fc01020300177a6e926633e6e7af424ad307c084e5de5d7f4734129 | 0.7 | testing_debugging_repair_refactoring | 824 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Concordion.Api;
using Concordion.Api.Extension;
using Concordion.Internal;
using Concordion.Internal.Extension;
namespace Concordion.Spec.Support
{
public class TestRig
{
public SpecificationConfig Configuration { get... | concordion/concordion-net | Concordion.Spec/Support/TestRig.cs | https://github.com/concordion/concordion-net/blob/HEAD/Concordion.Spec/Support/TestRig.cs | ghcode:00165:17d81e5e585b | apache-2.0 | codeparrot/github-code | 17d81e5e585ba85a41ce79cb473175c80fa6f006c538ce5dd13bd1af166b73a7 | 0.75 | testing_debugging_repair_refactoring | 696 | false | 2026-07-17 |
#region LGPL License
/*
Axiom Graphics Engine Library
Copyright (C) 2003-2007 Axiom Project Team
The overall design, and a majority of the core engine and rendering code
contained within this library is a derivative of the open source Object Oriented
Graphics Engine OGRE, which can be found at http://ogre.sourceforge... | objuan/picodex | src/Picodex.Unity/Axiom/Core/ManualObject.cs | https://github.com/objuan/picodex/blob/HEAD/src/Picodex.Unity/Axiom/Core/ManualObject.cs | ghcode:00165:f000bc1f51a6 | apache-2.0 | codeparrot/github-code | f000bc1f51a647035b0e5c333a0a4bb9823c820bcc72dc5fed8da3ef0acc3349 | 0.85 | testing_debugging_repair_refactoring | 13,615 | false | 2026-07-17 |
using Avalara.AvaTax.RestClient;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Text;
using Tests.Avalara.AvaTax.RestClient.netstandard;
namespace Tests.Avalara.AvaTax.netstandard
{
[TestFixture]
public class FreeTaxRatesTest
{
public AvaTaxClient Client { get;... | avadev/AvaTax-REST-V2-DotNet-SDK | tests/net461/TaxContentOfflineTest.cs | https://github.com/avadev/AvaTax-REST-V2-DotNet-SDK/blob/HEAD/tests/net461/TaxContentOfflineTest.cs | ghcode:00165:6c63be36015a | apache-2.0 | codeparrot/github-code | 6c63be36015a2a0b90b66da57d9666d63b00573edaa063d92542c216ef7d9221 | 0.85 | testing_debugging_repair_refactoring | 238 | 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.Diagnostics;
using System.Text;
using Microsoft.CodeAnalysis;
using M... | physhi/roslyn | src/VisualStudio/CSharp/Impl/CodeModel/CSharpCodeModelService.NodeNameGenerator.cs | https://github.com/physhi/roslyn/blob/HEAD/src/VisualStudio/CSharp/Impl/CodeModel/CSharpCodeModelService.NodeNameGenerator.cs | ghcode:00165:4cc31797d33a | apache-2.0 | codeparrot/github-code | 4cc31797d33a2d0677b701902c4cae86a0207336acd66e79f473c78c6a7c8c6c | 0.85 | testing_debugging_repair_refactoring | 1,534 | false | 2026-07-17 |
using System;
using System.Linq;
using NUnit.Framework;
namespace EventStore.Core.Tests.Services.ElectionsService.Randomized
{
[TestFixture]
public class elections_service_3_nodes_full_gossip_no_http_loss_no_dup
{
private RandomizedElectionsTestCase _randomCase;
[SetUp]
public void... | msbahrul/EventStore | src/EventStore/EventStore.Core.Tests/Services/ElectionsService/Randomized/elections_service_3_nodes_full_gossip_no_http_loss_no_dup.cs | https://github.com/msbahrul/EventStore/blob/HEAD/src/EventStore/EventStore.Core.Tests/Services/ElectionsService/Randomized/elections_service_3_nodes_full_gossip_no_http_loss_no_dup.cs | ghcode:00165:77fe0c648b59 | bsd-3-clause | codeparrot/github-code | 77fe0c648b598df272ee47a787d0c1c6990c15073e585a968ab8a3657cdecdb3 | 0.75 | testing_debugging_repair_refactoring | 345 | false | 2026-07-17 |
using Cosmos.Debug.Kernel;
namespace Cosmos.System
{
// This class exists purely for testing purposes.
internal static class TestingHelpers
{
internal static void KeyboardAddFakeScanCode(byte aScanCode, bool aReleased)
{
Debugger.DoSend("Before HandleFakeScanCode");
... | Cyber4/Cosmos | source/Cosmos.System/TestingHelpers.cs | https://github.com/Cyber4/Cosmos/blob/HEAD/source/Cosmos.System/TestingHelpers.cs | ghcode:00165:ae44ef1d8819 | bsd-3-clause | codeparrot/github-code | ae44ef1d881908d6407f5bb4fd0de804d42e2d404fb3e797cdae7a6ef0b807a9 | 0.75 | testing_debugging_repair_refactoring | 114 | false | 2026-07-17 |
namespace Microsoft.HockeyApp.Extensibility.Implementation
{
using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using Extensibility.Implementation.External;
#if WINDOWS_PHONE || WINDOWS_STORE || WINDOWS_UWP
using Microsoft.VisualStudio.TestP... | bitstadium/HockeySDK-Windows | Src/Kit.UWP.Tests/Extensibility/Implementation/ExceptionConverterTest.cs | https://github.com/bitstadium/HockeySDK-Windows/blob/HEAD/Src/Kit.UWP.Tests/Extensibility/Implementation/ExceptionConverterTest.cs | ghcode:00165:331a7e9c7202 | mit | codeparrot/github-code | 331a7e9c7202c2cdfae379cbb6c0d226cc8e6bdc5d988356a84bca113426d2a3 | 0.85 | testing_debugging_repair_refactoring | 1,360 | false | 2026-07-17 |
namespace ATM.Tests
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ATM.Transactions;
[TestClass]
public class AlLTests
{
[TestInitialize]
public void Seed()
{
Transactions.SeedData();
}
[TestMethod]
publi... | kaizer04/SoftUni | Databases/HWtoSend/DB-Transactions-Homework/ATM.Tests/AlLTests.cs | https://github.com/kaizer04/SoftUni/blob/HEAD/Databases/HWtoSend/DB-Transactions-Homework/ATM.Tests/AlLTests.cs | ghcode:00165:b2b599186ef0 | mit | codeparrot/github-code | b2b599186ef036de049d2710e88ddfbf1120062a0ef3290fdea27845283299d7 | 0.75 | testing_debugging_repair_refactoring | 326 | 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.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.B... | 2yangk23/osu | osu.Game.Rulesets.Osu.Tests/TestSceneSkinFallbacks.cs | https://github.com/2yangk23/osu/blob/HEAD/osu.Game.Rulesets.Osu.Tests/TestSceneSkinFallbacks.cs | ghcode:00165:2fbfaeb01f9d | mit | codeparrot/github-code | 2fbfaeb01f9d0c119690dfcf5da8e128a30b4b011bba100334e1555023f3c7a2 | 0.85 | testing_debugging_repair_refactoring | 1,029 | false | 2026-07-17 |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | justasabc/kubernetes-ubuntu | ke/images/robust/image/opensim80/OpenSim/Region/Framework/Scenes/Tests/SceneStatisticsTests.cs | https://github.com/justasabc/kubernetes-ubuntu/blob/HEAD/ke/images/robust/image/opensim80/OpenSim/Region/Framework/Scenes/Tests/SceneStatisticsTests.cs | ghcode:00165:9a2a6f730e2a | apache-2.0 | codeparrot/github-code | 9a2a6f730e2ad8f25b492193546943c90d3455dd626f43febee4b6fd90931171 | 0.85 | testing_debugging_repair_refactoring | 608 | false | 2026-07-17 |
// Copyright 2013, 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... | akilb/googleads-adwords-dotnet-lib | tests/adxbuyer/v201306/AdvancedOperationsTest.cs | https://github.com/akilb/googleads-adwords-dotnet-lib/blob/HEAD/tests/adxbuyer/v201306/AdvancedOperationsTest.cs | ghcode:00165:553048d9faee | apache-2.0 | codeparrot/github-code | 553048d9faeeb7c3fa0bc3e8648a5bc5ec656da312d3891e4e208ea7da9d238d | 0.85 | testing_debugging_repair_refactoring | 673 | false | 2026-07-17 |
using System;
using FluentAssertions;
using Nest;
using Tests.Framework.Integration;
using Tests.Framework.MockData;
using static Nest.Infer;
namespace Tests.Aggregations.Metric.Min
{
public class MinAggregationUsageTests : AggregationUsageTestBase
{
public MinAggregationUsageTests(ReadOnlyCluster i, EndpointUsag... | azubanov/elasticsearch-net | src/Tests/Aggregations/Metric/Min/MinAggregationUsageTests.cs | https://github.com/azubanov/elasticsearch-net/blob/HEAD/src/Tests/Aggregations/Metric/Min/MinAggregationUsageTests.cs | ghcode:00165:4762ad9fef0c | apache-2.0 | codeparrot/github-code | 4762ad9fef0c6b06a89fe7aaf2b4944da890c36f57f7cc2259c0fea09c909f5c | 0.85 | testing_debugging_repair_refactoring | 309 | false | 2026-07-17 |
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
/... | int19h/PTVS | Python/Tests/Utilities.Python/EventTaskSources.cs | https://github.com/int19h/PTVS/blob/HEAD/Python/Tests/Utilities.Python/EventTaskSources.cs | ghcode:00165:fb5cf62fb2a9 | apache-2.0 | codeparrot/github-code | fb5cf62fb2a9bf546d9224bae211140ab032c414136097c1c6dfee08ee1dd175 | 0.95 | testing_debugging_repair_refactoring | 252 | false | 2026-07-17 |
namespace Tests.SharpArch.Domain.DataAnnotationsValidator
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics;
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using CommonServiceLocator.WindsorAdapter;
u... | libinqi/Sharp-Architecture | Solutions/SharpArch.Tests/SharpArch.Domain/DataAnnotationsValidator/HasUniqueEntitySignatureValidatorTests.cs | https://github.com/libinqi/Sharp-Architecture/blob/HEAD/Solutions/SharpArch.Tests/SharpArch.Domain/DataAnnotationsValidator/HasUniqueEntitySignatureValidatorTests.cs | ghcode:00165:2094dcf02f3b | bsd-3-clause | codeparrot/github-code | 2094dcf02f3b80f065ef1ea09c89b5ed9936b7e47a693fa248c63c578cce99b4 | 0.75 | testing_debugging_repair_refactoring | 904 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Diagnostics;
namespace Microsoft.Build.Shared.LanguageParser
{
/*
* Class: CSharpTokenEnumerator
*
* Giv... | sean-gilliam/msbuild | src/Shared/LanguageParser/CSharptokenEnumerator.cs | https://github.com/sean-gilliam/msbuild/blob/HEAD/src/Shared/LanguageParser/CSharptokenEnumerator.cs | ghcode:00165:8debe630e576 | mit | codeparrot/github-code | 8debe630e57654b0add63136fa054210c31035a4b9ede092f449c9f52aa3317f | 0.85 | testing_debugging_repair_refactoring | 2,131 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Collections.Generic;
using Newtonsoft.Json;
using NUnit.Framework;
using QuantConnect.Data;
using QuantConnect.Data.Market;
namespace QuantConnect.Tests.Common
{
[TestFixture]
public class SymbolRepresentationTests
{
[Test]
public void OptionSy... | Mendelone/forex_trading | Tests/Common/SymbolRepresentationTests.cs | https://github.com/Mendelone/forex_trading/blob/HEAD/Tests/Common/SymbolRepresentationTests.cs | ghcode:00165:8e04925937fb | apache-2.0 | codeparrot/github-code | 8e04925937fbc2ad73ab347abbefb26ec8dbd793724ec85f2b6180b2ce6b5828 | 0.85 | testing_debugging_repair_refactoring | 746 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2010 Charlie Poole, Rob Prouse
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restr... | jadarnel27/nunit | src/NUnitFramework/tests/Constraints/ReusableConstraintTests.cs | https://github.com/jadarnel27/nunit/blob/HEAD/src/NUnitFramework/tests/Constraints/ReusableConstraintTests.cs | ghcode:00165:bc2f0d15cce5 | mit | codeparrot/github-code | bc2f0d15cce53faeb9fe7fccce137822cffe07a63a3243a17ccaab9c6f35bf1c | 0.95 | testing_debugging_repair_refactoring | 484 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Net;
using Microsoft.Azure.Management.Resou... | AzCiS/azure-sdk-for-net | src/SDKs/Dns/Dns.Tests/ScenarioTests/RecordSetScenarioTests.cs | https://github.com/AzCiS/azure-sdk-for-net/blob/HEAD/src/SDKs/Dns/Dns.Tests/ScenarioTests/RecordSetScenarioTests.cs | ghcode:00165:74332707a7b0 | mit | codeparrot/github-code | 74332707a7b0e0d94eba5606e4bf4c74111ab4ad6dfef48658c5c6958fd45a0b | 0.85 | testing_debugging_repair_refactoring | 5,288 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.FxCopAnalyzers.Reliability;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.FxCopAnalyzers;
using ... | DavidKarlas/roslyn | src/Diagnostics/FxCop/Test/Reliability/CA2002Tests.cs | https://github.com/DavidKarlas/roslyn/blob/HEAD/src/Diagnostics/FxCop/Test/Reliability/CA2002Tests.cs | ghcode:00165:c118fb25d16c | apache-2.0 | codeparrot/github-code | c118fb25d16c0752c8f8d67cf05cc74e0156f5dadcd7e5324f5c5b857b951908 | 0.85 | testing_debugging_repair_refactoring | 2,140 | 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... | atpham256/azure-powershell | src/ResourceManager/Network/Commands.Network/VirtualNetwork/TestAzurePrivateIpAddressAvailabilityCmdlet.cs | https://github.com/atpham256/azure-powershell/blob/HEAD/src/ResourceManager/Network/Commands.Network/VirtualNetwork/TestAzurePrivateIpAddressAvailabilityCmdlet.cs | ghcode:00165:8440406fd1cd | apache-2.0 | codeparrot/github-code | 8440406fd1cd901f21e8cb6a232e4eafe50f3ecd9e83cf232261edb07887b443 | 0.85 | testing_debugging_repair_refactoring | 557 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Text;
using Test.Cryptography;
namespace System.Security.Cryptography.Rsa.Tests
{
// Note to contr... | iamjasonp/corefx | src/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/TestData.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/TestData.cs | ghcode:00165:c67c6416f943 | mit | codeparrot/github-code | c67c6416f9439883bfea2121b8b490f88403cecd012a3f192d6859103fc6d7c1 | 0.82 | testing_debugging_repair_refactoring | 72,964 | 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.SpanTests
{
// Adapted from IndexOf.T.cs
public static partial class ReadOnly... | ptoonen/corefx | src/System.Memory/tests/ReadOnlySpan/Contains.T.cs | https://github.com/ptoonen/corefx/blob/HEAD/src/System.Memory/tests/ReadOnlySpan/Contains.T.cs | ghcode:00165:41874cb71283 | mit | codeparrot/github-code | 41874cb71283908fcaf1fa8cb54af414be6f58fb5c9eedd62e31cd0a943a24d3 | 0.95 | testing_debugging_repair_refactoring | 1,409 | 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.Threading.Tasks;
using Xunit;
namespace System.Threading.Tests
{
public class AutoResetEventTests
... | iamjasonp/corefx | src/System.Threading/tests/AutoResetEventTests.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Threading/tests/AutoResetEventTests.cs | ghcode:00165:c4ba35649063 | mit | codeparrot/github-code | c4ba3564906396668bea60a354116dcd6b3b03310a5b0b1c23aff4e7e9f01a33 | 0.95 | testing_debugging_repair_refactoring | 717 | 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/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/RecoverDatabaseTests.cs | https://github.com/zhencui/azure-powershell/blob/HEAD/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/RecoverDatabaseTests.cs | ghcode:00165:c373d50ea765 | apache-2.0 | codeparrot/github-code | c373d50ea765bc14d7bc606387c302b7fc06da0d958a2c1aa811100626e8b5d6 | 0.85 | testing_debugging_repair_refactoring | 1,358 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Reflection;
using System.Reflection.Emit;
using System.Threading;
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class Me... | Alcaro/corefx | src/System.Reflection.Emit/tests/MethodBuilder/MethodBuilderSetReturnType.cs | https://github.com/Alcaro/corefx/blob/HEAD/src/System.Reflection.Emit/tests/MethodBuilder/MethodBuilderSetReturnType.cs | ghcode:00165:9c2d62687b16 | mit | codeparrot/github-code | 9c2d62687b16cc2c9e6c24d083fa213bc59a31683c62384eb37e433cf6af8507 | 0.85 | testing_debugging_repair_refactoring | 1,587 | 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.
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// BatchBlock.cs
//
//
// A propagator block that groups individual messag... | vs-team/corefx | src/System.Threading.Tasks.Dataflow/src/Blocks/BatchBlock.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Threading.Tasks.Dataflow/src/Blocks/BatchBlock.cs | ghcode:00165:55bec3969230 | mit | codeparrot/github-code | 55bec3969230a1e7a1db4e9f58fdf1426e45d85043eb9fff463ea9b43fef6b37 | 0.82 | testing_debugging_repair_refactoring | 14,013 | 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;
using System;
using System.Collections;
using System.Collections.Specialized;
using GenStrings;
namespace System.Collections.Specialized.Tests
{
publ... | erpframework/corefx | src/System.Collections.Specialized/tests/ListDictionary/AddObjObjTests.cs | https://github.com/erpframework/corefx/blob/HEAD/src/System.Collections.Specialized/tests/ListDictionary/AddObjObjTests.cs | ghcode:00165:e88aaa09a87f | mit | codeparrot/github-code | e88aaa09a87f4ba9d4650421f5ecc10738be311afe9c48c84172de66ae2ac50b | 0.95 | testing_debugging_repair_refactoring | 1,696 | 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.
namespace System.IO.Tests
{
public static class HResults
{
// DirectoryNotFoundException
pub... | dotnet-bot/corefx | src/System.Runtime/tests/System/IO/Exceptions.HResults.cs | https://github.com/dotnet-bot/corefx/blob/HEAD/src/System.Runtime/tests/System/IO/Exceptions.HResults.cs | ghcode:00165:7b90864ec488 | mit | codeparrot/github-code | 7b90864ec48828296804419ab2399348e4e9cfb2a208f5ec94fcedbd18b6b47a | 0.95 | testing_debugging_repair_refactoring | 935 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.