text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Copyright (C) Pash Contributors. License GPL/BSD. See https://github.com/Pash-Project/Pash/
using System;
using System.Linq;
using NUnit.Framework;
using System.Management.Automation.Runspaces;
using Microsoft.PowerShell.Commands;
namespace System.Management.Tests.HostTests
{
[TestFixture]
public class Ini... | WimObiwan/Pash | Source/System.Management.Tests/HostTests/InitialSessionStateTests.cs | https://github.com/WimObiwan/Pash/blob/HEAD/Source/System.Management.Tests/HostTests/InitialSessionStateTests.cs | ghcode:00002:8442a823ac71 | bsd-3-clause | codeparrot/github-code | 8442a823ac71ae46bd3cbf1b85bb6cf4ba5548e714d4acc5e1a654ef51cddb0d | 0.75 | testing_debugging_repair_refactoring | 265 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Moq;
using NUnit.Framework;
using Umbraco.Core.Models;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Core.Services;
using Umbraco.Tests.Testing;
using Umbraco.Web;
using Current = Umbraco.Web.Comp... | tcmorris/Umbraco-CMS | src/Umbraco.Tests/PublishedContent/PublishedContentLanguageVariantTests.cs | https://github.com/tcmorris/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/PublishedContent/PublishedContentLanguageVariantTests.cs | ghcode:00002:0d13851dbb54 | mit | codeparrot/github-code | 0d13851dbb54c8871ad466722922eb2338270b1b02292749a93113e36281159a | 0.85 | testing_debugging_repair_refactoring | 3,142 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using AutoTest.Core.Caching.RunResultCache;
using Rhino.Mocks;
using AutoTest.Core.TestRunners;
using AutoTest.Core.Messaging.MessageConsumers;
using AutoTest.Core.Caching.Projects;
using AutoTest.Messages;
namespace AutoTest.Test
{
[TestFixture]
public class RunFailedTestsFirstPr... | acken/AutoTest.Net | src/AutoTest.Test/Core/TestRunners/RunFailedTestsFirstPreProcessorTest.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/src/AutoTest.Test/Core/TestRunners/RunFailedTestsFirstPreProcessorTest.cs | ghcode:00002:bb939ab8301f | mit | codeparrot/github-code | bb939ab8301f84a067b2d5f0223b65967f22335b7b72582d942ada065614213b | 0.75 | testing_debugging_repair_refactoring | 403 | 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... | mlorbetske/azure-sdk-tools | WindowsAzurePowershell/src/Management.Test.Utilities/Common/RemoveAzurePublishSettings.cs | https://github.com/mlorbetske/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.Test.Utilities/Common/RemoveAzurePublishSettings.cs | ghcode:00002:895215293ef9 | apache-2.0 | codeparrot/github-code | 895215293ef93d678b571e1b1957d613065a6bc614710826fa4d5e6e787c3e84 | 0.95 | testing_debugging_repair_refactoring | 194 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Reflection;
using FluentNHibernate.Automapping;
using FluentNHibernate.Conventions;
using NUnit.Framework;
namespace FluentNHibernate.Testing.AutoMapping.Apm.Conventions
{
[TestFixture]
public class ReferencesConventionTests
{
[Test]
... | owerkop/fluent-nhibernate | src/FluentNHibernate.Testing/AutoMapping/Apm/Conventions/ReferencesConventionTests.cs | https://github.com/owerkop/fluent-nhibernate/blob/HEAD/src/FluentNHibernate.Testing/AutoMapping/Apm/Conventions/ReferencesConventionTests.cs | ghcode:00002:70fc677e6060 | bsd-3-clause | codeparrot/github-code | 70fc677e60609db36ade0a800ac7bda19fcf114ce77070bef85bd81efa0415b1 | 0.75 | testing_debugging_repair_refactoring | 169 | false | 2026-07-17 |
using System;
using Sep.Git.Tfs.Core.TfsInterop;
using Xunit;
using LibGit2Sharp;
namespace Sep.Git.Tfs.Test.Integration
{
public class BootstrapTests : IDisposable
{
IntegrationHelper h = new IntegrationHelper();
public BootstrapTests()
{
h.SetupFake(_ => { });
}
... | kgybels/git-tfs | GitTfsTest/Integration/BootstrapTests.cs | https://github.com/kgybels/git-tfs/blob/HEAD/GitTfsTest/Integration/BootstrapTests.cs | ghcode:00002:44b460118dfe | apache-2.0 | codeparrot/github-code | 44b460118dfe20367af0a7028025ed79d7e6d459d159c1b023252753bd7f1a6d | 0.85 | testing_debugging_repair_refactoring | 1,359 | 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 FluentAssertions;
using Microsoft.DotNet.Tools.Test;
using Microsoft.Extensions.Testing.Abstractions;
using Moq;
using Xunit;
namespace M... | krwq/cli | test/dotnet-test.UnitTests/GivenATestSessionTerminateMessageHandler.cs | https://github.com/krwq/cli/blob/HEAD/test/dotnet-test.UnitTests/GivenATestSessionTerminateMessageHandler.cs | ghcode:00002:b04cd5af0150 | mit | codeparrot/github-code | b04cd5af0150d2ca3257be54608028582c24dd87a6b849ab3b528294f769a89e | 0.6 | testing_debugging_repair_refactoring | 297 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="MatchBuilderSignatureTests.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// <... | alexpantyukhin/akka.net | src/core/Akka.Tests/MatchHandler/MatchBuilderSignatureTests.cs | https://github.com/alexpantyukhin/akka.net/blob/HEAD/src/core/Akka.Tests/MatchHandler/MatchBuilderSignatureTests.cs | ghcode:00002:11b1350aff91 | apache-2.0 | codeparrot/github-code | 11b1350aff91cb19d2bc30646e5351eb121d0459316d35e57b6ae707d7f95bc5 | 0.85 | testing_debugging_repair_refactoring | 1,222 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VW;
using VW.Labels;
using VW.Serializer.Attributes;
namespace cs_test
{
/// <summary>
/// Code examples as demonstrated during NIPS 2015 Tutorial (slides: https://github.com/JohnLangford/... | pombredanne/vowpal_wabbit | cs/test/NIPS2015Tutorial.cs | https://github.com/pombredanne/vowpal_wabbit/blob/HEAD/cs/test/NIPS2015Tutorial.cs | ghcode:00002:d4c2948c6139 | bsd-3-clause | codeparrot/github-code | d4c2948c6139ee74431fdc504081a3d239689c94901d10222ed4dc5d28a0357b | 0.95 | testing_debugging_repair_refactoring | 788 | 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.
extern alias InteractiveHost;
using System;
using System.Diagnostics;
using System.Globalization;
using System.Thr... | physhi/roslyn | src/Interactive/HostTest/StressTests.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Interactive/HostTest/StressTests.cs | ghcode:00002:575ffa24c4ad | apache-2.0 | codeparrot/github-code | 575ffa24c4ad564dd938653466e330f52da9fa4fa3acaba9ea9785d332b33a3b | 0.85 | testing_debugging_repair_refactoring | 335 | 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.IO;
using Xunit;
namespace System.IO.Tests
{
public class CloseTests
{
p... | alphonsekurian/corefx | src/System.IO/tests/StreamWriter/StreamWriter.CloseTests.cs | https://github.com/alphonsekurian/corefx/blob/HEAD/src/System.IO/tests/StreamWriter/StreamWriter.CloseTests.cs | ghcode:00002:97574bfd3837 | mit | codeparrot/github-code | 97574bfd3837b3b45fa194509a44b3baf4cc0f928550dd7abfc36e65ef470626 | 0.95 | testing_debugging_repair_refactoring | 366 | 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... | rohmano/azure-powershell | src/ResourceManager/AzureBatch/Commands.Batch.Test/Tasks/SetBatchTaskCommandTests.cs | https://github.com/rohmano/azure-powershell/blob/HEAD/src/ResourceManager/AzureBatch/Commands.Batch.Test/Tasks/SetBatchTaskCommandTests.cs | ghcode:00002:cee220c5904a | apache-2.0 | codeparrot/github-code | cee220c5904a8baf1bf42bc0a4d2c362e080d6b3dfbf2160d46553faef820f6f | 0.85 | testing_debugging_repair_refactoring | 800 | 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.Globalization.Tests
{
public class CompareInfoI... | iamjasonp/corefx | src/System.Globalization/tests/CompareInfo/CompareInfoTests.IsPrefix.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Globalization/tests/CompareInfo/CompareInfoTests.IsPrefix.cs | ghcode:00002:a8d6938a46b9 | mit | codeparrot/github-code | a8d6938a46b9cdbb7cc68e702c18d89da054cb2f8c8c40dad7fef9f119e32627 | 0.95 | testing_debugging_repair_refactoring | 1,508 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Globalization;
using System.Threading;
using Microsoft.CodeA... | mmitche/roslyn | src/Workspaces/CoreTest/ReferencedSymbolTests.cs | https://github.com/mmitche/roslyn/blob/HEAD/src/Workspaces/CoreTest/ReferencedSymbolTests.cs | ghcode:00002:8119422fcbc7 | apache-2.0 | codeparrot/github-code | 8119422fcbc74e652dff9af33d040f27c3b956c84ff3dbbd9d225bfdb7e31670 | 0.75 | testing_debugging_repair_refactoring | 1,233 | 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.Collections.Immutable;
using System.Diagnostics;
namespace System.Re... | BrennanConroy/corefx | src/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/MetadataAggregator.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/MetadataAggregator.cs | ghcode:00002:a9a0138e2aed | mit | codeparrot/github-code | a9a0138e2aedb802a98b65244580fb9f93e81bcd7bf6b0c9d9286317c199ea15 | 0.95 | testing_debugging_repair_refactoring | 2,433 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using System.Text;
using Xunit;
namespace Microsoft.CodeAnalysis.UnitTests.Collections
{
public class EnumerableExtensionsTests
{... | mmitche/roslyn | src/Compilers/Core/CodeAnalysisTest/Collections/EnumerableExtensionsTests.cs | https://github.com/mmitche/roslyn/blob/HEAD/src/Compilers/Core/CodeAnalysisTest/Collections/EnumerableExtensionsTests.cs | ghcode:00002:fab769ecfad6 | apache-2.0 | codeparrot/github-code | fab769ecfad67c9ad0978cea7953d740e159ca91dd4b64b176b427ff3f44c73f | 0.75 | testing_debugging_repair_refactoring | 182 | 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.Reflection.Emit;
namespace TestLibrary
{
public static class Utilities
{
public static ModuleBuilder GetModuleBuilder(AssemblyBuilder asm... | fffej/corefx | src/System.Reflection.Emit/tests/Utilities.cs | https://github.com/fffej/corefx/blob/HEAD/src/System.Reflection.Emit/tests/Utilities.cs | ghcode:00002:89fe49f726c5 | mit | codeparrot/github-code | 89fe49f726c56d72a02f044c08c7d6dd6a7b293cbd5cb90dd9261d44e8c4668c | 0.85 | testing_debugging_repair_refactoring | 83 | false | 2026-07-17 |
#region Licence
// The MIT License
//
// Copyright (c) 2011 Julien Blin, julien.blin@gmail.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without... | julienblin/Remora | src/Remora.Tests/Core/Impl/RemoraOperationFactoryTest.cs | https://github.com/julienblin/Remora/blob/HEAD/src/Remora.Tests/Core/Impl/RemoraOperationFactoryTest.cs | ghcode:00002:b9bdb8c8605b | mit | codeparrot/github-code | b9bdb8c8605bfe40128bbd6ef44fa9391e84cc142b7e01f33dc62474479a6d91 | 0.7 | testing_debugging_repair_refactoring | 970 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SnacFamily03Tests.cs" company="Jan-Cornelius Molnar">
// The MIT License (MIT)
//
// Copyright (c) 2015 Jan-Cornelius Molnar
//
// Permission is hereby granted, free of charge, t... | janmolnar/jcq | Jcq.IcqProtocol.Tests/SnacFamily03Tests.cs | https://github.com/janmolnar/jcq/blob/HEAD/Jcq.IcqProtocol.Tests/SnacFamily03Tests.cs | ghcode:00002:809cf1dd3a0b | mit | codeparrot/github-code | 809cf1dd3a0b414a7b8380b8d0b994fb0945adc4e83cce4982733105bc74ad97 | 0.85 | testing_debugging_repair_refactoring | 6,575 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VSSDK.Tools.VsIdeTesting;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.Shell;
using EnvDTE;
namespace ConfigTransformation_IntegrationTe... | marazt/config-transformation | ConfigTransformation_IntegrationTests/PackageTest.cs | https://github.com/marazt/config-transformation/blob/HEAD/ConfigTransformation_IntegrationTests/PackageTest.cs | ghcode:00002:43b4f217b365 | mit | codeparrot/github-code | 43b4f217b3654098e1dc8ebce34790f6827e19a22e8b525da52a1d0d07e8beb6 | 0.7 | testing_debugging_repair_refactoring | 315 | false | 2026-07-17 |
using System.Linq;
using FluentAssertions;
using Hepsi.Extensions.IQueryableExtensions;
using NUnit.Framework;
namespace Hepsi.Extensions.UnitTests.IQueryableExtensions.When_filtering_an_iqueryable
{
[TestFixture]
public class and_no_result_exits
{
[Test]
public void correct_iquerable_shou... | hepsiburada/Hepsi.Extensions | src/tests/Hepsi.Extensions.UnitTests/IQueryableExtensions/When_filtering_an_iqueryable/and_no_result_exits.cs | https://github.com/hepsiburada/Hepsi.Extensions/blob/HEAD/src/tests/Hepsi.Extensions.UnitTests/IQueryableExtensions/When_filtering_an_iqueryable/and_no_result_exits.cs | ghcode:00002:810eae679d55 | mit | codeparrot/github-code | 810eae679d5532a462ea2b75e85c53e0ba3f0d487c1fab72d31d9ea8ce7fb580 | 0.85 | testing_debugging_repair_refactoring | 164 | false | 2026-07-17 |
namespace OpenApi.Generator.UnitTests
{
using System;
using System.Collections;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Reflection;
using Crest.OpenApi.Generator;
using FluentAssertions;
using Newtonsoft.Json;
using NSubstitute;
using Xunit;
... | samcragg/Crest | tools/OpenApi.Generator.UnitTests/DefinitionWriterTests.cs | https://github.com/samcragg/Crest/blob/HEAD/tools/OpenApi.Generator.UnitTests/DefinitionWriterTests.cs | ghcode:00002:43c813dc575f | mit | codeparrot/github-code | 43c813dc575fc38fe1e120088eb1bf86a90c1031b9c48b32c1222ee765122633 | 0.75 | testing_debugging_repair_refactoring | 1,637 | false | 2026-07-17 |
using System;
using System.IO;
using NHibernate.Cfg;
using NUnit.Framework;
namespace Thunder.Data
{
[TestFixture]
public class CfgSerializationTest
{
private CfgSerialization _serialization;
[SetUp]
public void Setup()
{
_serialization = new CfgSerialization("... | adrianocaldeira/thunder | src/test/Thunder.Data/CfgSerializationTest.cs | https://github.com/adrianocaldeira/thunder/blob/HEAD/src/test/Thunder.Data/CfgSerializationTest.cs | ghcode:00002:4bbb2adc4321 | mit | codeparrot/github-code | 4bbb2adc4321dd5ae48fc03f02101cebf8aef7d8732ddc329c366df6b77bff9b | 0.85 | testing_debugging_repair_refactoring | 277 | false | 2026-07-17 |
using log4net;
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.TestManagement.Client;
using System;
using System.Linq;
using System.Reflection;
using WorkItemMigrationTool.Migration.Users;
using WorkItemMigrationTool.Migration.WorkItems;
namespace WorkItemMigrationTool
{
public class TestPla... | vmrocha/tfs-workitem-migration | src/WorkItemMigrationTool.Migration/TestPlan/TestPlanMigration.cs | https://github.com/vmrocha/tfs-workitem-migration/blob/HEAD/src/WorkItemMigrationTool.Migration/TestPlan/TestPlanMigration.cs | ghcode:00002:c3c9b4d0dd50 | mit | codeparrot/github-code | c3c9b4d0dd50d4d38232dd0144f3040569c779e13260b2a06bd3046b830cfb19 | 0.85 | testing_debugging_repair_refactoring | 1,537 | false | 2026-07-17 |
using System;
using FluentAssertions;
using Xunit;
namespace NRamdaLib.Tests
{
public class AnyPassTests
{
private readonly Func<int, bool> _odd = x => x % 2 != 0;
private readonly Func<int, bool> _gt20 = x => x > 20;
private readonly Func<int, bool> _lt5 = x => x < 5;
privat... | GrahamClark/NRamda | src/NRamdaLib.Tests/AnyPassTests.cs | https://github.com/GrahamClark/NRamda/blob/HEAD/src/NRamdaLib.Tests/AnyPassTests.cs | ghcode:00002:ee9e565b70ea | mit | codeparrot/github-code | ee9e565b70eac865cbd40bc7dbeb7335c2c17f292be9ac047d6ed73b438c873d | 0.75 | testing_debugging_repair_refactoring | 396 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MipsSharp.Mips;
using System;
using System.Collections.Generic;
using System.Text;
namespace MipsSharp.Tests
{
[TestClass]
public class DisassemblerTests
{
[TestMethod]
public void TestBreakDisassembly()
{
// BRE... | kskjer/MipsSharp | MipsSharp.Tests/DisassemblerTests.cs | https://github.com/kskjer/MipsSharp/blob/HEAD/MipsSharp.Tests/DisassemblerTests.cs | ghcode:00002:a5087a7c8c73 | mit | codeparrot/github-code | a5087a7c8c73dfc64223e17fd5fa7c75632cbfad16c9a7070171239a5aa21b2a | 0.75 | testing_debugging_repair_refactoring | 225 | false | 2026-07-17 |
using System;
using Xunit;
using ExifLibrary;
namespace UnitTests
{
public class ExifEnumProperty
{
[Fact]
public void Orientation()
{
for (var i = 1; i <= 8; i++)
{
var img = ImageFile.FromFile(TestHelpers.TestImagePath("Orientation", "Orientatio... | oozcitak/exiflibrary | UnitTests/ExifEnumProperty.cs | https://github.com/oozcitak/exiflibrary/blob/HEAD/UnitTests/ExifEnumProperty.cs | ghcode:00002:908bd6e9996d | mit | codeparrot/github-code | 908bd6e9996db24f210e5124f0bba3d007376e348326e89fa4e5e6adbade091c | 0.6 | testing_debugging_repair_refactoring | 120 | false | 2026-07-17 |
using System;
using System.IO;
using System.Net;
using System.Text;
using System.Xml;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
using SIM.Instances;
using SIM.Pipelines.Install.Modules;
using SIM.Products;
namespace SIM.Tests.Pipelines
{
[TestClass]
public class CreateSolrCoreTests
... | dsolovay/Sitecore-Instance-Manager | src/SIM.Tests/Pipelines/CreateSolrCoreTests.cs | https://github.com/dsolovay/Sitecore-Instance-Manager/blob/HEAD/src/SIM.Tests/Pipelines/CreateSolrCoreTests.cs | ghcode:00002:b2284e106683 | mit | codeparrot/github-code | b2284e106683dbe9d67f659af07537ed766149e2c816deac619da93322e60a0c | 0.85 | testing_debugging_repair_refactoring | 1,391 | false | 2026-07-17 |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
using System.Collections.Generic;
namespace Microsoft.Zelig.Test.mbed
{
namespace Simple
{
internal abstract class LedToggler
{
public LedToggler( )
{
dOuts = new DigitalOut[ 4 ];
... | jkotas/llilum | Zelig/Zelig/Test/mbed/simple/Program.cs | https://github.com/jkotas/llilum/blob/HEAD/Zelig/Zelig/Test/mbed/simple/Program.cs | ghcode:00002:b49d9307e81d | mit | codeparrot/github-code | b49d9307e81d3369e593df660a98061c08ff6e0afcb3d64d505faaddba29976d | 0.95 | testing_debugging_repair_refactoring | 668 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Skybrud.Essentials.Guids;
using System;
using System.Collections.Generic;
using System.Linq;
// ReSharper disable ExpressionIsAlwaysNull
namespace UnitTestProject1.Guids {
[TestClass]
public class GuidTests {
[TestMethod]
public void... | skybrud/Skybrud.Essentials | src/UnitTestProject1/Guids/GuidTests.cs | https://github.com/skybrud/Skybrud.Essentials/blob/HEAD/src/UnitTestProject1/Guids/GuidTests.cs | ghcode:00002:feda5a645cfb | mit | codeparrot/github-code | feda5a645cfb66190ce3c4b681c302a0d01cd1cbf3dfdb876ef6ebe5b034c4f1 | 0.75 | testing_debugging_repair_refactoring | 3,670 | false | 2026-07-17 |
// TestChattelConfiguration.cs
//
// Author:
// Ricky Curtice <ricky@rwcproductions.com>
//
// Copyright (c) 2018 Richard Curtice
//
// 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 ... | kf6kjg/chattel | Source/ChattelTests/TestChattelConfiguration.cs | https://github.com/kf6kjg/chattel/blob/HEAD/Source/ChattelTests/TestChattelConfiguration.cs | ghcode:00002:69d781ac14fe | mit | codeparrot/github-code | 69d781ac14fe50d71512a28e385221eefb06cb4e2c61de83c24612b7082309b0 | 0.85 | testing_debugging_repair_refactoring | 1,672 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using Bandwidth.Iris.Model;
using Xunit;
namespace Bandwidth.Iris.Tests.Models
{
public class ImportToAccountTests
{
// [TestInitialize]
public ImportToAccountTests()
{
Helper.SetEnvironmetVariable... | bandwidthcom/csharp-bandwidth-iris | Bandwidth.Iris.Tests/Models/ImportToAccountTests.cs | https://github.com/bandwidthcom/csharp-bandwidth-iris/blob/HEAD/Bandwidth.Iris.Tests/Models/ImportToAccountTests.cs | ghcode:00002:5a6218b25a94 | mit | codeparrot/github-code | 5a6218b25a94f995bd40defb744553eff0a46f81c95976df889a5cce47705446 | 0.75 | testing_debugging_repair_refactoring | 1,081 | false | 2026-07-17 |
using System;
using FizzBuzzDotNet.Business;
using NUnit.Framework;
namespace FizzBuzzDotNet
{
[TestFixture()]
public class RuleTests
{
[Test()]
public void TestsWorking()
{
Assert.AreEqual(1, 1);
}
[Test()]
public void RuleConstructor_GivenArg... | nycdotnet/FizzBuzz | FizzBuzzTests/RuleTests.cs | https://github.com/nycdotnet/FizzBuzz/blob/HEAD/FizzBuzzTests/RuleTests.cs | ghcode:00002:60ee9f83a914 | mit | codeparrot/github-code | 60ee9f83a9147a85492edd133d260b47f55d1448b2891ab95f8c712ac270743c | 0.75 | testing_debugging_repair_refactoring | 270 | false | 2026-07-17 |
namespace Aspose.Tasks.Examples.CSharp
{
using System;
using NUnit.Framework;
[TestFixture]
public class ExRecurringTaskParameters : ApiExampleBase
{
[Test]
public void CreateRecurringTask()
{
try
{
// ExStart:CreateRecurringTask
... | aspose-tasks/Aspose.Tasks-for-.NET | Examples/CSharp/ExRecurringTaskParameters.cs | https://github.com/aspose-tasks/Aspose.Tasks-for-.NET/blob/HEAD/Examples/CSharp/ExRecurringTaskParameters.cs | ghcode:00002:87d52ffd8c19 | mit | codeparrot/github-code | 87d52ffd8c19a26d167e132f4ea9b69b37445ccf46c65d914493f6f07c0a18f5 | 0.7 | testing_debugging_repair_refactoring | 611 | false | 2026-07-17 |
#if NUNIT
using System.Globalization;
namespace TsvBits.Serialization.Tests.Rom
{
internal struct Length
{
public readonly float Value;
public readonly string Unit;
public Length(float value, string unit)
{
Value = value;
Unit = unit;
}
public bool IsValid
{
get { return !string.IsNullOrEmp... | sergeyt/xserializer | src/Tests/Rom/Length.cs | https://github.com/sergeyt/xserializer/blob/HEAD/src/Tests/Rom/Length.cs | ghcode:00002:81698032e25e | mit | codeparrot/github-code | 81698032e25ede704f0ead6edae187dbfe262b7a8cc46b01da316c3679b36103 | 0.85 | testing_debugging_repair_refactoring | 233 | false | 2026-07-17 |
using System;
using System.Reflection.Emit;
using NUnit.Framework;
#if LIGHT_EXPRESSION
using static FastExpressionCompiler.LightExpression.Expression;
namespace FastExpressionCompiler.LightExpression.IssueTests
#else
using static System.Linq.Expressions.Expression;
namespace FastExpressionCompiler.IssueTests
#endif
... | dadhi/FastExpressionCompiler | test/FastExpressionCompiler.IssueTests/Issue243_Pass_Parameter_By_Ref_is_supported.cs | https://github.com/dadhi/FastExpressionCompiler/blob/HEAD/test/FastExpressionCompiler.IssueTests/Issue243_Pass_Parameter_By_Ref_is_supported.cs | ghcode:00002:ebd537290b13 | mit | codeparrot/github-code | ebd537290b1385fa63ef1808145c43c4d515e49cea55be74a4488bcfd53b613a | 0.6 | testing_debugging_repair_refactoring | 841 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
namespace AGO.Reporting.Tests
{
[TestFixture]
public class TPLManageTest
{
private Stopwatch watch;
private CancellationTokenSource s;
private bool canceled;
private bool completed;
privat... | olegsmetanin/apinet-server | AGO.Reporting.Tests/TPLManageTest.cs | https://github.com/olegsmetanin/apinet-server/blob/HEAD/AGO.Reporting.Tests/TPLManageTest.cs | ghcode:00002:7a69b0676dc7 | mit | codeparrot/github-code | 7a69b0676dc772c55b9f10505d3abb25c3b9cb37a8a10f0db528571f4322e0cf | 0.7 | testing_debugging_repair_refactoring | 1,455 | false | 2026-07-17 |
using NUnit.Framework;
namespace LAN.Core.Types.Tests
{
class PasswordTests
{
[Test()]
public void HashConstructor_GivenPassword_CreatesAHash()
{
var password = Password.Parse("Pa55word");
var hash = PasswordHash.Parse(password);
Assert.IsNotNull((st... | nickmkk/LAN.Core.Types | LAN.Core.Types.Tests/PasswordTests.cs | https://github.com/nickmkk/LAN.Core.Types/blob/HEAD/LAN.Core.Types.Tests/PasswordTests.cs | ghcode:00002:2fc7841c75d1 | mit | codeparrot/github-code | 2fc7841c75d110549b80ad8f6e39ea379d5c45a4a7a53c979489f1047ed34f93 | 0.75 | testing_debugging_repair_refactoring | 212 | false | 2026-07-17 |
using Microsoft.VisualStudio.Services.Agent.Util;
using System;
using System.Diagnostics;
using System.Globalization;
using Xunit;
namespace Microsoft.VisualStudio.Services.Agent.Tests.Util
{
public class StringUtilL0
{
[Fact]
[Trait("Level", "L0")]
[Trait("Category", "Commo... | vithati/vsts-agent | src/Test/L0/Util/StringUtilL0.cs | https://github.com/vithati/vsts-agent/blob/HEAD/src/Test/L0/Util/StringUtilL0.cs | ghcode:00002:8caa9c1519d9 | mit | codeparrot/github-code | 8caa9c1519d9e72c0f67d005e80bbecb37c5d8b1ffd610aed1b5c203d57678c7 | 0.95 | testing_debugging_repair_refactoring | 1,576 | false | 2026-07-17 |
// dnlib: See LICENSE.txt for more info
using System;
using System.Diagnostics;
using dnlib.DotNet.MD;
namespace dnlib.DotNet {
/// <summary>
/// A high-level representation of a row in the ClassLayout table
/// </summary>
public abstract class ClassLayout : IMDTokenProvider {
/// <summary>
/// The row id in ... | 0xd4d/dnlib | src/DotNet/ClassLayout.cs | https://github.com/0xd4d/dnlib/blob/HEAD/src/DotNet/ClassLayout.cs | ghcode:00002:ef48584f7b3d | mit | codeparrot/github-code | ef48584f7b3d4c67db1a9b3fa215c0cb21760099aac0a21737451d12e2fec833 | 0.7 | testing_debugging_repair_refactoring | 712 | false | 2026-07-17 |
using Expressly.Api;
using NUnit.Framework;
namespace Expressly.Testing
{
[TestFixture]
public class ExpresslyPluginTest : BaseTest
{
[Test, Category("Unit")]
public void ExpresslyPluginConstructorTest()
{
Assert.IsNotNull(ExpresslyPlugin.ApiKey);
Assert.IsN... | expressly/expressly-plugin-sdk-dotnet-core | Source/Tests/Unit/ExpresslyPluginTest.cs | https://github.com/expressly/expressly-plugin-sdk-dotnet-core/blob/HEAD/Source/Tests/Unit/ExpresslyPluginTest.cs | ghcode:00002:e585834ebed1 | mit | codeparrot/github-code | e585834ebed18513b8eed124373545274b2c8ae4e94cf516cc3bbd8a35947223 | 0.85 | testing_debugging_repair_refactoring | 186 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.Code... | sharwell/roslyn | src/Compilers/CSharp/Portable/Declarations/SingleTypeDeclaration.cs | https://github.com/sharwell/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Declarations/SingleTypeDeclaration.cs | ghcode:00002:c3a5aace35f5 | mit | codeparrot/github-code | c3a5aace35f5f80dfcfa812aea448272d4056a79521b1a3f6909358a04c8ca33 | 0.85 | testing_debugging_repair_refactoring | 1,432 | false | 2026-07-17 |
using Chemistry;
using EngineLayer;
using EngineLayer.CrosslinkSearch;
using EngineLayer.Indexing;
using MassSpectrometry;
using MzLibUtil;
using Nett;
using NUnit.Framework;
using Proteomics;
using Proteomics.AminoAcidPolymer;
using Proteomics.Fragmentation;
using Proteomics.ProteolyticDigestion;
using System;
using ... | lschaffer2/MetaMorpheus | Test/XLTest.cs | https://github.com/lschaffer2/MetaMorpheus/blob/HEAD/Test/XLTest.cs | ghcode:00002:7f5ebf1dcb72 | mit | codeparrot/github-code | 7f5ebf1dcb7203cbd1e77d9ae002c40a38587c33cc1af792c041abf400c03cf1 | 0.7 | testing_debugging_repair_refactoring | 15,402 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Wyam.Configuration.ConfigScript;
using Wyam.Configuration.Preprocessing;
using Wyam.Testing;
namespace Wyam.Configuration.Tests.ConfigScript
{
[TestFixture]
[Parallelizable(ParallelScope.Self | ParallelScope.Childr... | adamclifford/Wyam | tests/core/Wyam.Configuration.Tests/ConfigScript/DirectiveParserFixture.cs | https://github.com/adamclifford/Wyam/blob/HEAD/tests/core/Wyam.Configuration.Tests/ConfigScript/DirectiveParserFixture.cs | ghcode:00002:03740b88ebcc | mit | codeparrot/github-code | 03740b88ebcc9ad265fa57e72cfb17df610de69c2d9f75a1a13b654140197c57 | 0.7 | testing_debugging_repair_refactoring | 578 | false | 2026-07-17 |
using System;
using FluentAssertions;
using Nyx.Composition;
using Nyx.Tests.Stubs;
using Xunit;
namespace Nyx.Tests
{
// ReSharper disable once TestFileNameWarning
public class LifecycleSupportTests
{
[Fact]
public void ServicesShouldBeProperlyDisposedAtTheEndOfTheirLifecycle()
{
... | georgevella/Nyx | src/Nyx.Framework.Tests/LifecycleSupportTests.cs | https://github.com/georgevella/Nyx/blob/HEAD/src/Nyx.Framework.Tests/LifecycleSupportTests.cs | ghcode:00002:d55cd05e4565 | mit | codeparrot/github-code | d55cd05e45651a6e0683e2e51f39578f69a117cd0a729b1fc2ee877b0fcd41e5 | 0.75 | testing_debugging_repair_refactoring | 520 | false | 2026-07-17 |
namespace VSTOContrib.Core.Tests.RibbonFactory
{
public class TestWindowContext
{
}
} | JakeGinnivan/VSTOContrib | src/TestProjects/VSTOContrib.Core.Tests/RibbonFactory/TestWindowContext.cs | https://github.com/JakeGinnivan/VSTOContrib/blob/HEAD/src/TestProjects/VSTOContrib.Core.Tests/RibbonFactory/TestWindowContext.cs | ghcode:00002:376d990c373e | mit | codeparrot/github-code | 376d990c373ec23fda025b20acb6d82cb3f4ae97a176f4defc0cf055dc695049 | 0.35 | testing_debugging_repair_refactoring | 23 | false | 2026-07-17 |
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2021 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 ... | SonarSource-VisualStudio/sonarlint-visualstudio | src/IssueViz.UnitTests/Editor/Common/TestableNormalizedTextChangeCollection.cs | https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/blob/HEAD/src/IssueViz.UnitTests/Editor/Common/TestableNormalizedTextChangeCollection.cs | ghcode:00002:e28df4dc8b3a | mit | codeparrot/github-code | e28df4dc8b3a9942b1b61a817e750dd2320574e9f765ee63987932d0115c873f | 0.75 | testing_debugging_repair_refactoring | 523 | false | 2026-07-17 |
using System;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace TIKSN.Finance.Tests
{
public class FixedRateCurrencyConverterTests
{
[Fact]
public async Task ConvertCurrency001Async()
{
var UnitedStates = new RegionInfo("US")... | tiksn/TIKSN-Framework | TIKSN.UnitTests.Shared/Finance/FixedRateCurrencyConverterTests.cs | https://github.com/tiksn/TIKSN-Framework/blob/HEAD/TIKSN.UnitTests.Shared/Finance/FixedRateCurrencyConverterTests.cs | ghcode:00002:53024ed8f68f | mit | codeparrot/github-code | 53024ed8f68fefa2f6988ef7cabb40b35e05217b61a1b9b2d7c5e07e1eabe7e9 | 0.75 | testing_debugging_repair_refactoring | 1,751 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="EventItemAttributeUnitTest.cs" company="CloudLibrary">
// Copyright (c) CloudLibrary 2016. All rights reserved.
// </copyright>
// ----------------------------------------... | lixinxu/CloudLibiary | DotNet/Common/UnitTest/DiagnosticsTest/EventItemAttributeUnitTest.cs | https://github.com/lixinxu/CloudLibiary/blob/HEAD/DotNet/Common/UnitTest/DiagnosticsTest/EventItemAttributeUnitTest.cs | ghcode:00002:2ae8a5e5097f | mit | codeparrot/github-code | 2ae8a5e5097ff53cb91239ea325a0602746a9047688c59952b97b26371f66463 | 0.7 | testing_debugging_repair_refactoring | 298 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*============================================================
**
**
**
** Purpose: The contract class allows for e... | wateret/coreclr | src/mscorlib/src/System/Diagnostics/Contracts/Contracts.cs | https://github.com/wateret/coreclr/blob/HEAD/src/mscorlib/src/System/Diagnostics/Contracts/Contracts.cs | ghcode:00002:a26d6a7527c4 | mit | codeparrot/github-code | a26d6a7527c433836dbd5e6bd42673479eabe4bd401e76ac86a7022204474536 | 0.8 | testing_debugging_repair_refactoring | 8,266 | false | 2026-07-17 |
using System;
using JRC.Core.Rules;
using NUnit.Framework;
using FluentAssertions;
using JRC.Core.Exceptions;
namespace JRC.Core.UnitTests.Rules
{
[TestFixture]
public class DriverRequiredTests
{
readonly Person driver = new Person(PersonType.Father);
readonly Person nonDriver = new Person(PersonTy... | ipatalas/JapaneseRiverCrossing | JRC.Core.UnitTests/Rules/DriverRequiredTests.cs | https://github.com/ipatalas/JapaneseRiverCrossing/blob/HEAD/JRC.Core.UnitTests/Rules/DriverRequiredTests.cs | ghcode:00002:c7cc4e3b844d | mit | codeparrot/github-code | c7cc4e3b844d4a234e6d42f7d3091f22c63b0a4010d11b9ec2cc21e09391ae41 | 0.75 | testing_debugging_repair_refactoring | 250 | false | 2026-07-17 |
using Domain.Aggregate.Common;
using NUnit.Framework;
namespace DomainTest
{
[TestFixture]
public class MoneyTest
{
[TestCase("")]
[TestCase("A")]
[TestCase("AB")]
[TestCase("123")]
[TestCase("ABCD")]
public void InvalidCurrencyCodeFormat(string invalidCurre... | EdVinyard/DddSandbox | DomainTest/MoneyConstructorTest.cs | https://github.com/EdVinyard/DddSandbox/blob/HEAD/DomainTest/MoneyConstructorTest.cs | ghcode:00002:5e4f2b9dbc26 | mit | codeparrot/github-code | 5e4f2b9dbc2674fa8a17be99f2e060281b58f9822117c1f7b0fe445b6dce0ec5 | 0.6 | testing_debugging_repair_refactoring | 216 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using System.Collections.Generic;
namespace NUnit.Common
{
/// <summary>
/// TestNameParser is used to parse the arguments to the
/// -run option, separating testnames at the correct point.
/// </summary>
... | nunit/nunit | src/NUnitFramework/nunitlite/TestNameParser.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/nunitlite/TestNameParser.cs | ghcode:00002:04c1548fe7ca | mit | codeparrot/github-code | 04c1548fe7ca00c42ed364d0fd31603e900af643356e00b5dc785cbdffbe8c3a | 0.85 | testing_debugging_repair_refactoring | 416 | false | 2026-07-17 |
using NUnit.Framework;
using Playnite.SDK.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Playnite.Tests.Models
{
[TestFixture]
public class MetadataPropertyTests
{
[Test]
public void Equali... | JosefNemec/Playnite | source/Tests/Playnite.Tests/Models/MetadataPropertyTests.cs | https://github.com/JosefNemec/Playnite/blob/HEAD/source/Tests/Playnite.Tests/Models/MetadataPropertyTests.cs | ghcode:00002:0aaa4a9803dc | mit | codeparrot/github-code | 0aaa4a9803dc4e73080efa717b70b103f10d693a1f884111bff950aded6b2f24 | 0.85 | testing_debugging_repair_refactoring | 236 | false | 2026-07-17 |
namespace Boxed.AspNetCore.Test
{
using Boxed.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Xunit;
public class WebHostBuilderExtensionsTest
{
private readonly WebHostBuilder webHostBuilder;
public WebHostBuilderExtensionsTest() =>
this.webHostBuilder = new WebH... | ASP-NET-Core-Boilerplate/Framework | Tests/Boxed.AspNetCore.Test/WebHostBuilderExtensionsTest.cs | https://github.com/ASP-NET-Core-Boilerplate/Framework/blob/HEAD/Tests/Boxed.AspNetCore.Test/WebHostBuilderExtensionsTest.cs | ghcode:00002:5b42a102279e | mit | codeparrot/github-code | 5b42a102279e9ff3c3da18ed89d71f016df9ab9353c9a4977a52411f4cf881b1 | 0.6 | testing_debugging_repair_refactoring | 255 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Collections.Generic;
using NUnit.Framework;
namespace Castoriadis.Console.Test
{
[TestFixture]
public class Basic
{
Queue<string> commands = new Queue<string>();
List<object> responses = new List<object>();
AgoraMock agoraMock = new AgoraMock();
[SetUp]
publi... | ignacionr/castoriadis | Castoriadis.Console.Test/Basic.cs | https://github.com/ignacionr/castoriadis/blob/HEAD/Castoriadis.Console.Test/Basic.cs | ghcode:00002:9416a9e99085 | mit | codeparrot/github-code | 9416a9e99085d8e365e63a2ab31e512efd588c0cdc6b1ced3b5c58394af8757e | 0.6 | testing_debugging_repair_refactoring | 382 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using NUnit.Framework;
namespace EventStreams {
using Domain.Accounting;
using Persistence.FileSystem;
using Persistence.Serialization.Events;
[TestFixture]
public class EventSourceIntegrationTests {
private RepositoryHiera... | nbevans/EventStreams | EventStreams.Tests/EventSourceIntegrationTests.cs | https://github.com/nbevans/EventStreams/blob/HEAD/EventStreams.Tests/EventSourceIntegrationTests.cs | ghcode:00002:3a1422cc4791 | mit | codeparrot/github-code | 3a1422cc47912b2dda897ea48fb3986eaf1e6d81e695dbcec5cf491808efa127 | 0.75 | testing_debugging_repair_refactoring | 647 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TicTacTubeTest.Processors.Media.Songs
{
[TestClass]
public class TestSongInfo
{
//TODO: Test read from file
//Pack mp3 file in git repository?
}
} | plainerman/TicTacTube | TicTacTubeTest/Processors/Media/Songs/TestSongInfo.cs | https://github.com/plainerman/TicTacTube/blob/HEAD/TicTacTubeTest/Processors/Media/Songs/TestSongInfo.cs | ghcode:00002:9ea768ab1b38 | mit | codeparrot/github-code | 9ea768ab1b389530daaf9e2f33a603b9ab2d3c1438af334b46d2203caefe9263 | 0.75 | testing_debugging_repair_refactoring | 54 | false | 2026-07-17 |
using NUnit.Framework;
using System;
namespace DevAchievements.Domain.UnitTests
{
[TestFixture ()]
public class AchievementTest
{
[Test ()]
public void GetValueChangeFrom_FutureDate_Zero ()
{
var target = new Achievement ()
{
DateTime = DateTime.Now,
Value = 2
};
tar... | giacomelli/DevAchievements | src/DevAchievements.Domain.UnitTests/AchievementTest.cs | https://github.com/giacomelli/DevAchievements/blob/HEAD/src/DevAchievements.Domain.UnitTests/AchievementTest.cs | ghcode:00002:4ff687bee1e0 | mit | codeparrot/github-code | 4ff687bee1e0469f778ebe7e1a968fb5f88b9da4e62241b0f238c757d2710223 | 0.6 | testing_debugging_repair_refactoring | 466 | false | 2026-07-17 |
using Cradiator.Config;
using Cradiator.Model;
using Cradiator.Services;
using Cradiator.Views;
using Ninject;
using NUnit.Framework;
using Rhino.Mocks;
namespace Cradiator.Tests.Services
{
[Ignore("Integration tests")]
[Category("Integration")]
[TestFixture]
public class BuildStatusFetcher_IntegrationTests
{
... | xerxesb/cradiator | src/Cradiator.Tests/Services/BuildStatusFetcher_IntegrationTests.cs | https://github.com/xerxesb/cradiator/blob/HEAD/src/Cradiator.Tests/Services/BuildStatusFetcher_IntegrationTests.cs | ghcode:00002:0410040832be | mit | codeparrot/github-code | 0410040832befb65fd80933135ea68d739b2ae384c2fab2050f3bceb810a0fa8 | 0.85 | testing_debugging_repair_refactoring | 442 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TypeAsserter.UnitTests.Mocks;
namespace TypeAsserter.UnitTests
{
[TestClass]
public class InterfaceTests
{
[TestMethod]
public void IPublicInterface_IsPublic()
{
AssertClass<IPublicInterface>.IsPublic();
... | nCubed/TypeAsserter | TypeAsserter.UnitTests/InterfaceTests.cs | https://github.com/nCubed/TypeAsserter/blob/HEAD/TypeAsserter.UnitTests/InterfaceTests.cs | ghcode:00002:9efae12b7a88 | mit | codeparrot/github-code | 9efae12b7a889265d073d7de9cfea40d7ef606ac9ef9b5503872be622f7a64eb | 0.75 | testing_debugging_repair_refactoring | 178 | false | 2026-07-17 |
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Typescript.Definitions.Tools.Tests.TestModels;
using Typescript.Definitions.Tools.TsModels;
using Xunit;
namespace Typescript.Definitions.Tools.Tests.TsModels
{
public class TsClassTests
{
[Fact]
public void WhenIn... | originalmoose/Typescript.Definitions.Tools | src/Typescript.Definitions.Tools.Tests/TsModels/TsClassTests.cs | https://github.com/originalmoose/Typescript.Definitions.Tools/blob/HEAD/src/Typescript.Definitions.Tools.Tests/TsModels/TsClassTests.cs | ghcode:00002:ba1f715853cf | mit | codeparrot/github-code | ba1f715853cfa066c3b5dd23919426639b94ee7138ef5a47e56acd059b4dbf7f | 0.75 | testing_debugging_repair_refactoring | 1,200 | false | 2026-07-17 |
using OdataToEntity.Test.Model;
using System;
using System.Collections.Generic;
using System.Linq;
namespace OdataToEntity.Test.InMemory
{
public sealed class InMemoryOrderContext : IDisposable
{
void IDisposable.Dispose() { }
public List<Category> Categories { get; } = new List<Category>();
... | voronov-maxim/OdataToEntity | test/OdataToEntity.Test.InMemory/InMemoryOrderContext.cs | https://github.com/voronov-maxim/OdataToEntity/blob/HEAD/test/OdataToEntity.Test.InMemory/InMemoryOrderContext.cs | ghcode:00002:3df7426a0a8b | mit | codeparrot/github-code | 3df7426a0a8b4bdd88024257800f2b92fc3dc64e3283a8e293108d3f92f8cef7 | 0.75 | testing_debugging_repair_refactoring | 397 | false | 2026-07-17 |
using System.Net;
using Core.Api.Testing;
using ECommerce.Api.Requests;
using ECommerce.ShoppingCarts;
using ECommerce.ShoppingCarts.GettingCartById;
using FluentAssertions;
using Xunit;
namespace ECommerce.Api.Tests.ShoppingCarts.Initializing;
public class InitializeShoppingCartFixture: ApiFixture<Startup>
{
pro... | oskardudycz/EventSourcing.NetCore | Sample/EventStoreDB/Simple/ECommerce.Api.Tests/ShoppingCarts/Initializing/InitializeShoppingCartTests.cs | https://github.com/oskardudycz/EventSourcing.NetCore/blob/HEAD/Sample/EventStoreDB/Simple/ECommerce.Api.Tests/ShoppingCarts/Initializing/InitializeShoppingCartTests.cs | ghcode:00002:59641d1b8e7f | mit | codeparrot/github-code | 59641d1b8e7fe1c63cf3cf617a250c0cd891fd2e58f9766f25e14d007159823b | 0.85 | testing_debugging_repair_refactoring | 422 | 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.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics.UserInterface;
using osuTK.Graphics;
namespace osu.Game.Tests.Visual.UserInte... | ZLima12/osu | osu.Game.Tests/Visual/UserInterface/TestSceneLoadingAnimation.cs | https://github.com/ZLima12/osu/blob/HEAD/osu.Game.Tests/Visual/UserInterface/TestSceneLoadingAnimation.cs | ghcode:00002:0306c02a097a | mit | codeparrot/github-code | 0306c02a097a12cb72ac7ea6a1bc094e1b00c4f1e1c547df296591f17bf3bd40 | 0.75 | testing_debugging_repair_refactoring | 302 | false | 2026-07-17 |
using System;
using DNSimpleExport.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
namespace DNSimpleExport.Tests
{
[TestClass]
public class JsonTests
{
[TestMethod]
public void Does_Zone_Serialize_Correctly()
{
// Arrange
... | kfrancis/DNSimpleExport | source/DNSimpleExport.Tests/JsonTests.cs | https://github.com/kfrancis/DNSimpleExport/blob/HEAD/source/DNSimpleExport.Tests/JsonTests.cs | ghcode:00002:6afbe3bfea95 | mit | codeparrot/github-code | 6afbe3bfea95e0d9fdcc7cb7aeb1515fe3dfab4c8d90cbc17f7fbfb4375d15f5 | 0.85 | testing_debugging_repair_refactoring | 295 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using AutoMapper;
using GitReleaseManager.Core.Provider;
using NSubstitute;
using NSubstitute.ExceptionExtensions;
using NUnit.Framework;
using Octokit;
using Shouldly;
using ApiException = GitRelea... | GitTools/GitReleaseManager | src/GitReleaseManager.Core.Tests/Provider/GitHubProviderTests.cs | https://github.com/GitTools/GitReleaseManager/blob/HEAD/src/GitReleaseManager.Core.Tests/Provider/GitHubProviderTests.cs | ghcode:00002:aef24f77c6d9 | mit | codeparrot/github-code | aef24f77c6d90b3f8151e456292aae56c3007ef1f7f94f221b968c2bc1bfd066 | 0.85 | testing_debugging_repair_refactoring | 7,587 | false | 2026-07-17 |
namespace Boxed.Mapping.Benchmark
{
using System;
using System.Globalization;
using AutoMapper;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;
using Boxed.Mapping.Benchmark.Mapping;
using Boxed.Mapping.Benchmark.Models;
[KeepBenchmarkFiles]
[MemoryDiagnoser... | ASP-NET-MVC-Boilerplate/Framework | Benchmarks/Boxed.Mapping.Benchmark/MapObjectBenchmark.cs | https://github.com/ASP-NET-MVC-Boilerplate/Framework/blob/HEAD/Benchmarks/Boxed.Mapping.Benchmark/MapObjectBenchmark.cs | ghcode:00002:6cff222ad83a | mit | codeparrot/github-code | 6cff222ad83ab9911386a2bef53ead394f48dad9472026d446ce463a4fd69b58 | 0.6 | testing_debugging_repair_refactoring | 405 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PredicateMapperTests.cs" company="Reimers.dk">
// Copyright © Reimers.dk 2014
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.micro... | daveh551/Highway.Data | Highway/test/Highway.Data.Tests/OData/PredicateMapperTests.cs | https://github.com/daveh551/Highway.Data/blob/HEAD/Highway/test/Highway.Data.Tests/OData/PredicateMapperTests.cs | ghcode:00002:b4926f4bc181 | mit | codeparrot/github-code | b4926f4bc181e465891d779b39e207d57f79c45be827c316203fa05d502b774f | 0.95 | testing_debugging_repair_refactoring | 749 | false | 2026-07-17 |
using Hikipuro.Text.Tokenizer;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace UnitTest {
[TestClass]
public class TokenListTest {
[TestMethod, TestCategory("TokenList")]
public void Add() {
TokenList<int> tokens = new TokenList<int>();
Assert.AreEqual(0, tokens.Count);
Tok... | hikipuro/Tokenizer | UnitTest/TokenListTest.cs | https://github.com/hikipuro/Tokenizer/blob/HEAD/UnitTest/TokenListTest.cs | ghcode:00002:5cdd50cddc6e | mit | codeparrot/github-code | 5cdd50cddc6e7b0f148324e58f1136548daed0c6173a96fc4b6d1006b7be0ffa | 0.6 | testing_debugging_repair_refactoring | 1,294 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using BoringCardLib;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Assert = TestLib.Framework.Assert;
namespace BoringCardLib.Tests {
[TestClass]
public class SuitExtensionsTest {
[TestMethod]
public void IsBlackSuit() {
Assert.Tr... | LazyBui/BoringCardLib | BoringCardLib.Tests/API/SuitExtensionsTest.cs | https://github.com/LazyBui/BoringCardLib/blob/HEAD/BoringCardLib.Tests/API/SuitExtensionsTest.cs | ghcode:00002:6361970368b9 | mit | codeparrot/github-code | 6361970368b96e8630950bb13c3c42e0c1732a720ef8320c1f000cff3d621f21 | 0.6 | testing_debugging_repair_refactoring | 222 | false | 2026-07-17 |
namespace Amazon.Sqs.Models.Tests
{
public class DeleteMessageBatchResponseTests
{
[Fact]
public void Parse()
{
string xmlText = @"
<DeleteMessageBatchResponse xmlns=""http://queue.amazonaws.com/doc/2012-11-05/"">
<DeleteMessageBatchResult>
<DeleteMessageBatchResultEntry>
... | carbon/Amazon | src/Amazon.Sqs.Tests/Models/DeleteMessageBatchResponseTests.cs | https://github.com/carbon/Amazon/blob/HEAD/src/Amazon.Sqs.Tests/Models/DeleteMessageBatchResponseTests.cs | ghcode:00002:53db28e78c7e | mit | codeparrot/github-code | 53db28e78c7e0dcc7895f959ed25c38197ee75c5d6f3716aaed623e8838caf85 | 0.75 | testing_debugging_repair_refactoring | 245 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UITesting.HtmlControls;
namespace CodedUIAgilityPack.Controls.Interfaces
{
/// <summary>
/// Interface representing Button control
/// </summary>
public interface IButtonControls
{
/// <summary>
/// Localizate the button based on the css class... | quintelab/CodedUIAgilityPack | CodedUIAgilityPack/Controls/Interfaces/IButtonControls.cs | https://github.com/quintelab/CodedUIAgilityPack/blob/HEAD/CodedUIAgilityPack/Controls/Interfaces/IButtonControls.cs | ghcode:00002:0acf090cc63c | mit | codeparrot/github-code | 0acf090cc63c19e17b8c67671c4f8266656cc29ee30f0f24dca273cd54b821a1 | 0.7 | testing_debugging_repair_refactoring | 203 | false | 2026-07-17 |
using Xunit;
using System;
namespace Aoite.Redis
{
public class RedisScriptTests
{
[Fact()]
public void EvalTest()
{
using(var mock = new MockConnector("localhost", 9999, "*4\r\n$4\r\nkey1\r\n$4\r\nkey2\r\n$5\r\nfirst\r\n$6\r\nsecond\r\n"))
using(var redis = new... | treenew/Aoite | tests/Aoite.Tests/Aoite/Redis/RedisScriptTests.cs | https://github.com/treenew/Aoite/blob/HEAD/tests/Aoite.Tests/Aoite/Redis/RedisScriptTests.cs | ghcode:00002:598a871ca3ad | apache-2.0 | codeparrot/github-code | 598a871ca3ad41d00fa0d655921d9eff0b19a7e6887b3c4a9f5db35d9ff91d0c | 0.75 | testing_debugging_repair_refactoring | 1,035 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging.Abstractions;
using Xunit;
namespac... | aspnet/AspNetCore | src/Mvc/Mvc.Core/test/ModelBinding/Binders/KeyValuePairModelBinderTest.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/Mvc.Core/test/ModelBinding/Binders/KeyValuePairModelBinderTest.cs | ghcode:00002:4ff718662960 | apache-2.0 | codeparrot/github-code | 4ff71866296040c328759f5ebc4e38372479ac6b52c579bdd99e3b4402fcb99a | 0.95 | testing_debugging_repair_refactoring | 1,734 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright company="nBuildKit">
// Copyright (c) nBuildKit. All rights reserved.
// Licensed under the Apache License, Version 2.0 license. See LICENCE.md file in the project root for full license information.
// </copyright>
//---------... | pvandervelde/nBuildKit | src/nbuildkit/tasks/Test.Unit.MsBuild.Tasks/Web/WebDownloadTest.cs | https://github.com/pvandervelde/nBuildKit/blob/HEAD/src/nbuildkit/tasks/Test.Unit.MsBuild.Tasks/Web/WebDownloadTest.cs | ghcode:00002:a63bf1cb2708 | apache-2.0 | codeparrot/github-code | a63bf1cb27080322f9068af0b848cfea37278e7aceb30f5e243f36715c8b17dc | 0.7 | testing_debugging_repair_refactoring | 1,997 | 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.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft... | physhi/roslyn | src/Compilers/CSharp/Portable/Symbols/Source/SourcePropertyAccessorSymbol.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Source/SourcePropertyAccessorSymbol.cs | ghcode:00002:9a62509021e4 | apache-2.0 | codeparrot/github-code | 9a62509021e47e62bac4289c9e7e21025aa91fc070e935d61de929b8c0e0e561 | 0.85 | testing_debugging_repair_refactoring | 5,991 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using TheFoundLinq.Extensions;
namespace TheFoundLinq.Tests
{
[TestFixture]
public class ExtensionTests
{
[Test]
[TestCase("CommonPropertyValue")]
[TestCase(null)]
public void Test_Dis... | Kayes-Islam/TheFoundLinq | TheFoundLinq.Tests/ExtensionTests.cs | https://github.com/Kayes-Islam/TheFoundLinq/blob/HEAD/TheFoundLinq.Tests/ExtensionTests.cs | ghcode:00002:5c801e4af991 | apache-2.0 | codeparrot/github-code | 5c801e4af991aa64f9ae2030203670cf449ae3ace03e543de7b5228a546a9107 | 0.75 | testing_debugging_repair_refactoring | 1,180 | 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... | akromm/azure-sdk-tools | WindowsAzurePowershell/src/Management.ScenarioTest/WebsitesTests/WebsitesTests.cs | https://github.com/akromm/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.ScenarioTest/WebsitesTests/WebsitesTests.cs | ghcode:00002:320043130933 | apache-2.0 | codeparrot/github-code | 320043130933e7a8fbe8904a822a22a876a582f5f3d9bb217f6c4cba09f944e2 | 0.95 | testing_debugging_repair_refactoring | 1,351 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Moq;
using NDatabase.Meta;
using NDatabase.Tool.Wrappers;
using NDatabase.UnitTests.TestData;
using NUnit.Framework;
namespace NDatabase.UnitTests.Bugs.Compability
{
public class When_storing_the_same_class_with_different_versions
{
[Te... | WaltChen/NDatabase | tests/NDatabase.UnitTests/Bugs/Compability/When_storing_the_same_class_with_different_versions.cs | https://github.com/WaltChen/NDatabase/blob/HEAD/tests/NDatabase.UnitTests/Bugs/Compability/When_storing_the_same_class_with_different_versions.cs | ghcode:00002:3814e13f95cd | apache-2.0 | codeparrot/github-code | 3814e13f95cd5acdfe82dae01cf314aed6e6cc0b6fae5bff705248cef1773995 | 0.75 | testing_debugging_repair_refactoring | 290 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using System.Thr... | aspnet/AspNetCore | src/Servers/Kestrel/test/FunctionalTests/Http2/ShutdownTests.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Servers/Kestrel/test/FunctionalTests/Http2/ShutdownTests.cs | ghcode:00002:2ff6a4346b4e | apache-2.0 | codeparrot/github-code | 2ff6a4346b4e5f5dfee9cbdda6cff533ad17e75e2b744c092d0dac5c5bde126d | 0.95 | testing_debugging_repair_refactoring | 1,318 | false | 2026-07-17 |
/*
* Licensed to SharpSoftware under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* SharpSoftware licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not us... | itinero/routing | test/Itinero.Test/Algorithms/Contracted/EdgeBased/BidirectionalDykstraTests.cs | https://github.com/itinero/routing/blob/HEAD/test/Itinero.Test/Algorithms/Contracted/EdgeBased/BidirectionalDykstraTests.cs | ghcode:00002:87a3e9942a7e | apache-2.0 | codeparrot/github-code | 87a3e9942a7e09c478599b7045e749d3338c36ec8792a10b0292b9e9d29e0429 | 0.85 | testing_debugging_repair_refactoring | 7,313 | false | 2026-07-17 |
using Nest;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Tests.Framework.MockData;
using static Nest.Infer;
namespace Tests.QueryDsl.Geo.Shape.IndexedShape
{
/**
* The GeoShape IndexedShape Query supports using a shape which has already been indexed in another index... | CSGOpenSource/elasticsearch-net | src/Tests/QueryDsl/Geo/Shape/IndexedShape/GeoShapeIndexedShapeQueryUsageTests.cs | https://github.com/CSGOpenSource/elasticsearch-net/blob/HEAD/src/Tests/QueryDsl/Geo/Shape/IndexedShape/GeoShapeIndexedShapeQueryUsageTests.cs | ghcode:00002:aa1cf15da724 | apache-2.0 | codeparrot/github-code | aa1cf15da724575ad6121cfb23d89b592cd80bd4f534263ad9db3e72f59c687b | 0.85 | testing_debugging_repair_refactoring | 616 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace Test_2_1.Controllers
{
/// <summary>
/// This controller implements all of the tests for this app.
/// </summary>
[Route("/")]
public class TestsController : C... | GoogleCloudPlatform/aspnet-docker | integration_tests/apps/test-2.1/Controllers/TestsController.cs | https://github.com/GoogleCloudPlatform/aspnet-docker/blob/HEAD/integration_tests/apps/test-2.1/Controllers/TestsController.cs | ghcode:00002:681b22b91a3d | apache-2.0 | codeparrot/github-code | 681b22b91a3de5d143c7ed4984f4fbaa62c3148b224ee0b4d4f1e64ab7ed70b2 | 0.85 | testing_debugging_repair_refactoring | 124 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Bjd.Net;
using Bjd.DnsServer;
using Xunit;
namespace DnsServerTest
{
public class RrDbTest_initSoa
{
[Fact]
public void 予め同一ドメインのNSレコードが有る場合成功する()
{
//setUp
RrDb sut =... | darkcrash/bjd5 | Bjd.DnsServer.Test/RrDbTest_InitSoa.cs | https://github.com/darkcrash/bjd5/blob/HEAD/Bjd.DnsServer.Test/RrDbTest_InitSoa.cs | ghcode:00002:0cbd0f025f0f | apache-2.0 | codeparrot/github-code | 0cbd0f025f0fda7f740e549664cf360e9e0c0b50b0ad9ac1d8e400ef2ba86f43 | 0.7 | testing_debugging_repair_refactoring | 819 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using JetBrains.Application;
using JetBrains.Metadata.Utils;
using JetBrains.ReSharper.Psi.Impl.Reflection2.ExternalAnnotations;
using JetBrains.Util;
namespace XunitContrib.Runner.ReSharper.Tests.AcceptanceTests.Annotations
{
[ShellComponent]
public class Exter... | derigel23/resharper-xunit | resharper/test/src/tests/AcceptanceTests/Annotations/ExternalAnnotationsProvider.cs | https://github.com/derigel23/resharper-xunit/blob/HEAD/resharper/test/src/tests/AcceptanceTests/Annotations/ExternalAnnotationsProvider.cs | ghcode:00002:bcba31df05c9 | apache-2.0 | codeparrot/github-code | bcba31df05c912a760162c4f53270becb6e3b23e02fd869f3552872d1f31fed3 | 0.85 | testing_debugging_repair_refactoring | 365 | false | 2026-07-17 |
namespace AdventureWorks.Repository.Test.Model.Purchasing
{
using Person;
using Production;
public class PurchaseOrderDetail
{
public Product Product{ get; set; }
public PurchaseOrderHeader PurchaseOrderHeader{ get; set; }
public System.DateTime DueDate{ get; set; }
public System.Decimal LineTotal{ ... | krzysztofkolek/AdventureWorksAPI | AdventureWorks.Repository.Test.Model/Purchasing/PurchaseOrderDetail.cs | https://github.com/krzysztofkolek/AdventureWorksAPI/blob/HEAD/AdventureWorks.Repository.Test.Model/Purchasing/PurchaseOrderDetail.cs | ghcode:00002:708a367da996 | apache-2.0 | codeparrot/github-code | 708a367da996f1b54039a37508594991596cfd07ba5f3e08acf9105b668595e6 | 0.75 | testing_debugging_repair_refactoring | 170 | false | 2026-07-17 |
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2022 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | JeffreySu/WeiXinMPSDK | src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/ResponseMessageFactoryTest.cs | https://github.com/JeffreySu/WeiXinMPSDK/blob/HEAD/src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/ResponseMessageFactoryTest.cs | ghcode:00002:f6eee4dcebc0 | apache-2.0 | codeparrot/github-code | f6eee4dcebc0f4bde2ae7d62143d8ff4642945ca2221a2ec2d14a8e585b43e40 | 0.7 | testing_debugging_repair_refactoring | 1,587 | false | 2026-07-17 |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
usin... | xamarin/azure-mobile-services | sdk/xamarin/android/src/Microsoft.Azure.Zumo.Android/Table/Serialization/SerializableMember.cs | https://github.com/xamarin/azure-mobile-services/blob/HEAD/sdk/xamarin/android/src/Microsoft.Azure.Zumo.Android/Table/Serialization/SerializableMember.cs | ghcode:00002:d384fbe125dc | apache-2.0 | codeparrot/github-code | d384fbe125dca001544ed8c878c07db2ff1ec20fd2dd94b4b3101fc86c486b6a | 0.8 | testing_debugging_repair_refactoring | 896 | false | 2026-07-17 |
// Copyright (c) Martin Costello, 2016. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using System.Runtime.CompilerServices;
using MartinCostello.Website.Pages;
namespace MartinCostello.Website;
/// <summary>
/// The base class ... | martincostello/website | tests/Website.Tests.Shared/UITest.cs | https://github.com/martincostello/website/blob/HEAD/tests/Website.Tests.Shared/UITest.cs | ghcode:00002:7680d3e33759 | apache-2.0 | codeparrot/github-code | 7680d3e33759ca570663ca7605dccd03fdf629d6816060b14ae1ebba0588b239 | 0.85 | testing_debugging_repair_refactoring | 1,186 | 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.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.PopulateSwitch;
... | kelltrick/roslyn | src/EditorFeatures/CSharpTest/PopulateSwitch/PopulateSwitchTests.cs | https://github.com/kelltrick/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/PopulateSwitch/PopulateSwitchTests.cs | ghcode:00002:8d7ad30da48e | apache-2.0 | codeparrot/github-code | 8d7ad30da48ec92f178039a8199f1cf3c33346778d8c1854f68e23b601867d0d | 0.75 | testing_debugging_repair_refactoring | 4,043 | false | 2026-07-17 |
namespace FlatBuffers.Tests.TestTypes
{
public class TestTableWithStruct
{
public TestStruct1 StructProp { get; set; }
public int IntProp { get; set; }
}
} | evolutional/flatbuffers-net | FlatBuffers-net.Tests/TestTypes/TestTableWithStruct.cs | https://github.com/evolutional/flatbuffers-net/blob/HEAD/FlatBuffers-net.Tests/TestTypes/TestTableWithStruct.cs | ghcode:00002:c17ed6f46eab | apache-2.0 | codeparrot/github-code | c17ed6f46eabb9f721864fa77e0734077bc658ea68b51eb6bf1464f87964caa3 | 0.5 | testing_debugging_repair_refactoring | 45 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using RemoteExecution.Channels;
using RemoteExecution.Config;
using RemoteExecution.Connections;
using RemoteExecution.Dispatchers;
using RemoteExecution.Endpoints;
using RemoteExecution.Endpoints.Listeners;
using RemoteExecution.Serializers;
namespace RemoteExecution.Tr... | Suremaker/RemoteExecution-Net | RemoteExecution.TransportLayer.Lidgren.IT/IntegrationTests.cs | https://github.com/Suremaker/RemoteExecution-Net/blob/HEAD/RemoteExecution.TransportLayer.Lidgren.IT/IntegrationTests.cs | ghcode:00002:ef0017f8d9a8 | bsd-2-clause | codeparrot/github-code | ef0017f8d9a861c48edffa3e4f17075f95ad5a4719272e331e27b6ccc12de469 | 0.68 | testing_debugging_repair_refactoring | 416 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataExplorer.Application.Layouts.General.Events;
using DataExplorer.Application.Layouts.Location.Commands;
using DataExplorer.Application.Tests.Layouts.Base.Commands;
using DataExplorer.Domain.Layo... | dataexplorer/dataexplorer | Application.Tests/Layouts/Location/Commands/SetYAxisSortOrderCommandHandlerTests.cs | https://github.com/dataexplorer/dataexplorer/blob/HEAD/Application.Tests/Layouts/Location/Commands/SetYAxisSortOrderCommandHandlerTests.cs | ghcode:00002:92f577ccd7f3 | bsd-3-clause | codeparrot/github-code | 92f577ccd7f31da96be2cab9729980dd267aa1f71071506561939f9b055d84e3 | 0.75 | testing_debugging_repair_refactoring | 270 | false | 2026-07-17 |
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD, and Contributors.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System.Linq;
using Xunit;
namespace Moq.Tests.Linq
{
public class MockRepositoryQuerying
{
public class GivenAStrictFactory
{... | Moq/moq4 | tests/Moq.Tests/Linq/MockRepositoryQuerying.cs | https://github.com/Moq/moq4/blob/HEAD/tests/Moq.Tests/Linq/MockRepositoryQuerying.cs | ghcode:00002:d733222843a5 | bsd-3-clause | codeparrot/github-code | d733222843a5ff9c47d94474f9921f807075f8953ac8c3ecb991b97ffa697eae | 0.6 | testing_debugging_repair_refactoring | 747 | false | 2026-07-17 |
namespace NRules.IntegrationTests.TestAssets
{
public class FactType1
{
public string TestProperty { get; set; }
}
} | prashanthr/NRules | src/NRules/Tests/NRules.IntegrationTests/TestAssets/FactType1.cs | https://github.com/prashanthr/NRules/blob/HEAD/src/NRules/Tests/NRules.IntegrationTests/TestAssets/FactType1.cs | ghcode:00002:82d273ee12e0 | mit | codeparrot/github-code | 82d273ee12e09ff410de507fb360e2fef972b2da2c83ead8b268cf88bd44c242 | 0.6 | testing_debugging_repair_refactoring | 33 | false | 2026-07-17 |
namespace Compute.Client.UnitTests.Utilities
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DD.CBU.Compute.Api.Client.Utilities;
using DD.CBU.Compute.Api.Contracts.Requests;
[TestClass]
public class PageableRequestExtensionsTests
{
[TestMethod]
... | samuelchong/Compute.Api.Client | ComputeClient/Compute.Client.UnitTests/Utilities/PageableRequestExtensionsTests.cs | https://github.com/samuelchong/Compute.Api.Client/blob/HEAD/ComputeClient/Compute.Client.UnitTests/Utilities/PageableRequestExtensionsTests.cs | ghcode:00002:06a1f5c43085 | mit | codeparrot/github-code | 06a1f5c430855f024e26c6d32d6a4216e80d50e87a4d8e01cab7d8d123cf7ad3 | 0.75 | testing_debugging_repair_refactoring | 309 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;... | brjohnstmsft/azure-sdk-for-net | sdk/eventhub/Azure.Messaging.EventHubs.Processor/tests/Snippets/Sample04_ProcessingEventsLiveTests.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/eventhub/Azure.Messaging.EventHubs.Processor/tests/Snippets/Sample04_ProcessingEventsLiveTests.cs | ghcode:00002:0253a6cf080d | mit | codeparrot/github-code | 0253a6cf080d6eabde1475769fae93fe6d15111ed5a7a9bf636f0588a7ffa1a1 | 0.95 | testing_debugging_repair_refactoring | 5,012 | 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.Text;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnal... | jmarolf/roslyn | src/Test/Utilities/Portable/Mocks/TestAdditionalText.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Test/Utilities/Portable/Mocks/TestAdditionalText.cs | ghcode:00002:5d849ed5fe15 | mit | codeparrot/github-code | 5d849ed5fe15b2f8df9a0a8870b0d22b93d3a9683525c2ac06164854899971e8 | 0.95 | testing_debugging_repair_refactoring | 182 | 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.Reflection;
using Xunit;
namespace ApiPort.Tests
{
public class AnalyzeOptionsTests
{
/// <summary>
... | mjrousos/dotnet-apiport | tests/ApiPort/ApiPort.Tests/AnalyzeOptionsTests.cs | https://github.com/mjrousos/dotnet-apiport/blob/HEAD/tests/ApiPort/ApiPort.Tests/AnalyzeOptionsTests.cs | ghcode:00002:282f288f0df1 | mit | codeparrot/github-code | 282f288f0df18aa31c150395a58f2567e8345c4fea9197c571ce10d7ced891e9 | 0.85 | testing_debugging_repair_refactoring | 1,065 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.