text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace System.Text.Tests
{
public static p... | Petermarcu/corefx | src/System.Runtime/tests/System/Text/StringBuilderTests.netcoreapp.cs | https://github.com/Petermarcu/corefx/blob/HEAD/src/System.Runtime/tests/System/Text/StringBuilderTests.netcoreapp.cs | ghcode:00007:008e04b096a6 | mit | codeparrot/github-code | 008e04b096a662c1b5703760376b0efde25d6597b185da37106fc8197854f1b8 | 0.95 | testing_debugging_repair_refactoring | 1,473 | false | 2026-07-17 |
namespace NEventStore.Persistence.AcceptanceTests.BDD
{
using Xunit;
[RunWith(typeof (SpecificationBaseRunner))]
public abstract class SpecificationBase
{
protected virtual void Because()
{}
protected virtual void Cleanup()
{}
protected virtual void Context()
... | nerdamigo/NEventStore | src/NEventStore.Persistence.AcceptanceTests/BDD/SpecificationBase.cs | https://github.com/nerdamigo/NEventStore/blob/HEAD/src/NEventStore.Persistence.AcceptanceTests/BDD/SpecificationBase.cs | ghcode:00007:6e609ceec273 | mit | codeparrot/github-code | 6e609ceec273ac7c2c06854bf41e9dfdfc4c6a61964249e4d2d6c2ee4f3619e2 | 0.6 | testing_debugging_repair_refactoring | 90 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Linq.Expressions;
using FluentAssertions.Execution;
#if !PORTABLE && !SILVERLIGHT
namespace FluentAssertions.Specialized
{
/// <summary>
/// Provides methods for asserting that the execution time of an <see cref="Action"/> satisfies certain conditions.
... | rstam/fluentassertions | Src/Shared/Specialized/ExecutionTimeAssertions.cs | https://github.com/rstam/fluentassertions/blob/HEAD/Src/Shared/Specialized/ExecutionTimeAssertions.cs | ghcode:00007:d23235cef95a | apache-2.0 | codeparrot/github-code | d23235cef95a09d0a9787581a8b9cc70ad6bb6d63e384ee71bd1133bf913e8ad | 0.7 | testing_debugging_repair_refactoring | 592 | 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.Buffers;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Threading;
using... | rubo/corefx | src/System.IO.Compression/src/System/IO/Compression/DeflateZLib/DeflateStream.cs | https://github.com/rubo/corefx/blob/HEAD/src/System.IO.Compression/src/System/IO/Compression/DeflateZLib/DeflateStream.cs | ghcode:00007:ac40ef0166c6 | mit | codeparrot/github-code | ac40ef0166c65edf220072311b57655185f948179a46b382f2bdf6f8437be09b | 0.95 | testing_debugging_repair_refactoring | 5,385 | false | 2026-07-17 |
using System;
namespace NUnit.Framework.Constraints
{
/// <summary>
/// Keeps track of an interval time which can be represented in
/// Minutes, Seconds or Milliseconds
/// </summary>
public class Interval
{
private readonly int _value;
private IntervalUnit _mode;
/// <... | Suremaker/nunit | src/NUnitFramework/framework/Constraints/Interval.cs | https://github.com/Suremaker/nunit/blob/HEAD/src/NUnitFramework/framework/Constraints/Interval.cs | ghcode:00007:3fae9f42c625 | mit | codeparrot/github-code | 3fae9f42c625a4d166b25f54507ba8a27759619ea0a9701d26789bc26a723864 | 0.85 | testing_debugging_repair_refactoring | 581 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... | brjohnstmsft/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/Issues/Issue1351.cs | https://github.com/brjohnstmsft/Newtonsoft.Json/blob/HEAD/Src/Newtonsoft.Json.Tests/Issues/Issue1351.cs | ghcode:00007:7a03af002e97 | mit | codeparrot/github-code | 7a03af002e9755da80df9fa7fdd1ad568b8d330829226f06d1f8458f1dab3494 | 0.85 | testing_debugging_repair_refactoring | 1,096 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="TestService.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-----------------------------------------... | abkmr/odata.net | test/FunctionalTests/Tests/DataServices/UnitTests/TDDUnitTests/Tests/Server/Util/TestService.cs | https://github.com/abkmr/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataServices/UnitTests/TDDUnitTests/Tests/Server/Util/TestService.cs | ghcode:00007:304cd4f2f385 | mit | codeparrot/github-code | 304cd4f2f385e4f25ae468cb9ea330996f795bbe0ae9f60467ad86a398bd4319 | 0.95 | testing_debugging_repair_refactoring | 279 | false | 2026-07-17 |
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | nareshjo/nodejstools | Nodejs/Tests/NpmTests/InstallUninstallPackageTests.cs | https://github.com/nareshjo/nodejstools/blob/HEAD/Nodejs/Tests/NpmTests/InstallUninstallPackageTests.cs | ghcode:00007:2ddc02aa339a | apache-2.0 | codeparrot/github-code | 2ddc02aa339adcebdffff319dffa616b3b618c70bb6ef6c3212ffa6b942ef964 | 0.95 | testing_debugging_repair_refactoring | 1,681 | false | 2026-07-17 |
using AllReady.Services.Sms;
using Microsoft.Extensions.Options;
using Moq;
using Shouldly;
using System;
using System.Threading.Tasks;
using AllReady.Configuration;
using Twilio.Clients;
using Twilio.Rest.Lookups.V1;
using Xunit;
namespace AllReady.UnitTest.Services.Sms
{
public class TwilioPhoneNumberLookupServi... | VishalMadhvani/allReady | AllReadyApp/Web-App/AllReady.UnitTest/Services/Sms/TwilioPhoneNumberLookupServiceTests.cs | https://github.com/VishalMadhvani/allReady/blob/HEAD/AllReadyApp/Web-App/AllReady.UnitTest/Services/Sms/TwilioPhoneNumberLookupServiceTests.cs | ghcode:00007:a2891392eed3 | mit | codeparrot/github-code | a2891392eed3d9353e0dde79066913a1ee72367f45e1fca7882e3d410a3ee248 | 0.85 | testing_debugging_repair_refactoring | 2,692 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// <copyright file="OleDbConnectionFactory.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="true">[....]</owner>
// <owner current="true" primary=... | sekcheong/referencesource | System.Data/System/Data/OleDb/OleDbConnectionFactory.cs | https://github.com/sekcheong/referencesource/blob/HEAD/System.Data/System/Data/OleDb/OleDbConnectionFactory.cs | ghcode:00007:97e634f075c1 | mit | codeparrot/github-code | 97e634f075c134d6cdd0a38586e7356b75323b93ca1293e44f502ed0c93204d1 | 0.7 | testing_debugging_repair_refactoring | 1,435 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
usi... | AlekseyTs/roslyn | src/EditorFeatures/DiagnosticsTestUtilities/CodeActions/VisualBasicCodeFixVerifier`2.cs | https://github.com/AlekseyTs/roslyn/blob/HEAD/src/EditorFeatures/DiagnosticsTestUtilities/CodeActions/VisualBasicCodeFixVerifier`2.cs | ghcode:00007:1456ed2851b8 | mit | codeparrot/github-code | 1456ed2851b86401f47720e1bc8ae5df4f70eed7bc0297cbf6e77a9aa287aee3 | 0.85 | testing_debugging_repair_refactoring | 707 | 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 Microsoft.CodeAnalysis.CShar... | physhi/roslyn | src/Compilers/CSharp/Portable/Symbols/AnonymousTypes/SynthesizedSymbols/AnonymousType.PropertySymbol.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/AnonymousTypes/SynthesizedSymbols/AnonymousType.PropertySymbol.cs | ghcode:00007:8cf704ad39b1 | apache-2.0 | codeparrot/github-code | 8cf704ad39b1545b8edcd2d75c235f1e5195ce9b9d213d42ef1653853c89e221 | 0.85 | testing_debugging_repair_refactoring | 1,225 | false | 2026-07-17 |
//
// Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net>
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the above co... | pwelter34/NLog | tests/NLog.UnitTests/LayoutRenderers/ShortDateTests.cs | https://github.com/pwelter34/NLog/blob/HEAD/tests/NLog.UnitTests/LayoutRenderers/ShortDateTests.cs | ghcode:00007:76eb6f316b75 | bsd-3-clause | codeparrot/github-code | 76eb6f316b7590743cace1a99fdd43b22f7d26cd17b34267432957f45e4f476a | 0.85 | testing_debugging_repair_refactoring | 644 | 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.Security.Cryptography.Encoding.Tests
{
public s... | benpye/corefx | src/System.Security.Cryptography.Encoding/tests/Oid.cs | https://github.com/benpye/corefx/blob/HEAD/src/System.Security.Cryptography.Encoding/tests/Oid.cs | ghcode:00007:25423be5a93d | mit | codeparrot/github-code | 25423be5a93d87e04c2e9d7b90ffe3a95178fbdfe977d1412b34e50d1d3aa27b | 0.95 | testing_debugging_repair_refactoring | 2,929 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
namespace System.CodeDom.Compi... | shimingsg/corefx | src/System.CodeDom/src/System/CodeDom/Compiler/CompilerInfo.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.CodeDom/src/System/CodeDom/Compiler/CompilerInfo.cs | ghcode:00007:977293cbc460 | mit | codeparrot/github-code | 977293cbc460f39d02afb40064981db66ba61f55fac3e76b17a89a4767d72d03 | 0.95 | testing_debugging_repair_refactoring | 794 | false | 2026-07-17 |
using System.IO;
using Autofac;
using Moq;
using NUnit.Framework;
using Orchard.Packaging.Services;
using Orchard.UI.Notify;
namespace Orchard.Tests.Modules.Packaging.Services {
[TestFixture]
public class FolderUpdaterTests {
protected IContainer _container;
private readonly strin... | BankNotes/Web | src/Orchard.Tests.Modules/Packaging/Services/FolderUpdaterTests.cs | https://github.com/BankNotes/Web/blob/HEAD/src/Orchard.Tests.Modules/Packaging/Services/FolderUpdaterTests.cs | ghcode:00007:46c0002aa14b | bsd-3-clause | codeparrot/github-code | 46c0002aa14beb18dfbb60bb698e8c579bfaf2307903054da96250b3f433d076 | 0.75 | testing_debugging_repair_refactoring | 339 | 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/IssueVisualizationControl/SeverityToMonikerConverterTests.cs | https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/blob/HEAD/src/IssueViz.UnitTests/IssueVisualizationControl/SeverityToMonikerConverterTests.cs | ghcode:00007:c14f15b9909e | mit | codeparrot/github-code | c14f15b9909e64a756587f835b31dd68eda92b7c1941831826cce6c150e3a58e | 0.75 | testing_debugging_repair_refactoring | 610 | false | 2026-07-17 |
#region License
/*
The MIT License
Copyright (c) 2008 Sky Morey
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... | Grimace1975/bclcontrib-abstract | tests/ServiceBuses/Contoso.Abstract.ApplicationBus.Tests/Abstract+ServiceBus/ApplicationServiceBusIntegrationTest.cs | https://github.com/Grimace1975/bclcontrib-abstract/blob/HEAD/tests/ServiceBuses/Contoso.Abstract.ApplicationBus.Tests/Abstract+ServiceBus/ApplicationServiceBusIntegrationTest.cs | ghcode:00007:38f6ab988c1e | mit | codeparrot/github-code | 38f6ab988c1e059334db216bb5c40dc10609661594c4f88fa24f5e2a459afc9c | 0.6 | testing_debugging_repair_refactoring | 294 | false | 2026-07-17 |
namespace Lauener.Core.Test
{
using System;
using Lauener.Core;
using Moq;
public abstract class TestBase
{
public virtual void TestInitialize()
{
}
public virtual void TestCleanup()
{
Starter.Container?.Dispose();
TestModule.Dispos... | LauenerEngineering/Lauener.Core | Lauener.Core.Test/TestBase.cs | https://github.com/LauenerEngineering/Lauener.Core/blob/HEAD/Lauener.Core.Test/TestBase.cs | ghcode:00007:199edb34ea97 | mit | codeparrot/github-code | 199edb34ea97aea563d11c33cade5994c624621bafa110e5c78fa581b6f5ec02 | 0.75 | testing_debugging_repair_refactoring | 202 | false | 2026-07-17 |
using MvcMusicStore.Domain.Interfaces.Specification;
namespace MvcMusicStore.Domain.Entities.Specifications.OrderSpecs
{
public class OrderPhoneLengthMustBeLowerThan24Spec : ISpecification<Order>
{
public bool IsSatisfiedBy(Order order)
{
return order.Phone.Length <= 24;
}
... | thiagolunardi/MvcMusicStoreDDD | MvcMusicStore.Domain/Entities/Specifications/OrderSpecs/OrderPhoneLengthMustBeLowerThan24Spec.cs | https://github.com/thiagolunardi/MvcMusicStoreDDD/blob/HEAD/MvcMusicStore.Domain/Entities/Specifications/OrderSpecs/OrderPhoneLengthMustBeLowerThan24Spec.cs | ghcode:00007:990d4f5306bf | mit | codeparrot/github-code | 990d4f5306bf954b89cae4ff71ba5f3204d3b39763f6eee51b62a69d409011c9 | 0.75 | testing_debugging_repair_refactoring | 70 | false | 2026-07-17 |
using System;
using System.Linq;
class Capture
{
void M(int i)
{
var x = i;
Action a = () =>
{
Use(i);
i = 1;
Use(i);
x = 2;
Use(x);
var y = x;
Action b = () =>
{
Use(x);
... | github/codeql | csharp/ql/test/library-tests/dataflow/ssa/Capture.cs | https://github.com/github/codeql/blob/HEAD/csharp/ql/test/library-tests/dataflow/ssa/Capture.cs | ghcode:00007:9a54227ed9be | mit | codeparrot/github-code | 9a54227ed9be07ddae3166a324a8643dae0a5ad900b5ac87d4ad0924f60d89f4 | 0.95 | testing_debugging_repair_refactoring | 1,388 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Transactions;
using NServiceBus.Redis.Extensions;
using NServiceBus.Redis.Gateway;
using Xunit;
namespace NServiceBus.Redis.Tests.Gateway
{
[Trait("Category","Integration")]
[Collection("NServiceBusRedisFixture")]
public class RedisDeduplication... | fabtesta/NServiceBus4.Redis | src/NServiceBus.Redis.Tests/Gateway/RedisDeduplicationTests.cs | https://github.com/fabtesta/NServiceBus4.Redis/blob/HEAD/src/NServiceBus.Redis.Tests/Gateway/RedisDeduplicationTests.cs | ghcode:00007:f382d28a2692 | mit | codeparrot/github-code | f382d28a269252a06c94dce6a23e0747063ae93915cc1c4422ed47143b8ee64d | 0.75 | testing_debugging_repair_refactoring | 601 | false | 2026-07-17 |
using NUnit.Framework;
namespace Tests
{
[TestFixture]
public class Describe_Cons_ToString : TestHelper
{
[Test]
public void It_prints_an_expression_correctly()
{
var c = Cons(1, Cons(2, Cons(Cons(3, Cons(4, Nil)), Cons(5, Nil))));
c.ToString().must_equal("(... | wallymathieu/csharp_ukanren | UKanren/Tests/Describe_Cons_ToString.cs | https://github.com/wallymathieu/csharp_ukanren/blob/HEAD/UKanren/Tests/Describe_Cons_ToString.cs | ghcode:00007:6fc611a51aef | mit | codeparrot/github-code | 6fc611a51aefb45daf193e57ccb861682b012305e3fed7ed26d61f6d0eb9e98f | 0.85 | testing_debugging_repair_refactoring | 391 | false | 2026-07-17 |
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using OrigoDB.Examples.Chat;
namespace OrigoDB.Examples.Chat.Test
{
/// <summary>
///This is a test class for ChatModelTest and is intended
///to contain all ChatModelTest Unit Tests
///</summary>
[TestC... | DevrexLabs/Examples.Chat | Chat.Test/ChatModelTest.cs | https://github.com/DevrexLabs/Examples.Chat/blob/HEAD/Chat.Test/ChatModelTest.cs | ghcode:00007:80868655edb9 | mit | codeparrot/github-code | 80868655edb9793ffac6d8ce7cc5147ab95f5e910ae7f20819c1bbcb59b0ee5d | 0.7 | testing_debugging_repair_refactoring | 1,065 | false | 2026-07-17 |
namespace IntegrationTests
{
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using FluentAssertions;
using HtmlAgilityPack;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json.Linq;
using Xunit;
[Trait("Category", "Integration")]
public sealed class Bu... | samcragg/Crest | test/IntegrationTests/BuiltInPagesTests.cs | https://github.com/samcragg/Crest/blob/HEAD/test/IntegrationTests/BuiltInPagesTests.cs | ghcode:00007:0de66e158c7a | mit | codeparrot/github-code | 0de66e158c7a16d604272a91174562fa6ac86aca7edfd334ebab32f2e60f7c2f | 0.85 | testing_debugging_repair_refactoring | 467 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using... | sharwell/roslyn | src/Workspaces/Core/Portable/Workspace/Workspace_Editor.cs | https://github.com/sharwell/roslyn/blob/HEAD/src/Workspaces/Core/Portable/Workspace/Workspace_Editor.cs | ghcode:00007:2ed1c939f6cc | mit | codeparrot/github-code | 2ed1c939f6ccd521ed52bb75110a351e29a1c5adff5114d8924ad3c1d5f7d206 | 0.85 | testing_debugging_repair_refactoring | 6,423 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using FluentAssertions;
using Flurl.Http;
using Flurl.Http.Configuration;
using NUnit.Framework;
using Z.ExtensionMethods;
namespace Coinbase.Tests.Integration
{
public class DataTests ... | bchavez/Coinbase | Source/Coinbase.Tests/Integration/DataTests.cs | https://github.com/bchavez/Coinbase/blob/HEAD/Source/Coinbase.Tests/Integration/DataTests.cs | ghcode:00007:3748bb69f897 | mit | codeparrot/github-code | 3748bb69f897db4c5091a6a6f1081ba926a8dfce8c0c102cc710b06d09cd70e3 | 0.75 | testing_debugging_repair_refactoring | 662 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Audi... | ZLima12/osu | osu.Game.Tests/Visual/Background/TestSceneUserDimContainer.cs | https://github.com/ZLima12/osu/blob/HEAD/osu.Game.Tests/Visual/Background/TestSceneUserDimContainer.cs | ghcode:00007:fbd81bf64d27 | mit | codeparrot/github-code | fbd81bf64d27385a4113f9f9af94b6a2c1017a1db93df8569aac89b895fcb666 | 0.85 | testing_debugging_repair_refactoring | 3,551 | false | 2026-07-17 |
namespace FurnitureManufacturer.Tests.Engine.Factories.FurnitureFactoryTests
{
using FurnitureManufacturer.Engine.Factories;
using FurnitureManufacturer.Models;
using NUnit.Framework;
[TestFixture]
public class FurnitureFactory_Should
{
[Test]
public void CreateNewTable_WhenCre... | Valsinev/ComponentTestingWithC | WritedTestsForExams/25 march 2014 evening/1/FurnitureManufacturer.Tests/Engine/Factories/FurnitureFactoryTests/FurnitureFactory_Should.cs | https://github.com/Valsinev/ComponentTestingWithC/blob/HEAD/WritedTestsForExams/25 march 2014 evening/1/FurnitureManufacturer.Tests/Engine/Factories/FurnitureFactoryTests/FurnitureFactory_Should.cs | ghcode:00007:77b0cc500acb | mit | codeparrot/github-code | 77b0cc500acbe30ba5cc3364b537f51d9d29c3fc378c5da04a5db58de053e46d | 0.6 | testing_debugging_repair_refactoring | 358 | false | 2026-07-17 |
using System.Threading.Tasks;
using FluentAssertions;
using WeCantSpell.Roslyn.Tests.Utilities;
using Xunit;
namespace WeCantSpell.Roslyn.Tests.Integration.CSharp.Parsing
{
public class GenericTypeParameterSpellingTests : CSharpParsingTestBase
{
public static object[][] can_find_mistakes_in_generic_pa... | aarondandy/we-cant-spell | WeCantSpell.Roslyn.Tests/Integration/CSharp/Parsing/GenericTypeParameterSpellingTests.cs | https://github.com/aarondandy/we-cant-spell/blob/HEAD/WeCantSpell.Roslyn.Tests/Integration/CSharp/Parsing/GenericTypeParameterSpellingTests.cs | ghcode:00007:66f82d3822f0 | mit | codeparrot/github-code | 66f82d3822f06d7a64e5e5b63a20d4f7da2d5761caa83be37db410ff32175d69 | 0.75 | testing_debugging_repair_refactoring | 390 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using Onds.Niconico.Data.Text;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Onds.Niconico.Data.Text.Test.Tests
{
[TestClass]
publi... | qwerty2501/NiconicoText | NiconicoText/Onds.Niconico.Data.Text.Test/Tests/NiconicoTextParsePatternTest.cs | https://github.com/qwerty2501/NiconicoText/blob/HEAD/NiconicoText/Onds.Niconico.Data.Text.Test/Tests/NiconicoTextParsePatternTest.cs | ghcode:00007:a376f95871a8 | mit | codeparrot/github-code | a376f95871a8b44208753b1eb7fdf8143b949ee7b9ec198becca2b8b4e543dfc | 0.85 | testing_debugging_repair_refactoring | 667 | 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.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
... | sharwell/roslyn | src/Features/Core/Portable/Shared/Utilities/ExtractTypeHelpers.cs | https://github.com/sharwell/roslyn/blob/HEAD/src/Features/Core/Portable/Shared/Utilities/ExtractTypeHelpers.cs | ghcode:00007:7ab93fdacd66 | mit | codeparrot/github-code | 7ab93fdacd66fa8c1860dff5972299e7d241eda4fbdb7a4edb5a057a6d68212f | 0.85 | testing_debugging_repair_refactoring | 2,102 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Python.Runtime;
namespace Python.EmbeddingTest
{
public class TestNamedArguments
{
[OneTimeSetUp]
public void SetUp()
{
PythonEngine.Initialize();
}
[OneTimeTearDown]
public void Dispose()
{
... | pythonnet/pythonnet | src/embed_tests/TestNamedArguments.cs | https://github.com/pythonnet/pythonnet/blob/HEAD/src/embed_tests/TestNamedArguments.cs | ghcode:00007:cd73b93eea0f | mit | codeparrot/github-code | cd73b93eea0f9ab4b0f6150001f88eee7b37db8786d5b62c97b5390aa0d0d7cc | 0.85 | testing_debugging_repair_refactoring | 310 | false | 2026-07-17 |
// MIT License
//
// Copyright(c) 2022 ICARUS Consulting GmbH
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, cop... | icarus-consulting/Yaapii.Atoms | tests/Yaapii.Atoms.Tests/Scalar/LastOfTests.cs | https://github.com/icarus-consulting/Yaapii.Atoms/blob/HEAD/tests/Yaapii.Atoms.Tests/Scalar/LastOfTests.cs | ghcode:00007:cde7f64a3c03 | mit | codeparrot/github-code | cde7f64a3c03df6b70fc6f244132cf696ea29bbc121f7582d32f977562a9524e | 0.85 | testing_debugging_repair_refactoring | 423 | false | 2026-07-17 |
// <copyright file="DataTypeRepositoryTest.cs" company="Logikfabrik">
// Copyright (c) 2016 anton(at)logikfabrik.se. Licensed under the MIT license.
// </copyright>
namespace Logikfabrik.Umbraco.Jet.Test.Data
{
using System;
using Jet.Data;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using M... | aarym/uJet | src/Logikfabrik.Umbraco.Jet.Test/Data/DataTypeRepositoryTest.cs | https://github.com/aarym/uJet/blob/HEAD/src/Logikfabrik.Umbraco.Jet.Test/Data/DataTypeRepositoryTest.cs | ghcode:00007:ab8e6fa69bab | mit | codeparrot/github-code | ab8e6fa69bab240edd0b772a01fc88a5dada1b3fc85d541cd92399c13574a2bd | 0.7 | testing_debugging_repair_refactoring | 692 | false | 2026-07-17 |
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using AllReady.Controllers;
using Microsoft.AspNetCore.Mvc;
using Moq;
using MediatR;
using AllReady.ViewModels.Manage;
using AllReady.Models;
using AllReady.UnitTest.Extensions;
using System.Security.Claims;
using AllReady.Features.Login;
using AllReady.Fe... | chinwobble/allReady | AllReadyApp/Web-App/AllReady.UnitTest/Controllers/ManageControllerPhoneNumberTests.cs | https://github.com/chinwobble/allReady/blob/HEAD/AllReadyApp/Web-App/AllReady.UnitTest/Controllers/ManageControllerPhoneNumberTests.cs | ghcode:00007:efdc072e81d0 | mit | codeparrot/github-code | efdc072e81d040b30cb2c937c6a58d7c2a31ed1ae8bd0e8f5b07d6ee6da25afa | 0.85 | testing_debugging_repair_refactoring | 6,777 | false | 2026-07-17 |
using FluentAssertions;
using GenericBlogAPI.Core.Exceptions;
using NUnit.Framework;
namespace GenericBlogAPI.Core.Tests.Exceptions
{
[TestFixture]
public class CustomErrorExceptionTest
{
[Test]
public void Should_ReturnTheEntryMessage_InCustomErrorException()
{
const s... | jeduardocosta/generic-blog-api | test/GenericBlogAPI.Core.Tests/Exceptions/CustomErrorExceptionTest.cs | https://github.com/jeduardocosta/generic-blog-api/blob/HEAD/test/GenericBlogAPI.Core.Tests/Exceptions/CustomErrorExceptionTest.cs | ghcode:00007:1011e7ffa271 | mit | codeparrot/github-code | 1011e7ffa2716ee0f8e04314227dbe3f14412e5fa1df37be8bf7b9c153babd7d | 0.6 | testing_debugging_repair_refactoring | 113 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using BizwebSharp.Infrastructure;
using Xunit;
namespace BizwebSharp.Tests.xUnit
{
[Trait("Category", "ProductImage")]
public class ProductImage_Tests : IClassFixture<ProductImage_Tests_Fixture>
... | vinhch/BizwebSharp | test/BizwebSharp.Tests.xUnit/ProductImage_Tests.cs | https://github.com/vinhch/BizwebSharp/blob/HEAD/test/BizwebSharp.Tests.xUnit/ProductImage_Tests.cs | ghcode:00007:c0cc668dceb5 | mit | codeparrot/github-code | c0cc668dceb5a5c52e51abc7e6d7e1054be56044f791fee674712e00c0f71bfb | 0.85 | testing_debugging_repair_refactoring | 1,091 | 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.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSha... | diryboy/roslyn | src/Compilers/CSharp/Test/Symbol/Symbols/Source/RecordTests.cs | https://github.com/diryboy/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/Symbols/Source/RecordTests.cs | ghcode:00007:01770b870ebd | mit | codeparrot/github-code | 01770b870ebdedb2d9cf35a6fe59db2e8ef693bead368bd50a3d5a4b49faa641 | 0.95 | testing_debugging_repair_refactoring | 15,345 | false | 2026-07-17 |
// <copyright file="DateTimeHelperTests_Date.cs" company="Matt Lacey">
// Copyright © Matt Lacey. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the solution root for license information.
// </copyright>
// <author>Matt Lacey</author>
// <author>D.A.M. Good Media Ltd.</author>
using System;
us... | mrlacey/LuisEntityHelpers | code/LuisEntityHelpers.Tests/DateTimeHelperTests_Date.cs | https://github.com/mrlacey/LuisEntityHelpers/blob/HEAD/code/LuisEntityHelpers.Tests/DateTimeHelperTests_Date.cs | ghcode:00007:6c0b17ebd2fd | mit | codeparrot/github-code | 6c0b17ebd2fdda3bae644ec25ee5a76acf9cc3e08add372e6965c2fe156f4e14 | 0.7 | testing_debugging_repair_refactoring | 1,380 | false | 2026-07-17 |
// Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.
namespace Aqua.Tests.Dynamic.DynamicObjectMapper
{
using Aqua.Dynamic;
using Shouldly;
using System.Globalization;
using System.Threading;
using Xunit;
/// <summary>
/// Cover... | 6bee/aqua-core | test/Aqua.Tests/Dynamic/DynamicObjectMapper/When_mapping_dynamic_object_to_type_with_different_property_types.cs | https://github.com/6bee/aqua-core/blob/HEAD/test/Aqua.Tests/Dynamic/DynamicObjectMapper/When_mapping_dynamic_object_to_type_with_different_property_types.cs | ghcode:00007:5170d851db39 | mit | codeparrot/github-code | 5170d851db394a659352a9eb7d0cfce5d86168ae4741f5b7b2dcdc49607421cd | 0.7 | testing_debugging_repair_refactoring | 376 | false | 2026-07-17 |
using UnityEngine;
using NUnit.Framework;
using System.Collections.Generic;
using CoreEngine.Math.Extensions;
namespace CoreEngine.Math.Test
{
[TestFixture]
public class TestDoubleVector2
{
[Test]
public void Add()
{
var a = new DoubleVector2( 1, 1 );
var b = new DoubleVector2( 2, 2 );
... | jrobichaud/unity-haven | Assets/Core/Tests/Editor/TestDoubleVector2.cs | https://github.com/jrobichaud/unity-haven/blob/HEAD/Assets/Core/Tests/Editor/TestDoubleVector2.cs | ghcode:00007:d8c66b6e09ea | mit | codeparrot/github-code | d8c66b6e09ea992e23b04742a50c30795aed8510b8168facf22bc329a7907c94 | 0.85 | testing_debugging_repair_refactoring | 929 | false | 2026-07-17 |
using ArgeHeiwako.Data.Common;
using System;
using System.Diagnostics.CodeAnalysis;
using Xunit;
namespace ArgeHeiwako.Tests.Data.Common
{
[ExcludeFromCodeCoverage]
public class NutzerfolgeTests
{
#region Ctor
[Fact]
public void Ctor_StringNull_ThrowsArgumentNullExcep... | me-software/ArgeHeiwako.NET | src/ArgeHeiwako.Tests/Data/Common/NutzerfolgeTests.cs | https://github.com/me-software/ArgeHeiwako.NET/blob/HEAD/src/ArgeHeiwako.Tests/Data/Common/NutzerfolgeTests.cs | ghcode:00007:0e828b0b52e8 | mit | codeparrot/github-code | 0e828b0b52e8e97bfe2b2a572c1c23692684b1b926193ead6d7a90d473c53e71 | 0.75 | testing_debugging_repair_refactoring | 409 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Planru.Plugins.Directory.Tests.Persistence.MongoDB.Repositories
{
[TestFixture]
public class UserRepositoryTest
{
[SetUp]
public void Init()... | liepnguyen/planru | Planru.Plugins.Directory.Tests/Persistence/MongoDB/Repositories/UserRepositoryTest.cs | https://github.com/liepnguyen/planru/blob/HEAD/Planru.Plugins.Directory.Tests/Persistence/MongoDB/Repositories/UserRepositoryTest.cs | ghcode:00007:dc8adabad5ce | mit | codeparrot/github-code | dc8adabad5ce916dd6bf32788dc94e543fba74e14b639c9ba108856840e8658a | 0.6 | testing_debugging_repair_refactoring | 67 | false | 2026-07-17 |
#pragma warning disable 169
namespace NEventStore
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using NEventStore.Persistence;
using NEventStore.Persistence.AcceptanceTests;
using NEventStore.Persistence.Accep... | D3-LucaPiombino/NEventStore | src/NEventStore.Tests/OptimisticEventStreamTests.cs | https://github.com/D3-LucaPiombino/NEventStore/blob/HEAD/src/NEventStore.Tests/OptimisticEventStreamTests.cs | ghcode:00007:7180c7f10576 | mit | codeparrot/github-code | 7180c7f1057693ee5abab90d20a78e1262fd04da74625d6c2be2adccbeb8268c | 0.85 | testing_debugging_repair_refactoring | 4,618 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DSA.DataStructures.Arrays;
using System.Linq;
namespace DSAUnitTests.DataStructures.Arrays
{
[TestClass]
public class HashedArrayTreeTests
{
[TestMethod]
public void AddingItemsOneByOne()
{
var arr ... | abdonkov/DSA | DSA/DSAUnitTests/DataStructures/Arrays/HashedArrayTreeTests.cs | https://github.com/abdonkov/DSA/blob/HEAD/DSA/DSAUnitTests/DataStructures/Arrays/HashedArrayTreeTests.cs | ghcode:00007:d7390c2b6e20 | mit | codeparrot/github-code | d7390c2b6e2081968d03285943181a6ae2b60590071c06130e7465d93d7e34ef | 0.75 | testing_debugging_repair_refactoring | 1,951 | false | 2026-07-17 |
using Shouldly;
//using Subscribers.Web.DataFiles;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Subscribers.UnitTests.Web
{
public class DataFilesReaderGetCountriesAsyncShould
{
//[Fact, Trait("Feature", "DataFiles")]
//public async void ReturnListO... | joeseggie/subscribers | Subscribers.UnitTests/Web/DataFilesReaderGetCountriesAsyncShould.cs | https://github.com/joeseggie/subscribers/blob/HEAD/Subscribers.UnitTests/Web/DataFilesReaderGetCountriesAsyncShould.cs | ghcode:00007:c0c5f486267f | mit | codeparrot/github-code | c0c5f486267f1b710222a090998616eaa3ec8534b338834d4644a60327000a02 | 0.7 | testing_debugging_repair_refactoring | 115 | false | 2026-07-17 |
using CakeMail.RestClient.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace CakeMail.RestClient.IntegrationTests.Tests
{
public class ListsTests : IIntegrationTest
{
public async Task Execute(ICakeMailRestClie... | Jericho/CakeMail.RestClient | Source/CakeMail.RestClient.IntegrationTests/Tests/ListsTests.cs | https://github.com/Jericho/CakeMail.RestClient/blob/HEAD/Source/CakeMail.RestClient.IntegrationTests/Tests/ListsTests.cs | ghcode:00007:fce151eab543 | mit | codeparrot/github-code | fce151eab5438cd86bd5a694585dea79197da65e89e6c2230362954be70b3bd5 | 0.85 | testing_debugging_repair_refactoring | 1,556 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CompoundEntitiesTests.cs" company="Slash Games">
// Copyright (c) Slash Games. All rights reserved.
// </copyright>
// ----------------------------------------------------------... | SlashGames/slash-framework | Source/Slash.ECS.Tests/Source/Systems/CompoundEntitiesTests.cs | https://github.com/SlashGames/slash-framework/blob/HEAD/Source/Slash.ECS.Tests/Source/Systems/CompoundEntitiesTests.cs | ghcode:00007:1e7f3161cb51 | mit | codeparrot/github-code | 1e7f3161cb5172f082c25ec08ba101a40684832d7cc975c58d7b388fb43c2e50 | 0.85 | testing_debugging_repair_refactoring | 1,126 | false | 2026-07-17 |
//
// Copyright (c) Microsoft Corporation.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABL... | korygill/PSScriptAnalyzer | Engine/VariableAnalysisBase.cs | https://github.com/korygill/PSScriptAnalyzer/blob/HEAD/Engine/VariableAnalysisBase.cs | ghcode:00007:2b76589f5fe2 | mit | codeparrot/github-code | 2b76589f5fe2cbdf6032104687af57a3b06c7f2711c3537744eece66fdde16c1 | 0.57 | testing_debugging_repair_refactoring | 22,634 | false | 2026-07-17 |
using DnDGen.Core.Selectors.Collections;
using DnDGen.Stress;
using DnDGen.Stress.Events;
using EncounterGen.Common;
using EncounterGen.Generators;
using EventGen;
using Ninject;
using NUnit.Framework;
using RollGen;
using System.Collections.Generic;
using System.Reflection;
namespace EncounterGen.Tests.Integration.S... | DnDGen/EncounterGen | EncounterGen.Tests.Integration.Stress/StressTests.cs | https://github.com/DnDGen/EncounterGen/blob/HEAD/EncounterGen.Tests.Integration.Stress/StressTests.cs | ghcode:00007:7d7bc34ef1d8 | mit | codeparrot/github-code | 7d7bc34ef1d89e29479511913f52680d2b230a4967b426ec7aa59e1621cb6281 | 0.75 | testing_debugging_repair_refactoring | 832 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
nam... | ravimeda/corefx | src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/AuthenticateAndRedirectHandler.cs | https://github.com/ravimeda/corefx/blob/HEAD/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/AuthenticateAndRedirectHandler.cs | ghcode:00007:4fd92ca95844 | mit | codeparrot/github-code | 4fd92ca95844abf1a7057ddfb86ee2c12bbedbbb02710f96da68d66500a924d2 | 0.95 | testing_debugging_repair_refactoring | 1,406 | 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.Reflection;
using System.Diagnostics;
using Internal.Metadata.NativeFormat;
using Inter... | tijoytom/corert | src/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/TypeLoaderTypeSystemContext.cs | https://github.com/tijoytom/corert/blob/HEAD/src/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/TypeLoaderTypeSystemContext.cs | ghcode:00007:d9917cc6e406 | mit | codeparrot/github-code | d9917cc6e4060be819aa014247d84f3491537e8827a127abdfbeeae5bd6eb514 | 0.8 | testing_debugging_repair_refactoring | 2,146 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using STM.Implementation.JVSTM;
using STM.Implementation.Lockbased;
namespace STMUnitTest
{
[TestClass]
public class NestingTest
{
[TestMethod]
public void NestingOrElseTest()
{
var buffer1 = new STM.Coll... | Felorati/Thesis | code/STM/STM/STMUnitTest/NestingTest.cs | https://github.com/Felorati/Thesis/blob/HEAD/code/STM/STM/STMUnitTest/NestingTest.cs | ghcode:00007:ae7dc71a1eea | mit | codeparrot/github-code | ae7dc71a1eeaf13ba57056dddf265cd64e29ac8f748d51f2eef33534d9ba24be | 0.6 | testing_debugging_repair_refactoring | 936 | false | 2026-07-17 |
namespace StubbyApp.Tests.Testing
{
public class DriverTests
{
}
}
| shchahrykovich/Stubby | Src/StubbyApp.Tests/Testing/DriverTests.cs | https://github.com/shchahrykovich/Stubby/blob/HEAD/Src/StubbyApp.Tests/Testing/DriverTests.cs | ghcode:00007:4e0e62e00034 | mit | codeparrot/github-code | 4e0e62e000345338b1113de0110c09ff2e34077d49bdfbbf7d97cb02bc880acf | 0.35 | testing_debugging_repair_refactoring | 20 | false | 2026-07-17 |
using System;
using Flurl.Http;
using MtgApiManager.Lib.Core;
using MtgApiManager.Lib.Service;
using Xunit;
namespace MtgApiManager.Lib.Test.Service
{
public class MtgServiceProviderTests : IDisposable
{
private bool _disposedValue;
[Fact]
public void Constructor_JsonSerializerSet()
... | MagicTheGathering/mtg-sdk-dotnet | src/MtgApiManager.Lib.Test/Service/MtgServiceProviderTests.cs | https://github.com/MagicTheGathering/mtg-sdk-dotnet/blob/HEAD/src/MtgApiManager.Lib.Test/Service/MtgServiceProviderTests.cs | ghcode:00007:59a9ebc469c2 | mit | codeparrot/github-code | 59a9ebc469c274d8941ea6ef238afbb2a806ade94b1393cfc0ca9561b588194e | 0.85 | testing_debugging_repair_refactoring | 290 | false | 2026-07-17 |
using Xunit;
using ThinkingHome.Migrator.Providers;
using ThinkingHome.Migrator.Providers.MySql;
using ThinkingHome.Migrator.Providers.Oracle;
using ThinkingHome.Migrator.Providers.PostgreSQL;
using ThinkingHome.Migrator.Providers.SqlServer;
using ThinkingHome.Migrator.Providers.SQLite;
namespace ThinkingHome... | thinking-home/migrator | ThinkingHome.Migrator.Tests/ProviderFactoryTest.cs | https://github.com/thinking-home/migrator/blob/HEAD/ThinkingHome.Migrator.Tests/ProviderFactoryTest.cs | ghcode:00007:4d33bf9932b2 | mit | codeparrot/github-code | 4d33bf9932b2cbdea850ff565c6c7946daae00c1757346d99eab583b4b901fc0 | 0.6 | testing_debugging_repair_refactoring | 252 | false | 2026-07-17 |
// <copyright file="CipherRepositoryTests.cs" company="APH Software">
// Copyright (c) Andrew Hawkins. All rights reserved.
// </copyright>
namespace Useful.Security.Cryptography.Tests
{
using System.Linq;
using Moq;
using Useful.Security.Cryptography;
using Xunit;
public class CipherRepositoryTes... | aphawkins/Useful | test/Useful.Security.Cryptography.Tests/Security/Cryptography/CipherRepositoryTests.cs | https://github.com/aphawkins/Useful/blob/HEAD/test/Useful.Security.Cryptography.Tests/Security/Cryptography/CipherRepositoryTests.cs | ghcode:00007:9ebb530384e9 | mit | codeparrot/github-code | 9ebb530384e98d0d041003fec03a1a1d91013b63f2fb2b8cf5776ffea8705cf2 | 0.85 | testing_debugging_repair_refactoring | 378 | false | 2026-07-17 |
/*
Copyright 2017 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | Duikmeester/google-api-dotnet-client | Src/Support/IntegrationTests/ServiceAccountTests.cs | https://github.com/Duikmeester/google-api-dotnet-client/blob/HEAD/Src/Support/IntegrationTests/ServiceAccountTests.cs | ghcode:00008:6e8cce5d607d | apache-2.0 | codeparrot/github-code | 6e8cce5d607def57348b7d188eb1f9a05d59cb2df6bcaf7fad588c1aba2599e8 | 0.85 | testing_debugging_repair_refactoring | 345 | false | 2026-07-17 |
/*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* 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... | ONLYOFFICE/CommunityServer | common/Tests/ASC.Common.Tests/Utils/HtmlUtil_Test.cs | https://github.com/ONLYOFFICE/CommunityServer/blob/HEAD/common/Tests/ASC.Common.Tests/Utils/HtmlUtil_Test.cs | ghcode:00008:26f3ec6a7223 | apache-2.0 | codeparrot/github-code | 26f3ec6a7223601d0198ea85e04a04f9523fa6c341f176707c1988c44b6d7ad6 | 0.95 | testing_debugging_repair_refactoring | 991 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Elasticsearch.Net;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Xunit;
namespace Tests.ClientConcepts.LowLevel
{
/**[[elasticsearch-net-getting-started]]
* ... | CSGOpenSource/elasticsearch-net | src/Tests/ClientConcepts/LowLevel/GettingStarted.doc.cs | https://github.com/CSGOpenSource/elasticsearch-net/blob/HEAD/src/Tests/ClientConcepts/LowLevel/GettingStarted.doc.cs | ghcode:00008:1c85f42bb83e | apache-2.0 | codeparrot/github-code | 1c85f42bb83ed0c255232148c8a36c00d9806c0b90acce2e55d358888b4fb9f3 | 0.95 | testing_debugging_repair_refactoring | 2,634 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Xunit;
namespace PerformanceDsl.TDD
{
public class AgentTests
{
[Fact]
public async Task can_post_... | TomPallister/PerformanceDsl | PerformanceDsl.TDD/PerformanceDsl.TDD/AgentTests.cs | https://github.com/TomPallister/PerformanceDsl/blob/HEAD/PerformanceDsl.TDD/PerformanceDsl.TDD/AgentTests.cs | ghcode:00008:54fa7104c2fd | apache-2.0 | codeparrot/github-code | 54fa7104c2fdb1a282e6a342882d96696bca0c7cf9ff2e7469bf429ac1bce3ce | 0.75 | testing_debugging_repair_refactoring | 356 | 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.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using Syst... | swaroop-sridhar/roslyn | src/Compilers/CSharp/Portable/Emitter/Model/PEModuleBuilder.cs | https://github.com/swaroop-sridhar/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Emitter/Model/PEModuleBuilder.cs | ghcode:00008:1fc7bc29cfe2 | apache-2.0 | codeparrot/github-code | 1fc7bc29cfe241fbbb7a37a27e26ddbc124aace3786e5a789dfc81f36b1c84c2 | 0.57 | testing_debugging_repair_refactoring | 11,337 | false | 2026-07-17 |
using System;
using Moq;
using NUnit.Framework;
using spectator.Configuration;
using spectator.Metrics;
using StatsdClient;
namespace spectator.Tests.Metrics
{
[TestFixture]
public class StatsdPublisherTests
{
private StatsdPublisher _statsdPublisher;
private Mock<IStatsd> _mockStatsdClien... | plmwong/spectator | spectator.Tests/Metrics/StatsdPublisherTests.cs | https://github.com/plmwong/spectator/blob/HEAD/spectator.Tests/Metrics/StatsdPublisherTests.cs | ghcode:00008:1ac3790543b7 | apache-2.0 | codeparrot/github-code | 1ac3790543b7f741e169e0cfd8021a334253fff33953fec380da227c0fc15ccb | 0.75 | testing_debugging_repair_refactoring | 211 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Data;
using Spring.Data.Common;
using Spring.Data.Core;
using Spring.Objects;
namespace Spring.Data
{
/// <summary>
/// AdoTemplate based implementation of ITestObjectDao data access layer.
/// </summary>
public class TestObjectDao : AdoDaoSupport, I... | spring-projects/spring-net | test/Spring/Spring.Data.Integration.Tests/Data/TestObjectDao.cs | https://github.com/spring-projects/spring-net/blob/HEAD/test/Spring/Spring.Data.Integration.Tests/Data/TestObjectDao.cs | ghcode:00008:0e7bf48d34d4 | apache-2.0 | codeparrot/github-code | 0e7bf48d34d4704ae619116249ff522a2204bd29a85f3903a90e5b171158863a | 0.85 | testing_debugging_repair_refactoring | 981 | false | 2026-07-17 |
/*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/openiddict/openiddict-core for more information concerning
* the license and the contributors participating to this project.
*/
using System.Threading.Tasks;
using Microsoft.Extensions.Depende... | openiddict/core | test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Session.cs | https://github.com/openiddict/core/blob/HEAD/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Session.cs | ghcode:00008:d9626ecd677c | apache-2.0 | codeparrot/github-code | d9626ecd677c4a9835f82aaccd718803bf0dfa8ac985e09caa58ea5a0a4b960c | 0.7 | testing_debugging_repair_refactoring | 487 | false | 2026-07-17 |
using System.Linq;
using SampSharp.Entities;
using SampSharp.Entities.SAMP;
using SampSharp.Entities.SAMP.Commands;
using TestMode.Entities.Components;
namespace TestMode.Entities.Systems.Tests
{
public class SystemEntityComponentsTest : ISystem
{
[PlayerCommand]
public void AddComponentComman... | ikkentim/SampSharp | src/TestMode.Entities/Systems/Tests/SystemEntityComponentsTest.cs | https://github.com/ikkentim/SampSharp/blob/HEAD/src/TestMode.Entities/Systems/Tests/SystemEntityComponentsTest.cs | ghcode:00008:345799f92ea1 | apache-2.0 | codeparrot/github-code | 345799f92ea1584f6e248c24f4faa0f8d773f8b10873deac875c958943cc4399 | 0.85 | testing_debugging_repair_refactoring | 299 | false | 2026-07-17 |
/*
* Copyright 2018 Alastair Wyse (https://github.com/alastairwyse/MoreComplexDataStructures/)
*
* 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... | alastairwyse/MoreComplexDataStructures | MoreComplexDataStructures.UnitTests/LRUCacheTests.cs | https://github.com/alastairwyse/MoreComplexDataStructures/blob/HEAD/MoreComplexDataStructures.UnitTests/LRUCacheTests.cs | ghcode:00008:09e6ba598561 | apache-2.0 | codeparrot/github-code | 09e6ba598561dc92083d5437e6bfb484ebe727806795636377d5584ac83deab0 | 0.85 | testing_debugging_repair_refactoring | 2,686 | false | 2026-07-17 |
using System.Threading.Tasks;
using Xunit;
using Zammad.Client.Resources;
namespace Zammad.Client.IntegrationTests
{
[TestCaseOrderer("Zammad.Client.IntegrationTests.TestOrderer", "Zammad.Client.IntegrationTests")]
public class OrganizationClientTest
{
private static int NotFromTestOrganizationCoun... | Asesjix/Zammad-Client | test/Zammad.Client.IntegrationTests/OrganizationClientTest.cs | https://github.com/Asesjix/Zammad-Client/blob/HEAD/test/Zammad.Client.IntegrationTests/OrganizationClientTest.cs | ghcode:00008:b4604bd838c0 | apache-2.0 | codeparrot/github-code | b4604bd838c02f59c0befc548b1018f5cd28a9d000eb09d1b1067ae86021cfbd | 0.6 | testing_debugging_repair_refactoring | 989 | false | 2026-07-17 |
/*
* Location Intelligence APIs
*
* Incorporate our extensive geodata into everyday applications, business processes and workflows.
*
* OpenAPI spec version: 8.5.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you m... | PitneyBowes/LocationIntelligenceSDK-CSharp | src/pb.locationIntelligence.Test/Model/SpecialPurposeDistrictTests.cs | https://github.com/PitneyBowes/LocationIntelligenceSDK-CSharp/blob/HEAD/src/pb.locationIntelligence.Test/Model/SpecialPurposeDistrictTests.cs | ghcode:00008:c61f194b4802 | apache-2.0 | codeparrot/github-code | c61f194b4802ccee3d0747ddc4b7a142a161c02f8a7febb8693a88ff87fabe87 | 0.85 | testing_debugging_repair_refactoring | 810 | 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.Threading;
using System.Threading.Tasks;
namespace Microsoft.AspNetCore.Identity.Test
{
public class NoopRoleStore : IRoleStore<PocoRole>
{
public Task<... | aspnet/AspNetCore | src/Identity/test/Identity.Test/NoopRoleStore.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Identity/test/Identity.Test/NoopRoleStore.cs | ghcode:00008:d5fac231edbb | apache-2.0 | codeparrot/github-code | d5fac231edbb4f6647fed0183307605d90594331128ea5ecabb53f2d26aec439 | 0.85 | testing_debugging_repair_refactoring | 400 | false | 2026-07-17 |
//
// Copyright (C) 2012-2014 DataStax Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | AtwooTM/csharp-driver | src/Cassandra.IntegrationTests/Linq/LinqTable/CreateTable.cs | https://github.com/AtwooTM/csharp-driver/blob/HEAD/src/Cassandra.IntegrationTests/Linq/LinqTable/CreateTable.cs | ghcode:00008:79507aa91989 | apache-2.0 | codeparrot/github-code | 79507aa91989e243a8c428d10be205574f794151c772eb6e28e97a1c4842e576 | 0.7 | testing_debugging_repair_refactoring | 3,314 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using NUnit.Framework.Constraints;
using OpenQA.Selenium.Environment;
namespace OpenQA.Selenium
{
[TestFixture]
public class TypingTest : DriverTestFixture
{
[Test]
[Category("Javascript")]
pub... | anshumanchatterji/selenium | dotnet/test/common/TypingTest.cs | https://github.com/anshumanchatterji/selenium/blob/HEAD/dotnet/test/common/TypingTest.cs | ghcode:00008:5840fdd81e89 | apache-2.0 | codeparrot/github-code | 5840fdd81e8956d71fff429d5567a1e296b69bed60422f3ada8c2b0833628aaf | 0.95 | testing_debugging_repair_refactoring | 6,653 | 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.
using System.Linq.Expressions;
using System;
using System.Diagnostics;
using System.Dynamic;
using System.Re... | IronLanguages/ironpython3 | Src/IronPython/Runtime/Binding/MetaUserObject.Members.cs | https://github.com/IronLanguages/ironpython3/blob/HEAD/Src/IronPython/Runtime/Binding/MetaUserObject.Members.cs | ghcode:00008:72bbba3d5c67 | apache-2.0 | codeparrot/github-code | 72bbba3d5c674090a5f6f1632f5685f0656c71f9134c87980482ff6715c88d68 | 0.57 | testing_debugging_repair_refactoring | 11,865 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Text;
using NUnit.Framework;
using static PeanutButter.RandomGenerators.RandomValueGen;
using NExpect;
using static NExpect.Expectations;
// ReSharper disable RedundantArgumentDefaultValue
// ReSharper disable ExpressionIsAlwaysNull
namespace PeanutButter.Utils.Tests
{
... | fluffynuts/PeanutButter | source/Utils/PeanutButter.Utils.Tests/TestByteArrayExtensions.cs | https://github.com/fluffynuts/PeanutButter/blob/HEAD/source/Utils/PeanutButter.Utils.Tests/TestByteArrayExtensions.cs | ghcode:00008:78ca85f07bc5 | bsd-3-clause | codeparrot/github-code | 78ca85f07bc51649b3b22496e8d304883d846f2ca09da26294876f8689fe8ada | 0.85 | testing_debugging_repair_refactoring | 859 | false | 2026-07-17 |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain t... | alaendle/rhino-mocks | Rhino.Mocks.Tests/FieldsProblem/FieldProblem_KevinM.cs | https://github.com/alaendle/rhino-mocks/blob/HEAD/Rhino.Mocks.Tests/FieldsProblem/FieldProblem_KevinM.cs | ghcode:00008:837232f61a04 | bsd-3-clause | codeparrot/github-code | 837232f61a040b4fe78d19eb9da318b51068590ea21ad3d6c775db653409a310 | 0.85 | testing_debugging_repair_refactoring | 785 | 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.
namespace Microsoft.Practices.DataPipeline.Tests
{
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Xunit;
public static... | mspnp/data-pipeline | src/Implementation/Shared/Tests.Common/AssertExt.cs | https://github.com/mspnp/data-pipeline/blob/HEAD/src/Implementation/Shared/Tests.Common/AssertExt.cs | ghcode:00008:d35776482b91 | mit | codeparrot/github-code | d35776482b914d0821a34e453d27ebc5b4e1794ce4ab4e7f023112bf0274f066 | 0.6 | testing_debugging_repair_refactoring | 353 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FluentValidation;
using FluentValidation.Results;
using Moq;
using NUnit.Framework;
using Weapsy.Domain.Pages;
using Weapsy.Domain.Pages.Commands;
using Weapsy.Domain.Pages.Handlers;
namespace Weapsy.Domain.Tests.Pages.Handlers
{
[TestFixture]
public class... | lucabriguglia/weapsy | test/Weapsy.Domain.Tests/Pages/Handlers/CreatePageHandlerTests.cs | https://github.com/lucabriguglia/weapsy/blob/HEAD/test/Weapsy.Domain.Tests/Pages/Handlers/CreatePageHandlerTests.cs | ghcode:00008:10480010c259 | mit | codeparrot/github-code | 10480010c259d332ff56b585fffecf59fde8f38641a74e54996e7bace16dc626 | 0.75 | testing_debugging_repair_refactoring | 375 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Dynamic.Utils;
using System.Reflection;
using System.Reflection.Emit;
using s... | Petermarcu/corefx | src/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/LambdaCompiler.Unary.cs | https://github.com/Petermarcu/corefx/blob/HEAD/src/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/LambdaCompiler.Unary.cs | ghcode:00008:acb432cff8cc | mit | codeparrot/github-code | acb432cff8ccb5c25b1449fe6885efb5a6cbc46d21eb42c1badf98d5daa1567a | 0.95 | testing_debugging_repair_refactoring | 2,400 | false | 2026-07-17 |
using System;
using LanguageExt.ClassInstances;
using LanguageExt.Common;
using Xunit;
using static LanguageExt.Prelude;
namespace LanguageExt.Tests.Transformer.Traverse.TryOptionT.Sync
{
public class EitherUnsafeTryOption
{
[Fact]
public void LeftIsSuccLeft()
{
var ma = Lef... | StanJav/language-ext | LanguageExt.Tests/Transformer/Traverse/TryOption/Sync/EitherUnsafe.cs | https://github.com/StanJav/language-ext/blob/HEAD/LanguageExt.Tests/Transformer/Traverse/TryOption/Sync/EitherUnsafe.cs | ghcode:00008:4e620207caad | mit | codeparrot/github-code | 4e620207caad30d61b1f356140f53330027fc7c550e2cf48b0523c9c4c98d765 | 0.6 | testing_debugging_repair_refactoring | 316 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using Microsoft.Reactive.Testing;
using ReactiveUI.Testing;
using Xunit;
namespace Akavache.Tests
{
public class UserObject
{
public string Bio { get; set; }
publi... | jorik041/Akavache | Akavache.Tests/BlobCacheExtensionsFixture.cs | https://github.com/jorik041/Akavache/blob/HEAD/Akavache.Tests/BlobCacheExtensionsFixture.cs | ghcode:00008:65c272adc11b | mit | codeparrot/github-code | 65c272adc11b86af1353d0af1f5f223fe4c708ae59aaa9a08b12cbac5f3c196d | 0.7 | testing_debugging_repair_refactoring | 645 | false | 2026-07-17 |
using Rezolver.Targets;
using Rezolver.Tests.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Xunit;
namespace Rezolver.Tests.Compilation.Specification
{
public partial class CompilerTestsBase
{
//tests in here... | ZolutionSoftware/Rezolver | test/Rezolver.Tests.Compilation.Specification/ConstructorTests.cs | https://github.com/ZolutionSoftware/Rezolver/blob/HEAD/test/Rezolver.Tests.Compilation.Specification/ConstructorTests.cs | ghcode:00008:d180874b71b9 | mit | codeparrot/github-code | d180874b71b9004f36b2ca1c43857e54b9d130402960722e3afcd6521de8c45f | 0.85 | testing_debugging_repair_refactoring | 590 | 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.
#if NETCOREAPP
using System.Diagnostics;
using System.Reflection;
using System.Runtime.Loader;
namespace Microsof... | abock/roslyn | src/Compilers/Shared/CoreClrAnalyzerAssemblyLoader.cs | https://github.com/abock/roslyn/blob/HEAD/src/Compilers/Shared/CoreClrAnalyzerAssemblyLoader.cs | ghcode:00008:cd7f496207db | mit | codeparrot/github-code | cd7f496207db46a8306587f1eb96a3677f6de3e82f2f053f71bd86c79b85deae | 0.85 | testing_debugging_repair_refactoring | 324 | false | 2026-07-17 |
// Copyright (c) 2015 ZZZ Projects. All rights reserved
// Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
// Website: http://www.zzzprojects.com/
// Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927
// All ZZZ Projects products: Entity Framework ... | huoxudong125/Z.ExtensionMethods | src/Z.IO/System.IO.DirectoryInfo/DirectoryInfo.EnumerateDirectories.cs | https://github.com/huoxudong125/Z.ExtensionMethods/blob/HEAD/src/Z.IO/System.IO.DirectoryInfo/DirectoryInfo.EnumerateDirectories.cs | ghcode:00008:8cb7e10ff2e4 | mit | codeparrot/github-code | 8cb7e10ff2e462daafc1dcd89066730f1eb5db324a31ff6b021eb7f12e62b24a | 0.7 | testing_debugging_repair_refactoring | 5,125 | 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.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.Cci;
using Microsoft.CodeAnalysis.CodeGen;
using Microsoft.C... | Giftednewt/roslyn | src/Compilers/CSharp/Portable/Lowering/Instrumentation/DynamicAnalysisInjector.cs | https://github.com/Giftednewt/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/Instrumentation/DynamicAnalysisInjector.cs | ghcode:00008:60d3d5ebdb08 | apache-2.0 | codeparrot/github-code | 60d3d5ebdb081bc317bf7bc64b665b437d54ed62361f6d8b06d144e2496c9358 | 0.85 | testing_debugging_repair_refactoring | 5,153 | false | 2026-07-17 |
using System;
using Bridge.Test.NUnit;
using System.Text.RegularExpressions;
namespace Bridge.ClientTest.Text.RegularExpressions
{
[Category(Constants.MODULE_REGEX)]
[TestFixture(TestNameFormat = "Regex: Escapes - {0}")]
public class RegexEscapesTests : RegexTestBase
{
#region MSDN
[T... | AndreyZM/Bridge | Tests/Batch1/Text/RegularExpressions/RegexEscapesTests.cs | https://github.com/AndreyZM/Bridge/blob/HEAD/Tests/Batch1/Text/RegularExpressions/RegexEscapesTests.cs | ghcode:00008:1159a6252210 | apache-2.0 | codeparrot/github-code | 1159a62522106932be1ccc925cc243f3e9780bad23468760384a0bcbaff26aa1 | 0.85 | testing_debugging_repair_refactoring | 15,625 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ListenerSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
//-... | simonlaroche/akka.net | src/core/Akka.Tests/Routing/ListenerSpec.cs | https://github.com/simonlaroche/akka.net/blob/HEAD/src/core/Akka.Tests/Routing/ListenerSpec.cs | ghcode:00008:9d54a130f2ea | apache-2.0 | codeparrot/github-code | 9d54a130f2eac26afc07ba75f384f3ed54de4ea0ddd9f3c650a186b2036f4573 | 0.85 | testing_debugging_repair_refactoring | 692 | false | 2026-07-17 |
// Copyright © 2011 - Present RealDimensions Software, LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
//
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... | dtgm/choco | src/chocolatey.tests.integration/infrastructure/cryptography/CrytpoHashProviderSpecs.cs | https://github.com/dtgm/choco/blob/HEAD/src/chocolatey.tests.integration/infrastructure/cryptography/CrytpoHashProviderSpecs.cs | ghcode:00008:d25b8da6748e | apache-2.0 | codeparrot/github-code | d25b8da6748e9c4b8d58433049c4e91e96a837edb59f18702666d5d92d7f96cd | 0.85 | testing_debugging_repair_refactoring | 442 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy ... | StefanoRaggi/Lean | Tests/Common/Util/YahooDataDownloaderTests.cs | https://github.com/StefanoRaggi/Lean/blob/HEAD/Tests/Common/Util/YahooDataDownloaderTests.cs | ghcode:00008:e18e1722fec4 | apache-2.0 | codeparrot/github-code | e18e1722fec48a0d3045154fed1b0d9b44126368dcd349c64223bf0955229f30 | 0.85 | testing_debugging_repair_refactoring | 706 | false | 2026-07-17 |
//
// Copyright (C) DataStax Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | datastax/csharp-driver | src/Cassandra.Tests/TestTraceListener.cs | https://github.com/datastax/csharp-driver/blob/HEAD/src/Cassandra.Tests/TestTraceListener.cs | ghcode:00008:54b1cd4d1102 | apache-2.0 | codeparrot/github-code | 54b1cd4d1102db3c54effb096b48b52787869ed0ec54a58e4eb18dce0d97c64a | 0.85 | testing_debugging_repair_refactoring | 217 | false | 2026-07-17 |
using System;
using DbMigrator.Messages;
using Xunit;
namespace DbMigrator.Tests
{
public class MessageTest
{
[Fact]
public void MessageReturnsTheCorrectCode()
{
const int expectedCode = 0;
var message = new Message(0, string.Empty);
Assert.Equal(exp... | Optima-Energy-Systems/EntityFramework-DbMigrator | DbMigrator.Tests/MessageTest.cs | https://github.com/Optima-Energy-Systems/EntityFramework-DbMigrator/blob/HEAD/DbMigrator.Tests/MessageTest.cs | ghcode:00008:1ad538f75794 | apache-2.0 | codeparrot/github-code | 1ad538f75794ddc090eb0a14f9d37c5873f2a703cca70961f64c7b226aa52350 | 0.6 | testing_debugging_repair_refactoring | 324 | false | 2026-07-17 |
#region Copyright
// Copyright 2015 Constantin Pascal
//
// 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... | TestMonkeys/EntityTest | EntityTest/Engine/Constraints/Helpers/EntityResolvableConstraintExpression.cs | https://github.com/TestMonkeys/EntityTest/blob/HEAD/EntityTest/Engine/Constraints/Helpers/EntityResolvableConstraintExpression.cs | ghcode:00008:ec9283d8c634 | apache-2.0 | codeparrot/github-code | ec9283d8c634076d0ef8e5ffd978a7ec27c0b83922ef2d888ea180a65764d2df | 0.7 | testing_debugging_repair_refactoring | 204 | false | 2026-07-17 |
using System;
using System.Linq;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Framework;
namespace Tests.ClientConcepts.ConnectionPooling.BuildingBlocks
{
public class ConnectionPooling
{
/** = Connection Pooling
* Connection pooling is the internal mechanism that takes care of regi... | azubanov/elasticsearch-net | src/Tests/ClientConcepts/ConnectionPooling/BuildingBlocks/ConnectionPooling.Doc.cs | https://github.com/azubanov/elasticsearch-net/blob/HEAD/src/Tests/ClientConcepts/ConnectionPooling/BuildingBlocks/ConnectionPooling.Doc.cs | ghcode:00008:cc605ec98317 | apache-2.0 | codeparrot/github-code | cc605ec98317d51f8aa04d186445dbe51f18f7385dc53efece47c571f427054e | 0.95 | testing_debugging_repair_refactoring | 1,026 | false | 2026-07-17 |
#if !SILVERLIGHT
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json.Converters;
using NUnit.Framework;
using Newtonsoft.Json.Tests.TestObjects;
using System.Data;
namespace Newtonsoft.Json.Tests.Converters
{
public class DataTableConverterTests : TestFixtureB... | hawkstalion/Tog-Mobile | Tog/json.net/Source/Src/Newtonsoft.Json.Tests/Converters/DataTableConverterTests.cs | https://github.com/hawkstalion/Tog-Mobile/blob/HEAD/Tog/json.net/Source/Src/Newtonsoft.Json.Tests/Converters/DataTableConverterTests.cs | ghcode:00008:2b4301a58930 | bsd-3-clause | codeparrot/github-code | 2b4301a58930381f4e10186cb90ff02e34fa5a2cd366f4ce735316f35b7ae277 | 0.95 | testing_debugging_repair_refactoring | 1,767 | false | 2026-07-17 |
// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace ApplicationGateway.Models
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Newtonsoft.Json;
using System.Linq;
public partia... | dsgouda/autorest | Samples/test/end-to-end/network/Client/Models/SubResource.cs | https://github.com/dsgouda/autorest/blob/HEAD/Samples/test/end-to-end/network/Client/Models/SubResource.cs | ghcode:00008:536fc522d2ea | mit | codeparrot/github-code | 536fc522d2ea74470a936feb5cd5b4e7111f150bc62ebe3451dcc90b97f3a346 | 0.95 | testing_debugging_repair_refactoring | 239 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2014 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... | elbaloo/nunit | src/NUnitFramework/framework/Assert.cs | https://github.com/elbaloo/nunit/blob/HEAD/src/NUnitFramework/framework/Assert.cs | ghcode:00008:fad5d0091f2e | mit | codeparrot/github-code | fad5d0091f2e89a52cf1367350381aacb38d9034f9adbaf3ea592d7fc9da30a1 | 0.7 | testing_debugging_repair_refactoring | 2,241 | 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.Net.Test.Common;
using System.Threading;
using Xunit;
using Xunit.Abstractions;
namespace System.Net.... | jcme/corefx | src/System.Net.Sockets/tests/FunctionalTests/DnsEndPointTest.cs | https://github.com/jcme/corefx/blob/HEAD/src/System.Net.Sockets/tests/FunctionalTests/DnsEndPointTest.cs | ghcode:00008:e1023185f91f | mit | codeparrot/github-code | e1023185f91fc1b7b42f8c33adf2f56fa4ad5ad7a0ac17fba26a73791c4512ba | 0.95 | testing_debugging_repair_refactoring | 2,996 | false | 2026-07-17 |
/*
* MindTouch Dream - a distributed REST framework
* Copyright (C) 2006-2014 MindTouch, Inc.
* www.mindtouch.com oss@mindtouch.com
*
* For community documentation and downloads visit mindtouch.com;
* please review the licensing section.
*
* Licensed under the Apache License, Version 2.0 (the "Licens... | bjorg/DReAM | src/tests/MindTouchTest.Sqs/InMemorySqsClientTests/DeleteMessage.cs | https://github.com/bjorg/DReAM/blob/HEAD/src/tests/MindTouchTest.Sqs/InMemorySqsClientTests/DeleteMessage.cs | ghcode:00008:a5a66d39de18 | apache-2.0 | codeparrot/github-code | a5a66d39de185a60aab3ccab2139a512c23f227a6d1bcbf6bd3f5a1b45c18933 | 0.95 | testing_debugging_repair_refactoring | 442 | false | 2026-07-17 |
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | olcayseker/FluentValidation | src/FluentValidation.Tests/DisplayAttributeTests.cs | https://github.com/olcayseker/FluentValidation/blob/HEAD/src/FluentValidation.Tests/DisplayAttributeTests.cs | ghcode:00008:ce0c463d39f4 | apache-2.0 | codeparrot/github-code | ce0c463d39f41f81dd2a8f94e9618334ff514f5b5ca8a270b750e986c3f23279 | 0.85 | testing_debugging_repair_refactoring | 438 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace PHP.Testing
{
public class TestsCollection
{
public enum ConcurrencyLevel
{
None, //< Everything sequential.
Folder, ... | kendallb/Phalanger | Tools/PhpNetTester/TestsCollection.cs | https://github.com/kendallb/Phalanger/blob/HEAD/Tools/PhpNetTester/TestsCollection.cs | ghcode:00008:666796ad0547 | apache-2.0 | codeparrot/github-code | 666796ad05470611d523136e4e7f86b3a6af601f0cf7dc93604a9b9b3aa758d4 | 0.85 | testing_debugging_repair_refactoring | 2,075 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.