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.Diagnostics;
using u32 = System.UInt32;
using Pgno = System.UInt32;
namespace Community.CsharpSqlite
{
using sqlite3_pcache = Sqlite3.PCache1;
public partial class Sqlite3
{
/*
** 2008 November 05
**
** The author disclaims copyright to this source code. In place of
** a legal ... | laboratoryyingong/BARLESS | plugins/cordova-sqlite-storage/src/wp/csharp-sqlite-src/pcache1_c.cs | https://github.com/laboratoryyingong/BARLESS/blob/HEAD/plugins/cordova-sqlite-storage/src/wp/csharp-sqlite-src/pcache1_c.cs | ghcode:00005:172ca37627ea | mit | codeparrot/github-code | 172ca37627ea1148c3171005ca53b02d4a8b9e5969d13f140ed2104b371540a4 | 0.8 | testing_debugging_repair_refactoring | 10,541 | false | 2026-07-17 |
namespace Northwind.Web.App.Tests
{
using System.Linq;
using Northwind.Web.App.Models;
using NRepository.Core.Query;
using NUnit.Framework;
[TestFixture]
public class FindVeryImportantCustomersQueryStrategyTests
{
[Test]
public void GetQueryableEntitiesShouldReturnTenHighes... | j-kelly/Northwind-Sample | src/Northwind.Web.App.Tests/QueryStrategies/FindVeryImportantCustomersQueryStrategyTests.cs | https://github.com/j-kelly/Northwind-Sample/blob/HEAD/src/Northwind.Web.App.Tests/QueryStrategies/FindVeryImportantCustomersQueryStrategyTests.cs | ghcode:00005:f683c46c362a | mit | codeparrot/github-code | f683c46c362a612fdddbfb7622e245ef58271f89cf6c0d61404a038b2914fd44 | 0.75 | testing_debugging_repair_refactoring | 285 | 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.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Audio.Sample;
using osu.Framework.Bindable... | 2yangk23/osu | osu.Game.Tests/Skins/TestSceneSkinConfigurationLookup.cs | https://github.com/2yangk23/osu/blob/HEAD/osu.Game.Tests/Skins/TestSceneSkinConfigurationLookup.cs | ghcode:00005:b9e403fb21ff | mit | codeparrot/github-code | b9e403fb21ff496bcc5632250ac9938cfaaaffbe17d2ece7dfc34acd67ae091e | 0.75 | testing_debugging_repair_refactoring | 1,442 | false | 2026-07-17 |
using NSpec.Domain;
using System;
using System.Reflection;
namespace NSpec.Tests
{
/// <summary>
/// Abstract framework ExampleBase class implements functionalities common to both sync and async example implementations.
/// This thin wrapper allows to test those functionalities.
/// </summary>
cla... | nspec/NSpec | sln/test/NSpec.Tests/ExampleBaseWrap.cs | https://github.com/nspec/NSpec/blob/HEAD/sln/test/NSpec.Tests/ExampleBaseWrap.cs | ghcode:00005:6702d3781a82 | mit | codeparrot/github-code | 6702d3781a82c655a21af5ed50121555cffbf37d4cfd55aede2c0869a7fc2d87 | 0.95 | testing_debugging_repair_refactoring | 175 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using OpenQA.Selenium.Environment;
namespace OpenQA.Selenium
{
[TestFixture]
public class PageLoadingTest : DriverTestFixture
{
[Test]
public void ShouldWaitForDocumentToBeLoaded()
{
driver.Url = simpleTestPage;
Assert.Ar... | joshmgrant/selenium | dotnet/test/common/PageLoadingTest.cs | https://github.com/joshmgrant/selenium/blob/HEAD/dotnet/test/common/PageLoadingTest.cs | ghcode:00005:cc128de42613 | apache-2.0 | codeparrot/github-code | cc128de42613f880eb4ccdfb57aaef3b555f439f7f6452dfdff033a072d32847 | 0.95 | testing_debugging_repair_refactoring | 1,902 | false | 2026-07-17 |
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | googleapis/google-cloud-dotnet | apis/Google.Cloud.PubSub.V1/Google.Cloud.PubSub.V1.Snippets/SubscriberClientSnippets.cs | https://github.com/googleapis/google-cloud-dotnet/blob/HEAD/apis/Google.Cloud.PubSub.V1/Google.Cloud.PubSub.V1.Snippets/SubscriberClientSnippets.cs | ghcode:00005:ecbf65d4ab83 | apache-2.0 | codeparrot/github-code | ecbf65d4ab835777a6185ac862f12e84f0dd550fa218749687aea71761b4a838 | 0.7 | testing_debugging_repair_refactoring | 280 | false | 2026-07-17 |
using NUnit.Framework;
namespace Atata.Tests
{
[TestFixture]
public class ClickableTests : UITestFixture
{
[Test]
public void ControlDelegates()
{
Go.To<BasicControlsPage>().
RawButton.Should().Exist().
RawButton.Should().BeEnabled().
... | atata-framework/atata | test/Atata.Tests/ClickableTests.cs | https://github.com/atata-framework/atata/blob/HEAD/test/Atata.Tests/ClickableTests.cs | ghcode:00005:409682917f78 | apache-2.0 | codeparrot/github-code | 409682917f7873bf836bf012519481e6f6d9fe9a6e63888ecdc49e5524cd387b | 0.75 | testing_debugging_repair_refactoring | 314 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace IntegrationTestCommon
{
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.... | stankovski/azure-sdk-for-net | sdk/batch/Microsoft.Azure.Batch/tests/IntegrationTestCommon/IntegrationTestCommon.cs | https://github.com/stankovski/azure-sdk-for-net/blob/HEAD/sdk/batch/Microsoft.Azure.Batch/tests/IntegrationTestCommon/IntegrationTestCommon.cs | ghcode:00005:a64856b56935 | apache-2.0 | codeparrot/github-code | a64856b569350dc87e072f40122dff698ad9d9e73a6c360c42e1f13de52fe124 | 0.95 | testing_debugging_repair_refactoring | 1,416 | false | 2026-07-17 |
using System;
using System.Net;
using NUnit.Framework;
using ServiceStack.Service;
using ServiceStack.ServiceClient.Web;
using ServiceStack.ServiceHost;
using ServiceStack.ServiceInterface.Testing;
using ServiceStack.Text;
using ServiceStack.WebHost.Endpoints.Support;
using ServiceStack.WebHost.IntegrationTest... | meebey/ServiceStack | tests/ServiceStack.WebHost.IntegrationTests/Tests/WebServicesTests.cs | https://github.com/meebey/ServiceStack/blob/HEAD/tests/ServiceStack.WebHost.IntegrationTests/Tests/WebServicesTests.cs | ghcode:00005:c1508917ab1e | bsd-3-clause | codeparrot/github-code | c1508917ab1ed79d46600954badd5d62399b88b821649f9360a1757c625f8c41 | 0.95 | testing_debugging_repair_refactoring | 810 | false | 2026-07-17 |
//
// Copyright (c) 2004-2020 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... | BrutalCode/NLog | tests/NLog.UnitTests/Layouts/SimpleLayoutParserTests.cs | https://github.com/BrutalCode/NLog/blob/HEAD/tests/NLog.UnitTests/Layouts/SimpleLayoutParserTests.cs | ghcode:00005:b1b6038f46c0 | bsd-3-clause | codeparrot/github-code | b1b6038f46c0714a4f7346401bb27eb7a442d7eca822fdc413ac2713c49b2081 | 0.85 | testing_debugging_repair_refactoring | 6,933 | false | 2026-07-17 |
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using Microsoft.Azure.Management.ResourceManager.Models;
using Microsoft.Azure.Management.ResourceManager;
using System.Diagnostics;
using Microsoft.Azure.Management.Compute.Models;
u... | Azure/azure-sdk-for-net | sdk/compute/Microsoft.Azure.Management.Compute/tests/ScenarioTests/SharedGalleryTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/compute/Microsoft.Azure.Management.Compute/tests/ScenarioTests/SharedGalleryTests.cs | ghcode:00005:dbba17135872 | mit | codeparrot/github-code | dbba171358721164980644de2f6ac4bc087f786378cc89aed81adeb0c260c036 | 0.85 | testing_debugging_repair_refactoring | 1,561 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
using static System.Globalization.Tests.GregorianCalendarTestUtiliti... | jcme/corefx | src/System.Globalization.Calendars/tests/GregorianCalendar/GregorianCalendarGetDaysInYear.cs | https://github.com/jcme/corefx/blob/HEAD/src/System.Globalization.Calendars/tests/GregorianCalendar/GregorianCalendarGetDaysInYear.cs | ghcode:00005:d5dd7d4ede55 | mit | codeparrot/github-code | d5dd7d4ede552d7bfdee878df7a0050a2df6a961d2881e31b05248c3af64e6f5 | 0.95 | testing_debugging_repair_refactoring | 232 | 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.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;... | ErikSchierboom/roslyn | src/Compilers/CSharp/Test/Symbol/Symbols/Source/RecordTests.cs | https://github.com/ErikSchierboom/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/Symbols/Source/RecordTests.cs | ghcode:00005:02e692d449a4 | apache-2.0 | codeparrot/github-code | 02e692d449a41f8882de858e55f7d06e2deef11be0859ed0b603fda946e689a2 | 0.82 | testing_debugging_repair_refactoring | 16,830 | false | 2026-07-17 |
abstract class SomeClass{caret}
{
public abstract void MethodWithPrecondition(string s);
public abstract string MethodWithPostcondition();
public abstract string PropertyWithPostcondition { get; }
protected abstract void ProtectedMethodWithPrecondition(string s);
} | Diagonactic/ReSharperContractExtensions | ReSharper.ContractExtensions.Tests/test/data/Intentions/ContextActions/ContractFor/ExecutionWithExcludeFromCodeCoverage.cs | https://github.com/Diagonactic/ReSharperContractExtensions/blob/HEAD/ReSharper.ContractExtensions.Tests/test/data/Intentions/ContextActions/ContractFor/ExecutionWithExcludeFromCodeCoverage.cs | ghcode:00005:8e08fec4021a | mit | codeparrot/github-code | 8e08fec4021ab9613ee14884eaf29e30ea38373151880ccdcda9631e152c3fea | 0.85 | testing_debugging_repair_refactoring | 53 | false | 2026-07-17 |
using BenchmarkDotNet.Jobs;
using JetBrains.Annotations;
namespace BenchmarkDotNet.Attributes
{
/// <summary>
/// Minimum count of benchmark invocations per iteration.
/// The default value is 4.
/// </summary>
[PublicAPI]
public class MinInvokeCountAttribute : JobMutatorConfigBaseAttribute
... | alinasmirnova/BenchmarkDotNet | src/BenchmarkDotNet/Attributes/Mutators/MinInvokeCountAttribute.cs | https://github.com/alinasmirnova/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Attributes/Mutators/MinInvokeCountAttribute.cs | ghcode:00005:f03ecbca2682 | mit | codeparrot/github-code | f03ecbca26824f24b123c9714e96945d1b63cbb8c2dabc4f9aa8beef7188c439 | 0.7 | testing_debugging_repair_refactoring | 100 | false | 2026-07-17 |
using Examine;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Xml.Linq;
namespace Umbraco.Cms.Tests.Integration.Umbraco.Examine.Lucene.UmbracoExamine
{
/// <summary>
/// LEGACY!! Static methods to help query umbraco xml
/// </summary>
/// <r... | umbraco/Umbraco-CMS | tests/Umbraco.Tests.Integration/Umbraco.Examine.Lucene/UmbracoExamine/ExamineExtensions.cs | https://github.com/umbraco/Umbraco-CMS/blob/HEAD/tests/Umbraco.Tests.Integration/Umbraco.Examine.Lucene/UmbracoExamine/ExamineExtensions.cs | ghcode:00005:13c4b94ceb70 | mit | codeparrot/github-code | 13c4b94ceb7049866b77800c0e540ad30a1bcb1f7d33a881f64344cd5b8333ef | 0.85 | testing_debugging_repair_refactoring | 1,048 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="SqliteJournalPerfSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copy... | ali-ince/akka.net | src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Performance/SqliteJournalPerfSpec.cs | https://github.com/ali-ince/akka.net/blob/HEAD/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Performance/SqliteJournalPerfSpec.cs | ghcode:00005:bc5dea59f43d | apache-2.0 | codeparrot/github-code | bc5dea59f43d6cd6ebf48314290e946cf68f10d442408d486babc1d7cc6c6b2e | 0.85 | testing_debugging_repair_refactoring | 346 | false | 2026-07-17 |
using NUnit.Framework;
namespace DotSpatial.Symbology.Tests
{
[TestFixture]
class ColorSchemeTests
{
[Test]
public void ApplyScheme_Produce2CategoriesForNonEqualValues()
{
var target = new ColorScheme();
target.ApplyScheme(ColorSchemeType.Desert, ... | swsglobal/DotSpatial | Source/DotSpatial.Symbology.Tests/ColorSchemeTests.cs | https://github.com/swsglobal/DotSpatial/blob/HEAD/Source/DotSpatial.Symbology.Tests/ColorSchemeTests.cs | ghcode:00005:c37873dfe563 | mit | codeparrot/github-code | c37873dfe56369e7f08e175e75b4c7ea5c0aba028fc885d1adb5a194f04e86f8 | 0.75 | testing_debugging_repair_refactoring | 139 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using TrackableEntities.Client;
namespace TrackableEntities.Tests.Acceptance.ClientEntities
{
[JsonObject(IsReference = true)]
public class Area : EntityBase
{
private int _areaId;
public int AreaId
{
... | TrackableEntities/trackable-entities | Source/Tests.Acceptance/TrackableEntities.Tests.Acceptance/ClientEntities/Area.cs | https://github.com/TrackableEntities/trackable-entities/blob/HEAD/Source/Tests.Acceptance/TrackableEntities.Tests.Acceptance/ClientEntities/Area.cs | ghcode:00005:09e470a3e852 | mit | codeparrot/github-code | 09e470a3e85294801e9b9d5376b9932fbdfbf29b9d43d46a10fc4d3f0fa8038a | 0.75 | testing_debugging_repair_refactoring | 227 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Acme.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Acme.Common.Tests
{
[TestClass()]
public class LoggingServiceTests
{
[TestMethod()]
public vo... | rosiehighsmith/AcmeAppCsImprovingBasics | AcmeApp/Tests/Acme.CommonTests/LoggingServiceTests.cs | https://github.com/rosiehighsmith/AcmeAppCsImprovingBasics/blob/HEAD/AcmeApp/Tests/Acme.CommonTests/LoggingServiceTests.cs | ghcode:00005:1dbd8fddadf7 | mit | codeparrot/github-code | 1dbd8fddadf7ad59ac42b37cd6e3cd0cb1584117efcf2c2d20ae7f2ac36ae770 | 0.95 | testing_debugging_repair_refactoring | 111 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System... | CyrusNajmabadi/roslyn | src/Workspaces/MSBuildTest/NetCoreTests.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/Workspaces/MSBuildTest/NetCoreTests.cs | ghcode:00005:6bdcd4a3882d | mit | codeparrot/github-code | 6bdcd4a3882d6f1c1b969801a2ba4c8f85eb78f454082000fd2227f5be327453 | 0.85 | testing_debugging_repair_refactoring | 3,954 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Microsoft.CodeAnalysis.Shared.Extensions;
using System.Collections.Immutable;
using System.Diagnostics;... | amcasey/roslyn | src/Workspaces/Core/Portable/LanguageServices/SyntaxFactsService/AbstractSyntaxFactsService.cs | https://github.com/amcasey/roslyn/blob/HEAD/src/Workspaces/Core/Portable/LanguageServices/SyntaxFactsService/AbstractSyntaxFactsService.cs | ghcode:00005:5f57b0a399e5 | apache-2.0 | codeparrot/github-code | 5f57b0a399e52a96c966bc6b14db10666e7394f71e603b478a9559561678849c | 0.85 | testing_debugging_repair_refactoring | 3,280 | false | 2026-07-17 |
//
// Copyright (c) 2004-2016 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of s... | tetrodoxin/NLog | tests/NLog.UnitTests/Contexts/GlobalDiagnosticsContextTests.cs | https://github.com/tetrodoxin/NLog/blob/HEAD/tests/NLog.UnitTests/Contexts/GlobalDiagnosticsContextTests.cs | ghcode:00005:5c7d6dae0a86 | bsd-3-clause | codeparrot/github-code | 5c7d6dae0a86c4d1a62276c14cdd5b6c4a81d1de22ec40144d15893f31e984e1 | 0.85 | testing_debugging_repair_refactoring | 874 | 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.Linq;
using Xunit;
namespace System.IO.FileSystem.Tests
{
public class DirectoryInfo_GetFileSystemInfos_str : Directory_GetFileSystemEntries_str_str
... | misterzik/corefx | src/System.IO.FileSystem/tests/DirectoryInfo/GetFileSystemInfos_str.cs | https://github.com/misterzik/corefx/blob/HEAD/src/System.IO.FileSystem/tests/DirectoryInfo/GetFileSystemInfos_str.cs | ghcode:00005:addb14c58831 | mit | codeparrot/github-code | addb14c588316d5d58da2adad275082afd55d413e760be2dd852b267cf2fb738 | 0.85 | testing_debugging_repair_refactoring | 147 | 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.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Syst... | Ermiar/corefx | src/System.Net.Sockets/tests/FunctionalTests/SendReceive.cs | https://github.com/Ermiar/corefx/blob/HEAD/src/System.Net.Sockets/tests/FunctionalTests/SendReceive.cs | ghcode:00005:e5bf1adac28f | mit | codeparrot/github-code | e5bf1adac28f2874e6bac5e32f996a9dbea2eaf12521fe693db4070a35f1c64d | 0.95 | testing_debugging_repair_refactoring | 10,174 | false | 2026-07-17 |
// Copyright 2016 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... | chrisdunelm/gcloud-dotnet | apis/Google.Cloud.BigQuery.V2/Google.Cloud.BigQuery.V2.Tests/BigQueryTableTest.cs | https://github.com/chrisdunelm/gcloud-dotnet/blob/HEAD/apis/Google.Cloud.BigQuery.V2/Google.Cloud.BigQuery.V2.Tests/BigQueryTableTest.cs | ghcode:00005:0eca41c4773d | apache-2.0 | codeparrot/github-code | 0eca41c4773ddd97b779428df57582ebe66fb92fc917703b0581404b9675acdf | 0.7 | testing_debugging_repair_refactoring | 383 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Th... | sharwell/roslyn | src/EditorFeatures/CSharpTest/TodoComment/NoCompilationTodoCommentTests.cs | https://github.com/sharwell/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/TodoComment/NoCompilationTodoCommentTests.cs | ghcode:00005:5529185c4b90 | mit | codeparrot/github-code | 5529185c4b9083a51c5034eec67625f48573be6b04dbaf26cdec92b5c20f26ae | 0.85 | testing_debugging_repair_refactoring | 522 | false | 2026-07-17 |
using NUnit.Framework;
using RefactoringEssentials.CSharp.CodeRefactorings;
using System.Collections.Generic;
namespace RefactoringEssentials.Tests.CSharp.CodeRefactorings
{
[TestFixture]
public class CheckDictionaryKeyValueTests : CSharpCodeRefactoringTestBase
{
[Test]
public void TestSimp... | ahmedshuhel/RefactoringEssentials | Tests/CSharp/CodeRefactorings/CheckDictionaryKeyValueTests.cs | https://github.com/ahmedshuhel/RefactoringEssentials/blob/HEAD/Tests/CSharp/CodeRefactorings/CheckDictionaryKeyValueTests.cs | ghcode:00005:89bdd15e91bd | mit | codeparrot/github-code | 89bdd15e91bd20559352a07bb8a51a716f1e011c77f463a27f33e86ecaf29f78 | 0.75 | testing_debugging_repair_refactoring | 441 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="ClrTypeAnnotation.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-----------------------------------... | hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataOData/Common/OData/Common/Annotations/ClrTypeAnnotation.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Common/OData/Common/Annotations/ClrTypeAnnotation.cs | ghcode:00005:11978a4f2ab7 | mit | codeparrot/github-code | 11978a4f2ab7db517c898856cea909f80e1c366fdcdfedd92c13cb90d7e17d00 | 0.95 | testing_debugging_repair_refactoring | 227 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="ReferentialConstraintRoleElement.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//
// @owner [....]
// @backupOwner [....]
//------------------------------------... | sekcheong/referencesource | System.Data.Entity/System/Data/EntityModel/SchemaObjectModel/ReferentialConstraintRoleElement.cs | https://github.com/sekcheong/referencesource/blob/HEAD/System.Data.Entity/System/Data/EntityModel/SchemaObjectModel/ReferentialConstraintRoleElement.cs | ghcode:00005:466232bef0d8 | mit | codeparrot/github-code | 466232bef0d89396c4c721f76e19202bbad93ce86a16201b9c21cc45ce47defd | 0.7 | testing_debugging_repair_refactoring | 831 | false | 2026-07-17 |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution... | jkorell/PTVS | Python/Product/PythonTools/Legacy/ObsoleteResources.cs | https://github.com/jkorell/PTVS/blob/HEAD/Python/Product/PythonTools/Legacy/ObsoleteResources.cs | ghcode:00005:b3e540a180f5 | apache-2.0 | codeparrot/github-code | b3e540a180f5b7a25509c433ab36a3c74b6d13f5ad276c26aef7c032de8044ab | 0.7 | testing_debugging_repair_refactoring | 1,087 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.ComponentModel.DataAnnotations.Schema.Tests
{
public class InversePropertyAttribu... | dotnet-bot/corefx | src/System.ComponentModel.Annotations/tests/Schema/InversePropertyAttributeTests.cs | https://github.com/dotnet-bot/corefx/blob/HEAD/src/System.ComponentModel.Annotations/tests/Schema/InversePropertyAttributeTests.cs | ghcode:00005:f93280371414 | mit | codeparrot/github-code | f93280371414ecab6800dc71b4a6c1f6d6ca8c1fcf9fe3cb1fa9a0c49f31fe94 | 0.95 | testing_debugging_repair_refactoring | 175 | 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;
using System.Collections.Generic;
using Xunit;
namespace System.Net.Primitives.Functional... | shimingsg/corefx | src/System.Net.Primitives/tests/FunctionalTests/CookieCollectionTest.netcoreapp.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Net.Primitives/tests/FunctionalTests/CookieCollectionTest.netcoreapp.cs | ghcode:00005:3674e9582b77 | mit | codeparrot/github-code | 3674e9582b77932f8ea12e36e5735949d798e58dc05fa7903c7edee31f602739 | 0.95 | testing_debugging_repair_refactoring | 328 | 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.
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// DecimalSumAggregationOperator.cs
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=... | vs-team/corefx | src/System.Linq.Parallel/src/System/Linq/Parallel/QueryOperators/Inlined/DecimalSumAggregationOperator.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Linq.Parallel/src/System/Linq/Parallel/QueryOperators/Inlined/DecimalSumAggregationOperator.cs | ghcode:00005:11df5f048100 | mit | codeparrot/github-code | 11df5f04810031000f1721af4d8e6a6b45810ccba56fabc3823fa3d5aa093a96 | 0.95 | testing_debugging_repair_refactoring | 868 | 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;
using System;
using System.Collections;
using System.Collections.Specialized;
using GenStrings;
namespace System.Collections.Specialized.Tests
{
publi... | Frank125/corefx | src/System.Collections.Specialized/tests/StringDictionary/GetKeysTests.cs | https://github.com/Frank125/corefx/blob/HEAD/src/System.Collections.Specialized/tests/StringDictionary/GetKeysTests.cs | ghcode:00005:4cc778f38e3b | mit | codeparrot/github-code | 4cc778f38e3be45866b8c95d9fbaec776c2ccbfb7f36cbb21b58f2bdd0704817 | 0.95 | testing_debugging_repair_refactoring | 1,727 | 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.IO;
using System.Xml;
using System.Xml.Linq;
using Xunit;
namespace XDocumentTests.SDMSa... | Ttxman/NanoTrans | xml.linq/tests/SDMSample/SDMNode.cs | https://github.com/Ttxman/NanoTrans/blob/HEAD/xml.linq/tests/SDMSample/SDMNode.cs | ghcode:00005:dc39e478dc8b | mit | codeparrot/github-code | dc39e478dc8bc67fb55bc16b7afdee9ddff85d6d425f53964e9bde4019565571 | 0.95 | testing_debugging_repair_refactoring | 3,299 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// Copyright (c) Lead Pipe Software. All rights reserved.
// Licensed under the MIT License. Please see the LICENSE file in the project root for full license information.
// -------------------------... | LeadPipeSoftware/LeadPipe.Net | src/LeadPipe.Net.Tests/StringExtensionsTests/WrapEachWithShould.cs | https://github.com/LeadPipeSoftware/LeadPipe.Net/blob/HEAD/src/LeadPipe.Net.Tests/StringExtensionsTests/WrapEachWithShould.cs | ghcode:00005:da3c87ba12ce | mit | codeparrot/github-code | da3c87ba12cec6698daa16e7cd737796c35113b12c5c255930022932b1cd14c0 | 0.7 | testing_debugging_repair_refactoring | 256 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Q42.HueApi.Interfaces;
namespace Q42.HueApi.Tests
{
[TestClass]
public class BridgeDiscoveryTests
{
[TestMethod]
public async Task TestHttpBridgeLocator()
{
IBridgeLocator lo... | Q42/Q42.HueApi | src/Q42.HueApi.Tests/BridgeDiscoveryTests.cs | https://github.com/Q42/Q42.HueApi/blob/HEAD/src/Q42.HueApi.Tests/BridgeDiscoveryTests.cs | ghcode:00005:3b8c54692b03 | mit | codeparrot/github-code | 3b8c54692b0365997d9724c24d97e3981887900c3e4b1fb771fb75695d6b4eb8 | 0.75 | testing_debugging_repair_refactoring | 561 | false | 2026-07-17 |
using System.Xml.Serialization;
namespace elbgb_test
{
public class Test
{
[XmlAttribute]
public string Name { get; set; }
[XmlAttribute]
public string Hash { get; set; }
[XmlAttribute]
public TestStatus Status { get; set; }
[XmlIgnore]
public... | eightlittlebits/elbgb | elbgb_test/Test.cs | https://github.com/eightlittlebits/elbgb/blob/HEAD/elbgb_test/Test.cs | ghcode:00005:e94dd35c22f6 | mit | codeparrot/github-code | e94dd35c22f6b2d4f0b665ce52fd4c0952249f94a2a0d4e9c5b64888484e46e2 | 0.75 | testing_debugging_repair_refactoring | 96 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Buffers;
using System.Collections.Generic;
using System.IO;
using System.Text.JsonLab.Tests.Resources;... | whoisj/corefxlab | tests/System.Text.JsonLab.Tests/JsonReaderTests.cs | https://github.com/whoisj/corefxlab/blob/HEAD/tests/System.Text.JsonLab.Tests/JsonReaderTests.cs | ghcode:00005:f844642ee13e | mit | codeparrot/github-code | f844642ee13e642e1afe0f890ab93e275385c0def2880083b5a0ec3ecb5444d9 | 0.85 | testing_debugging_repair_refactoring | 1,912 | false | 2026-07-17 |
using MvcTemplate.Objects;
using MvcTemplate.Resources;
using MvcTemplate.Resources.Shared;
using MvcTemplate.Tests.Objects;
using System;
using System.Collections.Generic;
using Xunit;
namespace MvcTemplate.Tests.Unit.Resources
{
public class ResourceProviderTests
{
#region Static method: GetContentT... | duhaly/MVC6.Template | test/MvcTemplate.Tests/Unit/Resources/ResourceProviderTests.cs | https://github.com/duhaly/MVC6.Template/blob/HEAD/test/MvcTemplate.Tests/Unit/Resources/ResourceProviderTests.cs | ghcode:00005:50aadb088689 | mit | codeparrot/github-code | 50aadb0886891a2d99aad1dca6905fb722ddaa0ef042e94d5eaff7877247b1f2 | 0.75 | testing_debugging_repair_refactoring | 1,457 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SpirvNet.Spirv.Enums;
// This file is auto-generated and should not be modified manually.
namespace SpirvNet.Spirv.Ops.Texture
{
/// <summary>
/// OpTextureGatherOffset
///
/// Ga... | Philip-Trettner/SpirvNet | SpirvNet/SpirvNet/Spirv/Ops/Texture/OpTextureGatherOffset.cs | https://github.com/Philip-Trettner/SpirvNet/blob/HEAD/SpirvNet/SpirvNet/Spirv/Ops/Texture/OpTextureGatherOffset.cs | ghcode:00005:8e1aff6059e9 | mit | codeparrot/github-code | 8e1aff6059e95eea366f2f6c3d964adf658bb1bb8bf62086d9343747ea47e113 | 0.7 | testing_debugging_repair_refactoring | 744 | false | 2026-07-17 |
using System.Net;
using Core.Api.Testing;
using Core.Testing;
using FluentAssertions;
using Orders.Api.Requests.Carts;
using Orders.Orders.InitializingOrder;
using Xunit;
namespace Orders.Api.Tests.Orders.InitializingOrder;
public class InitializeOrderFixture: ApiWithEventsFixture<Startup>
{
protected override st... | oskardudycz/EventSourcing.NetCore | Sample/ECommerce/Orders/Orders.Api.Tests/Orders/InitializingOrder/InitializeOrderTests.cs | https://github.com/oskardudycz/EventSourcing.NetCore/blob/HEAD/Sample/ECommerce/Orders/Orders.Api.Tests/Orders/InitializingOrder/InitializeOrderTests.cs | ghcode:00005:d33c8a26a42f | mit | codeparrot/github-code | d33c8a26a42fa56aa9b51062147d2b508ddd242b93ba922e7468a3594bf05215 | 0.85 | testing_debugging_repair_refactoring | 766 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Diagnostics.CodeAnalysis;
using Analyzer.Utilities;
using Analyzer.Utilities.Extensions;
using Microsoft.CodeAnalysis.Diagno... | dotnet/roslyn-analyzers | src/Microsoft.CodeAnalysis.Analyzers/Core/MetaAnalyzers/DiagnosticAnalyzerAttributeAnalyzer.cs | https://github.com/dotnet/roslyn-analyzers/blob/HEAD/src/Microsoft.CodeAnalysis.Analyzers/Core/MetaAnalyzers/DiagnosticAnalyzerAttributeAnalyzer.cs | ghcode:00005:ec0c0be2cb04 | mit | codeparrot/github-code | ec0c0be2cb047ab042bbf3c23b10091a13b71b1fccd0758612f814370ca5a3fa | 0.85 | testing_debugging_repair_refactoring | 1,317 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using NUnit.Framework;
namespace Antmicro.OptionsParser.Tests
{
[TestFixture]
public class ValidationTests
{
[Test]
public void ShouldThrowExceptionWhenRequiredParamterIsNotFound()
{
var args = new string[0];
... | antmicro/options-parser | Tests/ValidationTests.cs | https://github.com/antmicro/options-parser/blob/HEAD/Tests/ValidationTests.cs | ghcode:00005:4ceb24ec7e2d | mit | codeparrot/github-code | 4ceb24ec7e2d42332e898bdec83b8b0428a53bf44fc9fb17bda1c91209afe30e | 0.75 | testing_debugging_repair_refactoring | 643 | false | 2026-07-17 |
// <copyright file="CodedUIBrowserFixture.cs">
// Copyright © 2016 Dan Piessens. All rights reserved.
// </copyright>
namespace SpecBind.CodedUI.Tests
{
using System;
using Microsoft.VisualStudio.TestTools.UITesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using SpecBind.Actions;
/... | Nels-P-Olsen/specbind | src/SpecBind.CodedUI.Tests/CodedUIBrowserFixture.cs | https://github.com/Nels-P-Olsen/specbind/blob/HEAD/src/SpecBind.CodedUI.Tests/CodedUIBrowserFixture.cs | ghcode:00005:542b9050a3ad | mit | codeparrot/github-code | 542b9050a3ad49ed82ac205d17a965a1b4aaa2dddf7515a3915d3771defbe9b4 | 0.7 | testing_debugging_repair_refactoring | 110 | false | 2026-07-17 |
using JetBrains.Annotations;
using ManagedIrbis.Pft.Infrastructure;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTests.ManagedIrbis.Pft.Infrastructure.Unifors
{
[TestClass]
public class UniforBTest
{
private void _B
(
[NotNull] string input,
... | amironov73/ManagedIrbis | Source/UnitTests/ManagedIrbis/Pft/Infrastructure/Unifors/UniforBTest.cs | https://github.com/amironov73/ManagedIrbis/blob/HEAD/Source/UnitTests/ManagedIrbis/Pft/Infrastructure/Unifors/UniforBTest.cs | ghcode:00005:02988a4a0fa4 | mit | codeparrot/github-code | 02988a4a0fa44db257d7cf08d376ad1fc6e3f1c513c8bdd6d7c99bde8fae3660 | 0.75 | testing_debugging_repair_refactoring | 625 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Hqub.MusicBrainz.API.Entities.Metadata;
namespace Hqub.MusicBrainz.API.Test
{
// Resource: release-group-search.xml
// ReleaseGroup.Search("artist:(bob dylan)", 10);
//
// http://musicbrainz.org/ws/2/release-group?query=artist:%28... | mikgam/MusicBrainz | Hqub.MusicBrainz/Hqub.MusicBrainz.API.Test/ReleaseGroupListTests.cs | https://github.com/mikgam/MusicBrainz/blob/HEAD/Hqub.MusicBrainz/Hqub.MusicBrainz.API.Test/ReleaseGroupListTests.cs | ghcode:00005:f47ea6c9d437 | mit | codeparrot/github-code | f47ea6c9d437eb49ca6b8ae50c7fb01e7555efeee640918244c5bca231faa978 | 0.85 | testing_debugging_repair_refactoring | 347 | false | 2026-07-17 |
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2021 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version ... | SonarSource-VisualStudio/sonarlint-visualstudio | src/Infrastructure.VS.UnitTests/RunOnUIThreadTests.cs | https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/blob/HEAD/src/Infrastructure.VS.UnitTests/RunOnUIThreadTests.cs | ghcode:00005:348028d9ab17 | mit | codeparrot/github-code | 348028d9ab17733dea8b354ff8f5cf4591099029e257d79601f57b79898405c4 | 0.85 | testing_debugging_repair_refactoring | 1,659 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace CocktailAudio.API.Test
{
[TestFixture]
public class DeviceTest
{
[Test]
public void DiscoveryTest()
{
var devices = Devic... | KGuetter/cocktailaudio-api | test/CocktailAudio.API.Test/DeviceTest.cs | https://github.com/KGuetter/cocktailaudio-api/blob/HEAD/test/CocktailAudio.API.Test/DeviceTest.cs | ghcode:00005:05e36bcea52d | mit | codeparrot/github-code | 05e36bcea52d09cc4a90da590ac35d58ddf7ef8017b704f4d9f561757b0132e7 | 0.6 | testing_debugging_repair_refactoring | 88 | 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.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Microsoft.DotNet.Cli.Utils;
using Microsoft.DotNet.Tools.Test... | AbhitejJohn/cli | test/Microsoft.DotNet.Configurer.UnitTests/GivenANuGetCachePrimer.cs | https://github.com/AbhitejJohn/cli/blob/HEAD/test/Microsoft.DotNet.Configurer.UnitTests/GivenANuGetCachePrimer.cs | ghcode:00005:56c554378fdf | mit | codeparrot/github-code | 56c554378fdf01abb42777123eb0b30cad7863385f3091dbcaea4186f6f9f5b2 | 0.75 | testing_debugging_repair_refactoring | 1,837 | false | 2026-07-17 |
using System.Data;
using NUnit.Framework;
namespace SequelocityDotNet.Tests.SqlServer.StoredProcedureTests
{
[TestFixture]
public class StoredProcedureTests
{
public class SuperHero
{
public long SuperHeroId;
public string SuperHeroName;
}
[Test]
public void Stored_Procedure_Test_Using_SetCommandTy... | AmbitEnergyLabs/Sequelocity.NET | src/SequelocityDotNet.Tests.SqlServer/StoredProcedureTests/StoredProcedureTests.cs | https://github.com/AmbitEnergyLabs/Sequelocity.NET/blob/HEAD/src/SequelocityDotNet.Tests.SqlServer/StoredProcedureTests/StoredProcedureTests.cs | ghcode:00005:8b9812f9d1a4 | mit | codeparrot/github-code | 8b9812f9d1a4379113c0be8728917ad69a7bc030134eeaf3cba891f5ee411d57 | 0.85 | testing_debugging_repair_refactoring | 830 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Text;
using NtfsExtract.NTFS.Enums;
using NtfsExtract.NTFS.Objects;
namespace NtfsExtract.NTFS.Attributes
{
public class AttributeListItem
{
public AttributeType Type { get; set; }
public ushort Length { get; set; }
public byte NameL... | LordMike/NtfsLib | NtfsExtract/NTFS/Attributes/AttributeListItem.cs | https://github.com/LordMike/NtfsLib/blob/HEAD/NtfsExtract/NTFS/Attributes/AttributeListItem.cs | ghcode:00005:1dd51a841e4c | mit | codeparrot/github-code | 1dd51a841e4cf336468bd06833b18549006d4261502d14bef4578325956e6f0b | 0.6 | testing_debugging_repair_refactoring | 337 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using NUnit.Framework;
using NuGet.Extensions.FeedAudit;
using NuGet.Extensions.Tests.Mocks;
namespace NuGet.Extensions.Tests.FeedAudit
{
[TestFixture]
public class FeedAuditorTests
... | BenPhegan/NuGet.Extensions | NuGet.Extensions.Tests/FeedAudit/FeedAuditorTests.cs | https://github.com/BenPhegan/NuGet.Extensions/blob/HEAD/NuGet.Extensions.Tests/FeedAudit/FeedAuditorTests.cs | ghcode:00005:756804f5109b | mit | codeparrot/github-code | 756804f5109bd6db184cd055b14b642b3d77416f38ac64f0eb964fac8833f475 | 0.75 | testing_debugging_repair_refactoring | 635 | false | 2026-07-17 |
using NUnit.Framework;
using System.Linq;
using spac.net.Chapter3;
namespace spac.net.tests.Chapter3
{
[TestFixture]
class SimpleDivideAndConquerArraySumTests
{
[Test]
// This test may occasionally fail, see class comment for the reason why
public void should_calculate_a... | apaleyes/spac.net | sources/spac.net/spac.net.tests/Chapter3/SimpleDivideAndConquerArraySumTests.cs | https://github.com/apaleyes/spac.net/blob/HEAD/sources/spac.net/spac.net.tests/Chapter3/SimpleDivideAndConquerArraySumTests.cs | ghcode:00005:11933e28f628 | mit | codeparrot/github-code | 11933e28f628f2d2098c7e214ac2b7602f65a10e8e7121fd698f164465aa9dda | 0.75 | testing_debugging_repair_refactoring | 119 | false | 2026-07-17 |
using GitVersion;
using GitVersionCore.Tests;
using NUnit.Framework;
[TestFixture]
public class MyGetTests : TestBase
{
[Test]
public void Develop_branch()
{
var versionBuilder = new MyGet();
var vars = new TestableVersionVariables(fullSemVer: "0.0.0-Unstable4");
var message = vers... | JakeGinnivan/GitVersion | src/GitVersionCore.Tests/BuildServers/MyGetTests.cs | https://github.com/JakeGinnivan/GitVersion/blob/HEAD/src/GitVersionCore.Tests/BuildServers/MyGetTests.cs | ghcode:00005:d49c1fcafe6a | mit | codeparrot/github-code | d49c1fcafe6afaaa9f24befa901ae2b7253bdab0a6c462fec8cae4d254468586 | 0.75 | testing_debugging_repair_refactoring | 337 | false | 2026-07-17 |
#region Usings
using Xunit;
#endregion
namespace Extend.Testing
{
public partial class Int16ExTest
{
[Fact]
public void IsMultipleOfTest()
{
var value = RandomValueEx.GetRandomInt16();
var factor = RandomValueEx.GetRandomInt16();
var expected = va... | DaveSenn/Extend | .Src/Extend.Testing/System.Int16/Int16.IsMultipleOf.Test.cs | https://github.com/DaveSenn/Extend/blob/HEAD/.Src/Extend.Testing/System.Int16/Int16.IsMultipleOf.Test.cs | ghcode:00005:7fefe85b910b | mit | codeparrot/github-code | 7fefe85b910b00d9f21a55d6533e284b28a650f2ea100f2227b6cc527c60ed0a | 0.75 | testing_debugging_repair_refactoring | 161 | false | 2026-07-17 |
using Ocelot.Errors;
namespace Ocelot.UnitTests.Infrastructure
{
using Ocelot.Infrastructure.Claims.Parser;
using Responses;
using Shouldly;
using System.Collections.Generic;
using System.Security.Claims;
using TestStack.BDDfy;
using Xunit;
public class ClaimParserTests
... | geffzhang/Ocelot | test/Ocelot.UnitTests/Infrastructure/ClaimParserTests.cs | https://github.com/geffzhang/Ocelot/blob/HEAD/test/Ocelot.UnitTests/Infrastructure/ClaimParserTests.cs | ghcode:00005:1536304f5579 | mit | codeparrot/github-code | 1536304f55791a172d74fcd798a5593e492b6c9ccba2ff7d73d69b9307eaaa5f | 0.75 | testing_debugging_repair_refactoring | 966 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using NUnit.Framework;
namespace FlexAddin.NUnit
{
internal class TestCaseNamer
{
public static string Create(TestCaseData testCase, MethodInfo method, object[] arguments)
{
... | tomestephens/FlexAddin | src/FlexAddin.NUnit/TestCaseNamer.cs | https://github.com/tomestephens/FlexAddin/blob/HEAD/src/FlexAddin.NUnit/TestCaseNamer.cs | ghcode:00005:009e64f18850 | mit | codeparrot/github-code | 009e64f188506ef1e46cd60ef06188437181fbf25545ed604687d19c6bae8bc5 | 0.75 | testing_debugging_repair_refactoring | 281 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace MemoryManagement
{
public interface IWeakAction
{
bool Call();
bool IsAlive();
}
public class WeakAction<Context... | yeerkkiller1/MemoryManagement | MemoryManagement/Actions/WeakAction.cs | https://github.com/yeerkkiller1/MemoryManagement/blob/HEAD/MemoryManagement/Actions/WeakAction.cs | ghcode:00005:ded28a93775a | mit | codeparrot/github-code | ded28a93775a9a4c81118099455a39f16c3bc5a03055b1833c81df8494cfe703 | 0.7 | testing_debugging_repair_refactoring | 1,114 | false | 2026-07-17 |
using Xunit;
public class TransposeTests
{
[Fact]
public void Empty_string()
{
var lines = "";
var expected = "";
Assert.Equal(expected, Transpose.String(lines));
}
[Fact(Skip = "Remove this Skip property to run this test")]
public void Two_characters_in_a_row()
{
... | exercism/xcsharp | exercises/practice/transpose/TransposeTests.cs | https://github.com/exercism/xcsharp/blob/HEAD/exercises/practice/transpose/TransposeTests.cs | ghcode:00005:bb31596e9759 | mit | codeparrot/github-code | bb31596e9759f7fcf066a33bc6e8b04bd3bd7058c1008581be650a90bf68628d | 0.75 | testing_debugging_repair_refactoring | 1,243 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Globalization.Tests
{
public class TextInfoIsReadOnly
{
[Theory]
... | benpye/corefx | src/System.Globalization/tests/TextInfo/TextInfoIsReadOnly.cs | https://github.com/benpye/corefx/blob/HEAD/src/System.Globalization/tests/TextInfo/TextInfoIsReadOnly.cs | ghcode:00005:977c2b1ecb93 | mit | codeparrot/github-code | 977c2b1ecb9319ca73f7a8f97cb7a94f1a3373633b2ff55ba3ea00b54c56ddc7 | 0.95 | testing_debugging_repair_refactoring | 127 | false | 2026-07-17 |
// *************************************************************
// <copyright file="PolynomialParserTest.cs" company="None">
// Copyright (c) 2014 andy. All rights reserved.
// </copyright>
// <license>MIT Licence</license>
// <author>andy</author>
// <email>andy.augustin@t-online.de</email>
// *****************... | AndreasAugustin/GenericMath | Tests/GenericMath.Parser.Tests/LinearAlgebra/PolynomialParserTest.cs | https://github.com/AndreasAugustin/GenericMath/blob/HEAD/Tests/GenericMath.Parser.Tests/LinearAlgebra/PolynomialParserTest.cs | ghcode:00005:aabf92b5b86f | mit | codeparrot/github-code | aabf92b5b86fd9c9bd5597acebae013948ea6c7d8b15a3fa88d153d0aad018b9 | 0.7 | testing_debugging_repair_refactoring | 614 | false | 2026-07-17 |
using System;
using FluentAssertions;
using Paradigm.CodeGen.Output.Models.Configuration;
using Paradigm.CodeGen.Output.TypeMatchers;
using Paradigm.CodeGen.Tests.Fixtures;
using NUnit.Framework;
namespace Paradigm.CodeGen.Tests.Output.TypeMatchers
{
[TestFixture]
public class FullNameEqualsTypeMatcherTest
... | MiracleDevs/Paradigm.CodeGen | src/Paradigm.CodeGen.Tests/Output/TypeMatchers/FullNameEqualsTypeMatcherTest.cs | https://github.com/MiracleDevs/Paradigm.CodeGen/blob/HEAD/src/Paradigm.CodeGen.Tests/Output/TypeMatchers/FullNameEqualsTypeMatcherTest.cs | ghcode:00005:ea35b4fbac34 | mit | codeparrot/github-code | ea35b4fbac346c3cedc8b2c03316cfa6d413ac0d53cc704c453ba012465fe9c7 | 0.6 | testing_debugging_repair_refactoring | 444 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace FileHelpers.Tests.Tests.Common
{
[TestFixture]
public class FieldValidate
{
[Test]
public void FieldValidate1()
{
Assert.DoesNotThrow(() => FileTest.Go... | jbparker/FileHelpers | FileHelpers.Tests/Tests/Common/FieldValidate.cs | https://github.com/jbparker/FileHelpers/blob/HEAD/FileHelpers.Tests/Tests/Common/FieldValidate.cs | ghcode:00005:dd43727e5562 | mit | codeparrot/github-code | dd43727e556225fffda44643158252ba0ff15a35b1f0ec12c66ad58f20212e06 | 0.85 | testing_debugging_repair_refactoring | 318 | false | 2026-07-17 |
namespace DarkSkyCore.Tests.UnitTests.Models
{
using System;
using Fixtures;
using Xunit;
public class AlertUnitTests : IClassFixture<ResponseFixture>
{
public AlertUnitTests(ResponseFixture fixture)
{
_fixture = fixture;
}
private readonly ResponseFixtu... | amweiss/dark-sky-core | tests/UnitTests/Models/AlertUnitTests.cs | https://github.com/amweiss/dark-sky-core/blob/HEAD/tests/UnitTests/Models/AlertUnitTests.cs | ghcode:00005:6d8c3702387f | mit | codeparrot/github-code | 6d8c3702387f7e83aca42ff098a60d97abbf42c3e4df3ea8de975c31c36272b3 | 0.75 | testing_debugging_repair_refactoring | 480 | false | 2026-07-17 |
// Copyright (c) 2010 Ben Phegan
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy, modify,... | BenPhegan/renderconfig | source/RenderConfig.Core.Tests/IniFileModifierTests.cs | https://github.com/BenPhegan/renderconfig/blob/HEAD/source/RenderConfig.Core.Tests/IniFileModifierTests.cs | ghcode:00005:84a7ae647575 | mit | codeparrot/github-code | 84a7ae6475751d32ed300f030276e56bb8731b6c4c67f3de7a064e5316505ce0 | 0.85 | testing_debugging_repair_refactoring | 1,074 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using SME;
namespace Stopwatch
{
public class Tester : SimulationProcess
{
[InputBus]
public WatchOutput watch;
[InputBus]
public NumberOutput number;
[OutputBus]
public Buttons buttons = Scope.CreateBus<Buttons>();
... | kenkendk/sme | src/Examples/Stopwatch/Tester.cs | https://github.com/kenkendk/sme/blob/HEAD/src/Examples/Stopwatch/Tester.cs | ghcode:00005:a18f1dfd6285 | mit | codeparrot/github-code | a18f1dfd6285c65c5d7dc1b5533980b2cd8f2925dcc59518996e4a27e0d4b658 | 0.85 | testing_debugging_repair_refactoring | 666 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Online_Store.Commands.ProductCommands;
using Online_Store.Core.ProductServices;
using Online_Store.Core.Providers;
using Online_Store.Core.Services.User;
using Online_Store.Data;
using System;
using System.Collections.Generic;
using System.Linq;
usin... | Indeavr/Online-Store | Online_Store_Tests/Commands/ProductCommands/ListAllProductsCommandTests/Execute_Should.cs | https://github.com/Indeavr/Online-Store/blob/HEAD/Online_Store_Tests/Commands/ProductCommands/ListAllProductsCommandTests/Execute_Should.cs | ghcode:00005:ebcbc71d22c7 | mit | codeparrot/github-code | ebcbc71d22c7af7ed8fc162de38b1c0293b9ba2447b37237269f9fbb76e4f74f | 0.7 | testing_debugging_repair_refactoring | 276 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.AspNetCore.DataProtection.Repositories;
using Microsoft.Extensions.DependencyInjection;
using Moq;
using StockportWebapp.DataProtection;
using Xunit;
using DataProtectionBuilderExtensions = StockportWebapp.DataProtection.DataPr... | smbc-digital/iag-webapp | test/StockportWebappTests/Unit/DataProtection/DataProtectionBuilderExtension.cs | https://github.com/smbc-digital/iag-webapp/blob/HEAD/test/StockportWebappTests/Unit/DataProtection/DataProtectionBuilderExtension.cs | ghcode:00005:9f1099ebef26 | mit | codeparrot/github-code | 9f1099ebef26635203d061e480658397d7bfe6fbfc8e1eac274de85a06b900e9 | 0.7 | testing_debugging_repair_refactoring | 596 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ManagedLzma.LZMA
{
[TestClass]
public class UnitTest4 : TestBase
{
[TestMethod]
public void TestMethod6... | weltkante/managed-lzma | testing/UnitTest4.cs | https://github.com/weltkante/managed-lzma/blob/HEAD/testing/UnitTest4.cs | ghcode:00005:5f2c84d640e7 | mit | codeparrot/github-code | 5f2c84d640e7205c47ea9fe8020aa518304c950f1b567d6cc65164c3a98eca3c | 0.6 | testing_debugging_repair_refactoring | 417 | false | 2026-07-17 |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using System.Collections.Immutable;
using System.Linq;
namespace FluentAssertions.Analyzers
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class NullCon... | fluentassertions/fluentassertions.analyzers | src/FluentAssertions.Analyzers/Tips/NullConditionalAssertionAnalyzer.cs | https://github.com/fluentassertions/fluentassertions.analyzers/blob/HEAD/src/FluentAssertions.Analyzers/Tips/NullConditionalAssertionAnalyzer.cs | ghcode:00005:469349399b4f | mit | codeparrot/github-code | 469349399b4f5b5b2f45b817e03bded7facecd5632ed83268ba204d331846dfa | 0.75 | testing_debugging_repair_refactoring | 558 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Security.Principal;
using System.Threading.Tasks;
using Xunit;
namespace SimpleImpersonation.UnitTests
{
// NOTE: Unit tests for this project must be executed as an administrator,
// because they create a temporary user for testing successful impersonation.
... | mj1856/SimpleImpersonation | test/ImpersonationTests.cs | https://github.com/mj1856/SimpleImpersonation/blob/HEAD/test/ImpersonationTests.cs | ghcode:00005:e9527e596a4a | mit | codeparrot/github-code | e9527e596a4abe0ef80eea37f9f1449dbfc804c329868dc78f991976248cb41c | 0.75 | testing_debugging_repair_refactoring | 925 | false | 2026-07-17 |
using System;
using Microsoft.Reactive.Testing;
using Xunit;
namespace Obvs.Tests
{
public class TestSubjectMessageBusWithScheduler
{
readonly TestScheduler _scheduler;
readonly SubjectMessageBus<string> _testObj;
public TestSubjectMessageBusWithScheduler()
{
... | inter8ection/Obvs | Obvs.Tests/TestSubjectMessageBusWithScheduler.cs | https://github.com/inter8ection/Obvs/blob/HEAD/Obvs.Tests/TestSubjectMessageBusWithScheduler.cs | ghcode:00005:21f3f2a7e682 | mit | codeparrot/github-code | 21f3f2a7e682677e06e874c775cb01636c4368e23f9749fe0e3d699f742fc4af | 0.75 | testing_debugging_repair_refactoring | 314 | 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.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
public class S... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1614CSharp7UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1614CSharp7UnitTests.cs | ghcode:00005:6dd6e1dfacda | mit | codeparrot/github-code | 6dd6e1dfacda1ea3e5cbebd89ec463a6090e58a4a599f7ffe4f29ba7e7bff16a | 0.75 | testing_debugging_repair_refactoring | 90 | false | 2026-07-17 |
using System.Linq;
using ChessOk.ModelFramework.Testing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ChessOk.ModelFramework.Tests.Validation.Validators
{
[TestClass]
public class RegularExpressionValidatorTests : ValidationTest
{
[TestMethod]
public void Sho... | ChessOK/ModelFramework | ModelFramework.Tests/Validation/Validators/RegularExpressionValidatorTests.cs | https://github.com/ChessOK/ModelFramework/blob/HEAD/ModelFramework.Tests/Validation/Validators/RegularExpressionValidatorTests.cs | ghcode:00005:6e03816c39b4 | mit | codeparrot/github-code | 6e03816c39b4fc45f9210990dcace79ea74970672b693f11f21df01fb3492e1b | 0.75 | testing_debugging_repair_refactoring | 325 | false | 2026-07-17 |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | Squidex/squidex | backend/tests/Squidex.Domain.Apps.Core.Tests/Model/Apps/AppClientsTests.cs | https://github.com/Squidex/squidex/blob/HEAD/backend/tests/Squidex.Domain.Apps.Core.Tests/Model/Apps/AppClientsTests.cs | ghcode:00005:670ad260f7aa | mit | codeparrot/github-code | 670ad260f7aa68cbdd5edccb0e5e66a655de53640aa5f1a69471c123900c1680 | 0.95 | testing_debugging_repair_refactoring | 806 | false | 2026-07-17 |
// Download the twilio-csharp library from twilio.com/docs/libraries/csharp
using System;
using Twilio;
using Twilio.Rest.Api.V2010.Account;
using Twilio.Types;
class Example
{
static void Main(string[] args)
{
// Find your Account Sid and Auth Token at twilio.com/console
// To set up environme... | TwilioDevEd/api-snippets | rest/test-credentials/test-calls-example-1/test-calls-example-1.5.x.cs | https://github.com/TwilioDevEd/api-snippets/blob/HEAD/rest/test-credentials/test-calls-example-1/test-calls-example-1.5.x.cs | ghcode:00005:674be8936fed | mit | codeparrot/github-code | 674be8936fede71444d5c0b4f10a8b9b385777f4e3613c0293c2ce1d65dd29cf | 0.85 | testing_debugging_repair_refactoring | 210 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
using System.Collections.Generic;
namespace Sepia.Globalization.Numbers
{
[TestClass]
public class NumberSymbolsTest
{
[TestMethod]
public void Currency_Defaults()
{
v... | richardschneider/net-cldr | test/Numbers/NumberSymbolsTest.cs | https://github.com/richardschneider/net-cldr/blob/HEAD/test/Numbers/NumberSymbolsTest.cs | ghcode:00005:916d303f6680 | mit | codeparrot/github-code | 916d303f66803f5d3f0ccb215d605e859b5d30632835c25f615ac1c131dcd97c | 0.6 | testing_debugging_repair_refactoring | 445 | false | 2026-07-17 |
// Copyright 2020, 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 applicabl... | firebase/firebase-admin-dotnet | FirebaseAdmin/FirebaseAdmin.Tests/Auth/Jwt/IdTokenVerificationTest.cs | https://github.com/firebase/firebase-admin-dotnet/blob/HEAD/FirebaseAdmin/FirebaseAdmin.Tests/Auth/Jwt/IdTokenVerificationTest.cs | ghcode:00005:6bd66cf85d09 | apache-2.0 | codeparrot/github-code | 6bd66cf85d090a6157abab018d2c2e3b0339d7ad61cb4a4bc925fc3faa7aab94 | 0.7 | testing_debugging_repair_refactoring | 4,222 | false | 2026-07-17 |
//
// ConcurrencyTests.cs
//
// Copyright (c) 2017 Couchbase, 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-... | couchbase/couchbase-lite-net | src/Couchbase.Lite.Tests.Shared/ConcurrencyTest.cs | https://github.com/couchbase/couchbase-lite-net/blob/HEAD/src/Couchbase.Lite.Tests.Shared/ConcurrencyTest.cs | ghcode:00005:bcf663ed632c | apache-2.0 | codeparrot/github-code | bcf663ed632ca1cf1e78ac85c610ac2834099a58e8837d5519ee1012ae5dce4d | 0.85 | testing_debugging_repair_refactoring | 3,046 | false | 2026-07-17 |
// Copyright 2011 Chris Edwards
//
// 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 t... | ChrisEdwards/Fluency | src/SampleApplication.Tests/IntegrationTests/ManualObjectCreationTests.cs | https://github.com/ChrisEdwards/Fluency/blob/HEAD/src/SampleApplication.Tests/IntegrationTests/ManualObjectCreationTests.cs | ghcode:00005:90d8377f71ba | apache-2.0 | codeparrot/github-code | 90d8377f71ba95cb3a5bbbb7a4ffcf74e08831dd2ad76030a7257a2555c7cb67 | 0.85 | testing_debugging_repair_refactoring | 549 | 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.
namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest._OUTPUT_
{
[ApiController]
[Route("/api/[con... | aspnet/AspNetCore | src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesIfBlockWithoutBraces.Output.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesIfBlockWithoutBraces.Output.cs | ghcode:00005:3b96ef496d28 | apache-2.0 | codeparrot/github-code | 3b96ef496d28bd43a7f44c647afec68d72cd20ac1b6e74a04324d20a610704f8 | 0.85 | testing_debugging_repair_refactoring | 114 | 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 System.Threading;
using System.Threa... | xasx/roslyn | src/Features/Core/Portable/LanguageServices/SymbolDisplayService/AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs | https://github.com/xasx/roslyn/blob/HEAD/src/Features/Core/Portable/LanguageServices/SymbolDisplayService/AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs | ghcode:00005:a3ac183bbf6d | apache-2.0 | codeparrot/github-code | a3ac183bbf6d75c1a22806ed0169bf01bd2be3f5b7a330a14e46bca6222ca60b | 0.7 | testing_debugging_repair_refactoring | 5,315 | false | 2026-07-17 |
// Copyright (c) 2008-2018, Hazelcast, 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... | asimarslan/hazelcast-csharp-client | Hazelcast.Test/Hazelcast.Client.Test.Serialization/PortableTest.cs | https://github.com/asimarslan/hazelcast-csharp-client/blob/HEAD/Hazelcast.Test/Hazelcast.Client.Test.Serialization/PortableTest.cs | ghcode:00005:bb505258a38c | apache-2.0 | codeparrot/github-code | bb505258a38cb24610cc7a02344d882ebb497212c28dc90f2c391bfc787d1e45 | 0.85 | testing_debugging_repair_refactoring | 849 | false | 2026-07-17 |
#region Copyright
/*******************************************************************************
* NerdyDuck.Tests.CodedExceptions.Configuration - Unit tests for the
* NerdyDuck.CodedExceptions.Configuration assembly
*
* The MIT License (MIT)
*
* Copyright (c) Daniel Kopp, dak@nerdyduck.de
*
* All rights re... | NerdyDuck/NerdyDuck.CodedExceptions | test/CodedExceptions.Configuration/Tests.Shared/AssemblyFacilityOverrideCacheExtensionsTests.cs | https://github.com/NerdyDuck/NerdyDuck.CodedExceptions/blob/HEAD/test/CodedExceptions.Configuration/Tests.Shared/AssemblyFacilityOverrideCacheExtensionsTests.cs | ghcode:00005:612f9253d73a | apache-2.0 | codeparrot/github-code | 612f9253d73a57ae7eff7c49b635961c12d0541014055b9799b36e7042710896 | 0.85 | testing_debugging_repair_refactoring | 2,421 | false | 2026-07-17 |
using console;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace ConsoleTestProj
{
/// <summary>
///This is a test class for _004_ClimbStairsTest and is intended
///to contain all _004_ClimbStairsTest Unit Tests
///</summary>
[TestClass()]
public class _004... | zduan001/BusAroundMe | Console/ConsoleTestProj/_004_ClimbStairsTest.cs | https://github.com/zduan001/BusAroundMe/blob/HEAD/Console/ConsoleTestProj/_004_ClimbStairsTest.cs | ghcode:00005:9ecb2c899f30 | apache-2.0 | codeparrot/github-code | 9ecb2c899f3004f37ff3847da8b7ed0bbf40ba27a24db5cb9d9965377d502ccb | 0.7 | testing_debugging_repair_refactoring | 773 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Elasticsearch.Net.Integration.Yaml.Mpercolate1
{
public partial class Mpercolate1YamlTests
{
[NCrunch.Framework.ExclusivelyUses("ElasticsearchYamlTests")]
public class BasicMultiPercolate1Tests : YamlTestsBase... | Grastveit/NEST | src/Tests/Elasticsearch.Net.Integration.Yaml/mpercolate/10_basic.yaml.cs | https://github.com/Grastveit/NEST/blob/HEAD/src/Tests/Elasticsearch.Net.Integration.Yaml/mpercolate/10_basic.yaml.cs | ghcode:00005:7abd1b321a1e | apache-2.0 | codeparrot/github-code | 7abd1b321a1e6fc19b89940ff8150d0f40913ead0891a1bb0332e59aa38b9984 | 0.95 | testing_debugging_repair_refactoring | 432 | false | 2026-07-17 |
using FluentAssertions;
using NesZord.Core;
using Xunit;
namespace NesZord.Tests.OpCodes.BVC
{
public class When_process_BVC_should : When_process_opcode_should
{
[Fact]
public void Accumulator_value_be_equal_0xfe()
{
// Act
this.RunProgram();
// Assert
this.Cpu.Accumulator.Value.Should().Equals(... | rmterra/NesZord | src/NesZord.Tests/OpCodes/BVC/When_process_BVC_should.cs | https://github.com/rmterra/NesZord/blob/HEAD/src/NesZord.Tests/OpCodes/BVC/When_process_BVC_should.cs | ghcode:00005:0ea6938ffdeb | apache-2.0 | codeparrot/github-code | 0ea6938ffdeb13870beb3ab1afe5c0b3418ca3cfb858be3458c349bdcf6a489d | 0.7 | testing_debugging_repair_refactoring | 239 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DNTPersianUtils.Core.Tests
{
[TestClass]
public class RegexUtilsTests
{
[DataTestMethod]
[DataRow("Abc تست")]
[DataRow("،")]
[DataRow("٬")]
[DataRow("؛")]
[DataRow("»")]
[DataRow("«")]
... | VahidN/DNTPersianUtils.Core | src/DNTPersianUtils.Core.Tests/RegexUtilsTests.cs | https://github.com/VahidN/DNTPersianUtils.Core/blob/HEAD/src/DNTPersianUtils.Core.Tests/RegexUtilsTests.cs | ghcode:00005:655ee63c369a | apache-2.0 | codeparrot/github-code | 655ee63c369aa16c9f5065829f4ed46af694c86664200c2308a2852c0278db40 | 0.85 | testing_debugging_repair_refactoring | 779 | 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... | laimis/lucenenet | src/Lucene.Net.Tests.Misc/Misc/SweetSpotSimilarityTest.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Misc/Misc/SweetSpotSimilarityTest.cs | ghcode:00005:9d381e380b57 | apache-2.0 | codeparrot/github-code | 9d381e380b576da5ade3836b340487477789b3d6df29ae20ddd66a848cc35721 | 0.85 | testing_debugging_repair_refactoring | 2,625 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Moq;
using NuGet.Commands;
using NuGet.Common;
using Xunit;
namespace NuGet.Test.NuGetCommandLine.Commands
{
public class PackCommandTest
{
[Fact]
public void PackCommandDefaultFiltersRemovesManifestAndPackageFiles(... | monoman/NugetCracker | Nuget/test/CommandLine.Test/PackCommandTest.cs | https://github.com/monoman/NugetCracker/blob/HEAD/Nuget/test/CommandLine.Test/PackCommandTest.cs | ghcode:00005:38302f8833d5 | apache-2.0 | codeparrot/github-code | 38302f8833d52b3012c9d192433020512df18190045e1d455bcd2b115148e6da | 0.95 | testing_debugging_repair_refactoring | 3,172 | false | 2026-07-17 |
using Xunit;
namespace Jint.Tests.Test262.Language
{
public class TypesTests : Test262Test
{
[Theory(DisplayName = "language\\types")]
[MemberData(nameof(SourceFiles), "language\\types", false)]
[MemberData(nameof(SourceFiles), "language\\types", true, Skip = "Skipped")]
protect... | sebastienros/jint | Jint.Tests.Test262/Language/TypesTests.cs | https://github.com/sebastienros/jint/blob/HEAD/Jint.Tests.Test262/Language/TypesTests.cs | ghcode:00005:20e79bc2e520 | bsd-2-clause | codeparrot/github-code | 20e79bc2e5203b90a6360df5aa7a7562b49c22286f4f5ea08231fb92ad90faaa | 0.68 | testing_debugging_repair_refactoring | 98 | false | 2026-07-17 |
// Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using System;
using Xunit;
namespace Zio.Tests
{
public class TestSearchPattern
{
[Theory]
// Test any-alone ... | xoofx/zio | src/Zio.Tests/TestSearchPattern.cs | https://github.com/xoofx/zio/blob/HEAD/src/Zio.Tests/TestSearchPattern.cs | ghcode:00005:d356c9e10610 | bsd-2-clause | codeparrot/github-code | d356c9e106105ba22608a69a27094ebb21d9a5c068e354a284f4378982f9f948 | 0.78 | testing_debugging_repair_refactoring | 1,202 | false | 2026-07-17 |
using System;
using System.Data;
using NUnit.Framework;
using Projac.SqlClient;
namespace Projac.Sql.Tests.SqlClient
{
[TestFixture]
public class TSqlCharNullValueTests
{
private TSqlCharNullValue _sut;
private TSqlCharSize _size;
[SetUp]
public void SetUp()
{
... | yreynhout/Projac | src/Projac.SqlClient.Tests/TSqlCharNullValueTests.cs | https://github.com/yreynhout/Projac/blob/HEAD/src/Projac.SqlClient.Tests/TSqlCharNullValueTests.cs | ghcode:00005:20d4088b85df | bsd-3-clause | codeparrot/github-code | 20d4088b85df2b2075ff924c2171008c3b04b86699e95aa989c4b6a80b2261b0 | 0.75 | testing_debugging_repair_refactoring | 371 | false | 2026-07-17 |
using System;
namespace tmp
{
public static class tmpClass
{
public static string GetValue()
{
return String.Format("Test for \"{0}\" should return {1}", "10", 10);
}
}
} | gstamac/T4Templates | ImplementPropertyChangedCaliburn/test/ClassLibrary1/ClassLibrary2/Class1.cs | https://github.com/gstamac/T4Templates/blob/HEAD/ImplementPropertyChangedCaliburn/test/ClassLibrary1/ClassLibrary2/Class1.cs | ghcode:00005:95e2275bc479 | mit | codeparrot/github-code | 95e2275bc479de24f16bb29719ca56d7e5b6445b75da4e48e9394b63d4b99d32 | 0.85 | testing_debugging_repair_refactoring | 52 | false | 2026-07-17 |
using System;
using System.Linq;
using Xunit;
namespace Stripe.Tests
{
public class AccountTests
{
private StripeClient _client;
public AccountTests()
{
_client = new StripeClient(Constants.ApiKey);
}
[Fact]
public void RetrieveAccount_Test()
{
dynamic response = _client.RetrieveAccount();
... | ChadBurggraf/stripe-dotnet | test/Stripe.Tests/AccountTests.cs | https://github.com/ChadBurggraf/stripe-dotnet/blob/HEAD/test/Stripe.Tests/AccountTests.cs | ghcode:00005:d0947ccf6b1f | mit | codeparrot/github-code | d0947ccf6b1f3f4a2dd87ccb731e03fd020300b63f8ff13382c41abf2f9aa68a | 0.75 | testing_debugging_repair_refactoring | 95 | false | 2026-07-17 |
using NUnit.Framework;
using Schedules.API.Models;
using System.Collections.Generic;
using Simpler;
using Schedules.API.Tasks.Schedules;
namespace Schedules.API.Tests.Tasks.Schedules
{
[TestFixture()]
public class FetchStreetSweepingTests
{
FetchStreetSweepings fetchStreetSweeping;
List<Schedule> street... | schlos/denver-schedules-api | Schedules.API.Tests/Tasks/Schedules/FetchStreetSweepingTests.cs | https://github.com/schlos/denver-schedules-api/blob/HEAD/Schedules.API.Tests/Tasks/Schedules/FetchStreetSweepingTests.cs | ghcode:00005:f3c7041f619c | mit | codeparrot/github-code | f3c7041f619c6a45f3486f467232d89177403de409bec9c1cc1fbe140c13e167 | 0.75 | testing_debugging_repair_refactoring | 246 | false | 2026-07-17 |
using Renci.SshNet.Messages.Connection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Renci.SshNet.Tests.Common;
namespace Renci.SshNet.Tests.Classes.Messages.Connection
{
/// <summary>
///This is a test class for ChannelOpenConfirmationMessageTest and is intended
///to ... | GenericHero/SSH.NET | src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpenConfirmationMessageTest.cs | https://github.com/GenericHero/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpenConfirmationMessageTest.cs | ghcode:00005:96d5897d1744 | mit | codeparrot/github-code | 96d5897d1744f0fc6393f426986584e3b185a4668518b57761cdaf43bf90f361 | 0.7 | testing_debugging_repair_refactoring | 318 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Raksha.Asn1;
using Raksha.Asn1.X509;
using Raksha.Asn1.X509.Qualified;
using Raksha.Tests.Utilities;
namespace Raksha.Tests.Asn1
{
[TestFixture]
public class Iso4217CurrencyCodeUnitTest
: SimpleTest
{
private const string AlphabeticCurrencyCode =... | Everbytes/Raksha | src/Raksha.Tests (net45)/Asn1/Iso4217CurrencyCodeUnitTest.cs | https://github.com/Everbytes/Raksha/blob/HEAD/src/Raksha.Tests (net45)/Asn1/Iso4217CurrencyCodeUnitTest.cs | ghcode:00005:a14c63e23896 | mit | codeparrot/github-code | a14c63e23896a828348fc2a3c15a6c9e968e4fed686a79f686b8221e78e4166e | 0.7 | testing_debugging_repair_refactoring | 767 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.