text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using Ghpr.Core.Core.Common;
using Ghpr.Core.Core.Extensions;
using Ghpr.Core.Core.Processors;
using NUnit.Framework;
namespace Ghpr.Tests.Core.Processors
{
[TestFixture]
public class TestRunDtoProcessorTests
{
[Test]
public void TestProcessR... | GHPReporter/Ghpr.Core | Ghpr.Tests/Core/Processors/TestRunDtoProcessorTests.cs | https://github.com/GHPReporter/Ghpr.Core/blob/HEAD/Ghpr.Tests/Core/Processors/TestRunDtoProcessorTests.cs | ghcode:00000:54b45d39e228 | mit | codeparrot/github-code | 54b45d39e228eb9e32a0dca5129d222da2a4057e332c42b5c654fd7f80d8a6c8 | 0.75 | testing_debugging_repair_refactoring | 1,489 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using Pgno = System.UInt32;
using PTRMAP = Contoso.Core.MemPage.PTRMAP;
using Contoso.Threading;
namespace Contoso.Core
{
public partial class BtShared
{
internal RC allocateBtreePage(ref MemPage ppPage, ref Pgno pPgno, Pgno nearby, byte exact)
... | Grimace1975/gpustructs | src/Structs.Data.Btree/Core+Btree/BtShared+Alloc.cs | https://github.com/Grimace1975/gpustructs/blob/HEAD/src/Structs.Data.Btree/Core+Btree/BtShared+Alloc.cs | ghcode:00000:735dd0968cba | mit | codeparrot/github-code | 735dd0968cbaced96c2cd379c07ed1214bd3b345a7ea6240df2c8bf26847e13a | 0.7 | testing_debugging_repair_refactoring | 4,076 | false | 2026-07-17 |
#region License
// Pomona is open source software released under the terms of the LICENSE specified in the
// project's repository, or alternatively at http://pomona.io/
#endregion
using System.Linq;
using Critters.Client;
using NUnit.Framework;
using Pomona.Example.Models;
namespace Pomona.SystemTests
{
[T... | Pomona/Pomona | tests/Pomona.SystemTests/VirtualPropertyTests.cs | https://github.com/Pomona/Pomona/blob/HEAD/tests/Pomona.SystemTests/VirtualPropertyTests.cs | ghcode:00000:5d1b9cddbae6 | mit | codeparrot/github-code | 5d1b9cddbae6577e11daa157f8719bb977ad8a68e90ae070c50efa29d51dbd3a | 0.85 | testing_debugging_repair_refactoring | 395 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace HTLib2.Bioinfo
{
public partial class Pdb
{
[Serializable]
public class Model : Element, IComparable<Model>, IBinarySerializable
{
/// http://www.wwpd... | htna/HCsbLib | HCsbLib/HCsbLib/HTLib2.Bioinfo/Pdb/Pdb.Element/CoordinateSection/Pdb.Model.cs | https://github.com/htna/HCsbLib/blob/HEAD/HCsbLib/HCsbLib/HTLib2.Bioinfo/Pdb/Pdb.Element/CoordinateSection/Pdb.Model.cs | ghcode:00000:8d7190ca0e12 | mit | codeparrot/github-code | 8d7190ca0e1223988b1674973967716631504c3d0af85d7bf966875f273ae840 | 0.7 | testing_debugging_repair_refactoring | 1,410 | false | 2026-07-17 |
using System;
using System.Linq;
using NUnit.Framework;
namespace StringCalcKata
{
[TestFixture]
public class StringCalcKataTests
{
public StringCalculator Calculator;
[TestFixtureSetUp]
public void CreateCalculator()
{
Calculator = new StringCalculator();
... | StormPooper/CSharpKatas | StringCalcKata/StringCalcKataTests.cs | https://github.com/StormPooper/CSharpKatas/blob/HEAD/StringCalcKata/StringCalcKataTests.cs | ghcode:00000:9000d9c7849e | unlicense | codeparrot/github-code | 9000d9c7849eb163ab27bf73178fc09674e74c52050f068cdec1890103f3adf2 | 0.78 | testing_debugging_repair_refactoring | 557 | 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 Microsoft.AspNetCore.Mvc.RazorPages;
namespace RazorPagesWebSite
{
public class PageWithModel : PageModel
{
}
}
| aspnet/AspNetCore | src/Mvc/test/WebSites/RazorPagesWebSite/Pages/CustomBaseType/PageWithModel.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/CustomBaseType/PageWithModel.cs | ghcode:00000:0cdf0d963cb0 | apache-2.0 | codeparrot/github-code | 0cdf0d963cb0db9886f55fc43e6e8b77c77c4cb47f578e6c67901802badde8d4 | 0.85 | testing_debugging_repair_refactoring | 58 | false | 2026-07-17 |
#region Copyright (c) 2011 Atif Aziz. 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 app... | elmah/Fabmail | src/App_Packages/StackTraceFormatter/StackTraceFormatter.cs | https://github.com/elmah/Fabmail/blob/HEAD/src/App_Packages/StackTraceFormatter/StackTraceFormatter.cs | ghcode:00000:d4874c80ac98 | apache-2.0 | codeparrot/github-code | d4874c80ac982d88a48152bba7f5a8879c3ab14bef42442e90ff8f32a1257a9d | 0.7 | testing_debugging_repair_refactoring | 1,367 | 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 Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions... | aspnet/AspNetCore | src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithBasePath.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithBasePath.cs | ghcode:00000:d3ba26c0883f | apache-2.0 | codeparrot/github-code | d3ba26c0883f3ee5798bacb7046efc98e062c217b85a26bc51710defb4c5d9ab | 0.85 | testing_debugging_repair_refactoring | 323 | false | 2026-07-17 |
using System.Reflection;
using FluentValidation;
using ScaffoldR.Core.Validation;
using ScaffoldR.Infrastructure.FluentValidation;
using ScaffoldR.Tests.Infrastructure.Commands.Fakes;
using ScaffoldR.Tests.Infrastructure.Queries.Fakes;
using SimpleInjector;
using Xunit;
namespace ScaffoldR.Tests.Infrastructure.Fluent... | hartmanns/ScaffoldR | src/ScaffoldR.Tests/Infrastructure/FluentValidation/ValidationProcessorTests.cs | https://github.com/hartmanns/ScaffoldR/blob/HEAD/src/ScaffoldR.Tests/Infrastructure/FluentValidation/ValidationProcessorTests.cs | ghcode:00000:da8cc3d90d03 | apache-2.0 | codeparrot/github-code | da8cc3d90d03f389a9c3247a1ad5c38899e6e730d71cb87ad17864dddeb7250a | 0.75 | testing_debugging_repair_refactoring | 282 | false | 2026-07-17 |
#region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2019 Atif Aziz. 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:... | morelinq/MoreLINQ | MoreLinq.Test/AggregateTest.cs | https://github.com/morelinq/MoreLINQ/blob/HEAD/MoreLinq.Test/AggregateTest.cs | ghcode:00000:8318e71a8e56 | apache-2.0 | codeparrot/github-code | 8318e71a8e5601a5bf3716556417c4302ecd88414de8d78679df3910fbf19ae6 | 0.7 | testing_debugging_repair_refactoring | 2,015 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using NUnit.Framework;
namespace Salient.JsonClient.Tests
{
[TestFixture]
public class CacheFixture : LoggingFixtureBase
{
[Test]
public void ItemCanBeCached()
{
... | bitpusher/Salient.JsonClient | src/Salient.JsonClient.35.Tests/CacheFixture.cs | https://github.com/bitpusher/Salient.JsonClient/blob/HEAD/src/Salient.JsonClient.35.Tests/CacheFixture.cs | ghcode:00000:2f4a07211f53 | apache-2.0 | codeparrot/github-code | 2f4a07211f53a4737387f2163767fa6a1e1dfd1adb246cd85fbab605a8697000 | 0.6 | testing_debugging_repair_refactoring | 298 | false | 2026-07-17 |
// Copyright 2011, 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 applicab... | stevemanderson/googleads-dotnet-lib | tests/Dfp/BaseTests.cs | https://github.com/stevemanderson/googleads-dotnet-lib/blob/HEAD/tests/Dfp/BaseTests.cs | ghcode:00000:c9ec3e017b00 | apache-2.0 | codeparrot/github-code | c9ec3e017b00e517a1c27840b8520fbd6da1cd3468f71545aec45187bb480c38 | 0.85 | testing_debugging_repair_refactoring | 319 | false | 2026-07-17 |
using MvcTemplate.Data.Core;
using MvcTemplate.Data.Migrations;
using MvcTemplate.Objects;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Resources;
using Xunit;
namespace MvcTemplate.Tests.Unit.Resources
{... | liyanippon/working | data/work/asp.net/MVC6.Template-develop/test/MvcTemplate.Tests/Unit/Resources/ResourcesTests.cs | https://github.com/liyanippon/working/blob/HEAD/data/work/asp.net/MVC6.Template-develop/test/MvcTemplate.Tests/Unit/Resources/ResourcesTests.cs | ghcode:00000:ab7977d8e4d6 | apache-2.0 | codeparrot/github-code | ab7977d8e4d6e0cda9a016610dcab4103489b1efdffc630a1f342db2dcf0bcdc | 0.85 | testing_debugging_repair_refactoring | 658 | false | 2026-07-17 |
namespace Summer.Batch.CoreTests
{
}
//
// Copyright 2015 Blu Age Corporation - Plano, Texas
//
// 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.apac... | pkubryk/SummerBatch | Summer.Batch.CoreTests/TestDBDataSet.cs | https://github.com/pkubryk/SummerBatch/blob/HEAD/Summer.Batch.CoreTests/TestDBDataSet.cs | ghcode:00000:c60e45e0168f | apache-2.0 | codeparrot/github-code | c60e45e0168f36285ba2731829d37ca1d92c51c000022c90193f6819a5708898 | 0.85 | testing_debugging_repair_refactoring | 162 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Canvas.v1.Managers;
using Canvas.v1.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Canvas.v1.Test.Managers
{
[TestClass]
public class AccountsManagerTests : ResourceManagerTest
{
... | unizin/canvas-windows-sdk-v1 | Canvas.v1.Test/Managers/AccountsManagerTests.cs | https://github.com/unizin/canvas-windows-sdk-v1/blob/HEAD/Canvas.v1.Test/Managers/AccountsManagerTests.cs | ghcode:00000:50bf0b0fe775 | apache-2.0 | codeparrot/github-code | 50bf0b0fe775f99d43303e16666b8847105b1e3228622b02dece8cb09418974d | 0.75 | testing_debugging_repair_refactoring | 841 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="TypeExtensionsTests.cs" company="Akka.NET Project">
// Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyrig... | simonlaroche/akka.net | src/core/Akka.Tests/Util/AkkaVersionSpec.cs | https://github.com/simonlaroche/akka.net/blob/HEAD/src/core/Akka.Tests/Util/AkkaVersionSpec.cs | ghcode:00000:17064629e245 | apache-2.0 | codeparrot/github-code | 17064629e2451cac77cb957ad309a825a16d50fe7b87122717928fb829c4971d | 0.85 | testing_debugging_repair_refactoring | 1,614 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CalculatorTest.cs" company="bbv Software Services AG">
// Copyright (c) 2014 - 2020
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not u... | mmarkovic/CleanCode.Academy | source/Testing.Sample/2 Fody EnableFakting Sample/CalculatorTest.cs | https://github.com/mmarkovic/CleanCode.Academy/blob/HEAD/source/Testing.Sample/2 Fody EnableFakting Sample/CalculatorTest.cs | ghcode:00000:1b182831250d | apache-2.0 | codeparrot/github-code | 1b182831250de56941f07df058a05ea9048f5f8d27e94209e0ad47956ac46283 | 0.7 | testing_debugging_repair_refactoring | 868 | 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 Roslyn.Utilities;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
usin... | MichalStrehovsky/roslyn | src/Compilers/CSharp/Portable/Symbols/TypeWithAnnotations.cs | https://github.com/MichalStrehovsky/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/TypeWithAnnotations.cs | ghcode:00000:1c3b89764f2b | apache-2.0 | codeparrot/github-code | 1c3b89764f2be75c3a4c64b26d139481e2f289ece107476af2875072cf7ee217 | 0.7 | testing_debugging_repair_refactoring | 7,674 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Should;
namespace BoDi.Tests
{
[TestFixture]
public class NamedRegistrationTests
{
[Test]
public void ShouldBeAbleToRegisterTypeWithName()
{
... | gasparnagy/BoDi | BoDi.Tests/NamedRegistrationTests.cs | https://github.com/gasparnagy/BoDi/blob/HEAD/BoDi.Tests/NamedRegistrationTests.cs | ghcode:00000:342f5f0bd12e | apache-2.0 | codeparrot/github-code | 342f5f0bd12e828466f4775b3db2c1941ddca00ec7c3b8ab838cd5c09a82e566 | 0.85 | testing_debugging_repair_refactoring | 1,205 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Box.V2.Managers;
using Box.V2.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace Box.V2.Test
{
[TestClass]
public class BoxEventsManagerTest : BoxResourceManagerTest
{
private readonly BoxEventsManage... | box/box-windows-sdk-v2 | Box.V2.Test/BoxEventsManagerTest.cs | https://github.com/box/box-windows-sdk-v2/blob/HEAD/Box.V2.Test/BoxEventsManagerTest.cs | ghcode:00000:4b24c52dd32f | apache-2.0 | codeparrot/github-code | 4b24c52dd32fca1b7701c42bd5a39b63d4bbebb7991965734ed90a57bd1d3008 | 0.7 | testing_debugging_repair_refactoring | 4,315 | false | 2026-07-17 |
using System;
using System.Linq;
using FluentAssertions;
using NSubstitute;
using NUnit.Framework;
using Ponics.Analysis.Levels.Ammonia.Commands;
using Ponics.Analysis.Levels.Iron.Commands;
using Ponics.Analysis.Levels.Nitrate.Commands;
using Ponics.Analysis.Levels.Nitrite.Commands;
using Ponics.Analysis.Levels.Ph.Com... | gravypower/Auto.Aquaponics | src/Ponics.Api.Tests/CompositionRoot/ToleranceCommands/BootstrapToleranceCommandsTests.cs | https://github.com/gravypower/Auto.Aquaponics/blob/HEAD/src/Ponics.Api.Tests/CompositionRoot/ToleranceCommands/BootstrapToleranceCommandsTests.cs | ghcode:00000:4856e5b8d0d0 | apache-2.0 | codeparrot/github-code | 4856e5b8d0d0bec436ff31ef3182b335ab95e026cf3042c9f78973ff569cce5d | 0.85 | testing_debugging_repair_refactoring | 916 | false | 2026-07-17 |
using NUnit.Framework;
using Spring.Objects.Factory;
using Spring.Objects.Factory.Xml;
/*
* Copyright 2002-2010 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... | spring-projects/spring-net | test/Spring/Spring.Aop.Tests/Aop/Target/SimplePoolTargetSourceTests.cs | https://github.com/spring-projects/spring-net/blob/HEAD/test/Spring/Spring.Aop.Tests/Aop/Target/SimplePoolTargetSourceTests.cs | ghcode:00000:a293bd53bbf3 | apache-2.0 | codeparrot/github-code | a293bd53bbf360fccd1b0ad304b04b859df70c93da9d124b57b4486ba8494b00 | 0.85 | testing_debugging_repair_refactoring | 734 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Reflection.Metadata;
using System.Reflection.PortableExecu... | ManishJayaswal/roslyn | src/Compilers/CSharp/Test/Emit/Attributes/InternalsVisibleToAndStrongNameTests.cs | https://github.com/ManishJayaswal/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/Attributes/InternalsVisibleToAndStrongNameTests.cs | ghcode:00000:f6c7751f5380 | apache-2.0 | codeparrot/github-code | f6c7751f5380a39b7c9b8f20fb05570355c5cba4a2fbd1d7a64a5acbcc76fa6d | 0.82 | testing_debugging_repair_refactoring | 25,999 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Net;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Text.RegularExpressions;... | cstlaurent/elasticsearch-net | src/Tests/Framework/Integration/Process/ElasticsearchNode.cs | https://github.com/cstlaurent/elasticsearch-net/blob/HEAD/src/Tests/Framework/Integration/Process/ElasticsearchNode.cs | ghcode:00000:dee8a42fb3f7 | apache-2.0 | codeparrot/github-code | dee8a42fb3f72f591137602b2b4da3e01b9b8486b3650131fa839374aaaff05d | 0.95 | testing_debugging_repair_refactoring | 4,336 | false | 2026-07-17 |
using Xunit;
namespace Jint.Tests.Test262.BuiltIns
{
public class GeneratorTests : Test262Test
{
[Theory(DisplayName = "built-ins\\GeneratorFunction", Skip = "TODO")]
[MemberData(nameof(SourceFiles), "built-ins\\GeneratorFunction", false)]
[MemberData(nameof(SourceFiles), "built-ins\\Ge... | sebastienros/jint | Jint.Tests.Test262/BuiltIns/GeneratorTests.cs | https://github.com/sebastienros/jint/blob/HEAD/Jint.Tests.Test262/BuiltIns/GeneratorTests.cs | ghcode:00000:8d870b400b6c | bsd-2-clause | codeparrot/github-code | 8d870b400b6c20a2a8c3b0a6911c95ba2309bd7a87ff853d5d0b7187c2e0853d | 0.68 | testing_debugging_repair_refactoring | 186 | false | 2026-07-17 |
using System;
using Microservice.Membership.Subsys.v1.Actions;
using StoryLine;
using StoryLine.Rest.Actions;
using StoryLine.Rest.Expectations;
using StoryLine.Rest.Expectations.Extensions;
using StoryLine.Rest.Extensions;
using StoryLine.Rest.Services.Http;
using StoryLine.Utils.Actions;
using StoryLine.Utils.Servic... | DiamondDragon/StoryLine.Rest | Examples/Microservice.Membership.Subsys/v1/Resources/User/Get.cs | https://github.com/DiamondDragon/StoryLine.Rest/blob/HEAD/Examples/Microservice.Membership.Subsys/v1/Resources/User/Get.cs | ghcode:00000:a10e3c8de281 | bsd-3-clause | codeparrot/github-code | a10e3c8de2817dc105d116add7a48bcb626eb0c4859bd4cf5951d23054595d1c | 0.6 | testing_debugging_repair_refactoring | 387 | false | 2026-07-17 |
/*!
* Cloudeo SDK C# bindings.
* http://www.cloudeo.tv
*
* Copyright (C) SayMama Ltd 2012
* Released under the BSD license.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using CDO;
using System.Threading;
namespace CDOTest
{
[TestFixture]
... | cloudeolive/cdo_sdk_c_sharp | CDO/CDOTest/CloudeoServiceConnectivityTest.cs | https://github.com/cloudeolive/cdo_sdk_c_sharp/blob/HEAD/CDO/CDOTest/CloudeoServiceConnectivityTest.cs | ghcode:00000:fe3a811b5399 | bsd-3-clause | codeparrot/github-code | fe3a811b5399afcf67775fee335e9a154b360c07010c8a2f016ba57e2d4c9eb3 | 0.6 | testing_debugging_repair_refactoring | 1,723 | false | 2026-07-17 |
namespace Merchello.Tests.IntegrationTests.ObjectResolution
{
using Merchello.Core.EntityCollections;
using Merchello.Core.EntityCollections.Providers;
using Merchello.Tests.Base.TestHelpers;
using Merchello.Web.Models.ContentEditing.Collections;
using NUnit.Framework;
[TestFixture]
publi... | MindfireTechnology/Merchello | test/Merchello.Tests.IntegrationTests/ObjectResolution/EntityCollectionResolution.cs | https://github.com/MindfireTechnology/Merchello/blob/HEAD/test/Merchello.Tests.IntegrationTests/ObjectResolution/EntityCollectionResolution.cs | ghcode:00000:8070b4a67d8f | mit | codeparrot/github-code | 8070b4a67d8f287c3a846fff3ac68afc0caab85f8c5ba9effe259f36d4fcfb0d | 0.85 | testing_debugging_repair_refactoring | 492 | false | 2026-07-17 |
#define WINDOWS_PHONE
#define SILVERLIGHT
/* Copyright (C) 2008-2011, Bit Miracle
* http://www.bitmiracle.com
*
* Copyright (C) 1994-1996, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
*/
/*
* This ... | wwqly12/Snaker | Assets/Plugins/Reign/Platforms/Shared/ImageTools/JPG/LibJpeg/Classic/jvirt_array.cs | https://github.com/wwqly12/Snaker/blob/HEAD/Assets/Plugins/Reign/Platforms/Shared/ImageTools/JPG/LibJpeg/Classic/jvirt_array.cs | ghcode:00000:f90c6d980025 | mit | codeparrot/github-code | f90c6d98002509469e2087b7f6c4e6ba56a30813b474d84ea8ef8cec6c38178d | 0.7 | testing_debugging_repair_refactoring | 785 | false | 2026-07-17 |
using System;
using System.Linq;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Reports;
using BenchmarkDotNet.Tests.Mocks;
using Xunit;
using Xunit.Abstractions;
namespace BenchmarkD... | Ky7m/BenchmarkDotNet | tests/BenchmarkDotNet.Tests/Reports/DefaultColumnProvidersTests.cs | https://github.com/Ky7m/BenchmarkDotNet/blob/HEAD/tests/BenchmarkDotNet.Tests/Reports/DefaultColumnProvidersTests.cs | ghcode:00000:4edd5faeb95d | mit | codeparrot/github-code | 4edd5faeb95d537bca0a77444e514ef67dc553d389ff44a5715bf4378cc7a53f | 0.75 | testing_debugging_repair_refactoring | 491 | false | 2026-07-17 |
using EncompassRest.Loans;
using EncompassRest.Utilities;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EncompassRest.Tests
{
[TestClass]
public class JsonHelperTests
{
[TestMethod]
public void PopulateArray_HandlesDuplicateIds()
{
var customField = new ... | hfcjweinstock/EncompassREST | src/EncompassRest.Tests/JsonHelperTests.cs | https://github.com/hfcjweinstock/EncompassREST/blob/HEAD/src/EncompassRest.Tests/JsonHelperTests.cs | ghcode:00000:c8a4cf947123 | mit | codeparrot/github-code | c8a4cf94712349a07bc29fb2fbac440a7ee23792e9785e4685c14449fc4560d7 | 0.75 | testing_debugging_repair_refactoring | 192 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... | brjohnstmsft/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/Converters/StringEnumConverterTests.cs | https://github.com/brjohnstmsft/Newtonsoft.Json/blob/HEAD/Src/Newtonsoft.Json.Tests/Converters/StringEnumConverterTests.cs | ghcode:00000:7921656c63cc | mit | codeparrot/github-code | 7921656c63cca5a82abdcbd8b88d310c422e9c8d054960fab50232b08fd2deec | 0.85 | testing_debugging_repair_refactoring | 7,623 | false | 2026-07-17 |
namespace GraphQLCore.Tests.Execution
{
using GraphQLCore.Execution;
using GraphQLCore.Type;
using GraphQLCore.Type.Directives;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
... | mkmarek/graphql-dotnetcore | test/GraphQLCore.Tests/Execution/ExecutionContext_Arguments.cs | https://github.com/mkmarek/graphql-dotnetcore/blob/HEAD/test/GraphQLCore.Tests/Execution/ExecutionContext_Arguments.cs | ghcode:00000:3c335df76439 | mit | codeparrot/github-code | 3c335df76439260da19b9c187b80daf4e91214c84b42a7c1aba3e289bc105f26 | 0.6 | testing_debugging_repair_refactoring | 2,736 | 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.Collections.Immutable;
using System.ComponentModel.Composition;
usin... | abock/roslyn | src/EditorFeatures/CSharpTest/Formatting/CodeCleanupTests.cs | https://github.com/abock/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Formatting/CodeCleanupTests.cs | ghcode:00000:1548ba5a30ba | mit | codeparrot/github-code | 1548ba5a30ba2c91dc396654d04288eee97fd947a831758bfdd40ff0c550df8f | 0.85 | testing_debugging_repair_refactoring | 1,635 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Azure.Core.TestFramework;
using NUnit.Framework;
using Azure.Data.Tables.Tests;
using System.Net;
namespace Azure.Data.Tables.Samples
{
public partial class TablesSamples : TablesTestEnvironment
... | Azure/azure-sdk-for-net | sdk/tables/Azure.Data.Tables/tests/samples/Sample7_Troubleshooting.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/tables/Azure.Data.Tables/tests/samples/Sample7_Troubleshooting.cs | ghcode:00000:a3e2ed92dc8c | mit | codeparrot/github-code | a3e2ed92dc8c86bfaad457bf3f38cb0f81cbafb30207e5485e622d6f18daee0b | 0.95 | testing_debugging_repair_refactoring | 239 | false | 2026-07-17 |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | mwilliamson-firefly/aws-sdk-net | sdk/test/UnitTests/Custom/Marshalling/LambdaMarshallingTests.extensions.cs | https://github.com/mwilliamson-firefly/aws-sdk-net/blob/HEAD/sdk/test/UnitTests/Custom/Marshalling/LambdaMarshallingTests.extensions.cs | ghcode:00000:d4a4dd471b15 | apache-2.0 | codeparrot/github-code | d4a4dd471b150df35a93cce5439bdedd9d119b38c7455a1169818bbd8c1a4c46 | 0.85 | testing_debugging_repair_refactoring | 442 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="WeightedRouteesSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyrig... | simonlaroche/akka.net | src/contrib/cluster/Akka.Cluster.Metrics.Tests/WeightedRouteesSpec.cs | https://github.com/simonlaroche/akka.net/blob/HEAD/src/contrib/cluster/Akka.Cluster.Metrics.Tests/WeightedRouteesSpec.cs | ghcode:00000:c46d0b9de5a2 | apache-2.0 | codeparrot/github-code | c46d0b9de5a2892c1dca210ec728ae6778c57aa69c33b6cd48c528f186178222 | 0.85 | testing_debugging_repair_refactoring | 1,507 | 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 Bridge.Test.NUnit;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using S... | AndreyZM/Bridge | Tests/Batch1/IO/StreamWriter/StreamWriter.FlushTests.cs | https://github.com/AndreyZM/Bridge/blob/HEAD/Tests/Batch1/IO/StreamWriter/StreamWriter.FlushTests.cs | ghcode:00000:f9aa7bdf1129 | apache-2.0 | codeparrot/github-code | f9aa7bdf112945f9e9fbc5ba1d41df2460ce8f9527d3b5aafbdb44ef85cff38e | 0.85 | testing_debugging_repair_refactoring | 226 | false | 2026-07-17 |
using System;
using Nest;
using Tests.Framework.Integration;
using Tests.Framework.MockData;
using static Nest.Infer;
namespace Tests.Aggregations.Bucket.Children
{
/**
* A special single bucket aggregation that enables aggregating from buckets on parent document types to
* buckets on child documents.
*
* Be... | UdiBen/elasticsearch-net | src/Tests/Aggregations/Bucket/Children/ChildrenAggregationUsageTests.cs | https://github.com/UdiBen/elasticsearch-net/blob/HEAD/src/Tests/Aggregations/Bucket/Children/ChildrenAggregationUsageTests.cs | ghcode:00000:212c445a01ba | apache-2.0 | codeparrot/github-code | 212c445a01ba0ed065e3652c4a3a4f769f0bab4e74e48e02aff1e8b9e290c2d9 | 0.85 | testing_debugging_repair_refactoring | 451 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Moq;
using NBitcoin;
using Stratis.Bitcoin.Configuration;
using Stratis.Bitcoin.Features.Consensus;
using Stratis.Bitcoin.Features.Consensus.CoinViews;
using Stratis.Bitcoin.Features.MemoryPool.Fee;
using Stratis.... | mikedennis/StratisBitcoinFullNode | src/Stratis.Bitcoin.Features.MemoryPool.Tests/MempoolManagerTest.cs | https://github.com/mikedennis/StratisBitcoinFullNode/blob/HEAD/src/Stratis.Bitcoin.Features.MemoryPool.Tests/MempoolManagerTest.cs | ghcode:00000:7c59d417325d | mit | codeparrot/github-code | 7c59d417325d83dacff8196993eba579b887ea11d292ee7b52fe54c6be20e7c3 | 0.7 | testing_debugging_repair_refactoring | 987 | false | 2026-07-17 |
using System;
using System.IO;
using System.Threading;
using JetBrains.Annotations;
// ReSharper disable once CheckNamespace
namespace BenchmarkDotNet.Loggers
{
// BASEDON: https://github.com/dotnet/BenchmarkDotNet/blob/master/src/BenchmarkDotNet.Core/Loggers/StreamLogger.cs
/// <summary>
/// Implementation of <... | rsdn/CodeJam | PerfTests[WIP]/src/[L0_PortToBenchmerkDotNet]/Loggers/LazySynchronizedStreamLogger.cs | https://github.com/rsdn/CodeJam/blob/HEAD/PerfTests[WIP]/src/[L0_PortToBenchmerkDotNet]/Loggers/LazySynchronizedStreamLogger.cs | ghcode:00000:aea1e9912430 | mit | codeparrot/github-code | aea1e9912430897baaa236752c7a2a1ae8a76aa0cb37d069645a980b9f23bdf4 | 0.8 | testing_debugging_repair_refactoring | 620 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="BootstrapperExeTests.cs" company="SonarSource SA and Microsoft Corporation">
// Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the proje... | HSAR/sonar-msbuild-runner | Tests/SonarQube.Bootstrapper.Tests/BootstrapperExeTests.cs | https://github.com/HSAR/sonar-msbuild-runner/blob/HEAD/Tests/SonarQube.Bootstrapper.Tests/BootstrapperExeTests.cs | ghcode:00000:e25b1589970c | mit | codeparrot/github-code | e25b1589970c72fc2f0388e13cf6ef0b9b0a4d123f1d8bf2592d86a0226fd95b | 0.85 | testing_debugging_repair_refactoring | 3,279 | false | 2026-07-17 |
using System;
using System.IO;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Renci.SshNet.Sftp;
namespace Renci.SshNet.Tests.Classes.Sftp
{
[TestClass]
public class SftpFileStreamTest_Ctor_FileModeCreateNew_FileAccessWrite : SftpFileStreamTestBase
{
p... | Bloomcredit/SSH.NET | src/Renci.SshNet.Tests/Classes/Sftp/SftpFileStreamTest_Ctor_FileModeCreateNew_FileAccessWrite.cs | https://github.com/Bloomcredit/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileStreamTest_Ctor_FileModeCreateNew_FileAccessWrite.cs | ghcode:00000:8913f5732c7a | mit | codeparrot/github-code | 8913f5732c7ac808c7a96adc92478855e39617e5de0985374eaac3934e7662cc | 0.6 | testing_debugging_repair_refactoring | 1,016 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using ZeroMQ;
namespace Examples
{
static partial class Program
{
public static void FLServer1(string[] args)
{
//
// Freelance server - Model 1
// Trivial echo service
//
// Author: met... | soscpd/bee | root/tests/zguide/examples/C#/flserver1.cs | https://github.com/soscpd/bee/blob/HEAD/root/tests/zguide/examples/C#/flserver1.cs | ghcode:00000:1002387da873 | mit | codeparrot/github-code | 1002387da873ca208e44809fe6aaa12bade8a6606554b739110689343c551a91 | 0.95 | testing_debugging_repair_refactoring | 363 | false | 2026-07-17 |
using System.Linq;
using Shouldly;
using Xunit;
namespace Marten.Testing.Bugs
{
public class Bug_337_certain_boolean_searches_are_not_using_searchable_field : IntegratedFixture
{
[Fact]
public void use_searchable_fields_in_generated_sql()
{
StoreOptions(_ =>
{
... | jmbledsoe/marten | src/Marten.Testing/Bugs/Bug_337_certain_boolean_searches_are_not_using_searchable_field.cs | https://github.com/jmbledsoe/marten/blob/HEAD/src/Marten.Testing/Bugs/Bug_337_certain_boolean_searches_are_not_using_searchable_field.cs | ghcode:00000:64029ec0f2a9 | mit | codeparrot/github-code | 64029ec0f2a93075f811c40b1ecec1250c67dbc0db77dbffe19492f630319ce7 | 0.6 | testing_debugging_repair_refactoring | 343 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
using Moq;
using NBitcoin;
using Stratis.Bitcoin.AsyncWork;
using Stratis.Bitcoin.Base;
using Stratis.Bitcoin.Base.Deployments;
using Stratis.Bitcoin.Configuration;
using Stratis.Bitcoin.Configuration.Logging;
using Stratis.Bitcoi... | fassadlr/StratisBitcoinFullNode | src/Stratis.Bitcoin.Features.PoA.Tests/PoATestsBase.cs | https://github.com/fassadlr/StratisBitcoinFullNode/blob/HEAD/src/Stratis.Bitcoin.Features.PoA.Tests/PoATestsBase.cs | ghcode:00000:cc25f0235175 | mit | codeparrot/github-code | cc25f023517524c05eba2968481a6613fd6e371c5d50c22ec3012644fb6f1425 | 0.6 | testing_debugging_repair_refactoring | 1,817 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | OctopusDeploy/azure-sdk-tools | WindowsAzurePowershell/src/Management.ScenarioTest/CloudServiceTests/EmulatorTests.cs | https://github.com/OctopusDeploy/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.ScenarioTest/CloudServiceTests/EmulatorTests.cs | ghcode:00000:0118c92db249 | apache-2.0 | codeparrot/github-code | 0118c92db2499ad358ae4a2a46e0cbc445a86a1374fdbd70975d2219eccdd30c | 0.95 | testing_debugging_repair_refactoring | 558 | false | 2026-07-17 |
/*
* C# Version Ported by Matt Bettcher and Ian Qvist 2009-2010
*
* Original C++ Version Copyright (c) 2007 Eric Jordan
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission i... | Blucky87/Nez | Nez.FarseerPhysics/Farseer/Common/Decomposition/EarclipDecomposer.cs | https://github.com/Blucky87/Nez/blob/HEAD/Nez.FarseerPhysics/Farseer/Common/Decomposition/EarclipDecomposer.cs | ghcode:00000:ce0b104756f9 | mit | codeparrot/github-code | ce0b104756f9991239e846683ddb180ec97a6f5c723f99189fc311680b67a2e2 | 0.7 | testing_debugging_repair_refactoring | 3,890 | false | 2026-07-17 |
using Moq;
namespace Cassette
{
public abstract class UrlGeneratorTestsBase
{
protected readonly Mock<IUrlModifier> UrlModifier = new Mock<IUrlModifier>();
protected readonly FakeFileSystem SourceDirectory = new FakeFileSystem();
internal readonly UrlGenerator UrlGenerator;
... | honestegg/cassette | src/Cassette.UnitTests/UrlGeneratorTestsBase.cs | https://github.com/honestegg/cassette/blob/HEAD/src/Cassette.UnitTests/UrlGeneratorTestsBase.cs | ghcode:00000:c8fa76d79236 | mit | codeparrot/github-code | c8fa76d79236b98508e4d10309413b3f4f83092902d4b81ece105e249320ae94 | 0.6 | testing_debugging_repair_refactoring | 117 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Identity;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using Azure.Security.KeyVault.Tests;
namespace Azure.Security.KeyVault.Secrets... | ayeletshpigelman/azure-sdk-for-net | sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/samples/Sample3_GetSecrets.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/samples/Sample3_GetSecrets.cs | ghcode:00000:84616852f94e | mit | codeparrot/github-code | 84616852f94e49f19ba764f5cbbb310f9486eb4f2f523e722aa799bb1fd9e174 | 0.95 | testing_debugging_repair_refactoring | 909 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="GraphMatValueSpec.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>
// </copyright... | willieferguson/akka.net | src/core/Akka.Streams.Tests/Dsl/GraphMatValueSpec.cs | https://github.com/willieferguson/akka.net/blob/HEAD/src/core/Akka.Streams.Tests/Dsl/GraphMatValueSpec.cs | ghcode:00000:cd06f1cb7ca4 | apache-2.0 | codeparrot/github-code | cd06f1cb7ca4246dc337d8551694587fb9c98974704d97a3891eb0aae82635f4 | 0.85 | testing_debugging_repair_refactoring | 3,082 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immut... | ErikSchierboom/roslyn | src/Compilers/Core/Portable/Compilation/Compilation.cs | https://github.com/ErikSchierboom/roslyn/blob/HEAD/src/Compilers/Core/Portable/Compilation/Compilation.cs | ghcode:00000:a880001ac844 | apache-2.0 | codeparrot/github-code | a880001ac8444859c5e05946d08d94b6a59a19297b77a8f02785f8e9d01fc142 | 0.72 | testing_debugging_repair_refactoring | 25,491 | false | 2026-07-17 |
using System.Reflection;
namespace Lucene.Net.Codecs
{
/*
* 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 fi... | sisve/lucenenet | src/Lucene.Net.TestFramework/Support/Codecs/TestDocValuesFormatFactory.cs | https://github.com/sisve/lucenenet/blob/HEAD/src/Lucene.Net.TestFramework/Support/Codecs/TestDocValuesFormatFactory.cs | ghcode:00000:c33393f0cea6 | apache-2.0 | codeparrot/github-code | c33393f0cea69b0414a9c84a4c41b1f6523ad5511f92f8f058de0d0559006f3b | 0.85 | testing_debugging_repair_refactoring | 273 | false | 2026-07-17 |
using NUnit.Framework;
namespace Lucene.Net.Index
{
/*
* 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 ... | apache/lucenenet | src/Lucene.Net.Tests/Index/TestLogMergePolicy.cs | https://github.com/apache/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Index/TestLogMergePolicy.cs | ghcode:00000:f4d4fbe38660 | apache-2.0 | codeparrot/github-code | f4d4fbe386600f1214a2bddb966485ee6b367e4c0bf501dff24d194508541796 | 0.75 | testing_debugging_repair_refactoring | 234 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Xml.Linq;
using NUnit.Framework;
namespace SIL.Lexicon.Tests
{
[TestFixture]
public class ProjectLexiconSettingsDataMapperTests
{
[Test]
public void Read_ValidXml_SetsAllProperties()
{
const string projectSettingsXml =
@"<ProjectLexiconSettings>
<WritingSys... | mccarthyrb/libpalaso | SIL.Lexicon.Tests/ProjectLexiconSettingsDataMapperTests.cs | https://github.com/mccarthyrb/libpalaso/blob/HEAD/SIL.Lexicon.Tests/ProjectLexiconSettingsDataMapperTests.cs | ghcode:00000:caa3b632d75f | mit | codeparrot/github-code | caa3b632d75f954a7edaf9c12cb7f0d3b42f1301060c778b74d9049a5a017649 | 0.75 | testing_debugging_repair_refactoring | 676 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Octokit;
using Octokit.Tests.Integration;
using Xunit;
using Octokit.Tests.Integration.Helpers;
public class DeploymentStatusClientTests : IDisposable
{
private readonly IDeploymentsClient _deploymentsClient;
private readonly RepositoryContext _context;
pr... | dampir/octokit.net | Octokit.Tests.Integration/Clients/DeploymentStatusClientTests.cs | https://github.com/dampir/octokit.net/blob/HEAD/Octokit.Tests.Integration/Clients/DeploymentStatusClientTests.cs | ghcode:00000:4335b425ac9e | mit | codeparrot/github-code | 4335b425ac9e80c18fdbda31ce7e972a86f4312530e084c874bf63421aef99fe | 0.75 | testing_debugging_repair_refactoring | 2,138 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using System.Collections.ObjectModel;
namespace OpenQA.Selenium
{
[TestFixture]
public class ElementEqualityTest : DriverTestFixture
{
[Test]
public void SameElementLookedUpDifferentWaysSho... | jmt4/Selenium2 | dotnet/test/WebDriver.Common.Tests/ElementEqualityTest.cs | https://github.com/jmt4/Selenium2/blob/HEAD/dotnet/test/WebDriver.Common.Tests/ElementEqualityTest.cs | ghcode:00000:017fdca5c4d1 | apache-2.0 | codeparrot/github-code | 017fdca5c4d1ea2eeb507b6f9079eb9c9a784defd27745631f2d72f5f708469f | 0.95 | testing_debugging_repair_refactoring | 329 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CocosSharp;
namespace tests
{
public class SpriteBatchNodeOffsetAnchorRotation : SpriteTestDemo
{
const int numOfSprites = 3;
CCSprite[] sprites;
CCSprite[] pointSprites;
CCAnimation anim... | haithemaraissia/CocosSharp | tests/tests/classes/tests/SpriteTest/SpriteBatchNodeOffsetAnchorRotation.cs | https://github.com/haithemaraissia/CocosSharp/blob/HEAD/tests/tests/classes/tests/SpriteTest/SpriteBatchNodeOffsetAnchorRotation.cs | ghcode:00000:21aa7f24f350 | mit | codeparrot/github-code | 21aa7f24f350d7f1fd47eafa61d639ee00d88a435aae009b90338500bc0f8f83 | 0.85 | testing_debugging_repair_refactoring | 768 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... | pWnH/CarsonAgainstHumanity | lib/Json90r1/Source/Src/Newtonsoft.Json.Tests/Linq/JArrayTests.cs | https://github.com/pWnH/CarsonAgainstHumanity/blob/HEAD/lib/Json90r1/Source/Src/Newtonsoft.Json.Tests/Linq/JArrayTests.cs | ghcode:00000:f249f8ce3db6 | apache-2.0 | codeparrot/github-code | f249f8ce3db661381d10d11a481728f70af7b12409b1985315e47195592199fe | 0.95 | testing_debugging_repair_refactoring | 3,840 | 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 osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics;
using osuTK;
using osuT... | ppy/osu | osu.Game.Tests/Visual/UserInterface/TestSceneDrawableDate.cs | https://github.com/ppy/osu/blob/HEAD/osu.Game.Tests/Visual/UserInterface/TestSceneDrawableDate.cs | ghcode:00000:3c7409e40f5a | mit | codeparrot/github-code | 3c7409e40f5afe8da239eea1def94ffc83dd852107623be5c38515aebe0a4e37 | 0.75 | testing_debugging_repair_refactoring | 436 | 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 System.Security.Cryptography.X509Certificates;
using Test.Cryptography;
using Xunit;
names... | zhenlan/corefx | src/System.Security.Cryptography.Pkcs/tests/Rfc3161/TimestampTokenTests.cs | https://github.com/zhenlan/corefx/blob/HEAD/src/System.Security.Cryptography.Pkcs/tests/Rfc3161/TimestampTokenTests.cs | ghcode:00000:53f51863961d | mit | codeparrot/github-code | 53f51863961d90fd207ff93c8df0843282dbb4e4b5954c0e43c528f31e629456 | 0.95 | testing_debugging_repair_refactoring | 8,866 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace NetCor... | Vedin/corefxlab | samples/NetCoreSample/NetCoreXunitTestLibrary/UnitTest1.cs | https://github.com/Vedin/corefxlab/blob/HEAD/samples/NetCoreSample/NetCoreXunitTestLibrary/UnitTest1.cs | ghcode:00000:820e03a297d4 | mit | codeparrot/github-code | 820e03a297d45162fedaaeb41180a9ac2e748ac6a4ae3b5a4db2fb3a57659655 | 0.7 | testing_debugging_repair_refactoring | 110 | false | 2026-07-17 |
using NUnit.Framework;
using Nest.Tests.MockData.Domain;
namespace Nest.Tests.Unit.Search.Query.Singles
{
[TestFixture]
public class HasChildQueryJson
{
[Test]
public void HasChildThisQuery()
{
var s = new SearchDescriptor<ElasticsearchProject>()
.From(0)
.Size(10)
.Query(q => q
.HasChild... | joehmchan/elasticsearch-net | src/Tests/Nest.Tests.Unit/Search/Query/Singles/HasChildQueryJson.cs | https://github.com/joehmchan/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Unit/Search/Query/Singles/HasChildQueryJson.cs | ghcode:00000:11965689b512 | apache-2.0 | codeparrot/github-code | 11965689b512cf112d7cbf4ba31fa10da04c8055ec7a4f7aba70184a1aaddb52 | 0.85 | testing_debugging_repair_refactoring | 422 | 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.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.UnitTests.Emit;
using Microsoft.... | paladique/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/CompoundAssignmentForDelegate.cs | https://github.com/paladique/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/CompoundAssignmentForDelegate.cs | ghcode:00000:dcb543219461 | apache-2.0 | codeparrot/github-code | dcb5432194615d261a116766c188917cf425e1f9e2d49c5aef30eba3ea30fbc2 | 0.95 | testing_debugging_repair_refactoring | 6,810 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Micros... | shyamnamboodiripad/roslyn | src/EditorFeatures/CSharpTest/Diagnostics/Configuration/ConfigureSeverity/CSharpCodeStyleOptionBasedSeverityConfigurationTests.cs | https://github.com/shyamnamboodiripad/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/Configuration/ConfigureSeverity/CSharpCodeStyleOptionBasedSeverityConfigurationTests.cs | ghcode:00000:67dd01bfc74f | apache-2.0 | codeparrot/github-code | 67dd01bfc74f4cffd1fa96302f176b3085a27bb0162eb8e4b3f6e53c7008acde | 0.85 | testing_debugging_repair_refactoring | 2,139 | 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 applica... | felixguendling/osrm-backend | third_party/flatbuffers/tests/FlatBuffers.Test/FuzzTestData.cs | https://github.com/felixguendling/osrm-backend/blob/HEAD/third_party/flatbuffers/tests/FlatBuffers.Test/FuzzTestData.cs | ghcode:00000:44ecf4304dd1 | bsd-2-clause | codeparrot/github-code | 44ecf4304dd1434841278e1f81b4e5657fd17f15e49092142465ab1ca92b78af | 0.88 | testing_debugging_repair_refactoring | 495 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using System.Text;
using EOLib.IO.Pub;
using EOLib.IO.Services;
using NUnit.Framework;
namespace EOLib.IO.Test.Pub
{
[TestFixture, ExcludeFromCodeCoverage]
public class EIFRecordT... | ethanmoffat/EndlessClient | EOLib.IO.Test/Pub/EIFRecordTest.cs | https://github.com/ethanmoffat/EndlessClient/blob/HEAD/EOLib.IO.Test/Pub/EIFRecordTest.cs | ghcode:00000:02284f3867f6 | mit | codeparrot/github-code | 02284f3867f695c3a3a575fba509b67c1e1362f42a8092071e7ccfea11847960 | 0.6 | testing_debugging_repair_refactoring | 2,348 | false | 2026-07-17 |
using Nimbus.MessageContracts;
namespace Nimbus.Tests.Unit.InfrastructureTests.MessageContracts
{
public class SimpleEvent : IBusEvent
{
}
} | NimbusAPI/Nimbus | src/Nimbus.Tests.Unit/InfrastructureTests/MessageContracts/SimpleEvent.cs | https://github.com/NimbusAPI/Nimbus/blob/HEAD/src/Nimbus.Tests.Unit/InfrastructureTests/MessageContracts/SimpleEvent.cs | ghcode:00000:8c475256cf6c | mit | codeparrot/github-code | 8c475256cf6cc8e61829a248227d54d4d39ff8bc7e4e792b68c6ed5234e0c2e6 | 0.5 | testing_debugging_repair_refactoring | 30 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Threading.Tasks;
using MQTTnet.Server;
namespace MQTTnet.Tests.Mockups
{
public class TestServerStorage : IMqttServerStorage
{
public IList<MqttApplicationMessage> Messages = new List<MqttApplicationMessage>();
public Task SaveRetainedMessagesAsy... | chkr1011/MQTTnet | Tests/MQTTnet.Core.Tests/Mockups/TestServerStorage.cs | https://github.com/chkr1011/MQTTnet/blob/HEAD/Tests/MQTTnet.Core.Tests/Mockups/TestServerStorage.cs | ghcode:00000:3efdfe7b7c54 | mit | codeparrot/github-code | 3efdfe7b7c546aefc5b79fc01bc0159e71ba401af76917e8d5a5e8a51794303b | 0.75 | testing_debugging_repair_refactoring | 115 | false | 2026-07-17 |
using System;
using System.Globalization;
using NLog;
using NLog.Mustache;
using NUnit.Framework;
using Should;
namespace Tests
{
[TestFixture]
public class LogEventInfoModelTests
{
[Test]
public void should_map_log_event_info_and_exceptions()
{
var logEv... | mikeobrien/NLog.Mustache | src/Tests/LogEventInfoModelTests.cs | https://github.com/mikeobrien/NLog.Mustache/blob/HEAD/src/Tests/LogEventInfoModelTests.cs | ghcode:00000:22eaa10f08ed | mit | codeparrot/github-code | 22eaa10f08ed5c7273d104c83a08a7f2f55999fb2e90597fb3c0aa94dd8374a2 | 0.85 | testing_debugging_repair_refactoring | 428 | false | 2026-07-17 |
using System;
using System.Reflection;
using System.Text.RegularExpressions;
using NUnit.Framework;
using SharpTestsEx;
namespace BehaveN.Tests
{
[TestFixture]
public class PatternMaker_Tests
{
[Test]
public void it_generates_patterns_for_int_arguments()
{
... | xingh/behaven | BehaveN.Tests/PatternMaker_Tests.cs | https://github.com/xingh/behaven/blob/HEAD/BehaveN.Tests/PatternMaker_Tests.cs | ghcode:00000:9f33a2913652 | mit | codeparrot/github-code | 9f33a291365202820a0debca03e847d4e899525918a4823274ddf80e4368dd9f | 0.75 | testing_debugging_repair_refactoring | 1,801 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace DocoptNet
{
public class Docopt
{
public event EventHandler<PrintExitEventArgs> PrintExit;
public IDictionary<string, ValueObject> Ap... | Comandermuffif/docopt.net | src/DocoptNet/Docopt.cs | https://github.com/Comandermuffif/docopt.net/blob/HEAD/src/DocoptNet/Docopt.cs | ghcode:00000:154189361946 | mit | codeparrot/github-code | 154189361946f77218caa8a9bf30290182b43918751c5566df0f8d41711abd71 | 0.7 | testing_debugging_repair_refactoring | 3,469 | false | 2026-07-17 |
using System.Diagnostics;
namespace ChainUtils.BouncyCastle.Math.EC.Custom.Sec
{
internal class SecP192K1Field
{
// 2^192 - 2^32 - 2^12 - 2^8 - 2^7 - 2^6 - 2^3 - 1
internal static readonly uint[] P = new uint[]{ 0xFFFFEE37, 0xFFFFFFFE, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF };
... | assinnata/ChainUtils | ChainUtils.BouncyCastle/math/ec/custom/sec/SecP192K1Field.cs | https://github.com/assinnata/ChainUtils/blob/HEAD/ChainUtils.BouncyCastle/math/ec/custom/sec/SecP192K1Field.cs | ghcode:00000:0e1a5eaf6b92 | mit | codeparrot/github-code | 0e1a5eaf6b929140d89e97616862e6a1d22921dcbbe3cf3af5a0ac0914c93157 | 0.6 | testing_debugging_repair_refactoring | 1,601 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Nito.AsyncEx;
using NUnit.Framework;
using SJP.Schematic.Core;
using SJP.Schematic.Core.Extensions;
using SJP.Schematic.Tests.Utilities;
namespace SJP.Schematic.Oracle.Tests.Integration
{
... | sjp/Schematic | src/SJP.Schematic.Oracle.Tests/Integration/OracleDatabaseViewProviderTests.cs | https://github.com/sjp/Schematic/blob/HEAD/src/SJP.Schematic.Oracle.Tests/Integration/OracleDatabaseViewProviderTests.cs | ghcode:00000:bc5cfbf08f76 | mit | codeparrot/github-code | bc5cfbf08f764357183fad568916b17ef43365ac8d64b23b12d12f330eda0cc7 | 0.75 | testing_debugging_repair_refactoring | 2,173 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using TcpConnectionsViewer.Models;
namespace Tests.Converters
{
[TestClass]
public class IpTests
{
[TestMethod]
... | webmooch/TcpConnectionsViewer | Tests/Models/IpTests.cs | https://github.com/webmooch/TcpConnectionsViewer/blob/HEAD/Tests/Models/IpTests.cs | ghcode:00000:5c1766c0a44c | mit | codeparrot/github-code | 5c1766c0a44c9d4654a5fa05862a0641e113dc4768329f615ed03d245feca562 | 0.75 | testing_debugging_repair_refactoring | 171 | false | 2026-07-17 |
using System;
using System.IO;
using AM.IO;
using AM.Json;
using AM.Runtime;
using AM.Text;
using AM.Xml;
using JetBrains.Annotations;
using ManagedIrbis;
using ManagedIrbis.Client;
using ManagedIrbis.Ibf;
using ManagedIrbis.Ibf.Infrastructure;
using ManagedIrbis.Ibf.Infrastructure.Ast;
using Microsoft.VisualStudi... | amironov73/ManagedIrbis | Source/UnitTests/ManagedIrbis/Ibf/Infrastructure/Ast/IbfSilenceTest.cs | https://github.com/amironov73/ManagedIrbis/blob/HEAD/Source/UnitTests/ManagedIrbis/Ibf/Infrastructure/Ast/IbfSilenceTest.cs | ghcode:00000:d37572a2db36 | mit | codeparrot/github-code | d37572a2db36bda16d5d0257726b56ec0f43efd8fbb74f0937b9e58c62687ce6 | 0.75 | testing_debugging_repair_refactoring | 574 | false | 2026-07-17 |
using AVDump3CL;
using AVDump3Lib.Processing.HashAlgorithms;
using AVDump3Lib.Settings;
using AVDump3Lib.Settings.CLArguments;
using System.Diagnostics;
using System.Security.Cryptography;
using System.Xml.Linq;
using Xunit;
namespace AVDump3Tests;
public class CLTests {
[Fact]
public void WithoutArgs() {
var man... | DvdKhl/AVDump3 | AVDump3Tests/CLTests.cs | https://github.com/DvdKhl/AVDump3/blob/HEAD/AVDump3Tests/CLTests.cs | ghcode:00000:05bb537b067a | mit | codeparrot/github-code | 05bb537b067aa55768cccff7d84fef21522e45f7f7139d20d7c9855ae6370243 | 0.75 | testing_debugging_repair_refactoring | 1,248 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using hw.DebugFormatter;
using hw.Scanner;
using hw.UnitTest;
using Reni;
namespace ReniUI.Test
{
[UnitTest]
[AutoCompleteFunctionInCompound]
public sealed class AutoComplete : DependenceProvider
{
const string text = @"systemda... | hahoyer/reni.cs | src/ReniUIWithForms/Test/AutoComplete.cs | https://github.com/hahoyer/reni.cs/blob/HEAD/src/ReniUIWithForms/Test/AutoComplete.cs | ghcode:00000:4d155bc446ee | mit | codeparrot/github-code | 4d155bc446ee641e09a3a257f705dd16b2ce95d6ce4a6a2599e007e8513080f7 | 0.85 | testing_debugging_repair_refactoring | 459 | false | 2026-07-17 |
using System;
using System.Collections.Immutable;
using System.IO;
using System.Xml;
using Xunit;
namespace WarHub.ArmouryModel.Source.CodeGeneration.Tests
{
public class SerializationTests
{
[Fact]
public void CheckEmptyDeserialization()
{
const string ContainerXml = "<con... | WarHub/wham | tests/WarHub.ArmouryModel.Source.CodeGeneration.Tests/SerializationTests.cs | https://github.com/WarHub/wham/blob/HEAD/tests/WarHub.ArmouryModel.Source.CodeGeneration.Tests/SerializationTests.cs | ghcode:00000:d93d9cd00834 | mit | codeparrot/github-code | d93d9cd0083425d77d4907da5a0e03372938d892c8cf11075b541e68ff44aebb | 0.75 | testing_debugging_repair_refactoring | 422 | false | 2026-07-17 |
namespace BankAccountApp.MSTests.Integration {
using System;
using Bank;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public sealed class IntegrationTest {
private readonly AccountRepository _accountRepository = new AccountRepository();
[TestMethod]
[Exp... | Sebazzz/NetUnitTestComparison | src/BankAccountApp.MSTests.Integration/IntegrationTest.cs | https://github.com/Sebazzz/NetUnitTestComparison/blob/HEAD/src/BankAccountApp.MSTests.Integration/IntegrationTest.cs | ghcode:00000:6f6de4f45b61 | mit | codeparrot/github-code | 6f6de4f45b613728f3b225d7380bcc7b3bdf759679d28343f652d06f0d8606f5 | 0.7 | testing_debugging_repair_refactoring | 318 | false | 2026-07-17 |
#region License
/*
The MIT License
Copyright (c) 2008 Sky Morey
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... | BclEx/BclEx-Abstract | src/System.Abstract.Tests/Abstract+ServiceLocator/ServiceLocatorResolutionExceptionTests.cs | https://github.com/BclEx/BclEx-Abstract/blob/HEAD/src/System.Abstract.Tests/Abstract+ServiceLocator/ServiceLocatorResolutionExceptionTests.cs | ghcode:00000:f3df5cfa8ee5 | mit | codeparrot/github-code | f3df5cfa8ee5048c7edf0b1ea14350f82e4b84f7f501dfdbae7c323bc4694682 | 0.75 | testing_debugging_repair_refactoring | 417 | false | 2026-07-17 |
// Copyright (c) Eugene Berdnikov. See License.txt in the project root for license information.
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace Recaptcha.Web.Tests.Compatibility
{
#pragma warning disable 618
[TestClass]
public class EnumTests
{
[TestMethod]
[Te... | evnik/reCAPTCHA4net | Source/Recaptcha.Web.Tests/Compatibility/EnumTests.cs | https://github.com/evnik/reCAPTCHA4net/blob/HEAD/Source/Recaptcha.Web.Tests/Compatibility/EnumTests.cs | ghcode:00000:10eb7bc9e88d | mit | codeparrot/github-code | 10eb7bc9e88dd3baac062dcfcb27626bc0f8c3ff5efbcfea97c14ac85277af19 | 0.75 | testing_debugging_repair_refactoring | 645 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Linq;
using Azure.Analytics.Synapse.Spark;
using Azure.Analytics.Synapse.Spark.Models;
using Azure.Analytics.Synapse.Tests;
using Az... | Azure/azure-sdk-for-net | sdk/synapse/Azure.Analytics.Synapse.Spark/tests/SparkBatchClientLiveTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/synapse/Azure.Analytics.Synapse.Spark/tests/SparkBatchClientLiveTests.cs | ghcode:00000:c0344c31e2ce | mit | codeparrot/github-code | c0344c31e2ce7f31a86c6445b93661dde4418795b5fe2f10768e7b8198fdfc2d | 0.95 | testing_debugging_repair_refactoring | 1,366 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
#nullable enable
using System;
namespace NUnit.Framework
{
using Interfaces;
/// <summary>
/// Thrown when an assertion failed.
/// </summary>
[Serializable]
public class MultipleAssertException : Resu... | nunit/nunit | src/NUnitFramework/framework/Exceptions/MultipleAssertException.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/framework/Exceptions/MultipleAssertException.cs | ghcode:00000:7eb36db572fd | mit | codeparrot/github-code | 7eb36db572fd3440e46366f05013932ee44ed94514775f6ccad3b8cd5c81e28a | 0.7 | testing_debugging_repair_refactoring | 391 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using NUnit.Framework;
using NSed;
using System.IO;
using NSed.Arguments.NSed;
using ArgumentHelper.Arguments.General;
namespace Tester.NSed
{
[TestFixture]
public class NSedArgumentCheckerTest
{
private const Str... | jns300/NSed | Tester/NSed/NSedArgumentCheckerTest.cs | https://github.com/jns300/NSed/blob/HEAD/Tester/NSed/NSedArgumentCheckerTest.cs | ghcode:00000:d1640919da86 | mit | codeparrot/github-code | d1640919da86faa1c7d45b3ba46f78c673a823a2608a47fa791540ce1555fb08 | 0.7 | testing_debugging_repair_refactoring | 2,383 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2014-2016, Institute for Software & Systems Engineering
//
// 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 wi... | cubeme/ssharp | Tests/Execution/Simulation/nondeterminism.cs | https://github.com/cubeme/ssharp/blob/HEAD/Tests/Execution/Simulation/nondeterminism.cs | ghcode:00000:e69155747f0e | mit | codeparrot/github-code | e69155747f0eb678bcba0a30c2ee69b2a4bf89bed06c23f6a1d09b62e31e6690 | 0.7 | testing_debugging_repair_refactoring | 408 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Platibus.Diagnostics;
using Xunit;
namespace Platibus.UnitTests.Diagnostics
{
[Trait("Category", "UnitTests")]
[Trait("Dependency", "InfluxDB")]
public clas... | sweetlandj/Platibus | Source/Platibus.UnitTests/Diagnostics/InfluxDBSinkTests.cs | https://github.com/sweetlandj/Platibus/blob/HEAD/Source/Platibus.UnitTests/Diagnostics/InfluxDBSinkTests.cs | ghcode:00000:4f254a757562 | mit | codeparrot/github-code | 4f254a7575620e255f7eb70bee330bcede51b4d53a349c3da81b03d0339ec568 | 0.75 | testing_debugging_repair_refactoring | 591 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ObjectCompare.Tests
{
[TestClass]
public class ProtectedPropertyTests
{
[TestInitialize]
public void Initialize()
{
ObjectComparer.Settings = new ObjectComparerSettings
{
Protected... | tobper/ObjectCompare | src/ObjectCompare.Tests/ProtectedPropertyTests.cs | https://github.com/tobper/ObjectCompare/blob/HEAD/src/ObjectCompare.Tests/ProtectedPropertyTests.cs | ghcode:00000:1bbd76c8dfb6 | mit | codeparrot/github-code | 1bbd76c8dfb63318d4e1f9b4daec23032526f8db3553ee800f48de2160866bc8 | 0.75 | testing_debugging_repair_refactoring | 233 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace Bakalog.Tests
{
[TestClass]
public class BakalogTests
{
[TestMethod]
public void SimpleTerms()
{
var p = new Bakalog();
p.Def("p... | olgstein/Bakalog | Bakalog.Tests/BakalogTests.cs | https://github.com/olgstein/Bakalog/blob/HEAD/Bakalog.Tests/BakalogTests.cs | ghcode:00000:7efde9597204 | mit | codeparrot/github-code | 7efde9597204441bc5dfffcfce8e8214d65f7d67a3ffede04acb71162b140f27 | 0.75 | testing_debugging_repair_refactoring | 1,299 | false | 2026-07-17 |
namespace DCSExt.Xml.Tests.TestClasses.WithoutAttributes {
public class TestCase10 {
private string Prop1 { get; set; }
private int Prop2 { get; set; }
public char Field1;
public string GetProp1() {
return Prop1;
}
public int GetProp2() {
retu... | StefanOssendorf/DCSExt | test/DCSExt.Xml.Tests/TestClasses/WithoutAttributes/TestCase10.cs | https://github.com/StefanOssendorf/DCSExt/blob/HEAD/test/DCSExt.Xml.Tests/TestClasses/WithoutAttributes/TestCase10.cs | ghcode:00000:2006b8e4aaab | mit | codeparrot/github-code | 2006b8e4aaabadc2a8cb808da118ccc45160dfdaa711b888873bd9c924f9d45f | 0.85 | testing_debugging_repair_refactoring | 308 | false | 2026-07-17 |
namespace FluentACS.Specs.Rules
{
using FluentACS.Specs.Rules.Chaining;
public class OutputClaimTypeSpec
{
private readonly RuleSpec owner;
public OutputClaimTypeSpec(RuleSpec owner)
{
this.owner = owner;
}
public IAfterThenOutputClaimTypeRuleSpec Shou... | jrowies/FluentACS | FluentACS/Specs/Rules/OutputClaimTypeSpec.cs | https://github.com/jrowies/FluentACS/blob/HEAD/FluentACS/Specs/Rules/OutputClaimTypeSpec.cs | ghcode:00000:4c62b66108b9 | mit | codeparrot/github-code | 4c62b66108b9606bc1ffe808171f85ad421e4fc8a2394dd669f36799f8eb3e4a | 0.75 | testing_debugging_repair_refactoring | 136 | false | 2026-07-17 |
using NUnit.Framework;
using TestStack.FluentMVCTesting.Tests.TestControllers;
namespace TestStack.FluentMVCTesting.Tests
{
class AsyncControllersShould
{
private AsyncController _controller;
[SetUp]
public void Setup()
{
_controller = new AsyncControll... | TestStack/TestStack.FluentMVCTesting | TestStack.FluentMVCTesting.Tests/AsyncControllerTests.cs | https://github.com/TestStack/TestStack.FluentMVCTesting/blob/HEAD/TestStack.FluentMVCTesting.Tests/AsyncControllerTests.cs | ghcode:00000:3fb621d7531f | mit | codeparrot/github-code | 3fb621d7531f08193fbdad5591b20160d183f1aa6ec62195942c360c206ef82d | 0.75 | testing_debugging_repair_refactoring | 241 | false | 2026-07-17 |
using System;
using System.Transactions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Saude.Model.Persistence;
namespace AtendimentoModelTest {
/// <summary>
///This is a test class for TB_AC_CUIDADOTest and is intended
///to contain all TB_AC_CUIDADOTest Unit Tests
///</summary>
[T... | marcobaccaro/general | SissOnlineWithEntityFrameworkOnSqlServer/AtendimentoModelTest/TB_AC_CUIDADOTest.cs | https://github.com/marcobaccaro/general/blob/HEAD/SissOnlineWithEntityFrameworkOnSqlServer/AtendimentoModelTest/TB_AC_CUIDADOTest.cs | ghcode:00000:ffde83f6bdd0 | mit | codeparrot/github-code | ffde83f6bdd05e47211f2e1e1e34033650ba19febfc18cc38557c4c97e7d3da8 | 0.7 | testing_debugging_repair_refactoring | 917 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using TransactSqlAnalyzer.Tests;
namespace TransactSqlAnalyzer.Rules.Tests
{
[TestClass]
public class DeleteWithoutWhereRuleTests : TestBase
{
[TestMethod]
public void WithoutWhere_Warns()
{
// Arran... | ifbeginend/TransactSqlAnalyzer | Source/TransactSqlAnalyzer.Rules.Tests/DeleteWithoutWhereRuleTests.cs | https://github.com/ifbeginend/TransactSqlAnalyzer/blob/HEAD/Source/TransactSqlAnalyzer.Rules.Tests/DeleteWithoutWhereRuleTests.cs | ghcode:00000:cc9f184f43f4 | mit | codeparrot/github-code | cc9f184f43f4ca630fac91454e974e84dfc0afb6f5182c52cddea8931fffa3e2 | 0.85 | testing_debugging_repair_refactoring | 221 | false | 2026-07-17 |
namespace Microsoft.OData.Edm
{
using FluentAssertions;
using System;
using Web.Http;
using Xunit;
public class ApiVersionAnnotationTest
{
[Fact]
public void new_api_version_annotation_should_set_expected_version()
{
// arrange
var annotatedApiVe... | joaopbnogueira/aspnet-api-versioning | test/Microsoft.AspNet.OData.Versioning.Tests/OData.Edm/ApiVersionAnnotationTest.cs | https://github.com/joaopbnogueira/aspnet-api-versioning/blob/HEAD/test/Microsoft.AspNet.OData.Versioning.Tests/OData.Edm/ApiVersionAnnotationTest.cs | ghcode:00000:34a621f29e14 | mit | codeparrot/github-code | 34a621f29e14e1eeb3e2ad5cca06436764438447f3b556e9437127b678372298 | 0.7 | testing_debugging_repair_refactoring | 120 | false | 2026-07-17 |
namespace FactoriesUnitTests.Factories
{
using Labyrinth.Factories;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class LargeMazeCreatorUnitTest
{
[TestMethod]
public void CreateMaze_IsCreatedLarge()
{
LargeMazeCreator mazeCreator = new ... | 2She2/HighQualityProgrammingCodeTeamProject | FactoriesUnitTests/Factories/LargeMazeCreatorUnitTest.cs | https://github.com/2She2/HighQualityProgrammingCodeTeamProject/blob/HEAD/FactoriesUnitTests/Factories/LargeMazeCreatorUnitTest.cs | ghcode:00000:6983a17bc526 | mit | codeparrot/github-code | 6983a17bc526f5d434ff71a48ba81c422b24e249457b67a833099079c7cb143d | 0.6 | testing_debugging_repair_refactoring | 106 | 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.Text.Unicode
{
internal static class UnicodeTestHelpers
{
/// <summary>
///... | BrennanConroy/corefx | src/System.Text.Encodings.Web/tests/UnicodeTestHelpers.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Text.Encodings.Web/tests/UnicodeTestHelpers.cs | ghcode:00000:bbed527c8991 | mit | codeparrot/github-code | bbed527c8991b710edecb0c12d329b86d8ab4d78d34b92657e16fdd039cba7b7 | 0.95 | testing_debugging_repair_refactoring | 204 | false | 2026-07-17 |
using AmplaData.AmplaData2008;
using NUnit.Framework;
namespace AmplaData.Binding.ViewData
{
[TestFixture]
public class ViewFiltersCollectionUnitTests : TestFixture
{
[Test]
public void InitialiseNull()
{
ViewFiltersCollection filters = new ViewFiltersCollection... | Ampla/Ampla-Data | src/AmplaData.Tests/Binding/ViewData/ViewFiltersCollectionUnitTests.cs | https://github.com/Ampla/Ampla-Data/blob/HEAD/src/AmplaData.Tests/Binding/ViewData/ViewFiltersCollectionUnitTests.cs | ghcode:00000:5b00f200b54d | mit | codeparrot/github-code | 5b00f200b54ddbbd7bc407857f7433c4bd8236030ab0d3ddf3d4b07b7b019109 | 0.75 | testing_debugging_repair_refactoring | 123 | false | 2026-07-17 |
using Liath.ViewRanger.RequestBuilders;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Liath.ViewRanger.Tests.RequestBuilderTests.GetTrackRequestTests
{
[TestFixture]
public class ConstructorTests
{
... | ardliath/viewranger | Liath.ViewRanger.Tests/RequestBuilderTests/GetTrackRequestTests/ConstructorTests.cs | https://github.com/ardliath/viewranger/blob/HEAD/Liath.ViewRanger.Tests/RequestBuilderTests/GetTrackRequestTests/ConstructorTests.cs | ghcode:00000:dd634ca0b003 | mit | codeparrot/github-code | dd634ca0b0032a9ca5c499b20b4e029d810be4c2c50c405acf2250fd122be4ec | 0.75 | testing_debugging_repair_refactoring | 250 | false | 2026-07-17 |
using System.IO;
using Lucene.Net.Analysis;
using Lucene.Net.Index;
using Lucene.Net.Store;
using Xunit;
namespace ChapterTests._02
{
public class IndexLockingTests
{
[Fact]
public void TestWriteLock()
{
var path = Path.Combine(Path.GetTempPath(), "tmpLuceneIndex");
... | joshball/Lucene.In.Action.NET | ChapterTests/02/IndexLockingTests.cs | https://github.com/joshball/Lucene.In.Action.NET/blob/HEAD/ChapterTests/02/IndexLockingTests.cs | ghcode:00000:f61373b6f6da | mit | codeparrot/github-code | f61373b6f6dabbd3dda47902f0e92448e24bdadcd2a66d646f15ee9771021aaa | 0.75 | testing_debugging_repair_refactoring | 184 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.