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 Botclient;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTesting
{
public class Bot_test
{
}
} | XD-face-me/4-in-a-row-AI | UnitTesting/Bot_test.cs | https://github.com/XD-face-me/4-in-a-row-AI/blob/HEAD/UnitTesting/Bot_test.cs | ghcode:00172:3ade93c26bf2 | mit | codeparrot/github-code | 3ade93c26bf2ac9d31f5bdab4ac95568a3788410c4d5530cb95bf72bbf076701 | 0.2 | testing_debugging_repair_refactoring | 27 | false | 2026-07-17 |
using Kata.GildedRose.CSharp.Domain.Strategies;
using NUnit.Framework;
namespace Kata.GildedRose.CSharp.Unit.Tests.UnitTests.Factories.UpdateStockItemStrategy
{
[TestFixture]
public class AndItemIsABackStagePass : WhenTestingTheFactory
{
protected override void Setup()
{
Actual... | dtro-devuk/Kata.Solved.GildedRose.CSharp | src/Kata.GildedRose.CSharp.Unit.Tests/UnitTests/Factories/UpdateStockItemStrategy/AndItemIsABackStagePass.cs | https://github.com/dtro-devuk/Kata.Solved.GildedRose.CSharp/blob/HEAD/src/Kata.GildedRose.CSharp.Unit.Tests/UnitTests/Factories/UpdateStockItemStrategy/AndItemIsABackStagePass.cs | ghcode:00172:498e57a8e86f | mit | codeparrot/github-code | 498e57a8e86fe6ae581d2140a0ec4bdec5d8f4d42b1839a153e20cb807a8108d | 0.6 | testing_debugging_repair_refactoring | 135 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities;
using Microsoft.MixedReality.Toolkit.Input;
using Microsoft.MixedReality.Toolkit.Windows.Input;
using UnityEngine;
#... | davidezordan/MixedRealitySamples | Two-hands manipulation - MRTKv2/Assets/MixedRealityToolkit.Providers/WindowsMixedReality/WindowsMixedRealityDeviceManager.cs | https://github.com/davidezordan/MixedRealitySamples/blob/HEAD/Two-hands manipulation - MRTKv2/Assets/MixedRealityToolkit.Providers/WindowsMixedReality/WindowsMixedRealityDeviceManager.cs | ghcode:00172:2f27a196d04e | mit | codeparrot/github-code | 2f27a196d04ea637d1402253085c257a92bd3955a5e16010007995e82711d34b | 0.85 | testing_debugging_repair_refactoring | 4,948 | false | 2026-07-17 |
using FluentNHibernate.Mapping;
using System;
using System.Threading.Tasks;
using Xunit;
namespace DevExtreme.AspNet.Data.Tests.NH {
public class RemoteGroupCount {
public class DataItem : RemoteGroupCountTestHelper.IEntity {
public virtual int Id { get; set; }
public virtual int... | AlekseyMartynov/DevExtreme.AspNet.Data | net/DevExtreme.AspNet.Data.Tests.NH/RemoteGroupCount.cs | https://github.com/AlekseyMartynov/DevExtreme.AspNet.Data/blob/HEAD/net/DevExtreme.AspNet.Data.Tests.NH/RemoteGroupCount.cs | ghcode:00172:c70d559d30fb | mit | codeparrot/github-code | c70d559d30fb4943f26ef7cb42889501146747234cdc49c7aea2b36148fea3e4 | 0.75 | testing_debugging_repair_refactoring | 210 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Xunit;
namespace ShopifySharp.Tests
{
[Trait("Category", "Parameterizable")]
public class Parameterizable_Tests
{
class TestFilter : Parameterizable
{
public IEnumerable<string> StringListProp { ge... | nozzlegear/ShopifySharp | ShopifySharp.Tests/Parameterizable_Tests.cs | https://github.com/nozzlegear/ShopifySharp/blob/HEAD/ShopifySharp.Tests/Parameterizable_Tests.cs | ghcode:00172:0e7f5c8233bc | mit | codeparrot/github-code | 0e7f5c8233bc7b62de4efe64010ca78cae7c93b1f8cee6369bccf94e9839316b | 0.75 | testing_debugging_repair_refactoring | 897 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GrizzenServer;
using Xunit;
namespace XUnitTests
{
public class ClientsIndexTests
{
[Fact]
public void All_IsNotNull()
{
Assert.NotNull(Clients.All());
... | McBits/DungeonR | server/test/ClientsIndexTests.cs | https://github.com/McBits/DungeonR/blob/HEAD/server/test/ClientsIndexTests.cs | ghcode:00172:4ba78865c776 | mit | codeparrot/github-code | 4ba78865c77689dc8c43d6f417eed567e18c73793644c87cf7191924b5b2a320 | 0.85 | testing_debugging_repair_refactoring | 692 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
namespace LiteDB.Tests
{
[TestClass]
public class UserVersionTest
{
[TestMethod]
public void UserVersion_Test()
{
using (var file = new TempFile())
{
using (var db = new Lit... | RytisLT/LiteDB | LiteDB.Tests/Engine/UserVersionTest.cs | https://github.com/RytisLT/LiteDB/blob/HEAD/LiteDB.Tests/Engine/UserVersionTest.cs | ghcode:00172:eab89250cf1d | mit | codeparrot/github-code | eab89250cf1d1c5d9763b13a6566cae7c679a5efeac2468286965808a3a88a8f | 0.75 | testing_debugging_repair_refactoring | 123 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Amazon;
using Amazon.S3;
using Amazon.S3.Model;
using Amazon.S3.Transfer;
using Amazon.S3.Util;
using Amazon.Runti... | rafd123/aws-sdk-net | sdk/test/IntegrationTests/Tests/S3/TransferUtilityTests.cs | https://github.com/rafd123/aws-sdk-net/blob/HEAD/sdk/test/IntegrationTests/Tests/S3/TransferUtilityTests.cs | ghcode:00172:51b7a1457b50 | apache-2.0 | codeparrot/github-code | 51b7a1457b50c07856936461d27c63577d365565a4a07b88b06f7e7905535191 | 0.95 | testing_debugging_repair_refactoring | 4,323 | false | 2026-07-17 |
/*
Copyright 2011 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | xamarin/google-apis | src/Externals/google-api-dotnet-client/Src/GoogleApis.Tests/Apis/Logging/ConsoleLoggerTests.cs | https://github.com/xamarin/google-apis/blob/HEAD/src/Externals/google-api-dotnet-client/Src/GoogleApis.Tests/Apis/Logging/ConsoleLoggerTests.cs | ghcode:00172:4fb5dadf6b1e | apache-2.0 | codeparrot/github-code | 4fb5dadf6b1ea2b8cafc32cde3fa4f73aba30c1bdbbfcca277bfe2484a2082c0 | 0.95 | testing_debugging_repair_refactoring | 728 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Xunit;
namespace Shouldly.Tests.InternalTests
{
public class EqualityComparerTests
{
/*
* Code heavily influenced by code from xunit assertion tests
* at https://github.com/xunit/xunit/blob/master/test/test.xunit2.assert/Asserts/E... | JoeMighty/shouldly | src/Shouldly.Tests/InternalTests/EqualityComparerTests.cs | https://github.com/JoeMighty/shouldly/blob/HEAD/src/Shouldly.Tests/InternalTests/EqualityComparerTests.cs | ghcode:00172:461aefdb789b | bsd-3-clause | codeparrot/github-code | 461aefdb789b1caeff5fbf0c0df48210224683b3d8f5d38a9e180ec9e827d321 | 0.75 | testing_debugging_repair_refactoring | 579 | false | 2026-07-17 |
using Shouldly.Tests.Strings;
using Xunit;
namespace Shouldly.Tests.ShouldContain
{
public class ObjectScenario
{
[Fact]
public void ObjectScenarioShouldFail()
{
var a = new object();
var b = new object();
var c = new object();
var d = n... | JoeMighty/shouldly | src/Shouldly.Tests/ShouldContain/ObjectScenario.cs | https://github.com/JoeMighty/shouldly/blob/HEAD/src/Shouldly.Tests/ShouldContain/ObjectScenario.cs | ghcode:00172:08e3b2f92197 | bsd-3-clause | codeparrot/github-code | 08e3b2f921975c3261a53b65797219bf74db91d9719e31d70246d834a7dbaaaa | 0.75 | testing_debugging_repair_refactoring | 282 | false | 2026-07-17 |
// Authors:
// Rafael Mizrahi <rafim@mainsoft.com>
// Erez Lotan <erezl@mainsoft.com>
// Oren Gurfinkel <oreng@mainsoft.com>
// Ofer Borstein
//
// Copyright (c) 2004 Mainsoft Co.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated do... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.Data/Test/System.Data.Tests.Mainsoft/GHTUtils/XmlUtils.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.Data/Test/System.Data.Tests.Mainsoft/GHTUtils/XmlUtils.cs | ghcode:00172:7009c940a4fc | mit | codeparrot/github-code | 7009c940a4fcbb17d97ebf46889b3e7fa0295ef3ddee5a82cc732b8108323e5b | 0.95 | testing_debugging_repair_refactoring | 963 | 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 Cake.Common.Tools.MSBuild;
using Cake.Core.Diagnostics;
using Xunit;
namespace Cake.Common.Tests.Unit.Tools.... | adamhathcock/cake | src/Cake.Common.Tests/Unit/Tools/MSBuild/MSBuildSettingsTests.cs | https://github.com/adamhathcock/cake/blob/HEAD/src/Cake.Common.Tests/Unit/Tools/MSBuild/MSBuildSettingsTests.cs | ghcode:00172:24b5e1f260a5 | mit | codeparrot/github-code | 24b5e1f260a59f86361f203cc561eec289304bb7bfa4496f1c90d5fd09eb5f9c | 0.85 | testing_debugging_repair_refactoring | 924 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Utilities.Tests.MsTestV2
{
[TestClass]
public class StringUtilsTests
{
[TestMethod]
public void V2_StringUtils_V... | shopOFF/TelerikAcademyCourses | Unit-Testing/Unit-Testing/Topics/01. Unit Testing/demos/TestingFrameworks/Utilities.Tests.MsTestV2/StringUtilsTests.cs | https://github.com/shopOFF/TelerikAcademyCourses/blob/HEAD/Unit-Testing/Unit-Testing/Topics/01. Unit Testing/demos/TestingFrameworks/Utilities.Tests.MsTestV2/StringUtilsTests.cs | ghcode:00172:bc77b6849b43 | mit | codeparrot/github-code | bc77b6849b43d40e9c6465f2675d9437a0d15cf7005a3d61f0e05e3c89e8aa86 | 0.75 | testing_debugging_repair_refactoring | 214 | 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.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Game.Audio;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using os... | peppy/osu-new | osu.Game.Tests/Editing/Checks/CheckMutedObjectsTest.cs | https://github.com/peppy/osu-new/blob/HEAD/osu.Game.Tests/Editing/Checks/CheckMutedObjectsTest.cs | ghcode:00172:b13d7c50ead2 | mit | codeparrot/github-code | b13d7c50ead2077c5265242d07bb7d82a8cce9db5dd0c6a7c08d4ff3750c43cb | 0.85 | testing_debugging_repair_refactoring | 2,343 | false | 2026-07-17 |
using NUnit.Framework;
using Nest.Tests.MockData.Domain;
using System.Reflection;
namespace Nest.Tests.Unit.Core.Map.AnalyzerField
{
[TestFixture]
public class AnalyzerFieldTests : BaseJsonTests
{
[Test]
public void AnalyzerFieldUsingExpression()
{
var result = this._client.Map<ElasticsearchProject>(m => ... | alanprot/elasticsearch-net | src/Tests/Nest.Tests.Unit/Core/Map/AnalyzerField/AnalyzerFieldTests.cs | https://github.com/alanprot/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Unit/Core/Map/AnalyzerField/AnalyzerFieldTests.cs | ghcode:00172:72435bd7db86 | apache-2.0 | codeparrot/github-code | 72435bd7db86a498a2f5ea2797617291d3bd21009f1768906d972872e146e4c6 | 0.85 | testing_debugging_repair_refactoring | 201 | 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 Interlocked = System.Threading.Interlocked;
using Debug = System.Diagnostics.Debug;
namespace... | kyulee1/corert | src/Common/src/TypeSystem/Canon/TypeSystemContext.Canon.cs | https://github.com/kyulee1/corert/blob/HEAD/src/Common/src/TypeSystem/Canon/TypeSystemContext.Canon.cs | ghcode:00172:4cc34eef8f8f | mit | codeparrot/github-code | 4cc34eef8f8f4efc80f87badc4cd1c3cb80b4ca59bfe62ca6dcde4fa29a47649 | 0.95 | testing_debugging_repair_refactoring | 587 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using Internal.Cryptography;
namespace System.Security.Cryptography
{
public abstrac... | janhenke/corefx | src/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/TripleDES.cs | https://github.com/janhenke/corefx/blob/HEAD/src/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/TripleDES.cs | ghcode:00172:3d1694bcf9b8 | mit | codeparrot/github-code | 3d1694bcf9b821799544dc7aeed0ac231a467dd0adcf75e8e589ec1747dfce80 | 0.95 | testing_debugging_repair_refactoring | 692 | false | 2026-07-17 |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.DotNet.Cli.Utils;
namespace Microsoft.DotNet.Tools.Test.Utilities
{
public class DotnetTestCommand : DotnetCommand
{
... | livarcocc/cli-1 | test/Microsoft.DotNet.Tools.Tests.Utilities/Commands/DotnetTestCommand.cs | https://github.com/livarcocc/cli-1/blob/HEAD/test/Microsoft.DotNet.Tools.Tests.Utilities/Commands/DotnetTestCommand.cs | ghcode:00172:dddd5b8a0e52 | mit | codeparrot/github-code | dddd5b8a0e52bc22853577cb9d166bdb7e7719e78781d3fbe3cc3acf4d8224f8 | 0.75 | testing_debugging_repair_refactoring | 209 | false | 2026-07-17 |
using System;
using System.Reflection;
using Xunit;
namespace OSharp.Utility.Extensions.Tests
{
public class AssemblyExtensionsTests
{
[Fact()]
public void GetFileVersionTest()
{
Assembly assembly = null;
Assert.Throws<ArgumentNullException>(() => assembly.Get... | vebin/osharp-1 | tests/OSharp.Utility.Tests/Extensions/AssemblyExtensionsTests.cs | https://github.com/vebin/osharp-1/blob/HEAD/tests/OSharp.Utility.Tests/Extensions/AssemblyExtensionsTests.cs | ghcode:00172:c22d0aa161c4 | apache-2.0 | codeparrot/github-code | c22d0aa161c40dffbbe7274051859a42d7eedf5996b659c22c14fa680638525b | 0.75 | testing_debugging_repair_refactoring | 157 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PcapDotNet.Base;
using PcapDotNet.Packets;
using PcapDotNet.Packets.Dns;
us... | giokats/Pcap.Net | PcapDotNet/src/PcapDotNet.Core.Test/WiresharkDatagramComparerDns.cs | https://github.com/giokats/Pcap.Net/blob/HEAD/PcapDotNet/src/PcapDotNet.Core.Test/WiresharkDatagramComparerDns.cs | ghcode:00172:66d6272d57dc | bsd-3-clause | codeparrot/github-code | 66d6272d57dce35e037ec2cd21de22289a5e218c451f57c0dd93642748285652 | 0.82 | testing_debugging_repair_refactoring | 13,632 | 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 Microsoft.CodeAnalysis;
namespace Microsoft.Visu... | jmarolf/roslyn | src/VisualStudio/Core/Def/Implementation/AnalyzerDependency/IgnorableAssemblyIdentityList.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/VisualStudio/Core/Def/Implementation/AnalyzerDependency/IgnorableAssemblyIdentityList.cs | ghcode:00172:be2e9221e464 | mit | codeparrot/github-code | be2e9221e4641f57dc0184530dbdb51e3d6e670c5c00c0120d45db562ce41148 | 0.85 | testing_debugging_repair_refactoring | 164 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Moq;
using Stratis.Bitcoin.Builder;
using Stratis.Bitcoin.Builder.Feature;
using Xunit;
namespace Stratis.Bitcoin.Tests.Builder
{
public class FullNodeServiceProviderTest
{
private Mock<IServiceProvi... | Neurosploit/StratisBitcoinFullNode | src/Stratis.Bitcoin.Tests/Builder/FullNodeServiceProviderTest.cs | https://github.com/Neurosploit/StratisBitcoinFullNode/blob/HEAD/src/Stratis.Bitcoin.Tests/Builder/FullNodeServiceProviderTest.cs | ghcode:00172:621fdf662a98 | mit | codeparrot/github-code | 621fdf662a98ea836d37b5c573c26f6acae3d3a59e678d4eab3c025f74a817f8 | 0.85 | testing_debugging_repair_refactoring | 599 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System... | mavasani/roslyn | src/EditorFeatures/TestUtilities/RefactoringHelpers/RefactoringHelpersTestBase.cs | https://github.com/mavasani/roslyn/blob/HEAD/src/EditorFeatures/TestUtilities/RefactoringHelpers/RefactoringHelpersTestBase.cs | ghcode:00172:3d832d0d7ab1 | mit | codeparrot/github-code | 3d832d0d7ab122ecc90e835e6860b839391c96b944258e2135986b5342910fe6 | 0.85 | testing_debugging_repair_refactoring | 1,037 | 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 DNN.Integration.Test.Framework.Controllers
{
using System;
using System.Globalization;
usi... | EPTamminga/Dnn.Platform | DNN Platform/Tests/DNN.Integration.Test.Framework/Controllers/UserController.cs | https://github.com/EPTamminga/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DNN.Integration.Test.Framework/Controllers/UserController.cs | ghcode:00172:260996d9aa74 | mit | codeparrot/github-code | 260996d9aa740d4be8cbe94040f033a18ed6548fe27bcab6830dba997eeef289 | 0.95 | testing_debugging_repair_refactoring | 1,401 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="AtLeastOnceDeliverySpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copy... | alex-kondrashov/akka.net | src/core/Akka.Persistence.Tests/AtLeastOnceDeliveryReceiveActorSpec.cs | https://github.com/alex-kondrashov/akka.net/blob/HEAD/src/core/Akka.Persistence.Tests/AtLeastOnceDeliveryReceiveActorSpec.cs | ghcode:00172:d6b5ef837316 | apache-2.0 | codeparrot/github-code | d6b5ef8373163f1d421e76650420de3faf6b5292dd60eda45bf9c8a26350c055 | 0.85 | testing_debugging_repair_refactoring | 3,870 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.Net;
namespace Selenium.Tests.Environment
{
public class SeleniumServer
{
private Process serverProcess;
private string serverJarName = @"build\java\server\test\org\openqa\selen... | jmt4/Selenium2 | dotnet/test/Selenium.WebDriverBackedSelenium.Tests/Environment/SeleniumServer.cs | https://github.com/jmt4/Selenium2/blob/HEAD/dotnet/test/Selenium.WebDriverBackedSelenium.Tests/Environment/SeleniumServer.cs | ghcode:00172:8f2b4a5b44ae | apache-2.0 | codeparrot/github-code | 8f2b4a5b44aeca1ed8082c02910293b4fa52a576a1d297f750cae6e65b4c0e71 | 0.95 | testing_debugging_repair_refactoring | 530 | 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.
//-----------------------------------------------------------------------
// </copyright>
// <summary>Test the ProjectTargetElement class.</summary>
//------------------... | Hyrtwol/msbuild | src/XMakeBuildEngine/UnitTestsPublicOM/Construction/ProjectTargetElement_Tests.cs | https://github.com/Hyrtwol/msbuild/blob/HEAD/src/XMakeBuildEngine/UnitTestsPublicOM/Construction/ProjectTargetElement_Tests.cs | ghcode:00172:b48e79d980ea | mit | codeparrot/github-code | b48e79d980eafda268a6ac30d45d73b63a97437f02f83cf0ac93b15780488f82 | 0.85 | testing_debugging_repair_refactoring | 2,069 | false | 2026-07-17 |
//
// MarshalDesc.cs
//
// Author:
// Jb Evain (jbevain@gmail.com)
//
// (C) 2005 Jb Evain
//
// 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 li... | swi-to-yap/swicli | src/Debugger.Core.JDWP/Debugger.Core/Mono.Cecil/Mono.Cecil/MarshalSpec.cs | https://github.com/swi-to-yap/swicli/blob/HEAD/src/Debugger.Core.JDWP/Debugger.Core/Mono.Cecil/Mono.Cecil/MarshalSpec.cs | ghcode:00172:7a0b00209a6f | cc0-1.0 | codeparrot/github-code | 7a0b00209a6f5bdc7275ad24e2c46efb85f1c2bee0d11ddbbe296cb2b3c1764d | 0.78 | 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;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
using Xunit;
names... | dsplaisted/roslyn | src/Compilers/CSharp/Test/Syntax/Syntax/SyntaxDiffingTests.cs | https://github.com/dsplaisted/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Syntax/Syntax/SyntaxDiffingTests.cs | ghcode:00172:3690605bb207 | apache-2.0 | codeparrot/github-code | 3690605bb207dd8084f789ac2ad189b6013793fbc313c2e0eb1e5ae21e1cf3ca | 0.95 | testing_debugging_repair_refactoring | 2,752 | false | 2026-07-17 |
using Xunit;
using Should;
using System;
namespace AutoMapper.UnitTests.Bug
{
public class PropertyNamedType
{
class Source
{
public int Number { get; set; }
}
class Destination
{
public int Type { get; set; }
}
[Fact]
pu... | CandidoCleyton/AutoMapper | src/UnitTests/Bug/PropertyNamedType.cs | https://github.com/CandidoCleyton/AutoMapper/blob/HEAD/src/UnitTests/Bug/PropertyNamedType.cs | ghcode:00172:721c3179f9d3 | mit | codeparrot/github-code | 721c3179f9d32987c6d809fccb1e9e80b4e8740b684b6a7368e4b8a12b3a08ae | 0.75 | testing_debugging_repair_refactoring | 134 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.... | mmitche/roslyn | src/Compilers/CSharp/Portable/Symbols/Source/SourceEventAccessorSymbol.cs | https://github.com/mmitche/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Source/SourceEventAccessorSymbol.cs | ghcode:00172:e026d7aa6bb9 | apache-2.0 | codeparrot/github-code | e026d7aa6bb9659e35c1b86f7b6e5c19a2b3d11358156d5c4982c4e97d100310 | 0.85 | testing_debugging_repair_refactoring | 1,483 | false | 2026-07-17 |
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,... | nareshjo/nodejstools | Nodejs/Tests/Core/Debugger/Commands/SetVariableValueCommandTests.cs | https://github.com/nareshjo/nodejstools/blob/HEAD/Nodejs/Tests/Core/Debugger/Commands/SetVariableValueCommandTests.cs | ghcode:00172:a7e400d5bcd6 | apache-2.0 | codeparrot/github-code | a7e400d5bcd6e478e520f5847af764029e6905483ee01efe31a0f4ebd589a112 | 0.95 | testing_debugging_repair_refactoring | 633 | false | 2026-07-17 |
#region Licensed
// Copyright 2010 John Sheehan
//
// 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 ap... | dmgandini/RestSharp | RestSharp.Tests/NamespacedXmlTests.cs | https://github.com/dmgandini/RestSharp/blob/HEAD/RestSharp.Tests/NamespacedXmlTests.cs | ghcode:00172:e004bca41708 | apache-2.0 | codeparrot/github-code | e004bca417080f721523947a137fe6bdd85386fc8e40ffb3102f0ebe4ffc4663 | 0.85 | testing_debugging_repair_refactoring | 2,832 | 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.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tes... | shimingsg/corefx | src/System.Private.Xml/tests/XmlReader/Tests/AsyncReaderLateInitTests.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Private.Xml/tests/XmlReader/Tests/AsyncReaderLateInitTests.cs | ghcode:00172:dc29ffdcccdb | mit | codeparrot/github-code | dc29ffdcccdbc1e500bda3f271d7591a5a090769816510ce8a951a302090bac5 | 0.95 | testing_debugging_repair_refactoring | 1,115 | 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 ManagedTests.DynamicCSharp.Conformance.dynamic.namedandoptional.usage.other.base01.base01
{
... | ViktorHofer/corefx | src/System.Dynamic.Runtime/tests/Dynamic.NamedAndOptional/Conformance.dynamic.namedandoptional.usage.other.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Dynamic.Runtime/tests/Dynamic.NamedAndOptional/Conformance.dynamic.namedandoptional.usage.other.cs | ghcode:00172:87bdba160463 | mit | codeparrot/github-code | 87bdba160463e64096e893277038fc3f9a2769df02660f5f1dcf2ffb028c0a66 | 0.82 | testing_debugging_repair_refactoring | 16,206 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Diagnostics;
namespace Microsoft.CodeAnalysis.CSharp
{
#pragma warning disable RS0010
///... | Pvlerick/roslyn | src/Compilers/CSharp/Portable/SymbolDisplay/SymbolDisplay.cs | https://github.com/Pvlerick/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/SymbolDisplay/SymbolDisplay.cs | ghcode:00172:27bf86deb3a3 | apache-2.0 | codeparrot/github-code | 27bf86deb3a3bacd2f30086b74ae44535b017a0b1b02bff95256e3a9d13fbab5 | 0.85 | testing_debugging_repair_refactoring | 1,858 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.CodeDom.Tests
{
public class CodeDelegateCreateEx... | BrennanConroy/corefx | src/System.CodeDom/tests/System/CodeDom/CodeDelegateCreateExpressionTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.CodeDom/tests/System/CodeDom/CodeDelegateCreateExpressionTests.cs | ghcode:00172:f091798200da | mit | codeparrot/github-code | f091798200da6ab04d7b67cf3682bd0bc1ef911a3e153ddf1bed98a915659003 | 0.95 | testing_debugging_repair_refactoring | 546 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using OLEDB.Test.ModuleCore;
namespace System.Xml.Tests
{
public partial class TCDispose : TCXMLReaderBaseGener... | alphonsekurian/corefx | src/System.Xml.ReaderWriter/tests/XmlReaderLib/TCDispose.cs | https://github.com/alphonsekurian/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/XmlReaderLib/TCDispose.cs | ghcode:00172:ad2698ce306c | mit | codeparrot/github-code | ad2698ce306cd82f69fe21bfae4708d0a5168a0bb5f7645859036d349c3d22cf | 0.95 | testing_debugging_repair_refactoring | 215 | false | 2026-07-17 |
using System;
using System.Linq;
using Xunit;
namespace OpenTrack.Tests
{
public class GetOpenAppointments
{
[Fact]
public void Test_Get_Appointments()
{
var api = Credentials.GetAPI();
var result = api.FindAppointments(new Requests.AppointmentLookupRequest(Cre... | tmonck/OpenTrack.NET | OpenTrack.Tests/GetOpenAppointments.cs | https://github.com/tmonck/OpenTrack.NET/blob/HEAD/OpenTrack.Tests/GetOpenAppointments.cs | ghcode:00172:fefe0c2a5a75 | mit | codeparrot/github-code | fefe0c2a5a75fe91cac0686fcb393f2b8ddb37c78c415095ad8dc275bd726469 | 0.6 | testing_debugging_repair_refactoring | 130 | false | 2026-07-17 |
#region Licence
/* The MIT License (MIT)
Copyright © 2015 Ian Cooper <ian_hammond_cooper@yahoo.co.uk>
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 limita... | BrighterCommand/Brighter | tests/Paramore.Brighter.Sqlite.Tests/Inbox/When_the_message_is_already_in_The_inbox_async.cs | https://github.com/BrighterCommand/Brighter/blob/HEAD/tests/Paramore.Brighter.Sqlite.Tests/Inbox/When_the_message_is_already_in_The_inbox_async.cs | ghcode:00172:c4d415083f30 | mit | codeparrot/github-code | c4d415083f3040a62571a9c2b038de06abc54117a15d7465ca670b83266f2c51 | 0.75 | testing_debugging_repair_refactoring | 596 | false | 2026-07-17 |
using Shouldly;
using SimpleToggle.Tests.Specs._contexts;
using Xunit;
namespace SimpleToggle.Tests.Specs.getting_toggle_status
{
public class toggle_turned_on : toggle_context
{
public toggle_turned_on()
{
toggle_on<MyToggle>();
}
[Fact]
public void is_ena... | CraftyFella/SimpleToggle | src/SimpleToggle.Tests/Specs/getting_toggle_status/toggle_turned_on.cs | https://github.com/CraftyFella/SimpleToggle/blob/HEAD/src/SimpleToggle.Tests/Specs/getting_toggle_status/toggle_turned_on.cs | ghcode:00172:227e911d452d | mit | codeparrot/github-code | 227e911d452d32945b17aad6d8c42125fb57f92ad75413fcf55500315c47075d | 0.6 | testing_debugging_repair_refactoring | 86 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ArrayHelperTests
{
public partial class ArrayHelperTests
{
[TestMethod]
public void SortAscending_Test_When_Input_Array_Is_Null()
{
int[] array = null;
var result = ArrayHelper.ArrayHelper.SortAscending(array);
Assert.Is... | Trencadis-Labs/Internship | Courses/Apps/Generics/ArrayHelper/ArrayHelperTests/ArrayHelper-SortAscending-Tests.cs | https://github.com/Trencadis-Labs/Internship/blob/HEAD/Courses/Apps/Generics/ArrayHelper/ArrayHelperTests/ArrayHelper-SortAscending-Tests.cs | ghcode:00172:cbb8e78c7053 | mit | codeparrot/github-code | cbb8e78c7053cd9d8a4753c8644c684e5d17dced4d5eaf1c8f4dd6173fa9612e | 0.75 | testing_debugging_repair_refactoring | 235 | false | 2026-07-17 |
using System;
using ConektaCSharp;
using NUnit.Framework;
using System.Net;
using Newtonsoft.Json.Linq;
namespace ConektaCSharpTests
{
/// <summary>
/// Summary description for PlanTest
/// </summary>
[TestFixture]
public class PlanTest
{
private readonly JObject _params;
p... | davcs86/conekta-csharpnet | ConektaCSharp.Tests/PlanTest.cs | https://github.com/davcs86/conekta-csharpnet/blob/HEAD/ConektaCSharp.Tests/PlanTest.cs | ghcode:00172:db8419b38aff | mit | codeparrot/github-code | db8419b38affcae63f962ed8a93466fc2d0a8c61212347e2c65937b97b8376c5 | 0.85 | testing_debugging_repair_refactoring | 362 | false | 2026-07-17 |
using DigitalHammer.Testing;
using Xunit;
namespace GraduatedCylinder
{
public class MomentumOperators
{
[Fact]
public void OpAddition() {
var momentum1 = new Momentum(300000, MomentumUnit.GramCentimetersPerSecond);
var momentum2 = new Momentum(1, MomentumUnit.KilogramMe... | EddieGarmon/GraduatedCylinder | Tests/GraduatedCylinder.Tests/[Operators]/MomentumOperators.cs | https://github.com/EddieGarmon/GraduatedCylinder/blob/HEAD/Tests/GraduatedCylinder.Tests/[Operators]/MomentumOperators.cs | ghcode:00172:0e80b9950b67 | mit | codeparrot/github-code | 0e80b9950b6759a77ea9482672182bbc432d89dcd4ec779adb120f10287e6bf1 | 0.6 | testing_debugging_repair_refactoring | 1,309 | false | 2026-07-17 |
// ${COMPLETE_ITEM:field}
class Person
{
private Person mySomePerson;
public Person(Person somePerson)
{
mySomePerson = somePerson;
somePerson.{caret}
}
} | controlflow/resharper-postfix | PostfixTemplates/Tests/Data/Completion/TestField02.cs | https://github.com/controlflow/resharper-postfix/blob/HEAD/PostfixTemplates/Tests/Data/Completion/TestField02.cs | ghcode:00172:8b11403bb6c2 | mit | codeparrot/github-code | 8b11403bb6c22408f28239d74030efb4fcb14bf2846149a77d53bcd1438effc9 | 0.6 | testing_debugging_repair_refactoring | 44 | false | 2026-07-17 |
using Bit.Test;
using Bit.Tests.Core.Contracts;
using Bit.Tests.Model.DomainModels;
using FakeItEasy;
using IdentityModel.Client;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Simple.OData.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Bi... | bit-foundation/bit-framework | src/Server/Bit.Tests/Api/Middlewares/WebApi/Tests/TimeZoneTests.cs | https://github.com/bit-foundation/bit-framework/blob/HEAD/src/Server/Bit.Tests/Api/Middlewares/WebApi/Tests/TimeZoneTests.cs | ghcode:00172:583895316ffd | mit | codeparrot/github-code | 583895316ffd833992c442cde24ed3624c26c5c3c06bb0cccb1a041ce6c26b65 | 0.85 | testing_debugging_repair_refactoring | 1,473 | false | 2026-07-17 |
using System.Collections.Generic;
using GitTools.Testing;
using GitVersion.Model.Configuration;
using GitVersion.VersionCalculation;
using GitVersionCore.Tests.Helpers;
using LibGit2Sharp;
using NUnit.Framework;
namespace GitVersionCore.Tests.IntegrationTests
{
[TestFixture]
public class DevelopScenarios : Tes... | dazinator/GitVersion | src/GitVersionCore.Tests/IntegrationTests/DevelopScenarios.cs | https://github.com/dazinator/GitVersion/blob/HEAD/src/GitVersionCore.Tests/IntegrationTests/DevelopScenarios.cs | ghcode:00172:0b0923660e77 | mit | codeparrot/github-code | 0b0923660e7732724cf3942c6d7405de02aa244e3f282a1342d0ae4b9e520a75 | 0.75 | testing_debugging_repair_refactoring | 2,513 | false | 2026-07-17 |
namespace MockEverythingTests.Inspection.Demo
{
public static class StaticClass
{
}
}
| MainMa/mockeverything | MockEverything/Tests/InspectionDemo/StaticClass.cs | https://github.com/MainMa/mockeverything/blob/HEAD/MockEverything/Tests/InspectionDemo/StaticClass.cs | ghcode:00172:a3725a1c5c34 | mit | codeparrot/github-code | a3725a1c5c341ac20dbced8897cef5c58dd06051371a07963a89d87e4897c4df | 0.45 | testing_debugging_repair_refactoring | 23 | false | 2026-07-17 |
/*
* SonarScanner for MSBuild
* Copyright (C) 2016-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 o... | duncanpMS/sonar-msbuild-runner | Tests/SonarScanner.MSBuild.PreProcessor.Tests/AnalysisConfigGeneratorTests.cs | https://github.com/duncanpMS/sonar-msbuild-runner/blob/HEAD/Tests/SonarScanner.MSBuild.PreProcessor.Tests/AnalysisConfigGeneratorTests.cs | ghcode:00172:f8ca3f4d4ded | mit | codeparrot/github-code | f8ca3f4d4dede05a7202100dd4a45fa6a39850a122ef70639f4932b7b08e75d8 | 0.85 | testing_debugging_repair_refactoring | 3,837 | false | 2026-07-17 |
using FluentAssertions;
using NUnit.Framework;
using OpenQA.Selenite.Tests.Shared.Hosting;
using OpenQA.Selenite.Tests.Shared.Pages.Implementation;
using OpenQA.Selenite.Extensions;
using OpenQA.Selenite.Setup;
using OpenQA.Selenite.Setup.Environments;
// ReSharper disable InconsistentNaming
namespace OpenQA.Selenit... | nspectator/NSpectator.Selenium | test/OpenQA.Selenite.Tests/Setup/SessionTests/Given_page_without_jQuery.cs | https://github.com/nspectator/NSpectator.Selenium/blob/HEAD/test/OpenQA.Selenite.Tests/Setup/SessionTests/Given_page_without_jQuery.cs | ghcode:00172:46fec2105920 | mit | codeparrot/github-code | 46fec2105920dc23aa9596c4a898b34707191a48e9c464610f35b9f9dd070f15 | 0.6 | testing_debugging_repair_refactoring | 187 | 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 Xunit;
using VerifyCS = Test.Utilities.CSharpSecurityCodeFixVerifier<
Microsoft.NetCore.Analyze... | dotnet/roslyn-analyzers | src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Security/DoNotUseInsecureDeserializerBinaryFormatterMethodsTests.cs | https://github.com/dotnet/roslyn-analyzers/blob/HEAD/src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Security/DoNotUseInsecureDeserializerBinaryFormatterMethodsTests.cs | ghcode:00172:535e5f3e278b | mit | codeparrot/github-code | 535e5f3e278be671fe29d26ce7061bc896415fddf4e5150475616504f917a9eb | 0.85 | testing_debugging_repair_refactoring | 1,245 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using YanZhiwei.DotNet2.Utilities.Common;
using YanZhiwei.DotNet3._5.UtilitiesTests.Model;
namespace YanZhiwei.DotNet3._5.Utilities.Lambda.Tests
{
[TestClass()]
public class ReflectLambdaTests
{
[TestMethod()]
public void GetPropertyDispl... | YanZhiwei/DotNet.Utilities | YanZhiwei.DotNet3.5.Utilities.Tests/Lambda/ReflectLambdaTests.cs | https://github.com/YanZhiwei/DotNet.Utilities/blob/HEAD/YanZhiwei.DotNet3.5.Utilities.Tests/Lambda/ReflectLambdaTests.cs | ghcode:00172:8a28b3b8c4de | mit | codeparrot/github-code | 8a28b3b8c4de2335e2496a0ce2581acece02b88c4dcd27064af1e0212955e2c1 | 0.75 | testing_debugging_repair_refactoring | 273 | false | 2026-07-17 |
using System;
using Mono.Cecil;
using Moq;
using NUnit.Framework;
using OpenCover.Framework;
using OpenCover.Framework.Model;
using OpenCover.Framework.Symbols;
using OpenCover.Test.MoqFramework;
namespace OpenCover.Test.Framework.Model
{
[TestFixture]
internal class InstrumentationModelBuilderTes... | mtscout6/opencover | main/OpenCover.Test/Framework/Model/InstrumentationModelBuilderTests.cs | https://github.com/mtscout6/opencover/blob/HEAD/main/OpenCover.Test/Framework/Model/InstrumentationModelBuilderTests.cs | ghcode:00172:0afcd36dce5d | mit | codeparrot/github-code | 0afcd36dce5d4871e15cf0694a606ce63c7366bbf69d46c4c379967eb58576ec | 0.85 | testing_debugging_repair_refactoring | 1,464 | false | 2026-07-17 |
using System.Threading.Tasks;
using Cumulus.Handlers;
using Cumulus.IntegrationTests.Tests.AuditingInterceptorTests.MessageTypes;
namespace Cumulus.IntegrationTests.Tests.AuditingInterceptorTests.Handlers
{
public class SomeRequestHandler : IHandleRequest<SomeRequest, SomeResponse>
{
public Task<SomeR... | AtmosphereMessaging/Cumulus | src/Tests/Cumulus.IntegrationTests/Tests/AuditingInterceptorTests/Handlers/SomeRequestHandler.cs | https://github.com/AtmosphereMessaging/Cumulus/blob/HEAD/src/Tests/Cumulus.IntegrationTests/Tests/AuditingInterceptorTests/Handlers/SomeRequestHandler.cs | ghcode:00172:0d934b15beb9 | mit | codeparrot/github-code | 0d934b15beb9ff79d17c1c4f86cdabebf2f84a84067adb948aea1b96a49e6cf0 | 0.85 | testing_debugging_repair_refactoring | 88 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Globalization;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using FluentAssertions;
using FluentSpotifyApi.Builder.Me.Personalization;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RichardSzalay.MockHttp;
namespace FluentSpotifyApi.U... | dotnetfan/FluentSpotifyApi | tests/FluentSpotifyApi.UnitTests/Builder/Me/PersonalizationTests.cs | https://github.com/dotnetfan/FluentSpotifyApi/blob/HEAD/tests/FluentSpotifyApi.UnitTests/Builder/Me/PersonalizationTests.cs | ghcode:00172:576d3ade67c7 | mit | codeparrot/github-code | 576d3ade67c71f291f58c790223d6908563da326b2decf621402ba6edd79d40f | 0.85 | testing_debugging_repair_refactoring | 688 | false | 2026-07-17 |
using CharacterGen.CharacterClasses;
using CharacterGen.Domain.Tables;
using NUnit.Framework;
using System.Linq;
namespace CharacterGen.Tests.Integration.Tables.Magics.Spells.Known.Sorcerers
{
[TestFixture]
public class Level10SorcererKnownSpellsTests : AdjustmentsTests
{
protected override string... | DnDGen/CharacterGen | CharacterGen.Tests.Integration.Tables/Magics/Spells/Known/Sorcerers/Level10SorcererKnownSpellsTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Integration.Tables/Magics/Spells/Known/Sorcerers/Level10SorcererKnownSpellsTests.cs | ghcode:00172:94ed0cff4084 | mit | codeparrot/github-code | 94ed0cff40843715fbb460f09f134f74915d2193f67c652bc15e94f368e897bf | 0.75 | testing_debugging_repair_refactoring | 234 | false | 2026-07-17 |
using System;
namespace FP.Spartakiade2015.PropertyChangedNinject.BL
{
public class TestViewModel : BaseViewModel
{
public String Name { get; set; }
public String FirstName { get; set; }
public String Street { get; set; }
public String ZipCode { get; set; }
... | fpommerening/Spartakiade2015 | PropertyChangedNinject/BL/TestViewModel.cs | https://github.com/fpommerening/Spartakiade2015/blob/HEAD/PropertyChangedNinject/BL/TestViewModel.cs | ghcode:00172:543c4cbb735c | mit | codeparrot/github-code | 543c4cbb735c985992da2f85294373a82381e936750d916181d0d3eec01a63b1 | 0.75 | testing_debugging_repair_refactoring | 86 | false | 2026-07-17 |
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using SJP.Schematic.Core;
using SJP.Schematic.Tests.Utilities;
namespace SJP.Schematic.PostgreSql.Tests.Integration.Versions.V11
{
internal partial class PostgreSqlRelationalDatabaseTableProviderTests : PostgreSql11Test
{
[Test]
... | sjp/SJP.Schema | src/SJP.Schematic.PostgreSql.Tests/Integration/Versions/V11/PostgreSqlRelationalDatabaseTableProviderTests.PrimaryKey.cs | https://github.com/sjp/SJP.Schema/blob/HEAD/src/SJP.Schematic.PostgreSql.Tests/Integration/Versions/V11/PostgreSqlRelationalDatabaseTableProviderTests.PrimaryKey.cs | ghcode:00172:a8ffa5b7f05c | mit | codeparrot/github-code | a8ffa5b7f05c8629220e3cbb24efd69299c894e10f4648b2151b7fe8127306eb | 0.75 | testing_debugging_repair_refactoring | 737 | false | 2026-07-17 |
using System.Reflection;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Xunit;
namespace Restall.Nancy.ServiceRouting.Tests.AutoFixture
{
public class WhitespaceAttribute: CustomizeAttribute
{
public override ICustomization GetCustomization(ParameterInfo parameter)
{
return new WhitespaceCustomiz... | pete-restall/Nancy.ServiceRouting | Nancy.ServiceRouting.Tests/AutoFixture/WhitespaceAttribute.cs | https://github.com/pete-restall/Nancy.ServiceRouting/blob/HEAD/Nancy.ServiceRouting.Tests/AutoFixture/WhitespaceAttribute.cs | ghcode:00172:7b30a6db0933 | mit | codeparrot/github-code | 7b30a6db0933f302630f79413353ba645bb569da39ff5d3e31c7c3b85b394622 | 0.6 | testing_debugging_repair_refactoring | 74 | false | 2026-07-17 |
using System.Collections.Generic;
using Esfa.Vacancy.Application.Commands.CreateApprenticeship;
using Esfa.Vacancy.Application.Commands.CreateApprenticeship.Validators;
using Esfa.Vacancy.Domain.Validation;
using FluentValidation.TestHelper;
using NUnit.Framework;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoM... | SkillsFundingAgency/vacancy-register-api | src/Esfa.Vacancy.UnitTests/CreateApprenticeship/Application/GivenACreateApprenticeshipRequestValidator/WhenValidatingContactName.cs | https://github.com/SkillsFundingAgency/vacancy-register-api/blob/HEAD/src/Esfa.Vacancy.UnitTests/CreateApprenticeship/Application/GivenACreateApprenticeshipRequestValidator/WhenValidatingContactName.cs | ghcode:00172:7b243894d01c | mit | codeparrot/github-code | 7b243894d01c3a5ae999cacb4e07eb03276e515a083f9d0e489022afb8e5bda7 | 0.75 | testing_debugging_repair_refactoring | 456 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using PokerLeagueManager.Common.DTO;
using PokerLeagueManager.Common.Events;
using PokerLeagueManager.Common.Infrastructure;
using PokerLeagueManager.Queries.Core.Infrastructure;
namespace PokerLeagueManager.Infrastructure.Tests
{
... | dylan-smith/pokerleaguemanager | src/PokerLeagueManager.Infrastructure.Tests/QueryEventHandlerTests.cs | https://github.com/dylan-smith/pokerleaguemanager/blob/HEAD/src/PokerLeagueManager.Infrastructure.Tests/QueryEventHandlerTests.cs | ghcode:00172:84b0438c83d2 | mit | codeparrot/github-code | 84b0438c83d29828a1e8b1339b797c93c0dda0532cc05e05bda398b53948cc12 | 0.75 | testing_debugging_repair_refactoring | 372 | false | 2026-07-17 |
namespace BoatTrackerBot.Tests
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
internal static class TestUtils
{
internal class BotUser
{
public string UserName { get; set; }
public string Password { get; set; }
}
... | CrewNerd/BoatTracker | src/BoatTrackerBot.Tests/TestUtils.cs | https://github.com/CrewNerd/BoatTracker/blob/HEAD/src/BoatTrackerBot.Tests/TestUtils.cs | ghcode:00172:6932ff76c272 | mit | codeparrot/github-code | 6932ff76c2729080bb092bf8540752758bb29d632817a26dfe8f3464ec474f9e | 0.85 | testing_debugging_repair_refactoring | 854 | false | 2026-07-17 |
using System;
using WJStore.Domain.Interfaces.Validation;
namespace WJStore.Domain.Entities.Specifications.OrderSpecs
{
public class OrderEmailIsRequiredSpec : ISpecification<Order>
{
public bool IsSatisfiedBy(Order order)
{
return !String.IsNullOrEmpty(order.Email) && !String.IsNu... | MrWooJ/WJStore | WJStore.Domain/Entities/Specifications/OrderSpecs/OrderEmailIsRequiredSpec.cs | https://github.com/MrWooJ/WJStore/blob/HEAD/WJStore.Domain/Entities/Specifications/OrderSpecs/OrderEmailIsRequiredSpec.cs | ghcode:00172:51481bc86df7 | mit | codeparrot/github-code | 51481bc86df7329616c6e6e6a7041e642447555bf9ff37185243ea1868e1387c | 0.75 | testing_debugging_repair_refactoring | 71 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace Genetic.Problems
{
/*
* I would like to have an evolution algorithm solving traveling salesman problem.
* As problem is very hard to solve with numerous cities it will be limite... | pdrozdowski/Genetic.Net | Genetic.Problems/TravelingSalesmanProblem.cs | https://github.com/pdrozdowski/Genetic.Net/blob/HEAD/Genetic.Problems/TravelingSalesmanProblem.cs | ghcode:00172:814d79b4dfbc | mit | codeparrot/github-code | 814d79b4dfbcd113d1e060f355b90bafd0a227dd6147a7d2e6281ca6307e4655 | 0.7 | testing_debugging_repair_refactoring | 778 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class TupleLengthTests
{
[TestMethod]
public void LengthOnOneTuple()
{
const int expected = 1;
var t = new Tuple<int>(-1);
int actual = t.Length();
Assert.AreEqual(expected,... | nicenemo/Noaber | Test.NoaberCS/TupleLengthTests.cs | https://github.com/nicenemo/Noaber/blob/HEAD/Test.NoaberCS/TupleLengthTests.cs | ghcode:00172:8f91924989bd | mit | codeparrot/github-code | 8f91924989bdac671539a9974d2e99cdf6fbfd72790c8dd6dd9ffdfdcdc3356d | 0.75 | testing_debugging_repair_refactoring | 1,387 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Nucleo.Collections;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TypeMock.ArrangeActAssert;
namespace Nucleo.Web.Mvc
{
[TestClass]
public class SettingsDictionaryTest
{
#region " Tests "
[TestMethod]
public void AddingItemsToDictionaryWorks... | brianmains/Nucleo.NET | src/Nucleo.UnitTests.40.MS/Web/Mvc/SettingsDictionaryTest.cs | https://github.com/brianmains/Nucleo.NET/blob/HEAD/src/Nucleo.UnitTests.40.MS/Web/Mvc/SettingsDictionaryTest.cs | ghcode:00173:2dd58130545a | mit | codeparrot/github-code | 2dd58130545a61d7379f42c15b1e2611def0e42418310b93185f8a480ea48f8e | 0.85 | testing_debugging_repair_refactoring | 406 | false | 2026-07-17 |
using FluentAssertions;
using NUnit.Framework;
using Shapeshifter.Builder;
using Shapeshifter.Core;
using Shapeshifter.Core.Deserialization;
using System;
using System.Collections.Generic;
namespace Shapeshifter.Tests.Unit.Builder
{
[TestFixture]
public class InstanceBuilderTests
{
[Test]
... | csnemes/shapeshifter | Shapeshifter.Tests.Unit/Builder/InstanceBuilderTests.cs | https://github.com/csnemes/shapeshifter/blob/HEAD/Shapeshifter.Tests.Unit/Builder/InstanceBuilderTests.cs | ghcode:00173:eb5e0926dc64 | mit | codeparrot/github-code | eb5e0926dc645e330f631495060c29dd7d725926cd343b0737c41390b29dc548 | 0.75 | testing_debugging_repair_refactoring | 1,864 | false | 2026-07-17 |
using GaLib.Interop.Messaging;
using GaLib.Interop.Messaging.Messages;
using GaLib.Interop.Proxy;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace GaLib.Interop.Test
{
cl... | ha11owed/RPC | GaLib.Interop.Test/Program.cs | https://github.com/ha11owed/RPC/blob/HEAD/GaLib.Interop.Test/Program.cs | ghcode:00173:4141f6678acc | mit | codeparrot/github-code | 4141f6678accf1f639ccc93627cb6cff253ff247d50c2d4ec69e62bbe6bab03d | 0.6 | testing_debugging_repair_refactoring | 687 | false | 2026-07-17 |
////////////////////////////////////////////////////////////////////////
// Copyright (c) 2011-2013 by Rob Jellinghaus. //
// Licensed under the Microsoft Public License (MS-PL). //
////////////////////////////////////////////////////////////////////////
using Holofunk.Core;
using... | RobJellinghaus/Holofunk | Holofunk/Holofunk/HolofunkState.cs | https://github.com/RobJellinghaus/Holofunk/blob/HEAD/Holofunk/Holofunk/HolofunkState.cs | ghcode:00173:5cff8716ed6c | mit | codeparrot/github-code | 5cff8716ed6cfe4c8e36c15f8571941061ac499856f9d477c00f3199c423a1bf | 0.7 | testing_debugging_repair_refactoring | 799 | false | 2026-07-17 |
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using NUnit.Framework;
using TinyCsvParser.Mapping;
using TinyCsvParser.Model;
namespace TinyCsvParser.Test.Mapping
{
[TestFixture]
public class CsvMappingTests
{
private class Sam... | bytefish/TinyCsvParser | TinyCsvParser/TinyCsvParser.Test/Mapping/CsvMappingTests.cs | https://github.com/bytefish/TinyCsvParser/blob/HEAD/TinyCsvParser/TinyCsvParser.Test/Mapping/CsvMappingTests.cs | ghcode:00173:479e0ce89707 | mit | codeparrot/github-code | 479e0ce89707a29bb7ac73d8e8adc0a51e2f3c4a541c02231bcbdb9ebd3fa769 | 0.75 | testing_debugging_repair_refactoring | 585 | false | 2026-07-17 |
using System;
using System.Diagnostics.Contracts;
class Guard
{
[ContractArgumentValidator]
public void Validate() {}
}
class A
{
public void NoWarningForRequires(string s)
{
Contract.Requires(s != null);
}
public void NoWarningForArgumentValidator(string s)
{
Guard.Validate();
Contract.Req... | Diagonactic/ReSharperContractExtensions | ReSharper.ContractExtensions.Tests/test/data/Daemon/PreconditionAnalyzers/MalformedContracts/NoWarning.cs | https://github.com/Diagonactic/ReSharperContractExtensions/blob/HEAD/ReSharper.ContractExtensions.Tests/test/data/Daemon/PreconditionAnalyzers/MalformedContracts/NoWarning.cs | ghcode:00173:938b348ad6b8 | mit | codeparrot/github-code | 938b348ad6b8367c8fd50119bf72405dbd8eb8194d1b526650218675a00a8a2d | 0.85 | testing_debugging_repair_refactoring | 163 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using Onds.Niconico.Data.Text;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Onds.Niconico.Data.Text.Test.Tests
{
[TestClass]
publ... | qwerty2501/NiconicoText | NiconicoText/Onds.Niconico.Data.Text.Test/Tests/HtmlStrikeNiconicoWebTextSegmentTest.cs | https://github.com/qwerty2501/NiconicoText/blob/HEAD/NiconicoText/Onds.Niconico.Data.Text.Test/Tests/HtmlStrikeNiconicoWebTextSegmentTest.cs | ghcode:00173:86d31bbd6585 | mit | codeparrot/github-code | 86d31bbd658578f12fc422811120284e0b3106e9300e59aea2e248f979c5724c | 0.85 | testing_debugging_repair_refactoring | 531 | false | 2026-07-17 |
using ExplicitlyImpl.AspNetCore.Mvc.FluentActions;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace ExplicitlyImpl.FluentActions.Test.UnitTests
{
public class AppendReturnsStringContainer
{
[Fact(DisplayName = "1 Append in collection... | ExplicitlyImplicit/AspNetCore.Mvc.FluentActions | test/ExplicitlyImpl.FluentActions.Test.UnitTests/Config/Append/AppendReturnsStringContainer.cs | https://github.com/ExplicitlyImplicit/AspNetCore.Mvc.FluentActions/blob/HEAD/test/ExplicitlyImpl.FluentActions.Test.UnitTests/Config/Append/AppendReturnsStringContainer.cs | ghcode:00173:3297086a1056 | mit | codeparrot/github-code | 3297086a10564f7dbd3dc0d2600420d088fa5e0f13f4b4b45f0ef5114dcaf908 | 0.75 | testing_debugging_repair_refactoring | 1,333 | false | 2026-07-17 |
// Copyright (c) 2008-2018, Hazelcast, 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... | asimarslan/hazelcast-csharp-client | Hazelcast.Test/Hazelcast.Client.Test/ClientShutdownTest.cs | https://github.com/asimarslan/hazelcast-csharp-client/blob/HEAD/Hazelcast.Test/Hazelcast.Client.Test/ClientShutdownTest.cs | ghcode:00173:e9ccb361339c | apache-2.0 | codeparrot/github-code | e9ccb361339c2cfaba37cc16e0f5ef00cd41f3fb5471ef5c3e05ef6203f332ef | 0.85 | testing_debugging_repair_refactoring | 802 | false | 2026-07-17 |
/*
* Copyright 2012-2016 The Pkcs11Interop 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 by app... | thearkhelist/Pkcs11Interop | src/Pkcs11Interop/TestProject1/LowLevelAPI80/_07_OperationStateTest.cs | https://github.com/thearkhelist/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop/TestProject1/LowLevelAPI80/_07_OperationStateTest.cs | ghcode:00173:0aee5dd32777 | apache-2.0 | codeparrot/github-code | 0aee5dd32777d7ab7a0287b648b874b639000882a2ccc4f3ec0c2240a398e3fb | 0.85 | testing_debugging_repair_refactoring | 791 | false | 2026-07-17 |
using NUnit.Framework;
namespace Tests
{
public class Tests
{
[SetUp]
public void Setup()
{
}
[Test]
public void Test1()
{
ClientCredentialFlow.Program.Main(null);
}
}
} | osisoft/Qi-Samples | ocs_samples/basic_samples/Authentication/ClientCredentialFlow/DotNet/ClientCredentialFlowTest/UnitTest1.cs | https://github.com/osisoft/Qi-Samples/blob/HEAD/ocs_samples/basic_samples/Authentication/ClientCredentialFlow/DotNet/ClientCredentialFlowTest/UnitTest1.cs | ghcode:00173:43350601754e | apache-2.0 | codeparrot/github-code | 43350601754e21c48d931dbff3d6f51616b58290fa41490471e872c6f6b0a3db | 0.6 | testing_debugging_repair_refactoring | 53 | false | 2026-07-17 |
// <copyright file="TestSearchAdminOperations.cs" company="Basho Technologies, Inc.">
// Copyright 2011 - OJ Reeves & Jeremiah Peschka
// Copyright 2014 - Basho Technologies, Inc.
//
// This file is provided to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file
// except in complian... | basho/riak-dotnet-client | src/RiakClientTests.Live/Search/TestSearchAdminOperations.cs | https://github.com/basho/riak-dotnet-client/blob/HEAD/src/RiakClientTests.Live/Search/TestSearchAdminOperations.cs | ghcode:00173:f674aeb69518 | apache-2.0 | codeparrot/github-code | f674aeb69518f8bbcbb803f527a92aa50cfed768692a8b184a30998f0bb06659 | 0.85 | testing_debugging_repair_refactoring | 933 | false | 2026-07-17 |
using System;
using System.Xml.Serialization;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Gx.Rs.Api;
using Gx.Rs.Api.Util;
namespace Gedcomx.Rs.Api.Test
{
[TestFixture]
public class PersonSearchTests
... | weitzhandler/gedcomx-csharp | Gedcomx.Rs.Api.Test/PersonSearchTests.cs | https://github.com/weitzhandler/gedcomx-csharp/blob/HEAD/Gedcomx.Rs.Api.Test/PersonSearchTests.cs | ghcode:00173:91c81c067197 | apache-2.0 | codeparrot/github-code | 91c81c0671979341230494bfdcd6d86ae981ca8b44adeb45ad32c53d435329da | 0.75 | testing_debugging_repair_refactoring | 483 | false | 2026-07-17 |
using J2N.Numerics;
using YAF.Lucene.Net.Support;
using System;
using System.Diagnostics;
namespace YAF.Lucene.Net.Util
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional informa... | Pathfinder-Fr/YAFNET | yafsrc/Lucene.Net/Lucene.Net/Util/LongBitSet.cs | https://github.com/Pathfinder-Fr/YAFNET/blob/HEAD/yafsrc/Lucene.Net/Lucene.Net/Util/LongBitSet.cs | ghcode:00173:dd6b8f281877 | apache-2.0 | codeparrot/github-code | dd6b8f2818779e386bc3741324de212466603620374518f32f593848732597b5 | 0.85 | testing_debugging_repair_refactoring | 3,742 | false | 2026-07-17 |
using MeTLLib.DataTypes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace MeTLLibTests
{
/// <summary>
///This is a test class for VideoExtensionsTest and is intended
///to contain all VideoExtensionsTest Unit Tests
///</summary>
[TestClass()]
... | StackableRegiments/metl2011 | MeTLMeeting/MeTLLibTests/VideoExtensionsTest.cs | https://github.com/StackableRegiments/metl2011/blob/HEAD/MeTLMeeting/MeTLLibTests/VideoExtensionsTest.cs | ghcode:00173:af0b023855c3 | apache-2.0 | codeparrot/github-code | af0b023855c337fcb9fa96dd6d14b572a616c2160d2a7740bb09ea559d7d56fb | 0.85 | testing_debugging_repair_refactoring | 553 | false | 2026-07-17 |
#region License
/*
* Copyright © 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Un... | spring-projects/spring-net | test/Spring/Spring.Data.NHibernate5.Tests/Data/NHibernate/Support/SessionScopeTests.cs | https://github.com/spring-projects/spring-net/blob/HEAD/test/Spring/Spring.Data.NHibernate5.Tests/Data/NHibernate/Support/SessionScopeTests.cs | ghcode:00173:60e3e53805f3 | apache-2.0 | codeparrot/github-code | 60e3e53805f3736a7875e4f174025dc4742e904c15610b64bf91d40a1ccdcdff | 0.85 | testing_debugging_repair_refactoring | 2,080 | false | 2026-07-17 |
// Copyright 2016 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 applic... | ctaggart/google-cloud-dotnet | apis/Google.Bigquery.V2/Google.Bigquery.V2.Tests/TableSchemaBuilderTest.cs | https://github.com/ctaggart/google-cloud-dotnet/blob/HEAD/apis/Google.Bigquery.V2/Google.Bigquery.V2.Tests/TableSchemaBuilderTest.cs | ghcode:00173:00a817c4cd48 | apache-2.0 | codeparrot/github-code | 00a817c4cd48e6f6c7a8970b34b588f5bef23990f9b11f0c047a0c0802b2699f | 0.7 | testing_debugging_repair_refactoring | 670 | false | 2026-07-17 |
using System;
using System.Security.Claims;
using Moq;
using SimpleIdentityServer.Core.Api.Authorization.Actions;
using SimpleIdentityServer.Core.Api.Authorization.Common;
using SimpleIdentityServer.Core.Common;
using SimpleIdentityServer.Core.Errors;
using SimpleIdentityServer.Core.Exceptions;
using SimpleIde... | thabart/SimpleIdentityServer | SimpleIdentityServer/tests/SimpleIdentityServer.Core.UnitTests/Api/Authorization/GetAuthorizationCodeAndTokenViaHybridWorkflowOperationFixture.cs | https://github.com/thabart/SimpleIdentityServer/blob/HEAD/SimpleIdentityServer/tests/SimpleIdentityServer.Core.UnitTests/Api/Authorization/GetAuthorizationCodeAndTokenViaHybridWorkflowOperationFixture.cs | ghcode:00173:0b22cd1eb651 | apache-2.0 | codeparrot/github-code | 0b22cd1eb651f874af5d96ec183ccfe1ecdbc53d0316c779beaa622a44cdbe24 | 0.95 | testing_debugging_repair_refactoring | 1,408 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | Jay-Jay-D/LeanSTP | Tests/Engine/DataFeeds/Enumerators/AuxiliaryDataEnumeratorTests.cs | https://github.com/Jay-Jay-D/LeanSTP/blob/HEAD/Tests/Engine/DataFeeds/Enumerators/AuxiliaryDataEnumeratorTests.cs | ghcode:00173:2adb5e0ea4f7 | apache-2.0 | codeparrot/github-code | 2adb5e0ea4f791ac5815d1daaa41ea884a60b3cb4b61e1cde9da6cf5b098a0e9 | 0.75 | testing_debugging_repair_refactoring | 709 | false | 2026-07-17 |
using System.Threading;
namespace MediatR.Tests;
using System;
using System.Threading.Tasks;
using Shouldly;
using StructureMap;
using Xunit;
public class ExceptionTests
{
private readonly IMediator _mediator;
public class Ping : IRequest<Pong>
{
}
public class Pong
{
}
public clas... | jbogard/MediatR | test/MediatR.Tests/ExceptionTests.cs | https://github.com/jbogard/MediatR/blob/HEAD/test/MediatR.Tests/ExceptionTests.cs | ghcode:00173:b0c00751e682 | apache-2.0 | codeparrot/github-code | b0c00751e6821d36841494f7ee049c9204fb02fe19d495adeb6a1e2d1968f2c3 | 0.75 | testing_debugging_repair_refactoring | 1,868 | 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"); yo... | gyeongin/reef | lang/cs/Org.Apache.REEF.Tang.Tests/Tang/TestDefaultImpementaion.cs | https://github.com/gyeongin/reef/blob/HEAD/lang/cs/Org.Apache.REEF.Tang.Tests/Tang/TestDefaultImpementaion.cs | ghcode:00173:b6d9801d5ab1 | apache-2.0 | codeparrot/github-code | b6d9801d5ab1bebf8a73515a3cacf3996cc957b13d29d7714713ef45939c68d6 | 0.75 | testing_debugging_repair_refactoring | 1,244 | false | 2026-07-17 |
//
// QueryBinaryExpression.cs
//
// Copyright (c) 2017 Couchbase, 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/LICEN... | couchbase/couchbase-lite-net | src/Couchbase.Lite.Shared/Query/QueryBinaryExpression.cs | https://github.com/couchbase/couchbase-lite-net/blob/HEAD/src/Couchbase.Lite.Shared/Query/QueryBinaryExpression.cs | ghcode:00173:41c396270416 | apache-2.0 | codeparrot/github-code | 41c396270416328ecaaea6baba4062461fd23db24a7bf54e2ef455e3b06a553c | 0.85 | testing_debugging_repair_refactoring | 797 | false | 2026-07-17 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
using System;
using System.Collections;
using System.Diagnostics;
using System.Globalization;
using System.Text;
using Org.BouncyCastle.Utilities;
#pragma warning disable 0219
namespace Org.BouncyCastle.Math
{
#if !(NETCF_1_0 || NETCF_2_0 || SIL... | cathy33/Infinity | examples/GameClient/Assets/Plugins/3rdParty/Best HTTP (Pro)/BestHTTP/SecureProtocol/math/BigInteger.cs | https://github.com/cathy33/Infinity/blob/HEAD/examples/GameClient/Assets/Plugins/3rdParty/Best HTTP (Pro)/BestHTTP/SecureProtocol/math/BigInteger.cs | ghcode:00173:8e6cce25805d | apache-2.0 | codeparrot/github-code | 8e6cce25805d0c33eba3bd274aa528fa6e92b21185e522ad84fbbce71401b180 | 0.57 | testing_debugging_repair_refactoring | 25,999 | false | 2026-07-17 |
using System;
using System.IO;
using System.Net;
using Amazon.KinesisFirehose;
using Amazon.KinesisFirehose.Model;
using Moq;
using NUnit.Framework;
using Ploeh.AutoFixture;
namespace Serilog.Sinks.Amazon.Kinesis.Tests.Integration.DurableKinesisFirehoseSinkTests
{
[TestFixture(Category = TestFixtureCategory.Integ... | mstepura/serilog-sinks-amazonkinesis | tests/Serilog.Sinks.Amazon.Kinesis.Tests/Integration/DurableKinesisFirehoseSinkTests/DurableKinesisFirehoseSinkTestBase.cs | https://github.com/mstepura/serilog-sinks-amazonkinesis/blob/HEAD/tests/Serilog.Sinks.Amazon.Kinesis.Tests/Integration/DurableKinesisFirehoseSinkTests/DurableKinesisFirehoseSinkTestBase.cs | ghcode:00173:dff573799a81 | apache-2.0 | codeparrot/github-code | dff573799a8123409a31dd45b732e5c5d1877d7fd927afb58d704be823b8f7e2 | 0.6 | testing_debugging_repair_refactoring | 590 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Shouldly;
namespace dannyboy.tests.InsertTests
{
public class InsertAsyncTests : DataAccessTestBase
{
[Test]
public void InsertsSomeData()
{
... | swxben/danny-boy | src/dannyboy.tests/InsertTests/InsertAsyncTests.cs | https://github.com/swxben/danny-boy/blob/HEAD/src/dannyboy.tests/InsertTests/InsertAsyncTests.cs | ghcode:00173:8552d3aa1c03 | apache-2.0 | codeparrot/github-code | 8552d3aa1c0394a657fb01d5943d9b7143394ee807736d385161dd36b83c2ad7 | 0.75 | testing_debugging_repair_refactoring | 160 | 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.Mvc;
namespace ApiExplorerWebSite
{
[Produces("text/xml")]
[Route("ApiExplorerResponseContentTypeOverrideOnAction")]
public class ApiExplorerR... | aspnet/AspNetCore | src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseContentTypeOverrideOnActionController.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseContentTypeOverrideOnActionController.cs | ghcode:00173:76204e520851 | apache-2.0 | codeparrot/github-code | 76204e520851ce70b6e4316ff343a587d2af821a3a867a3a81fac0b705202faf | 0.85 | testing_debugging_repair_refactoring | 125 | 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 BenchmarkDotNet.Attributes;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing.Tree;
using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspN... | aspnet/AspNetCore | src/Http/Routing/perf/Microbenchmarks/LinkGeneration/SingleRouteWithConstraintsBenchmark.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Http/Routing/perf/Microbenchmarks/LinkGeneration/SingleRouteWithConstraintsBenchmark.cs | ghcode:00173:694b1bd05681 | apache-2.0 | codeparrot/github-code | 694b1bd056812eebd4a51e69914841cd6c52d5b6c7a282b574dcdda55fa6e635 | 0.85 | testing_debugging_repair_refactoring | 492 | false | 2026-07-17 |
using NUnit.Framework;
using Markdig.Extensions.EmphasisExtras;
namespace Markdig.Tests
{
[TestFixture]
public class TestEmphasisExtraOptions
{
[Test]
public void OnlyStrikethrough_Single()
{
TestParser.TestSpec("~foo~", "<p>~foo~</p>", new MarkdownPipelineBuilder().UseE... | lunet-io/markdig | src/Markdig.Tests/TestEmphasisExtraOptions.cs | https://github.com/lunet-io/markdig/blob/HEAD/src/Markdig.Tests/TestEmphasisExtraOptions.cs | ghcode:00173:eb3fb8e779e8 | bsd-2-clause | codeparrot/github-code | eb3fb8e779e8a5f128a7cd76f7057f162c74798d2da7d90e747add73e0334b6a | 0.68 | testing_debugging_repair_refactoring | 409 | 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 abo... | cneuwirt/rhino-commons | Rhino.Commons.Test/With/With.PerformanceCounter.cs | https://github.com/cneuwirt/rhino-commons/blob/HEAD/Rhino.Commons.Test/With/With.PerformanceCounter.cs | ghcode:00173:acb8609f87e8 | bsd-3-clause | codeparrot/github-code | acb8609f87e86da4cab38d3cb5dd07c9f8dc450a5a38586997f429bd512dc48b | 0.85 | testing_debugging_repair_refactoring | 455 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.... | genlu/roslyn | src/VisualStudio/Core/Test.Next/Services/LspDiagnosticsTests.cs | https://github.com/genlu/roslyn/blob/HEAD/src/VisualStudio/Core/Test.Next/Services/LspDiagnosticsTests.cs | ghcode:00173:c01f5412fe5f | mit | codeparrot/github-code | c01f5412fe5fb129c838b777358f6975e0e5d3ef424a0f38d0bee4066b1c3b2b | 0.85 | testing_debugging_repair_refactoring | 5,802 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Azure.Core.TestFramework;
using Azure.Messaging.ServiceBus.Authorization;
namespace Azure.Messaging.ServiceBus.Tests
{
/// <summary>
/// Represents the ambient environment in which the test s... | Azure/azure-sdk-for-net | sdk/servicebus/Azure.Messaging.ServiceBus/tests/Infrastructure/ServiceBusTestEnvironment.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Infrastructure/ServiceBusTestEnvironment.cs | ghcode:00173:8a89f9f5ad21 | mit | codeparrot/github-code | 8a89f9f5ad211e0b1146af0e67f4e9754c467746f23e792efe04ee43b2d3a3f3 | 0.95 | testing_debugging_repair_refactoring | 1,824 | false | 2026-07-17 |
using System.Threading.Tasks;
using CompaniesHouse.Request;
using CompaniesHouse.Response.Search.AllSearch;
using NUnit.Framework;
namespace CompaniesHouse.IntegrationTests.Tests.SearchingTests
{
[TestFixture("British Gas")]
[TestFixture("Kevin")]
public class AllSearchTests
{
private readonly... | kevbite/CompaniesHouse.NET | src/CompaniesHouse.IntegrationTests/Tests/SearchingTests/AllSearchTests.cs | https://github.com/kevbite/CompaniesHouse.NET/blob/HEAD/src/CompaniesHouse.IntegrationTests/Tests/SearchingTests/AllSearchTests.cs | ghcode:00173:779940999757 | mit | codeparrot/github-code | 7799409997577480cceca199d4957ca48c6d14d5c5135b1161039eea64384ba9 | 0.85 | testing_debugging_repair_refactoring | 214 | 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.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using Mic... | abock/roslyn | src/Compilers/CSharp/Portable/SymbolDisplay/SymbolDisplayVisitor.Members.cs | https://github.com/abock/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/SymbolDisplay/SymbolDisplayVisitor.Members.cs | ghcode:00173:6ec71f35e835 | mit | codeparrot/github-code | 6ec71f35e83519d99a5a96e3efc491b68bc77d67c52ec202eabe0439d2726f37 | 0.85 | testing_debugging_repair_refactoring | 5,750 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SingleWebHostTestBase.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <author>Sergei Nikitin: sergeyni@micro... | pharring/ApplicationInsights-dotnet | WEB/Test/Web/FunctionalTests/FunctionalTests/TestBase/SingleWebHostTestBase.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/WEB/Test/Web/FunctionalTests/FunctionalTests/TestBase/SingleWebHostTestBase.cs | ghcode:00173:9dacbb214858 | mit | codeparrot/github-code | 9dacbb214858af596e6d1053647ca83198cdd8ce7d16bd4c18ae5a95d9e6ed3f | 0.95 | testing_debugging_repair_refactoring | 661 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.