text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NAXB.Interfaces;
using NAXB.UnitTests.Mockups;
using System.Linq;
using System.Collections.Generic;
namespace NAXB.UnitTests
{
[TestClass]
public abstract class XPathProcessorTestBase
{
protected abstract IXPathProcessor Proce... | josheinhorn/NAXB | NAXB.UnitTests/TestBases/XPathProcessorTestBase.cs | https://github.com/josheinhorn/NAXB/blob/HEAD/NAXB.UnitTests/TestBases/XPathProcessorTestBase.cs | ghcode:00002:20b8f5cd5381 | mit | codeparrot/github-code | 20b8f5cd5381f830f4f3fe134ecbe60ce4d8583203e8f9f45fe0e25f218ad43a | 0.7 | testing_debugging_repair_refactoring | 1,117 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
using GraphQL.SystemTextJson;
using GraphQL.Types;
using GraphQL.Validation;
using Microsoft.Extensions.DependencyInjection;
namespace GraphQL.Benchmarks
{
[MemoryDiagnoser]
//[RPlotExporter, CsvMeasurementsExporter]
public c... | joemcbride/graphql-dotnet | src/GraphQL.Benchmarks/Benchmarks/VariableBenchmark.cs | https://github.com/joemcbride/graphql-dotnet/blob/HEAD/src/GraphQL.Benchmarks/Benchmarks/VariableBenchmark.cs | ghcode:00002:0e9ba43000b4 | mit | codeparrot/github-code | 0e9ba43000b4c0d25ae1fef757f08ceb949d0c54780231c9a3fb34779ac90ab5 | 0.6 | testing_debugging_repair_refactoring | 1,188 | 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.Immutable;
using System.Diagnostics;
using System.Threading;
using Roslyn.Utilities;
name... | jmarolf/roslyn | src/Compilers/CSharp/Portable/Symbols/Synthesized/SynthesizedInstanceMethodSymbol.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Synthesized/SynthesizedInstanceMethodSymbol.cs | ghcode:00002:122f75fec3ae | mit | codeparrot/github-code | 122f75fec3aea7f89369c17141f591043a31c2d59b38d32ccec2382fd05f6a17 | 0.85 | testing_debugging_repair_refactoring | 442 | false | 2026-07-17 |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using FluentAssertions;
using Microsoft.DotNet.Cli;
using Microsoft.DotNet.Cli.U... | livarcocc/cli-1 | test/Microsoft.DotNet.CommandFactory.Tests/GivenALocalToolsCommandResolver.cs | https://github.com/livarcocc/cli-1/blob/HEAD/test/Microsoft.DotNet.CommandFactory.Tests/GivenALocalToolsCommandResolver.cs | ghcode:00002:b98ed40f2a3c | mit | codeparrot/github-code | b98ed40f2a3cb9abbe739f92bbf2a504e67e2bb30a4a46a7c0559683df569c35 | 0.6 | testing_debugging_repair_refactoring | 2,125 | false | 2026-07-17 |
/*
* Copyright 2004,2006 The Poderosa Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* $Id: ShellScheme.cs,v 1.4 2011/10/27 23:21:58 kzmi Exp $
*/
using System;
using System.Collections.Generic;
using System.Text... | ArsenShnurkov/poderosa | TerminalEmulator/ShellScheme.cs | https://github.com/ArsenShnurkov/poderosa/blob/HEAD/TerminalEmulator/ShellScheme.cs | ghcode:00002:9d2deda3d0eb | apache-2.0 | codeparrot/github-code | 9d2deda3d0eb09845a39dc1c5554207ce99e4cad4bd84fee32840158461fa70e | 0.7 | testing_debugging_repair_refactoring | 3,068 | false | 2026-07-17 |
using System.Threading.Tasks;
using EPiServer.Commerce.Order;
using EPiServer.Reference.Commerce.Site.Features.Cart.Controllers;
using EPiServer.Reference.Commerce.Site.Features.Cart.Services;
using EPiServer.Reference.Commerce.Site.Features.Cart.ViewModelFactories;
using EPiServer.Reference.Commerce.Site.Features.Reco... | Sebbe/Quicksilver | Sources/EPiServer.Reference.Commerce.Site.Tests/Features/Cart/Controllers/CartControllerTests.cs | https://github.com/Sebbe/Quicksilver/blob/HEAD/Sources/EPiServer.Reference.Commerce.Site.Tests/Features/Cart/Controllers/CartControllerTests.cs | ghcode:00002:a01133bd044e | apache-2.0 | codeparrot/github-code | a01133bd044e220de6561a95526de34a1a38ef15644b5a3ec8fed0de558f28e7 | 0.75 | testing_debugging_repair_refactoring | 766 | false | 2026-07-17 |
/**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
using NUni... | yihuang/css-layout | csharp/tests/Facebook.Yoga/YogaNodeTest.cs | https://github.com/yihuang/css-layout/blob/HEAD/csharp/tests/Facebook.Yoga/YogaNodeTest.cs | ghcode:00002:c07805d6af1b | bsd-3-clause | codeparrot/github-code | c07805d6af1bfc735ab1f4be17390fbd1dff54167c9ba32359a7b62d6ab05ef0 | 0.85 | testing_debugging_repair_refactoring | 3,630 | false | 2026-07-17 |
using System;
using System.Linq;
using AutoFixture.Kernel;
using NUnit.Framework;
using TestTypeFoundation;
namespace AutoFixture.NUnit2.UnitTest
{
[TestFixture]
public class FavorEnumerablesAttributeTest
{
[Test]
public void SutIsAttribute()
{
// Arrange
//... | Pvlerick/AutoFixture | Src/AutoFixture.NUnit2.UnitTest/FavorEnumerablesAttributeTest.cs | https://github.com/Pvlerick/AutoFixture/blob/HEAD/Src/AutoFixture.NUnit2.UnitTest/FavorEnumerablesAttributeTest.cs | ghcode:00002:4d867a2476bb | mit | codeparrot/github-code | 4d867a2476bb293108c5cd667d5cd961548bf2a707cb124aa0a55a502eb2fe08 | 0.7 | testing_debugging_repair_refactoring | 281 | false | 2026-07-17 |
#region License
/*---------------------------------------------------------------------------------*\
Distributed under the terms of an MIT-style license:
The MIT License
Copyright (c) 2006-2010 Stephen M. McKamey
Permission is hereby granted, free of charge, to any person obtaining a copy
of this s... | jsonfx/jsonfx | src/JsonFx.Tests/Linq/QueryEngineTests.cs | https://github.com/jsonfx/jsonfx/blob/HEAD/src/JsonFx.Tests/Linq/QueryEngineTests.cs | ghcode:00002:14f3982a9544 | mit | codeparrot/github-code | 14f3982a954481473d8065d46f62f6a1dfe35db50b309a915cd2b7529a5e6f78 | 0.85 | testing_debugging_repair_refactoring | 5,554 | false | 2026-07-17 |
// Authors:
// Rafael Mizrahi <rafim@mainsoft.com>
// Erez Lotan <erezl@mainsoft.com>
// Oren Gurfinkel <oreng@mainsoft.com>
// Ofer Borstein
//
// Copyright (c) 2004 Mainsoft Co.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated do... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.Data/Test/System.Data.Tests.Mainsoft/System.Data/DataTableCollection/DataTableCollection_Add.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.Data/Test/System.Data.Tests.Mainsoft/System.Data/DataTableCollection/DataTableCollection_Add.cs | ghcode:00002:2e109e170d64 | mit | codeparrot/github-code | 2e109e170d6445f36b6316d9d0fc704777bd27263eec8e0ca6a8a99e489f2ea8 | 0.95 | testing_debugging_repair_refactoring | 693 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using Xunit;
namespace IronFrame.Acceptance
{
public class AcceptanceFixture : IDisposable
{
private LocalUserGroupManager userGroupManager;
public string TempDirectory { get; set; }
public string Secur... | cloudfoundry/IronFrame | IronFrame.Acceptance.Test/ContainerServiceAcceptanceTests.cs | https://github.com/cloudfoundry/IronFrame/blob/HEAD/IronFrame.Acceptance.Test/ContainerServiceAcceptanceTests.cs | ghcode:00002:c6b8e2a8aec9 | apache-2.0 | codeparrot/github-code | c6b8e2a8aec9ec8bf820055a26e7dc2fbd8f9c50f17535d0e76ae84c7c965062 | 0.75 | testing_debugging_repair_refactoring | 1,149 | false | 2026-07-17 |
using Lucene.Net.Analysis;
using Lucene.Net.Documents;
using Lucene.Net.Documents.Extensions;
using Lucene.Net.Index;
using Lucene.Net.Index.Extensions;
using Lucene.Net.Search.Spell;
using Lucene.Net.Store;
using Lucene.Net.Support;
using Lucene.Net.Util;
using NUnit.Framework;
using System;
using System.Collections.... | jeme/lucenenet | src/Lucene.Net.Tests.Suggest/Suggest/DocumentDictionaryTest.cs | https://github.com/jeme/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Suggest/Suggest/DocumentDictionaryTest.cs | ghcode:00002:ea8119a0b717 | apache-2.0 | codeparrot/github-code | ea8119a0b717ed754af3ba84cafd81cddaed4ea6ee0a33bf550d19faff28d5b1 | 0.85 | testing_debugging_repair_refactoring | 2,691 | false | 2026-07-17 |
using Magellan.Routing;
using NUnit.Framework;
namespace Magellan.Tests.Routing
{
[TestFixture]
public class RegexConstraintTests
{
[Test]
public void MatchTest()
{
var constraint = new RegexConstraint("^[A-Z]+$");
Assert.IsTrue(constraint.IsVali... | galendai/magellan-framework | src/Magellan.Tests/Routing/RegexConstraintTests.cs | https://github.com/galendai/magellan-framework/blob/HEAD/src/Magellan.Tests/Routing/RegexConstraintTests.cs | ghcode:00002:3385f9903af5 | mit | codeparrot/github-code | 3385f9903af5f28f20f1bdf9df3e0013a50f094e49239c8863c41a51882d2396 | 0.75 | testing_debugging_repair_refactoring | 132 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using LiteDB;
using System.IO;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Threading;
namespace UnitTest
{
[TestClass]
public class FileStorage_Test
{
[Te... | tbdbj/LiteDB | UnitTest/FileStorageTest.cs | https://github.com/tbdbj/LiteDB/blob/HEAD/UnitTest/FileStorageTest.cs | ghcode:00002:c696f609ef28 | mit | codeparrot/github-code | c696f609ef288142ceed5fa403ae048513dfcf0cc9840fe18f01ed32e8829ed0 | 0.6 | testing_debugging_repair_refactoring | 457 | false | 2026-07-17 |
using Fitbit.Api.Portable;
using Fitbit.Models;
using NUnit.Framework;
namespace Fitbit.OAuth1Migration.Tests
{
[TestFixture]
public class AuthenticatorTests
{
[Test] [Category("Portable")]
public void Constructor()
{
var authenticator = new Authenticator("key", "secret... | amammay/Fitbit.NET | OAuth1Migration/Fitbit.OAuth1Migration.Tests/AuthenticatorTests.cs | https://github.com/amammay/Fitbit.NET/blob/HEAD/OAuth1Migration/Fitbit.OAuth1Migration.Tests/AuthenticatorTests.cs | ghcode:00002:0fc48ab8e479 | mit | codeparrot/github-code | 0fc48ab8e479c18c33cf8436edd8ae459a9fb0cc5449a53897416aeffda1decc | 0.75 | testing_debugging_repair_refactoring | 274 | 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.Emit;
using Microsoft.CodeAnalysis.CSharp.Symbols;
usi... | robinsedlaczek/roslyn | src/Compilers/CSharp/Test/Symbol/Symbols/Source/MethodTests.cs | https://github.com/robinsedlaczek/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/Symbols/Source/MethodTests.cs | ghcode:00002:b2ca44756abb | apache-2.0 | codeparrot/github-code | b2ca44756abb8365a9ccf7736df23cd95361d19d325f6c7eadab353660e5d0c0 | 0.82 | testing_debugging_repair_refactoring | 18,189 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Autofac.Tests.Core
{
/// <summary>
/// Tests to verify registration ordering and resolution when used in conjunction with
/// preserving existing registration defaults.
/// </summary>
[Te... | hlltbrk/autofac | Core/Tests/Autofac.Tests/Core/PreserveExistingDefaultsTests.cs | https://github.com/hlltbrk/autofac/blob/HEAD/Core/Tests/Autofac.Tests/Core/PreserveExistingDefaultsTests.cs | ghcode:00002:51095b87b42c | mit | codeparrot/github-code | 51095b87b42c59f26a106ff704e0479aa827cb4734ee3014c15398d9110625a5 | 0.95 | testing_debugging_repair_refactoring | 1,858 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using DotSpatial.Projections;
using DotSpatial.Serialization;
using DotSpatial.Symbology;
using NUnit.Framework;
using TestClass = NUnit.Framework.TestFixtureAttribute;
using TestMethod = NUnit.Framework.TestAttribute;
using TestCleanup = NUnit.Framework.TearD... | swsglobal/DotSpatial | Source/DotSpatial.Controls.Tests/MapTest.cs | https://github.com/swsglobal/DotSpatial/blob/HEAD/Source/DotSpatial.Controls.Tests/MapTest.cs | ghcode:00002:970c26e4af31 | mit | codeparrot/github-code | 970c26e4af31a78d90baabb22eb5df5af55f32473897d9db67f2ba445933e0a4 | 0.7 | testing_debugging_repair_refactoring | 920 | 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.EditAndContinue;
using Microsoft.CodeAnalysis.EditAndContinue.UnitTests;
using Roslyn.Test.Utilities;
using Xunit;
namespace Mi... | KashishArora/Roslyn | src/EditorFeatures/CSharpTest/EditAndContinue/ActiveStatementTests.cs | https://github.com/KashishArora/Roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/EditAndContinue/ActiveStatementTests.cs | ghcode:00002:3dcfc6d014b7 | apache-2.0 | codeparrot/github-code | 3dcfc6d014b7ff9104ff241c0b2f618e376ab783ed88efdd87c02277a13e56e0 | 0.65 | testing_debugging_repair_refactoring | 43,234 | false | 2026-07-17 |
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,... | munyirik/nodejstools | Nodejs/Tests/Core/TemplateTests.cs | https://github.com/munyirik/nodejstools/blob/HEAD/Nodejs/Tests/Core/TemplateTests.cs | ghcode:00002:4dde8e5b8cc5 | apache-2.0 | codeparrot/github-code | 4dde8e5b8cc58369249266d2c888fe8804355a47d49bd3ac959cfafdbfab0bcb | 0.95 | testing_debugging_repair_refactoring | 615 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Build.Framework;
using Microsoft.Build.Tasks;
using Microsoft.Build.Utilities;
using... | danteinforno/msbuild | src/XMakeTasks/UnitTests/ComReference_Tests.cs | https://github.com/danteinforno/msbuild/blob/HEAD/src/XMakeTasks/UnitTests/ComReference_Tests.cs | ghcode:00002:168be34955d6 | mit | codeparrot/github-code | 168be34955d6015749c638d7bc943f5bb8a6ac0c3385d4147d6c9d07917ccd1c | 0.75 | testing_debugging_repair_refactoring | 560 | 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... | AzureAutomationTeam/azure-powershell | src/ResourceManager/Insights/Commands.Insights.Test/ScenarioTests/ActivityLogAlertsTests.cs | https://github.com/AzureAutomationTeam/azure-powershell/blob/HEAD/src/ResourceManager/Insights/Commands.Insights.Test/ScenarioTests/ActivityLogAlertsTests.cs | ghcode:00002:759b3086e099 | apache-2.0 | codeparrot/github-code | 759b3086e099211db86118620d9d12dfb5a32bdaf86780706c77f8135c0f8ef5 | 0.85 | testing_debugging_repair_refactoring | 297 | false | 2026-07-17 |
// Copyright 2009-2015 Josh Close and Contributors
// This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0.
// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0.
// http://csvhelper.co... | erdincay/CsvHelper | src/CsvHelper.Tests/TypeConversion/TypeConverterTests.cs | https://github.com/erdincay/CsvHelper/blob/HEAD/src/CsvHelper.Tests/TypeConversion/TypeConverterTests.cs | ghcode:00002:116e5f4c5d61 | apache-2.0 | codeparrot/github-code | 116e5f4c5d61d9e719aafe3645f9aa23504c0538a1c2c7b908b902ea20599ffa | 0.85 | testing_debugging_repair_refactoring | 358 | 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 ... | antony-liu/npoi | testcases/main/HPSF/TestVariantSupport.cs | https://github.com/antony-liu/npoi/blob/HEAD/testcases/main/HPSF/TestVariantSupport.cs | ghcode:00002:3ca255c3fc1b | apache-2.0 | codeparrot/github-code | 3ca255c3fc1bc39219f74c6db9a18d1c111f3d7f35633c0a61283ca539d057f5 | 0.85 | testing_debugging_repair_refactoring | 2,109 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="CombinatorialDimension.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/TestUtils/Common/Microsoft.Test.OData.Utils/CombinatorialEngine/CombinatorialDimension.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/TestUtils/Common/Microsoft.Test.OData.Utils/CombinatorialEngine/CombinatorialDimension.cs | ghcode:00002:c8a2a8e42937 | mit | codeparrot/github-code | c8a2a8e42937641def00e4f9b3916898f845a8cf889f774a6f9b4d15da17bd04 | 0.95 | testing_debugging_repair_refactoring | 385 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Reflection;
using Autofac.Core;
using Autofac.Core.Activators.Reflection;
using Xunit;
namespace Autofac.Test.Core.Activators.Reflection
{
public class ConstructorParameterBindingTests
{
public class ThrowsInCtor
{
public const string M... | liujunhua/Autofac | test/Autofac.Test/Core/Activators/Reflection/ConstructorParameterBindingTests.cs | https://github.com/liujunhua/Autofac/blob/HEAD/test/Autofac.Test/Core/Activators/Reflection/ConstructorParameterBindingTests.cs | ghcode:00002:279dfd789c6b | mit | codeparrot/github-code | 279dfd789c6ba8502bf896af80ea002d02e100ead6ea70d5f0025c0ddd8aaa26 | 0.75 | testing_debugging_repair_refactoring | 206 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ProjectUsingTaskElement_Tests.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <summary>Tests for the ProjectUsingTaskElement class.</summary>
//-------------------... | MetSystem/msbuild | src/XMakeBuildEngine/UnitTestsPublicOM/Construction/ProjectUsingTaskElement_Tests.cs | https://github.com/MetSystem/msbuild/blob/HEAD/src/XMakeBuildEngine/UnitTestsPublicOM/Construction/ProjectUsingTaskElement_Tests.cs | ghcode:00002:047ba2b4ecb8 | mit | codeparrot/github-code | 047ba2b4ecb8a6fe218350437216650641be63a65f3357647fad8c66fc0a0222 | 0.85 | testing_debugging_repair_refactoring | 3,806 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using Syste... | BrennanConroy/corefx | src/System.Net.Primitives/src/System/Net/Cookie.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Net.Primitives/src/System/Net/Cookie.cs | ghcode:00002:6fa63060ce2c | mit | codeparrot/github-code | 6fa63060ce2ced1a405fe55de16f4f2010557c3d1f5a83d361d2514b142a1306 | 0.95 | testing_debugging_repair_refactoring | 6,041 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
namespace System.Numerics.Tests
{
public class signTest
{
private static int s_samples = 10;
private static Random s_random = new ... | heXelium/corefx | src/System.Runtime.Numerics/tests/BigInteger/sign.cs | https://github.com/heXelium/corefx/blob/HEAD/src/System.Runtime.Numerics/tests/BigInteger/sign.cs | ghcode:00002:3d9bacc6fa85 | mit | codeparrot/github-code | 3d9bacc6fa858ec7b5b25af509762d1d309394b324486a1b619b46859a443b06 | 0.95 | testing_debugging_repair_refactoring | 877 | 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.Azure.Management.Compute;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using System.Linq;
using System.Net;
using Xunit;
namespace Co... | yaakoviyun/azure-sdk-for-net | src/SDKs/Compute/Compute.Tests/ScenarioTests/ExtImgTests.cs | https://github.com/yaakoviyun/azure-sdk-for-net/blob/HEAD/src/SDKs/Compute/Compute.Tests/ScenarioTests/ExtImgTests.cs | ghcode:00002:df46c80928c4 | mit | codeparrot/github-code | df46c80928c4d50369a7c9b3656b083b0a952b12bc9d0dbc9a8394e8f9b2d148 | 0.85 | testing_debugging_repair_refactoring | 1,594 | 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... | yoavrubin/azure-powershell | src/ServiceManagement/Common/Commands.Common.Test/Common/GeneralTests.cs | https://github.com/yoavrubin/azure-powershell/blob/HEAD/src/ServiceManagement/Common/Commands.Common.Test/Common/GeneralTests.cs | ghcode:00002:1c187ce4a86b | apache-2.0 | codeparrot/github-code | 1c187ce4a86badadf1872c32e67833c37197bcdd89b73e7ccfda9fa9ef37a174 | 0.85 | testing_debugging_repair_refactoring | 471 | 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.ComponentModel;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.Internal.... | bbarry/roslyn | src/Test/Diagnostics/PerfMargin/ActivityLevel.cs | https://github.com/bbarry/roslyn/blob/HEAD/src/Test/Diagnostics/PerfMargin/ActivityLevel.cs | ghcode:00002:03e8b353387b | apache-2.0 | codeparrot/github-code | 03e8b353387b37ae768d05e6a7db5621630a08187d7d9f25df865c45f03d0da5 | 0.95 | testing_debugging_repair_refactoring | 526 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
namespace OpenQA.Selenium.Firefox
{
[TestFixture]
public class FirefoxProfileTests
{
private FirefoxProfile profile;
[SetUp]
public void SetUp()
{
profile = new FirefoxPro... | jerome-jacob/selenium | dotnet/test/firefox/FirefoxProfileTests.cs | https://github.com/jerome-jacob/selenium/blob/HEAD/dotnet/test/firefox/FirefoxProfileTests.cs | ghcode:00002:707b71cd5ed5 | apache-2.0 | codeparrot/github-code | 707b71cd5ed508b225e43fbe7f8bb272da29acfba797bfdf5d0f18708771fe51 | 0.85 | testing_debugging_repair_refactoring | 492 | 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;
using Xunit;
namespace System.ComponentModel.EventBasedAsync.Tests
{
public class Async... | iamjasonp/corefx | src/System.ComponentModel.EventBasedAsync/tests/AsyncOperationManagerTests.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.ComponentModel.EventBasedAsync/tests/AsyncOperationManagerTests.cs | ghcode:00002:c075393c788b | mit | codeparrot/github-code | c075393c788bc81b190368a824d7869d872ae28a462695b0adb6807a0382751b | 0.95 | testing_debugging_repair_refactoring | 278 | false | 2026-07-17 |
using NExtra.Validation;
using NUnit.Framework;
namespace NExtra.Tests.Validation
{
[TestFixture]
public class MinLengthAttributeBehavior
{
public IValidator GetValidator(int minLength)
{
return new MinLengthAttribute(minLength);
}
[Test]
public vo... | danielsaidi/nextra | NExtra.Tests/Validation/MinLengthAttributeBehavior.cs | https://github.com/danielsaidi/nextra/blob/HEAD/NExtra.Tests/Validation/MinLengthAttributeBehavior.cs | ghcode:00002:71728c7473d9 | mit | codeparrot/github-code | 71728c7473d9953a356db6b4bc175617a2c8c716747e188cc420dc01a3f6c141 | 0.6 | testing_debugging_repair_refactoring | 228 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using Microsoft.Win32;
using NUnit.Framework;
namespace Andersc.CodeLib.Tester.FCL
{
[TestFixture]
public class TestProc
{
[TestCase]
public void OpenNe... | anderscui/cslib | Andersc.CodeLib.Test/FCL/TestProc.cs | https://github.com/anderscui/cslib/blob/HEAD/Andersc.CodeLib.Test/FCL/TestProc.cs | ghcode:00002:b4a713f51d3b | mit | codeparrot/github-code | b4a713f51d3bf10d386f5a7cea691988e8c0dc557b6c757e52647c5cc7ee3bb3 | 0.75 | testing_debugging_repair_refactoring | 283 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Parsers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Parsers.Tests
{
[TestClass()]
public class StringContextTests
{
/// <summary>
/// 先頭文字テスト
... | scienceagora4dim/cube4d | cube4d.CSharpTests/Assets/scripts/parser/StringContextTests.cs | https://github.com/scienceagora4dim/cube4d/blob/HEAD/cube4d.CSharpTests/Assets/scripts/parser/StringContextTests.cs | ghcode:00002:2f317a46d3b4 | mit | codeparrot/github-code | 2f317a46d3b423e1e6e3fd264dd46f1f1a8042d97c8c134177ae9d8928e07965 | 0.85 | testing_debugging_repair_refactoring | 772 | false | 2026-07-17 |
using FluentBehave;
using System.Collections.Generic;
using Bibliotheca.Server.ServiceDiscovery.ServiceClient.Model;
using System.Threading.Tasks;
using System.Linq;
using Xunit;
namespace Bibliotheca.Server.ServiceDiscovery.ServiceClient.Specs.Implementations
{
[Feature("ServiceDiscoveryQueryGetAllServic... | BibliothecaTeam/Bibliotheca.Server.ServiceDiscovery | test/Bibliotheca.Server.ServiceDiscovery.ServiceClient.Specs/Implementations/ServiceDiscoveryQueryGetAllServices.cs | https://github.com/BibliothecaTeam/Bibliotheca.Server.ServiceDiscovery/blob/HEAD/test/Bibliotheca.Server.ServiceDiscovery.ServiceClient.Specs/Implementations/ServiceDiscoveryQueryGetAllServices.cs | ghcode:00002:f02b4eb232e9 | mit | codeparrot/github-code | f02b4eb232e97e9de070beef3f08436712f14c614cf320103b2ffa1a11763c6a | 0.6 | testing_debugging_repair_refactoring | 507 | false | 2026-07-17 |
using NUnit.Framework;
using Tharga.Reporter.Engine.Entity;
namespace Tharga.Reporter.Test
{
[TestFixture]
public class UnitValue_implicit_string_parse
{
[Test]
public void From_string()
{
//Arrange
var val1 = UnitValue.Parse("10cm");
UnitValue v... | poxet/tharga-reporter | Tharga.Reporter.Tests/UnitValue_implicit_string_parse.cs | https://github.com/poxet/tharga-reporter/blob/HEAD/Tharga.Reporter.Tests/UnitValue_implicit_string_parse.cs | ghcode:00002:9e49b5636bb6 | mit | codeparrot/github-code | 9e49b5636bb6464247b24ca2b8a1d5518cc5e35d4b574d80747da7c0f94d2137 | 0.7 | testing_debugging_repair_refactoring | 164 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.IO;
using NUnit.Framework;
using PRI.ProductivityExtensions.TemporalExtensions;
using PRI.Messaging.Patterns;
using PRI.Messaging.Patterns.Extensions.Bus;
using Tests.Mocks;
namespace Tests
{
public class HandlingMessagesThenSpeedIsAcceptable
{
[Test, Explicit]... | peteraritchie/Messaging.Patterns | Tests/HandlingMessagesThenSpeedIsAcceptable.cs | https://github.com/peteraritchie/Messaging.Patterns/blob/HEAD/Tests/HandlingMessagesThenSpeedIsAcceptable.cs | ghcode:00002:4d6d02e77976 | mit | codeparrot/github-code | 4d6d02e779766d0bf5cae51f08c92bb7a292ac80ad76318fb76760598e2728ab | 0.6 | testing_debugging_repair_refactoring | 488 | false | 2026-07-17 |
namespace UnitTests
{
using Keel.Objects;
using Keel.Builtins;
using NUnit.Framework;
[TestFixture]
public class ApplyBuiltinTest
{
[Test]
public void SpreadNilTest()
{
var args = new Cons(LispNull.Nil, LispNull.Nil);
var result = ApplyBuiltin.S... | nja/keel | UnitTests/ApplyBuiltinTest.cs | https://github.com/nja/keel/blob/HEAD/UnitTests/ApplyBuiltinTest.cs | ghcode:00002:740b0e58a203 | mit | codeparrot/github-code | 740b0e58a203848f816cc3d35b147bb592819b6c535a1ea806eeb2cf26065cb7 | 0.6 | testing_debugging_repair_refactoring | 202 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace PackageToNuget.NugetDefinitions
{
[XmlRoot("package", Namespace = "http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd")]
public ... | lars-erik/Umbraco-Package-to-Nuget-converter | PackageToNuget/NugetDefinitions/NuSpec.cs | https://github.com/lars-erik/Umbraco-Package-to-Nuget-converter/blob/HEAD/PackageToNuget/NugetDefinitions/NuSpec.cs | ghcode:00002:f218bcb556b6 | mit | codeparrot/github-code | f218bcb556b6d80896d271a46da2d01cbb6e7e2b77eb3da4bfe06daf9387f86a | 0.75 | testing_debugging_repair_refactoring | 379 | false | 2026-07-17 |
using NEventStore.Persistence.Sql.Tests;
namespace NEventStore.Persistence.AcceptanceTests
{
using System;
using NEventStore.Persistence.AcceptanceTests.BDD;
using NEventStore.Persistence.Sql;
using NEventStore.Persistence.Sql.SqlDialects;
using FluentAssertions;
#if MSTEST
using Microsoft.Vis... | NEventStore/NEventStore.Persistence.SQL | src/NEventStore.Persistence.MsSql.Tests/WireupTests.cs | https://github.com/NEventStore/NEventStore.Persistence.SQL/blob/HEAD/src/NEventStore.Persistence.MsSql.Tests/WireupTests.cs | ghcode:00002:3e49e8a37d0e | mit | codeparrot/github-code | 3e49e8a37d0eb732d619645edb5755b93d5931ea2fbf179aebd393aaebf62f71 | 0.75 | testing_debugging_repair_refactoring | 418 | false | 2026-07-17 |
using Xunit;
namespace BCLExtensions.Tests.StringExtensions
{
public class ValueOrEmptyIfNullTests
{
[Fact]
public void WithEmptyInputStringReturnsEmptyString()
{
string input = "";
var result = input.ValueOrEmptyIfNull();
Assert.Equal(string.Empty, ... | csMACnz/BCLExtensions | src/BCLExtensions.Tests/StringExtensions/ValueOrEmptyIfNullTests.cs | https://github.com/csMACnz/BCLExtensions/blob/HEAD/src/BCLExtensions.Tests/StringExtensions/ValueOrEmptyIfNullTests.cs | ghcode:00002:b88ad35214a8 | mit | codeparrot/github-code | b88ad35214a87fc38f4231b08322268d689386b8d009190c10570aa605906dd4 | 0.75 | testing_debugging_repair_refactoring | 258 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Autofac;
using MarginTrading.Backend.Core;
using MarginTrading.Backend.Core.MatchedOrders;
using MarginTrading.Backend.Core.MatchingEngines;
using NUnit.Framework;
namespace MarginTradingTests
{
[TestFixture]
public class MatchingEngineT... | LykkeCity/MT | tests/MarginTradingTests/MatchingEngineTests.cs | https://github.com/LykkeCity/MT/blob/HEAD/tests/MarginTradingTests/MatchingEngineTests.cs | ghcode:00002:f2e51d34a52d | mit | codeparrot/github-code | f2e51d34a52dca2896ad3f80f70af85a440ff623af16f39c9bcc17644b3d2fcc | 0.85 | testing_debugging_repair_refactoring | 5,253 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SuccubusTest.Console
{
public class ChildResponse2 : BaseResponse
{
}
}
| COCPORN/succubus | test/Console/Succubus.Test.Console/Succubus.Test.Console/ChildResponse2.cs | https://github.com/COCPORN/succubus/blob/HEAD/test/Console/Succubus.Test.Console/Succubus.Test.Console/ChildResponse2.cs | ghcode:00002:1dadac5dbf6b | mit | codeparrot/github-code | 1dadac5dbf6bd1b1d49f8bcd7c92c2c3ca9d077b1849522516e776362f93ed5f | 0.75 | testing_debugging_repair_refactoring | 44 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Wyam.Common.Documents;
using Wyam.Testing;
using Wyam.Testing.Documents;
using Wyam.Testing.Execution;
namespace Wyam.Tables.Tests
{
[TestFixture]
public class CsvToHtmlFixture : BaseFixture
{
public class ExecuteTes... | adamclifford/Wyam | tests/extensions/Wyam.Tables.Tests/CsvToHtmlFixture.cs | https://github.com/adamclifford/Wyam/blob/HEAD/tests/extensions/Wyam.Tables.Tests/CsvToHtmlFixture.cs | ghcode:00002:0ea6a87c10c8 | mit | codeparrot/github-code | 0ea6a87c10c8da6ba9df878967e3d5ca3e2ac9099d61aff87fd3ec5c22c5c5e6 | 0.7 | testing_debugging_repair_refactoring | 5,147 | false | 2026-07-17 |
namespace Web.Tests.Controllers
{
using System.Collections.Generic;
using Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Services.Contracts;
using TestStack.FluentMVCTesting;
using Web.Controllers;
using Web.Infrastructure;
using Web.ViewModels.Co... | webdude21/ContentRocks | Web.Tests/Controllers/PostsControllerTest.cs | https://github.com/webdude21/ContentRocks/blob/HEAD/Web.Tests/Controllers/PostsControllerTest.cs | ghcode:00002:ae71c0371f19 | mit | codeparrot/github-code | ae71c0371f1978e5b55e523452b98764225b87bc3b783b2a539288e3f7dc4292 | 0.6 | testing_debugging_repair_refactoring | 208 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BLTools.Encryption;
using System.Diagnostics;
using System.Text;
namespace BLTools.UnitTest.FW47.Security {
[TestClass]
public class TSymmetricEncryption3DesTest {
[TestMethod(), TestCategory("FW47.SymmetricEncryption"), TestCategory("FW4... | bollylu/BLTools.dns.20 | BLTools Tests 4.7/Security/Symmetric encryption/TSymmetricEncryption3DesTest.cs | https://github.com/bollylu/BLTools.dns.20/blob/HEAD/BLTools Tests 4.7/Security/Symmetric encryption/TSymmetricEncryption3DesTest.cs | ghcode:00002:cf0c24475f60 | mit | codeparrot/github-code | cf0c24475f60da3edc5604e33dfe8086a8c10ef6ffbc0322d692ac6934615ed9 | 0.6 | testing_debugging_repair_refactoring | 1,983 | false | 2026-07-17 |
using Xunit;
using Shouldly;
namespace AutoMapper.UnitTests.Bug
{
public class When_mapping_to_an_assignable_object_with_nullable_off : AutoMapperSpecBase
{
private Destination _destination;
public class Source
{
public Inner Property { get; set; }
}
public... | AutoMapper/AutoMapper | src/UnitTests/Bug/AllowNullDestinationValuesBugs.cs | https://github.com/AutoMapper/AutoMapper/blob/HEAD/src/UnitTests/Bug/AllowNullDestinationValuesBugs.cs | ghcode:00002:3e3d1d8468e5 | mit | codeparrot/github-code | 3e3d1d8468e536b20229bfac384d0a309141e286615906df31c2b4c349b9ede7 | 0.6 | testing_debugging_repair_refactoring | 330 | false | 2026-07-17 |
using System;
using BenchmarkDotNet.Toolchains;
namespace BenchmarkDotNet.Jobs
{
public interface IJob : IEquatable<IJob>
{
IToolchain Toolchain { get; }
Mode Mode { get; }
Platform Platform { get; }
Jit Jit { get; }
Framework Framework { get; }
Runtime Runtime ... | adamsitnik/BenchmarkDotNet | BenchmarkDotNet/Jobs/IJob.cs | https://github.com/adamsitnik/BenchmarkDotNet/blob/HEAD/BenchmarkDotNet/Jobs/IJob.cs | ghcode:00002:79abd0fb35e3 | mit | codeparrot/github-code | 79abd0fb35e3190c5973243aadd1ed13d2c4879d188dc9852496843142ff8410 | 0.7 | testing_debugging_repair_refactoring | 189 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
namespace WhereToMeet.Tests.Utils
{
class TestAppHolder
{
internal const string authScheme = "Bearer";
public HttpClient Client { get; }
protected string Token { get;... | ChristopherJdL/wheretomeet-server | WhereToMeet/Tests/Utils/TestAppHolder.cs | https://github.com/ChristopherJdL/wheretomeet-server/blob/HEAD/WhereToMeet/Tests/Utils/TestAppHolder.cs | ghcode:00002:1dce2208e739 | mit | codeparrot/github-code | 1dce2208e7393b6efe62a75107c4656548adf5ab337b05966593b2e20f56feb1 | 0.85 | testing_debugging_repair_refactoring | 246 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using System.Waf.Foundation;
using System.Waf.UnitTesting;
namespace Test.Waf.Foundation
{
... | jbe2277/waf | src/System.Waf/System.Waf/System.Waf.Core.Test/Foundation/ObservableListViewCoreTest.cs | https://github.com/jbe2277/waf/blob/HEAD/src/System.Waf/System.Waf/System.Waf.Core.Test/Foundation/ObservableListViewCoreTest.cs | ghcode:00002:1c2012a7728e | mit | codeparrot/github-code | 1c2012a7728ee544bc2520be8ca55fc741675e6f9eb93f8ab58da7b6203eb0ca | 0.7 | testing_debugging_repair_refactoring | 2,834 | false | 2026-07-17 |
using Mos6510.Instructions;
using NUnit.Framework;
using System.Linq;
namespace Mos6510.Tests
{
[TestFixture]
public class AssemblerTests
{
private const byte nopCode = 0xFF;
private const byte andImmediateCode = 0x29;
private const byte andAbsoluteCode = 0x2D;
private const byte andAbsoluteXCode... | joshpeterson/mos | Mos6510.Tests/AssemblerTests.cs | https://github.com/joshpeterson/mos/blob/HEAD/Mos6510.Tests/AssemblerTests.cs | ghcode:00002:94cb8f963aee | mit | codeparrot/github-code | 94cb8f963aee2fdb15fdf5d91dbff2b1bf496953f4504fc82b2d01d22d3e718b | 0.75 | testing_debugging_repair_refactoring | 1,375 | false | 2026-07-17 |
/* Copyright (c) 2006 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... | david-mitchell/MonoMac-Demo | libgoogle-data-mono-1.7.0.1/src/unittests/gbase/numberunittest.cs | https://github.com/david-mitchell/MonoMac-Demo/blob/HEAD/libgoogle-data-mono-1.7.0.1/src/unittests/gbase/numberunittest.cs | ghcode:00002:13d19ef13269 | mit | codeparrot/github-code | 13d19ef132692af77db441b1dfd2564a767ae238e9461fd06acc965ccd215cf8 | 0.7 | testing_debugging_repair_refactoring | 297 | false | 2026-07-17 |
namespace MADE.App.UnitTests.Mvvm
{
using System.Diagnostics.CodeAnalysis;
using System.Threading;
using App.Mvvm;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouldly;
[TestClass]
[TestCategory("Mvvm")]
[ExcludeFromCodeCoverage]
public class RelayCommandTests
{
... | MADE-Apps/MADE-App-Components | tests/MADE.App.UnitTests/Mvvm/RelayCommandTests.cs | https://github.com/MADE-Apps/MADE-App-Components/blob/HEAD/tests/MADE.App.UnitTests/Mvvm/RelayCommandTests.cs | ghcode:00002:d9cfd05c3311 | mit | codeparrot/github-code | d9cfd05c3311bb9716c570ba607ab64fc8c22fc20be753e58735f22eea7e79c7 | 0.85 | testing_debugging_repair_refactoring | 202 | false | 2026-07-17 |
using System.Collections.Immutable;
using NQuery.Syntax;
namespace NQuery.Tests.Binding
{
public class CoalesceExpressionTests
{
[Fact]
public void Coalesce_DetectsConversionIssues()
{
var syntaxTree = SyntaxTree.ParseExpression("COALESCE(1, '2', 3.0)");
var com... | terrajobst/nquery-vnext | src/NQuery.Tests/Binding/CoalesceExpressionTests.cs | https://github.com/terrajobst/nquery-vnext/blob/HEAD/src/NQuery.Tests/Binding/CoalesceExpressionTests.cs | ghcode:00002:9e3a69767a41 | mit | codeparrot/github-code | 9e3a69767a414639803552e0b7eeac74b1994b1dedb7cacdf2611e9765d20364 | 0.75 | testing_debugging_repair_refactoring | 258 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Ocelot.Configuration;
using Ocelot.Configuration.Parser;
using Ocelot.Errors;
using Ocelot.Responses;
using Shouldly;
using TestStack.BDDfy;
using Xunit;
namespace Ocelot.UnitTests.Configuration
{
public class ClaimToThingConfigurationParserTe... | TomPallister/Ocelot | test/Ocelot.UnitTests/Configuration/ClaimToThingConfigurationParserTests.cs | https://github.com/TomPallister/Ocelot/blob/HEAD/test/Ocelot.UnitTests/Configuration/ClaimToThingConfigurationParserTests.cs | ghcode:00002:84eafb1c354e | mit | codeparrot/github-code | 84eafb1c354e8aa7ed20231f2de4652acf28b131ac3ca1ecbdd436dcaa40613d | 0.75 | testing_debugging_repair_refactoring | 782 | false | 2026-07-17 |
// ReSharper disable InconsistentNaming
using FluentAssertions;
using Xunit;
using NSubstitute;
namespace EasyNetQ.Tests.ConsumeTests
{
public class When_a_message_is_delivered_to_the_consumer : ConsumerTestBase
{
protected override void AdditionalSetUp()
{
StartConsumer((body, pro... | ar7z1/EasyNetQ | Source/EasyNetQ.Tests/ConsumeTests/When_a_message_is_delivered_to_the_consumer.cs | https://github.com/ar7z1/EasyNetQ/blob/HEAD/Source/EasyNetQ.Tests/ConsumeTests/When_a_message_is_delivered_to_the_consumer.cs | ghcode:00002:b0d991be331b | mit | codeparrot/github-code | b0d991be331bdeb6e9ea904e04d18cda447f0a85af04461e44b2257a9b8394d4 | 0.6 | testing_debugging_repair_refactoring | 376 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.ResourceManager.Resources;
using Azure.ResourceManager.EventHubs.Models;
using Az... | AsrOneSdk/azure-sdk-for-net | sdk/eventhub/Azure.ResourceManager.EventHubs/tests/Tests/ScenarioTests.EventHubsTests.CRUDAuthorizationRules_Length.cs | https://github.com/AsrOneSdk/azure-sdk-for-net/blob/HEAD/sdk/eventhub/Azure.ResourceManager.EventHubs/tests/Tests/ScenarioTests.EventHubsTests.CRUDAuthorizationRules_Length.cs | ghcode:00002:bfdd7ce24f67 | mit | codeparrot/github-code | bfdd7ce24f670cb6f93cddae6c685241cac59068d7210a98fa1921616c40f7f1 | 0.95 | testing_debugging_repair_refactoring | 1,652 | false | 2026-07-17 |
namespace Artportalen.Tests
{
using Artportalen.Helpers;
using Artportalen.Model;
using Artportalen.Response;
using NUnit.Framework;
[TestFixture]
public class AttributeCalculatorTests
{
private AttributeCalculator attributeCalculator;
[SetUp]
public void SetUp()
... | unger/Artportalen | Artportalen.Tests/AttributeCalculatorTests.cs | https://github.com/unger/Artportalen/blob/HEAD/Artportalen.Tests/AttributeCalculatorTests.cs | ghcode:00002:8a816153b40e | mit | codeparrot/github-code | 8a816153b40eb9eddfdf287e925a6ae804ca572343a118a9b54f96f12fcbaf51 | 0.75 | testing_debugging_repair_refactoring | 581 | false | 2026-07-17 |
namespace Rollbar.Common
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq.Expressions;
using System.Reflection;
using Rollbar.Infrastructure;
/// <summary>
/// Class Validator.
/// </summary>
public ... | rollbar/Rollbar.NET | Rollbar/Common/Validator.cs | https://github.com/rollbar/Rollbar.NET/blob/HEAD/Rollbar/Common/Validator.cs | ghcode:00002:8c6c379edab6 | mit | codeparrot/github-code | 8c6c379edab69f8c73f32197b44492e1130d05685536485409d860b73659742f | 0.7 | testing_debugging_repair_refactoring | 2,303 | false | 2026-07-17 |
using System;
using System.Linq;
using NBitcoin.Secp256k1;
using WalletWasabi.Crypto;
using WalletWasabi.Crypto.Groups;
using WalletWasabi.Crypto.Randomness;
using WalletWasabi.Crypto.ZeroKnowledge;
using Xunit;
namespace WalletWasabi.Tests.UnitTests.Crypto
{
public class ProofSystemTests
{
[Fact]
[Trait("UnitTe... | nopara73/HiddenWallet | WalletWasabi.Tests/UnitTests/Crypto/ProofSystemTests.cs | https://github.com/nopara73/HiddenWallet/blob/HEAD/WalletWasabi.Tests/UnitTests/Crypto/ProofSystemTests.cs | ghcode:00002:3b8bd50efd78 | mit | codeparrot/github-code | 3b8bd50efd7811be193c07cce072014b69d6fa787142a4341c06b343e8c0e812 | 0.85 | testing_debugging_repair_refactoring | 2,484 | false | 2026-07-17 |
using ExperimentalTools.Options;
using ExperimentalTools.Roslyn.Features.AccessModifier;
using ExperimentalTools.Roslyn.Features.AccessModifier.Recipes;
using ExperimentalTools.Tests.Infrastructure.Refactoring;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Xunit.Abstractions;
namespace ExperimentalTools.Tests.... | dzimchuk/experimental-tools | ExperimentalTools.Tests/Features/AccessModifier/AccessModifierTest.cs | https://github.com/dzimchuk/experimental-tools/blob/HEAD/ExperimentalTools.Tests/Features/AccessModifier/AccessModifierTest.cs | ghcode:00002:83491faba2a8 | mit | codeparrot/github-code | 83491faba2a8725e1b6bb321f196f261ec3585aec02c070cbf11ecc5df9c2d68 | 0.6 | testing_debugging_repair_refactoring | 142 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Reverb.Data.Contracts;
using Reverb.Data.Models;
namespace Reverb.Services.UnitTests.CreationServiceTests
{
[TestClass]
public class CreateArtist_Should
{
[TestMethod]
public void CallArtistRepoMethodAddOnce_WhenInvoked()... | Xenoleth/Reverb-MVC | Reverb/Reverb.Services.UnitTests/CreationServiceTests/CreateArtist_Should.cs | https://github.com/Xenoleth/Reverb-MVC/blob/HEAD/Reverb/Reverb.Services.UnitTests/CreationServiceTests/CreateArtist_Should.cs | ghcode:00002:535d5fa89979 | mit | codeparrot/github-code | 535d5fa8997966e525aa6d8f0f493b91132d05d64fc7221dc5f474d57440b2de | 0.7 | testing_debugging_repair_refactoring | 418 | false | 2026-07-17 |
#region licence
// =====================================================
// EfSchemeCompare Project - project to compare EF schema to SQL schema
// Filename: Test46MockCompareEfChangeEf.cs
// Date Created: 2016/04/06
//
// Under the MIT License (MIT)
//
// Written by Jon Smith : GitHub JonPSmith, www.thereformedprog... | JonPSmith/EfSchemaCompare | Tests/UnitTests/Test46MockCompareEfChangeEf.cs | https://github.com/JonPSmith/EfSchemaCompare/blob/HEAD/Tests/UnitTests/Test46MockCompareEfChangeEf.cs | ghcode:00002:48f5244828d9 | mit | codeparrot/github-code | 48f5244828d9245df909d069f754ae971d37025e916b93df4bad81a2fc6f6369 | 0.85 | testing_debugging_repair_refactoring | 2,224 | false | 2026-07-17 |
using CorvusAlba.MyLittleLispy.Hosting;
using CorvusAlba.MyLittleLispy.Runtime;
using Xunit;
namespace CorvusAlba.MyLittleLispy.Tests
{
public class Define
{
public Define()
{
_engine = new ScriptEngine();
}
private ScriptEngine _engine;
[Fact]
pub... | corvusalba/my-little-lispy | src/CorvusAlba.MyLittleLispy.Tests/Define.cs | https://github.com/corvusalba/my-little-lispy/blob/HEAD/src/CorvusAlba.MyLittleLispy.Tests/Define.cs | ghcode:00002:0481f3345a36 | mit | codeparrot/github-code | 0481f3345a369d633b85bc4f729ff4b8364d243d848e186f85dc1efe0c381d94 | 0.6 | testing_debugging_repair_refactoring | 455 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Xunit;
namespace NonBlockingTests
{
public class ConcurrencyTests
{
[Fact]
private void TestGetOrAdd_NonBlocking()
{
ValueFactory(null);
var nonBlocking_dict = n... | wanlitao/NonBlocking | test/NonBlockingTests/ConcurrencyTests.cs | https://github.com/wanlitao/NonBlocking/blob/HEAD/test/NonBlockingTests/ConcurrencyTests.cs | ghcode:00002:076951e7de68 | mit | codeparrot/github-code | 076951e7de68dd7a0ce487d610b36dff215ff904c4c5356b4f114faa0760cdfa | 0.75 | testing_debugging_repair_refactoring | 333 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
using Microso... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1024CSharp9UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1024CSharp9UnitTests.cs | ghcode:00002:125570a5b39f | mit | codeparrot/github-code | 125570a5b39fce2063de6134dcb14cfb263293f736f1d64e121926bd605f4d2c | 0.85 | testing_debugging_repair_refactoring | 588 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Net;
using System.Threading;
using Foundations.Http;
using Xunit;
namespace Foundations.Test
{
public class ServerTests
{
[Fact]
public void StartingStoppingAndThenRestartingServerDoesntThrowAnException()
{
var server = n... | lukedoolittle/foundations | Foundations.Test/ServerTests.cs | https://github.com/lukedoolittle/foundations/blob/HEAD/Foundations.Test/ServerTests.cs | ghcode:00002:d3a79bae3cb2 | mit | codeparrot/github-code | d3a79bae3cb236833d8cc74d3de306a0e85888a6d4544c5669c6e6fde87c4f09 | 0.85 | testing_debugging_repair_refactoring | 978 | false | 2026-07-17 |
using System;
using System.Data;
using Moq;
using Popsql.Grammar;
using Popsql.Tests.Mocking;
using Xunit;
namespace Popsql.Tests
{
public class ToCommandExtensionsTests
{
[Fact]
public void ToCommand_WithNullSqlGo_ThrowsArgumentNull()
{
Assert.Throws<ArgumentNullException>(() =>
{
var connection = ... | WouterDemuynck/popsql | src/Popsql.Tests/ToCommandExtensionsTests.cs | https://github.com/WouterDemuynck/popsql/blob/HEAD/src/Popsql.Tests/ToCommandExtensionsTests.cs | ghcode:00002:cc9c213de649 | mit | codeparrot/github-code | cc9c213de6494925fee75de1e33438b003fbc3bdc95ac29b2e509618445b3bd9 | 0.75 | testing_debugging_repair_refactoring | 4,826 | false | 2026-07-17 |
using System;
using System.Data;
using UsefulDataTools;
namespace Test
{
class Program
{
static void Main(string[] args)
{
var dataTable = new DataTable("TestTable");
dataTable.Columns.Add(new DataColumn("id") {DataType = typeof(int), ReadOnly = true, AutoIncrement = true, AutoIncr... | llewelynrex/UsefulDataTools | src/Test/Program.cs | https://github.com/llewelynrex/UsefulDataTools/blob/HEAD/src/Test/Program.cs | ghcode:00002:043169eb15e2 | mit | codeparrot/github-code | 043169eb15e2220e99aecef068eeffbd101376d32bcfbed5efec852643ca0689 | 0.85 | testing_debugging_repair_refactoring | 282 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RankOne.Helpers;
using System;
using System.Collections.Generic;
namespace RankOne.Tests.Helpers
{
[TestClass]
public class CacheHelperTest
{
private CacheHelper _cacheHelper;
[TestInitialize]
public void TestInit()
... | markwemekamp/RankOne-Umbraco-SEO-Tool | src/RankOne.Tests/Helpers/CacheHelperTest.cs | https://github.com/markwemekamp/RankOne-Umbraco-SEO-Tool/blob/HEAD/src/RankOne.Tests/Helpers/CacheHelperTest.cs | ghcode:00002:98c885020571 | mit | codeparrot/github-code | 98c88502057169c08f89a6630a57fbb2b31a30e222affd1548a08166c4fe6a19 | 0.6 | testing_debugging_repair_refactoring | 507 | false | 2026-07-17 |
using System.Linq;
using MasterExtensionKit.Core.Collections.Functions;
using MasterExtensionKit.Core.Exceptions;
using MasterExtensionKit.Core.UnitTests._Shared;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MasterExtensionKit.Core.UnitTests.Collections.Functions
{
[TestClass]
public class WhereIfE... | jnhaffey/MasterExtensionKit | MasterExtensionKit.Core.UnitTests/Collections/Functions/WhereIfEnumerableExtensionsTests.cs | https://github.com/jnhaffey/MasterExtensionKit/blob/HEAD/MasterExtensionKit.Core.UnitTests/Collections/Functions/WhereIfEnumerableExtensionsTests.cs | ghcode:00002:ceb0c1e60f46 | mit | codeparrot/github-code | ceb0c1e60f46276c85a12f99df56e1d3106f61711a742e980643dae7247e03d8 | 0.75 | testing_debugging_repair_refactoring | 297 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using Utilities.Core.DateTime;
namespace Utilities.Tests.Core.DateTime
{
[TestFixture]
[Category("DateTime")]
public class FirstDayOfWeekTests
{
[Test]
public void FirstDayOfWeek_DateTime_ReturnsDateTime()
{
// Arrange
... | DJMelonz/Utilities | Utilities.Tests/Core/DateTime/FirstDayOfWeekTests.cs | https://github.com/DJMelonz/Utilities/blob/HEAD/Utilities.Tests/Core/DateTime/FirstDayOfWeekTests.cs | ghcode:00002:ab4a0a8cae55 | mit | codeparrot/github-code | ab4a0a8cae55085699d869181e9be598cf9e8026d0a9ede4a19f6362e8cbc2ce | 0.85 | testing_debugging_repair_refactoring | 404 | 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 osuTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Game.Con... | 2yangk23/osu | osu.Game/Screens/Select/BeatmapCarousel.cs | https://github.com/2yangk23/osu/blob/HEAD/osu.Game/Screens/Select/BeatmapCarousel.cs | ghcode:00002:143348c9cb7f | mit | codeparrot/github-code | 143348c9cb7fc7b1320f29bc0dcc7bc26b044d55d37cdb351f29998cf248916f | 0.85 | testing_debugging_repair_refactoring | 5,522 | false | 2026-07-17 |
using System;
using System.IO;
using NUnit.Framework;
namespace Xania.AspNet.TagHelpers.Tests
{
public class TagHelperTests
{
// Html tags
[TestCase("< a >< / a>", "<a></a>")]
[TestCase("<a attrs />", "<a attrs=\"\" />")]
[TestCase("<a attrs />", "<a attrs=\"\" />")]
... | ibrahimbensalah/Xania.AspNet | Xania.AspNet.TagHelpers.Tests/TagHelperTests.cs | https://github.com/ibrahimbensalah/Xania.AspNet/blob/HEAD/Xania.AspNet.TagHelpers.Tests/TagHelperTests.cs | ghcode:00002:7aaff1646b5d | mit | codeparrot/github-code | 7aaff1646b5d915336795b7e8f46dd020873a83fdbee4912ea0de350bb4bb299 | 0.85 | testing_debugging_repair_refactoring | 735 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
namespace BenchmarkDotNet.Reports
{
public sealed class BenchmarkRunReportsStatistic
{
public string Name { get; }
public BenchmarkMeasurementStatistic AverageTime { get; }
public BenchmarkMeasurementStatistic OperationsPerSeconds { ... | NN---/BenchmarkDotNet | BenchmarkDotNet/Reports/BenchmarkRunReportsStatistic.cs | https://github.com/NN---/BenchmarkDotNet/blob/HEAD/BenchmarkDotNet/Reports/BenchmarkRunReportsStatistic.cs | ghcode:00002:d96939b0ff11 | mit | codeparrot/github-code | d96939b0ff11d3fb796c1b057caa5025115f724adb28ac13f6847c81e4f5e1f7 | 0.6 | testing_debugging_repair_refactoring | 147 | false | 2026-07-17 |
using BrightSword.SwissKnife;
using NUnit.Framework;
namespace Tests.BrightSword.SwissKnife
{
[TestFixture]
public class UnlessMonadExtensionsTest
{
[Test]
public void TestUnlessActionWithNonNullValueAndFalse()
{
const string C_INPUT = "Hello World";
const s... | johnazariah/brightsword-swissknife | tests/BrightSword.SwissKnife.Tests/UnlessMonadExtensionsTest.cs | https://github.com/johnazariah/brightsword-swissknife/blob/HEAD/tests/BrightSword.SwissKnife.Tests/UnlessMonadExtensionsTest.cs | ghcode:00002:cbb0a3c401c5 | unlicense | codeparrot/github-code | cbb0a3c401c550ece21b8d2b3fd8eecdb9aa5883c7e1a5bb3c259e20a8befbcf | 0.53 | testing_debugging_repair_refactoring | 864 | false | 2026-07-17 |
//
// Encog(tm) Core v3.2 - .Net Version
// http://www.heatonresearch.com/encog/
//
// Copyright 2008-2014 Heaton Research, 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
//
// htt... | a7866353/encog-dotnet-core_work01 | encog-core-test/Util/Normalize/TestSegregate.cs | https://github.com/a7866353/encog-dotnet-core_work01/blob/HEAD/encog-core-test/Util/Normalize/TestSegregate.cs | ghcode:00002:25bd3b0ded25 | apache-2.0 | codeparrot/github-code | 25bd3b0ded25c141c2f32f26000536615de071838dc60921c8517b7057023e75 | 0.85 | testing_debugging_repair_refactoring | 1,444 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Threading;
using System.Threading.... | nguerrera/roslyn | src/Features/Core/Portable/SplitOrMergeIfStatements/AbstractMergeIfStatementsCodeRefactoringProvider.cs | https://github.com/nguerrera/roslyn/blob/HEAD/src/Features/Core/Portable/SplitOrMergeIfStatements/AbstractMergeIfStatementsCodeRefactoringProvider.cs | ghcode:00002:2a222bbd67d5 | apache-2.0 | codeparrot/github-code | 2a222bbd67d5bc1a8fd7cc3c4fb86be24131e22ae60ef935edee2dfc1d1b4128 | 0.85 | testing_debugging_repair_refactoring | 1,037 | false | 2026-07-17 |
// Copyright 2021 Cloud Native Foundation.
// Licensed under the Apache 2.0 license.
// See LICENSE file in the project root for full license information.
using CloudNative.CloudEvents.UnitTests;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Text;
using Xunit;
using static CloudNative... | cloudevents/sdk-csharp | test/CloudNative.CloudEvents.UnitTests/NewtonsoftJson/SpecializedFormatterTest.cs | https://github.com/cloudevents/sdk-csharp/blob/HEAD/test/CloudNative.CloudEvents.UnitTests/NewtonsoftJson/SpecializedFormatterTest.cs | ghcode:00002:4ea60757a994 | apache-2.0 | codeparrot/github-code | 4ea60757a994e83aa7cb6705f1a75e829ba3ce6e8cbdce9bef670141bc60e8a6 | 0.7 | testing_debugging_repair_refactoring | 1,558 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Azure.Messaging.EventHubs.Core;
using Azure.Messaging.EventHubs.Processor;
using NUnit.Framework;
namespace Azure.Messaging.EventHubs.Tests
{
/// <summary>
/// The suite of tests for the <see... | stankovski/azure-sdk-for-net | sdk/eventhub/Azure.Messaging.EventHubs.Processor/tests/Processor/EventProcessorClientOptionsTests.cs | https://github.com/stankovski/azure-sdk-for-net/blob/HEAD/sdk/eventhub/Azure.Messaging.EventHubs.Processor/tests/Processor/EventProcessorClientOptionsTests.cs | ghcode:00002:d2250bb00835 | apache-2.0 | codeparrot/github-code | d2250bb0083554d746f4c3a9354ae0cd44c87a7b2bd6bcb3e3b3e6dc5dfcb034 | 0.95 | testing_debugging_repair_refactoring | 1,216 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax... | xasx/roslyn | src/Compilers/CSharp/Portable/Symbols/Attributes/SourceAttributeData.cs | https://github.com/xasx/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Attributes/SourceAttributeData.cs | ghcode:00002:1d333b66274f | apache-2.0 | codeparrot/github-code | 1d333b66274f9eeb966ce40376fd63479e26f758fdb097f3b95708158d309a98 | 0.7 | testing_debugging_repair_refactoring | 2,538 | false | 2026-07-17 |
//
// Copyright 2019 Google LLC
//
// 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, Ver... | GoogleCloudPlatform/iap-desktop | sources/Google.Solutions.IapDesktop.Extensions.Activity.Test/History/TestNodeHistory.cs | https://github.com/GoogleCloudPlatform/iap-desktop/blob/HEAD/sources/Google.Solutions.IapDesktop.Extensions.Activity.Test/History/TestNodeHistory.cs | ghcode:00002:b7d0e8714b5c | apache-2.0 | codeparrot/github-code | b7d0e8714b5c431c57dfd6487f145d14240fa8589c8788f7c6dbbe9beea294b4 | 0.85 | testing_debugging_repair_refactoring | 914 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Diagnostics;
using STSdb4.General.Patches;
using STSdb4.General.Extensions;
using STSdb4.General.Comparers;
namespace STSdb4.General.Collections
{
public class OrderedSet<TKey, TValue> : IO... | zhouweiaccp/code | Cache/Plugin_Cache/supercache/Store/General/Collections/OrderedSet.cs | https://github.com/zhouweiaccp/code/blob/HEAD/Cache/Plugin_Cache/supercache/Store/General/Collections/OrderedSet.cs | ghcode:00002:6439ca791754 | apache-2.0 | codeparrot/github-code | 6439ca791754e1ea5a680b4da6ced89e073d84c53367f77f3769e118abcc8a1f | 0.7 | testing_debugging_repair_refactoring | 3,263 | false | 2026-07-17 |
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,... | mjbvz/nodejstools | Nodejs/Product/Nodejs/Jade/ServiceManager.cs | https://github.com/mjbvz/nodejstools/blob/HEAD/Nodejs/Product/Nodejs/Jade/ServiceManager.cs | ghcode:00002:b732400ab090 | apache-2.0 | codeparrot/github-code | b732400ab090b5e3f9cebe0df26cff6d4ac3e58b881bf82d896cbdb82867cd6b | 0.7 | testing_debugging_repair_refactoring | 2,266 | false | 2026-07-17 |
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NuGet.Test.Mocks;
namespace NuGet.Test {
[TestClass]
public class MachineCacheTest {
[TestMethod]
public void AddingMoreThanPackageLimitClearsCache() {
// Arrange
var mockFileSystem =... | grendello/nuget | test/Core.Test/MachineCacheTest.cs | https://github.com/grendello/nuget/blob/HEAD/test/Core.Test/MachineCacheTest.cs | ghcode:00002:b499ccb669cd | apache-2.0 | codeparrot/github-code | b499ccb669cda79737f299b7f92b422cedeb07c637e03be32a6008aceafa4dfa | 0.7 | testing_debugging_repair_refactoring | 252 | 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.Immutable;
using System.Diagnostics;
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Roslyn.... | Felorati/roslyn | src/Compilers/CSharp/Portable/Symbols/Source/SourceLocalSymbol.cs | https://github.com/Felorati/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Source/SourceLocalSymbol.cs | ghcode:00002:49f38d0da06f | apache-2.0 | codeparrot/github-code | 49f38d0da06f586f55c15d6489960c09b8f96a465f3ee0e320bdb5a6a2278d06 | 0.7 | testing_debugging_repair_refactoring | 3,189 | false | 2026-07-17 |
using System;
namespace xetohub.test
{
public class Parameters
{
public static string CONNECTION_STRING
{
get
{
return Environment.GetEnvironmentVariable("EH_SQL_CONNECTION_STRING");
}
}
public static string XESESSION_NAME
... | simgreci/SQLXEtoEventHub | xetohub.test/utility/TestParameters.cs | https://github.com/simgreci/SQLXEtoEventHub/blob/HEAD/xetohub.test/utility/TestParameters.cs | ghcode:00002:86621edf59f9 | apache-2.0 | codeparrot/github-code | 86621edf59f9628426afad32fa41155069555a336b4d071a826464a031677115 | 0.75 | testing_debugging_repair_refactoring | 116 | false | 2026-07-17 |
using Sputnik.Models.Publisher;
using Sputnik.Models.Publisher.Settings;
using Xunit;
namespace PublisherSmokeTests
{
public class SupportTests : PublisherTestBase
{
[Fact]
public void CanNavigateToSupport()
{
_publisher.Pages.LoginPage.LoginAs(PublisherRoles.Admin);
... | JotaAlava/Sputnik | PublisherSmokeTests/SupportTests.cs | https://github.com/JotaAlava/Sputnik/blob/HEAD/PublisherSmokeTests/SupportTests.cs | ghcode:00002:9259fcd0305c | apache-2.0 | codeparrot/github-code | 9259fcd0305c1a76a11cd1e0052f8022dffca9c478f1dfd90502b2d398538ca5 | 0.75 | testing_debugging_repair_refactoring | 93 | false | 2026-07-17 |
using System;
using SimpleIdentityServer.Core.Authenticate;
using SimpleIdentityServer.Core.Common.Models;
using Xunit;
using System.Collections.Generic;
namespace SimpleIdentityServer.Core.UnitTests.Authenticate
{
public sealed class ClientSecretPostAuthenticationFixture
{
private IClientSe... | thabart/SimpleIdentityServer | SimpleIdentityServer/tests/SimpleIdentityServer.Core.UnitTests/Authenticate/ClientSecretPostAuthenticationFixture.cs | https://github.com/thabart/SimpleIdentityServer/blob/HEAD/SimpleIdentityServer/tests/SimpleIdentityServer.Core.UnitTests/Authenticate/ClientSecretPostAuthenticationFixture.cs | ghcode:00002:25f5343eae24 | apache-2.0 | codeparrot/github-code | 25f5343eae241bf3a1277744a730f01934e5324e7db7ce37e20155e3597753fd | 0.95 | testing_debugging_repair_refactoring | 839 | false | 2026-07-17 |
// Python Tools for Visual Studio
// 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
//... | DEVSENSE/PTVS | Python/Product/TestAdapter.Executor/TestDiscoverer.cs | https://github.com/DEVSENSE/PTVS/blob/HEAD/Python/Product/TestAdapter.Executor/TestDiscoverer.cs | ghcode:00002:76d3a5e270b8 | apache-2.0 | codeparrot/github-code | 76d3a5e270b814aa5898c6bab806ef4d6abc59298057f427a1b2c4d7704c2bc7 | 0.85 | testing_debugging_repair_refactoring | 502 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Microsoft.AspNetCore.Authentication;
namespace Microsoft.AspNetCore.Authentication
{
public class TestClock : ISystemClock
{
public TestClock()
... | aspnet/AspNetCore | src/Security/Authentication/test/TestClock.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Security/Authentication/test/TestClock.cs | ghcode:00002:69c0c4ebece3 | apache-2.0 | codeparrot/github-code | 69c0c4ebece3d0a2d76e4690cfec2a7177bd9f11b2989bf965aab1d2c2bccd21 | 0.85 | testing_debugging_repair_refactoring | 142 | false | 2026-07-17 |
/*
* Copyright (c) Citrix Systems, Inc.
* 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 the above copyright
* notice, t... | stephen-turner/xenadmin | XenModel/XenAPI/VBD_metrics.cs | https://github.com/stephen-turner/xenadmin/blob/HEAD/XenModel/XenAPI/VBD_metrics.cs | ghcode:00002:f009f209897e | bsd-2-clause | codeparrot/github-code | f009f209897eeb0375c89f75bd63a5ac4068665cea1f766c9466ffca10ded112 | 0.63 | testing_debugging_repair_refactoring | 3,808 | false | 2026-07-17 |
namespace DotNetThumborTest.TestThumborFilters
{
using DotNetThumbor;
using FluentAssertions;
using NUnit.Framework;
[TestFixture]
public class TestMaxBytes
{
[Test]
[TestCase(2)]
[TestCase(20)]
public void ThumborMaxBytesFilter(int maxBytes)
{
... | mi9/DotNetThumbor | DotNetThumborTest/TestThumborFilters/TestMaxBytes.cs | https://github.com/mi9/DotNetThumbor/blob/HEAD/DotNetThumborTest/TestThumborFilters/TestMaxBytes.cs | ghcode:00002:eafa5fe0f7f2 | bsd-3-clause | codeparrot/github-code | eafa5fe0f7f230eb6ea6fcbae086bc535ef42ab45f6c3cd6c2c586b25f6a0bd9 | 0.85 | testing_debugging_repair_refactoring | 151 | false | 2026-07-17 |
namespace VersionOne.SDK.ObjectModel.List
{
[MetaData("TestCategory")]
internal class TestType : ListValue
{
internal TestType(AssetID id, V1Instance instance) : base(id, instance) { }
internal TestType(V1Instance instance) : base(instance) { }
}
} | versionone/VersionOne.SDK.NET.ObjectModel | ObjectModel/ListValue/TestType.cs | https://github.com/versionone/VersionOne.SDK.NET.ObjectModel/blob/HEAD/ObjectModel/ListValue/TestType.cs | ghcode:00002:08cf89511ff2 | bsd-3-clause | codeparrot/github-code | 08cf89511ff20761392d040d1f97508e1be97fff78f024ddd9b7404035a8ddc8 | 0.75 | testing_debugging_repair_refactoring | 64 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Renci.SshNet.Channels;
using Renci.SshNet.Common;
namespace Renci.SshNet.Tests.Classes
{
[TestClass]
public class SubsystemSession_Dis... | GenericHero/SSH.NET | src/Renci.SshNet.Tests/Classes/SubsystemSession_Dispose_Connected.cs | https://github.com/GenericHero/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/SubsystemSession_Dispose_Connected.cs | ghcode:00002:baa8a0331850 | mit | codeparrot/github-code | baa8a0331850f3fa1df076b3426a053ea6f05f7dccb910c5fbd85a32f31d475f | 0.6 | testing_debugging_repair_refactoring | 617 | false | 2026-07-17 |
namespace Microsoft.ApplicationInsights.Web.Implementation
{
using Microsoft.ApplicationInsights.Common;
using Microsoft.ApplicationInsights.TestFramework;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class SdkVersionUtilsTest
{
[TestMethod]
public voi... | pharring/ApplicationInsights-dotnet | WEB/Src/Web/Web.Tests/SdkVersionUtilsTest.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/WEB/Src/Web/Web.Tests/SdkVersionUtilsTest.cs | ghcode:00002:c302ab76ea8d | mit | codeparrot/github-code | c302ab76ea8d0d8f468972afe601374d7abc94ecb69265ba25520b9440e5bbd5 | 0.85 | testing_debugging_repair_refactoring | 232 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.AI.Translation.Document.Tests
{
public partial cl... | Azure/azure-sdk-for-net | sdk/translation/Azure.AI.Translation.Document/tests/GetAllDocumentsFilterTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/translation/Azure.AI.Translation.Document/tests/GetAllDocumentsFilterTests.cs | ghcode:00002:bcf6ca4049f8 | mit | codeparrot/github-code | bcf6ca4049f8f05fb2eece2403bf27d5a79f8717d96603975d9ab4d4308f48fe | 0.95 | testing_debugging_repair_refactoring | 1,222 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.