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 Xunit;
// ReSharper disable IdentifierTypo
// ReSharper disable StringLiteralTypo
namespace Humanizer.Tests
{
public class TupleizeTests
{
[Theory]
[InlineData(1, "single")]
[InlineData(2, "double")]
[InlineData(3, "triple")]
[InlineData(4, "quadruple")]
[... | hazzik/Humanizer | src/Humanizer.Tests.Shared/TupleizeTests.cs | https://github.com/hazzik/Humanizer/blob/HEAD/src/Humanizer.Tests.Shared/TupleizeTests.cs | ghcode:00168:593542eddeb8 | mit | codeparrot/github-code | 593542eddeb8f339f12264f039e59330548f254bb29b272dd886110f33a5403e | 0.75 | testing_debugging_repair_refactoring | 257 | 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 NUnit.Framework;
using osu.Game.Tests.Visual;
namespace osu.Game.Rulesets.EmptyFreeform.Tests
{
[TestFixture]
public class TestSceneOsuPlayer : PlayerTestS... | ppy/osu | Templates/Rulesets/ruleset-empty/osu.Game.Rulesets.EmptyFreeform.Tests/TestSceneOsuPlayer.cs | https://github.com/ppy/osu/blob/HEAD/Templates/Rulesets/ruleset-empty/osu.Game.Rulesets.EmptyFreeform.Tests/TestSceneOsuPlayer.cs | ghcode:00168:074035966dbb | mit | codeparrot/github-code | 074035966dbb2a468c39a151856f7dfbfacf3a38e994684fb2e18f863f655fc1 | 0.75 | testing_debugging_repair_refactoring | 100 | false | 2026-07-17 |
using System;
using Nop.Core.Domain.Customers;
namespace Nop.Core.Domain.Catalog
{
/// <summary>
/// Represents a back in stock subscription
/// </summary>
public partial class BackInStockSubscription : BaseEntity
{
/// <summary>
/// Gets or sets the product variant identifier
... | yonglehou/WebApi | OData/test/E2ETest/WebStack.QA.Test.OData/Common/Models/NopCommerce/Domain/Catalog/BackInStockSubscription.cs | https://github.com/yonglehou/WebApi/blob/HEAD/OData/test/E2ETest/WebStack.QA.Test.OData/Common/Models/NopCommerce/Domain/Catalog/BackInStockSubscription.cs | ghcode:00168:676a37c1794c | mit | codeparrot/github-code | 676a37c1794c4f88f0906d745233d0f6a08e6d27a7294e73c91c75aa812dacf2 | 0.95 | testing_debugging_repair_refactoring | 212 | 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.Diagnostics;
using System.IO;
using System.Linq;
using Syste... | amcasey/roslyn | src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalyzerFileReference.cs | https://github.com/amcasey/roslyn/blob/HEAD/src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalyzerFileReference.cs | ghcode:00168:427454bc6922 | apache-2.0 | codeparrot/github-code | 427454bc6922d64d535e449f653fbac9d0d7c2a023c6c07f3fd63ed885f96e6e | 0.85 | testing_debugging_repair_refactoring | 3,967 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="ODataEntry.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-------------------------------------------... | hotchandanisagar/odata.net | src/Microsoft.OData.Core/ODataEntry.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/src/Microsoft.OData.Core/ODataEntry.cs | ghcode:00168:cfba65778567 | mit | codeparrot/github-code | cfba6577856798b82155043caf6d6c41621934da373e80a48d317d962d206d8f | 0.85 | testing_debugging_repair_refactoring | 2,446 | false | 2026-07-17 |
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System;
using System.Linq;
using NUnit.Framework;
using Sce.Atf;
using Sce.Atf.Adaptation;
using Sce.Atf.Dom;
namespace UnitTests.Atf.Dom
{
[TestFixture]
public class TestDomNodeType : DomTest
{
[Test]
pub... | jethac/ATF | Test/UnitTests/Sce.Atf/Dom/TestDomNodeType.cs | https://github.com/jethac/ATF/blob/HEAD/Test/UnitTests/Sce.Atf/Dom/TestDomNodeType.cs | ghcode:00168:0a6c252cf0e3 | apache-2.0 | codeparrot/github-code | 0a6c252cf0e3cc935ac04313c862260a8e4bb17a7c77f8e1187a61285545d719 | 0.85 | testing_debugging_repair_refactoring | 3,355 | 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.Linq;
using System.Threading.Tasks;
using Xunit;
namespace System.N... | BrennanConroy/corefx | src/System.Net.HttpListener/tests/HttpListenerResponseTests.Cookies.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Net.HttpListener/tests/HttpListenerResponseTests.Cookies.cs | ghcode:00168:d5789c1b5e2d | mit | codeparrot/github-code | d5789c1b5e2d91119738bb39394db2b8d57d4cfbbb3f2261882455a2ef5a4177 | 0.95 | testing_debugging_repair_refactoring | 2,094 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2015 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | msgpack/msgpack-cli | test/NUnitLite/NUnitFramework/framework/Internal/StringUtil.cs | https://github.com/msgpack/msgpack-cli/blob/HEAD/test/NUnitLite/NUnitFramework/framework/Internal/StringUtil.cs | ghcode:00168:f0d3bbd355a1 | apache-2.0 | codeparrot/github-code | f0d3bbd355a122b4c982b3cb54bd1b90ef2d4a636eac332eaf5a5ae43291ddc3 | 0.85 | testing_debugging_repair_refactoring | 622 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="DomainConstraint.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//
// @owner [....]
// @backupOwner [....]
//---------------------------------------------------------... | sekcheong/referencesource | System.Data.Entity/System/Data/Common/Utils/Boolean/DomainConstraint.cs | https://github.com/sekcheong/referencesource/blob/HEAD/System.Data.Entity/System/Data/Common/Utils/Boolean/DomainConstraint.cs | ghcode:00168:7387913224ef | mit | codeparrot/github-code | 7387913224ef946c476e8ccd940b0c753a9b3e61390dabfee36ce12c3f6cd830 | 0.7 | testing_debugging_repair_refactoring | 1,188 | false | 2026-07-17 |
using System.Linq;
using FluentAssertions;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
namespace Nest.Tests.Integration.Aggregations
{
[TestFixture]
public class NestedBucketAggregationTests : IntegrationTests
{
[Test]
public void Terms()
{
var results = this.Client.Search<ElasticsearchProjec... | joehmchan/elasticsearch-net | src/Tests/Nest.Tests.Integration/Aggregations/NestedBucketAggregationTests.cs | https://github.com/joehmchan/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Integration/Aggregations/NestedBucketAggregationTests.cs | ghcode:00168:b6578a5cff5c | apache-2.0 | codeparrot/github-code | b6578a5cff5cb0d6b91c323f6e03de95da0a6b50ba34fab73296742d87b1785a | 0.95 | testing_debugging_repair_refactoring | 919 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2007 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, inclu... | passaro/nunit | src/NUnitFramework/tests/Internal/CallContextTests.cs | https://github.com/passaro/nunit/blob/HEAD/src/NUnitFramework/tests/Internal/CallContextTests.cs | ghcode:00168:eef14aea24e8 | mit | codeparrot/github-code | eef14aea24e81fbbe068b4d53327b43945508547ecf262b68c79b6a8e14c0576 | 0.95 | testing_debugging_repair_refactoring | 1,072 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using OLEDB.Test.ModuleCore;
using Xunit;
namespace System.Xml.Tests
{
public partial class CNameTableTestModul... | benpye/corefx | src/System.Xml.ReaderWriter/tests/Readers/NameTable/CNameTableTestModule.cs | https://github.com/benpye/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/Readers/NameTable/CNameTableTestModule.cs | ghcode:00168:08212d90b9b8 | mit | codeparrot/github-code | 08212d90b9b8d3719c07b3742926f11a2a24eecdf0eff1db8cca50ac1cb25985 | 0.95 | testing_debugging_repair_refactoring | 1,036 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Diagnostics;
namespace Test
{
public class TaskContinueWith_ContFuncA... | vs-team/corefx | src/System.Threading.Tasks/tests/Task/TaskContinueWith_ContFuncAndActionWithArgsTests.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Threading.Tasks/tests/Task/TaskContinueWith_ContFuncAndActionWithArgsTests.cs | ghcode:00168:980ccd3fb720 | mit | codeparrot/github-code | 980ccd3fb72032f26761467d53b09f743d4c4d6a625fc8241baa6c25b36c3ad3 | 0.95 | testing_debugging_repair_refactoring | 6,796 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Test.Utilities;
using Roslyn.Test.Utilities.Parallel;
using Xunit;
namespace M... | hanu412/roslyn | src/EditorFeatures/CSharpTest/Recommendations/ModuleKeywordRecommenderTests.cs | https://github.com/hanu412/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Recommendations/ModuleKeywordRecommenderTests.cs | ghcode:00168:1e16d3c4f00d | apache-2.0 | codeparrot/github-code | 1e16d3c4f00d8db27618ade124944048262456ad78b39d827ec4aac2f8a9c76c | 0.75 | testing_debugging_repair_refactoring | 1,106 | false | 2026-07-17 |
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using Rhino.Mocks;
using Xunit;
namespace ServiceStack.Text.EnumMemberSerializer.UnitTests
{
[ExcludeFromCodeCoverage]
public class FieldInfoExtensionsTests
{
private const string MyFieldName = "MyFieldsName";
[Fact]
... | piotr-g/ServiceStack.Text.EnumMemberSerializer | src/ServiceStack.Text.EnumMemberSerializer.UnitTests/FieldInfoExtensionsTests.cs | https://github.com/piotr-g/ServiceStack.Text.EnumMemberSerializer/blob/HEAD/src/ServiceStack.Text.EnumMemberSerializer.UnitTests/FieldInfoExtensionsTests.cs | ghcode:00168:6e00c31e4281 | mit | codeparrot/github-code | 6e00c31e42814cb982fb7942740720d6534f3f9bf56a89b48a66f7dd211d1161 | 0.75 | testing_debugging_repair_refactoring | 420 | 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 3... | SonarSource-VisualStudio/sonarlint-visualstudio | src/TestInfrastructure/Helpers/KnownUIContextsAccessor.cs | https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/blob/HEAD/src/TestInfrastructure/Helpers/KnownUIContextsAccessor.cs | ghcode:00168:01f8f48f00df | mit | codeparrot/github-code | 01f8f48f00dfd5d29ca000db14d64f18d97ec44c7b4baf7ef5e0bedbc55aa0b5 | 0.75 | testing_debugging_repair_refactoring | 504 | false | 2026-07-17 |
// This file is part of the C5 Generic Collection Library for C# and CLI
// See https://github.com/sestoft/C5/blob/master/LICENSE for licensing details.
using NUnit.Framework;
using System;
namespace C5.Tests.hashtable.bag
{
using CollectionOfInt = HashBag<int>;
[TestFixture]
public class GenericTesters
... | sestoft/C5 | C5.Tests/Hashing/HashBagTests.cs | https://github.com/sestoft/C5/blob/HEAD/C5.Tests/Hashing/HashBagTests.cs | ghcode:00168:9b36cf234d65 | mit | codeparrot/github-code | 9b36cf234d65d0fd8fab0a1d0e1da22d1553d69d7533a167c94b79d0244a7e5a | 0.85 | testing_debugging_repair_refactoring | 5,044 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace AMZTest
{
public struct Student
{
public int score;
public int student_id;
public DateTime date;
}
public class StudentScoreBoard
{
class ScoreC... | SungwooNam/ProgrammingStudy | src/CodingSkill/CSharpCoding/FindMax5Scores.cs | https://github.com/SungwooNam/ProgrammingStudy/blob/HEAD/src/CodingSkill/CSharpCoding/FindMax5Scores.cs | ghcode:00168:ee29a344ea14 | mit | codeparrot/github-code | ee29a344ea1474442f14ad37c620768f2f769b86ff4e0da56348d9482de5a89a | 0.7 | testing_debugging_repair_refactoring | 527 | false | 2026-07-17 |
namespace Ocelot.UnitTests.Logging
{
using Microsoft.Extensions.Logging;
using Moq;
using Ocelot.Infrastructure.RequestData;
using Ocelot.Logging;
using System;
using Xunit;
public class AspDotNetLoggerTests
{
private readonly Mock<ILogger<object>> _coreLogger;
private r... | geffzhang/Ocelot | test/Ocelot.UnitTests/Logging/AspDotNetLoggerTests.cs | https://github.com/geffzhang/Ocelot/blob/HEAD/test/Ocelot.UnitTests/Logging/AspDotNetLoggerTests.cs | ghcode:00168:707c15f1c791 | mit | codeparrot/github-code | 707c15f1c7913ebdc2147273b53ab0ad2f68f28127923955643bb00ad1ab47af | 0.75 | testing_debugging_repair_refactoring | 595 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using NUnit.Framework;
using ZptSharp.Config;
using ZptSharp.Util;
namespace ZptSharp.IntegrationTests
{
[TestFixture, Parallelizable, Category("Integration")]
public class SourceAnnotationIntegrationTests
{
[Test, Descri... | csf-dev/ZPT-Sharp | ZptSharp.Tests/IntegrationTests/SourceAnnotationIntegrationTests.cs | https://github.com/csf-dev/ZPT-Sharp/blob/HEAD/ZptSharp.Tests/IntegrationTests/SourceAnnotationIntegrationTests.cs | ghcode:00168:1ab0fba47d65 | mit | codeparrot/github-code | 1ab0fba47d65bea6a7764ab44cef667e1c950198fc835d51de17c5900721cc2c | 0.75 | testing_debugging_repair_refactoring | 406 | false | 2026-07-17 |
using NUnit.Framework;
using Synergy.Core.Windsor;
namespace Synergy.NHibernate.Test.Transactions
{
[TestFixture]
[DatabaseTest]
public class AutoTransactionTest
{
[Test]
public void automatic_transaction_can_be_disabled()
{
//ARRANGE
IWindsorEngine wind... | synergy-software/synergy.framework | Database/Synergy.NHibernate.Test/Transactions/AutoTransactionTest.cs | https://github.com/synergy-software/synergy.framework/blob/HEAD/Database/Synergy.NHibernate.Test/Transactions/AutoTransactionTest.cs | ghcode:00168:04928e33ffc8 | mit | codeparrot/github-code | 04928e33ffc879bdcf8c5b8c51320a4b7f2bb7f8c32b11e99b3dd8b55b99c13c | 0.85 | testing_debugging_repair_refactoring | 489 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Azure.Monitor.OpenTelemetry.Exporter.Models;
using OpenTelemetry;
name... | Azure/azure-sdk-for-net | sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TestFramework/MockTransmitter.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TestFramework/MockTransmitter.cs | ghcode:00168:9034ae4f4e28 | mit | codeparrot/github-code | 9034ae4f4e28ae46d1b7f92d32528d5ba03eb9dc65867f5ec111a07d6125aa98 | 0.85 | testing_debugging_repair_refactoring | 215 | false | 2026-07-17 |
using NUnit.Framework;
//[assembly: Timeout(5*000)] | NimbusAPI/Nimbus | src/Nimbus.Tests.Unit/GlobalTestTimeout.cs | https://github.com/NimbusAPI/Nimbus/blob/HEAD/src/Nimbus.Tests.Unit/GlobalTestTimeout.cs | ghcode:00168:b730ac78dece | mit | codeparrot/github-code | b730ac78dece37714f94c08b04d958ba51be206bf2a87021c408982f53ad2711 | 0.35 | testing_debugging_repair_refactoring | 15 | false | 2026-07-17 |
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using FluentAssertions;
using Xunit;
namespace Nett.Tests.Internal
{
//TODO: Move to API test once API is adapted
[ExcludeFromCodeCoverage]
public class TomlTests
{
[Fact]
public void ReadFileT_WhenFileNameArgIsNull_... | paiden/Nett | Test/Nett.Tests/TomlTests.cs | https://github.com/paiden/Nett/blob/HEAD/Test/Nett.Tests/TomlTests.cs | ghcode:00168:50925e52aa8a | mit | codeparrot/github-code | 50925e52aa8ab9406377eda7e2bf3e53ea02dbe86c7f8e19fb74a764a735d07c | 0.75 | testing_debugging_repair_refactoring | 1,594 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Nucleo.Web.ClientRegistration
{
[TestClass]
public class ClientDescriptorEventTest
{
#region " Tests "
[TestMethod]
public void CreatingTheEventWithoutTheEventHandlerPropertyWork... | brianmains/Nucleo.NET | src/Nucleo.UnitTests.40.MS/Web/ClientRegistration/ClientDescriptorEventTest.cs | https://github.com/brianmains/Nucleo.NET/blob/HEAD/src/Nucleo.UnitTests.40.MS/Web/ClientRegistration/ClientDescriptorEventTest.cs | ghcode:00168:bc08e7a854c2 | mit | codeparrot/github-code | bc08e7a854c27904d19500a37946ddb484eb7528d6f20db2ffbceb39b4cfd913 | 0.85 | testing_debugging_repair_refactoring | 239 | false | 2026-07-17 |
using Pomelo.DotNetClient;
using System;
using System.Collections.Generic;
using SimpleJson;
namespace Pomelo.DotNetClient.Test
{
public class TransportTest
{
static List<byte[]> result = new List<byte[]>();
public static byte[] genBuffer(int count)
{
int size = count + 6;
... | sonth3vn/DFTChess | Assets/pomelo-dotnetClient/src/transport/test/TransportTest.cs | https://github.com/sonth3vn/DFTChess/blob/HEAD/Assets/pomelo-dotnetClient/src/transport/test/TransportTest.cs | ghcode:00168:75898d273280 | mit | codeparrot/github-code | 75898d2732809c8057cc7235bc34cbe5401666a553151a04a1605c8a3bc539a9 | 0.95 | testing_debugging_repair_refactoring | 798 | false | 2026-07-17 |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | Squidex/squidex | backend/tests/Squidex.Infrastructure.Tests/UsageTracking/BackgroundUsageTrackerTests.cs | https://github.com/Squidex/squidex/blob/HEAD/backend/tests/Squidex.Infrastructure.Tests/UsageTracking/BackgroundUsageTrackerTests.cs | ghcode:00168:f26e3d7961c6 | mit | codeparrot/github-code | f26e3d7961c6d9c6a3393eb00ff1e1f5a70a01fd3bff11ef5d80e49722c60338 | 0.95 | testing_debugging_repair_refactoring | 2,257 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Cumulus.StressTests
{
public abstract class TestHandler
{
private int numberOfMessagesReceived;
public int NumberOfMessagesReceived
{
... | AtmosphereMessaging/Cumulus | src/Tests/Cumulus.StressTests/TestHandler.cs | https://github.com/AtmosphereMessaging/Cumulus/blob/HEAD/src/Tests/Cumulus.StressTests/TestHandler.cs | ghcode:00168:64d588292c7d | mit | codeparrot/github-code | 64d588292c7db8b93bddaf0cb6d829f456844bda6b6bda2ce6bd60fe0bd142e5 | 0.85 | testing_debugging_repair_refactoring | 231 | false | 2026-07-17 |
#if LESSTHAN_NET35
extern alias nunitlinq;
#endif
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, me... | theraot/Theraot | Tests/System/Linq/Expressions/ExpressionTest_Lambda.cs | https://github.com/theraot/Theraot/blob/HEAD/Tests/System/Linq/Expressions/ExpressionTest_Lambda.cs | ghcode:00168:914a0cb0bf8b | mit | codeparrot/github-code | 914a0cb0bf8b9f26c200ba83f5d665e3071133413777bac0d94d7cf374a96908 | 0.85 | testing_debugging_repair_refactoring | 1,918 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
using static malloc;
using static stdio;
using static crtdbg;
using static stdlib;
namespace xpInterop.msvcrt.Test
{
[TestClass]
public sealed class MemoryAllocTest
{
[TestMethod... | ClouDeveloper/xpInterop | xpInterop.msvcrt.Test/MemoryAllocTest.cs | https://github.com/ClouDeveloper/xpInterop/blob/HEAD/xpInterop.msvcrt.Test/MemoryAllocTest.cs | ghcode:00168:7c664036bc40 | mit | codeparrot/github-code | 7c664036bc4087e9e534f6966c6f79186ec19d70fae293be9d74b5f41e467269 | 0.7 | testing_debugging_repair_refactoring | 1,560 | 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.ComponentModel;
using osu.Framework.Allocation;
using osu.Game.Screens.Tournament;
using osu.Game.Screens.Tournament.Teams... | DrabWeb/osu | osu.Game.Tests/Visual/Tournament/TestCaseDrawings.cs | https://github.com/DrabWeb/osu/blob/HEAD/osu.Game.Tests/Visual/Tournament/TestCaseDrawings.cs | ghcode:00168:23d5af613525 | mit | codeparrot/github-code | 23d5af613525261ac41ee8770af589dcaf49fd42f80257105785a7a1b39fa89a | 0.75 | testing_debugging_repair_refactoring | 459 | false | 2026-07-17 |
// ReSharper disable RedundantNameQualifier
// ReSharper disable InconsistentNaming
namespace Gu.Analyzers.Benchmarks.Benchmarks
{
public class GU0052ExceptionShouldBeSerializableBenchmarks
{
private static readonly Gu.Roslyn.Asserts.Benchmark Benchmark = Gu.Roslyn.Asserts.Benchmark.Create(Code.Analyzer... | JohanLarsson/Gu.Analyzers | Gu.Analyzers.Benchmarks/Benchmarks/GU0052ExceptionShouldBeSerializableBenchmarks.cs | https://github.com/JohanLarsson/Gu.Analyzers/blob/HEAD/Gu.Analyzers.Benchmarks/Benchmarks/GU0052ExceptionShouldBeSerializableBenchmarks.cs | ghcode:00168:64d7a3f46b45 | mit | codeparrot/github-code | 64d7a3f46b45111dee66fb980c75bc366daf22e636eb9e0fda8f28f5c5b43e49 | 0.75 | testing_debugging_repair_refactoring | 122 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
namespace NUnit.Framework.Constraints
{
/// <summary>
/// Represents a constraint that succeeds if none of the
/// members of a collection match a base constraint.
/// </summary>
public class NoneOperator :... | nunit/nunit | src/NUnitFramework/framework/Constraints/Operators/NoneOperator.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/framework/Constraints/Operators/NoneOperator.cs | ghcode:00168:5e9d504517b6 | mit | codeparrot/github-code | 5e9d504517b64c02c0247747c72cbe986e9bb1f734d6bacf67d9833d65bbfd59 | 0.85 | testing_debugging_repair_refactoring | 141 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
namespace Moqzilla
{
public class MockerException : Exception
{
internal MockerException(MockerExceptionType exceptionType)
: base(GetMessageFromExceptionType(exceptionType))
{
}
private static stri... | SaxxonPike/Moqzilla | src/Moqzilla/MockerException.cs | https://github.com/SaxxonPike/Moqzilla/blob/HEAD/src/Moqzilla/MockerException.cs | ghcode:00168:5eefd0f3bd4a | mit | codeparrot/github-code | 5eefd0f3bd4a759236fe32a151e653ff8101366e12c8fe152aa84042bccd1164 | 0.6 | testing_debugging_repair_refactoring | 126 | false | 2026-07-17 |
namespace UnitTestsKingSurvival.Game
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using KingSurvival.Game.Common;
[TestClass]
public class GameValidatorTests
{
[TestMethod]
[TestCategory("ExpectingExceptions")]
[ExpectedException(typeof(Argument... | tanzhur/Game | KingSurvival/UnitTestsKingSurvival.Game/GameValidatorTests.cs | https://github.com/tanzhur/Game/blob/HEAD/KingSurvival/UnitTestsKingSurvival.Game/GameValidatorTests.cs | ghcode:00168:81f830a25b7f | mit | codeparrot/github-code | 81f830a25b7f9885210bf73d323eb3694a65da942581a38613cc882686ce408e | 0.75 | testing_debugging_repair_refactoring | 271 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using MappingGenerator.Acceptance.TestDataObjects;
using Ploeh.AutoFixture;
namespace MappingGenerator.Acceptance
{
public class MappingCreatorAcceptance
{
MappingCreator _m... | valbers/MappingGenerator | src/MappingGenerator.Acceptance/MappingCreatorAcceptance.cs | https://github.com/valbers/MappingGenerator/blob/HEAD/src/MappingGenerator.Acceptance/MappingCreatorAcceptance.cs | ghcode:00168:42873c8afb71 | mit | codeparrot/github-code | 42873c8afb714d31237e9b7254f5e59236c0bc83e1b84a28daed58d0b998639c | 0.6 | testing_debugging_repair_refactoring | 219 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NUnit.Framework;
namespace HobknobClientNet.Tests.Scenarios
{
internal class TestBase
{
protected EtcdClientForTests EtcdClient;
protected IHobknobClient HobknobClient;
private string _applicationName;
// Value configured f... | opentable/hobknob-client-net | test/Scenarios/TestBase.cs | https://github.com/opentable/hobknob-client-net/blob/HEAD/test/Scenarios/TestBase.cs | ghcode:00168:91b541a54304 | mit | codeparrot/github-code | 91b541a543046da3a8ff1742f3904a076e26c0f9a261fff0699615dff9ac53c2 | 0.75 | testing_debugging_repair_refactoring | 992 | false | 2026-07-17 |
namespace Supa.Platform.Tests
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Supa.Platform.TestDoubles;
[TestClass]
public class TfsServiceProviderSimulatorTests : TfsServiceProviderTestsBase
{
private static int parentWorkItemId;
private... | codito/supa | tests/Supa.Platform.Tests/TfsServiceProviderSimulatorTests.cs | https://github.com/codito/supa/blob/HEAD/tests/Supa.Platform.Tests/TfsServiceProviderSimulatorTests.cs | ghcode:00168:7eff5c799b59 | mit | codeparrot/github-code | 7eff5c799b59992d64c78b369409941db0d37f87978fc86650ec9da00bf89dcf | 0.75 | testing_debugging_repair_refactoring | 252 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using Faker.Extensions;
namespace Faker.Tests
{
[TestClass]
public class ExtensionTests
{
[TestMethod]
public void GetRandomElement()
{
var list = new List<int>()
... | FermJacob/Faker.Data | Faker/Faker.Tests/ExtensionTests.cs | https://github.com/FermJacob/Faker.Data/blob/HEAD/Faker/Faker.Tests/ExtensionTests.cs | ghcode:00168:fc385db08600 | mit | codeparrot/github-code | fc385db08600210071cb02577d652f35736f560971526edc64146550a3b396fc | 0.75 | testing_debugging_repair_refactoring | 179 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using AsyncOAuth;
using FluentAssertions;
using NUnit.Framework;
using Withings.NET.Client;
using Withings.NET.Models;
namespace Withings.Specifications
{
[TestFixture]
public class AuthenticatorTests
{
Authenticator _authenticator;
... | atbyrd/Withings.NET | Withings.Specifications/AuthenticatorTests.cs | https://github.com/atbyrd/Withings.NET/blob/HEAD/Withings.Specifications/AuthenticatorTests.cs | ghcode:00168:de092f7723f0 | mit | codeparrot/github-code | de092f7723f0d596c980e2c417b9ff284b0bf4517d4d298f29021438ef881a8c | 0.75 | testing_debugging_repair_refactoring | 338 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2020-2021 Charlie Poole, Terje Sandstrom
//
// 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 wit... | nunit/nunit3-vs-adapter | src/NUnitTestAdapterTests/NUnitEngineTests/NUnitTestCaseTests.cs | https://github.com/nunit/nunit3-vs-adapter/blob/HEAD/src/NUnitTestAdapterTests/NUnitEngineTests/NUnitTestCaseTests.cs | ghcode:00168:83a197a389d0 | mit | codeparrot/github-code | 83a197a389d01ccc26e5c905030443b26e6f88d380b36f1593378adc61e9b390 | 0.85 | testing_debugging_repair_refactoring | 645 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using System;
using NUnit.Framework.Constraints;
namespace NUnit.Framework.Syntax
{
public class NotOperatorOverride : SyntaxTest
{
[SetUp]
public void SetUp()
{
ParseTree = "<not <nu... | nunit/nunit | src/NUnitFramework/tests/Syntax/OperatorOverrides.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/tests/Syntax/OperatorOverrides.cs | ghcode:00168:5a512b41c784 | mit | codeparrot/github-code | 5a512b41c7848debd0aeb9b7853dc48de84235c95aac9f39ddbcd4abde79d772 | 0.85 | testing_debugging_repair_refactoring | 403 | false | 2026-07-17 |
using System.Linq;
using Marten.Testing.Documents;
using Marten.Testing.Harness;
using Shouldly;
using Xunit;
namespace Marten.Testing.Bugs
{
public class Bug_336_completely_remove_crosses_schema_lines : BugIntegrationContext
{
[Fact]
public void do_not_remove_items_out_of_the_main_schema()
... | mdissel/Marten | src/Marten.Testing/Bugs/Bug_336_completely_remove_crosses_schema_lines.cs | https://github.com/mdissel/Marten/blob/HEAD/src/Marten.Testing/Bugs/Bug_336_completely_remove_crosses_schema_lines.cs | ghcode:00168:bfd8091e390f | mit | codeparrot/github-code | bfd8091e390f711921a96d19e678a50c9a8e7de68c829c0d0ac048c8090a18da | 0.75 | testing_debugging_repair_refactoring | 263 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lab1.Mappers;
using Microsoft.Hadoop.MapReduce;
using NUnit.Framework;
namespace Lab1.Tests
{
[TestFixture]
public class NewUserPurchasesByContinentMapperTests
{
[Test]
public void Con... | LoQIStar/HDInsight-Labs-Preview | Source/Lab1.Tests/NewUserPurchasesByContinentMapperTests.cs | https://github.com/LoQIStar/HDInsight-Labs-Preview/blob/HEAD/Source/Lab1.Tests/NewUserPurchasesByContinentMapperTests.cs | ghcode:00168:a7bbb18fabdd | mit | codeparrot/github-code | a7bbb18fabdd6bd5ed49baef47804aa2d862861cc983e795a25b1a49375dcb50 | 0.85 | testing_debugging_repair_refactoring | 301 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
namespace BenchmarkDotNet.Characteristics
{
public class Resolver : IResolver
{
private readonly Dictionary<Characteristic, Func<CharacteristicObject, object>> resolvers = new Dictionary<Characteristic, Func<CharacteristicObject, object>>();
pro... | Teknikaali/BenchmarkDotNet | src/BenchmarkDotNet.Core/Characteristics/Resolver.cs | https://github.com/Teknikaali/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet.Core/Characteristics/Resolver.cs | ghcode:00168:85e72ae39405 | mit | codeparrot/github-code | 85e72ae39405c7fc6458e48f5b6fb92cb46020af32ad59a5323169581de28b83 | 0.75 | testing_debugging_repair_refactoring | 291 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using Xunit;
namespace NDCRaw.Tests
{
public class NDCRawTests
{
const bool KEEP_TEST_RESULTS = false;
const bool SHOW_COMMAND_LINES = true;
List<string> _files = new List<string>();
... | AerisG222/NDCRaw | test/NDCRaw.Tests/NDCRawTests.cs | https://github.com/AerisG222/NDCRaw/blob/HEAD/test/NDCRaw.Tests/NDCRawTests.cs | ghcode:00168:66da916edb2d | mit | codeparrot/github-code | 66da916edb2da6aa595995e608616eba0e7281c812a9957db3c23c2bb33bd240 | 0.75 | testing_debugging_repair_refactoring | 1,289 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pelasoft.AspNet.Mvc.Slack;
using Webhooks = Slack.Webhooks;
namespace Pelasoft.AspNet.Mvc.Slack.Tests
{
[TestClass]
public class WebHookExceptionReporterTests
{
[TestMe... | peterlanoie/aspnet-mvc-slack | src/Pelasoft.AspNet.Mvc.Slack.Tests/WebHookExceptionReporterTests.cs | https://github.com/peterlanoie/aspnet-mvc-slack/blob/HEAD/src/Pelasoft.AspNet.Mvc.Slack.Tests/WebHookExceptionReporterTests.cs | ghcode:00168:777f19e3bf38 | mit | codeparrot/github-code | 777f19e3bf38625364310b39b3d6a15bb6288479ba84fc1b2b7dd001ae02b21f | 0.75 | testing_debugging_repair_refactoring | 1,222 | false | 2026-07-17 |
using System;
using NUnit.Framework;
#if LIGHT_EXPRESSION
using static FastExpressionCompiler.LightExpression.Expression;
namespace FastExpressionCompiler.LightExpression.IssueTests
#else
using System.Linq.Expressions;
using static System.Linq.Expressions.Expression;
namespace FastExpressionCompiler.IssueTes... | dadhi/FastExpressionCompiler | test/FastExpressionCompiler.IssueTests/Issue88_Constant_from_static_field.cs | https://github.com/dadhi/FastExpressionCompiler/blob/HEAD/test/FastExpressionCompiler.IssueTests/Issue88_Constant_from_static_field.cs | ghcode:00168:dd116f573bc0 | mit | codeparrot/github-code | dd116f573bc017d842daea744486d8b7b577a6f2ca3de50777697a232309aae3 | 0.75 | testing_debugging_repair_refactoring | 227 | false | 2026-07-17 |
using System;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Sockets;
using System.Threading.Tasks;
using Knapcode.TorSharp.Tests.TestSupport;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Xunit;
using Xunit.Abstractions;
namespace Knapcode.TorSharp.Tests
{
public clas... | JSkimming/TorSharp | TorSharp.Tests/EndToEnd.cs | https://github.com/JSkimming/TorSharp/blob/HEAD/TorSharp.Tests/EndToEnd.cs | ghcode:00168:9419712fbc0f | mit | codeparrot/github-code | 9419712fbc0f7f5f0ef2b65af38b33deb633433ab2d91cb0920692fdea641f2b | 0.7 | testing_debugging_repair_refactoring | 785 | false | 2026-07-17 |
namespace AjErl.Tests.Expressions
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AjErl.Expressions;
using AjErl.Language;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class ReceiveExpressionTests
... | ajlopez/AjErl | Src/AjErl.Tests/Expressions/ReceiveExpressionTests.cs | https://github.com/ajlopez/AjErl/blob/HEAD/Src/AjErl.Tests/Expressions/ReceiveExpressionTests.cs | ghcode:00168:7490bb52293f | mit | codeparrot/github-code | 7490bb52293f19d023e413a9d35d80dc87900ceef5125de7e7d49c2eb2b61761 | 0.75 | testing_debugging_repair_refactoring | 250 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit;
using NUnit.Framework;
using Moq;
using ClassLibrary;
namespace Tests {
[TestFixture]
public class CarServiceTest {
private CarService sut;
private Mock<ICarRepository> carRepositoryMock;
pr... | vladhrapov/trainings | testing/materials/003_mock_sample/NUnitTests/CarServiceTestWithStub.cs | https://github.com/vladhrapov/trainings/blob/HEAD/testing/materials/003_mock_sample/NUnitTests/CarServiceTestWithStub.cs | ghcode:00168:ce3fedb41511 | mit | codeparrot/github-code | ce3fedb41511c572b6d126cdc4eecaf8b17897a2ca729b76046b1b62c3e04fb8 | 0.7 | testing_debugging_repair_refactoring | 520 | false | 2026-07-17 |
using System.Linq;
using Nop.Tests;
using NUnit.Framework;
namespace Nop.Data.Tests.Polls
{
[TestFixture]
public class PollPersistenceTests : PersistenceTest
{
[Test]
public void Can_save_and_load_poll()
{
var poll = this.GetTestPoll();
poll.Language = this.... | Anovative/Nop39 | Tests/Nop.Data.Tests/Polls/PollPersistenceTests.cs | https://github.com/Anovative/Nop39/blob/HEAD/Tests/Nop.Data.Tests/Polls/PollPersistenceTests.cs | ghcode:00168:1b5b7b297d4d | mit | codeparrot/github-code | 1b5b7b297d4da9e22fac3ee683ab5f3c4b7053ef48d817b29996589a0145ca0d | 0.75 | testing_debugging_repair_refactoring | 415 | false | 2026-07-17 |
namespace ScalaSharp.Core.Tests.Ast
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ScalaSharp.Core.Ast;
[TestClass]
public class InvokeMethodNodeTests
{
[TestMetho... | ajlopez/ScalaSharp | Src/ScalaSharp.Core.Tests/Ast/InvokeMethodNodeTests.cs | https://github.com/ajlopez/ScalaSharp/blob/HEAD/Src/ScalaSharp.Core.Tests/Ast/InvokeMethodNodeTests.cs | ghcode:00168:5c097b8b59ed | mit | codeparrot/github-code | 5c097b8b59ed5d4f8be97493e9b129088df550451a08c33a80e5509d53c4cfad | 0.75 | testing_debugging_repair_refactoring | 163 | false | 2026-07-17 |
#region License
// Copyright (C) Tomáš Pažourek, 2014
// All rights reserved.
//
// Distributed under MIT license as a part of project Colourful.
// https://github.com/tompazourek/Colourful
#endregion
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
us... | ibebbs/Colourful | src/Colourful.Tests/ColorDifferenceFormulasTest.cs | https://github.com/ibebbs/Colourful/blob/HEAD/src/Colourful.Tests/ColorDifferenceFormulasTest.cs | ghcode:00168:690352bbaa34 | mit | codeparrot/github-code | 690352bbaa340544086950ccc707568cbbb42b87a3830f760234a07b17d4fe05 | 0.7 | testing_debugging_repair_refactoring | 4,104 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Should;
using WebApiContrib.Formatting.MsgPack;
namespace WebApiContrib.Formatting.MsgPack.Tests
{
public class Url
{
public int UrlId... | WebApiContrib/WebApiContrib.Formatting.MsgPack | test/WebApiContrib.Formatting.MsgPack.Tests/MessagePackMediaTypeFormatterTests.cs | https://github.com/WebApiContrib/WebApiContrib.Formatting.MsgPack/blob/HEAD/test/WebApiContrib.Formatting.MsgPack.Tests/MessagePackMediaTypeFormatterTests.cs | ghcode:00168:72ca6c0ade33 | mit | codeparrot/github-code | 72ca6c0ade33746ccb4c5833e378577a87d5a15994252c9df5a09d4f45a26bc4 | 0.75 | testing_debugging_repair_refactoring | 401 | false | 2026-07-17 |
// <copyright file="SelectionStepsFixture.cs">
// Copyright © 2013 Dan Piessens All rights reserved.
// </copyright>
namespace SpecBind.Tests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using SpecBind.ActionPipeline;
using SpecBind.Actions;
using SpecBind.Hel... | dpiessens/specbind | src/SpecBind.Tests/SelectionStepsFixture.cs | https://github.com/dpiessens/specbind/blob/HEAD/src/SpecBind.Tests/SelectionStepsFixture.cs | ghcode:00168:8e1f890cf50d | mit | codeparrot/github-code | 8e1f890cf50d7684cd5a9123c8c0e2be6e033564545f4ce92b2611ce6ab8c027 | 0.7 | testing_debugging_repair_refactoring | 1,210 | false | 2026-07-17 |
using Lucene.Net.Analysis.Standard;
using Lucene.Net.Analysis.TokenAttributes;
using Lucene.Net.Support;
using Lucene.Net.Util;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Lucene.Net.Analysis.Core
{
/*
* Licensed to the ... | laimis/lucenenet | src/Lucene.Net.Tests.Analysis.Common/Analysis/Core/TestUAX29URLEmailTokenizer.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Analysis.Common/Analysis/Core/TestUAX29URLEmailTokenizer.cs | ghcode:00168:80e7e9c96751 | apache-2.0 | codeparrot/github-code | 80e7e9c96751d6c8af6ffb4976baa2f02238879f0d89b3c6be0e6bdcdfeabf53 | 0.85 | testing_debugging_repair_refactoring | 8,705 | false | 2026-07-17 |
// -----------------------------------------------------------------------
// <copyright file="LongBenchmark.cs" company="Asynkron AB">
// Copyright (C) 2015-2020 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System;
using System.Li... | AsynkronIT/protoactor-dotnet | benchmarks/ProtoActorBenchmarks/LongBenchmark.cs | https://github.com/AsynkronIT/protoactor-dotnet/blob/HEAD/benchmarks/ProtoActorBenchmarks/LongBenchmark.cs | ghcode:00168:d433332ef7a9 | apache-2.0 | codeparrot/github-code | d433332ef7a987779bd66a034dfaaecf729d47edf90810ddd319dd6cd73a729f | 0.85 | testing_debugging_repair_refactoring | 524 | false | 2026-07-17 |
// -----------------------------------------------------------------------
// <copyright file="IGetAllQuery.cs">
// Copyright (c) 2013-2015 Andrey Veselov. All rights reserved.
// License: Apache License 2.0
// Contacts: http://andrey.moveax.com andrey@moveax.com
// </copyright>
// ------------------------------------... | VeselovAndrey/LoreKeeper | tests/LoreKeeper.Tests.Core.Dnx/Queries/IGetAllQuery.cs | https://github.com/VeselovAndrey/LoreKeeper/blob/HEAD/tests/LoreKeeper.Tests.Core.Dnx/Queries/IGetAllQuery.cs | ghcode:00168:a0b3e98dde8a | apache-2.0 | codeparrot/github-code | a0b3e98dde8abd79575725445c70aa4b76c853faad683c543ea2a487d4f8aadd | 0.85 | testing_debugging_repair_refactoring | 117 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using System.Threading;
using AsimovDeploy.WinAgent.Web.Commands;
using NUnit.Framework;
using Shouldly;
namespace AsimovDeploy.WinAgent.IntegrationTests.Scenarios.PasswordScenario
{
[TestFixture]
public class PasswordScenario : WinAgentSystemTest
{
... | akselsson/asimov-deploy-winagent | src/AsimovDeploy.WinAgent.IntegrationTests/Scenarios/PasswordScenario/PasswordScenario.cs | https://github.com/akselsson/asimov-deploy-winagent/blob/HEAD/src/AsimovDeploy.WinAgent.IntegrationTests/Scenarios/PasswordScenario/PasswordScenario.cs | ghcode:00168:473bda0fece5 | apache-2.0 | codeparrot/github-code | 473bda0fece520900f4f25104055ee8773aeec750c6dc20f8e3343898e690ceb | 0.6 | testing_debugging_repair_refactoring | 325 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Bio.Algorithms.StringSearch;
using Bio.TestAutomation.Util;
using Bio.Util.Logging;
using NUnit.Framework;
namespace Bio.TestAutomation.Algorithms
{
/// <summary>
/// Boyer Moore BVT Test case implementation.
/// </summary>
[TestFixture]
pu... | dotnetbio/bio | Tests/Bio.Tests/Algorithms/BoyerMooreBvtTestCases.cs | https://github.com/dotnetbio/bio/blob/HEAD/Tests/Bio.Tests/Algorithms/BoyerMooreBvtTestCases.cs | ghcode:00168:a9720e9ebd5b | apache-2.0 | codeparrot/github-code | a9720e9ebd5bbf0bfe111a3028aa8dbacc7e90d6b6bfb73372cef064c153c845 | 0.85 | testing_debugging_repair_refactoring | 719 | 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... | mbrukman/gcloud-dotnet | tools/Google.Cloud.ClientTesting/ReplayingMessageHandler.cs | https://github.com/mbrukman/gcloud-dotnet/blob/HEAD/tools/Google.Cloud.ClientTesting/ReplayingMessageHandler.cs | ghcode:00168:7f40072a283b | apache-2.0 | codeparrot/github-code | 7f40072a283b994105cf4c097789c623768c285e76746906bf373214e9faedf8 | 0.7 | testing_debugging_repair_refactoring | 468 | false | 2026-07-17 |
// Working Files List
// Visual Studio extension tool window that shows a selectable list of files
// that are open in the editor
// Copyright © 2016 - 2020 Anthony Fung
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may ob... | Ant-f/WorkingFilesList | Solution/WorkingFilesList.ToolWindow.Test/Repository/UserPreferencesModelRepositoryTests.cs | https://github.com/Ant-f/WorkingFilesList/blob/HEAD/Solution/WorkingFilesList.ToolWindow.Test/Repository/UserPreferencesModelRepositoryTests.cs | ghcode:00168:570ad90bb1ec | apache-2.0 | codeparrot/github-code | 570ad90bb1ec4783286f6ca1a6f4ec30cd25545aa3527b066bb580ecc77fc41e | 0.85 | testing_debugging_repair_refactoring | 3,070 | 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 Analyzer.Utilities;
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
namespace Microsoft.CodeAnalysis.Fl... | pakdev/roslyn-analyzers | src/Utilities/FlowAnalysis/FlowAnalysis/Analysis/PointsToAnalysis/PointsToAbstractValue.cs | https://github.com/pakdev/roslyn-analyzers/blob/HEAD/src/Utilities/FlowAnalysis/FlowAnalysis/Analysis/PointsToAnalysis/PointsToAbstractValue.cs | ghcode:00168:82e7b3a62f48 | apache-2.0 | codeparrot/github-code | 82e7b3a62f4893b0344b544e53325a203d4836fd2e7b78f419e9d2763304db65 | 0.85 | testing_debugging_repair_refactoring | 1,535 | false | 2026-07-17 |
// Copyright 2016 Michael Mairegger
//
// 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 agr... | xxMUROxx/Mairegger.Printing | src/Mairegger.Printing.Test/Content/CombinedPrintContentCollectionTests.cs | https://github.com/xxMUROxx/Mairegger.Printing/blob/HEAD/src/Mairegger.Printing.Test/Content/CombinedPrintContentCollectionTests.cs | ghcode:00168:e49ee2bb82bd | apache-2.0 | codeparrot/github-code | e49ee2bb82bdd7f4185442fe8a2af64d25d209cf686f0d4ca6600a70f124eccb | 0.85 | testing_debugging_repair_refactoring | 391 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using TSQL;
using TSQL.Statements;
namespace Tests.Statements
{
[TestFixture(Category = "Statement Parsing")]
public class UpdateStatementTests
{
[Test]
public void Updat... | bruce-dunwiddie/tsql-parser | TSQL_Parser/Tests/Statements/UpdateStatementTests.cs | https://github.com/bruce-dunwiddie/tsql-parser/blob/HEAD/TSQL_Parser/Tests/Statements/UpdateStatementTests.cs | ghcode:00168:27dc75b586db | apache-2.0 | codeparrot/github-code | 27dc75b586dbc573bbeaedc6d73c941a851f79b7a1f7c3c8490e928f5784c2b1 | 0.85 | testing_debugging_repair_refactoring | 277 | false | 2026-07-17 |
using System.Configuration;
using Akka.Configuration;
using Akka.Persistence.TestKit.Snapshot;
using Akka.TestKit;
using Xunit;
using Xunit.Abstractions;
namespace Akka.Persistence.PostgreSql.Tests
{
[Collection("PostgreSqlSpec")]
public class PostgreSqlSnapshotStoreSpec : SnapshotStoreSpec
{
priv... | alexvaluyskiy/Akka.Persistence.PostgreSql | src/Akka.Persistence.PostgreSql.Tests/PostgreSqlSnapshotStoreSpec.cs | https://github.com/alexvaluyskiy/Akka.Persistence.PostgreSql/blob/HEAD/src/Akka.Persistence.PostgreSql.Tests/PostgreSqlSnapshotStoreSpec.cs | ghcode:00168:078327c820d6 | apache-2.0 | codeparrot/github-code | 078327c820d6f32bea9e1818216cca6a1c89c0e9bb0949c3e488e18d623083a6 | 0.75 | testing_debugging_repair_refactoring | 486 | 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.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Server.IIS.FunctionalTests.Utilities;
using Microsoft.AspNetCore.Server.IntegrationTestin... | aspnet/AspNetCore | src/Servers/IIS/IIS/test/IIS.Shared.FunctionalTests/StdOutRedirectionTests.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Servers/IIS/IIS/test/IIS.Shared.FunctionalTests/StdOutRedirectionTests.cs | ghcode:00168:14d2de9de6a0 | apache-2.0 | codeparrot/github-code | 14d2de9de6a0c1bdeead547751de6d2cc4215e40ce66c7168b9750df3b528d44 | 0.85 | testing_debugging_repair_refactoring | 1,181 | false | 2026-07-17 |
#region Copyright
// Copyright 2014 Myrcon Pty. 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 a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | phogue/Potato | src/Potato.Database.Shared.Test/MongoDb/TestSerializerMongoDbRemoveImplicit.cs | https://github.com/phogue/Potato/blob/HEAD/src/Potato.Database.Shared.Test/MongoDb/TestSerializerMongoDbRemoveImplicit.cs | ghcode:00168:093227378a78 | apache-2.0 | codeparrot/github-code | 093227378a78f11e7096ea96cb18f2f40dcec25aed470ccf26ffc00f036e63b2 | 0.85 | testing_debugging_repair_refactoring | 1,009 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DomainOfExpertiseTestFixture.cs" company="RHEA System S.A.">
//
// Copyright 2016-2021 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License... | RHEAGROUP/ecss-10-25-annexc-integration-tests | IntegrationTestSuite/WebservicesIntegrationTests/Tests/SiteDirectory/DomainOfExpertise/DomainOfExpertiseTestFixture.cs | https://github.com/RHEAGROUP/ecss-10-25-annexc-integration-tests/blob/HEAD/IntegrationTestSuite/WebservicesIntegrationTests/Tests/SiteDirectory/DomainOfExpertise/DomainOfExpertiseTestFixture.cs | ghcode:00168:15592dd36121 | apache-2.0 | codeparrot/github-code | 15592dd361210821456821cd5e4b85bc7f1c552347b25ed3fa1baa40daf138fe | 0.95 | testing_debugging_repair_refactoring | 2,140 | false | 2026-07-17 |
using System.IO;
using System.Text;
using NUnit.Framework;
using spectator.Configuration;
namespace spectator.Tests.Configuration
{
[TestFixture]
public class ConfigurationResolverTests
{
[SetUp]
public void SetUp()
{
ResetBaseConfiguration();
}
private... | plmwong/spectator | spectator.Tests/Configuration/ConfigurationResolverTests.cs | https://github.com/plmwong/spectator/blob/HEAD/spectator.Tests/Configuration/ConfigurationResolverTests.cs | ghcode:00168:9cdc197d4e68 | apache-2.0 | codeparrot/github-code | 9cdc197d4e68443eb7da1723cdbe1b71102dc6b0c87148445faf3e94e2dd56ef | 0.75 | testing_debugging_repair_refactoring | 414 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="WhenParsingVsTestResultsFile.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// License... | ludwigjossieaux/pickles | src/Pickles/Pickles.TestFrameworks.UnitTests/VsTest/WhenParsingVsTestResultsFile.cs | https://github.com/ludwigjossieaux/pickles/blob/HEAD/src/Pickles/Pickles.TestFrameworks.UnitTests/VsTest/WhenParsingVsTestResultsFile.cs | ghcode:00168:64be045674a3 | apache-2.0 | codeparrot/github-code | 64be045674a34b818fce53e801964780fcd4f67b2414ebb1b49a37b954f869a2 | 0.85 | testing_debugging_repair_refactoring | 859 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
#nullable enable
#if FEATURE_CTYPES
using System;
using System.Collections.Generic;
using System.Diagnostic... | IronLanguages/ironpython3 | Src/IronPython.Modules/_ctypes/CData.cs | https://github.com/IronLanguages/ironpython3/blob/HEAD/Src/IronPython.Modules/_ctypes/CData.cs | ghcode:00168:d7ed84645dea | apache-2.0 | codeparrot/github-code | d7ed84645dea6e708ee8c95c8cb4ee99f5aadec5bfbd52a0c4c5f1f39a4854c3 | 0.85 | testing_debugging_repair_refactoring | 930 | false | 2026-07-17 |
using Microsoft.Web.Administration;
using NUnit.Framework;
namespace dropkick.tests
{
public static class ApplicationPoolTestExtensions
{
public static void ShouldBeRunning(this ApplicationPool applicationPool)
{
Assert.AreEqual(ObjectState.Started, applicationPool.State);... | chucknorris/dropkick | product/dropkick.tests/ApplicationPoolTestExtensions.cs | https://github.com/chucknorris/dropkick/blob/HEAD/product/dropkick.tests/ApplicationPoolTestExtensions.cs | ghcode:00168:b9e5c75474eb | apache-2.0 | codeparrot/github-code | b9e5c75474eb3a72171e9dd843bca2097a075f2d6567881c3d2d94eb69c5a406 | 0.75 | testing_debugging_repair_refactoring | 88 | false | 2026-07-17 |
using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RosSharp.Parameter;
using RosSharp.Slave;
using RosSharp.Topic;
using RosSharp.Transport;
namespace Ro... | zoetrope/RosSharp | Test/RosSharp.UnitTests/Parameter/ParameterServerTest.cs | https://github.com/zoetrope/RosSharp/blob/HEAD/Test/RosSharp.UnitTests/Parameter/ParameterServerTest.cs | ghcode:00168:e7f1d5d53463 | bsd-2-clause | codeparrot/github-code | e7f1d5d5346399f15815fe4947e8aef535f18c3b65a808babb7cbe7330b5433d | 0.63 | testing_debugging_repair_refactoring | 667 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace js.net.TestAdapters
{
public class TestSuiteResults : TestResults
{
public TestSuiteResults(IEnumerable<ITestResults> individualResults) : base("Test Suite")
{
Trace.Assert(individualRes... | gatapia/jish | js.net/TestAdapters/TestSuiteResults.cs | https://github.com/gatapia/jish/blob/HEAD/js.net/TestAdapters/TestSuiteResults.cs | ghcode:00168:f28999135b36 | bsd-3-clause | codeparrot/github-code | f28999135b367dd4de258956b3261e694c72bad7f102e9168d296707859e670a | 0.75 | testing_debugging_repair_refactoring | 167 | false | 2026-07-17 |
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System;
using Xunit;
namespace Moq.Tests
{
public class AsInterfaceFixture
{
[Fact]
public void ShouldThrowIfAsIsInvokedAfterInstanceIsRetrieve... | ocoanet/moq4 | tests/Moq.Tests/AsInterfaceFixture.cs | https://github.com/ocoanet/moq4/blob/HEAD/tests/Moq.Tests/AsInterfaceFixture.cs | ghcode:00168:0ac06b821b7a | bsd-3-clause | codeparrot/github-code | 0ac06b821b7ab6d9b2f23e40d3f3cbb2aeac149a7aab22960d7dd9ed5f0cf40f | 0.7 | testing_debugging_repair_refactoring | 1,406 | false | 2026-07-17 |
using System.Collections.Generic;
using Shouldly.Tests.TestHelpers;
namespace Shouldly.Tests.Dictionaries.ShouldContainKeyAndValue
{
public class OnlyKeyMatches : ShouldlyShouldTestScenario
{
readonly Dictionary<MyThing, MyThing> _dictionary = new Dictionary<MyThing,MyThing>
{
{Thi... | MitjaBezensek/shouldly | src/Shouldly.Tests/Dictionaries/ShouldContainKeyAndValue/OnlyKeyMatches.cs | https://github.com/MitjaBezensek/shouldly/blob/HEAD/src/Shouldly.Tests/Dictionaries/ShouldContainKeyAndValue/OnlyKeyMatches.cs | ghcode:00168:553e48b4a5cc | bsd-3-clause | codeparrot/github-code | 553e48b4a5cc7ea8fbbaeb1d9f0b1cd7dca098a23e4fc85b82d1de365715b8ed | 0.75 | testing_debugging_repair_refactoring | 219 | false | 2026-07-17 |
using System;
using System.IO;
using System.Xml;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using UrdfToUnity.Parse.Xml.Links.Geometries;
using UrdfToUnity.Urdf.Models.Links.Geometries;
namespace UrdfToUnityTest.Parse.Xml.Links.Geometries
{
[TestClass]
public class SphereParserTest
{
priv... | MangoMangoDevelopment/neptune | src/urdf/UrdfToUnityTest/Parse/Xml/Links/Geometries/SphereParserTest.cs | https://github.com/MangoMangoDevelopment/neptune/blob/HEAD/src/urdf/UrdfToUnityTest/Parse/Xml/Links/Geometries/SphereParserTest.cs | ghcode:00168:9ad7f644c897 | bsd-3-clause | codeparrot/github-code | 9ad7f644c897623c0047611778714c8f0e971a1a5d3ae1dd7b8fe191f1d91820 | 0.6 | testing_debugging_repair_refactoring | 269 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Linq;
using Azure.Analytics.Synapse.Spark;
using Azure.Analytics.Synapse.Spark.Models;
using Azure.Analytics.Synapse.Tests;
using Az... | ayeletshpigelman/azure-sdk-for-net | sdk/synapse/Azure.Analytics.Synapse.Spark/tests/SparkBatchClientLiveTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/synapse/Azure.Analytics.Synapse.Spark/tests/SparkBatchClientLiveTests.cs | ghcode:00168:5af8805dcd73 | mit | codeparrot/github-code | 5af8805dcd730428b732dcefd750e993e53a1fdfc90ecd85c8fc411989c6284b | 0.95 | testing_debugging_repair_refactoring | 773 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
namespace Test.Azure.Management.Logic
{
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using Microsoft.Rest;
... | shahabhijeet/azure-sdk-for-net | src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountCertificate.InMemoryTests.cs | https://github.com/shahabhijeet/azure-sdk-for-net/blob/HEAD/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountCertificate.InMemoryTests.cs | ghcode:00168:dd871e15c5c4 | mit | codeparrot/github-code | dd871e15c5c4a8205a7be85fdc3e0d217c8f99c2c445c77b5d0901ceeced7412 | 0.85 | testing_debugging_repair_refactoring | 2,355 | false | 2026-07-17 |
using System.Diagnostics.Contracts;
using System;
struct A
{
public string EnabledOnReferenceProperty{on} {get; private set;}
[ContractInvariantMethod]
private void ObjectInvariant()
{
}
} | Diagonactic/ReSharperContractExtensions | ReSharper.ContractExtensions.Tests/test/data/Intentions/ContextActions/Invariants/Availability.cs | https://github.com/Diagonactic/ReSharperContractExtensions/blob/HEAD/ReSharper.ContractExtensions.Tests/test/data/Intentions/ContextActions/Invariants/Availability.cs | ghcode:00168:a8c4f6451cf9 | mit | codeparrot/github-code | a8c4f6451cf936f39bc8f20643939ed75b6b1a015755b85e70aaf4600ebb78c0 | 0.85 | testing_debugging_repair_refactoring | 45 | 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 Xunit;
namespace System.Net.Primitives.Tests
{
public class CredentialCacheTes... | Chrisboh/corefx | src/System.Net.Primitives/tests/PerformanceTests/CredentialCacheTests.cs | https://github.com/Chrisboh/corefx/blob/HEAD/src/System.Net.Primitives/tests/PerformanceTests/CredentialCacheTests.cs | ghcode:00168:3aeacb06e8e2 | mit | codeparrot/github-code | 3aeacb06e8e26b58c8ef1d9b1a09c3b31ca8258ba658e8f1d3ad7530dfec85a5 | 0.95 | testing_debugging_repair_refactoring | 986 | false | 2026-07-17 |
using System;
using LanguageExt;
using LanguageExt.ClassInstances;
using LanguageExt.Common;
using Xunit;
using static LanguageExt.Prelude;
namespace LanguageExt.Tests.Transformer.Traverse.TryT.Collections
{
public class StckTry
{
[Fact]
public void EmptyStackIsSuccEmptyStack()
{
... | StanJav/language-ext | LanguageExt.Tests/Transformer/Traverse/Try/Collections/Stck.cs | https://github.com/StanJav/language-ext/blob/HEAD/LanguageExt.Tests/Transformer/Traverse/Try/Collections/Stck.cs | ghcode:00168:82dbaf275737 | mit | codeparrot/github-code | 82dbaf2757372580a739d506c745e9a754af035582ec84d3454f078b70c55410 | 0.75 | testing_debugging_repair_refactoring | 312 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Text.Tests
{
public static partial class EncodingHelpers
{
static pa... | zhenlan/corefx | src/System.Text.Encoding/tests/EncodingTestHelpers.netcoreapp.cs | https://github.com/zhenlan/corefx/blob/HEAD/src/System.Text.Encoding/tests/EncodingTestHelpers.netcoreapp.cs | ghcode:00168:4a9e72be16ce | mit | codeparrot/github-code | 4a9e72be16ce28776dd6ccfddc4e980d917478523af81572beb43e1495706593 | 0.95 | testing_debugging_repair_refactoring | 558 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="TaskBasedScheduler_TellScheduler_Cancellation_Tests.cs" company="Akka.NET Project">
// Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2020 .NET Foundation <https://github.com/a... | simonlaroche/akka.net | src/core/Akka.Tests/Actor/Scheduler/TaskBasedScheduler_TellScheduler_Cancellation_Tests.cs | https://github.com/simonlaroche/akka.net/blob/HEAD/src/core/Akka.Tests/Actor/Scheduler/TaskBasedScheduler_TellScheduler_Cancellation_Tests.cs | ghcode:00169:47df21579e8f | apache-2.0 | codeparrot/github-code | 47df21579e8fefe67be6f6991408dcf9fd0f0fa9c32e3e7c5c86f8de918c896a | 0.85 | testing_debugging_repair_refactoring | 1,099 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.SharePoint.Client;
using System.Management.Automation.Runspaces;
using System.Linq;
using System.Xml.Linq;
using OfficeDevPnP.Core.Utilities;
namespace SharePointPnP.PowerShell.Tests
{
[TestClass]
public class WebPartsTests
... | Oaden/PnP-PowerShell | Tests/WebPartsTests.cs | https://github.com/Oaden/PnP-PowerShell/blob/HEAD/Tests/WebPartsTests.cs | ghcode:00169:130606dd01d3 | mit | codeparrot/github-code | 130606dd01d32b818f0b2b7850b661005ba8d4b1e5f4d82c56556585100240fe | 0.75 | testing_debugging_repair_refactoring | 1,261 | false | 2026-07-17 |
#if CLASSIC
using BenchmarkDotNet.IntegrationTests.CustomPaths;
using Xunit;
using Xunit.Abstractions;
namespace BenchmarkDotNet.IntegrationTests
{
public class CopyToOutputTests : BenchmarkTestExecutor
{
public CopyToOutputTests(ITestOutputHelper output) : base(output) { }
[Fact]
publ... | ig-sinicyn/BenchmarkDotNet | tests/BenchmarkDotNet.IntegrationTests/CopyToOutputTests.cs | https://github.com/ig-sinicyn/BenchmarkDotNet/blob/HEAD/tests/BenchmarkDotNet.IntegrationTests/CopyToOutputTests.cs | ghcode:00169:96ff0f0cd30b | mit | codeparrot/github-code | 96ff0f0cd30b0f652965cc5eda6f56fc42fe919bbf7c61b8cdd7e3d043bdd2ee | 0.75 | testing_debugging_repair_refactoring | 91 | false | 2026-07-17 |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace DocumentFormat.OpenXml.Tests.FootnoteColumns
{
using DocumentFormat.OpenXml.Packaging;
using Xunit;
using Documen... | ClareMSYanGit/Open-XML-SDK | DocumentFormat.OpenXml.Tests/ConformanceTest/FootnoteColumns/FootnoteColumnTest.cs | https://github.com/ClareMSYanGit/Open-XML-SDK/blob/HEAD/DocumentFormat.OpenXml.Tests/ConformanceTest/FootnoteColumns/FootnoteColumnTest.cs | ghcode:00169:8fa16043a63f | apache-2.0 | codeparrot/github-code | 8fa16043a63fff9f83baaba3b2c29a1a15de1b7a0ec97a0651325bef8192cf80 | 0.7 | testing_debugging_repair_refactoring | 329 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core.Pipeline;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure... | stankovski/azure-sdk-for-net | sdk/core/Azure.Core/tests/ResponseBodyPolicyTests.cs | https://github.com/stankovski/azure-sdk-for-net/blob/HEAD/sdk/core/Azure.Core/tests/ResponseBodyPolicyTests.cs | ghcode:00169:f31e2f4572d0 | apache-2.0 | codeparrot/github-code | f31e2f4572d02ffe6f40a0c18a87735d92e4185302e70ba683b05b92cba27a00 | 0.85 | testing_debugging_repair_refactoring | 1,817 | false | 2026-07-17 |
using System;
using Xunit;
namespace HarshPoint.Tests
{
public class HarshContentTypeIdTests
{
[Theory]
[InlineData(null, typeof(ArgumentNullException))]
[InlineData("", typeof(ArgumentException))]
[InlineData("zz", typeof(ArgumentException))]
[InlineData("0xzz", typeof... | the-ress/HarshPoint | test/HarshPoint.Tests/HarshContentTypeIdTests.cs | https://github.com/the-ress/HarshPoint/blob/HEAD/test/HarshPoint.Tests/HarshContentTypeIdTests.cs | ghcode:00169:024c40b23567 | bsd-2-clause | codeparrot/github-code | 024c40b2356774769e465b6791b22f3ac971d74cf2db9fddea55ebd19b5b051a | 0.68 | testing_debugging_repair_refactoring | 1,841 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Marten.Testing.Harness;
using Xunit;
namespace Marten.Testing.Bugs
{
public class Bug_1245_include_plus_full_text_search: BugIntegrationContext
{
public sealed class Email
{
public... | mysticmind/marten | src/Marten.Testing/Bugs/Bug_1245_include_plus_full_text_search.cs | https://github.com/mysticmind/marten/blob/HEAD/src/Marten.Testing/Bugs/Bug_1245_include_plus_full_text_search.cs | ghcode:00169:5e795adbffe4 | mit | codeparrot/github-code | 5e795adbffe4ce396f51b8fe685052804be6b874b70be023b170ae3dac6a305e | 0.85 | testing_debugging_repair_refactoring | 639 | false | 2026-07-17 |
// -----------------------------------------------------------------------------------
// <copyright file="AggregationFixture.cs" company="NMemory Team">
// Copyright (C) 2012-2014 NMemory Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and a... | wertzui/nmemory | Main/Source/NMemory.Test/AggregationFixture.cs | https://github.com/wertzui/nmemory/blob/HEAD/Main/Source/NMemory.Test/AggregationFixture.cs | ghcode:00169:b6e6a5faa941 | mit | codeparrot/github-code | b6e6a5faa9411f2aa33f3f26438722c3abd9ac58516f45dfa364a902a26af8d2 | 0.85 | testing_debugging_repair_refactoring | 416 | false | 2026-07-17 |
using System.Text;
using Nimbus.Infrastructure.BrokeredMessageServices.Compression;
using NUnit.Framework;
using Shouldly;
namespace Nimbus.UnitTests.CompressionTests
{
internal class WhenUsingGzipCompressor : SpecificationFor<GzipCompressor>
{
private readonly byte[] _uncompressed = Encoding.UTF8.Get... | stevescc/Nimbus | src/Tests/Nimbus.UnitTests/CompressionTests/WhenUsingGzipCompressor.cs | https://github.com/stevescc/Nimbus/blob/HEAD/src/Tests/Nimbus.UnitTests/CompressionTests/WhenUsingGzipCompressor.cs | ghcode:00169:0e055469323c | mit | codeparrot/github-code | 0e055469323c3bc6763efc4e9c849278d9e330e27e357c5a9cfbbe1112e71ccc | 0.85 | testing_debugging_repair_refactoring | 422 | false | 2026-07-17 |
namespace FakeItEasy.Tests
{
using System;
using FluentAssertions;
using Xunit;
public class OutputWriterExtensionsTests
{
[Fact]
public void Should_append_line_break_when_calling_write_line()
{
// Arrange
var writer = A.Fake<IOutputWriter... | blairconrad/FakeItEasy | tests/FakeItEasy.Tests/OutputWriterExtensionsTests.cs | https://github.com/blairconrad/FakeItEasy/blob/HEAD/tests/FakeItEasy.Tests/OutputWriterExtensionsTests.cs | ghcode:00169:70c66f1e1289 | mit | codeparrot/github-code | 70c66f1e1289121256004391ab9d742cb6d1e90fe4f79d33b807dfb3e3defa50 | 0.85 | testing_debugging_repair_refactoring | 158 | false | 2026-07-17 |
// ------------------------------------------------------------------------------
// Copyright (c) 2014 Microsoft Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without ... | arashkeivan/LiveSDK-for-Windows | src/WP8/Source/Internal/BackgroundDownloadRequestBuilder.cs | https://github.com/arashkeivan/LiveSDK-for-Windows/blob/HEAD/src/WP8/Source/Internal/BackgroundDownloadRequestBuilder.cs | ghcode:00169:92cb9be6a759 | mit | codeparrot/github-code | 92cb9be6a7599263c822752506a895e00dd732cd2cb26fd9567b9bb64d1b56a8 | 0.7 | testing_debugging_repair_refactoring | 609 | 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 logging service component</summary>
//-------------------... | nikson/msbuild | src/XMakeBuildEngine/UnitTests/BackEnd/LoggingService_Tests.cs | https://github.com/nikson/msbuild/blob/HEAD/src/XMakeBuildEngine/UnitTests/BackEnd/LoggingService_Tests.cs | ghcode:00169:74a88ce097e8 | mit | codeparrot/github-code | 74a88ce097e88aa512cf2ed04b1a766016ca00eed2c299b55cc13c2ac8d94936 | 0.85 | testing_debugging_repair_refactoring | 8,742 | 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: This class implemen... | cmckinsey/coreclr | src/mscorlib/src/System/Globalization/SortKey.cs | https://github.com/cmckinsey/coreclr/blob/HEAD/src/mscorlib/src/System/Globalization/SortKey.cs | ghcode:00169:d11315caf8c5 | mit | codeparrot/github-code | d11315caf8c5e10054c55f8beb936056465d1472bff8956566e8d0139b0b9e4c | 0.8 | testing_debugging_repair_refactoring | 1,247 | false | 2026-07-17 |
namespace Sitecore.Feature.Accounts.Tests.Extensions
{
using System;
using System.Collections.Generic;
using System.Reflection;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Xunit2;
public class RightKeysAttribute: CustomizeAttribute
{
private readonly object[] keys;
public RightKeysAttribut... | ClearPeopleLtd/Habitat | src/Feature/Accounts/Tests/Extensions/RightKeysAttribute.cs | https://github.com/ClearPeopleLtd/Habitat/blob/HEAD/src/Feature/Accounts/Tests/Extensions/RightKeysAttribute.cs | ghcode:00169:e93bfda925c8 | apache-2.0 | codeparrot/github-code | e93bfda925c84bc46aed51652c54f460d51574faa78f1cd14d6a89e99846aedb | 0.85 | testing_debugging_repair_refactoring | 235 | false | 2026-07-17 |
// $Id: FtpUploadTest.cs 281 2006-12-12 05:24:25Z pettys $
using System;
using System.IO;
using System.Text;
using NUnit.Framework;
using Rhino.Mocks;
namespace MSBuild.Community.Tasks.Tests
{
/// <summary>
/// Summary description for FtpTest
/// </summary>
[TestFixture]
public class FtpUploadTest... | jricke/msbuildtasks | Source/MSBuild.Community.Tasks.Tests/FtpUpload/FtpUploadTest.cs | https://github.com/jricke/msbuildtasks/blob/HEAD/Source/MSBuild.Community.Tasks.Tests/FtpUpload/FtpUploadTest.cs | ghcode:00169:e658aac9ea23 | bsd-2-clause | codeparrot/github-code | e658aac9ea23deaf985bdb55dd332d726d1cc398719af43e0023faddec43fa38 | 0.63 | testing_debugging_repair_refactoring | 1,077 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.