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.Diagnostics;
namespace Microsoft.CSharp.RuntimeBinder.Semantics
{
internal abstract class EXPR
... | lggomez/corefx | src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Tree/EXPR.cs | https://github.com/lggomez/corefx/blob/HEAD/src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Tree/EXPR.cs | ghcode:00177:eac8e285151a | mit | codeparrot/github-code | eac8e285151a518a8470e40c7b3ce01b78c9e4fb50b4ec1f100f6b083c5b2d45 | 0.95 | testing_debugging_repair_refactoring | 1,141 | 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 Xunit;
public class ConvertToUInt16Tests : ConvertTestBase<UInt16>
{
[Fact]
public void... | mokchhya/corefx | src/System.Runtime.Extensions/tests/System/Convert.ToUInt16.cs | https://github.com/mokchhya/corefx/blob/HEAD/src/System.Runtime.Extensions/tests/System/Convert.ToUInt16.cs | ghcode:00177:9db108d6d30d | mit | codeparrot/github-code | 9db108d6d30d15b480cfc1dc129091fa483984107d224be006b104be8940d223 | 0.95 | testing_debugging_repair_refactoring | 1,919 | 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 osu.Framework.Allocation;
using osu.Game.Tournament.Screens.MapPool;
namespace osu.Game.Tournament.Tests.Screens
{
... | 2yangk23/osu | osu.Game.Tournament.Tests/Screens/TestSceneMapPoolScreen.cs | https://github.com/2yangk23/osu/blob/HEAD/osu.Game.Tournament.Tests/Screens/TestSceneMapPoolScreen.cs | ghcode:00177:44b4177bb606 | mit | codeparrot/github-code | 44b4177bb606182d7d4343d3faf16338871e2287c75b2f3a23c2482bb8421cb1 | 0.75 | testing_debugging_repair_refactoring | 144 | false | 2026-07-17 |
using Xunit;
namespace Humanizer.Tests.Localisation.es
{
[UseCulture("es-ES")]
public class NumberToWordsTests
{
[Theory]
[InlineData(0, "cero")]
[InlineData(1, "uno")]
[InlineData(10, "diez")]
[InlineData(11, "once")]
[InlineData(122, "ciento veintidós")]
... | hazzik/Humanizer | src/Humanizer.Tests.Shared/Localisation/es/NumberToWordsTests.cs | https://github.com/hazzik/Humanizer/blob/HEAD/src/Humanizer.Tests.Shared/Localisation/es/NumberToWordsTests.cs | ghcode:00177:f66a812409ed | mit | codeparrot/github-code | f66a812409edae264f3f5e747a9118faca418d6367702ff63f37cddbfb156ba5 | 0.75 | testing_debugging_repair_refactoring | 4,604 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using SR = System.Reflection;
using Mono.Cecil;
namespace Mono.Cecil.Tests {
public static class Extensions {
public static MethodDefinition GetMethod (this TypeDefinition self, string name)
{
return self.Methods.Where (m => m.Name == name).First ();
}
... | X-Sharp/XSharpPublic | VisualStudio/Mono.Cecil/Test/Mono.Cecil.Tests/Extensions.cs | https://github.com/X-Sharp/XSharpPublic/blob/HEAD/VisualStudio/Mono.Cecil/Test/Mono.Cecil.Tests/Extensions.cs | ghcode:00177:d64cbabd777d | apache-2.0 | codeparrot/github-code | d64cbabd777daf2c4b58d60ab4cb7df3048cc26e2511c5c207ee1fe23bccf232 | 0.85 | testing_debugging_repair_refactoring | 627 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Diagnostics.Tracing;
using Microsoft.Xunit.Performance.Sdk;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.D... | pharring/xunit-performance | src/xunit.performance.run/ProgramDesktop.cs | https://github.com/pharring/xunit-performance/blob/HEAD/src/xunit.performance.run/ProgramDesktop.cs | ghcode:00177:3cf97f7aa924 | mit | codeparrot/github-code | 3cf97f7aa924cb0a0cb65e558a570930bb5b1e59c46a90cd919b3b5111037e2d | 0.6 | testing_debugging_repair_refactoring | 177 | false | 2026-07-17 |
namespace FakeItEasy
{
using System;
using System.Diagnostics.CodeAnalysis;
using FakeItEasy.Tests;
internal class SyntaxTests
{
[SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Justification = "Required for testing.")]
public void T... | jamiehumphries/FakeItEasy | Source/FakeItEasy.Tests/SyntaxTests.cs | https://github.com/jamiehumphries/FakeItEasy/blob/HEAD/Source/FakeItEasy.Tests/SyntaxTests.cs | ghcode:00177:22fb1d5e046b | mit | codeparrot/github-code | 22fb1d5e046b3f2bbf4b7522093c89d60e5b4ebdfa18600d4c392044daac9df3 | 0.85 | testing_debugging_repair_refactoring | 527 | 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.Linq;
using Microsoft.NodejsTools.Npm;
using Microsoft.NodejsTools.Npm.SPI;
using Microsoft.VisualStudio.TestTools.UnitTesting;
na... | lukedgr/nodejstools | Nodejs/Tests/NpmTests/ModuleHierarchyTests.cs | https://github.com/lukedgr/nodejstools/blob/HEAD/Nodejs/Tests/NpmTests/ModuleHierarchyTests.cs | ghcode:00177:0baee32a6f79 | apache-2.0 | codeparrot/github-code | 0baee32a6f7990f3eeb9774bf3dde881468d391dad1aee830e580480211971b9 | 0.95 | testing_debugging_repair_refactoring | 1,876 | false | 2026-07-17 |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team
//
// 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, m... | praeclarum/Netjs | Netjs/Dependencies/NRefactory/ICSharpCode.NRefactory.CSharp/Resolver/CSharpConversions.cs | https://github.com/praeclarum/Netjs/blob/HEAD/Netjs/Dependencies/NRefactory/ICSharpCode.NRefactory.CSharp/Resolver/CSharpConversions.cs | ghcode:00177:e49c3e0cdbb6 | mit | codeparrot/github-code | e49c3e0cdbb61bb97a3e80beb0194bddaa7befbd80af5e8eb7c298ce0fce9f9e | 0.85 | testing_debugging_repair_refactoring | 9,913 | false | 2026-07-17 |
#region License
/*
* Copyright © 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... | dreamofei/spring-net | test/Spring/Spring.Web.Tests/Web/UI/Controls/ValidationErrorsTests.cs | https://github.com/dreamofei/spring-net/blob/HEAD/test/Spring/Spring.Web.Tests/Web/UI/Controls/ValidationErrorsTests.cs | ghcode:00177:5da7db307436 | apache-2.0 | codeparrot/github-code | 5da7db307436eee4ef50fd98add877d37a722d6d0bb78b9d185c96ac70bc7bb4 | 0.85 | testing_debugging_repair_refactoring | 252 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Di... | abock/roslyn | src/EditorFeatures/CSharpTest/Formatting/FormattingAnalyzerTests.cs | https://github.com/abock/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Formatting/FormattingAnalyzerTests.cs | ghcode:00177:d85601937672 | mit | codeparrot/github-code | d85601937672d90886e7171d5f16f96b645e5c3f5f5603ee3055be83cf1d2fe7 | 0.85 | testing_debugging_repair_refactoring | 338 | 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.
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using System.Linq;
using Xunit;
namespace Microsoft.Azure.Management.Support.Tests.ScenarioTests
{
p... | ayeletshpigelman/azure-sdk-for-net | sdk/support/Microsoft.Azure.Management.Support/tests/ScenarioTests/ProblemClassificationTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/support/Microsoft.Azure.Management.Support/tests/ScenarioTests/ProblemClassificationTests.cs | ghcode:00177:7901cce8b25a | mit | codeparrot/github-code | 7901cce8b25a0350f21af3b701755063b21f29b47707f783eb5c548d024d4801 | 0.85 | testing_debugging_repair_refactoring | 309 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Text.Tests
{
public class EncodingEquals
{
#region Positive Test Case... | mafiya69/corefx | src/System.Text.Encoding/tests/Encoding/EncodingEquals.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/System.Text.Encoding/tests/Encoding/EncodingEquals.cs | ghcode:00177:b5ba537680c0 | mit | codeparrot/github-code | b5ba537680c017ee2e27dc612db4a55198a496eb34dae5e5caaae85d500c8368 | 0.95 | testing_debugging_repair_refactoring | 124 | 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.
//-----------------------------------------------------------------------------
//
// Description:
// This is a sub class of the abstract class for Package.
// This ... | vidhya-bv/corefx-sorting | src/System.IO.Packaging/src/System/IO/Packaging/ZipPackage.cs | https://github.com/vidhya-bv/corefx-sorting/blob/HEAD/src/System.IO.Packaging/src/System/IO/Packaging/ZipPackage.cs | ghcode:00177:fb2708db1905 | mit | codeparrot/github-code | fb2708db190571ba439a1a7cc3cead152f98df4648e2e1c0156ab54b79d0379d | 0.95 | testing_debugging_repair_refactoring | 8,907 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="TypeSegmentUnitTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//--------------------------------... | hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataOData/Tests/OData.Query.TDD.Tests/Semantic/PathOM/TypeSegmentUnitTests.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Tests/OData.Query.TDD.Tests/Semantic/PathOM/TypeSegmentUnitTests.cs | ghcode:00177:f5b45691776a | mit | codeparrot/github-code | f5b45691776ab7ceb037a1631ac0e677a0e25962545b863b86230b5308fca092 | 0.95 | testing_debugging_repair_refactoring | 628 | false | 2026-07-17 |
//Copyright 2004 - $Date: 2008-11-15 23:58:07 +0100 (za, 15 nov 2008) $ by PeopleWare n.v..
//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... | jandppw/ppwcode-recovered-from-google-code | dotnet/Util/OddsAndEnds/trunk/src/Test_I/DateTimeHelperTest.cs | https://github.com/jandppw/ppwcode-recovered-from-google-code/blob/HEAD/dotnet/Util/OddsAndEnds/trunk/src/Test_I/DateTimeHelperTest.cs | ghcode:00177:a2908924df13 | apache-2.0 | codeparrot/github-code | a2908924df13a9f7b24933bbf85477cc7a51b3ad1e2265f22aba58b39de561a9 | 0.95 | testing_debugging_repair_refactoring | 1,254 | 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.Threading;
using System.Threading.Tasks;
using Microso... | CyrusNajmabadi/roslyn | src/VisualStudio/CSharp/Test/EditorConfigSettings/DataProvider/DataProviderTests.TestViewModel.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/VisualStudio/CSharp/Test/EditorConfigSettings/DataProvider/DataProviderTests.TestViewModel.cs | ghcode:00177:92f12d309679 | mit | codeparrot/github-code | 92f12d309679dcd07a7893f5972f5062262153a20515c6ab96768b0dd2eaa627 | 0.95 | testing_debugging_repair_refactoring | 143 | 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 ... | devalkeralia/Lean | Tests/Indicators/StandardDeviationTests.cs | https://github.com/devalkeralia/Lean/blob/HEAD/Tests/Indicators/StandardDeviationTests.cs | ghcode:00177:30632554deaf | apache-2.0 | codeparrot/github-code | 30632554deafd6bc23f8646a2a7ec09fc690667b759a92e1e16ed590d7950b9a | 0.85 | testing_debugging_repair_refactoring | 640 | 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"); you ma... | markusweimer/incubator-reef | lang/cs/Org.Apache.REEF.Tests/Functional/Failure/TestEvaluatorWithRunningTaskImmediatePoison.cs | https://github.com/markusweimer/incubator-reef/blob/HEAD/lang/cs/Org.Apache.REEF.Tests/Functional/Failure/TestEvaluatorWithRunningTaskImmediatePoison.cs | ghcode:00177:a88b2be6ef34 | apache-2.0 | codeparrot/github-code | a88b2be6ef34051749ed5e2e0760dd806989d988437085963eebc3ab7e8b8f27 | 0.85 | testing_debugging_repair_refactoring | 994 | 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;
namespace Microsoft.CodeAnalysis.Syntax
{
internal static class CommonSyntaxNodeRemo... | physhi/roslyn | src/Compilers/Core/Portable/Syntax/CommonSyntaxNodeRemover.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Compilers/Core/Portable/Syntax/CommonSyntaxNodeRemover.cs | ghcode:00177:b89984cd6096 | apache-2.0 | codeparrot/github-code | b89984cd6096ebc8156ea7b5c198a2acd15b4b5b274fd443a49920983e8a1cd2 | 0.85 | testing_debugging_repair_refactoring | 466 | false | 2026-07-17 |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using Microsoft.WindowsAzure.MobileServices.TestFramework;
using System;
using System.Collections.... | paulbatum/azure-mobile-services | sdk/Managed/test/Microsoft.WindowsAzure.MobileServices.iOS.Test/TestPlatform/PushTestUtility.cs | https://github.com/paulbatum/azure-mobile-services/blob/HEAD/sdk/Managed/test/Microsoft.WindowsAzure.MobileServices.iOS.Test/TestPlatform/PushTestUtility.cs | ghcode:00177:ee057e800131 | apache-2.0 | codeparrot/github-code | ee057e80013134adc2fcaee44c2416b19d71b2d97be5985882be25d8d9a1f84d | 0.95 | testing_debugging_repair_refactoring | 1,069 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace CoreLib.Tests.Core.Serialization {
[TestFixture]
public class JsonTests : CoreLibTestBase {}
}
| x335/SaltarelleCompiler | Runtime/CoreLib.Tests/Core/Serialization/Tests.cs | https://github.com/x335/SaltarelleCompiler/blob/HEAD/Runtime/CoreLib.Tests/Core/Serialization/Tests.cs | ghcode:00177:6bf4c7559f32 | apache-2.0 | codeparrot/github-code | 6bf4c7559f32efcecb790a4470be4bed93bb7f8de59b96f82776822bb6eecc80 | 0.75 | testing_debugging_repair_refactoring | 42 | 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 appl... | abhing/azure-sdk-for-net | src/Search/Search.Tests/Tests/GetSuggestTests.cs | https://github.com/abhing/azure-sdk-for-net/blob/HEAD/src/Search/Search.Tests/Tests/GetSuggestTests.cs | ghcode:00177:db5f966896b9 | apache-2.0 | codeparrot/github-code | db5f966896b935ab08d9d1eb014af49924cdf62fb4e7d398322992e62a99b419 | 0.95 | testing_debugging_repair_refactoring | 697 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.IO.Enumeration;
using Xunit;
namespace System.IO.Tests.Enumeration
{
public class RootTests
{
... | shimingsg/corefx | src/System.IO.FileSystem/tests/Enumeration/RootTests.netcoreapp.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.IO.FileSystem/tests/Enumeration/RootTests.netcoreapp.cs | ghcode:00177:77a21c4afad1 | mit | codeparrot/github-code | 77a21c4afad1aba2c5c4a21d19d7731219af325396fc9a96867d0ff6b30dc4e3 | 0.95 | testing_debugging_repair_refactoring | 362 | 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;
namespace System.Collections.Tests
{
public class Dictionary_Generic_Tests_s... | iamjasonp/corefx | src/System.Collections/tests/Generic/Dictionary/Dictionary.Generic.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Collections/tests/Generic/Dictionary/Dictionary.Generic.cs | ghcode:00177:316cfa84a68e | mit | codeparrot/github-code | 316cfa84a68e60c02abb592eb91ebaacf58e045acf8a5b93b8c58387dda51903 | 0.95 | testing_debugging_repair_refactoring | 513 | 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 ComplexBind... | shimingsg/corefx | src/System.ComponentModel.TypeConverter/tests/ComplexBindingPropertiesAttributeTests.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.ComponentModel.TypeConverter/tests/ComplexBindingPropertiesAttributeTests.cs | ghcode:00177:426caa2f4d66 | mit | codeparrot/github-code | 426caa2f4d666b08505f20ed58fa636df0d23af7ae02cb87a01f7f4fc8976d98 | 0.95 | testing_debugging_repair_refactoring | 598 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using System;
using VideoRentalSystem.Commands.AddCommands;
using VideoRentalSystem.Data.Contracts;
namespace VideoRentalSystem.Tests.Commands.AddCommands
{
[TestFixture]
public class AddFilmToCustomerCommand_ConstructorShould
{
[Test]
public void ThrowExc... | TripleBounty/VideoRentalSystem | VideoRentalSystem/VideoRentalSystem.Tests/Commands/AddCommands/AddFilmToCustomerCommand_ConstructorShould.cs | https://github.com/TripleBounty/VideoRentalSystem/blob/HEAD/VideoRentalSystem/VideoRentalSystem.Tests/Commands/AddCommands/AddFilmToCustomerCommand_ConstructorShould.cs | ghcode:00177:41bcbfad7308 | mit | codeparrot/github-code | 41bcbfad7308cf5fbb3cfee6805798f2b15eb074cd742ebc8e9d740a7ede7310 | 0.7 | testing_debugging_repair_refactoring | 161 | false | 2026-07-17 |
using System;
using BCLExtensions.Tests.TestHelpers;
using Xunit;
namespace BCLExtensions.Tests.GenericExtensions
{
public class MapTests
{
[Fact]
public void MapExecutesWhenRun()
{
var value = "Hello World";
int result = value.Map(x => x.Length);
... | csMACnz/BCLExtensions | src/BCLExtensions.Tests/GenericExtensions/MapTests.cs | https://github.com/csMACnz/BCLExtensions/blob/HEAD/src/BCLExtensions.Tests/GenericExtensions/MapTests.cs | ghcode:00177:5c3c448593df | mit | codeparrot/github-code | 5c3c448593df41579318cf6976a7de319f948b36690f8c9b66c2fd4109486726 | 0.75 | testing_debugging_repair_refactoring | 180 | false | 2026-07-17 |
using System;
using System.Diagnostics.CodeAnalysis;
using FluentAssertions;
using NUnit.Framework;
using PutridParrot.Presentation;
using PutridParrot.Presentation.Helpers;
using Tests.Presentation.Helpers;
namespace Tests.Presentation
{
[ExcludeFromCodeCoverage]
[TestFixture]
public class NotifyProperty... | putridparrot/Presentation.Core | Tests.Presentation/NotifyPropertyChangedTests.cs | https://github.com/putridparrot/Presentation.Core/blob/HEAD/Tests.Presentation/NotifyPropertyChangedTests.cs | ghcode:00177:e6a1dbe8d1e4 | mit | codeparrot/github-code | e6a1dbe8d1e433c9c4555456b26695300ff16f13925e7520532e985b76faf79f | 0.75 | testing_debugging_repair_refactoring | 1,077 | false | 2026-07-17 |
using ESSSM.Configuration;
using ESSSM.Visitors;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using Xunit;
namespace ESSSM.Tests
{
public abstract class StateTransitionVisitorTest
{
public class TransitionData
{
... | stanshillis/ESSSM | src/ESSSM.Tests/Visitors/StateTransitionVisitorTest.cs | https://github.com/stanshillis/ESSSM/blob/HEAD/src/ESSSM.Tests/Visitors/StateTransitionVisitorTest.cs | ghcode:00177:656e997f090d | mit | codeparrot/github-code | 656e997f090d452dafb6e8432958d228dbe3c700fdabf81d4636ae7e37ee2299 | 0.6 | testing_debugging_repair_refactoring | 2,326 | false | 2026-07-17 |
using System;
using System.Linq;
using FluentAssertions;
using FluentAssertions.Collections;
using Microsoft.Azure.KeyVault.Models;
namespace EshopWorld.Tools.Tests
{
/// <summary>
/// some extensions for <see cref="T:IEnumerable<Microsoft.Azure.KeyVault.Models.SecretBundle>"/>
/// </summary>
pu... | eShopWorld/cli-tools | src/Tests/EShopWorld.Tools.Tests/SecretBundleCollectionFluentAssertionsExtensions.cs | https://github.com/eShopWorld/cli-tools/blob/HEAD/src/Tests/EShopWorld.Tools.Tests/SecretBundleCollectionFluentAssertionsExtensions.cs | ghcode:00177:7ea7007c45c2 | mit | codeparrot/github-code | 7ea7007c45c209ec068a3f4bb1f0684728efa9c4439af2c5d78e114dfcbe3716 | 0.95 | testing_debugging_repair_refactoring | 1,109 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace Autofac.Integration.ServiceFabric.Test
{
public sealed class RegistrationExtensionsTests
{
[Fact]
public void RegisterServiceFabricSupportOnlyAddsModuleOnce()
{
var builder = new Cont... | autofac/Autofac.ServiceFabric | test/Autofac.Integration.ServiceFabric.Test/RegistrationExtensionsTests.cs | https://github.com/autofac/Autofac.ServiceFabric/blob/HEAD/test/Autofac.Integration.ServiceFabric.Test/RegistrationExtensionsTests.cs | ghcode:00177:5faab27bacb7 | mit | codeparrot/github-code | 5faab27bacb7cf96600f217606f6a3f51553d45316bd816af36082015283a2d1 | 0.75 | testing_debugging_repair_refactoring | 181 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Hylasoft.Behavior
{
/// <summary>
/// This class represent an object that can be tested against several methods
/// </summary>
/// <typeparam name="T">The type that the Test Object is tesing. based on the type, additional extension me... | hylasoft-usa/h-behavior | h-behavior/TestObject.cs | https://github.com/hylasoft-usa/h-behavior/blob/HEAD/h-behavior/TestObject.cs | ghcode:00177:c385d5873152 | mit | codeparrot/github-code | c385d5873152582ed9ae3221c6849df4531491b2815e1a4da8d4e1a36359cfc0 | 0.85 | testing_debugging_repair_refactoring | 801 | 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.CSharp.AssignOut... | abock/roslyn | src/EditorFeatures/CSharpTest/AssignOutParameters/AssignOutParametersAtStartTests.cs | https://github.com/abock/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/AssignOutParameters/AssignOutParametersAtStartTests.cs | ghcode:00177:792a5c1a49d4 | mit | codeparrot/github-code | 792a5c1a49d4dd668873d57cdb88616a4616e11eb606f10f0954999210e83a77 | 0.85 | testing_debugging_repair_refactoring | 3,212 | 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.Globalization;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.... | Tom94/osu-framework | osu.Framework.Tests/Visual/TestCaseUserInterface/TestCaseCountingText.cs | https://github.com/Tom94/osu-framework/blob/HEAD/osu.Framework.Tests/Visual/TestCaseUserInterface/TestCaseCountingText.cs | ghcode:00177:63862ecc0b71 | mit | codeparrot/github-code | 63862ecc0b71b4a812b10fc062056686904f9a5f318cb91753fde7b6553a39af | 0.75 | testing_debugging_repair_refactoring | 828 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
#if !NETCOREAPP11
using System.Data;
#endif
using System.Diagnostics;
using System.Linq;
using ClickHouse.Ado.Impl.ATG.Insert;
namespace ClickHouse.Ado.Impl.ColumnTypes
{
internal class EnumColumnType : ColumnType
{
public Enum... | VitaliyMF/ClickHouse-Net | ClickHouse.Ado/Impl/ColumnTypes/EnumColumnType.cs | https://github.com/VitaliyMF/ClickHouse-Net/blob/HEAD/ClickHouse.Ado/Impl/ColumnTypes/EnumColumnType.cs | ghcode:00177:914ccc33af18 | mit | codeparrot/github-code | 914ccc33af18ea6cb378ef1f69848ab34edaaf2e24c289a04f320847be359b6f | 0.6 | testing_debugging_repair_refactoring | 805 | false | 2026-07-17 |
using JetBrains.Application.Settings;
using NUnit.Framework;
using XmlDocInspections.Plugin.Settings;
namespace XmlDocInspections.Plugin.Tests.Integrative.Highlighting
{
[TestFixture]
public class EnabledExcludeConstructorsTests : MissingXmlDocHighlightingDirectoryTestsBase
{
protected override vo... | ulrichb/XmlDocInspections | Src/XmlDocInspections.Plugin.Tests/Integrative/Highlighting/EnabledExcludeConstructorsTests.cs | https://github.com/ulrichb/XmlDocInspections/blob/HEAD/Src/XmlDocInspections.Plugin.Tests/Integrative/Highlighting/EnabledExcludeConstructorsTests.cs | ghcode:00177:b156915f82e9 | mit | codeparrot/github-code | b156915f82e98a5094290c2cda70f9e302c890bd8bba63a3e2ea1b471cf5d775 | 0.75 | testing_debugging_repair_refactoring | 134 | false | 2026-07-17 |
#if LESSTHAN_NET35
extern alias nunitlinq;
#endif
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, me... | theraot/Theraot | Tests/System/Linq/Expressions/ExpressionTest_RightShift.cs | https://github.com/theraot/Theraot/blob/HEAD/Tests/System/Linq/Expressions/ExpressionTest_RightShift.cs | ghcode:00177:0c052c4930e2 | mit | codeparrot/github-code | 0c052c4930e24e590404e5a61922a06f0dbdec3f387b5c5a473fcb47e4755775 | 0.85 | testing_debugging_repair_refactoring | 1,137 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Simplic.AdaptiveTesting.Configuration
{
/// <summary>
/// Configuration for indicators in a test case
/// </summary>
public class TestCaseIndicator
{
/// <summary>
... | simplicbe/Simplic.AdaptiveTesting | src/Simplic.AdaptiveTesting/Configuration/TestCaseIndicator.cs | https://github.com/simplicbe/Simplic.AdaptiveTesting/blob/HEAD/src/Simplic.AdaptiveTesting/Configuration/TestCaseIndicator.cs | ghcode:00177:bc70ce865555 | mit | codeparrot/github-code | bc70ce865555bb788a925ec1f146c3321d8b9993534b640ede7b3b399eac7d95 | 0.85 | testing_debugging_repair_refactoring | 133 | false | 2026-07-17 |
using UnityEngine;
using UnityEditor;
using NUnit.Framework;
using NSubstitute;
using System.IO;
using DataHelpers;
[TestFixture]
public class RowTests {
[Test]
public void SetErrorMessage() {
Row row = new Row();
row.lineNumber = 1;
row.SetErrorMessage("foo bar baz");
... | apsdsm/datahelpers | Assets/Vendor/DataHelpers/Editor/Tests/Data/RowTests.cs | https://github.com/apsdsm/datahelpers/blob/HEAD/Assets/Vendor/DataHelpers/Editor/Tests/Data/RowTests.cs | ghcode:00177:bbe5f3adc414 | mit | codeparrot/github-code | bbe5f3adc414bbad7a4bd55a202a1308c5a43ce218c13bb0f88ecd89db1d40fa | 0.85 | testing_debugging_repair_refactoring | 110 | false | 2026-07-17 |
namespace SortingAlgoritmsTests
{
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SortingHomework;
[TestClass]
public class QuickSortTests
{
private static Quicksorter<int> sorter;
[ClassInitialize]
public s... | niki-funky/Telerik_Academy | Programming/Data Structures and Algorithms/04. Algo/04.3. Sorting-and-Searching-Algorithms-Homework/SortingAlgoritmsTests/QuickSortTests.cs | https://github.com/niki-funky/Telerik_Academy/blob/HEAD/Programming/Data Structures and Algorithms/04. Algo/04.3. Sorting-and-Searching-Algorithms-Homework/SortingAlgoritmsTests/QuickSortTests.cs | ghcode:00177:1955166b4193 | mit | codeparrot/github-code | 1955166b419343125469d9081a66ef7eb6285d6f2ab74fdc9e76d29cdafe6e75 | 0.75 | testing_debugging_repair_refactoring | 460 | false | 2026-07-17 |
using System.Text;
using Character.Attributes;
using Character.Display;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Character.Tests.Attributes
{
[TestClass]
public class CharacterAttributeSetTests
{
private IAttributeSet _attributeSet;
[TestInitia... | MyTurnyet/CharacterBuilder | Character.Tests/Attributes/CharacterAttributeSetTests.cs | https://github.com/MyTurnyet/CharacterBuilder/blob/HEAD/Character.Tests/Attributes/CharacterAttributeSetTests.cs | ghcode:00177:7e12b35354d6 | mit | codeparrot/github-code | 7e12b35354d60dbb152a3f58919c8c8ccad7d442cead1c527975ff1cac206524 | 0.85 | testing_debugging_repair_refactoring | 869 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using FluentAssertions;
using NUnit.Framework;
namespace System.Extensions.Test.IO
{
[TestFixture]
public sealed class GZipTest
{
public static IEnumerable<byte[]> TestData => new[]
{
new byte[0],
new byte[... | Kittyfisto/System.Extensions | src/System.Extensions.Test/IO/GZipTest.cs | https://github.com/Kittyfisto/System.Extensions/blob/HEAD/src/System.Extensions.Test/IO/GZipTest.cs | ghcode:00177:bf6d18de3617 | mit | codeparrot/github-code | bf6d18de3617f74e20531e4eff721934b080b11d5a4346f0cf7c9c49d3485c91 | 0.6 | testing_debugging_repair_refactoring | 406 | false | 2026-07-17 |
using FluentAssertions;
using NUnit.Framework;
namespace SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests.Validation.ApprenticeshipBulkUpload
{
[TestFixture]
public class WhenValidatingAgreementId : ApprenticeshipBulkUploadValidationTestBase
{
[Test]
public void TestAgreementIdNotNull(... | SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Validation/ApprenticeshipBulkUpload/WhenValidatingAgreementId.cs | https://github.com/SkillsFundingAgency/das-providerapprenticeshipsservice/blob/HEAD/src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Validation/ApprenticeshipBulkUpload/WhenValidatingAgreementId.cs | ghcode:00177:cf46155e9d64 | mit | codeparrot/github-code | cf46155e9d64836f71d6ae399d3bb4d35c3251b3f1376fb0ab04167537af7318 | 0.85 | testing_debugging_repair_refactoring | 144 | false | 2026-07-17 |
namespace PipServices.Commons.Test.Run
{
public class TestClass
{
public TestClass(object value1, object value2)
{
Value1 = value1;
Value2 = value2;
}
public object Value1;
public object Value2 { get; set; }
}
} | pip-services/pip-services-commons-dotnet | test/Run/TestClass.cs | https://github.com/pip-services/pip-services-commons-dotnet/blob/HEAD/test/Run/TestClass.cs | ghcode:00177:e1c33b91b0cf | mit | codeparrot/github-code | e1c33b91b0cfc2c00adca5d085264f83d9c0b938a5a9a4a06b5c7e50e182d460 | 0.75 | testing_debugging_repair_refactoring | 67 | false | 2026-07-17 |
using Castle.DynamicProxy;
using NUnit.Framework;
using Should;
using TypeCreator.AddStrategy;
using TypeCreator.Tests.TestObjects;
namespace TypeCreator.Tests
{
[TestFixture]
public class AOPTestFixture
{
[Test]
public void can_proxy_object()
{
var proxy = new ProxyGe... | tomlazelle/TypeCreator | src/TypeCreator.Tests/AOPTestFixture.cs | https://github.com/tomlazelle/TypeCreator/blob/HEAD/src/TypeCreator.Tests/AOPTestFixture.cs | ghcode:00177:f5ca23ea9dcd | mit | codeparrot/github-code | f5ca23ea9dcd95a2823d61d099a1550656f938c2740029d81ef6d054875c5afd | 0.6 | testing_debugging_repair_refactoring | 190 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using DocumentFormat.OpenXml.Framework;
using System.Diagnostics;
namespace DocumentFormat.OpenXml.Validation
{
internal static class ValidationTraverser
{
... | tomjebo/Open-XML-SDK | src/DocumentFormat.OpenXml/Validation/ValidationTraverser.cs | https://github.com/tomjebo/Open-XML-SDK/blob/HEAD/src/DocumentFormat.OpenXml/Validation/ValidationTraverser.cs | ghcode:00177:fed6707dc400 | mit | codeparrot/github-code | fed6707dc400ec3e7ea9658a2e99cb1ae6331636e5c9f1f70d35e85baaefa354 | 0.85 | testing_debugging_repair_refactoring | 828 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Cumulus.Handlers;
using Cumulus.UnitTests.DependencyResolverTests.DisposableComponents.MessageContracts;
namespace Cumulus.UnitTests.DependencyResolverTests.DisposableComponents.Handlers
{
public class DisposableHandler : IHandleCommand<NullCommand>, IDisposable
... | AtmosphereMessaging/Cumulus | src/Tests/Cumulus.UnitTests/DependencyResolverTests/DisposableComponents/Handlers/DisposableHandler.cs | https://github.com/AtmosphereMessaging/Cumulus/blob/HEAD/src/Tests/Cumulus.UnitTests/DependencyResolverTests/DisposableComponents/Handlers/DisposableHandler.cs | ghcode:00177:e35e0a5ba89f | mit | codeparrot/github-code | e35e0a5ba89f8857b055fe7723df4e0b3de764db43d155924368ae03b46c1700 | 0.85 | testing_debugging_repair_refactoring | 120 | false | 2026-07-17 |
using Xunit;
namespace Swashbuckle.AspNetCore.SwaggerGen.Test
{
/// NOTE: Whitespace in these tests is significant and uses a combination of {tabs} and {spaces}
/// You should toggle "View White Space" to "on".
public class XmlCommentsTextHelperTests
{
[Fact]
public void Humanize_Trims... | domaindrivendev/Ahoy | test/Swashbuckle.AspNetCore.SwaggerGen.Test/XmlComments/XmlCommentsTextHelperTests.cs | https://github.com/domaindrivendev/Ahoy/blob/HEAD/test/Swashbuckle.AspNetCore.SwaggerGen.Test/XmlComments/XmlCommentsTextHelperTests.cs | ghcode:00177:2a08785c5d84 | mit | codeparrot/github-code | 2a08785c5d8423350cb96b7cc40590915bffbb26503aaa4341a704d42bd049ff | 0.85 | testing_debugging_repair_refactoring | 770 | false | 2026-07-17 |
using JetBrains.ReSharper.Psi.CSharp.Tree;
using MockMetrics.Eating.Expression;
using NUnit.Framework;
using Moq;
namespace MockMetrics.Eating.Tests.Expression
{
[TestFixture]
public class CastExpressionEaterTests
{
[Test]
public void EatTest()
{
var snapshot = Mock.Of<... | KozhevnikovDmitry/MockMetrics | MockMetrics/MockMetrics.Eating.Tests/Expression/CastExpressionEaterTests.cs | https://github.com/KozhevnikovDmitry/MockMetrics/blob/HEAD/MockMetrics/MockMetrics.Eating.Tests/Expression/CastExpressionEaterTests.cs | ghcode:00177:0283392857bd | mit | codeparrot/github-code | 0283392857bd77087d0b008fec764f55ffcd4a726c774a5cad8fd7afd14a02ef | 0.75 | testing_debugging_repair_refactoring | 311 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// Copyright (c) 2014-2016 the original author or authors. All Rights Reserved.
//
// NOTICE: You are permitted to use, modify, and distribute this file
// in accordance with the terms of the license agreement accompanying it.
//---... | robotlegs-sharp/robotlegs-sharp-framework | tests/Robotlegs/Bender/Extensions/DirectCommand/Impl/DirectCommandMapTest.cs | https://github.com/robotlegs-sharp/robotlegs-sharp-framework/blob/HEAD/tests/Robotlegs/Bender/Extensions/DirectCommand/Impl/DirectCommandMapTest.cs | ghcode:00177:ffa67744a696 | mit | codeparrot/github-code | ffa67744a69601531c8992b0b4c3b86f1576093f76b63ae56d2c815712fbc5ec | 0.7 | testing_debugging_repair_refactoring | 958 | false | 2026-07-17 |
using System;
using System.Reflection;
using Agiil.Domain.Capabilities;
using Agiil.Tests.Autofixture;
using AutoFixture;
using AutoFixture.NUnit3;
namespace Agiil.Tests.Attributes
{
public class CapabilitySpecAttribute : CustomizeAttribute
{
public override ICustomization GetCustomization(ParameterIn... | csf-dev/agiil | Tests/Agiil.Tests.Common/Attributes/CapabilitySpecAttribute.cs | https://github.com/csf-dev/agiil/blob/HEAD/Tests/Agiil.Tests.Common/Attributes/CapabilitySpecAttribute.cs | ghcode:00177:3cbdbbf1161b | mit | codeparrot/github-code | 3cbdbbf1161b3f82916c29e973b1e95a21f2a77a4d80ed50f7a3744e55f42019 | 0.75 | testing_debugging_repair_refactoring | 184 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Boxer;
using BoxerTests.Bits;
namespace BoxerTests
{
[TestClass]
public class BoxTests
{
[TestMethod]
public void TestBoxShipping()
{
Core ecs = new Core();
Box newbox = ecs.NewBox();
... | JonSnowbd/Boxer | BoxerTests/BoxTests.cs | https://github.com/JonSnowbd/Boxer/blob/HEAD/BoxerTests/BoxTests.cs | ghcode:00177:15c9d56282bb | mit | codeparrot/github-code | 15c9d56282bb47e72fcba770801f8b1178884cfdc531dbc2160136b55d6e9a3b | 0.75 | testing_debugging_repair_refactoring | 193 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using ReClassNET.Util;
namespace ReClassNET.MemoryScanner.Comparer
{
public class IntegerMemoryComparer : IScanComparer
{
public ScanCompareType CompareType { get; }
public int Value1 { get; }
public int Value2 { get; }
public int ValueSize => sizeof(int);
public I... | KN4CK3R/ReClass.NET | ReClass.NET/MemoryScanner/Comparer/IntegerMemoryComparer.cs | https://github.com/KN4CK3R/ReClass.NET/blob/HEAD/ReClass.NET/MemoryScanner/Comparer/IntegerMemoryComparer.cs | ghcode:00177:325eddff49ca | mit | codeparrot/github-code | 325eddff49ca1c51a93380b12ff60d0ac159f51ca42550e3dd7f30808fc9868c | 0.6 | testing_debugging_repair_refactoring | 836 | false | 2026-07-17 |
namespace CrystalQuartz.Core.Tests.Domain
{
using Core.Domain;
using NUnit.Framework;
using NUnit.Framework.SyntaxHelpers;
[TestFixture]
public class ActivityTests : MockSupportTests
{
protected override void InternalInit()
{
}
[Test]
public void CanStar... | stevebering/CrystalQuartz | src/src/CrystalQuartz.Core.Tests/Domain/ActivityTests.cs | https://github.com/stevebering/CrystalQuartz/blob/HEAD/src/src/CrystalQuartz.Core.Tests/Domain/ActivityTests.cs | ghcode:00177:dc37c4e8c042 | mit | codeparrot/github-code | dc37c4e8c042b69fb75d3a801affaa3a39d38425e7fc00c50b2242ac22d7b7f5 | 0.85 | testing_debugging_repair_refactoring | 354 | false | 2026-07-17 |
using AxoCover.Common.Extensions;
using AxoCover.Common.Models;
using AxoCover.Common.Runner;
using AxoCover.Common.Settings;
using AxoCover.Models.Editor;
using AxoCover.Models.Extensions;
using AxoCover.Models.Storage;
using AxoCover.Models.Telemetry;
using AxoCover.Models.Testing.Adapters;
using AxoCover.Models.Test... | axodox/AxoTools | AxoCover/Models/Testing/Discovery/TestProvider.cs | https://github.com/axodox/AxoTools/blob/HEAD/AxoCover/Models/Testing/Discovery/TestProvider.cs | ghcode:00177:26d38de03235 | mit | codeparrot/github-code | 26d38de03235dfd2cf15abc8cf6abd4e9e41416e8a3f547db44fd4182edd3a8d | 0.75 | testing_debugging_repair_refactoring | 1,908 | false | 2026-07-17 |
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Grid.Domain;
namespace GridTest
{
[TestClass]
public class UntouchedAroundTheGoalHeuristicTest
{
private static World _basicWorld;
private static World _basicWorld2;
private static World _basicWorld3;
... | YossiCohen/MA-SIB | GridTest/UntouchedAroundTheGoalHeuristicTest.cs | https://github.com/YossiCohen/MA-SIB/blob/HEAD/GridTest/UntouchedAroundTheGoalHeuristicTest.cs | ghcode:00177:7348a7a6c817 | mit | codeparrot/github-code | 7348a7a6c817f81e31d0b1609c6a4a9bbfffc4223f166eb4b09b12716f24e99b | 0.6 | testing_debugging_repair_refactoring | 347 | false | 2026-07-17 |
namespace StackCache.Test
{
using Fixture;
using Xunit;
using Xunit.Abstractions;
/// <summary>
/// Check store without second level adapter
/// </summary>
[Collection(Consts.Level2)]
public class StoreL2 : StoreTest
{
public StoreL2(Level2Fixture fix, ITestOutputHelper outp... | rducom/StackCache | StackCache.Test/StoreL2.cs | https://github.com/rducom/StackCache/blob/HEAD/StackCache.Test/StoreL2.cs | ghcode:00177:4d8421f54450 | mit | codeparrot/github-code | 4d8421f54450fb995e344015d4757d6afc953a9491073a1c571b4d4d6db1a3d8 | 0.7 | testing_debugging_repair_refactoring | 89 | false | 2026-07-17 |
using System.Net;
using AutoMock;
using Nop.Core.Domain.Catalog;
using Nop.Plugin.Api.Controllers;
using Nop.Plugin.Api.DTOs.ProductCategoryMappings;
using Nop.Plugin.Api.Services;
using NUnit.Framework;
using Rhino.Mocks;
namespace Nop.Plugin.Api.Tests.ControllersTests.ProductCategoryMappings
{
using Microsoft.A... | SevenSpikes/api-plugin-for-nopcommerce | Nop.Plugin.Api.Tests/ControllersTests/ProductCategoryMappings/ProductCategoryMappingsControllerTests_GetMappingById.cs | https://github.com/SevenSpikes/api-plugin-for-nopcommerce/blob/HEAD/Nop.Plugin.Api.Tests/ControllersTests/ProductCategoryMappings/ProductCategoryMappingsControllerTests_GetMappingById.cs | ghcode:00177:9098551aae0c | mit | codeparrot/github-code | 9098551aae0c733fb412395d6a059d1684e5c91d52d58ffedcfe759ccabb32de | 0.85 | testing_debugging_repair_refactoring | 996 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Zergatul.Cryptography.Asymmetric;
using Zergatul.Math;
namespace Zergatul.Cryptography.Tests.Asymmetric
{
[TestClass]
public class ECDiffieHellmanTestsOld
{
//[TestMethod]
//public void TestPrimaryField1()
//{
... | Zergatul/ZergatulLib | Zergatul.Cryptography.Tests/Asymmetric/ECDiffieHellmanTestsOld.cs | https://github.com/Zergatul/ZergatulLib/blob/HEAD/Zergatul.Cryptography.Tests/Asymmetric/ECDiffieHellmanTestsOld.cs | ghcode:00177:da86975cecf5 | mit | codeparrot/github-code | da86975cecf516603e9e7d106eb0db0b551e9f0fb91c6859fe776fe6e01b80ef | 0.85 | testing_debugging_repair_refactoring | 1,633 | false | 2026-07-17 |
namespace Tests.Resolvers
{
using System;
using Castle.Facilities.ServiceFabricIntegration.Resolvers;
using Microsoft.ServiceFabric.Actors.Runtime;
using Xunit;
public class RuntimeRegistrationTests
{
[Fact]
public void StaticInitializationTest()
{
Assert.No... | keithbo/Castle.Facilities.ServiceFabricIntegration | Tests/Resolvers/RuntimeRegistrationTests.cs | https://github.com/keithbo/Castle.Facilities.ServiceFabricIntegration/blob/HEAD/Tests/Resolvers/RuntimeRegistrationTests.cs | ghcode:00177:08106ca2af72 | mit | codeparrot/github-code | 08106ca2af726065934898028f1660c55410b662cd9c3439b25f84427bc000df | 0.75 | testing_debugging_repair_refactoring | 187 | false | 2026-07-17 |
using NUnit.Framework;
namespace DnDGen.RollGen.Tests.Integration.Stress
{
[TestFixture]
public class d4Tests : ProvidedDiceTests
{
protected override int die => 4;
protected override PartialRoll GetRoll(int quantity) => Dice.Roll(quantity).d4();
[Test]
public void StressD... | DnDGen/RollGen | DnDGen.RollGen.Tests.Integration.Stress/d4Tests.cs | https://github.com/DnDGen/RollGen/blob/HEAD/DnDGen.RollGen.Tests.Integration.Stress/d4Tests.cs | ghcode:00177:414a200d37e3 | mit | codeparrot/github-code | 414a200d37e316e0d9a7794e89a9c40f0cae057a7b22530069c4f5f9be717f6c | 0.75 | testing_debugging_repair_refactoring | 90 | false | 2026-07-17 |
using FluentAssertions;
using Xunit;
namespace NRamdaLib.Tests
{
public class IdentityTests
{
[Fact]
public void ReturnsParameter()
{
NRamda.Identity(1).Should().Be(1);
NRamda.Identity("yo").Should().Be("yo");
NRamda.Identity("hello", "there").Shoul... | GrahamClark/NRamda | src/NRamdaLib.Tests/IdentityTests.cs | https://github.com/GrahamClark/NRamda/blob/HEAD/src/NRamdaLib.Tests/IdentityTests.cs | ghcode:00177:37fdd0582116 | mit | codeparrot/github-code | 37fdd058211662380a228dac8b343f786621a1059d92fa283535cb5ddc9e8b77 | 0.75 | testing_debugging_repair_refactoring | 85 | false | 2026-07-17 |
using ChatterBox.Core.Tests.Specifications;
using ChatterBox.Domain.Aggregates.RoomAggregate;
using ChatterBox.Domain.Aggregates.UserAggregate;
using Ploeh.AutoFixture;
using Shouldly;
namespace ChatterBox.Domain.Tests.Aggregates.RoomAggregate
{
public class WhenAllowingUserToRoom : AutoSpecificationFor<Room>
... | gertjvr/ChatterBox | src/Tests/ChatterBox.Domain.Tests/Aggregates/RoomAggregate/WhenAllowingUserToRoom.cs | https://github.com/gertjvr/ChatterBox/blob/HEAD/src/Tests/ChatterBox.Domain.Tests/Aggregates/RoomAggregate/WhenAllowingUserToRoom.cs | ghcode:00177:38c642e97c82 | mit | codeparrot/github-code | 38c642e97c82d380cf002965f19a27dca4627c50efd70efa153f942f62aacfcd | 0.85 | testing_debugging_repair_refactoring | 152 | false | 2026-07-17 |
using Renci.SshNet.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Renci.SshNet.Tests.Common;
namespace Renci.SshNet.Tests.Classes.Common
{
/// <summary>
///This is a test class for ExceptionEventArgsTest and is intended
///to contain all ExceptionEventArgsTest Unit Tests
... | miniter/SSH.NET | src/Renci.SshNet.Tests/Classes/Common/ExceptionEventArgsTest.cs | https://github.com/miniter/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/Common/ExceptionEventArgsTest.cs | ghcode:00177:fdc74bfeac69 | mit | codeparrot/github-code | fdc74bfeac69b4f2addaae0654220f99551758a05e2bc07cd389fa3b45d603ec | 0.7 | testing_debugging_repair_refactoring | 164 | false | 2026-07-17 |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | Virus-X/CoinSharp | src/Test/ChainSplitTests.cs | https://github.com/Virus-X/CoinSharp/blob/HEAD/src/Test/ChainSplitTests.cs | ghcode:00177:1dc37e7c7813 | apache-2.0 | codeparrot/github-code | 1dc37e7c7813a52b206cd2123166c2655b7e3d5e77449e5f47f8c837c1b58787 | 0.95 | testing_debugging_repair_refactoring | 2,905 | false | 2026-07-17 |
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace BoundTreeGenerator
{
internal enum Tar... | binsys/roslyn_java | Src/Tools/Source/CompilerGeneratorTools/Source/BoundTreeGenerator/BoundNodeClassWriter.cs | https://github.com/binsys/roslyn_java/blob/HEAD/Src/Tools/Source/CompilerGeneratorTools/Source/BoundTreeGenerator/BoundNodeClassWriter.cs | ghcode:00177:4aca20f6a2b4 | apache-2.0 | codeparrot/github-code | 4aca20f6a2b4239cc570b6c00b6a66169f01bbc1d3d06d6a0b9eb0bf8a54bb52 | 0.85 | testing_debugging_repair_refactoring | 13,852 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Qactive.Tests.Tcp.ServiceOptions
{
[TestClass]
public class VisitorTests : TestBase
{
[TestMethod]
public async Task Sim... | RxDave/Qactive | Testing/Qactive.Tests/Tcp/ServiceOptions/VisitorTests.cs | https://github.com/RxDave/Qactive/blob/HEAD/Testing/Qactive.Tests/Tcp/ServiceOptions/VisitorTests.cs | ghcode:00177:e65919094caf | apache-2.0 | codeparrot/github-code | e65919094caffb4758bb0d80215b8fc2a690d383f178eb8f4df93ba8a2f7208b | 0.75 | testing_debugging_repair_refactoring | 288 | 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 Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microso... | aelij/roslyn | src/EditorFeatures/CSharpTest/EditAndContinue/Helpers/EditingTestBase.cs | https://github.com/aelij/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/EditAndContinue/Helpers/EditingTestBase.cs | ghcode:00177:1415b62b99fe | apache-2.0 | codeparrot/github-code | 1415b62b99fe4c7850753b51e0b33b86b8339b954de1b3dbd1551a618842aedd | 0.85 | testing_debugging_repair_refactoring | 1,517 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using NUnit.Framework;
namespace Orleankka.Features
{
namespace Reentrant_messages
{
using Meta;
using Testing;
[Serializable]
class RegularMessage : Query<bool>
{}
[Serializable]
... | AntyaDev/Orleankka | Source/Orleankka.Tests/Features/Reentrant_messages.cs | https://github.com/AntyaDev/Orleankka/blob/HEAD/Source/Orleankka.Tests/Features/Reentrant_messages.cs | ghcode:00177:f1c4e3cedd6c | apache-2.0 | codeparrot/github-code | f1c4e3cedd6cf9037625f80fb44f66d03d3621f2c43ff947c48376194fecc9d6 | 0.6 | testing_debugging_repair_refactoring | 419 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Security;
using System.Security.Cryptography;
using Security.Cryptography.Properties;
namespace Security.Cryptography
{
/// <summary>
/// Random number... | scholtz/FastZep | FastZep3/CrlSecurity/RNGCng.cs | https://github.com/scholtz/FastZep/blob/HEAD/FastZep3/CrlSecurity/RNGCng.cs | ghcode:00177:f88d4a3adcb4 | apache-2.0 | codeparrot/github-code | f88d4a3adcb49cbc4c2abd2cab11db6de41b73575abd92aaac8aa907e5004a0b | 0.7 | testing_debugging_repair_refactoring | 515 | false | 2026-07-17 |
using System.Text;
using DynaStudios.DPCFLib.Util;
using NUnit.Framework;
namespace DPCFLibraryTest
{
[TestFixture]
public class HashCalculatorTest
{
private HashCalculator _hashCalculator;
[TestFixtureSetUp]
public void SetUp()
{
_hashCalculator = new HashCalc... | DynaStudios/DPCFLib | DPCFLibraryTest/HashCalculatorTest.cs | https://github.com/DynaStudios/DPCFLib/blob/HEAD/DPCFLibraryTest/HashCalculatorTest.cs | ghcode:00177:cf6595e0fdea | apache-2.0 | codeparrot/github-code | cf6595e0fdea8a2f3114b826c1f2caa8a5456e0f863a5bad4f5ce5c6b584a716 | 0.6 | testing_debugging_repair_refactoring | 159 | 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.Concurrent;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;... | davkean/roslyn | src/Analyzers/CSharp/Analyzers/UseIndexOrRangeOperator/CSharpUseRangeOperatorDiagnosticAnalyzer.InfoCache.cs | https://github.com/davkean/roslyn/blob/HEAD/src/Analyzers/CSharp/Analyzers/UseIndexOrRangeOperator/CSharpUseRangeOperatorDiagnosticAnalyzer.InfoCache.cs | ghcode:00177:0b13668a39b1 | apache-2.0 | codeparrot/github-code | 0b13668a39b1695130347953937140a4b3bfb7cbea652bb9ebb1ed6034f345d0 | 0.85 | testing_debugging_repair_refactoring | 1,130 | false | 2026-07-17 |
using DeeTree;
namespace DeeTreeSpec
{
using Xunit;
[Trait("given CTB Assessment when Nationality <- UK", "")]
public class given_CTB_Assessment_when_Nationality_eq_UK
{
private IDecision _q;
//private NationalityDecision _d;
private IDecision nxt;
public given_CTB_... | jkennerley/DeeTree | DecisionTree.UnitTest/DecisionTree.UnitTest.cs | https://github.com/jkennerley/DeeTree/blob/HEAD/DecisionTree.UnitTest/DecisionTree.UnitTest.cs | ghcode:00177:73e8b18dbbd7 | apache-2.0 | codeparrot/github-code | 73e8b18dbbd7801de04d08b1bcedc68f1357d0e93a3619f4dca7fda006bcb3c3 | 0.7 | testing_debugging_repair_refactoring | 642 | false | 2026-07-17 |
using System;
using System.Linq;
using Exceptionless.Core.Validation;
using Exceptionless.Core.Models;
using Xunit;
namespace Exceptionless.Api.Tests.Validation {
public class EventValidatorTests {
private readonly PersistentEventValidator _validator;
public EventValidatorTests() {
_v... | adamzolotarev/Exceptionless | Source/Tests/Validation/EventValidatorTests.cs | https://github.com/adamzolotarev/Exceptionless/blob/HEAD/Source/Tests/Validation/EventValidatorTests.cs | ghcode:00177:3f4786441ac0 | apache-2.0 | codeparrot/github-code | 3f4786441ac081735326f8290fce4a5c4d56529477a49551212600d9134125d0 | 0.85 | testing_debugging_repair_refactoring | 1,730 | false | 2026-07-17 |
/*
* Copyright 2012-2016 The Pkcs11Interop Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | thearkhelist/Pkcs11Interop | src/Pkcs11Interop/TestProject1/LowLevelAPI81/_25_WrapAndUnwrapKeyTest.cs | https://github.com/thearkhelist/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop/TestProject1/LowLevelAPI81/_25_WrapAndUnwrapKeyTest.cs | ghcode:00177:72e909345d3f | apache-2.0 | codeparrot/github-code | 72e909345d3f0f7b50fcec9fca9ba9e4116a904118e02d1aaf16bdf3f55804f3 | 0.85 | testing_debugging_repair_refactoring | 1,363 | false | 2026-07-17 |
using System.Threading;
using System.Threading.Tasks;
using Rikrop.Core.Framework.Exceptions;
using NUnit.Framework;
using Telerik.JustMock;
namespace Rikrop.Core.Dataflow.Tests
{
[TestFixture, Timeout(1000)]
public class BalancedTransmitterTest
{
[Test]
public void ShouldStopTakeFromSourc... | rikrop/Rikrop.Core.Dataflow | Rikrop.Core.Dataflow.Tests/BalancedTransmitterTest.cs | https://github.com/rikrop/Rikrop.Core.Dataflow/blob/HEAD/Rikrop.Core.Dataflow.Tests/BalancedTransmitterTest.cs | ghcode:00177:05370a2b5970 | apache-2.0 | codeparrot/github-code | 05370a2b5970773c4ade7e2c97117a96cf44cbba094a4c205f7bf91bfb9cb790 | 0.6 | testing_debugging_repair_refactoring | 449 | false | 2026-07-17 |
namespace Superscribe.Owin.Components
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Superscribe.Owin.Engine;
using Superscribe.Owin.Extensions;
public class OwinHandler
{
private readonly ... | beyond-code-github/Superscribe | Superscribe.Owin/Components/OwinHandler.cs | https://github.com/beyond-code-github/Superscribe/blob/HEAD/Superscribe.Owin/Components/OwinHandler.cs | ghcode:00177:e9f7377ff0d7 | apache-2.0 | codeparrot/github-code | e9f7377ff0d7f81df691426672b3383f666f909d9bdc4177e1f37065f173489b | 0.75 | testing_debugging_repair_refactoring | 413 | false | 2026-07-17 |
using System;
using System.Linq;
using Bytes2you.DataAccess.UnitTests.Testing.Mocks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bytes2you.DataAccess.UnitTests.Domain.EntityMapperBaseTests
{
public abstract class EntityMapperBaseTestBase
{
protected EntityMapperBaseMock<PersonDataEnt... | veskokolev/Bytes2you.DataAccess | src/Bytes2you.DataAccess.UnitTests/Domain/EntityMapperBaseTests/EntityMapperBaseTestBase.cs | https://github.com/veskokolev/Bytes2you.DataAccess/blob/HEAD/src/Bytes2you.DataAccess.UnitTests/Domain/EntityMapperBaseTests/EntityMapperBaseTestBase.cs | ghcode:00177:bef67a43f94b | apache-2.0 | codeparrot/github-code | bef67a43f94bcb9e3713e420fd112fe6afe714f9540d363a7473980fedab01c7 | 0.6 | testing_debugging_repair_refactoring | 144 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using u8 = System.Byte;
using u32 = System.UInt32;
namespace CleanSqlite
{
using sqlite3_value = Sqlite3.Mem;
public partial class Sqlite3
{
/*
** 2001 September 15
**
** The author disclaims copyright to this source code. In place of
** a legal noti... | angelovescio/HistoryNav | HistoryNav/SQLite/update_c.cs | https://github.com/angelovescio/HistoryNav/blob/HEAD/HistoryNav/SQLite/update_c.cs | ghcode:00177:83a9a0be9209 | bsd-2-clause | codeparrot/github-code | 83a9a0be92096270ab777879b3e155ee51d859f8596f60a30b8f47ba5d6f42f7 | 0.63 | testing_debugging_repair_refactoring | 7,752 | false | 2026-07-17 |
// Copyright (c) Alexandre Mutel. All rights reserved.
// Licensed under the BSD-Clause 2 license. See license.txt file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using Sys... | lunet-io/scriban | src/Scriban.Tests/TestRuntime.cs | https://github.com/lunet-io/scriban/blob/HEAD/src/Scriban.Tests/TestRuntime.cs | ghcode:00177:0db03f0db186 | bsd-2-clause | codeparrot/github-code | 0db03f0db1867eabbd0efa5c04596bee4f9913a4d0322287eafdfd527e779e01 | 0.78 | testing_debugging_repair_refactoring | 7,647 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using MbUnit.Framework;
using System.IO;
namespace Rhino.Mocks.Tests.FieldsProblem
{
[TestFixture]
public class FieldProblem_Chompers
{
[Test]
public void MockingPropertyThatReturnsStream()
{
MockRepository mocks = new MockRep... | brumschlag/rhino-tools | rhino-mocks/Rhino.Mocks.Tests/FieldsProblem/FieldProblem_Chompers.cs | https://github.com/brumschlag/rhino-tools/blob/HEAD/rhino-mocks/Rhino.Mocks.Tests/FieldsProblem/FieldProblem_Chompers.cs | ghcode:00177:7120195fef3f | bsd-3-clause | codeparrot/github-code | 7120195fef3f8edb0c85d31affd639c1beb08f92169f58d360b11c181dbc7978 | 0.75 | testing_debugging_repair_refactoring | 177 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 - 2014, Northwestern University, Vladimir Kleper, Skip Talbot
// and Pattanasak Mongkolwat.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// Redi... | NCIP/annotation-and-image-markup | AimPlugin4.5/AIM.Annotation/Template/Component.cs | https://github.com/NCIP/annotation-and-image-markup/blob/HEAD/AimPlugin4.5/AIM.Annotation/Template/Component.cs | ghcode:00177:f7bea626c606 | bsd-3-clause | codeparrot/github-code | f7bea626c60667dc79446545abd85fec669aa3bc71f9bc93f359b2b3e89a5f4f | 0.7 | testing_debugging_repair_refactoring | 877 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Plainion.Tests
{
[TestFixture]
class NumberExtensionsTests
{
[Test]
public void Times_WithZero_NoActionExecuted()
{
var count = 0;
0.Times( i => count++ );
Assert.That( count, Is.Equ... | ronin4net/Plainion | src/Plainion.Core.Tests/NumberExtensionsTests.cs | https://github.com/ronin4net/Plainion/blob/HEAD/src/Plainion.Core.Tests/NumberExtensionsTests.cs | ghcode:00177:cce02a020f13 | bsd-3-clause | codeparrot/github-code | cce02a020f134740d905d32898ef9cbe1b7bd680e94c47aaf83ad9a21fb50ab8 | 0.75 | testing_debugging_repair_refactoring | 178 | false | 2026-07-17 |
using FluentAssertions;
using System;
using Toggl.Core.Tests.Generators;
using Toggl.Core.UI.ViewModels;
using Xunit;
namespace Toggl.Core.Tests.UI.ViewModels
{
public sealed class OutdatedAppViewModelTests
{
public abstract class OutdatedAppViewModelTest : BaseViewModelTests<OutdatedAppViewModel>
... | toggl/mobileapp | Toggl.Core.Tests/UI/ViewModels/OutdatedAppViewModelTests.cs | https://github.com/toggl/mobileapp/blob/HEAD/Toggl.Core.Tests/UI/ViewModels/OutdatedAppViewModelTests.cs | ghcode:00177:a7534b068b5c | bsd-3-clause | codeparrot/github-code | a7534b068b5c5f6c1098476ab7f6863dffa66c11a8de8ffa27a39ed981fa4ac5 | 0.75 | testing_debugging_repair_refactoring | 259 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text.Json.Tests.Resources;
using Xunit;
[assembly: CollectionBehavior(DisableTestParallelization = true)]
namespace System.Text.Json.Tests
{
public class PerfSmokeTests
{
private st... | livarcocc/corefxlab | tests/System.Text.Json.Tests/PerfSmokeTests.cs | https://github.com/livarcocc/corefxlab/blob/HEAD/tests/System.Text.Json.Tests/PerfSmokeTests.cs | ghcode:00177:f3660bac5575 | mit | codeparrot/github-code | f3660bac55753f1e7c4168da20f67cdc7c46a9e2a0b22023f193e3d69fd1ac2c | 0.85 | testing_debugging_repair_refactoring | 675 | false | 2026-07-17 |
#pragma warning disable 618
using NServiceBus;
using NUnit.Framework;
using Particular.Approvals;
public abstract class SubscriptionCommandTests
{
SqlDialect sqlDialect;
public SubscriptionCommandTests(SqlDialect sqlDialect)
{
this.sqlDialect = sqlDialect;
}
[Test]
public void GetSubs... | NServiceBusSqlPersistence/NServiceBus.SqlPersistence | src/SqlPersistence.Tests/Subscription/CommandTests/SubscriptionCommandTests.cs | https://github.com/NServiceBusSqlPersistence/NServiceBus.SqlPersistence/blob/HEAD/src/SqlPersistence.Tests/Subscription/CommandTests/SubscriptionCommandTests.cs | ghcode:00177:661ae6b252c7 | mit | codeparrot/github-code | 661ae6b252c7895e3cb08c84c228e58b31b99ac1e199f8bfed2518600ca0f452 | 0.75 | testing_debugging_repair_refactoring | 380 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BrightstarDB.Tests.Sparql11TestSuite {
[TestClass]
public partial class SyntaxFed : SparqlTest {
public SyntaxFed() : base()
{
}
[TestInitialize]
public void SetUp()
{
CreateStore();
}
[... | kentcb/BrightstarDB | src/core/BrightstarDB.Tests/Sparql11TestSuite/SyntaxFed.cs | https://github.com/kentcb/BrightstarDB/blob/HEAD/src/core/BrightstarDB.Tests/Sparql11TestSuite/SyntaxFed.cs | ghcode:00177:99976cd16484 | mit | codeparrot/github-code | 99976cd1648451296594f02781c11b7c563bf7a5b6e59eeabe49447e8784cb21 | 0.75 | testing_debugging_repair_refactoring | 101 | false | 2026-07-17 |
// ReSharper disable InconsistentNaming
using NSubstitute;
using Xunit;
namespace EasyNetQ.Tests.PersistentConsumerTests
{
public class When_disposed : Given_a_PersistentConsumer
{
protected override void AdditionalSetup()
{
consumer.StartConsuming();
consumer.Dispose(... | micdenny/EasyNetQ | Source/EasyNetQ.Tests/PersistentConsumerTests/When_disposed.cs | https://github.com/micdenny/EasyNetQ/blob/HEAD/Source/EasyNetQ.Tests/PersistentConsumerTests/When_disposed.cs | ghcode:00177:55b0b87fda68 | mit | codeparrot/github-code | 55b0b87fda689564a478e622729ff1fd9ce7369529462c7f3c265ee8467384a8 | 0.75 | testing_debugging_repair_refactoring | 93 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// See the LICENSE file in the project root for more information.
// (C) 2002 Ville Palo
// (C) 2003 Martin Willemoes Hansen
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obta... | JosephTremoulet/corefx | src/System.Data.Common/tests/System/Data/SqlTypes/SqlMoneyTest.cs | https://github.com/JosephTremoulet/corefx/blob/HEAD/src/System.Data.Common/tests/System/Data/SqlTypes/SqlMoneyTest.cs | ghcode:00177:6847bc749955 | mit | codeparrot/github-code | 6847bc749955a5101e2ead31a77855fdbf24cee5051f1e3edaeac83685061ac5 | 0.95 | testing_debugging_repair_refactoring | 4,724 | false | 2026-07-17 |
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace applicationGateway.Models
{
/// <summary>
/// Defines values for VirtualNetworkGatewaySkuName.
/// </summary>
public static class Virtual... | ljhljh235/AutoRest | Samples/test/end-to-end/network/Client/Models/VirtualNetworkGatewaySkuName.cs | https://github.com/ljhljh235/AutoRest/blob/HEAD/Samples/test/end-to-end/network/Client/Models/VirtualNetworkGatewaySkuName.cs | ghcode:00177:61ee5da8c37a | mit | codeparrot/github-code | 61ee5da8c37a73610f9a13b5cc04626f34220a2b8d84dcf1333ab90f499bb776 | 0.95 | testing_debugging_repair_refactoring | 123 | false | 2026-07-17 |
#if FEATURE_COLLATION
using Icu;
using Icu.Collation;
using Lucene.Net.Analysis;
using Lucene.Net.Util;
using NUnit.Framework;
using System;
using System.Globalization;
using System.Linq;
namespace Lucene.Net.Collation
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contribut... | jeme/lucenenet | src/Lucene.Net.Tests.Analysis.Common/Collation/TestCollationKeyAnalyzer.cs | https://github.com/jeme/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Analysis.Common/Collation/TestCollationKeyAnalyzer.cs | ghcode:00177:e6c9501b581c | apache-2.0 | codeparrot/github-code | e6c9501b581cabbedf8ef86944aa9ea1d92bfafb9b5815f873cf3bd1aadfcf35 | 0.85 | testing_debugging_repair_refactoring | 1,589 | false | 2026-07-17 |
// Copyright (c) 2001-2021 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
// "as is", without warranty of any kind, either expressed or implied.
////////////////////////////////////////... | asposewords/Aspose_Words_NET | Examples/ApiExamples/ApiExamples/ExBuildVersion.cs | https://github.com/asposewords/Aspose_Words_NET/blob/HEAD/Examples/ApiExamples/ApiExamples/ExBuildVersion.cs | ghcode:00177:b84ea6daf92a | mit | codeparrot/github-code | b84ea6daf92ad5a6ba7d24125235dc3bce13fa2a895dc19645381ea869305230 | 0.7 | testing_debugging_repair_refactoring | 262 | false | 2026-07-17 |
/*
Copyright 2015 Sannel Software, L.L.C.
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, so... | holtsoftware/Sannel.Helpers | Sannel.Helpers/PCL/Sannel.Helpers.Tests.PCL/AssemblyExtensionTests.cs | https://github.com/holtsoftware/Sannel.Helpers/blob/HEAD/Sannel.Helpers/PCL/Sannel.Helpers.Tests.PCL/AssemblyExtensionTests.cs | ghcode:00177:54f5c5058966 | apache-2.0 | codeparrot/github-code | 54f5c5058966f8579d4c395d8c7d0511514828d99985340f44a776b921a0f96a | 0.75 | testing_debugging_repair_refactoring | 794 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="<file>.cs" company="The Outercurve Foundation">
// Copyright (c) 2011, The Outercurve Foundation.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the ... | suaff/simple-json | src/SimpleJson.Tests/PocoDeserializerTests/ArrayTests.cs | https://github.com/suaff/simple-json/blob/HEAD/src/SimpleJson.Tests/PocoDeserializerTests/ArrayTests.cs | ghcode:00177:bb7667dfc389 | mit | codeparrot/github-code | bb7667dfc3892b3bc2b46081c0c246ea53ee403dba8c77541276c45a2d64bcca | 0.85 | testing_debugging_repair_refactoring | 500 | false | 2026-07-17 |
using System;
using MathNet.Numerics.LinearAlgebra;
using NUnit.Framework;
namespace MathNet.Numerics.UnitTests.LinearAlgebraTests
{
[TestFixture]
public class VectorToStringTests
{
Vector<double> v1 = Vector<double>.Build.Dense(1, i => (i + 1)*Constants.Pi);
Vector<double> v2 = Vector<dou... | albertp007/mathnet-numerics | src/UnitTests/LinearAlgebraTests/VectorToStringTests.cs | https://github.com/albertp007/mathnet-numerics/blob/HEAD/src/UnitTests/LinearAlgebraTests/VectorToStringTests.cs | ghcode:00177:2f982b0d560a | mit | codeparrot/github-code | 2f982b0d560afc6107b311906aa7c74fcf1ad1ad5b52ae219aee8e4b1d423d34 | 0.75 | testing_debugging_repair_refactoring | 429 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Stratis.Bitcoin.Tests.Common.Logging;
using Stratis.Bitcoin.Utilities;
using Xunit;
namespace Stratis.Bitcoin.Tests.Utilities
{
public class FileStorageTest : LogsTestBase, IDisposable
{
public class TestObject
... | fassadlr/StratisBitcoinFullNode | src/Stratis.Bitcoin.Tests/Utilities/FileStorageTest.cs | https://github.com/fassadlr/StratisBitcoinFullNode/blob/HEAD/src/Stratis.Bitcoin.Tests/Utilities/FileStorageTest.cs | ghcode:00177:775d322f583c | mit | codeparrot/github-code | 775d322f583c0428a81766bf379a10a6b55d778398fe605878611c8fdd2a3118 | 0.85 | testing_debugging_repair_refactoring | 3,419 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="EqualConstraint.cs" company="QuantityTypes">
// Copyright (c) 2014 QuantityTypes contributors
// </copyright>
// <summary>
// EqualConstraint is able to compare an actual quant... | fringebits/QuantityTypes | Source/QuantityTypes.Tests/Constraints/EqualConstraint.cs | https://github.com/fringebits/QuantityTypes/blob/HEAD/Source/QuantityTypes.Tests/Constraints/EqualConstraint.cs | ghcode:00177:c192a19f3eb8 | mit | codeparrot/github-code | c192a19f3eb8619ca0480b8e1fa6159683daae4f0b5c9238887b1bf5a4decee5 | 0.85 | testing_debugging_repair_refactoring | 709 | false | 2026-07-17 |
using Lucene.Net.Attributes;
using Lucene.Net.Documents;
using Lucene.Net.Index;
using Lucene.Net.Support;
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Lucene.Net.Codecs.Lucene41
{
using Lucene.Net.Randomized.Generators;
using NUnit.Framework;
using System.IO;
/*... | jpsullivan/lucenenet | src/Lucene.Net.Tests/core/Codecs/Lucene41/TestBlockPostingsFormat3.cs | https://github.com/jpsullivan/lucenenet/blob/HEAD/src/Lucene.Net.Tests/core/Codecs/Lucene41/TestBlockPostingsFormat3.cs | ghcode:00177:689522fdf417 | apache-2.0 | codeparrot/github-code | 689522fdf417f065b46321aa4cce04569800189a34cd646ba5aa1b8552899b60 | 0.85 | testing_debugging_repair_refactoring | 5,528 | false | 2026-07-17 |
#region Copyright and license information
// Copyright 2010-2011 Jon Skeet
//
// 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
... | jskeet/edulinq | src/Edulinq.Tests/AllTest.cs | https://github.com/jskeet/edulinq/blob/HEAD/src/Edulinq.Tests/AllTest.cs | ghcode:00177:aedf419cbb3e | apache-2.0 | codeparrot/github-code | aedf419cbb3eba4a7314eb8ebaecf1bef3a0750e78f7a6c95e752e2dd749d8ed | 0.7 | testing_debugging_repair_refactoring | 540 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.