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 Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.SharePoint.Client;
using Microsoft.Online.SharePoint.TenantAdministration;
using System.Configuration;
using OfficeDevPnP.Core.Entities... | baldswede/PnP | OfficeDevPnP.Core/OfficeDevPnP.Core.Tests/AppModelExtensions/TenantExtensionsTests.cs | https://github.com/baldswede/PnP/blob/HEAD/OfficeDevPnP.Core/OfficeDevPnP.Core.Tests/AppModelExtensions/TenantExtensionsTests.cs | ghcode:00011:fb2c6ed00a6b | apache-2.0 | codeparrot/github-code | fb2c6ed00a6b0bbdd611d212b6e0ecdec2bb034c28151e5d7f112cabe917fc13 | 0.85 | testing_debugging_repair_refactoring | 2,253 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// <copyright file="BridgeDataRecord.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// @owner [....]
// @backupOwner [....]
//---------------------------------------------------... | sekcheong/referencesource | System.Data.Entity/System/Data/Query/ResultAssembly/BridgeDataRecord.cs | https://github.com/sekcheong/referencesource/blob/HEAD/System.Data.Entity/System/Data/Query/ResultAssembly/BridgeDataRecord.cs | ghcode:00011:c36d3ba773bb | mit | codeparrot/github-code | c36d3ba773bbf8cbb20629ad881f7d78e07df3044c16cb32fefa4217d48c6969 | 0.7 | testing_debugging_repair_refactoring | 5,283 | 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;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.C... | Ermiar/corefx | src/Microsoft.CSharp/tests/ImplicitConversionTests.cs | https://github.com/Ermiar/corefx/blob/HEAD/src/Microsoft.CSharp/tests/ImplicitConversionTests.cs | ghcode:00011:27f44089c773 | mit | codeparrot/github-code | 27f44089c773cfc9e3f93e7c814a82ff9349fb66794398a502c86fa35719c285 | 0.95 | testing_debugging_repair_refactoring | 4,045 | 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 Test.Cryptography;
using Xunit;
namespace System.Security.Cryptography.Algo... | Ermiar/corefx | src/System.Security.Cryptography.Algorithms/tests/IncrementalHashTests.cs | https://github.com/Ermiar/corefx/blob/HEAD/src/System.Security.Cryptography.Algorithms/tests/IncrementalHashTests.cs | ghcode:00011:772c1509ec40 | mit | codeparrot/github-code | 772c1509ec40d98f37251283a918c355afbdac4775d1f97294760b9de21e8338 | 0.95 | testing_debugging_repair_refactoring | 2,158 | 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 Xunit;
namespace System.Linq.Tests
{
public class GroupByTests : EnumerableTests
{
public static ... | heXelium/corefx | src/System.Linq/tests/GroupByTests.cs | https://github.com/heXelium/corefx/blob/HEAD/src/System.Linq/tests/GroupByTests.cs | ghcode:00011:0654a99a9039 | mit | codeparrot/github-code | 0654a99a903951578e575a990634a5d3d60bf7057c3b79187de64a173c812ff3 | 0.85 | testing_debugging_repair_refactoring | 5,894 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Net.Test.Common
{
public static partial class Configuration
{
public static partial... | nbarbettini/corefx | src/Common/tests/System/Net/Configuration.Security.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/Common/tests/System/Net/Configuration.Security.cs | ghcode:00011:e3b31decbe42 | mit | codeparrot/github-code | e3b31decbe42a517695f3117deddbb78a184d5d12813994b2b7a2a14f3d3868a | 0.95 | testing_debugging_repair_refactoring | 314 | 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;
using System.Globalization;
using System.Text;
using Xunit;
namespace System.Collections.SortedListTests
{
public class Get... | dkorolev/corefx | src/System.Collections.NonGeneric/tests/SortedList/GetObjectTests.cs | https://github.com/dkorolev/corefx/blob/HEAD/src/System.Collections.NonGeneric/tests/SortedList/GetObjectTests.cs | ghcode:00011:bc04ccdc6e97 | mit | codeparrot/github-code | bc04ccdc6e975d836ae0118ae652905fc5d03c4813c18271c8ee0b42b0c243ce | 0.95 | testing_debugging_repair_refactoring | 1,000 | false | 2026-07-17 |
using Abp.Dependency;
using Shouldly;
using Xunit;
namespace Abp.Tests.Dependency
{
public class Circular_Property_Dependency_Tests : TestBaseWithLocalIocManager
{
[Fact]
public void Should_Success_Circular_Property_Injection_Transient()
{
Initialize_Test(DependencyLifeStyle... | Nongzhsh/aspnetboilerplate | test/Abp.Tests/Dependency/Circular_Property_Dependency_Tests.cs | https://github.com/Nongzhsh/aspnetboilerplate/blob/HEAD/test/Abp.Tests/Dependency/Circular_Property_Dependency_Tests.cs | ghcode:00011:ea0905170bd0 | mit | codeparrot/github-code | ea0905170bd0b7a3aeae8d2cd721f27d55c574a9378b288c2690ff6f95a4732f | 0.75 | testing_debugging_repair_refactoring | 570 | 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.Reflection;
using System.Reflection.Emit;
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class GenericTypeParameterBuilder... | fffej/corefx | src/System.Reflection.Emit/tests/GenericTypeParameterBuilder/GenericTypeParameterBuilderNamespace.cs | https://github.com/fffej/corefx/blob/HEAD/src/System.Reflection.Emit/tests/GenericTypeParameterBuilder/GenericTypeParameterBuilderNamespace.cs | ghcode:00011:7cb69bf2afbd | mit | codeparrot/github-code | 7cb69bf2afbd2fc100193b8c953474d7369560592e1901b093380461130bdce9 | 0.85 | testing_debugging_repair_refactoring | 244 | 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.Globalization;
using Xunit;
namespace System.Numerics.Tests
{
public class propertiesTest
{
... | iamjasonp/corefx | src/System.Runtime.Numerics/tests/BigInteger/properties.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Runtime.Numerics/tests/BigInteger/properties.cs | ghcode:00011:b103f3e35c00 | mit | codeparrot/github-code | b103f3e35c006bcd92f9bbe23d15d1baff306eef2aaa2205d1579152294e822d | 0.95 | testing_debugging_repair_refactoring | 909 | false | 2026-07-17 |
using Ploeh.AutoFixture.Xunit;
namespace ProcessingOperations.Tests.TestInfrastructure
{
public class AutoMockDataAttribute : AutoDataAttribute
{
public AutoMockDataAttribute()
: base(new TestAutoFixture())
{
}
}
} | arzion/ProcessingOperations | ProcessingOperations.Tests/TestInfrastructure/AutoMockDataAttribute.cs | https://github.com/arzion/ProcessingOperations/blob/HEAD/ProcessingOperations.Tests/TestInfrastructure/AutoMockDataAttribute.cs | ghcode:00011:ce3313735197 | isc | codeparrot/github-code | ce33137351973e2b8a8fdc44a1252df36fd6ae162fb713875ecde2522eaffb3b | 0.6 | testing_debugging_repair_refactoring | 53 | false | 2026-07-17 |
using NUnit.Framework;
using OpenQA.Selenium;
using PersonalFinanceManager.IntegrationTests.Infrastructure;
using TechTalk.SpecFlow;
namespace PersonalFinanceManager.IntegrationTests.Scenarios.Steps
{
[Binding, Scope(Feature = "DeleteIncomes")]
public class DeleteIncomesSteps
{
private int _countM... | JM89/personalfinancemanager | PFM.IntegrationTests/PersonalFinanceManager.IntegrationTests/Scenarios/Steps/DeleteIncomeSteps.cs | https://github.com/JM89/personalfinancemanager/blob/HEAD/PFM.IntegrationTests/PersonalFinanceManager.IntegrationTests/Scenarios/Steps/DeleteIncomeSteps.cs | ghcode:00011:27cc2ade20b1 | mit | codeparrot/github-code | 27cc2ade20b113921c35d9c484bc6157c5f7b52b92b04d29e829847b63df7ab7 | 0.6 | testing_debugging_repair_refactoring | 534 | false | 2026-07-17 |
using System.Linq;
using eWAY.Rapid.Enums;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace eWAY.Rapid.Tests.IntegrationTests
{
[TestClass]
public class QueryCustomerTests : SdkTestBase
{
[TestMethod]
public void QueryCustomer_ByCustomerTokenId_Test()
{
//A... | eWAYPayment/eway-rapid-net | eWAY.Rapid.Tests/IntegrationTests/QueryCustomerTests.cs | https://github.com/eWAYPayment/eway-rapid-net/blob/HEAD/eWAY.Rapid.Tests/IntegrationTests/QueryCustomerTests.cs | ghcode:00011:08c6755f93b7 | mit | codeparrot/github-code | 08c6755f93b7963b735b2a197b8cd594629a2a37c0d5029341ff5a8567a6c328 | 0.85 | testing_debugging_repair_refactoring | 350 | false | 2026-07-17 |
namespace CrystalQuartz.Application.Tests.Commands.Serialization
{
using System.Collections.Generic;
using System.Linq;
using CrystalQuartz.Application.Comands.Outputs;
using CrystalQuartz.Application.Comands.Serialization;
using CrystalQuartz.Core.Domain.ObjectInput;
using NUnit.Framework;
... | guryanovev/CrystalQuartz | src/CrystalQuartz.Application.Tests/Commands/Serialization/InputTypeVriantOutputSerializerTests.cs | https://github.com/guryanovev/CrystalQuartz/blob/HEAD/src/CrystalQuartz.Application.Tests/Commands/Serialization/InputTypeVriantOutputSerializerTests.cs | ghcode:00011:e5fadb84a690 | mit | codeparrot/github-code | e5fadb84a690012746a3e94a9f5e4aedcadb9fb5a3e9480d63806e241cab2d7a | 0.75 | testing_debugging_repair_refactoring | 279 | false | 2026-07-17 |
using System;
using Facility.Definition.Fsd;
using NUnit.Framework;
namespace Facility.Definition.UnitTests
{
internal static class TestUtility
{
public static void ThrowsServiceDefinitionException(Action action, NamedTextPosition position)
{
try
{
action();
throw new InvalidOperationException("Ac... | ejball/Facility | tests/Facility.Definition.UnitTests/TestUtility.cs | https://github.com/ejball/Facility/blob/HEAD/tests/Facility.Definition.UnitTests/TestUtility.cs | ghcode:00011:2fde892a37eb | mit | codeparrot/github-code | 2fde892a37eb8dc92685e5a0248fccace07cf5a5d56739653a0a0bd9fde92ec4 | 0.75 | testing_debugging_repair_refactoring | 305 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Mustache.Reports.Domain;
using Mustache.Reports.Domain.Report;
using Mustache.Reports.Domain.Report.Word;
using Mustache.Reports.UseCase.Word;
using NSubstitute;
using StoneAge.CleanArchitecture.Domain.Messages;
using StoneAge.CleanArchitecture.Domain.Outpu... | T-rav/Reference-CleanArchitecture-DotNet | Mustache.Reports.UseCase.Tests/Word/RenderWordUseCaseTest.cs | https://github.com/T-rav/Reference-CleanArchitecture-DotNet/blob/HEAD/Mustache.Reports.UseCase.Tests/Word/RenderWordUseCaseTest.cs | ghcode:00011:166d06e36c75 | mit | codeparrot/github-code | 166d06e36c7591361d04073f7fc44559ce2a31b5022d3e9dcf70fdf69a3641e2 | 0.7 | testing_debugging_repair_refactoring | 550 | false | 2026-07-17 |
// Copyright (c) 2017 Trevor Redfern
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
namespace Tests.Characters.Background
{
using Xunit;
using SilverNeedle.Characters.Background;
public class HistoryTests
{
[Fact]
public void Initial... | shortlegstudio/silverneedle-web | silverneedle-tests/Characters/Background/HistoryTests.cs | https://github.com/shortlegstudio/silverneedle-web/blob/HEAD/silverneedle-tests/Characters/Background/HistoryTests.cs | ghcode:00011:ea2b1b58c1e1 | mit | codeparrot/github-code | ea2b1b58c1e170c60b6ae871bd72e07ed0f98c9b3687efdd489c2ed51e4b05a8 | 0.85 | testing_debugging_repair_refactoring | 120 | false | 2026-07-17 |
using System.Collections.Generic;
using AutofacContrib.NSubstitute;
using NSubstitute;
using NUnit.Framework;
using TerseControllerTesting.Controllers;
using TerseControllerTesting.Data;
using TerseControllerTesting.Models;
namespace TerseControllerTesting.Tests._07_CustomSyntax4
{
[TestFixture]
cl... | robdmoore/ASP.NET-MVC-Terse-Controller-Testing | TerseControllerTesting.Tests/07_CustomSyntax4/PersonControllerUnitTests.cs | https://github.com/robdmoore/ASP.NET-MVC-Terse-Controller-Testing/blob/HEAD/TerseControllerTesting.Tests/07_CustomSyntax4/PersonControllerUnitTests.cs | ghcode:00011:3d8db76e6aa3 | mit | codeparrot/github-code | 3d8db76e6aa38948b9609f5b462a4ce2f63520cf49a8859be3a6bad27eb3b5a8 | 0.75 | testing_debugging_repair_refactoring | 910 | false | 2026-07-17 |
using System;
using System.Linq.Expressions;
namespace FluentMethods.UnitTests
{
public partial class ExpressionFixture
{
#if NetCore
[Xunit.Fact]
#else
[NUnit.Framework.Test]
#endif
public void DivideAssign()
{
var variable = Expression.Variable(typeof(int));
... | edwardmeng/FluentMethods | test/Core/System.Linq.Expressions.Expression/DivideAssign.cs | https://github.com/edwardmeng/FluentMethods/blob/HEAD/test/Core/System.Linq.Expressions.Expression/DivideAssign.cs | ghcode:00011:de06a21e8629 | mit | codeparrot/github-code | de06a21e8629ed8c7a7d3e6fd53ebb93c27c267f952d3f0043d1e00211b6062f | 0.6 | testing_debugging_repair_refactoring | 119 | false | 2026-07-17 |
using System;
using System.IO;
using System.IO.Abstractions;
using System.Linq;
using System.Net;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Text;
using Moq;
using ReactiveUIMicro;
using Squirrel.Client;
using Squirrel.Core;
using Squirrel.Tests.TestHelpers;
using Xunit;
namespace Squirre... | rzhw/Squirrel.Windows | src/Squirrel.Tests/Client/DownloadReleasesTests.cs | https://github.com/rzhw/Squirrel.Windows/blob/HEAD/src/Squirrel.Tests/Client/DownloadReleasesTests.cs | ghcode:00011:d94b36f239c7 | mit | codeparrot/github-code | d94b36f239c70685123b6cc937e7961fcbd51a020d61140fb1dc788bef006d3f | 0.85 | testing_debugging_repair_refactoring | 1,739 | false | 2026-07-17 |
using System;
using System.IO;
using Moq;
using NFile.Framework;
using NFile.Framework.Internals;
using NUnit.Framework;
namespace NFile.Tests
{
[TestFixture]
public class TemporaryFileTests
{
[Test]
public void TemporaryFile_basedOnITemporaryFile()
{
var... | constructor-igor/NFile | sources/NFile.Tests/TemporaryFileTests.cs | https://github.com/constructor-igor/NFile/blob/HEAD/sources/NFile.Tests/TemporaryFileTests.cs | ghcode:00011:07ba8908b9d2 | mit | codeparrot/github-code | 07ba8908b9d21d9d46ee2df7c110da29f582a99a7acd1d06860465d1c63eee46 | 0.85 | testing_debugging_repair_refactoring | 1,000 | 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 System.Net;
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Management.CosmosDB;
using Xunit;
using Microsoft.Rest.ClientRuntime.Azure.Te... | AsrOneSdk/azure-sdk-for-net | sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/MongoResourcesOperationsTests.cs | https://github.com/AsrOneSdk/azure-sdk-for-net/blob/HEAD/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/MongoResourcesOperationsTests.cs | ghcode:00011:e060cc057c1b | mit | codeparrot/github-code | e060cc057c1ba140d7498cdc3541b070a614112cd7418db3bef241c6bc434b19 | 0.95 | testing_debugging_repair_refactoring | 1,531 | false | 2026-07-17 |
namespace AgileObjects.AgileMapper.UnitTests
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using AgileMapper.Extensions;
using AgileMapper.Extensions.Internal;
using Common;
using TestClasses;
#if !NET35
using Xunit;
#else... | agileobjects/AgileMapper | AgileMapper.UnitTests/WhenMappingCircularReferences.cs | https://github.com/agileobjects/AgileMapper/blob/HEAD/AgileMapper.UnitTests/WhenMappingCircularReferences.cs | ghcode:00011:ddfcac8c3612 | mit | codeparrot/github-code | ddfcac8c3612e81b688830430c24447c5346fa8f06eb232cf4b49ea9f2ab74d5 | 0.7 | testing_debugging_repair_refactoring | 8,774 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DartSharp.Commands;
using DartSharp.Expressions;
using DartSharp.Methods;
using DartSharp.Language;
namespace DartSharp.Tests.Commands
{
[TestClass]
publ... | ajlopez/DartSharp | Src/DartSharp.Tests/Commands/WhileCommandTests.cs | https://github.com/ajlopez/DartSharp/blob/HEAD/Src/DartSharp.Tests/Commands/WhileCommandTests.cs | ghcode:00011:e0d2e48e0a45 | mit | codeparrot/github-code | e0d2e48e0a452425208779c7ab0336f7b862f42e74916757cbe94fe6915b803c | 0.75 | testing_debugging_repair_refactoring | 287 | false | 2026-07-17 |
using Core;
using StructureMap;
using Xunit;
namespace Tests
{
public class ExtraInitializationTests
{
[Fact]
public void OnCreation()
{
var ran = false;
var container = new Container(x =>
{
x.For<IService>().Use<Service>().OnCreatio... | kendaleiv/di-servicelocation-structuremap | Tests/ExtraInitializationTests.cs | https://github.com/kendaleiv/di-servicelocation-structuremap/blob/HEAD/Tests/ExtraInitializationTests.cs | ghcode:00011:ed7e654e3659 | mit | codeparrot/github-code | ed7e654e36594a72a491e57320f9b69337ee58caddf6d19131a3874430037891 | 0.75 | testing_debugging_repair_refactoring | 226 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
namespace Certify.Service.Tests.Integration
{
[TestClass]
public class SystemTests
{
private Client.CertifyServiceClient _client = null;
[TestInitialize]
public void Setup()
{
... | Prerequisite/Certify | src/Certify.Tests/Certify.Service.Tests.Integration/SystemTests.cs | https://github.com/Prerequisite/Certify/blob/HEAD/src/Certify.Tests/Certify.Service.Tests.Integration/SystemTests.cs | ghcode:00011:3472c92cf213 | mit | codeparrot/github-code | 3472c92cf2133d512ece02a2bdaa8a77ec01fbf5eb6fc18647a0f01565faabf9 | 0.75 | testing_debugging_repair_refactoring | 144 | false | 2026-07-17 |
namespace IntegrationTests
{
using AspNet.Identity.MongoDB;
using Microsoft.AspNet.Identity;
using MongoDB.Driver;
using NUnit.Framework;
using System.Threading.Tasks;
[TestFixture]
public class UserRoleStoreTests : UserIntegrationTestsBase
{
[Test]
public void GetRoles... | iiwaasnet/aspnet-identity-mongo | src/IntegrationTests/UserRoleStoreTests.cs | https://github.com/iiwaasnet/aspnet-identity-mongo/blob/HEAD/src/IntegrationTests/UserRoleStoreTests.cs | ghcode:00011:c47c4c64fa72 | mit | codeparrot/github-code | c47c4c64fa721b06029805093011a7973a2e7f5a77c53f84a2f6342d3a4aa37f | 0.75 | testing_debugging_repair_refactoring | 324 | false | 2026-07-17 |
using DocumentFormat.Pdf.IO;
using DocumentFormat.Pdf.Objects;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Xunit;
namespace DocumentFormat.Pdf.Tests.Objects
{
public class StreamObjectTests
{
private static Stream BuildTestStream(string content)
{
re... | Codinlab/PDF-SDK | test/DocumentFormat.Pdf.Tests/Objects/StreamObjectTests.cs | https://github.com/Codinlab/PDF-SDK/blob/HEAD/test/DocumentFormat.Pdf.Tests/Objects/StreamObjectTests.cs | ghcode:00011:f060b6ef98f0 | mit | codeparrot/github-code | f060b6ef98f01f840d07fe417d7553d697ea3f12fdd4195f65222bac5de42f2e | 0.85 | testing_debugging_repair_refactoring | 612 | 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 System;
using System.Linq;
using System.Collections.Generic;
using System.Reflection;
using Windows.Foundation;
using Windows.UI;
using Microsoft.VisualS... | zjsxwc/Win2D | winrt/test.managed/Shared/EffectTests.cs | https://github.com/zjsxwc/Win2D/blob/HEAD/winrt/test.managed/Shared/EffectTests.cs | ghcode:00011:2df2da204622 | mit | codeparrot/github-code | 2df2da20462212f87dc82d5256cedd6ad89e85669adbe2e4cee68686e2b366a1 | 0.85 | testing_debugging_repair_refactoring | 8,720 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Moq;
using NUnit.Framework;
using PopForums.Controllers;
using PopForums.Models;
using PopForums.Services;
namespace PopForums.Test.Controllers
{
[TestFixture]
public class ModeratorControllerTests
{
private ModeratorController GetController()
{
_mockTop... | COTB/Hackathon2014 | POPForums/PopForums.Test/Controllers/ModeratorControllerTests.cs | https://github.com/COTB/Hackathon2014/blob/HEAD/POPForums/PopForums.Test/Controllers/ModeratorControllerTests.cs | ghcode:00011:c462a533224e | mit | codeparrot/github-code | c462a533224e5592ac97263532f1510fcbfbcc4c688cb67020a05a6721526a7c | 0.75 | testing_debugging_repair_refactoring | 1,501 | false | 2026-07-17 |
namespace AgileObjects.AgileMapper.UnitTests.NonParallel.Configuration.Inline
{
using Common;
using TestClasses;
using Xunit;
public class WhenConfiguringDataSourcesInline : NonParallelTestsBase
{
[Fact]
public void ShouldApplyAConfiguredConstantViaTheInlineStaticApi()
{
... | agileobjects/AgileMapper | AgileMapper.UnitTests.NonParallel/Configuration/Inline/WhenConfiguringDataSourcesInline.cs | https://github.com/agileobjects/AgileMapper/blob/HEAD/AgileMapper.UnitTests.NonParallel/Configuration/Inline/WhenConfiguringDataSourcesInline.cs | ghcode:00011:bfc5dc6a5c16 | mit | codeparrot/github-code | bfc5dc6a5c16ec3f282d4d635d49a95e0f5b3018d5b257d27fae28c98d6cc6de | 0.6 | testing_debugging_repair_refactoring | 134 | false | 2026-07-17 |
namespace Gu.Units.Tests.Internals.Parsing
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading;
using NUnit.Framework;
public class ParseLengthTests
{
// ReSharper disable once UnusedMember.Local
private const string Superscr... | JohanLarsson/Gu.Units | Gu.Units.Tests/Internals/Parsing/ParseLengthTests.cs | https://github.com/JohanLarsson/Gu.Units/blob/HEAD/Gu.Units.Tests/Internals/Parsing/ParseLengthTests.cs | ghcode:00011:6f459a46ebe9 | mit | codeparrot/github-code | 6f459a46ebe90c98c31d2ac19441fe17722d89aa7c0da257ad787e5a56334e69 | 0.75 | testing_debugging_repair_refactoring | 1,435 | false | 2026-07-17 |
using NUnit.Framework;
using OpenQA.Selenite.Interfaces;
using OpenQA.Selenite.Setup.Environments;
using OpenQA.Selenite.Setup;
namespace OpenQA.Selenite.Tests.Shared.Hosting
{
[TestFixture]
public class HostThreadedSessionFixture : HostTestFixture, ITestSpec
{
[OneTimeSetUp]
public overri... | nspectator/NSpectator.Selenium | test/OpenQA.Selenite.Tests/Shared/Hosting/HostThreadedSessionFixture.cs | https://github.com/nspectator/NSpectator.Selenium/blob/HEAD/test/OpenQA.Selenite.Tests/Shared/Hosting/HostThreadedSessionFixture.cs | ghcode:00011:b0cf3e731ce0 | mit | codeparrot/github-code | b0cf3e731ce072e35feffa904e490e5c39ce1437ad05168fa13f2d16f270a934 | 0.6 | testing_debugging_repair_refactoring | 146 | 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.
#nullable enable
using System;
using System.Diagnostics;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Performance;
using osu.Game.Rulesets.Objects;
using ... | peppy/osu-new | osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPointLifetimeEntry.cs | https://github.com/peppy/osu-new/blob/HEAD/osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPointLifetimeEntry.cs | ghcode:00011:5dcffc2b726e | mit | codeparrot/github-code | 5dcffc2b726efbfa412dfbe81865f6bf33ec6827cf29087f7a90d6f3a23a2843 | 0.85 | testing_debugging_repair_refactoring | 596 | false | 2026-07-17 |
using System;
using System.Linq;
using LinqToDB;
using LinqToDB.Data;
using NUnit.Framework;
#region ReSharper disable
// ReSharper disable ConvertToConstant.Local
#endregion
namespace Tests.Update
{
using Model;
[TestFixture]
public class DeleteTest : TestBase
{
[Test, DataContextSource]
public void Dele... | MarcoRosenberger/linq2dbCrud | Tests/Linq/Update/DeleteTest.cs | https://github.com/MarcoRosenberger/linq2dbCrud/blob/HEAD/Tests/Linq/Update/DeleteTest.cs | ghcode:00011:5a3aa2da7e20 | mit | codeparrot/github-code | 5a3aa2da7e206ef16f88c6bba13e737b4cb9c05656fade6e2dc023a2c8c992c8 | 0.6 | testing_debugging_repair_refactoring | 3,030 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Nimbus.Configuration.Settings;
using Nimbus.Extensions;
using NUnit.Framework;
using Shouldly;
namespace Nimbus.UnitTests.Conventions
{
[TestFixture]
[Category("Convention")]
public class AllSettingsClasses
... | KodrAus/Nimbus | src/Tests/Nimbus.UnitTests/Conventions/AllSettingsClasses.cs | https://github.com/KodrAus/Nimbus/blob/HEAD/src/Tests/Nimbus.UnitTests/Conventions/AllSettingsClasses.cs | ghcode:00011:6d17e3dd7ada | mit | codeparrot/github-code | 6d17e3dd7adac4b1aa627385e7488cec4dd1541920a143094e8f19876fb9aa20 | 0.85 | testing_debugging_repair_refactoring | 254 | false | 2026-07-17 |
// Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Nerdbank.Streams.Benchmark
{
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Jobs;
internal class... | AArnott/Nerdbank.FullDuplexStream | src/Nerdbank.Streams.Benchmark/BenchmarkConfig.cs | https://github.com/AArnott/Nerdbank.FullDuplexStream/blob/HEAD/src/Nerdbank.Streams.Benchmark/BenchmarkConfig.cs | ghcode:00011:27986f00b7a7 | mit | codeparrot/github-code | 27986f00b7a7b546b69cad7b6112378ef851728f5a2709b231874b173de91859 | 0.6 | testing_debugging_repair_refactoring | 108 | false | 2026-07-17 |
using System.Diagnostics;
public static partial class GFX
{
////////////////////////////////// Macros / Defines ///////////////////////////
public static double[] DeltaTTable = { 121, 112, 103, 95, 88, 82, 77, 72, 68, 63, 60, 56, 53, 51, 48, 46, 44, 42, 40, 38, 35, 33, 31, 29, 26, 24, 22, 20, 18, 16, 14, 12, 11, ... | juoni/wwt-web-client | HTML5SDK/wwtlib/AstroCalc/AADynamicalTime.cs | https://github.com/juoni/wwt-web-client/blob/HEAD/HTML5SDK/wwtlib/AstroCalc/AADynamicalTime.cs | ghcode:00011:5d0887301d62 | mit | codeparrot/github-code | 5d0887301d6215a5faa3ed6abbe4f1328fcafcbd677c79d55c3e47fa2f8e3e35 | 0.7 | testing_debugging_repair_refactoring | 1,672 | false | 2026-07-17 |
using System.Text;
using NUnit.Framework;
using Sodium;
namespace Tests
{
/// <summary>Tests for the SecretKeyAuth class</summary>
[TestFixture]
public class SecretKeyAuthTest
{
/// <summary>Verify that the length of the returned key is correct.</summary>
[Test]
public void T... | tabrath/libsodium-core | test/Sodium.Tests/SecretKeyAuthTest.cs | https://github.com/tabrath/libsodium-core/blob/HEAD/test/Sodium.Tests/SecretKeyAuthTest.cs | ghcode:00011:8e4a57b38f5b | mit | codeparrot/github-code | 8e4a57b38f5bf098b95096f9d775385b870a84672c48fbd62c9603576390fc21 | 0.7 | testing_debugging_repair_refactoring | 1,253 | false | 2026-07-17 |
using System.Threading.Tasks;
namespace Handyman.Mediator.Tests
{
internal static class TaskExtensions
{
internal static bool IsCompletedSuccessfully(this Task task)
{
#if NET472
return task.Status == TaskStatus.RanToCompletion;
#else
return task.IsCompletedSuccessfully... | JonasSamuelsson/Handyman | src/Handyman.Mediator/tests/TaskExtensions.cs | https://github.com/JonasSamuelsson/Handyman/blob/HEAD/src/Handyman.Mediator/tests/TaskExtensions.cs | ghcode:00011:affa062e5c0e | mit | codeparrot/github-code | affa062e5c0e93d37f041827cd298af303c0c948f57d7acc97264f92f69d2c5c | 0.85 | testing_debugging_repair_refactoring | 69 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
namespace AsanaSharp
{
class Test
{
void gen()
{
var assembly = typeof(Asana).Assembly;
var types = assembly.GetTypes();
... | niieani/AsanaSharp | AsanaSharp/Test.cs | https://github.com/niieani/AsanaSharp/blob/HEAD/AsanaSharp/Test.cs | ghcode:00011:9bda47934d1b | mit | codeparrot/github-code | 9bda47934d1bd58f2137eec08c8108cf8d13b1093691803587cfe73757cb464f | 0.75 | testing_debugging_repair_refactoring | 105 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using commercetools.Common;
using commercetools.Common.UpdateActions;
using commercetools.Categories;
using commercetools.Categories.UpdateActions;
using commercetools.Project;
using NUnit.Framework;
namespace commercetools.Tests
{
//... | commercetools/commercetools-dotnet-sdk | commercetools.NET.Tests/CategoryManagerTest.cs | https://github.com/commercetools/commercetools-dotnet-sdk/blob/HEAD/commercetools.NET.Tests/CategoryManagerTest.cs | ghcode:00011:059651c8ce10 | mit | codeparrot/github-code | 059651c8ce10b776c54476e8cda69fb4aa2b6b1d42d969c24e60bc792be6b010 | 0.7 | testing_debugging_repair_refactoring | 1,112 | false | 2026-07-17 |
using Remotion.Implementation;
namespace TC.Remixing.Repositories.Core
{
[ConcreteImplementation(typeof(EntityPersister<>))]
public interface IEntityPersister<TEntity>
{
void Persist(TEntity entity);
}
} | tim-cools/composition | src/Soloco.Composition.Examples.Repositories/Test/IEntityPersister.cs | https://github.com/tim-cools/composition/blob/HEAD/src/Soloco.Composition.Examples.Repositories/Test/IEntityPersister.cs | ghcode:00011:a39613274366 | mit | codeparrot/github-code | a3961327436635e09bad75ca6bd6827cfc59bc877556671c60c6f33aa0be260b | 0.85 | testing_debugging_repair_refactoring | 45 | false | 2026-07-17 |
using CharacterGen.Abilities;
using CharacterGen.Randomizers.Abilities;
using Ninject;
using NUnit.Framework;
using System.Linq;
namespace CharacterGen.Tests.Integration.Stress.Randomizers.Abilities
{
[TestFixture]
public class RawAbilitiesRandomizerTests : StressTests
{
[Inject, Named(AbilitiesRa... | DnDGen/CharacterGen | CharacterGen.Tests.Integration.Stress/Randomizers/Abilities/RawAbilitiesRandomizerTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Integration.Stress/Randomizers/Abilities/RawAbilitiesRandomizerTests.cs | ghcode:00011:20b8ff7d2040 | mit | codeparrot/github-code | 20b8ff7d20404a1824ac06b01cd9c59ef44a16fb908484dcb02725cd17967d6f | 0.75 | testing_debugging_repair_refactoring | 461 | false | 2026-07-17 |
namespace SimpleInjector.Tests.Unit
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class ResolveUnregisteredTypeEventTests
{
[TestMethod]
... | abergs/SimpleInjector | SimpleInjector.NET.Tests.Unit/ResolveUnregisteredTypeEventTests.cs | https://github.com/abergs/SimpleInjector/blob/HEAD/SimpleInjector.NET.Tests.Unit/ResolveUnregisteredTypeEventTests.cs | ghcode:00011:3de11a913a6f | mit | codeparrot/github-code | 3de11a913a6fc6bdaf671dafeb83dc4754b9fee6aff9aa5f562f84e6b877cf57 | 0.85 | testing_debugging_repair_refactoring | 3,668 | false | 2026-07-17 |
using Eagle;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace TestOXMLDocument
{
/// <summary>
///This is a test class for OxmlRangeTest and is intended
///to contain all OxmlRangeTest Unit Tests
///</summary>
[TestClass()]
public class OxmlRangeTest
{
... | cthiange/eagle | EagleTests/OxmlRangeTest.cs | https://github.com/cthiange/eagle/blob/HEAD/EagleTests/OxmlRangeTest.cs | ghcode:00011:a9ba7ea46b0b | mit | codeparrot/github-code | a9ba7ea46b0b99cea77ab7e3cd8d666c951da2c68ac6b95597322c3223c59f70 | 0.7 | testing_debugging_repair_refactoring | 707 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Idaas;
using NUnit.Framework;
using NUnit.Framework.Constraints;
namespace Ida.Client.Test
{
[TestFixture]
public class DescribeStructures : DatabaseSpec
{
private class HasMemberConstraint : Constraint
... | mirasrael/idaas | IDA.Client.Test/DescribeStructures.cs | https://github.com/mirasrael/idaas/blob/HEAD/IDA.Client.Test/DescribeStructures.cs | ghcode:00011:4ccbaec11900 | mit | codeparrot/github-code | 4ccbaec11900ad7e31b0be58628359890ceb0a154f767b76f93be5f98a2d08ce | 0.6 | testing_debugging_repair_refactoring | 2,580 | false | 2026-07-17 |
using Lucene.Net.Randomized.Generators;
using Lucene.Net.Search;
using Lucene.Net.Spatial.Prefix;
using Lucene.Net.Spatial.Prefix.Tree;
using Lucene.Net.Spatial.Queries;
using Lucene.Net.Spatial.Vector;
using NUnit.Framework;
using Spatial4n.Core.Context;
using Spatial4n.Core.Distance;
using Spatial4n.Core.Shapes;
usi... | laimis/lucenenet | src/Lucene.Net.Tests.Spatial/PortedSolr3Test.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Spatial/PortedSolr3Test.cs | ghcode:00011:93c4d01af89a | apache-2.0 | codeparrot/github-code | 93c4d01af89abb43424eace35de16f7680d06c4ce5caf6cc0a9a391710af0b58 | 0.85 | testing_debugging_repair_refactoring | 2,216 | 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 may n... | abelli85/nvelocity | NVelocity/NVelocity.Tests/Introspector3TestCase.cs | https://github.com/abelli85/nvelocity/blob/HEAD/NVelocity/NVelocity.Tests/Introspector3TestCase.cs | ghcode:00011:ba7093383f2c | apache-2.0 | codeparrot/github-code | ba7093383f2c05cc35849e4095e04f633f3a3513a635b90a3de75e4c54d3bcc4 | 0.7 | testing_debugging_repair_refactoring | 954 | false | 2026-07-17 |
/*
Copyright 2012-2022 Marco De Salvo
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 a... | mdesalvo/RDFSharp | RDFSharp.Test/Model/Validation/Abstractions/Constraints/RDFXOneConstraintTest.cs | https://github.com/mdesalvo/RDFSharp/blob/HEAD/RDFSharp.Test/Model/Validation/Abstractions/Constraints/RDFXOneConstraintTest.cs | ghcode:00011:1f9ed5f6cfbc | apache-2.0 | codeparrot/github-code | 1f9ed5f6cfbcc5ca2a22e25820dfd3ac4850fe507a141d5fcf087c7530f6960a | 0.7 | testing_debugging_repair_refactoring | 11,221 | false | 2026-07-17 |
using FluentAssertions;
using NesZord.Core;
using Xunit;
namespace NesZord.Tests.OpCodes.DEX
{
public class When_process_DEX_should : When_process_opcode_should
{
public When_process_DEX_should()
{
this.Cpu.X.Value = 0x05;
}
[Fact]
public void Decrement_1_to_x_register()
{
// Act
this.RunProgr... | rmterra/NesZord | src/NesZord.Tests/OpCodes/DEX/When_process_DEX_should.cs | https://github.com/rmterra/NesZord/blob/HEAD/src/NesZord.Tests/OpCodes/DEX/When_process_DEX_should.cs | ghcode:00011:c29582f5b342 | apache-2.0 | codeparrot/github-code | c29582f5b3424e4998b190ff5115ced2d754c771182b71681a0bedda64a07201 | 0.7 | testing_debugging_repair_refactoring | 529 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace test
{
public class Lead : HAL<CommBase>
{
public Lead(CommBase t):base(t)
{
}
public override void Receive(object sender, Ser... | luoyefeiwu/Jerry | Jerry/设计模式/test/Lead.cs | https://github.com/luoyefeiwu/Jerry/blob/HEAD/Jerry/设计模式/test/Lead.cs | ghcode:00011:34f88df70483 | apache-2.0 | codeparrot/github-code | 34f88df70483bc2c30e2659c68c84da6663afbe1ccc624299cbe7893a75c4ac8 | 0.85 | testing_debugging_repair_refactoring | 104 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Syste... | swaroop-sridhar/roslyn | src/Features/Core/Portable/CodeRefactorings/MoveType/AbstractMoveTypeService.cs | https://github.com/swaroop-sridhar/roslyn/blob/HEAD/src/Features/Core/Portable/CodeRefactorings/MoveType/AbstractMoveTypeService.cs | ghcode:00011:529af0b51312 | apache-2.0 | codeparrot/github-code | 529af0b51312b5ccbfc8b62d996d20b70aeae400bad832facb37cba754589997 | 0.85 | testing_debugging_repair_refactoring | 2,106 | 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.IO;
using System.Linq;
using System.Reflection;
using System... | weltkante/roslyn | src/Test/Utilities/Portable/Pdb/PdbValidation.cs | https://github.com/weltkante/roslyn/blob/HEAD/src/Test/Utilities/Portable/Pdb/PdbValidation.cs | ghcode:00011:1fb1b78e21bd | apache-2.0 | codeparrot/github-code | 1fb1b78e21bd17c387557218186e9f3a89e6de5ef0bbfc063d23ae4f322517cb | 0.95 | testing_debugging_repair_refactoring | 4,245 | false | 2026-07-17 |
// Copyright 2017 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | SteelToeOSS/Discovery | test/Steeltoe.Discovery.EurekaBase.Test/EurekaApplicationHealthContributorTest.cs | https://github.com/SteelToeOSS/Discovery/blob/HEAD/test/Steeltoe.Discovery.EurekaBase.Test/EurekaApplicationHealthContributorTest.cs | ghcode:00011:a195d767091e | apache-2.0 | codeparrot/github-code | a195d767091efdbe9434f50007f5237a912864aca96c4cd466f8c52f92572305 | 0.7 | testing_debugging_repair_refactoring | 682 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Roslyn.Utilities;
namespace Pchp.CodeAnalysis.Symbols
{
/// <summary>
/// A <see cref="MissingAs... | iolevel/peachpie | src/Peachpie.CodeAnalysis/Symbols/MissingAssemblySymbol.cs | https://github.com/iolevel/peachpie/blob/HEAD/src/Peachpie.CodeAnalysis/Symbols/MissingAssemblySymbol.cs | ghcode:00011:7b3e0193d4bc | apache-2.0 | codeparrot/github-code | 7b3e0193d4bcc463a2c57d0e72b253a27f922f160f98c996d66fb90d2af50800 | 0.7 | testing_debugging_repair_refactoring | 660 | 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.Diagnostics;
using System.Linq;
using System.Text;
using System.Reflectio... | chkn/fsharp | vsintegration/src/unittests/Resources.MockTypeProviders/DefinitionLocationAttribute/ArtificialConstructorInfo.cs | https://github.com/chkn/fsharp/blob/HEAD/vsintegration/src/unittests/Resources.MockTypeProviders/DefinitionLocationAttribute/ArtificialConstructorInfo.cs | ghcode:00011:267a704a9e1b | apache-2.0 | codeparrot/github-code | 267a704a9e1bc7ece736a64fe69d3bc56783818ecbf40405ad1deeac2b2fa192 | 0.8 | testing_debugging_repair_refactoring | 782 | false | 2026-07-17 |
using OpenCvSharp.Segmentation;
using System;
using System.Collections.Generic;
using Xunit;
namespace OpenCvSharp.Tests.ImgProc
{
// ReSharper disable once InconsistentNaming
public class IntelligentScissorsMBTest : TestBase
{
[Fact]
public void NewAndDispose()
{
using ... | shimat/opencvsharp | test/OpenCvSharp.Tests/imgproc/IntelligentScissorsMBTest.cs | https://github.com/shimat/opencvsharp/blob/HEAD/test/OpenCvSharp.Tests/imgproc/IntelligentScissorsMBTest.cs | ghcode:00011:689ab0ea780e | apache-2.0 | codeparrot/github-code | 689ab0ea780e42d23c4e12d6df5ebf6806e2112fdd5095fdcf53d4fcd0e6ec8f | 0.7 | testing_debugging_repair_refactoring | 382 | false | 2026-07-17 |
#region License
/*
* Copyright © 2002-2007 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
*
* Un... | MaferYangPointJun/Spring.net | test/Spring/Spring.Data.Tests/Dao/Support/DataAccessUtilsTests.cs | https://github.com/MaferYangPointJun/Spring.net/blob/HEAD/test/Spring/Spring.Data.Tests/Dao/Support/DataAccessUtilsTests.cs | ghcode:00011:8d3eba57eb7e | apache-2.0 | codeparrot/github-code | 8d3eba57eb7e1f3f3fd18553bf55db51080e43dc821b04f2f5911abb4e63c808 | 0.85 | testing_debugging_repair_refactoring | 341 | 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 System.Collections.Generic;
using System.Reflection;
using Microsoft.AspNetCore.Mvc.ActionConstraints;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Asp... | aspnet/AspNetCore | src/Mvc/Mvc.Core/test/ApplicationModels/ActionModelTest.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/Mvc.Core/test/ApplicationModels/ActionModelTest.cs | ghcode:00011:29ac0bd44de4 | apache-2.0 | codeparrot/github-code | 29ac0bd44de4cc08fed8f8e6d7f4688ccf7cdf5ffea13da1ef02b897048f7c08 | 0.95 | testing_debugging_repair_refactoring | 1,048 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace NServiceBus.Facade.Tests.LoadTest
{
[TestClass]
public class LoadTest
{
[TestMethod]
public void Run()
... | PeteW/NServiceBusFacade | NServiceBus.Facade.Tests/LoadTest/LoadTest.cs | https://github.com/PeteW/NServiceBusFacade/blob/HEAD/NServiceBus.Facade.Tests/LoadTest/LoadTest.cs | ghcode:00011:5fb73e3401c8 | apache-2.0 | codeparrot/github-code | 5fb73e3401c82015ae16a92eb31ca3eac5789d43618640468ec7c3b8bcad9958 | 0.7 | testing_debugging_repair_refactoring | 555 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using com.google.zxing.common;
using com.google.zxing.qrcode.decoder;
using com.google.zxing.qrcode.encoder;
using Custom.Algebra.QrCode.Encoding.DataEncodation;
using Custom.Algebra.QrCode.Encoding.DataEncodation.InputRecognition;
using... | InnPad/Formall.NET | Formall.MySql/branches/WebSiteWithPresentation/QrCode.Tests/PerformanceTest/EncodePTest.cs | https://github.com/InnPad/Formall.NET/blob/HEAD/Formall.MySql/branches/WebSiteWithPresentation/QrCode.Tests/PerformanceTest/EncodePTest.cs | ghcode:00011:9c0712fc78ae | apache-2.0 | codeparrot/github-code | 9c0712fc78aea2281affcc6c58932dc922518fbdaa4c0cd1b7043b815d839314 | 0.7 | testing_debugging_repair_refactoring | 1,302 | false | 2026-07-17 |
namespace org.apache.lucene.analysis.miscellaneous
{
/*
* 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 ... | mdissel/lucene.net | src/Lucene.Net.Tests.Analysis.Common/Analysis/Miscellaneous/TestLengthFilterFactory.cs | https://github.com/mdissel/lucene.net/blob/HEAD/src/Lucene.Net.Tests.Analysis.Common/Analysis/Miscellaneous/TestLengthFilterFactory.cs | ghcode:00011:bfc6bbd428fa | apache-2.0 | codeparrot/github-code | bfc6bbd428faa38e7a08be1cd12f920dd28332176c11b4288f75395438e965a4 | 0.85 | testing_debugging_repair_refactoring | 848 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Docker.DotNet.Models;
using Newtonsoft.Json;
using Xunit;
using Xunit.Abstractions;
namespace Docker.DotNet.Tests
{
[Collection("Test collection")]
publ... | ahmetalpbalkan/Docker.DotNet | test/Docker.DotNet.Tests/IContainerOperationsTests.cs | https://github.com/ahmetalpbalkan/Docker.DotNet/blob/HEAD/test/Docker.DotNet.Tests/IContainerOperationsTests.cs | ghcode:00011:7d5b8c9fe670 | apache-2.0 | codeparrot/github-code | 7d5b8c9fe670b04efbafb5ef00ad8bdae3e125fc2122431c306af5a8e7e8b7b5 | 0.85 | testing_debugging_repair_refactoring | 5,068 | false | 2026-07-17 |
using System.Diagnostics.CodeAnalysis;
using Microsoft.VisualStudio.Modeling.Immutability;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NuPattern.Modeling;
namespace NuPattern.Runtime.Schema.UnitTests
{
[TestClass]
[SuppressMessage("Microsoft.Design", "CA1001:TypesThatOwnDisposableFieldsShouldBeD... | NuPattern/NuPattern | Src/Runtime/Tests/Runtime.Schema.UnitTests/Rules/ViewSchemaChangeRuleSpec.cs | https://github.com/NuPattern/NuPattern/blob/HEAD/Src/Runtime/Tests/Runtime.Schema.UnitTests/Rules/ViewSchemaChangeRuleSpec.cs | ghcode:00011:dee483203ff5 | apache-2.0 | codeparrot/github-code | dee483203ff53e235f748cf8df485f6774d76606f60e5ebcd204b157ba3d54c4 | 0.85 | testing_debugging_repair_refactoring | 565 | false | 2026-07-17 |
using System;
using System.Linq;
using Bytes2you.DataAccess.UnitTests.Testing.Mocks;
using Bytes2you.UnitTests.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bytes2you.DataAccess.UnitTests.Data.DataRepositoryBaseTests
{
[TestClass]
public class GetAll_Should : DataRepositoryBaseTestBase
... | veskokolev/Bytes2you.DataAccess | src/Bytes2you.DataAccess.UnitTests/Data/DataRepositoryBaseTests/GetAll_Should.cs | https://github.com/veskokolev/Bytes2you.DataAccess/blob/HEAD/src/Bytes2you.DataAccess.UnitTests/Data/DataRepositoryBaseTests/GetAll_Should.cs | ghcode:00011:8fdad5874627 | apache-2.0 | codeparrot/github-code | 8fdad5874627b6e191ab3274f524a1aed29c4d4dba7deba50a53838d44d39cc3 | 0.7 | testing_debugging_repair_refactoring | 175 | false | 2026-07-17 |
using System;
using System.Net;
using System.Text;
using com.esendex.sdk.http;
using com.esendex.sdk.rest;
using NUnit.Framework;
using Moq;
namespace com.esendex.sdk.test.rest
{
[TestFixture]
public class RestClientTests
{
internal class GetRestResourceContext : RestResource
{
... | James226/esendex-dotnet-sdk | test/rest/RestClientTests.cs | https://github.com/James226/esendex-dotnet-sdk/blob/HEAD/test/rest/RestClientTests.cs | ghcode:00011:08fe6a77aabc | bsd-3-clause | codeparrot/github-code | 08fe6a77aabc7050ee5799a6b5be211b23f83bb89b68de15a0ac70b612a47566 | 0.85 | testing_debugging_repair_refactoring | 1,775 | false | 2026-07-17 |
using DataExplorer.Domain.Layouts;
using DataExplorer.Domain.Maps.AxisMaps;
using NUnit.Framework;
namespace DataExplorer.Domain.Tests.Maps.AxisMaps
{
[TestFixture]
public class IntegerToAxisMapTests
{
[Test]
[TestCase(null, null)]
[TestCase(-10, 0.00d)]
[TestCase(-5, 0.25d... | dataexplorer/dataexplorer | Domain.Tests/Maps/AxisMaps/IntegerToAxisMapTests.cs | https://github.com/dataexplorer/dataexplorer/blob/HEAD/Domain.Tests/Maps/AxisMaps/IntegerToAxisMapTests.cs | ghcode:00011:18764c2b83f3 | bsd-3-clause | codeparrot/github-code | 18764c2b83f39d8ae383f463fdddcb771b7bd780d680f41774669ac39bf6adca | 0.75 | testing_debugging_repair_refactoring | 782 | false | 2026-07-17 |
/************************************************************************
* Copyright (c) 2006-2008, Jason Whitehorn (jason.whitehorn@gmail.com)
* All rights reserved.
*
* Source code and binaries distributed under the terms of the included
* license, see license.txt for details.
*************************... | jwhitehorn/aspnetserve | UnitTests/HttpRequestResponseTests.cs | https://github.com/jwhitehorn/aspnetserve/blob/HEAD/UnitTests/HttpRequestResponseTests.cs | ghcode:00011:491a8acaff17 | bsd-3-clause | codeparrot/github-code | 491a8acaff17181f0188f8f9b760936da60d668b3b0d82fa75d6b10ea08effab | 0.85 | testing_debugging_repair_refactoring | 1,102 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Practices.Unity;
using NUnit.Framework;
using Shuttle.Esb.Unity.Tests.Duplicate;
namespace Shuttle.Esb.Unity.Tests
{
[TestFixture]
public class UnitMessageHandlerFactoryFaxture
... | Shuttle/shuttle-esb-unity | Shuttle.Esb.Unity.Tests/UnitMessageHandlerFactoryFaxture.cs | https://github.com/Shuttle/shuttle-esb-unity/blob/HEAD/Shuttle.Esb.Unity.Tests/UnitMessageHandlerFactoryFaxture.cs | ghcode:00011:d718882c3462 | bsd-3-clause | codeparrot/github-code | d718882c34626dd25906f47acfa9ee137790a20ba97297a91223aae0e72950f2 | 0.6 | testing_debugging_repair_refactoring | 218 | false | 2026-07-17 |
/*
* MSR Tools - tools for mining software repositories
*
* Copyright (C) 2010-2011 Semyon Kirnosenko
*/
using System;
using NUnit.Framework;
using SharpTestsEx;
using Rhino.Mocks;
using MSR.Data.Entities;
using MSR.Data.Entities.DSL.Mapping;
namespace MSR.Tools.Visualizer.Visualizations
{
[Te... | kirnosenko/msr-tools | src/MSR.Tools.Visualizer.Tests/Visualizations/CodeSizeToDateTest.cs | https://github.com/kirnosenko/msr-tools/blob/HEAD/src/MSR.Tools.Visualizer.Tests/Visualizations/CodeSizeToDateTest.cs | ghcode:00011:94a346b1670f | bsd-3-clause | codeparrot/github-code | 94a346b1670f3bcaef78b3c28baf298e50a9a19a4146ce2eaf4709b1f4090927 | 0.6 | testing_debugging_repair_refactoring | 645 | 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 NUnit.Framework;
using osu.Framework.Logging;
using osu.Framework.Testing;
using osu.Framework.Threading;
using osu.Framework.Timing;
namespace osu.F... | ppy/osu-framework | osu.Framework.Tests/Threading/SchedulerTest.cs | https://github.com/ppy/osu-framework/blob/HEAD/osu.Framework.Tests/Threading/SchedulerTest.cs | ghcode:00011:263bc950e3f1 | mit | codeparrot/github-code | 263bc950e3f15516094f7fb8672646372906adc06bd9ed4064458529c5757964 | 0.7 | testing_debugging_repair_refactoring | 3,571 | false | 2026-07-17 |
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// 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, modi... | VirusFree/SharpDX | Source/Tests/SharpDX.Toolkit.Graphics.Tests/TestEffect.cs | https://github.com/VirusFree/SharpDX/blob/HEAD/Source/Tests/SharpDX.Toolkit.Graphics.Tests/TestEffect.cs | ghcode:00011:78e6d50232e0 | mit | codeparrot/github-code | 78e6d50232e0fb0cead1fc67df9fdee3f84baeeb9de88385792e8ed4ef1b71f2 | 0.95 | testing_debugging_repair_refactoring | 1,367 | false | 2026-07-17 |
using System;
using System.IO;
using System.Text;
using BeanIO;
using Xunit;
namespace SocialInsurance.Germany.Messages.Tests
{
public abstract class TestBasis
{
private static readonly Encoding _iso8859_15 = Encoding.GetEncoding("ISO-8859-15");
private readonly string _namespace;
... | VHinzDe31224/SocialInsurance.Germany.Messages | test/Dataline.SocialInsurance.Germany.Messages.Tests/TestBasis.cs | https://github.com/VHinzDe31224/SocialInsurance.Germany.Messages/blob/HEAD/test/Dataline.SocialInsurance.Germany.Messages.Tests/TestBasis.cs | ghcode:00011:19197650d7fe | mit | codeparrot/github-code | 19197650d7fe535f06c9e833c5c61f5111b8de72d798fd04f6b6737cb8d9eebf | 0.85 | testing_debugging_repair_refactoring | 332 | 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;
using Microsoft.Xunit.Performance;
namespace System.Binary.Base64.Tests
{
public class Base64Perfo... | Vedin/corefxlab | tests/System.Binary.Base64.Tests/PerformanceTests.cs | https://github.com/Vedin/corefxlab/blob/HEAD/tests/System.Binary.Base64.Tests/PerformanceTests.cs | ghcode:00011:c30521e6ff2a | mit | codeparrot/github-code | c30521e6ff2a428ed12bdcac7523d34cc38d47176504d999c35ec3475f512f9c | 0.85 | testing_debugging_repair_refactoring | 2,114 | false | 2026-07-17 |
using System;
using System.Threading;
using NBitcoin;
using Stratis.Bitcoin.Base.Deployments;
using Stratis.Bitcoin.Consensus;
using Stratis.Bitcoin.Features.RPC;
using Stratis.Bitcoin.IntegrationTests.Common;
using Stratis.Bitcoin.IntegrationTests.Common.EnvironmentMockUpHelpers;
using Stratis.Bitcoin.Networks.Deploy... | bokobza/StratisBitcoinFullNode | src/Stratis.Bitcoin.IntegrationTests/SegWitTests.cs | https://github.com/bokobza/StratisBitcoinFullNode/blob/HEAD/src/Stratis.Bitcoin.IntegrationTests/SegWitTests.cs | ghcode:00011:cabc3f88dd46 | mit | codeparrot/github-code | cabc3f88dd465af05d8574d44ebccaaaacdfda44a503f41b529e4df5c9b08983 | 0.85 | testing_debugging_repair_refactoring | 1,031 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using LinqToDB;
using NUnit.Framework;
namespace Tests.xUpdate
{
public partial class MergeTests
{
[Test]
public void BigSource([MergeDataContextSource] string context)
{
var batchSize = 2500;
switch (GetProviderName(context, out var _))
{
/... | linq2db/linq2db | Tests/Linq/Update/MergeTests.Operations.LoadTests.cs | https://github.com/linq2db/linq2db/blob/HEAD/Tests/Linq/Update/MergeTests.Operations.LoadTests.cs | ghcode:00011:26e68f81c319 | mit | codeparrot/github-code | 26e68f81c3191fe043e6087b2fb18a5b94b69a5c9c22d2c7e0d1c7e10b65ab40 | 0.85 | testing_debugging_repair_refactoring | 860 | false | 2026-07-17 |
using GenFx.Components.Lists;
using System;
using System.Collections.Generic;
using System.Linq;
using TestCommon;
using TestCommon.Helpers;
using TestCommon.Mocks;
using Xunit;
namespace GenFx.Components.Tests
{
/// <summary>
/// Contains unit tests for the <see cref="IntegerListEntity"/> class.
///</summ... | mthalman/GenFx | src/GenFx.Components.Tests/IntegerListEntityTest.cs | https://github.com/mthalman/GenFx/blob/HEAD/src/GenFx.Components.Tests/IntegerListEntityTest.cs | ghcode:00011:9add9baae5dc | mit | codeparrot/github-code | 9add9baae5dc090ba3340f63ef37cfc2062bbb89668a2c739ee3afaa1de6f25b | 0.7 | testing_debugging_repair_refactoring | 1,839 | false | 2026-07-17 |
using System;
using System.Reflection;
using NUnit.Framework;
namespace Atata.Tests
{
[TestFixture]
public class TypeFinderTests
{
private Assembly[] _assembliesToFindIn;
[OneTimeSetUp]
public void SetUpFixture()
{
_assembliesToFindIn = new[]
{
... | YevgeniyShunevych/Atata | test/Atata.Tests/TypeFinderTests.cs | https://github.com/YevgeniyShunevych/Atata/blob/HEAD/test/Atata.Tests/TypeFinderTests.cs | ghcode:00011:d198ab8d9a68 | mit | codeparrot/github-code | d198ab8d9a688e31dabd7c6ecca526d71045705b3e9a2baabeb53256a5ddba19 | 0.75 | testing_debugging_repair_refactoring | 775 | false | 2026-07-17 |
// Copyright (c) Zolution Software Ltd. All rights reserved.
// Licensed under the MIT License, see LICENSE.txt in the solution root for license information
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rezolver.Tests.Examples.Types
{
... | ZolutionSoftware/Rezolver | test/Rezolver.Tests.Examples/Types/UsesIMyService.cs | https://github.com/ZolutionSoftware/Rezolver/blob/HEAD/test/Rezolver.Tests.Examples/Types/UsesIMyService.cs | ghcode:00011:797d46c23d12 | mit | codeparrot/github-code | 797d46c23d12d3517c2929550399e3e31ca6146f89180cd15c60e937315c8f02 | 0.85 | testing_debugging_repair_refactoring | 153 | false | 2026-07-17 |
using Abot.Core;
using Abot.Crawler;
using Abot.Poco;
using Abot.Util;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
namespace Abot.Tests.Unit.Crawler
{
[TestFixture]
public class PoliteWebCrawlerTest
{
PoliteWebCrawler _unitUnderTest;
Mock<IPageRequeste... | xavivars/abot | Abot.Tests.Unit/Crawler/PoliteWebCrawlerTest.cs | https://github.com/xavivars/abot/blob/HEAD/Abot.Tests.Unit/Crawler/PoliteWebCrawlerTest.cs | ghcode:00011:8dc4674c44de | apache-2.0 | codeparrot/github-code | 8dc4674c44de91c056c9f4b59f1b316ef983169dbfe1155f31405b3d7ca907d5 | 0.85 | testing_debugging_repair_refactoring | 4,734 | false | 2026-07-17 |
using System;
using Bridge.Test.NUnit;
namespace Bridge.ClientTest.Batch3.BridgeIssues
{
[Category(Constants.MODULE_ISSUES)]
[TestFixture(TestNameFormat = "#1842 - {0}")]
public class Bridge1842
{
public class Class
{
private Type type;
static public implicit op... | AndreyZM/Bridge | Tests/Batch3/BridgeIssues/1800/N1842.cs | https://github.com/AndreyZM/Bridge/blob/HEAD/Tests/Batch3/BridgeIssues/1800/N1842.cs | ghcode:00011:545bd0904d05 | apache-2.0 | codeparrot/github-code | 545bd0904d0511b8226e9feeaf49f1afd13ae187eec980d5060a049dafd26b9b | 0.75 | testing_debugging_repair_refactoring | 194 | false | 2026-07-17 |
using System.Collections.Generic;
namespace ProtoCore
{
public abstract class Executive
{
protected Core core;
public Executive()
{
this.core = null;
}
public Executive(ProtoCore.Core core)
{
System.Diagnostics.Debug.Assert(core != nu... | samuto/designscript | Core/ProtoCore/Executive.cs | https://github.com/samuto/designscript/blob/HEAD/Core/ProtoCore/Executive.cs | ghcode:00011:d10c1c10bf28 | apache-2.0 | codeparrot/github-code | d10c1c10bf28f1add0f744a334c3208072f6bc0e0a2815fcb709fde9251c18ab | 0.6 | testing_debugging_repair_refactoring | 257 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.UnitTests;
using Analyzer.Utilities;
using Xunit;
names... | srivatsn/roslyn-analyzers | src/Desktop.Analyzers/UnitTests/DoNotUseInsecureCryptographicAlgorithmsTests.cs | https://github.com/srivatsn/roslyn-analyzers/blob/HEAD/src/Desktop.Analyzers/UnitTests/DoNotUseInsecureCryptographicAlgorithmsTests.cs | ghcode:00011:1cc240d01880 | apache-2.0 | codeparrot/github-code | 1cc240d0188019ed27f35d09a4768303ecb6eef063ea4a1a4229f14194fe83c3 | 0.85 | testing_debugging_repair_refactoring | 13,162 | false | 2026-07-17 |
using System;
using System.Xml;
using System.Xml.Xsl;
using MbUnit.Core.Framework;
using MbUnit.Framework;
namespace MbUnit.Core.Reports
{
[TestFixture]
public class XslCruiseControlTest
{
[Test]
public void LoadText()
{
XslTransform transform = ResourceHe... | Gallio/mbunit-v2 | src/mbunit/MbUnit.Tests/Core/Reports/XslCruiseControlTest.cs | https://github.com/Gallio/mbunit-v2/blob/HEAD/src/mbunit/MbUnit.Tests/Core/Reports/XslCruiseControlTest.cs | ghcode:00011:033373fd4669 | apache-2.0 | codeparrot/github-code | 033373fd466935f2e8f07398db4f335e3982938586e398b04b899cb604784f0f | 0.6 | testing_debugging_repair_refactoring | 155 | false | 2026-07-17 |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using AllReady.Areas.Admin.ViewModels.Task;
using Xunit;
namespace AllReady.UnitTest.ViewModels
{
public class TaskSummaryModelShould
{
[Fact]
public void ValidationShouldFail_IfNoNameIsSupplied()... | pranap/allReady | AllReadyApp/Web-App/AllReady.UnitTest/Models/TaskSummaryModelShould.cs | https://github.com/pranap/allReady/blob/HEAD/AllReadyApp/Web-App/AllReady.UnitTest/Models/TaskSummaryModelShould.cs | ghcode:00011:9253762e315c | mit | codeparrot/github-code | 9253762e315ca2d5216465c07293c4eedfc1a03851d9b6e9d0901a02a26b9d50 | 0.6 | testing_debugging_repair_refactoring | 171 | false | 2026-07-17 |
using NUnit.Framework;
using SIL.Extensions;
namespace SIL.Tests.Extensions
{
[TestFixture]
public class StringExtensionTests
{
[Test]
public void SplitTrimmed_StringHasSpacesOnly_GivesEmptyList()
{
Assert.AreEqual(0, " ".SplitTrimmed(',').Count);
}
[Test]
public void SplitTrimmed_StringIsEmpty_Gi... | tombogle/libpalaso | SIL.Core.Tests/Extensions/StringExtensionTests.cs | https://github.com/tombogle/libpalaso/blob/HEAD/SIL.Core.Tests/Extensions/StringExtensionTests.cs | ghcode:00011:48c119c16522 | mit | codeparrot/github-code | 48c119c16522c94e1e4d8ddb896121ee99bbe4ef29c849bec4fbfb9f517b5fa9 | 0.85 | testing_debugging_repair_refactoring | 1,246 | false | 2026-07-17 |
// Copyright 2017 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | benwulfe/google-cloud-dotnet | apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data.IntegrationTests/TestLogger.cs | https://github.com/benwulfe/google-cloud-dotnet/blob/HEAD/apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data.IntegrationTests/TestLogger.cs | ghcode:00011:d1731c0cf8ba | apache-2.0 | codeparrot/github-code | d1731c0cf8babf41e46456a3d27b16a174e3a746694c1319ced56917cd635c9b | 0.85 | testing_debugging_repair_refactoring | 323 | false | 2026-07-17 |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | QuillLittlefeather/opensim-1 | OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs | https://github.com/QuillLittlefeather/opensim-1/blob/HEAD/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs | ghcode:00011:d0e611c65e10 | bsd-3-clause | codeparrot/github-code | d0e611c65e103837e4839dd5353793f1128923a5a2e0521c4a39c8149a2de734 | 0.95 | testing_debugging_repair_refactoring | 3,100 | false | 2026-07-17 |
//
// Copyright (c) 2004-2021 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of s... | luigiberrettini/NLog | tests/NLog.UnitTests/Targets/Wrappers/FallbackGroupTargetTests.cs | https://github.com/luigiberrettini/NLog/blob/HEAD/tests/NLog.UnitTests/Targets/Wrappers/FallbackGroupTargetTests.cs | ghcode:00011:05070881ccbb | bsd-3-clause | codeparrot/github-code | 05070881ccbb82534d44855643c1f9cc3eb6059c8f66b8fe7c4c12006250cda8 | 0.85 | testing_debugging_repair_refactoring | 2,919 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenProtocolInterpreter.ApplicationSelector;
namespace MIDTesters.ApplicationSelector
{
[TestClass]
public class TestMid0253 : MidTester
{
[TestMethod]
public void Mid0253Revision1()
{
... | Rickedb/OpenProtocolInterpreter | src/MIDTesters/ApplicationSelector/TestMid0253.cs | https://github.com/Rickedb/OpenProtocolInterpreter/blob/HEAD/src/MIDTesters/ApplicationSelector/TestMid0253.cs | ghcode:00011:5c9a3b144350 | mit | codeparrot/github-code | 5c9a3b1443507df6b122752ba8691482e5a87c79c26b63f4fe0f7af578c85d94 | 0.75 | testing_debugging_repair_refactoring | 198 | 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;
using System.Net.Test.Common;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
... | fgreinacher/corefx | src/System.Net.Http/tests/FunctionalTests/HttpProtocolTests.cs | https://github.com/fgreinacher/corefx/blob/HEAD/src/System.Net.Http/tests/FunctionalTests/HttpProtocolTests.cs | ghcode:00011:9921fd4f28bb | mit | codeparrot/github-code | 9921fd4f28bb0f4071c9f662a3d6887c657c93f24f0f608be14ffc30a56e013f | 0.95 | testing_debugging_repair_refactoring | 1,767 | 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.CSharp.Syntax;
using Microsoft.CodeAnalysis.Operations;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities... | nguerrera/roslyn | src/Compilers/CSharp/Test/IOperation/IOperation/IOperationTests_IUnaryOperatorExpression.cs | https://github.com/nguerrera/roslyn/blob/HEAD/src/Compilers/CSharp/Test/IOperation/IOperation/IOperationTests_IUnaryOperatorExpression.cs | ghcode:00011:7ab607e783b4 | apache-2.0 | codeparrot/github-code | 7ab607e783b4df160bfd796bd7349a25d705f9f9f839dbb342e9f0cf4d318add | 0.82 | testing_debugging_repair_refactoring | 30,091 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="MatchExpressionBuilder_BuildLambdaExpression_Tests.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akk... | skotzko/akka.net | src/core/Akka.Tests/MatchHandler/MatchExpressionBuilder_BuildLambdaExpression_Tests.cs | https://github.com/skotzko/akka.net/blob/HEAD/src/core/Akka.Tests/MatchHandler/MatchExpressionBuilder_BuildLambdaExpression_Tests.cs | ghcode:00011:dddc02435f93 | apache-2.0 | codeparrot/github-code | dddc02435f9330c820eb98eb0ff3f840844250d4071e5bb2b12c3659c515e764 | 0.85 | testing_debugging_repair_refactoring | 4,869 | 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"); y... | mdissel/lucene.net | src/Lucene.Net.Core/Support/GeneralKeyedCollection.cs | https://github.com/mdissel/lucene.net/blob/HEAD/src/Lucene.Net.Core/Support/GeneralKeyedCollection.cs | ghcode:00011:a624635395f9 | apache-2.0 | codeparrot/github-code | a624635395f9f314468dbb18da09fce3c9cee52afa310b372c29b6b4c764dab8 | 0.85 | testing_debugging_repair_refactoring | 916 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2016 Charlie Poole, Rob Prouse
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restri... | OmicronPersei/nunit | src/NUnitFramework/tests/Internal/Results/AssertionResultTests.cs | https://github.com/OmicronPersei/nunit/blob/HEAD/src/NUnitFramework/tests/Internal/Results/AssertionResultTests.cs | ghcode:00011:88580de3170b | mit | codeparrot/github-code | 88580de3170b6306a3e006d339a0dc2ad09d1bf8ce1a6cc026039679eb8582ce | 0.95 | testing_debugging_repair_refactoring | 819 | false | 2026-07-17 |
using Nimbus.MessageContracts;
namespace Nimbus.IntegrationTests.Tests.SimplePubSubTests.MessageContracts
{
public class SomeEventWeHandleViaMulticastAndCompetition : IBusEvent
{
}
} | rebase42/Anubus | src/Tests/Nimbus.IntegrationTests/Tests/SimplePubSubTests/MessageContracts/SomeEventWeHandleViaMulticastAndCompetition.cs | https://github.com/rebase42/Anubus/blob/HEAD/src/Tests/Nimbus.IntegrationTests/Tests/SimplePubSubTests/MessageContracts/SomeEventWeHandleViaMulticastAndCompetition.cs | ghcode:00011:438aa326614a | mit | codeparrot/github-code | 438aa326614a25bf228bac95e132ea3949adc1c3422f20a590c082fa7be85d80 | 0.6 | testing_debugging_repair_refactoring | 42 | false | 2026-07-17 |
using System;
using Ploeh.AutoFixture.Kernel;
using Xunit;
namespace Ploeh.AutoFixtureUnitTest.Kernel
{
public class SpecimenFactoryWithSingleParameterFuncTest
{
[Fact]
public void SutIsSpecimenBuilder()
{
// Fixture setup
Func<string, object> dummyF... | yuva2achieve/AutoFixture | Src/AutoFixtureUnitTest/Kernel/SpecimenFactoryWithSingleParameterFuncTest.cs | https://github.com/yuva2achieve/AutoFixture/blob/HEAD/Src/AutoFixtureUnitTest/Kernel/SpecimenFactoryWithSingleParameterFuncTest.cs | ghcode:00011:41ec71f507d4 | mit | codeparrot/github-code | 41ec71f507d4108f2329f1243370cb3e6fde3a6e756354e108307303765a402a | 0.7 | testing_debugging_repair_refactoring | 510 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="<file>.cs" company="The Outercurve Foundation">
// Copyright (c) 2011, The Outercurve Foundation.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in comp... | facebook-csharp-sdk/facebook-csharp-sdk | Source/Facebook.Tests/FacebookUtils/ToJsonQueryString/WhenStringDictionaryIsNotNullAndEmptyThen.cs | https://github.com/facebook-csharp-sdk/facebook-csharp-sdk/blob/HEAD/Source/Facebook.Tests/FacebookUtils/ToJsonQueryString/WhenStringDictionaryIsNotNullAndEmptyThen.cs | ghcode:00011:7d4a45512bcf | apache-2.0 | codeparrot/github-code | 7d4a45512bcfd0764a7bb85824c31a1c9a04a948d936ddb80753263533b0122d | 0.7 | testing_debugging_repair_refactoring | 316 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="BaseTwoStreamsSetup.cs" company="Akka.NET Project">
// Copyright (C) 2015-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyrig... | derwasp/akka.net | src/core/Akka.Streams.TestKit.Tests/BaseTwoStreamsSetup.cs | https://github.com/derwasp/akka.net/blob/HEAD/src/core/Akka.Streams.TestKit.Tests/BaseTwoStreamsSetup.cs | ghcode:00011:b27fbb033641 | apache-2.0 | codeparrot/github-code | b27fbb0336417b81283e3adea3247a5fd947189d92cba708fb4c41ff4e0e4bb7 | 0.85 | testing_debugging_repair_refactoring | 915 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.