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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Visual Studio Shared Project
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//
... | DinoV/PTVS | Common/Tests/Utilities/Mocks/MockNormalizedTextChangeCollection.cs | https://github.com/DinoV/PTVS/blob/HEAD/Common/Tests/Utilities/Mocks/MockNormalizedTextChangeCollection.cs | ghcode:00007:a35e770c3bfe | apache-2.0 | codeparrot/github-code | a35e770c3bfefd032f3b583908f6b6d147650da3f6c1099b897dd258f44cc4b9 | 0.95 | testing_debugging_repair_refactoring | 609 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.Xna.Framework;
namespace FarseerPhysics.Common.Decomposition
{
/// <summary>
/// Convex decomposition algorithm created by unknown
///
/// Properties:
/// - No support for holes
/// - Very fast
/// - Only works on... | eumario/Nez | Nez.FarseerPhysics/Farseer/Common/Decomposition/FlipcodeDecomposer.cs | https://github.com/eumario/Nez/blob/HEAD/Nez.FarseerPhysics/Farseer/Common/Decomposition/FlipcodeDecomposer.cs | ghcode:00007:557ec7f31ced | mit | codeparrot/github-code | 557ec7f31ced477ee18aeb2329dfca200700157ec5fdb98ea77c2b8d29f0a415 | 0.7 | testing_debugging_repair_refactoring | 1,239 | 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... | genlu/roslyn | src/Compilers/CSharp/Portable/Symbols/Source/SourceNamespaceSymbol.cs | https://github.com/genlu/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Source/SourceNamespaceSymbol.cs | ghcode:00007:2ca58d5b2cef | mit | codeparrot/github-code | 2ca58d5b2cef0e79e5c3297d3717321456bb512d00a1b0153ec656d6872cb811 | 0.85 | testing_debugging_repair_refactoring | 3,696 | false | 2026-07-17 |
using System.Linq;
using Marten.Services;
using Xunit;
namespace Marten.Testing.Linq
{
public class invoking_queryable_any_Tests : DocumentSessionFixture<NulloIdentityMap>
{
[Fact]
public void any_miss_with_query()
{
theSession.Store(new Target { Number = 1 });
... | jokokko/marten | src/Marten.Testing/Linq/invoking_queryable_any_Tests.cs | https://github.com/jokokko/marten/blob/HEAD/src/Marten.Testing/Linq/invoking_queryable_any_Tests.cs | ghcode:00007:b7f0053b830e | mit | codeparrot/github-code | b7f0053b830ee6717da3126d0c41dfc541ac0c9d5509d0aaed4b256f4cd0b2a0 | 0.75 | testing_debugging_repair_refactoring | 442 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
namespace Microsoft.Management.UI.I... | JamesWTruher/PowerShell-1 | src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/ValidatingValueBase.cs | https://github.com/JamesWTruher/PowerShell-1/blob/HEAD/src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/ValidatingValueBase.cs | ghcode:00007:50a44296c81d | mit | codeparrot/github-code | 50a44296c81d511324154d8281fd90d43ef10e83405222c7b1a5c2d8c71f05ac | 0.7 | testing_debugging_repair_refactoring | 1,718 | false | 2026-07-17 |
/*
* (c) 2008 MOSA - The Managed Operating System Alliance
*
* Licensed under the terms of the New BSD License.
*
*/
using Mosa.Platform.x86;
using Mosa.Kernel;
using Mosa.Kernel.x86;
using System;
using Mosa.ClassLib;
namespace Mosa.HelloWorld.Tests
{
public class Generics
{
public interface IMyInterface<... | Kintaro/MOSA-Project | Source/Mosa.TestWorld.x86/Tests/Generics.cs | https://github.com/Kintaro/MOSA-Project/blob/HEAD/Source/Mosa.TestWorld.x86/Tests/Generics.cs | ghcode:00007:a4618c6f3a44 | bsd-3-clause | codeparrot/github-code | a4618c6f3a444b1bac06464e32e1a626c7a6a4c5dde5c9d76f9e241266abe5e8 | 0.85 | testing_debugging_repair_refactoring | 370 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.Completion.Provi... | physhi/roslyn | src/EditorFeatures/CSharpTest/Completion/CompletionProviders/EnumAndCompletionListTagCompletionProviderTests.cs | https://github.com/physhi/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Completion/CompletionProviders/EnumAndCompletionListTagCompletionProviderTests.cs | ghcode:00007:77c7889741fb | apache-2.0 | codeparrot/github-code | 77c7889741fb4fbaaff0f8cf9a3c1a7b1b1c5f17313e166ce91655c1ec4cf6c7 | 0.85 | testing_debugging_repair_refactoring | 10,577 | false | 2026-07-17 |
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Shared.TestHooks;
namespace Roslyn.Hosting.Diagnostics.Waiters
{
[Export(typeof(IAsynchronousOperationListener))]
[Export(typeof(IAsynchronousOperationWaiter))]
[Feature(FeatureAttribute.NavigationBar)]
internal class NavigationBarWa... | mono/roslyn | src/Test/Diagnostics/Waiters/NavigationBarWaiter.cs | https://github.com/mono/roslyn/blob/HEAD/src/Test/Diagnostics/Waiters/NavigationBarWaiter.cs | ghcode:00007:cafca2073e4a | apache-2.0 | codeparrot/github-code | cafca2073e4ad8932cd26c9d6eaf06398740c3792faa8a85f4aef304a95a861f | 0.85 | testing_debugging_repair_refactoring | 67 | 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.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
using Rosly... | VSadov/roslyn | src/Compilers/CSharp/Test/Syntax/Syntax/SyntaxNodeTests.cs | https://github.com/VSadov/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Syntax/Syntax/SyntaxNodeTests.cs | ghcode:00007:b6f19ec786fc | apache-2.0 | codeparrot/github-code | b6f19ec786fcea96011dcce91f17c0a60d1e3d742163a0948aac8ee217856f6c | 0.82 | testing_debugging_repair_refactoring | 30,364 | 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/LiveDownloadOperationResult.cs | https://github.com/arashkeivan/LiveSDK-for-Windows/blob/HEAD/src/WP8/Source/Internal/LiveDownloadOperationResult.cs | ghcode:00007:e7f670b4b9b5 | mit | codeparrot/github-code | e7f670b4b9b5da38221d91c679b90a416c1dcfaa9ac8e34a911ec0dea5356d32 | 0.7 | testing_debugging_repair_refactoring | 569 | false | 2026-07-17 |
using System.Collections.Generic;
using System.ComponentModel;
using NUnit.Framework;
using SIL.DictionaryServices.Model;
using SIL.Lift;
using SIL.TestUtilities;
namespace SIL.DictionaryServices.Tests.Model
{
[TestFixture]
public class LexSenseCloneableTests:CloneableTests<LexSense>
{
public override LexSense C... | tombogle/libpalaso | SIL.DictionaryServices.Tests/Model/LexSenseTests.cs | https://github.com/tombogle/libpalaso/blob/HEAD/SIL.DictionaryServices.Tests/Model/LexSenseTests.cs | ghcode:00007:2e181effdf56 | mit | codeparrot/github-code | 2e181effdf563e6f973c8cdab76432a58a60a62cc59d4c2c11271ccf72b318ab | 0.85 | testing_debugging_repair_refactoring | 634 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2009 Charlie Poole, Rob Prouse
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restri... | jadarnel27/nunit | src/NUnitFramework/tests/Attributes/CombinatorialTests.cs | https://github.com/jadarnel27/nunit/blob/HEAD/src/NUnitFramework/tests/Attributes/CombinatorialTests.cs | ghcode:00007:fc14c54a69f6 | mit | codeparrot/github-code | fc14c54a69f600d65e84316049ee4cf991e17cc4203425c3c7b91eb61a30e99a | 0.95 | testing_debugging_repair_refactoring | 901 | false | 2026-07-17 |
//
// Copyright (c) 2004-2016 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// 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 s... | bjornbouetsmith/NLog | tests/NLog.UnitTests/Filters/WhenNotContainsTests.cs | https://github.com/bjornbouetsmith/NLog/blob/HEAD/tests/NLog.UnitTests/Filters/WhenNotContainsTests.cs | ghcode:00007:80b25b3a6f77 | bsd-3-clause | codeparrot/github-code | 80b25b3a6f7747ac4b6489ce0932146bc42c1c9be565e14807c47c1f93e279a0 | 0.85 | testing_debugging_repair_refactoring | 754 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Diagnostics;
using FarseerPhysics.Collision.Shapes;
using FarseerPhysics.Dynamics;
using FarseerPhysics.Factories;
using Microsoft.Xna.Framework;
namespace FarseerPhysics.Common.PolygonManipulation
{
public static class CuttingTools
{
//Cutting a shape in... | srakowski/LD36 | src/Coldsteel/Physics/Farseer/Common/PolygonManipulation/CuttingTools.cs | https://github.com/srakowski/LD36/blob/HEAD/src/Coldsteel/Physics/Farseer/Common/PolygonManipulation/CuttingTools.cs | ghcode:00007:db8af10ffc57 | mit | codeparrot/github-code | db8af10ffc5767d13422743f76542458bc031c67459a154d21026443f70cda0e | 0.7 | testing_debugging_repair_refactoring | 1,772 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | Madhukarc/azure-sdk-tools | WindowsAzurePowershell/src/Management.Test/Websites/Services/GithubClientTests.cs | https://github.com/Madhukarc/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.Test/Websites/Services/GithubClientTests.cs | ghcode:00007:b5d2c1ba95d4 | apache-2.0 | codeparrot/github-code | b5d2c1ba95d4f6235cd48e01f5f0a4d471a514b549b3c20f7045d9fac655efcc | 0.95 | testing_debugging_repair_refactoring | 1,845 | 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 StorSimple1200Series.Tests
{
using System;
using Microsoft.Azure.Management.StorSimple1200Series;
using Microsoft.Azure.Management.Stor... | jamestao/azure-sdk-for-net | src/SDKs/StorSimple/Series1200/StorSimple1200Series.Tests/Helpers/TestUtilities.cs | https://github.com/jamestao/azure-sdk-for-net/blob/HEAD/src/SDKs/StorSimple/Series1200/StorSimple1200Series.Tests/Helpers/TestUtilities.cs | ghcode:00007:26b4240e66ef | mit | codeparrot/github-code | 26b4240e66ef5ae86bffd262306111406f19137f7a1106ed5a7cdfbf583999de | 0.85 | testing_debugging_repair_refactoring | 213 | 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.ComponentModel.Composition;
using System.Diagnostics;
... | ErikSchierboom/roslyn | src/EditorFeatures/Core/Implementation/EditAndContinue/ActiveStatementTaggerProvider.cs | https://github.com/ErikSchierboom/roslyn/blob/HEAD/src/EditorFeatures/Core/Implementation/EditAndContinue/ActiveStatementTaggerProvider.cs | ghcode:00007:b50211f53b26 | apache-2.0 | codeparrot/github-code | b50211f53b269e84594242e3f155c90b8774b0ef345f067314ac6453fc2bfec2 | 0.85 | testing_debugging_repair_refactoring | 748 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | zhencui/azure-powershell | src/ServiceManagement/Services/Commands.Test/CloudService/Development/Scaffolding/AddAzureWorkerRoleTests.cs | https://github.com/zhencui/azure-powershell/blob/HEAD/src/ServiceManagement/Services/Commands.Test/CloudService/Development/Scaffolding/AddAzureWorkerRoleTests.cs | ghcode:00007:cc5cdc4c15d5 | apache-2.0 | codeparrot/github-code | cc5cdc4c15d5c6fd1d506b971386d5310d3c810c2e7a1d90327b7b1c13fc1af9 | 0.85 | testing_debugging_repair_refactoring | 1,166 | false | 2026-07-17 |
// Copyright (c) Microsoft. 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 applicable law ... | namratab/azure-sdk-for-net | src/ServiceManagement/Network/Network.Tests/Gateways/DiagnosticsV2Tests.cs | https://github.com/namratab/azure-sdk-for-net/blob/HEAD/src/ServiceManagement/Network/Network.Tests/Gateways/DiagnosticsV2Tests.cs | ghcode:00007:f85bacd688ee | apache-2.0 | codeparrot/github-code | f85bacd688ee3c1dc63f393c72091c264102d028fb60db841226e88cf7307f14 | 0.85 | testing_debugging_repair_refactoring | 1,077 | 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.ComponentModel.Tests
{
public class DefaultPro... | shimingsg/corefx | src/System.ComponentModel.TypeConverter/tests/DefaultPropertyAttributeTests.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.ComponentModel.TypeConverter/tests/DefaultPropertyAttributeTests.cs | ghcode:00007:c6bc4b037950 | mit | codeparrot/github-code | c6bc4b037950a386fa9c00245c526576e3266a6d4c012e17f1e41da2364dcb56 | 0.95 | testing_debugging_repair_refactoring | 424 | 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.Collections;
using System.Diagnostics;
namespace Microsoft.CodeAnalysis.CSharp
{
internal sealed partial class LocalRewrite... | dovzhikova/roslyn | src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_StringInterpolation.cs | https://github.com/dovzhikova/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_StringInterpolation.cs | ghcode:00007:dac49eb00571 | apache-2.0 | codeparrot/github-code | dac49eb00571833aad4791d1267967cc36f421d920c5bb286477d4976689711b | 0.7 | testing_debugging_repair_refactoring | 1,196 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="GlobalContextTests.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: http://www.lhotka.net/cslanet/
// </copyright>
// <summary>no summary</summary>
//--------------------------... | BrettJaner/csla | Source/Csla.test/Silverlight/ApplicationContext/GlobalContextTests.cs | https://github.com/BrettJaner/csla/blob/HEAD/Source/Csla.test/Silverlight/ApplicationContext/GlobalContextTests.cs | ghcode:00007:5b478b45c652 | mit | codeparrot/github-code | 5b478b45c6526c779db2f3d88152ad8a141f63c045893e630156e54ada262602 | 0.85 | testing_debugging_repair_refactoring | 493 | false | 2026-07-17 |
// Copyright © John Gietzen. All Rights Reserved. This source is subject to the MIT license. Please see license.md for more information.
namespace FixMe.Tests
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Build.Fr... | otac0n/FixMe | FixMe.Tests/TokenSearchTests.cs | https://github.com/otac0n/FixMe/blob/HEAD/FixMe.Tests/TokenSearchTests.cs | ghcode:00007:870ac87ab132 | mit | codeparrot/github-code | 870ac87ab132c06a52425df8ce5903ae05f83fae107ddf2dec5be5f16ffc3912 | 0.75 | testing_debugging_repair_refactoring | 917 | false | 2026-07-17 |
using System;
using ExistsForAll.Shepherd.Core;
using Xunit;
namespace ExistsForAll.Shepherd.SimpleInjector.UnitTests
{
public class RegistrationConstraintBehaviorTests
{
[Fact]
public void ShouldSkipAutoRegistration_WhenInterfaceHasAttribute_ShouldSkipRegistration()
{
var sut = BuildSut();
... | existall/Shepherd | src/tests/ExistsForAll.Shepherd.SimpleInjector.UnitTests/RegistrationConstraintBehaviorTests.cs | https://github.com/existall/Shepherd/blob/HEAD/src/tests/ExistsForAll.Shepherd.SimpleInjector.UnitTests/RegistrationConstraintBehaviorTests.cs | ghcode:00007:1ea6b393b9a7 | mit | codeparrot/github-code | 1ea6b393b9a70684e8c7b203c266579e527ccd4953ff717702f646bd94bcaec2 | 0.85 | testing_debugging_repair_refactoring | 623 | false | 2026-07-17 |
// Patterns: 1
// Matches: CommonImpl1.cs,CommonImpl2.cs
// NotMatches: Foo.cs
using System;
using System.Collections.Generic;
using SimpleInjector;
using TestApplication.Types;
namespace TestApplication.SimpleInjector
{
public class RegisterAll3Generic
{
public RegisterAll3Generic()
... | hmemcpy/AgentMulder | src/Test/Data/SimpleInjector/RegisterAll3Generic.cs | https://github.com/hmemcpy/AgentMulder/blob/HEAD/src/Test/Data/SimpleInjector/RegisterAll3Generic.cs | ghcode:00007:a8209a7721ef | mit | codeparrot/github-code | a8209a7721ef4d5db0e46614157c5b7df37206a1c6a822374b4ae3b52f7b2d09 | 0.95 | testing_debugging_repair_refactoring | 105 | false | 2026-07-17 |
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
namespace Silk.Mapping.Tests
{
[TestClass]
public class ObjectConstructionTests
{
private readonly IServiceCollection _serviceCollection = new ServiceCollection();
pri... | SilkDotNet/Silk.Mapping | Silk.Mapping.Tests/ObjectConstructionTests.cs | https://github.com/SilkDotNet/Silk.Mapping/blob/HEAD/Silk.Mapping.Tests/ObjectConstructionTests.cs | ghcode:00007:e263f823d951 | mit | codeparrot/github-code | e263f823d9519215a049f39bec749c8f863f7e2b2cd600736a428a281c40e92d | 0.75 | testing_debugging_repair_refactoring | 1,532 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Silk.Data.Modelling;
using Silk.Data.SQL.ORM.Schema;
namespace Silk.Data.SQL.ORM.Tests.Schema
{
[TestClass]
public class SchemaBuilderTests
{
[TestMethod]
public void Build_Returns_Populated_Schema()
{
var schema = new SchemaBuilder()
... | SilkStack/Silk.Data.SQL.ORM | Silk.Data.SQL.ORM.Tests/Schema/SchemaBuilderTests.cs | https://github.com/SilkStack/Silk.Data.SQL.ORM/blob/HEAD/Silk.Data.SQL.ORM.Tests/Schema/SchemaBuilderTests.cs | ghcode:00007:e06fcaa21d51 | mit | codeparrot/github-code | e06fcaa21d511a40c83dc9b8a9a61cdeeb6d92d8830f3f9b7d0b041ff8147883 | 0.75 | testing_debugging_repair_refactoring | 565 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Wyam.Common.IO;
using Wyam.Common.Util;
using Wyam.Testing;
namespace Wyam.Common.Tests.Util
{
[TestFixture]
[Parallelizable(ParallelScope.Self | ParallelScope.Children)]
public class LinkGeneratorFixture : BaseFixture
{
public class GetLinkTests : Li... | adamclifford/Wyam | tests/core/Wyam.Common.Tests/Util/LinkGeneratorFixture.cs | https://github.com/adamclifford/Wyam/blob/HEAD/tests/core/Wyam.Common.Tests/Util/LinkGeneratorFixture.cs | ghcode:00007:b75487053cce | mit | codeparrot/github-code | b75487053cce6b2adee417683f84340eae47cc0017c481cdae66285a567c60fe | 0.7 | testing_debugging_repair_refactoring | 1,824 | false | 2026-07-17 |
// ReSharper disable UnusedVariable
// ReSharper disable AssignNullToNotNullAttribute
namespace Gu.Localization.Tests.Sandbox
{
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using NUnit.Framework;
public class TranslationsTests
{
[Test]
public... | JohanLarsson/Gu.Localization | Gu.Localization.Tests/Sandbox/TranslationsTests.cs | https://github.com/JohanLarsson/Gu.Localization/blob/HEAD/Gu.Localization.Tests/Sandbox/TranslationsTests.cs | ghcode:00007:1701620b135d | mit | codeparrot/github-code | 1701620b135d09b24e8b14c0d4e188760bca324a3c6fad416e3c8d29aaa5c9f9 | 0.85 | testing_debugging_repair_refactoring | 483 | false | 2026-07-17 |
using Leak.Completion;
using NUnit.Framework;
using System;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Leak.Sockets.Tests
{
public class SendTests
{
[Test]
public void CanSendDataUsingCallbackToExampleSite()
{
TimeSp... | amacal/leak | sources/Leak.Sockets.Tests/SendTests.cs | https://github.com/amacal/leak/blob/HEAD/sources/Leak.Sockets.Tests/SendTests.cs | ghcode:00007:8ed15a75a97e | mit | codeparrot/github-code | 8ed15a75a97ee4c4490376ead5c097d19ef2519bbbcc37f75f788ac56d2500be | 0.75 | testing_debugging_repair_refactoring | 680 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Objects.Get.Users.Lists.Implementations
{
using FluentAssertions;
using System.Threading.Tasks;
using Traits;
using TraktApiSharp.Objects.Get.Users.Lists;
using TraktApiSharp.Objects.Get.Users.Lists.Json.Reader;
using Xunit;
[Category("Objects.Get.Users.Lists.... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Get/Users/Lists/Implementations/TraktListIds_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Objects/Get/Users/Lists/Implementations/TraktListIds_Tests.cs | ghcode:00007:3b3560492ce6 | mit | codeparrot/github-code | 3b3560492ce6e20e5924ad48f626f9fc2e41d37bae5c7563cc8296a66ff32dbb | 0.85 | testing_debugging_repair_refactoring | 567 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using GoogleApi.Entities.Common.Enums;
using GoogleApi.Entities.Search.Common;
using GoogleApi.Entities.Search.Common.Enums;
using GoogleApi.Entities.Search.Web.Request;
using GoogleApi.Exceptions;
using NUnit.Framework;
using La... | vivet/GoogleApi | .tests/GoogleApi.Test/Search/Web/WebSearchTests.cs | https://github.com/vivet/GoogleApi/blob/HEAD/.tests/GoogleApi.Test/Search/Web/WebSearchTests.cs | ghcode:00007:9f954ed0d945 | mit | codeparrot/github-code | 9f954ed0d945ec2f2a3a1c29fa9562635c2303de15c125e663e06b99f82a18a3 | 0.75 | testing_debugging_repair_refactoring | 4,437 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moip.Net.V2;
using Moip.Net.V2.Filter;
using Moip.Net.V2.Model;
using Moip.NetTests;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Moip.Net.V2.Tests
{
[... | zoiverd/moip-net | Moip.NetTests/V2/V2ClientTests.cs | https://github.com/zoiverd/moip-net/blob/HEAD/Moip.NetTests/V2/V2ClientTests.cs | ghcode:00007:955aa656f05f | mit | codeparrot/github-code | 955aa656f05f2ea4ff27cadc56b1bb3855b8d0b51a2c5d7e100cb6b4f600bf35 | 0.75 | testing_debugging_repair_refactoring | 2,083 | false | 2026-07-17 |
using MiniWebDeploy.Deployer.Features.Discovery;
using MiniWebDeploy.Deployer.Tests.Fakes;
using NUnit.Framework;
namespace MiniWebDeploy.Deployer.Tests.Features.Discovery
{
[TestFixture]
public class AssemblyDetailsTests
{
[Test]
public void Ctor_StoresPathsProvided()
{
... | jaimalchohan/mini-web-deploy | src/MiniWebDeploy.Deployer.Tests/Features/Discovery/AssemblyDetailsTests.cs | https://github.com/jaimalchohan/mini-web-deploy/blob/HEAD/src/MiniWebDeploy.Deployer.Tests/Features/Discovery/AssemblyDetailsTests.cs | ghcode:00007:3d69332cd1c7 | mit | codeparrot/github-code | 3d69332cd1c721dbea2ca3f0dc4d492f56c065b9d08e942bde6d1c7722eef6ae | 0.75 | testing_debugging_repair_refactoring | 114 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace MailSecure.Cbc.Tests
{
[TestClass]
public class Encrpytion
{
[TestMethod]
public void Should_Be_Equals_After_Encryption()
{
BytesGenerator generator = BytesGene... | ALFTM/MailSecure | MailSecure.Cbc.Tests/Encrpytion.cs | https://github.com/ALFTM/MailSecure/blob/HEAD/MailSecure.Cbc.Tests/Encrpytion.cs | ghcode:00007:07f72b32f2fe | mit | codeparrot/github-code | 07f72b32f2fee7ec7b85e6599b8d7c1a5836a990282770190e299c0d25236506 | 0.6 | testing_debugging_repair_refactoring | 171 | false | 2026-07-17 |
using FluentCache.Microsoft.Extensions.Caching.Redis;
using Microsoft.Extensions.Caching.Redis;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FluentCache.Test... | cordialgerm/FluentCache | FluentCache.Test.Nuget/RedisCacheNugetTests.cs | https://github.com/cordialgerm/FluentCache/blob/HEAD/FluentCache.Test.Nuget/RedisCacheNugetTests.cs | ghcode:00007:750bbe1fc9e2 | mit | codeparrot/github-code | 750bbe1fc9e29c358c6d6b7d7f4331162618e0ae6b97458c5d753348be9aa2ff | 0.75 | testing_debugging_repair_refactoring | 170 | false | 2026-07-17 |
using System.IO;
using System.Linq;
using DlibDotNet.Dnn;
using Xunit;
namespace DlibDotNet.Tests.Dnn
{
public class LossMulticlassLogPerPixelTest : TestBase
{
[Fact]
public void Create()
{
var networkIds = Enumerable.Range(0, 4);
foreach (var n... | takuya-takeuchi/DlibDotNet | test/DlibDotNet.Tests/Dnn/LossMulticlassLogPerPixelTest.cs | https://github.com/takuya-takeuchi/DlibDotNet/blob/HEAD/test/DlibDotNet.Tests/Dnn/LossMulticlassLogPerPixelTest.cs | ghcode:00007:d50c8813d636 | mit | codeparrot/github-code | d50c8813d6362b19824506a40ace8e008c1e3591fa49b6d6981225e79b6800e9 | 0.6 | testing_debugging_repair_refactoring | 486 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ProjectManyTestBase.cs">
// Copyright (c) 2017. All rights reserved. Licensed under the MIT license. See LICENSE file in
// the project root for full license information.
... | spritely/ReadModel.Mongo | ReadModel.Mongo.Test/Queries/ProjectManyTestBase.cs | https://github.com/spritely/ReadModel.Mongo/blob/HEAD/ReadModel.Mongo.Test/Queries/ProjectManyTestBase.cs | ghcode:00007:6932a1b553c2 | mit | codeparrot/github-code | 6932a1b553c28cc8c77c9a87f1d2d98e938d219ad3e99034c1b41bdb91992407 | 0.7 | testing_debugging_repair_refactoring | 1,070 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections;
using System.Runtime.Serialization;
using System.Diagnostics;
using Undefined.Serialization;
namespace UnitTestProject1.Bugs
{
/// <summary>
/// B002 : 当集合类型具有 OnDeserializing 回调函数时,反序列化时会引发 NullReferenceException。
... | CXuesong/XSerializer | UnitTestProject1/Bugs/B002.cs | https://github.com/CXuesong/XSerializer/blob/HEAD/UnitTestProject1/Bugs/B002.cs | ghcode:00007:8062b6184f80 | mit | codeparrot/github-code | 8062b6184f8098f84e65824ceea823c6082316fb93106e7d8dc67106771e54c5 | 0.7 | testing_debugging_repair_refactoring | 283 | false | 2026-07-17 |
namespace Dike.Core.Test.Localization
{
using Shouldly;
using System.Diagnostics.CodeAnalysis;
using Xunit;
/// <summary>
/// Unit test for the <see cref="Core.Localization.LocalizedString"/> class.
/// </summary>
[ExcludeFromCodeCoverage]
public class LocalizedStringTest
{
... | IngbertPalm/project.dike | test/Dike.Core.Test/Localization/LocalizedStringTest.cs | https://github.com/IngbertPalm/project.dike/blob/HEAD/test/Dike.Core.Test/Localization/LocalizedStringTest.cs | ghcode:00007:6de6b5269eda | mit | codeparrot/github-code | 6de6b5269eda772bc43468b69b375091eb471d9faa184a5d286fa61b7beac2b6 | 0.7 | testing_debugging_repair_refactoring | 177 | false | 2026-07-17 |
// <copyright file="ConfigurationTests.cs" company="Techyian">
// Copyright (c) Ian Auty and contributors. All rights reserved.
// Licensed under the MIT License. Please see LICENSE.txt for License info.
// </copyright>
using System;
using MMALSharp.Common.Utility;
using MMALSharp.Components;
using MMALSharp.Config;
... | techyian/MMALSharp | tests/MMALSharp.Tests/ConfigurationTests.cs | https://github.com/techyian/MMALSharp/blob/HEAD/tests/MMALSharp.Tests/ConfigurationTests.cs | ghcode:00007:592aec68a39f | mit | codeparrot/github-code | 592aec68a39f478f533eabbaed1c2f1ddd2dc57eb9629aa54b64a480b74cfe76 | 0.85 | testing_debugging_repair_refactoring | 3,630 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using NTestController;
using Utilities;
using Logger;
using System.Collections.Generic;
namespace NTestControllerTests
{
[TestFixture]
public class TestQueueTests
{
private TestQueue _testqueue = null;
[SetUp]
public void Setup()
{
... | cpjust/NTestController | src/Tests/NTestControllerTests/TestQueueTests.cs | https://github.com/cpjust/NTestController/blob/HEAD/src/Tests/NTestControllerTests/TestQueueTests.cs | ghcode:00007:d72781944c56 | mit | codeparrot/github-code | d72781944c563386bab1b04f43701270d7b6d58f8d41f5d3ea3e604d8c0fb201 | 0.95 | testing_debugging_repair_refactoring | 1,580 | false | 2026-07-17 |
namespace UglyToad.DataTable.Net35.Tests.Unit.Tests
{
using System;
using System.Linq;
using DataTable.MappingResolvers;
using DataTableResolver;
using DataTypeConverter;
using Factories;
using Helpers;
using POCOs;
using TestStubs;
using Types;
using Xunit;
public clas... | UglyToad/DataTable | UglyToad.DataTable.Net35.Tests.Unit/Tests/EncapsulatedClassesTests.cs | https://github.com/UglyToad/DataTable/blob/HEAD/UglyToad.DataTable.Net35.Tests.Unit/Tests/EncapsulatedClassesTests.cs | ghcode:00007:4ae39aa20e2e | mit | codeparrot/github-code | 4ae39aa20e2e42535d50cda38a42391174110977f18b4ac9f3fc6f751fc5f0fa | 0.85 | testing_debugging_repair_refactoring | 1,411 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Linq.Expressions;
namespace Tasks.Tests.Api.Infrastructure
{
internal class TestDbAsyncEnumerable<T> : EnumerableQuery<T>, IDbAsyncEnumerable<T>, IQueryable<T>
{
public TestDbAsyncEnumera... | dlidstrom/Tasks | Tasks.Tests/Api/Infrastructure/TestDbAsyncEnumerable.cs | https://github.com/dlidstrom/Tasks/blob/HEAD/Tasks.Tests/Api/Infrastructure/TestDbAsyncEnumerable.cs | ghcode:00007:d681ea1d21eb | mit | codeparrot/github-code | d681ea1d21eb0e6025a183adc2f6647f76e7d749dc24d282ae41202b20be026a | 0.75 | testing_debugging_repair_refactoring | 168 | false | 2026-07-17 |
namespace MockEverythingTests.Inspection.Demo
{
internal static class StaticInternalClass
{
}
}
| MainMa/mockeverything | MockEverything/Tests/InspectionDemo/StaticInternalClass.cs | https://github.com/MainMa/mockeverything/blob/HEAD/MockEverything/Tests/InspectionDemo/StaticInternalClass.cs | ghcode:00007:0f35f792e943 | mit | codeparrot/github-code | 0f35f792e9431f5c9e9a48caf5ef1757e9e050707d39ede21a35d50a0dd36710 | 0.45 | testing_debugging_repair_refactoring | 24 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Resources
{
using System;
using System.IO;
using System.Globalization;
using System... | mafiya69/corefx | src/System.Resources.ReaderWriter/src/System/Resources/ResourceReader.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/System.Resources.ReaderWriter/src/System/Resources/ResourceReader.cs | ghcode:00007:5793966c9e90 | mit | codeparrot/github-code | 5793966c9e90c7d74c77101049fc06a8435a95d2d1484ba3f9503ddb420fe5b4 | 0.95 | testing_debugging_repair_refactoring | 3,355 | false | 2026-07-17 |
#define CONTRACTS_FULL
using System.Diagnostics.Contracts;
class A
{
public void Foo(string s)
{
Contract.Requires(s != null, "message");
}
} | SergeyTeplyakov/ReSharperContractExtensions | ReSharper.ContractExtensions.Tests/test/data/Daemon/PreconditionAnalyzers/InvalidRequiresMessageChecker/NoWarningStringLiteral.cs | https://github.com/SergeyTeplyakov/ReSharperContractExtensions/blob/HEAD/ReSharper.ContractExtensions.Tests/test/data/Daemon/PreconditionAnalyzers/InvalidRequiresMessageChecker/NoWarningStringLiteral.cs | ghcode:00007:c74c5396b174 | mit | codeparrot/github-code | c74c5396b174a4ef060282ed32dec451c58ef1b49892e5cbb597620b206c9dc3 | 0.6 | testing_debugging_repair_refactoring | 36 | false | 2026-07-17 |
using System;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
namespace Affecto.Patterns.Domain.Tests
{
[TestClass]
public class DomainEventTests
{
private const long Version = 1;
private readonly Guid id = Guid.NewGuid();
private Dom... | affecto/dotnet-Patterns.Domain | Source/Domain.Tests/DomainEventTests.cs | https://github.com/affecto/dotnet-Patterns.Domain/blob/HEAD/Source/Domain.Tests/DomainEventTests.cs | ghcode:00007:fc3d19aa1ba3 | mit | codeparrot/github-code | fc3d19aa1ba3d7660675a8aceafdd3b4b65aa46164df812a010262b976ca9dea | 0.75 | testing_debugging_repair_refactoring | 304 | false | 2026-07-17 |
using Microsoft.TeamFoundation.DistributedTask.WebApi;
using Microsoft.TeamFoundation.TestManagement.WebApi;
using Microsoft.VisualStudio.Services.Agent.Util;
using Microsoft.VisualStudio.Services.Agent.Worker;
using Microsoft.VisualStudio.Services.Agent.Worker.TestResults;
using Moq;
using System;
using System.Collec... | kasubram/vsts-agent | src/Test/L0/Worker/TestResults/ResultsCommandExtensionTests.cs | https://github.com/kasubram/vsts-agent/blob/HEAD/src/Test/L0/Worker/TestResults/ResultsCommandExtensionTests.cs | ghcode:00007:7c2d21abaf1d | mit | codeparrot/github-code | 7c2d21abaf1debff9fcca528702d1da424d39844bb622e8535fa9f1abc72085d | 0.95 | testing_debugging_repair_refactoring | 4,480 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace
MacroSystem.Tests
{
[TestClass]
public class
StringExtensionsTests
{
const string
SINGLE_LINE = "1";
const string
MULTI_LINE_CRLF = "1\r\n2\r\n3\r\n4";
const string
MULTI_LINE_LF = "1\n2\n3... | macro187/macro-sharp | MacroSystem.Tests/StringExtensionsTests.cs | https://github.com/macro187/macro-sharp/blob/HEAD/MacroSystem.Tests/StringExtensionsTests.cs | ghcode:00007:4aeceabc9f47 | mit | codeparrot/github-code | 4aeceabc9f47740c0f262a72d60ac883a1bc246d7f0dcd5ca2b06f3518c4c643 | 0.75 | testing_debugging_repair_refactoring | 1,011 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Converters;
using Xunit;
using Swashbuckle.AspNetCore.Swagger;
namespace Swashbuckle.AspNetCore.SwaggerGen.Test
{
public class SchemaRegistryTests
... | oconics/Ahoy | test/Swashbuckle.AspNetCore.SwaggerGen.Test/Generator/SchemaRegistryTests.cs | https://github.com/oconics/Ahoy/blob/HEAD/test/Swashbuckle.AspNetCore.SwaggerGen.Test/Generator/SchemaRegistryTests.cs | ghcode:00007:54734a7d806d | mit | codeparrot/github-code | 54734a7d806db912d456495fa9b37ee5e329af85c1244d0c074c5721461c9a63 | 0.75 | testing_debugging_repair_refactoring | 3,200 | false | 2026-07-17 |
namespace Mages.Core.Performance
{
using BenchmarkDotNet.Attributes;
using System;
using YAMP;
public class TrivialBenchmarks
{
private static readonly String AddTwoNumbers = "2 + 3";
private static readonly String AddMultiplyDivideAndPowerNumbers = "2 + 17 + 25 * 4^(2 * 3) / 12";
... | FlorianRappl/Mages | src/Mages.Core.Performance/TrivialBenchmarks.cs | https://github.com/FlorianRappl/Mages/blob/HEAD/src/Mages.Core.Performance/TrivialBenchmarks.cs | ghcode:00007:1ef57eae55c4 | mit | codeparrot/github-code | 1ef57eae55c4ed8638e939cfa04a2752bc4ea5df376eec177b7b87cc49841016 | 0.6 | testing_debugging_repair_refactoring | 617 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace FlexibleParser
{
public partial class UnitP
{
private static UnitInfo RemoveAllUnitInformation(UnitInfo unitInfo, bool partsToo = false)
{
unitInfo.Unit = Units.None;
unitInfo.System... | varocarbas/FlexibleParser | all_code/UnitParser/Source/Methods/Private/Methods_Private_Units.cs | https://github.com/varocarbas/FlexibleParser/blob/HEAD/all_code/UnitParser/Source/Methods/Private/Methods_Private_Units.cs | ghcode:00007:67d93cd4914e | cc0-1.0 | codeparrot/github-code | 67d93cd4914ea47dfadecc07724e1641e2808e13ea2dee065a770762d29da1d8 | 0.63 | testing_debugging_repair_refactoring | 2,577 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Stripe.Client.Sdk.Clients;
using Stripe.Client.Sdk.Models.Arguments;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace Stripe.Client.Sdk.Tests.Models.Arguments
{
... | smiggleworth/Stripe.Client | src/Stripe.Client.Sdk.Tests/Models/Arguments/RecipientCreateArgumentsTests.cs | https://github.com/smiggleworth/Stripe.Client/blob/HEAD/src/Stripe.Client.Sdk.Tests/Models/Arguments/RecipientCreateArgumentsTests.cs | ghcode:00007:3016117cae46 | apache-2.0 | codeparrot/github-code | 3016117cae46f4d00d156d28c85e4d71726f75901c511f5db7a1841b52673c5d | 0.85 | testing_debugging_repair_refactoring | 905 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FlightGates.DataStore;
using FlightGates.DataStore.Entities;
using FlightGates.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace FlightGates.Tests.ServicesTest
{
[TestClass]
public class ScheduleServiceTest
... | hashgit/FlightGates | FlightGates.Tests/ServicesTest/ScheduleServiceTest.cs | https://github.com/hashgit/FlightGates/blob/HEAD/FlightGates.Tests/ServicesTest/ScheduleServiceTest.cs | ghcode:00007:64701e783a5f | apache-2.0 | codeparrot/github-code | 64701e783a5f641d7f6d33156b9224ee73c41a3f4915de5acd2b8855ef9d02f2 | 0.6 | testing_debugging_repair_refactoring | 863 | false | 2026-07-17 |
using System;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Owin;
using System.IO;
using Owin.Builder;
using System.Collections.Generic;
namespace Gate.Middleware.Tests
{
using AppFunc = Func<IDictionary<string, object>, Task>;
[TestFixture]
class MethodOverrideTests
{... | owin/museum-piece-gate | src/Tests/Gate.Middleware.Tests/MethodOverrideTests.cs | https://github.com/owin/museum-piece-gate/blob/HEAD/src/Tests/Gate.Middleware.Tests/MethodOverrideTests.cs | ghcode:00007:2053bd8faf1f | apache-2.0 | codeparrot/github-code | 2053bd8faf1f47ea97cbd3f39e6e56c4164e898d48f9d5660165929c101ad78d | 0.85 | testing_debugging_repair_refactoring | 387 | 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 System;
using System.Diagnostics;
namespace MetaDslx.CodeAnalysis.Syntax
{
using Green = InternalSyntax;
public... | balazssimon/meta-cs | src/Main/MetaDslx.CodeAnalysis.Meta/CodeAnalysis/Syntax/SyntaxEquivalence.cs | https://github.com/balazssimon/meta-cs/blob/HEAD/src/Main/MetaDslx.CodeAnalysis.Meta/CodeAnalysis/Syntax/SyntaxEquivalence.cs | ghcode:00007:521850eb32b9 | apache-2.0 | codeparrot/github-code | 521850eb32b904f140283ff5858cb09aa41fe4efdb2b5785d111b1ec6346ce01 | 0.7 | testing_debugging_repair_refactoring | 1,045 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NFluent;
using NGenerics.DataStructures.Trees;
using NUnit.Framework;
using Newtonsoft.Json.Linq;
using Autofac;
using PicklesDoc.Pickles.DirectoryCrawler;
using PicklesDoc.Pickles.DocumentationBuilders.JSON;
using PicklesDoc.Pickles.Test.Helpers... | irfanah/pickles | src/Pickles/Pickles.Test/Formatters/JSON/when_creating_a_feature_with_meta_info_and_test_result_in_mstest_format.cs | https://github.com/irfanah/pickles/blob/HEAD/src/Pickles/Pickles.Test/Formatters/JSON/when_creating_a_feature_with_meta_info_and_test_result_in_mstest_format.cs | ghcode:00007:956b078ca92b | apache-2.0 | codeparrot/github-code | 956b078ca92b663d83231b2aab43353f308e81ce8bf0363b60b175012d864aab | 0.6 | testing_debugging_repair_refactoring | 1,195 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using FluentAssertions;
using IdentityModel;
using IdentityServer.UnitTests.Common;
using IdentityServer4.Configuration;
using IdentityServer4.Extensions;
using IdentityServer4.Models;
using Microsoft.AspNetCore.Authentica... | IdentityServer/IdentityServer4 | src/IdentityServer4/test/IdentityServer.UnitTests/Extensions/JwtPayloadCreationTests.cs | https://github.com/IdentityServer/IdentityServer4/blob/HEAD/src/IdentityServer4/test/IdentityServer.UnitTests/Extensions/JwtPayloadCreationTests.cs | ghcode:00007:dcbca6e1772f | apache-2.0 | codeparrot/github-code | dcbca6e1772f21e8e553c0809dc72a6460826d19ea221827a9560628c2d5a0b7 | 0.85 | testing_debugging_repair_refactoring | 462 | 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.ComponentModel;
using S... | oocx/roslyn | src/Compilers/Core/Portable/Compilation/Compilation.cs | https://github.com/oocx/roslyn/blob/HEAD/src/Compilers/Core/Portable/Compilation/Compilation.cs | ghcode:00007:17e6a8fad489 | apache-2.0 | codeparrot/github-code | 17e6a8fad48903671d51043e6c4f3d77f711014de79851d7c6c9dd960ec16f6b | 0.57 | testing_debugging_repair_refactoring | 16,513 | false | 2026-07-17 |
using Newtonsoft.Json.Linq;
using NFramework.TaskHandler.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NFramework.TaskHandler.QuickStart.Core
{
public class TestTaskHandler : TaskHandlerBase<TestTaskMessage>
... | hzy19860111/NFramework.TaskHandler | src/NFramework.TaskHandler.QuickStart.Core/TestTaskHandler.cs | https://github.com/hzy19860111/NFramework.TaskHandler/blob/HEAD/src/NFramework.TaskHandler.QuickStart.Core/TestTaskHandler.cs | ghcode:00007:5bd441f9227f | apache-2.0 | codeparrot/github-code | 5bd441f9227fde1443bf7edafb4d2637e47224fff7ecb66e965d4f1348ce65f0 | 0.75 | testing_debugging_repair_refactoring | 247 | false | 2026-07-17 |
//
// - StreamingSourceTests.cs -
//
// Copyright 2013 Carbonfrost Systems, Inc. (http://carbonfrost.com)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/l... | Carbonfrost/ff-foundations-runtime | test/Carbonfrost.Commons.SharedRuntime.Test/Src/Tests/Runtime/StreamingSourceTests.cs | https://github.com/Carbonfrost/ff-foundations-runtime/blob/HEAD/test/Carbonfrost.Commons.SharedRuntime.Test/Src/Tests/Runtime/StreamingSourceTests.cs | ghcode:00007:7cd2ae9b6318 | apache-2.0 | codeparrot/github-code | 7cd2ae9b631812caac8274b6ef04dfef7d759525cb26b5ce20c806936bfe0f5a | 0.95 | testing_debugging_repair_refactoring | 598 | false | 2026-07-17 |
/*
* REST API Documentation for the MOTI Hired Equipment Tracking System (HETS) Application
*
* The Hired Equipment Program is for owners/operators who have a dump truck, bulldozer, backhoe or other piece of equipment they want to hire out to the transportation ministry for day labour and emergency projects. The ... | plavoieBC/hets | Server/test/API/RentalAgreementTestsIntegration.cs | https://github.com/plavoieBC/hets/blob/HEAD/Server/test/API/RentalAgreementTestsIntegration.cs | ghcode:00007:e7b1b32c8537 | apache-2.0 | codeparrot/github-code | e7b1b32c8537220daf4cdcc00ed90c7d5914a3e83939d3fb03ffdf62fa9a878a | 0.95 | testing_debugging_repair_refactoring | 794 | false | 2026-07-17 |
using BackendlessAPI;
using BackendlessAPI.Exception;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace BackendlessAPI.Test
{
/// <summary>
///This is a test class for AppTest and is intended
///to contain all AppTest Unit Tests
///</summary>
[TestC... | cmsni/.NET-SDK | Backendless.Test/old/AppTest.cs | https://github.com/cmsni/.NET-SDK/blob/HEAD/Backendless.Test/old/AppTest.cs | ghcode:00007:2f986ec9dcc2 | apache-2.0 | codeparrot/github-code | 2f986ec9dcc2186934ec780a25b5ccb5928bb0928bd4dbf023edac89e3547421 | 0.7 | testing_debugging_repair_refactoring | 483 | false | 2026-07-17 |
using JenkinsCSharpApi.Interfaces;
// <copyright file="BuildAdapter_GetSpecificBuildStatusXml_Should.cs" company="Automate The Planet Ltd.">
// Copyright 2016 Automate The Planet Ltd.
// Licensed under the Apache License, Version 2.0 (the "License");
// You may not use this file except in compliance with the License.
... | angelovstanton/AutomateThePlanet | dotnet/AutomationTools-Series/Jenkins-CSharp-Api/UnitTests/BuildAdapterTests/BuildAdapter_GetSpecificBuildStatusXml_Should.cs | https://github.com/angelovstanton/AutomateThePlanet/blob/HEAD/dotnet/AutomationTools-Series/Jenkins-CSharp-Api/UnitTests/BuildAdapterTests/BuildAdapter_GetSpecificBuildStatusXml_Should.cs | ghcode:00007:cba6c1e1c05c | apache-2.0 | codeparrot/github-code | cba6c1e1c05c6373a08d86e9a5782ddba960cb6aee368d9d5f66b5dd65b51358 | 0.7 | testing_debugging_repair_refactoring | 358 | 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.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApplicationModels;
namespace ApplicationModelWebSite
{
public class FromHeaderConvention : IAct... | aspnet/AspNetCore | src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/FromHeaderConvention.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/FromHeaderConvention.cs | ghcode:00007:2d497835a69a | apache-2.0 | codeparrot/github-code | 2d497835a69a26647a5cab3dcfc753a6095386a90b76f64c32519cf3870c4904 | 0.85 | testing_debugging_repair_refactoring | 127 | false | 2026-07-17 |
// Copyright (c) IxMilia. All Rights Reserved.
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace IxMilia.Config.Test
{
public class ConfigSerializeTests
{
private void VerifySerialize(string expected, TestClass tc)
{
string actual = tc.SerializeConfig();... | IxMilia/Config | src/IxMilia.Config.Test/ConfigSerializeTests.cs | https://github.com/IxMilia/Config/blob/HEAD/src/IxMilia.Config.Test/ConfigSerializeTests.cs | ghcode:00007:b7a976ccbb1b | apache-2.0 | codeparrot/github-code | b7a976ccbb1b17df66a70d537175d22163602ae6e79841a2a481f8cbe62fc4a3 | 0.75 | testing_debugging_repair_refactoring | 448 | false | 2026-07-17 |
namespace PingPongr.Tests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
using System.Reflection;
[TestClass]
public class RouteBuilderTests
{
public class Ping : IRouteRequest<Pong>
{
public string Message { get; set; }
... | decoy/PingPongr | src/PingPongr.Tests/RouteBuilderTests.cs | https://github.com/decoy/PingPongr/blob/HEAD/src/PingPongr.Tests/RouteBuilderTests.cs | ghcode:00007:6574796052a9 | apache-2.0 | codeparrot/github-code | 6574796052a9d0963de511cfce714b1844d5a139181c3f5097195b06c2d3b2ea | 0.85 | testing_debugging_repair_refactoring | 1,079 | false | 2026-07-17 |
using AcceptanceTesting.Common.Infrastructure;
using Bumblebee.Extensions;
using Bumblebee.Implementation;
using Bumblebee.Setup;
using NUnit.Framework;
using OpenQA.Selenium;
namespace AcceptanceTesting.Bumblebee
{
[TestFixture(typeof (LocalChromeEnvironment))]
[TestFixture(typeof (LocalFirefoxEnvironment))]... | toddmeinershagen/InnovationDay.AcceptanceTesting | src/AcceptanceTesting.Bumblebee/DriverEnvironmentTests.cs | https://github.com/toddmeinershagen/InnovationDay.AcceptanceTesting/blob/HEAD/src/AcceptanceTesting.Bumblebee/DriverEnvironmentTests.cs | ghcode:00007:871eec7972e4 | apache-2.0 | codeparrot/github-code | 871eec7972e461da3d6a3b84ab753346e42cba4364e4199d1e9364bd580a99b5 | 0.75 | testing_debugging_repair_refactoring | 225 | false | 2026-07-17 |
/*
Copyright 2015-2018 Developer Express 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 ... | DevExpress/BigQueryProvider | test/BigQueryProvider.Tests/Tests/BigQueryCommandTestsBase.cs | https://github.com/DevExpress/BigQueryProvider/blob/HEAD/test/BigQueryProvider.Tests/Tests/BigQueryCommandTestsBase.cs | ghcode:00007:aa651e685d61 | apache-2.0 | codeparrot/github-code | aa651e685d6146276ae9473eb9a74225caedfe5e7ff416be05e2294afacd04dd | 0.85 | testing_debugging_repair_refactoring | 3,021 | false | 2026-07-17 |
/*
* REST API Documentation for the MOTI Hired Equipment Tracking System (HETS) Application
*
* The Hired Equipment Program is for owners/operators who have a dump truck, bulldozer, backhoe or other piece of equipment they want to hire out to the transportation ministry for day labour and emergency projects. The ... | plavoieBC/hets | Server/test/Models/UserDetailsViewModelTests.cs | https://github.com/plavoieBC/hets/blob/HEAD/Server/test/Models/UserDetailsViewModelTests.cs | ghcode:00007:1a756e17e6ac | apache-2.0 | codeparrot/github-code | 1a756e17e6ac61bb9462b1475640a8d495260d91c3282c80071027235a51b0f6 | 0.95 | testing_debugging_repair_refactoring | 658 | false | 2026-07-17 |
// Copyright(c) DEVSENSE s.r.o.
// 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
//
// THIS CODE IS PROVIDED ON AN *AS IS*... | DEVSENSE/Parsers | Source/Devsense.PHP.Parser/Ast/UnaryEx.cs | https://github.com/DEVSENSE/Parsers/blob/HEAD/Source/Devsense.PHP.Parser/Ast/UnaryEx.cs | ghcode:00007:7fecdc4f0b47 | apache-2.0 | codeparrot/github-code | 7fecdc4f0b47117fc424194767d1393aec2390cdd4e01b0eb5840375e1df92dd | 0.7 | testing_debugging_repair_refactoring | 453 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SelectTestsSpecial.cs" company="CODE Insiders LTD">
//
// Copyright 2013-2015 CODE Insiders LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may ... | codeinsiders/sharpql | CodeInsiders.SharpQL.Tests/TSql/SelectTestsSpecial.cs | https://github.com/codeinsiders/sharpql/blob/HEAD/CodeInsiders.SharpQL.Tests/TSql/SelectTestsSpecial.cs | ghcode:00007:0440af15f2fa | apache-2.0 | codeparrot/github-code | 0440af15f2fa30adfd7d7370387e093702c343cbe5b89eca18143f7a34a4dae8 | 0.85 | testing_debugging_repair_refactoring | 451 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.IsolatedStorage;
using System.Linq;
using Petroledger.Data;
using Petroledger.Data.Analysis;
using Petroledger.Data.Model;
using Petroledger.Exceptions;
namespace Petroledger.Extensions
{
public static class... | bgourlie/petroledger | Petroledger/Extensions/VehicleExtensions.cs | https://github.com/bgourlie/petroledger/blob/HEAD/Petroledger/Extensions/VehicleExtensions.cs | ghcode:00007:30aa019d3cb7 | bsd-3-clause | codeparrot/github-code | 30aa019d3cb7ab2e793f3ef9e7f1b3a381d1723665032dbc1d4fba6fe9086d41 | 0.7 | testing_debugging_repair_refactoring | 2,033 | false | 2026-07-17 |
#region License
// Copyright (c) 2014 The Sentry Team and individual contributors.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted
// provided that the following conditions are met:
//
// 1. Redistributions of source code must retain t... | webaction/raven-csharp | src/tests/SharpRaven.UnitTests/DsnTests.cs | https://github.com/webaction/raven-csharp/blob/HEAD/src/tests/SharpRaven.UnitTests/DsnTests.cs | ghcode:00007:bbf414ce1458 | bsd-3-clause | codeparrot/github-code | bbf414ce14587ff6836fc318b8cd9529b609eba69b8fb8e90aa9210e8d063bb9 | 0.95 | testing_debugging_repair_refactoring | 890 | false | 2026-07-17 |
using System;
#if NETFX_CORE
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Fact = Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute;
using Assert = Moq.Tests.AssertExtender;
#else
using Xunit;
#endif
namespace Moq.Tests
{
#if NETFX_CORE
[TestClass]
#endif
public class TimesFixture
{
[F... | mbrit/MoqForWinRT | UnitTests/TimesFixture.cs | https://github.com/mbrit/MoqForWinRT/blob/HEAD/UnitTests/TimesFixture.cs | ghcode:00007:24114dadd326 | bsd-3-clause | codeparrot/github-code | 24114dadd326fff14aaa1fcdbea99e33b70834a1a9e01c0ee93f6bd46ba14b59 | 0.6 | testing_debugging_repair_refactoring | 1,236 | false | 2026-07-17 |
using System;
namespace Happer.TestHttpServer
{
public class TestModel
{
public TestModel()
{
this.String = "Hello World, 你好世界";
this.DateTime = System.DateTime.Now;
this.Int32 = int.MaxValue;
this.Int64 = long.MaxValue;
this.Float = ... | gaochundong/Happer | Happer/Tests/Happer.TestHttpServer/Model/TestModel.cs | https://github.com/gaochundong/Happer/blob/HEAD/Happer/Tests/Happer.TestHttpServer/Model/TestModel.cs | ghcode:00007:c9e34c2272d2 | mit | codeparrot/github-code | c9e34c2272d2962b067c52bf0b0aa59bcec2cd4300ad0b3912362b74d0b6c395 | 0.85 | testing_debugging_repair_refactoring | 262 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace PingYourPackage.API.Test.Integration {
internal static class HttpRequestMessageHelper {
internal static HttpRequestMessa... | NikolayKostadinov/PingYourPackage | PingYourPackage.API.Test.Integration/TestHelpers/HttpRequestMessageHelper.cs | https://github.com/NikolayKostadinov/PingYourPackage/blob/HEAD/PingYourPackage.API.Test.Integration/TestHelpers/HttpRequestMessageHelper.cs | ghcode:00007:bd0c3ad971ac | mit | codeparrot/github-code | bd0c3ad971acd628e49e46345495e22ef55b4d5b18c49f553dc2250dc3c3aaa3 | 0.75 | testing_debugging_repair_refactoring | 461 | 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... | diryboy/roslyn | src/Workspaces/Core/Portable/SymbolKey/SymbolKey.SymbolKeyReader.cs | https://github.com/diryboy/roslyn/blob/HEAD/src/Workspaces/Core/Portable/SymbolKey/SymbolKey.SymbolKeyReader.cs | ghcode:00007:0fd5ae87cffa | mit | codeparrot/github-code | 0fd5ae87cffa8bd3b68fef92075b6e540cd39cc1b0f763cd75be0d66a97c73bc | 0.85 | testing_debugging_repair_refactoring | 3,502 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Migr8.Test.Basic;
using NUnit.Framework;
namespace Migr8.Test.Constraints
{
[TestFixture]
public class DoesNotAcceptMigrationsThatShouldHaveBeenExecutedByNow : FixtureBase
{
[Test]
public void TryIt()
{
var firstBatc... | mookid8000/migr8 | Migr8.Test/Constraints/DoesNotAcceptMigrationsThatShouldHaveBeenExecutedByNow.cs | https://github.com/mookid8000/migr8/blob/HEAD/Migr8.Test/Constraints/DoesNotAcceptMigrationsThatShouldHaveBeenExecutedByNow.cs | ghcode:00007:fd357bdc49ca | mit | codeparrot/github-code | fd357bdc49ca0ccd00284304cdbf5934bc66cadb3be3b57b6622eea57d14bb89 | 0.6 | testing_debugging_repair_refactoring | 802 | false | 2026-07-17 |
// ****************************************************************
// Copyright 2008, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org
// ****************************************************************
using System;
using NUnit.... | acken/AutoTest.Net | lib/NUnit/src/NUnit-2.6.0.12051/src/tests/test-assembly/TestMethodSignatureFixture.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.6.0.12051/src/tests/test-assembly/TestMethodSignatureFixture.cs | ghcode:00007:5287048662ee | mit | codeparrot/github-code | 5287048662ee0133cd8aadc2f0c69cc8340827159f8d364bf34dd7d4a95863d1 | 0.95 | testing_debugging_repair_refactoring | 772 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
namespace Octokit.Tests.Integration.fixtures
{
public class RepositoriesHooksFixture : IDisposable
{
readonly IGitHubClient _github;
readonly Repository _repository;
readonly RepositoryHook _hook;
readonly IList<RepositoryHook> _h... | shana/octokit.net | Octokit.Tests.Integration/fixtures/RepositoriesHooksFixture.cs | https://github.com/shana/octokit.net/blob/HEAD/Octokit.Tests.Integration/fixtures/RepositoriesHooksFixture.cs | ghcode:00007:4b697b1fe3f9 | mit | codeparrot/github-code | 4b697b1fe3f9eceebfe3de33ddeea278f6517b7745ff22554bd1d024ead1ec94 | 0.75 | testing_debugging_repair_refactoring | 479 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using System.Diagnostics;
using System.Globalization;
namespace OpenLiveWriter.CoreServices.Progress
{
/// <summary>
/// Represent a nestable block of progress in... | gduncan411/OpenLiveWriter | src/managed/OpenLiveWriter.CoreServices/Progress/ProgressTick.cs | https://github.com/gduncan411/OpenLiveWriter/blob/HEAD/src/managed/OpenLiveWriter.CoreServices/Progress/ProgressTick.cs | ghcode:00007:040b805a7834 | mit | codeparrot/github-code | 040b805a78349a4fd98cdbafb67961acf4477475325fa3f239e4d90586eb2263 | 0.7 | testing_debugging_repair_refactoring | 1,011 | false | 2026-07-17 |
/*
* Copyright 2013 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | DHMechatronicAG/ZXing.Net | Source/test/src/aztec/detector/DetectorTest.cs | https://github.com/DHMechatronicAG/ZXing.Net/blob/HEAD/Source/test/src/aztec/detector/DetectorTest.cs | ghcode:00007:4ea19643c0be | apache-2.0 | codeparrot/github-code | 4ea19643c0be120a545c518f091cbe1f16a3df1c8b7d7c3c2060770ffbeb5181 | 0.95 | testing_debugging_repair_refactoring | 1,697 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="IterablePublisherTest.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>
// </copyr... | simonlaroche/akka.net | src/core/Akka.Streams.Tests.TCK/IterablePublisherTest.cs | https://github.com/simonlaroche/akka.net/blob/HEAD/src/core/Akka.Streams.Tests.TCK/IterablePublisherTest.cs | ghcode:00007:9135be8272f1 | apache-2.0 | codeparrot/github-code | 9135be8272f1cdacfb0285cc261f10f95e0c55960822dbbbe6b10fad1fdec67d | 0.85 | testing_debugging_repair_refactoring | 163 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); yo... | Anomalous-Software/Lucene.NET | src/core/Index/SegmentTermPositions.cs | https://github.com/Anomalous-Software/Lucene.NET/blob/HEAD/src/core/Index/SegmentTermPositions.cs | ghcode:00007:1d7a02e506fa | apache-2.0 | codeparrot/github-code | 1d7a02e506fa2c180fc4acc7f73595e4f8cebf5c91d0e2bf5f4826f65fbcc4d9 | 0.7 | testing_debugging_repair_refactoring | 1,654 | false | 2026-07-17 |
using System;
namespace Microsoft.VisualStudio.TestTools.UnitTesting
{
public class TestClassAttribute : Attribute
{
}
public class TestInitializeAttribute : Attribute
{
}
public class TestCleanupAttribute : Attribute
{
}
public class TestMethodAttribute : Attribute
{
... | ChugR/amqpnetlite | dotnet/Test.Amqp/Attribute.cs | https://github.com/ChugR/amqpnetlite/blob/HEAD/dotnet/Test.Amqp/Attribute.cs | ghcode:00007:3909de81ec23 | apache-2.0 | codeparrot/github-code | 3909de81ec23f4bd043871f36f03213c257b53d1321eb181242a3d63fb7862c5 | 0.6 | testing_debugging_repair_refactoring | 63 | false | 2026-07-17 |
using Arch.CFramework.AppInternals.Serialization.JSONSerialize;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Text;
namespace Arch.CFramework.AppInternals.Test
{
/// <summary>
///This is a test class for FormatterTest and is intended
///to contain all FormatterTest Unit ... | felix-tien/TechLab | CSharpLab/TestCFX/Testing/UnitTest/Arch.CFramework.AppInternals.Test/Serializer/FormatterTest.cs | https://github.com/felix-tien/TechLab/blob/HEAD/CSharpLab/TestCFX/Testing/UnitTest/Arch.CFramework.AppInternals.Test/Serializer/FormatterTest.cs | ghcode:00007:02d178051b4a | apache-2.0 | codeparrot/github-code | 02d178051b4ac2882d610fc2b821df64522eca819c30db5a8ef822e1e7e9ae1a | 0.7 | testing_debugging_repair_refactoring | 714 | false | 2026-07-17 |
//
// Copyright (C) DataStax Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | maxwellb/csharp-driver | src/Cassandra.IntegrationTests/Core/TypeSerializersTests.cs | https://github.com/maxwellb/csharp-driver/blob/HEAD/src/Cassandra.IntegrationTests/Core/TypeSerializersTests.cs | ghcode:00007:d54081da52c7 | apache-2.0 | codeparrot/github-code | d54081da52c756c002197e568b24620bc8e45633e6a7da7442f5fb21aa97f4bd | 0.85 | testing_debugging_repair_refactoring | 2,790 | false | 2026-07-17 |
// Copyright 2008-2009 Louis DeJardin - http://whereslou.com
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... | SparkViewEngine/spark | src/Spark.Tests/FileSystem/InMemoryViewFolderTester.cs | https://github.com/SparkViewEngine/spark/blob/HEAD/src/Spark.Tests/FileSystem/InMemoryViewFolderTester.cs | ghcode:00007:850d64f6b90f | apache-2.0 | codeparrot/github-code | 850d64f6b90f1c5ea0351c65380d49baef49404b3b7b0cbdfe54d46cf4b26fba | 0.7 | testing_debugging_repair_refactoring | 1,375 | false | 2026-07-17 |
using System;
using System.Diagnostics;
namespace HashLib.Hash64
{
internal class FNV64 : Hash, IHash64, IBlockHash
{
private ulong m_hash;
public FNV64()
: base(8, 1)
{
}
public override void Initialize()
{
m_hash = 1469598103934665603... | dangershony/NStratis | Hashing/HashLib/Hash64/FNV64.cs | https://github.com/dangershony/NStratis/blob/HEAD/Hashing/HashLib/Hash64/FNV64.cs | ghcode:00007:284c8657ac63 | mit | codeparrot/github-code | 284c8657ac633d0788a7450c7b6dd7b28de93804f835ec2fa8d92bb6f605b681 | 0.6 | testing_debugging_repair_refactoring | 223 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tasker.Core.Providers;
namespace Tasker.Tests.Core.Providers
{
[TestFixture]
public class IdProviderTests
{
[Test]
public void NextId_ShouldRetur... | shopOFF/TelerikAcademyCourses | Unit-Testing/Unit-Testing/Topics/03. Mocking and JustMock/demos/TaskManager-Example/Tasker.Tests/Core/Providers/IdProviderTests.cs | https://github.com/shopOFF/TelerikAcademyCourses/blob/HEAD/Unit-Testing/Unit-Testing/Topics/03. Mocking and JustMock/demos/TaskManager-Example/Tasker.Tests/Core/Providers/IdProviderTests.cs | ghcode:00007:08e5eaa7c39a | mit | codeparrot/github-code | 08e5eaa7c39a39a0245a705aafe1163f7a9523d27b04d0e0a64e4c84e5cdb245 | 0.75 | testing_debugging_repair_refactoring | 126 | false | 2026-07-17 |
// Copyright 2011 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | BrightstarDB/odata-sparql | ODataLib/OData/Silverlight/Microsoft/Data/OData/Json/JsonReaderExtensions.cs | https://github.com/BrightstarDB/odata-sparql/blob/HEAD/ODataLib/OData/Silverlight/Microsoft/Data/OData/Json/JsonReaderExtensions.cs | ghcode:00007:57e65bb63f1e | mit | codeparrot/github-code | 57e65bb63f1e971816f5576810c2a66ec3005680b4a6197b31db53778c05aa84 | 0.7 | testing_debugging_repair_refactoring | 2,842 | false | 2026-07-17 |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//
// Microsoft Bot Framework: http://botframework.com
//
// Bot Builder SDK Github:
// https://github.com/Microsoft/BotBuilder
//
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// MIT License:
// Permission ... | dr-em/BotBuilder | CSharp/Tests/Microsoft.Bot.Builder.Tests/ScopeTests.cs | https://github.com/dr-em/BotBuilder/blob/HEAD/CSharp/Tests/Microsoft.Bot.Builder.Tests/ScopeTests.cs | ghcode:00007:cb13c3837a5d | mit | codeparrot/github-code | cb13c3837a5d2bf25f5ef83cc1fdd9c41dd4809ca95843ebf6f11702ab67ef73 | 0.95 | testing_debugging_repair_refactoring | 869 | false | 2026-07-17 |
// <copyright file="ScenarioInvoker.cs" company="xBehave.net contributors">
// Copyright (c) xBehave.net contributors. All rights reserved.
// </copyright>
namespace Xbehave.Execution
{
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Global... | modulexcite/xbehave.net | src/Xbehave.2.Execution.desktop/ScenarioInvoker.cs | https://github.com/modulexcite/xbehave.net/blob/HEAD/src/Xbehave.2.Execution.desktop/ScenarioInvoker.cs | ghcode:00007:9b4d9b11a559 | mit | codeparrot/github-code | 9b4d9b11a5591f189d85e773f7fa59aad5261ffd54837e10e436363cbe30e705 | 0.85 | testing_debugging_repair_refactoring | 1,979 | false | 2026-07-17 |
namespace ServiceStack.WebHost.IntegrationTests.Tests
{
public class Config
{
public const string AbsoluteBaseUri = "http://localhost:50001/";
public const string ServiceStackBaseUri = AbsoluteBaseUri + "api";
}
} | fanta-mnix/ServiceStack | tests/ServiceStack.WebHost.IntegrationTests/Tests/Config.cs | https://github.com/fanta-mnix/ServiceStack/blob/HEAD/tests/ServiceStack.WebHost.IntegrationTests/Tests/Config.cs | ghcode:00007:697d820b338f | bsd-3-clause | codeparrot/github-code | 697d820b338fbaaabe436af111991cd31b75b9f7714b87698d295f518b7efb7a | 0.85 | testing_debugging_repair_refactoring | 55 | false | 2026-07-17 |
using System.Linq;
using Marten.Services;
using Shouldly;
using Xunit;
namespace Marten.Testing
{
public class LongDoc
{
public long Id { get; set; }
}
public class persist_and_load_documents_with_long_ids_Tests : DocumentSessionFixture<NulloIdentityMap>
{
[Fact]
public vo... | jokokko/marten | src/Marten.Testing/persist_and_load_documents_with_long_ids_Tests.cs | https://github.com/jokokko/marten/blob/HEAD/src/Marten.Testing/persist_and_load_documents_with_long_ids_Tests.cs | ghcode:00007:6e78a66adc35 | mit | codeparrot/github-code | 6e78a66adc35f1a06bf0ab8f277347727a82dec58657f2ce710007a430a780b7 | 0.75 | testing_debugging_repair_refactoring | 475 | false | 2026-07-17 |
using System;
//**********************************************************************
//* This file is based on the DynamicSkipExample.cs in xUnit which is
//* provided under the following Ms-PL license:
//*
//* This license governs use of the accompanying software. If you use
//* the software, you accept this licens... | jamill/libgit2sharp | LibGit2Sharp.Tests/TestHelpers/SkippableFactAttribute.cs | https://github.com/jamill/libgit2sharp/blob/HEAD/LibGit2Sharp.Tests/TestHelpers/SkippableFactAttribute.cs | ghcode:00007:914be69846b0 | mit | codeparrot/github-code | 914be69846b038934141fb7816526aa42afc55bf3bee80d85a6dc3878780516d | 0.7 | testing_debugging_repair_refactoring | 982 | 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,... | oschwald/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/Utilities/ConvertUtilsTests.cs | https://github.com/oschwald/Newtonsoft.Json/blob/HEAD/Src/Newtonsoft.Json.Tests/Utilities/ConvertUtilsTests.cs | ghcode:00007:aca8cc0e5c2f | mit | codeparrot/github-code | aca8cc0e5c2f193a8f06852a17e771910ea2b74db909eb5c6fe68b09dba4846e | 0.85 | testing_debugging_repair_refactoring | 1,342 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.UnitTests;
us... | furesoft/roslyn | src/EditorFeatures/CSharpTest/EditAndContinue/RudeEditTopLevelTests.cs | https://github.com/furesoft/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/EditAndContinue/RudeEditTopLevelTests.cs | ghcode:00007:8b4c697a559c | apache-2.0 | codeparrot/github-code | 8b4c697a559c78c7d83e14c557667c3e354e19ddca239e460ab7df14425c831f | 0.65 | testing_debugging_repair_refactoring | 55,078 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.