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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Copyright (c) 2009, Tom Lokovic
// 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 source code must retain the above copyright notice,
// this list of co... | mabe-at/PowerMateMIDI | Libraries/midi-dot-net/MidiUnitTests/PercussionTest.cs | https://github.com/mabe-at/PowerMateMIDI/blob/HEAD/Libraries/midi-dot-net/MidiUnitTests/PercussionTest.cs | ghcode:00178:f1ed0bd27f6d | mit | codeparrot/github-code | f1ed0bd27f6d0b63c898d718478c79e6d0a2ed413e373c2368ba131cc12d8326 | 0.7 | testing_debugging_repair_refactoring | 496 | false | 2026-07-17 |
namespace AutoMapper.UnitTests
{
using MappingInheritance;
using Shouldly;
using Xunit;
public class RecursiveOpenGenerics : AutoMapperSpecBase
{
public class SourceTree<T>
{
public SourceTree(T value, SourceTree<T>[] children)
{
Value = valu... | gentledepp/AutoMapper | src/UnitTests/OpenGenerics.cs | https://github.com/gentledepp/AutoMapper/blob/HEAD/src/UnitTests/OpenGenerics.cs | ghcode:00178:94d0add7b2ca | mit | codeparrot/github-code | 94d0add7b2ca7dc85c99f0ddf2f595c35b43e93225073c9ef535af8cf7a9aebe | 0.75 | testing_debugging_repair_refactoring | 770 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace Nimbus.Tests.Common.Extensions
{
public static class ThreadExtensions
{
public static async Task WaitUntil(this TimeSpan timeout, Func<bool> exitCondition)
{
var sw = Stopwatch.StartNew();
w... | KodrAus/Nimbus | src/Tests/Nimbus.Tests.Common/Extensions/ThreadExtensions.cs | https://github.com/KodrAus/Nimbus/blob/HEAD/src/Tests/Nimbus.Tests.Common/Extensions/ThreadExtensions.cs | ghcode:00178:9e9d1d1e7d64 | mit | codeparrot/github-code | 9e9d1d1e7d64ed02e96592effd09179541120cbb1741a0a16448b5f16de29b87 | 0.85 | testing_debugging_repair_refactoring | 102 | false | 2026-07-17 |
using BenchmarkDotNet.Attributes;
using ReflectionInterface;
using System;
using System.Linq;
using System.Reflection;
namespace MakingDotNETApplicationsFaster.Runners
{
[Config(typeof(CoreConfig))]
public class ReflectionMethodInvokeVsInterfaceRunner
{
private readonly Type _extensionType;
... | Ky7m/MakingDotNETApplicationsFaster | src/MakingDotNETApplicationsFaster/Runners/ReflectionMethodInvokeVsInterfaceRunner.cs | https://github.com/Ky7m/MakingDotNETApplicationsFaster/blob/HEAD/src/MakingDotNETApplicationsFaster/Runners/ReflectionMethodInvokeVsInterfaceRunner.cs | ghcode:00178:3539fc52bd37 | mit | codeparrot/github-code | 3539fc52bd3713a100cbe16fbc1c1602ee9979aae5a0db76d2516081987eb92b | 0.6 | testing_debugging_repair_refactoring | 495 | false | 2026-07-17 |
using Xunit;
using ExternalModuleSubscriberClass = DotNetCore.CAP.MultiModuleSubscriberTests.SubscriberClass;
namespace DotNetCore.CAP.Test.SubscriberCollisionTests
{
public class OldMethodTests
{
[Fact]
public void NoCollision_SameClassAndMethod_DifferentAssemblies()
{
... | dotnetcore/CAP | test/DotNetCore.CAP.Test/SubscriberCollisionTests/OldMethodTests.cs | https://github.com/dotnetcore/CAP/blob/HEAD/test/DotNetCore.CAP.Test/SubscriberCollisionTests/OldMethodTests.cs | ghcode:00178:821ce3dd4a12 | mit | codeparrot/github-code | 821ce3dd4a128814eeb4108264b895fa5e1bd73c6f40bd6c8f2d9b689d5f40e4 | 0.75 | testing_debugging_repair_refactoring | 485 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="InitialHeartbeatSpec.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>
// </copyri... | simonlaroche/akka.net | src/core/Akka.Cluster.Tests.MultiNode/InitialHeartbeatSpec.cs | https://github.com/simonlaroche/akka.net/blob/HEAD/src/core/Akka.Cluster.Tests.MultiNode/InitialHeartbeatSpec.cs | ghcode:00178:e579a356e692 | apache-2.0 | codeparrot/github-code | e579a356e69281e7a68fcf374a232515ae83b55337a3fc3ae9ad593e3d7706d4 | 0.85 | testing_debugging_repair_refactoring | 823 | false | 2026-07-17 |
using System.Linq;
using NUnit.Framework;
using StructureMap.Query;
using StructureMap.Testing.Configuration.DSL;
using StructureMap.Testing.Graph;
using StructureMap.Testing.Widget;
using StructureMap.Testing.Widget2;
namespace StructureMap.Testing.Query
{
[TestFixture]
public class InstanceFactory... | chester89/structuremap-35-client | Source/StructureMap.Testing/Query/InstanceFactoryTypeConfigurationTester.cs | https://github.com/chester89/structuremap-35-client/blob/HEAD/Source/StructureMap.Testing/Query/InstanceFactoryTypeConfigurationTester.cs | ghcode:00178:1d049006a678 | apache-2.0 | codeparrot/github-code | 1d049006a6787baf41c561ed94de00117d24583124c89924a0e14a55d27b0c26 | 0.6 | testing_debugging_repair_refactoring | 1,421 | false | 2026-07-17 |
using OpenQA.Selenium;
namespace Riganti.Selenium.Core.UnitTests.Mock
{
public class MockITargetLocaltor : ITargetLocator
{
public IWebDriver Frame(int frameIndex)
{
return CurrentDriver;
}
public IWebDriver Frame(string frameName)
{
return Curr... | riganti/selenium-utils | src/Tests/Riganti.Selenium.Core.UnitTests.Abstraction/MockITargetLocaltor.cs | https://github.com/riganti/selenium-utils/blob/HEAD/src/Tests/Riganti.Selenium.Core.UnitTests.Abstraction/MockITargetLocaltor.cs | ghcode:00178:a4128ef00ea6 | apache-2.0 | codeparrot/github-code | a4128ef00ea6e7737b889ce27edf1387ea69092cac93306b5f1b720ec31950a6 | 0.85 | testing_debugging_repair_refactoring | 181 | false | 2026-07-17 |
/*
* Copyright 2004,2006 The Poderosa Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* $Id: Plugin.cs,v 1.3 2011/12/23 19:15:14 kzmi Exp $
*/
using System;
using System.Text;
using System.Reflection;
using System.... | cdesjardins/poderosa | Plugin/Plugin.cs | https://github.com/cdesjardins/poderosa/blob/HEAD/Plugin/Plugin.cs | ghcode:00178:6d87f84b102c | apache-2.0 | codeparrot/github-code | 6d87f84b102c7b53f0902e57cf16c38622bedc58a894b0f915293dd0818f4ffd | 0.7 | testing_debugging_repair_refactoring | 3,871 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="PropsCreationSpec.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>
// </copyright... | simonlaroche/akka.net | src/core/Akka.Tests/Actor/PropsCreationSpec.cs | https://github.com/simonlaroche/akka.net/blob/HEAD/src/core/Akka.Tests/Actor/PropsCreationSpec.cs | ghcode:00178:1720a30f0279 | apache-2.0 | codeparrot/github-code | 1720a30f02796dfc1f179a593d977eee872bfc9c878968335534f1bdf82484bb | 0.85 | testing_debugging_repair_refactoring | 536 | false | 2026-07-17 |
using System;
using System.Globalization;
using System.Threading.Tasks;
using LightBDD.Core.Execution;
using LightBDD.Core.Metadata;
using LightBDD.Framework.Parameters;
using LightBDD.Framework.UnitTests.Formatting;
using LightBDD.UnitTests.Helpers;
using NUnit.Framework;
namespace LightBDD.Framework.UnitTests.Param... | Suremaker/LightBDD | test/LightBDD.Framework.UnitTests/Parameters/Verifiable_tests.cs | https://github.com/Suremaker/LightBDD/blob/HEAD/test/LightBDD.Framework.UnitTests/Parameters/Verifiable_tests.cs | ghcode:00178:7423c1c62bb9 | bsd-2-clause | codeparrot/github-code | 7423c1c62bb98097a3d0d54db5a2a610d6590ee7af3e70726e6dc1580b58dab1 | 0.68 | testing_debugging_repair_refactoring | 1,170 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
namespace Cosmos.TestRunner.Full
{
public static class TestKernelSets
{
// Kernel types to run: the ones that will run in test runners that use the default engine configuration.
public static IEnumerable<Type> GetKernelTypesToRun()
{
... | zarlo/Cosmos | Tests/Cosmos.TestRunner.Full/TestKernelSets.cs | https://github.com/zarlo/Cosmos/blob/HEAD/Tests/Cosmos.TestRunner.Full/TestKernelSets.cs | ghcode:00178:15730d993eea | bsd-3-clause | codeparrot/github-code | 15730d993eea21e0f468d2f2548563558e1f5e09eb6707dfa628385c399e4207 | 0.85 | testing_debugging_repair_refactoring | 367 | false | 2026-07-17 |
// Copyright (c) 2012, Event Store LLP
// 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 source code must retain the above copyright notice,
// this list of condi... | msbahrul/EventStore | src/EventStore/EventStore.Core.Tests/Services/Storage/DeletingStream/when_deleting_stream_with_2_hash_collisions_and_mixed_order_read_index_should.cs | https://github.com/msbahrul/EventStore/blob/HEAD/src/EventStore/EventStore.Core.Tests/Services/Storage/DeletingStream/when_deleting_stream_with_2_hash_collisions_and_mixed_order_read_index_should.cs | ghcode:00178:3035101a241e | bsd-3-clause | codeparrot/github-code | 3035101a241ea8a969b1a281f775c9d5314ae70903b93351f9d42479c23ba773 | 0.85 | testing_debugging_repair_refactoring | 631 | false | 2026-07-17 |
using NUnit.Framework;
using NMock2.Internal;
namespace NMock2.Internal.Test
{
[TestFixture]
public class DescriptionWriterTest
{
DescriptionWriter writer;
[SetUp]
public void InitialiseWriter()
{
writer = new DescriptionWriter();
}
[Test]
public void FormatsStringsInCSharpSyntaxWhenWrittenAs... | b3cks/nmockEx | src/NMock2.Test/Internal/DescriptionWriterTest.cs | https://github.com/b3cks/nmockEx/blob/HEAD/src/NMock2.Test/Internal/DescriptionWriterTest.cs | ghcode:00178:6564deb9d21f | bsd-3-clause | codeparrot/github-code | 6564deb9d21f8e0796f7c79d5584b0c09f98076a71461d1f7d3d7318ea8c86f7 | 0.6 | testing_debugging_repair_refactoring | 197 | false | 2026-07-17 |
using System;
using d60.Cirqus.Identity;
using NUnit.Framework;
using Shouldly;
using Sprache;
namespace d60.Cirqus.Tests.Identity
{
public class KeyFormatTests
{
[Test]
public void ConvertsBackToString()
{
GetKeyFormat("ko-guid-{Int}-*-abe").ToString()
... | hdrachmann/Cirqus | d60.Cirqus.Tests/Identity/KeyFormatTests.cs | https://github.com/hdrachmann/Cirqus/blob/HEAD/d60.Cirqus.Tests/Identity/KeyFormatTests.cs | ghcode:00178:c4b2637830c8 | mit | codeparrot/github-code | c4b2637830c8bb072c8f544b092a65fdef19cac2ee251108d833819a53afe17a | 0.75 | testing_debugging_repair_refactoring | 285 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Resources;
using System.Ru... | krytarowski/corert | src/Common/src/System/SR.cs | https://github.com/krytarowski/corert/blob/HEAD/src/Common/src/System/SR.cs | ghcode:00178:e46d9244d25e | mit | codeparrot/github-code | e46d9244d25edadf975cebc726d9812929c7f21844c3d811d2a766bd797ae24e | 0.95 | testing_debugging_repair_refactoring | 1,250 | 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 Internal.TypeSystem;
using Xunit;
namespace TypeSystemTests
{
public class InstanceFieldLayoutTests
... | zenos-os/zenos | vendor/corert/src/ILCompiler.TypeSystem/tests/InstanceFieldLayoutTests.cs | https://github.com/zenos-os/zenos/blob/HEAD/vendor/corert/src/ILCompiler.TypeSystem/tests/InstanceFieldLayoutTests.cs | ghcode:00178:33772b5bbef4 | mit | codeparrot/github-code | 33772b5bbef4cd71c94a7a6f13dfaa6432ca017d904365194c71fc04d37bdc3b | 0.95 | testing_debugging_repair_refactoring | 5,946 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FluentTc.Locators;
using FluentAssertions;
using NUnit.Framework;
namespace FluentTc.Tests.Locators
{
[TestFixture]
public class BuildParameterTypeBuilderFormatTests
{
[TestCase(null, null, "checkbox")]
[TestCase(null, "kek", "checkbox ... | GibbOne/FluentTc | FluentTc.Tests/Locators/BuildParameterTypeBuilderFormatTests.cs | https://github.com/GibbOne/FluentTc/blob/HEAD/FluentTc.Tests/Locators/BuildParameterTypeBuilderFormatTests.cs | ghcode:00178:7ec90287757d | apache-2.0 | codeparrot/github-code | 7ec90287757d0bb50dd18242db3f9fc77d7ac5e0a37b475eeed04e808775e1d9 | 0.85 | testing_debugging_repair_refactoring | 2,950 | false | 2026-07-17 |
//
// Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net>
//
// 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 source code must retain the above co... | jkowalski/NLog | tests/NLog.UnitTests/LayoutRenderers/NDCTests.cs | https://github.com/jkowalski/NLog/blob/HEAD/tests/NLog.UnitTests/LayoutRenderers/NDCTests.cs | ghcode:00178:9a80fcab6984 | bsd-3-clause | codeparrot/github-code | 9a80fcab6984f324fd1ca5733a85c9fb33f4dc0803910f9aed38c8d231eac5bd | 0.85 | testing_debugging_repair_refactoring | 2,441 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Vipr.Core;
namespace ViprUnitTests
{
public class TestConfigurable : IConfigurable
{
public IConfigurationProvider ConfigurationProvider { get; private set; }
public void ... | MSOpenTech/Vipr | test/ViprCliUnitTests/TestConfigurable.cs | https://github.com/MSOpenTech/Vipr/blob/HEAD/test/ViprCliUnitTests/TestConfigurable.cs | ghcode:00178:2a5ec1a11e12 | mit | codeparrot/github-code | 2a5ec1a11e12ffa9ba4a41c4a4f881d6f097821267fee2e40d7390d5168252cb | 0.75 | testing_debugging_repair_refactoring | 86 | false | 2026-07-17 |
using System.Collections.Generic;
using Microsoft.TemplateEngine.Abstractions;
using Microsoft.TemplateEngine.Core;
using Microsoft.TemplateEngine.Core.Contracts;
using Microsoft.TemplateEngine.Orchestrator.RunnableProjects.Macros;
using Microsoft.TemplateEngine.Orchestrator.RunnableProjects.Macros.Config;
using Micro... | seancpeters/templating | test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/MacroTests/ConstantMacroTests.cs | https://github.com/seancpeters/templating/blob/HEAD/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/MacroTests/ConstantMacroTests.cs | ghcode:00178:fd86edb08c09 | mit | codeparrot/github-code | fd86edb08c094239ad3be56427b4f556ef3a631c445a0b7ee6aa380a8ae76f61 | 0.75 | testing_debugging_repair_refactoring | 547 | false | 2026-07-17 |
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class AVLTests
{
[TestMethod]
public void TraverseInOrder_AfterSingleInsert()
{
// Arrange
AVL<int> avl = new AVL<int>();
avl.Insert(1);
// Act
List<int> nodes ... | MihailDobrev/SoftUni | Open Courses/Data Structures/10. AVLTree - Lab/AVLTree.Tests/AVLTests.cs | https://github.com/MihailDobrev/SoftUni/blob/HEAD/Open Courses/Data Structures/10. AVLTree - Lab/AVLTree.Tests/AVLTests.cs | ghcode:00178:4f68da5598aa | mit | codeparrot/github-code | 4f68da5598aa35d474571cefb2d44c8b7103e9aab15f849bd864394a4227a828 | 0.85 | testing_debugging_repair_refactoring | 1,573 | false | 2026-07-17 |
using Llvm.NET;
using Llvm.NET.DebugInfo;
using Llvm.NET.Instructions;
using Llvm.NET.Types;
using Llvm.NET.Values;
using Microsoft.Zelig.CodeGeneration.IR;
using Microsoft.Zelig.Debugging;
using Microsoft.Zelig.Runtime.TypeSystem;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.... | smaillet-ms/llilum | Zelig/Zelig/CompileTime/CodeGenerator/CodeTransformation/LLVM/_BasicBlock.cs | https://github.com/smaillet-ms/llilum/blob/HEAD/Zelig/Zelig/CompileTime/CodeGenerator/CodeTransformation/LLVM/_BasicBlock.cs | ghcode:00178:d4325f987e2e | mit | codeparrot/github-code | d4325f987e2e4e41a792323f7701485f8b85d1fc692de4088ec4ebf9641e8ee2 | 0.85 | testing_debugging_repair_refactoring | 6,218 | false | 2026-07-17 |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using System.Collections.Generic;
using Microsoft.Azure.Mobile.Server.Notifications;
using Xuni... | aziel/azure-mobile-apps-net-server | test/Microsoft.Azure.Mobile.Server.Notifications.Test/Notifications/NotificationSecondaryTileTests.cs | https://github.com/aziel/azure-mobile-apps-net-server/blob/HEAD/test/Microsoft.Azure.Mobile.Server.Notifications.Test/Notifications/NotificationSecondaryTileTests.cs | ghcode:00178:f11ef376a81b | apache-2.0 | codeparrot/github-code | f11ef376a81bfe724a63bc9583de6bf24350ffba68f3bc22338290f5c6e541f7 | 0.85 | testing_debugging_repair_refactoring | 271 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.LanguageServer.UnitTests.References;
using Xunit;
names... | tannergooding/roslyn | src/Features/LanguageServer/ProtocolUnitTests/DocumentChanges/DocumentChangesTests.WithFindAllReferences.cs | https://github.com/tannergooding/roslyn/blob/HEAD/src/Features/LanguageServer/ProtocolUnitTests/DocumentChanges/DocumentChangesTests.WithFindAllReferences.cs | ghcode:00178:ca45cb44c396 | apache-2.0 | codeparrot/github-code | ca45cb44c39607c29987f3a6aadfc86bc5b40363cbc1021aecb9637cae2366c9 | 0.85 | testing_debugging_repair_refactoring | 803 | false | 2026-07-17 |
using System;
using System.Linq;
using NUnit.Framework;
using RethinkDb.Spec;
using NSubstitute;
using RethinkDb.DatumConverters;
namespace RethinkDb.Test.DatumConverters
{
[TestFixture]
public class TupleDatumConverterTests
{
private IDatumConverterFactory datumConverterFactory;
[TestFix... | nkreipke/rethinkdb-net | rethinkdb-net-test/DatumConverters/TupleDatumConverterTests.cs | https://github.com/nkreipke/rethinkdb-net/blob/HEAD/rethinkdb-net-test/DatumConverters/TupleDatumConverterTests.cs | ghcode:00178:3de699e66d02 | apache-2.0 | codeparrot/github-code | 3de699e66d02c4f00a2b424b413c4e2afa8c7a9d163a55609e4a7b51454fa78a | 0.75 | testing_debugging_repair_refactoring | 1,193 | false | 2026-07-17 |
using System.Collections.Generic;
using Newtonsoft.Json;
using Stratis.Bitcoin.Controllers.Converters;
using Xunit;
using Xunit.Abstractions;
namespace Stratis.Bitcoin.Tests.Converters
{
public class BtcDecimalJsonConverterTest
{
private readonly ITestOutputHelper console;
private readonly Js... | mikedennis/StratisBitcoinFullNode | src/Stratis.Bitcoin.Tests/Converters/BtcDecimalJsonConverterTest.cs | https://github.com/mikedennis/StratisBitcoinFullNode/blob/HEAD/src/Stratis.Bitcoin.Tests/Converters/BtcDecimalJsonConverterTest.cs | ghcode:00178:aafd89c667ca | mit | codeparrot/github-code | aafd89c667ca4b5b2c63da188d236b8439c0b0d284f5bcf6d1ae56f6f95a47ee | 0.85 | testing_debugging_repair_refactoring | 585 | 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 osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Objects.Drawables;
using osu.Game.Rulesets.Osu.Edit.Blueprints.Spinners;
using osu.... | ppy/osu | osu.Game.Rulesets.Osu.Tests/Editor/TestSceneSpinnerPlacementBlueprint.cs | https://github.com/ppy/osu/blob/HEAD/osu.Game.Rulesets.Osu.Tests/Editor/TestSceneSpinnerPlacementBlueprint.cs | ghcode:00178:15b99ff9d115 | mit | codeparrot/github-code | 15b99ff9d1155eaf3dda4c82322f5fbd024f60957472f911d4c70cc1a6b70190 | 0.75 | testing_debugging_repair_refactoring | 183 | 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.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Utils;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Catch.Ob... | ppy/osu | osu.Game.Rulesets.Catch.Tests/TestSceneComboCounter.cs | https://github.com/ppy/osu/blob/HEAD/osu.Game.Rulesets.Catch.Tests/TestSceneComboCounter.cs | ghcode:00178:a6544aee4f0d | mit | codeparrot/github-code | a6544aee4f0d6301f70d05eb960e0cf6ba3cb1b2f24d6e6bfef65d0976e20e68 | 0.75 | testing_debugging_repair_refactoring | 457 | 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 Y... | stuartwmurray/npoi | testcases/ooxml/TestPOIXMLDocument.cs | https://github.com/stuartwmurray/npoi/blob/HEAD/testcases/ooxml/TestPOIXMLDocument.cs | ghcode:00178:6b404e6989d8 | apache-2.0 | codeparrot/github-code | 6b404e6989d8e306e472f01d5eab018a3d92095608f2dc4ab0bc1b5e42168160 | 0.85 | testing_debugging_repair_refactoring | 1,268 | false | 2026-07-17 |
using System.Collections.Generic;
using Microsoft.Xna.Framework;
namespace Tests.Microsoft.Xna.Framework
{
public class TestGraphicsDeviceManager : GraphicsDeviceManager
{
bool _clearDevices;
public TestGraphicsDeviceManager(Game game) : base(game)
{
}
public TestGraph... | mjs513/monoxna | tests/Microsoft.Xna.Framework/TestGraphicsDeviceManager.cs | https://github.com/mjs513/monoxna/blob/HEAD/tests/Microsoft.Xna.Framework/TestGraphicsDeviceManager.cs | ghcode:00178:c05c11dcdf26 | mit | codeparrot/github-code | c05c11dcdf267a00adef9ca49195c7c0faa819421bca2776aeb23d42d5170e51 | 0.75 | testing_debugging_repair_refactoring | 197 | false | 2026-07-17 |
using CodeCracker.CSharp.Style;
using System.Threading.Tasks;
using Xunit;
namespace CodeCracker.Test.CSharp.Style
{
public class PropertyPrivateSetTests : CodeFixVerifier<PropertyPrivateSetAnalyzer, PropertyPrivateSetCodeFixProvider>
{
[Fact]
public async Task PropertyPrivateDeclaration()
... | ElemarJR/code-cracker | test/CSharp/CodeCracker.Test/Style/PropertyPrivateSetTests.cs | https://github.com/ElemarJR/code-cracker/blob/HEAD/test/CSharp/CodeCracker.Test/Style/PropertyPrivateSetTests.cs | ghcode:00178:c8a6362f20a7 | apache-2.0 | codeparrot/github-code | c8a6362f20a73d7b32f21cbe2c89b9e73a7f26abce2e87267326dc4c8670c420 | 0.75 | testing_debugging_repair_refactoring | 940 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Moq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Composing;
using Umbraco.Core.Exceptions;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Core.Models.PublishedContent;
using Umbrac... | tcmorris/Umbraco-CMS | src/Umbraco.Tests/Published/NestedContentTests.cs | https://github.com/tcmorris/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Published/NestedContentTests.cs | ghcode:00178:b7effecae109 | mit | codeparrot/github-code | b7effecae109246cce9180968152af580aaa38162a114c60bbadd31c206116db | 0.85 | testing_debugging_repair_refactoring | 2,105 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="ODataWriterTestWrapper.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//------------------------------... | hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataOData/Tests/OData.Writer.Tests/Common/ODataWriterTestWrapper.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Tests/OData.Writer.Tests/Common/ODataWriterTestWrapper.cs | ghcode:00178:5117a8a20a7a | mit | codeparrot/github-code | 5117a8a20a7a47f3795101704fc836524bc596c8b0ba47993aab6138efd71fe5 | 0.95 | testing_debugging_repair_refactoring | 1,744 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// <copyright file="BigIntStorage.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="true">[....]</owner>
// <owner current="true" primary="false">[.... | sekcheong/referencesource | System.Data/System/Data/Common/BigIntegerStorage.cs | https://github.com/sekcheong/referencesource/blob/HEAD/System.Data/System/Data/Common/BigIntegerStorage.cs | ghcode:00178:60ce5bdab648 | mit | codeparrot/github-code | 60ce5bdab648c0a7090a48fc275d6a02aad14f9a6706bf44c0f4dfe8c1f58757 | 0.7 | testing_debugging_repair_refactoring | 1,411 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
namespace System.Linq
{
public static partial clas... | dotnet-bot/corefx | src/System.Linq/src/System/Linq/Concat.cs | https://github.com/dotnet-bot/corefx/blob/HEAD/src/System.Linq/src/System/Linq/Concat.cs | ghcode:00178:3f747810f77f | mit | codeparrot/github-code | 3f747810f77f6608cfa51a76ddd578ee1ff2c9aacf7af88b99d1bffd19b9ef1a | 0.95 | testing_debugging_repair_refactoring | 3,120 | 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.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.Implementation.Outlining;
using Microsoft.CodeAn... | leppie/roslyn | src/EditorFeatures/CSharpTest/Outlining/MetadataAsSource/InvalidIdentifierTests.cs | https://github.com/leppie/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Outlining/MetadataAsSource/InvalidIdentifierTests.cs | ghcode:00178:10b22ae3f98c | apache-2.0 | codeparrot/github-code | 10b22ae3f98cdead72bb628d4e0722c35102e6aad09487151fa91af75dd9f6c1 | 0.85 | testing_debugging_repair_refactoring | 601 | false | 2026-07-17 |
//
// XmlDsigXPathTransformTest.cs - Test Cases for XmlDsigXPathTransform
//
// Author:
// Sebastien Pouliot <sebastien@ximian.com>
//
// (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com)
// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
//
// Licensed to the .NET Foundation under one or more a... | DnlHarvey/corefx | src/System.Security.Cryptography.Xml/tests/XmlDsigXPathTransformTest.cs | https://github.com/DnlHarvey/corefx/blob/HEAD/src/System.Security.Cryptography.Xml/tests/XmlDsigXPathTransformTest.cs | ghcode:00178:68e3cddf42f5 | mit | codeparrot/github-code | 68e3cddf42f5af8436780f43be5f18b74b198cb65d69ddc526ef9192bbaf74f3 | 0.95 | testing_debugging_repair_refactoring | 2,459 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.C... | pdelvo/roslyn | src/Compilers/CSharp/Test/Symbol/Compilation/CSharpCompilationOptionsTests.cs | https://github.com/pdelvo/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/Compilation/CSharpCompilationOptionsTests.cs | ghcode:00178:a1684337756b | apache-2.0 | codeparrot/github-code | a1684337756b53433c0db56f2cb23a5eeec6969a7af91aeed07caebcbdd9bedf | 0.95 | testing_debugging_repair_refactoring | 5,784 | 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.ComponentModel.Composition.Factories;
using System.ComponentModel.Com... | shimingsg/corefx | src/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/ImportingComposablePart.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/ImportingComposablePart.cs | ghcode:00178:4e2376e8a672 | mit | codeparrot/github-code | 4e2376e8a6722ad9470c21a5366a3ec11aa8f5ad19f2c34af40b7f3665f3e6ad | 0.95 | testing_debugging_repair_refactoring | 773 | 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.Concurrent;
using System.Collections.Generic;
using Xunit;
names... | BrennanConroy/corefx | src/System.Linq.Parallel/tests/ParallelEnumerableTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Linq.Parallel/tests/ParallelEnumerableTests.cs | ghcode:00178:b9834043653b | mit | codeparrot/github-code | b9834043653bbe9725f3b92bb6d14dcd5e7b33c7340472aadef1622553910dc7 | 0.95 | testing_debugging_repair_refactoring | 2,128 | 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.ComponentModel.Composition.Factories;
using System.Comp... | BrennanConroy/corefx | src/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/ReflectionModel/ReflectionMemberExportDefinitionTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/ReflectionModel/ReflectionMemberExportDefinitionTests.cs | ghcode:00178:bddc7b0aaef4 | mit | codeparrot/github-code | bddc7b0aaef4b9dfb617f5561d9a33c3a1b5ca8dbfaa0846de31bdccc9d497c3 | 0.95 | testing_debugging_repair_refactoring | 1,229 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law ... | cwickham3/azure-sdk-for-net | src/ServiceManagement/Network/Network.Tests/Gateways/GetSharedKeyTests.cs | https://github.com/cwickham3/azure-sdk-for-net/blob/HEAD/src/ServiceManagement/Network/Network.Tests/Gateways/GetSharedKeyTests.cs | ghcode:00178:79ea2f9c5151 | apache-2.0 | codeparrot/github-code | 79ea2f9c5151bab12cee119ca1869b1ddb1aad760f4faafc943ef5358f0a62d8 | 0.85 | testing_debugging_repair_refactoring | 596 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Reflection;
using System.Reflection.Emit;
using System.IO;
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class AssemblyB... | vs-team/corefx | src/System.Reflection.Emit/tests/AssemblyBuilder/AssemblyBuilderGetManifestResourceStream1.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Reflection.Emit/tests/AssemblyBuilder/AssemblyBuilderGetManifestResourceStream1.cs | ghcode:00178:7e98b3cf455e | mit | codeparrot/github-code | 7e98b3cf455e5dabb382037159cac76c43b1791edd9d84213106ee069055c1c2 | 0.85 | testing_debugging_repair_refactoring | 142 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using Xunit;
using BitArrayTests.BitArray_BitArray_GetSetTests;
namespace BitArrayTests
{
namespace BitArray_BitArray_GetS... | vs-team/corefx | src/System.Collections/tests/BitArray/BitArray_GetSetTests.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Collections/tests/BitArray/BitArray_GetSetTests.cs | ghcode:00178:66dccba5c3e5 | mit | codeparrot/github-code | 66dccba5c3e50f03e383bffe68725a022a25eb71001c983fa256dce76ae5c1fd | 0.95 | testing_debugging_repair_refactoring | 2,963 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EX_Converter
{
internal class TestStep
{
public int StepNumber { get; private set; }
public string Actions { get; private set; }
public string ExpectedResults { get; private set; }
p... | bubblebenj/xl2testlink | src/EX-Converter/TestStep.cs | https://github.com/bubblebenj/xl2testlink/blob/HEAD/src/EX-Converter/TestStep.cs | ghcode:00178:e5f6e0792b9a | isc | codeparrot/github-code | e5f6e0792b9a170c674c7bf9c6a17404b1e4f3ee477680c1d0d27671bdfada61 | 0.75 | testing_debugging_repair_refactoring | 143 | false | 2026-07-17 |
using Cake.Core;
using NSubstitute;
using Xunit;
namespace Cake.Common.Tests.Unit
{
public sealed class EnvironmentAliasesTests
{
private const string TestVariableName = "Test";
private const string TestVariableValue = "Value";
public sealed class TheHasEnvironmentVariableMethod
... | manekovskiy/cake | src/Cake.Common.Tests/Unit/EnvironmentAliasesTests.cs | https://github.com/manekovskiy/cake/blob/HEAD/src/Cake.Common.Tests/Unit/EnvironmentAliasesTests.cs | ghcode:00178:e4ca595b389c | mit | codeparrot/github-code | e4ca595b389cf4eaa4c6f2de798b7c76f93728b8498fc18b3254e63eaa9840f9 | 0.85 | testing_debugging_repair_refactoring | 553 | 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.Linq;
using System.Net.Sockets;
using System.Threading;
using System.... | khdang/corefx | src/System.Net.Http/tests/FunctionalTests/HttpClientMiniStressTest.cs | https://github.com/khdang/corefx/blob/HEAD/src/System.Net.Http/tests/FunctionalTests/HttpClientMiniStressTest.cs | ghcode:00178:e745644de679 | mit | codeparrot/github-code | e745644de679c4139d39e2f17d36c6d0752d0aa53c0b0fcf0caedfd7efc7552f | 0.95 | testing_debugging_repair_refactoring | 1,992 | false | 2026-07-17 |
using System;
using Mensura.Length;
using Xunit;
namespace Mensura.Tests.Length
{
public class HectometreTests
: UnitOfLengthTTests<Hectometre>
{
public HectometreTests()
: base(new Hectometre(5))
{
}
[Fact]
public void Ctor_WithZeroValue_DoesNotThrow()
{
_ = new Hectomet... | akamsteeg/Mensura | src/Mensura.Tests/Length/HectometreTests.cs | https://github.com/akamsteeg/Mensura/blob/HEAD/src/Mensura.Tests/Length/HectometreTests.cs | ghcode:00178:c33046e928c0 | mit | codeparrot/github-code | c33046e928c08ecb30a3022778df9ca5c28d6b1cb4db452f061ede2e7e185caa | 0.75 | testing_debugging_repair_refactoring | 138 | 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/IssueViz.UnitTests/Editor/LocationTagging/LocationTaggerProviderTests.cs | https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/blob/HEAD/src/IssueViz.UnitTests/Editor/LocationTagging/LocationTaggerProviderTests.cs | ghcode:00178:7c0044a18f23 | mit | codeparrot/github-code | 7c0044a18f23fb13598c753a4f2367ab751c75dafee3557d06fc211593f3cf56 | 0.85 | testing_debugging_repair_refactoring | 968 | false | 2026-07-17 |
using NUnit.Framework;
using QbSync.QbXml.Extensions;
using QbSync.QbXml.Objects;
using QbSync.QbXml.Tests.Helpers;
using System;
using System.Xml;
namespace QbSync.QbXml.Tests.QbXml
{
[TestFixture]
class DataExtDefAddRequestTests
{
[Test]
public void BasicDataExtDefAddRequestTest()
... | cyberjared/quickbooks-sync | test/QbXml.Tests/Messages/Requests/DataExtDefAddRequestTests.cs | https://github.com/cyberjared/quickbooks-sync/blob/HEAD/test/QbXml.Tests/Messages/Requests/DataExtDefAddRequestTests.cs | ghcode:00178:16a911d60a50 | mit | codeparrot/github-code | 16a911d60a50214f11abc343e0a184e270d2bdcfd1e689694f819998ceaebd0a | 0.75 | testing_debugging_repair_refactoring | 480 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework;
namespace LinqInternals.Tests
{
/// <summary>
/// This is originally from MoreLINQ:
/// http://morelinq.googlecode.com
///
/// It may end up being expanded a bit though :)
/// </summary>
public static class TestExtensions
{
... | jakubjenis/lecture.net | Presentations/Linq/LinqInternals/LinqInternals.Tests/TestExtensions.cs | https://github.com/jakubjenis/lecture.net/blob/HEAD/Presentations/Linq/LinqInternals/LinqInternals.Tests/TestExtensions.cs | ghcode:00178:f09f90ad96dc | mit | codeparrot/github-code | f09f90ad96dcbe01b8564fb862960853049949db9f7abe2afe6aed47a52cd743 | 0.85 | testing_debugging_repair_refactoring | 256 | false | 2026-07-17 |
using Xunit;
using Xunit.Abstractions;
using Shouldly;
using Nancy.Testing;
using Nancy;
namespace service.home.tests
{
using common.tests;
public class HomeTest : BaseTest
{
TestNancyNinjectBootstrapper bs;
public HomeTest(ITestOutputHelper testOutput) : base(testOutput)
... | dugooder/a-microservice | src/service.home.tests/HomeTests.cs | https://github.com/dugooder/a-microservice/blob/HEAD/src/service.home.tests/HomeTests.cs | ghcode:00178:d948b5bc440b | mit | codeparrot/github-code | d948b5bc440be9018df7e50abf9f4b9a204301d52b2e5efd151e9ac32045ef30 | 0.75 | testing_debugging_repair_refactoring | 323 | false | 2026-07-17 |
/*
* ExceptionTester.cs - Test common exception functionality.
*
* Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2... | jjenki11/blaze-chem-rendering | qca_designer/lib/pnetlib-0.8.0/tests/runtime/System/ExceptionTester.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/pnetlib-0.8.0/tests/runtime/System/ExceptionTester.cs | ghcode:00178:51929af0b894 | mit | codeparrot/github-code | 51929af0b894469f0babb9cab41ea92b856aa0d883379c17690e51d14f7ddac8 | 0.95 | testing_debugging_repair_refactoring | 1,451 | false | 2026-07-17 |
using FluentAssertions;
using NUnit.Framework;
using Ploeh.AutoFixture;
using SFA.DAS.Recruit.Vacancies.Client.Entities;
namespace Esfa.Vacancy.UnitTests.GetApprenticeshipVacancy.Api.Mappings.GivenRecruitApprenticeshipMapper
{
[TestFixture]
public class WhenMappingDuration : RecruitApprenticeshipMapperBase
... | SkillsFundingAgency/vacancy-register-api | src/Esfa.Vacancy.UnitTests/GetApprenticeshipVacancy/Api/Mappings/GivenRecruitApprenticeshipMapper/WhenMappingDuration.cs | https://github.com/SkillsFundingAgency/vacancy-register-api/blob/HEAD/src/Esfa.Vacancy.UnitTests/GetApprenticeshipVacancy/Api/Mappings/GivenRecruitApprenticeshipMapper/WhenMappingDuration.cs | ghcode:00178:9c7150288e4d | mit | codeparrot/github-code | 9c7150288e4d444fd8de96252ff4e2c28bb93b34a3bebaebde50cef0b74a21fa | 0.75 | testing_debugging_repair_refactoring | 247 | false | 2026-07-17 |
// <copyright file="RockActionTests.cs" company="https://github.com/yangyuan">
// Copyright (c) The Hearthrock Project. All rights reserved.
// </copyright>
namespace Hearthrock.Tests.Contracts
{
using System.Collections.Generic;
using Hearthrock.Contracts;
using Microsoft.VisualStudio.TestTools.Uni... | yangyuan/hearthrock | src/Hearthrock.Tests/Contracts/RockActionTests.cs | https://github.com/yangyuan/hearthrock/blob/HEAD/src/Hearthrock.Tests/Contracts/RockActionTests.cs | ghcode:00178:ca9a79c31592 | mit | codeparrot/github-code | ca9a79c31592bdc89d8240bd14381b592b1dac9f0e19a6da51d4e010d058a975 | 0.85 | testing_debugging_repair_refactoring | 219 | false | 2026-07-17 |
// This file was auto-generated based on version 1.7.0 of the canonical data.
using Xunit;
public class IsogramTest
{
[Fact]
public void Empty_string()
{
Assert.True(Isogram.IsIsogram(""));
}
[Fact(Skip = "Remove to run test")]
public void Isogram_with_only_lower_case_characters()
... | ErikSchierboom/xcsharp | exercises/isogram/IsogramTest.cs | https://github.com/ErikSchierboom/xcsharp/blob/HEAD/exercises/isogram/IsogramTest.cs | ghcode:00178:6c0fb0051ab7 | mit | codeparrot/github-code | 6c0fb0051ab71d467b33a1b1e071d7440b6eb4896654de14c779c7e2fce70ddc | 0.6 | testing_debugging_repair_refactoring | 559 | false | 2026-07-17 |
using System.Collections.Generic;
using Kirkin.Mapping;
using NUnit.Framework;
namespace Kirkin.Tests.Mapping
{
public class ExpressionMemberMappingTests
{
[Test]
public void GenericGetter()
{
Member<Dictionary<string, object>> idMember = new ExpressionMember<Dictionary<s... | KirillShlenskiy/Kirkin | src/Kirkin.Tests/Mapping/ExpressionMemberMappingTests.cs | https://github.com/KirillShlenskiy/Kirkin/blob/HEAD/src/Kirkin.Tests/Mapping/ExpressionMemberMappingTests.cs | ghcode:00178:796dd90d2b61 | mit | codeparrot/github-code | 796dd90d2b61ac122214ec7816578a7d8ecdf57a635ea0cefe7478262ffbe2a4 | 0.75 | testing_debugging_repair_refactoring | 1,029 | false | 2026-07-17 |
namespace TBag.BloomFilters.Measurements.Test
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using System.IO;
using BloomFilters.Estimators;
using Invertible.Estimators;
/// <summary>
/// Summary description for hybridEstimatorTest
/... | theezak/BloomFilters | TBag.BloomFilters.Measurements.Test/HybridEstimatorTest.cs | https://github.com/theezak/BloomFilters/blob/HEAD/TBag.BloomFilters.Measurements.Test/HybridEstimatorTest.cs | ghcode:00178:d03d589b63b2 | mit | codeparrot/github-code | d03d589b63b23ec95483ade4e3426dd183bd1fd82bb90f44b57b4b5fa05812f7 | 0.85 | testing_debugging_repair_refactoring | 833 | false | 2026-07-17 |
/*
* Copyright (c) 2020, Norsk Helsenett SF and contributors
* See the file CONTRIBUTORS for details.
*
* This file is licensed under the MIT license
* available at https://raw.githubusercontent.com/helsenorge/Helsenorge.Messaging/master/LICENSE
*/
using Microsoft.Extensions.Logging;
using System;
using Xunit... | ehelse/Helsenorge.Messaging | test/Helsenorge.Messaging.IntegrationTests/XUnitLoggerProvider.cs | https://github.com/ehelse/Helsenorge.Messaging/blob/HEAD/test/Helsenorge.Messaging.IntegrationTests/XUnitLoggerProvider.cs | ghcode:00178:a737cef5a774 | mit | codeparrot/github-code | a737cef5a774261a5aade901b2a9baeb8348782c4505b0ac65f05018e6f5b9ed | 0.85 | testing_debugging_repair_refactoring | 549 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Marten.Schema;
using Marten.Services;
using Marten.Testing.Documents;
using Shouldly;
using Xunit;
namespace Marten.Testing.Acceptance
{
public class assigning_versions_to_documents
{
... | jokokko/marten | src/Marten.Testing/Acceptance/assigning_versions_to_documents.cs | https://github.com/jokokko/marten/blob/HEAD/src/Marten.Testing/Acceptance/assigning_versions_to_documents.cs | ghcode:00178:9268dd94e29f | mit | codeparrot/github-code | 9268dd94e29fd6256829ca98576e0dc6a6df7375d8d784539d5a07f56ebaca9c | 0.85 | testing_debugging_repair_refactoring | 1,679 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2008 Charlie Poole
//
// 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, incl... | AgileJoshua/Portable.NUnitLite | Source/src/framework/Constraints/DelayedConstraint.cs | https://github.com/AgileJoshua/Portable.NUnitLite/blob/HEAD/Source/src/framework/Constraints/DelayedConstraint.cs | ghcode:00178:41d90299698d | mit | codeparrot/github-code | 41d90299698d70c20cf0e58d86b05cf2ed58537575533f152a2fcb3121a00d93 | 0.95 | testing_debugging_repair_refactoring | 1,744 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ExecuteAsyncShould.cs" company="Epworth Consulting Ltd.">
// © Epworth Consulting Ltd.
// </copyright>
// -----------------------------------------------------------------------... | acraven/service-bus | src/Atlas.ServiceBus.Tests/TaskLibraryTests/ExecuteAsyncShould.cs | https://github.com/acraven/service-bus/blob/HEAD/src/Atlas.ServiceBus.Tests/TaskLibraryTests/ExecuteAsyncShould.cs | ghcode:00178:f42f5010d144 | mit | codeparrot/github-code | f42f5010d14419d9cad1e9ae9ead70b4060e99658bf8bbfad750dbeee949b65e | 0.85 | testing_debugging_repair_refactoring | 320 | false | 2026-07-17 |
using CharacterGen.Alignments;
using CharacterGen.Domain.Generators.Randomizers.Alignments;
using CharacterGen.Domain.Tables;
using CharacterGen.Verifiers.Exceptions;
using DnDGen.Core.Generators;
using DnDGen.Core.Selectors.Collections;
using DnDGen.Core.Selectors.Percentiles;
using Moq;
using NUnit.Framework;
using ... | DnDGen/CharacterGen | CharacterGen.Tests.Unit/Generators/Randomizers/Alignments/BaseAlignmentRandomizerTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Unit/Generators/Randomizers/Alignments/BaseAlignmentRandomizerTests.cs | ghcode:00178:6f62083618b4 | mit | codeparrot/github-code | 6f62083618b46fde7aa68318d685c78a166feebfb6b872db4885898b65a3cd28 | 0.75 | testing_debugging_repair_refactoring | 1,257 | false | 2026-07-17 |
using System;
using System.IO;
using NUnit.Framework;
using ValveResourceFormat;
namespace Tests
{
public class FontTest
{
[Test]
public void DecryptFonts()
{
var path = Path.Combine(TestContext.CurrentContext.TestDirectory, "Files", "Fonts");
var files = Direct... | SteamDatabase/ValveResourceFormat | Tests/FontTest.cs | https://github.com/SteamDatabase/ValveResourceFormat/blob/HEAD/Tests/FontTest.cs | ghcode:00178:1e0a8b566ba2 | mit | codeparrot/github-code | 1e0a8b566ba233bea32363870805f265e91149852109adeb4ba6aac7d3fe2d7f | 0.75 | testing_debugging_repair_refactoring | 154 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UITesting.HtmlControls;
namespace CodedUIAgilityPack.Controls.Interfaces
{
/// <summary>
/// Interface representing Checkbox control
/// </summary>
public interface ICheckboxControls
{
/// <summary>
/// Localizate the checkbox based on the css... | quintelab/CodedUIAgilityPack | CodedUIAgilityPack/Controls/Interfaces/ICheckboxControls.cs | https://github.com/quintelab/CodedUIAgilityPack/blob/HEAD/CodedUIAgilityPack/Controls/Interfaces/ICheckboxControls.cs | ghcode:00178:c8246ece37b2 | mit | codeparrot/github-code | c8246ece37b2e7f9e29ba41373923a20e4c8f29bc6d5d3a5abe52fd4c43c8ffc | 0.7 | testing_debugging_repair_refactoring | 253 | false | 2026-07-17 |
namespace ElasticAnalytics.ScAdapter.Tests.Integration
{
using Xunit;
public class NCrunchFindTests
{
[Fact]
public void NCrunchFindTestsInAssemblyPlease() { }
}
}
| trevorreeves/Sitecore-ElasticAnalytics | code/tests/ElasticAnalytics.ScAdapter.Tests.Integration/NCrunchFindTests.cs | https://github.com/trevorreeves/Sitecore-ElasticAnalytics/blob/HEAD/code/tests/ElasticAnalytics.ScAdapter.Tests.Integration/NCrunchFindTests.cs | ghcode:00178:17c029900820 | mit | codeparrot/github-code | 17c0299008201b9e9a30e6edce20a0fd0ed3394ba997ba2a77d2311047b7b8ec | 0.6 | testing_debugging_repair_refactoring | 46 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace NUnit_v2_samples
{
[TestFixture]
public class NUnitSampleAttributesTests
{
[Test]
[ExpectedException{caret}]
public void Test1Exception()
{
foo1();
foo2();
foo1();
}
... | constructor-igor/NUnit.That.Resharper.Plugin | sources/ReSharperPluginTests/Test/data/ExpectedExceptionToConstrainBased/executionAttribute_SelectedAttribute.cs | https://github.com/constructor-igor/NUnit.That.Resharper.Plugin/blob/HEAD/sources/ReSharperPluginTests/Test/data/ExpectedExceptionToConstrainBased/executionAttribute_SelectedAttribute.cs | ghcode:00178:9ff19d76def3 | mit | codeparrot/github-code | 9ff19d76def3c756f33daa8bb2b9243f6b89a74efd3d72c1d0b6eebbc8a69bfc | 0.85 | testing_debugging_repair_refactoring | 89 | false | 2026-07-17 |
using System;
using UnityEngine.Rendering;
namespace UnityEngine.Experimental.Rendering.HDPipeline
{
public partial class PreIntegratedFGD
{
[GenerateHLSL]
public enum FGDTexture
{
Resolution = 64
}
static PreIntegratedFGD s_Instance;
public static ... | Unity-Technologies/ScriptableRenderLoop | com.unity.render-pipelines.high-definition/Runtime/Material/PreIntegratedFGD/PreIntegratedFGD.cs | https://github.com/Unity-Technologies/ScriptableRenderLoop/blob/HEAD/com.unity.render-pipelines.high-definition/Runtime/Material/PreIntegratedFGD/PreIntegratedFGD.cs | ghcode:00178:4e8b967471eb | mit | codeparrot/github-code | 4e8b967471eb4975c5713674861cf71dd2c8ef4597aecb4e9654cf5505b53558 | 0.75 | testing_debugging_repair_refactoring | 1,220 | false | 2026-07-17 |
using AutoBogus.Templating;
using FluentAssertions;
using Xunit;
namespace AutoBogus.Playground
{
public class TemplateFixture
{
private class Person
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Status { get; ... | nickdodd79/AutoBogus | src/AutoBogus.Playground/TemplateFixture.cs | https://github.com/nickdodd79/AutoBogus/blob/HEAD/src/AutoBogus.Playground/TemplateFixture.cs | ghcode:00178:b4ae3f0cd3ae | mit | codeparrot/github-code | b4ae3f0cd3aefa145556e4932df04f1f7bd557b02ee8bb84cf488cc84835de76 | 0.75 | testing_debugging_repair_refactoring | 289 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnsafeAM.Collections;
using UnsafeAM.Runtime;
using JetBrains.Annotations;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
// ReSharper disable ExpressionIsAlwaysNull
//... | amironov73/ManagedIrbis | Source/UnitTests/UnsafeIrbis/AM/Collections/CharSetTest.cs | https://github.com/amironov73/ManagedIrbis/blob/HEAD/Source/UnitTests/UnsafeIrbis/AM/Collections/CharSetTest.cs | ghcode:00178:0cbab25fade5 | mit | codeparrot/github-code | 0cbab25fade570313882bb2983aeeed4d344bdeaf2566dcf0ae06f5e4b1792ff | 0.75 | testing_debugging_repair_refactoring | 2,305 | false | 2026-07-17 |
#if !UNITY_IOS
namespace Shopify.UIToolkit.Test.Integration {
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.TestTools;
using Shopify.Unity.SDK;
using NUnit.Framework;
public class TestRemoteImageLoaderIntegration : MonoBehaviour {
[TearDown]
... | Shopify/unity-buy-sdk | Assets/Shopify/UIToolkit/Test/Integration/TestRemoteImageLoaderIntegration.cs | https://github.com/Shopify/unity-buy-sdk/blob/HEAD/Assets/Shopify/UIToolkit/Test/Integration/TestRemoteImageLoaderIntegration.cs | ghcode:00178:793df25f04d4 | mit | codeparrot/github-code | 793df25f04d4dd50c4ad15f67891ee85bbc4870a5bafebec3d9636231452627c | 0.95 | testing_debugging_repair_refactoring | 584 | false | 2026-07-17 |
namespace PhotoArtSystem.Tests.UnitTests.Services.HttpCacheServiceTests
{
using Common.Constants;
using NUnit.Framework;
using PhotoArtSystem.Services.Web;
[TestFixture]
public class Remove_Should
{
[Test]
public void Throw_ArgumentNullException_WithProperMessage_When_ItemName_... | Borayvor/ASP.NET-MVC-CourseProject-2017 | PhotoArtSystem/Tests/PhotoArtSystem.Tests.UnitTests/Services/HttpCacheServiceTests/Remove_Should.cs | https://github.com/Borayvor/ASP.NET-MVC-CourseProject-2017/blob/HEAD/PhotoArtSystem/Tests/PhotoArtSystem.Tests.UnitTests/Services/HttpCacheServiceTests/Remove_Should.cs | ghcode:00178:54e26991566d | mit | codeparrot/github-code | 54e26991566d442115febfb93c7d6852bea8e3fac64cf7acf5e612e05ec1d7b6 | 0.85 | testing_debugging_repair_refactoring | 123 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProtParser
{
class PrototypeGenerator
{
class FunctionArgumentPrototype
{
public readonly List<string> Names;
public ... | f1nalspace/final_game_tech | apps/ProtParser/PrototypeGenerator.cs | https://github.com/f1nalspace/final_game_tech/blob/HEAD/apps/ProtParser/PrototypeGenerator.cs | ghcode:00178:314eb3580c9b | mit | codeparrot/github-code | 314eb3580c9b7c66382df0180d72cf3c559451827623c540ce534442787f52aa | 0.7 | testing_debugging_repair_refactoring | 1,413 | false | 2026-07-17 |
namespace Kamen.Tests.ProcessService
{
using Moq;
using Kamen.TimeService;
using Kamen.ProcessService;
using Microsoft.Extensions.Logging;
using Kamen.FileSystemService;
using Microsoft.Extensions.Options;
public class ProcessWatchdogHelper
{
public Mock<ILogger<ProcessWatchdog... | MindMatrix/Kamen | tests/ProcessService/ProcessWatchdogHelper.cs | https://github.com/MindMatrix/Kamen/blob/HEAD/tests/ProcessService/ProcessWatchdogHelper.cs | ghcode:00178:102211bcdab1 | mit | codeparrot/github-code | 102211bcdab1b7c2ad2c44e342ecc2408782fdee26c3c32733f6ef11491249e0 | 0.75 | testing_debugging_repair_refactoring | 177 | 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.
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// DataflowEtwProvider.cs
//
//
// EventSource for Dataflow.
//
// =-=-=-=... | FiveTimesTheFun/corefx | src/System.Threading.Tasks.Dataflow/src/Internal/DataflowEtwProvider.cs | https://github.com/FiveTimesTheFun/corefx/blob/HEAD/src/System.Threading.Tasks.Dataflow/src/Internal/DataflowEtwProvider.cs | ghcode:00178:253bf0bdb676 | mit | codeparrot/github-code | 253bf0bdb676fa79e955477a8671f8f1542e6fdb067dc74c29b5098a65f57727 | 0.95 | testing_debugging_repair_refactoring | 2,268 | false | 2026-07-17 |
using NUnit.Framework;
using System;
namespace Lingo.Test
{
[TestFixture]
class ComparablePredicateTest : Expectation
{
private DateTime now;
private DateTime before;
private DateTime after;
[SetUp]
public void SetUp()
{
now = DateTime.Now;
... | delta62/lingo | Lingo.Test/src/ComparablePredicateTest.cs | https://github.com/delta62/lingo/blob/HEAD/Lingo.Test/src/ComparablePredicateTest.cs | ghcode:00178:97a781e06275 | mit | codeparrot/github-code | 97a781e062752e0e36832b8e68510394556f7b4f6496278c6f61b7e53bafcb76 | 0.7 | testing_debugging_repair_refactoring | 278 | false | 2026-07-17 |
using HtmlAgilityPack;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RankOne.Analyzers.Performance;
using RankOne.Helpers;
using RankOne.Interfaces;
using RankOne.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace RankOne.Tests.Analyzers
{
[TestClass]
public class... | markwemekamp/RankOne-Umbraco-SEO-Tool | src/RankOne.Tests/Analyzers/AdditionalCallAnalyzerTest.cs | https://github.com/markwemekamp/RankOne-Umbraco-SEO-Tool/blob/HEAD/src/RankOne.Tests/Analyzers/AdditionalCallAnalyzerTest.cs | ghcode:00178:494ec505b635 | mit | codeparrot/github-code | 494ec505b6355a9a0ac97f20b5ba1593ff19d5f2083d510d5d8533ce3d0462bf | 0.7 | testing_debugging_repair_refactoring | 2,013 | false | 2026-07-17 |
using System.IO;
using NUnit.Framework;
[TestFixture]
public class ProjectInjectorTests
{
[Test]
public void WithNoWeaving()
{
var sourceProjectFile = Path.GetFullPath(@"TestProjects\ProjectWithNoWeaving.csproj");
var targetFile = Path.GetTempFileName();
File.Copy(sourceProjectFile... | shanselman/Fody | FodyVsPackage.Tests/ProjectInjectorTests.cs | https://github.com/shanselman/Fody/blob/HEAD/FodyVsPackage.Tests/ProjectInjectorTests.cs | ghcode:00178:e9261b546020 | mit | codeparrot/github-code | e9261b54602006ae2a484502d89fcb2affb72c64323cafce5bf32727d5784fbb | 0.75 | testing_debugging_repair_refactoring | 286 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Neutronium.Core;
namespace Tests.Infra.IntegratedContextTesterHelper.Windowless
{
public class TestInContextAsync : TestContextBase
{
public Func<IHtmlBinding, Task> Test { get; set; }
}
}
| David-Desmaisons/Neutronium | Tests/Infra/Tests.Infra.IntegratedContextTesterHelper.Window/Windowless/TestInContextAsync.cs | https://github.com/David-Desmaisons/Neutronium/blob/HEAD/Tests/Infra/Tests.Infra.IntegratedContextTesterHelper.Window/Windowless/TestInContextAsync.cs | ghcode:00178:2be7df438f0d | mit | codeparrot/github-code | 2be7df438f0d8a2b6672d0f8f4766ec08a1ca47fafce3fe873836a6b131668e4 | 0.75 | testing_debugging_repair_refactoring | 60 | false | 2026-07-17 |
using System;
using TAlex.MathCore;
using NUnit.Framework;
using FluentAssertions;
namespace TAlex.MathCore.Tests
{
[TestFixture]
public class FractionTests
{
[Test]
public void op_EqualityTest()
{
//arrange
Fraction frac1 = new Fraction(39, 99);
... | T-Alex/MathCore | src/TAlex.MathCore.Tests/FractionTests.cs | https://github.com/T-Alex/MathCore/blob/HEAD/src/TAlex.MathCore.Tests/FractionTests.cs | ghcode:00178:cf619a68d010 | mit | codeparrot/github-code | cf619a68d01093e1f61daeed07cc6ed0bb1b6743db11112aec4507d02731e179 | 0.85 | testing_debugging_repair_refactoring | 621 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Globalization;
using TagKit.Markup.Properties;
namespace TagKit.Markup
{
public class TagException : Exception
{
private string _res;
private string[] _args; // this field is not used, it's here just V1.1 serialization compatibility
... | SpiderBeam/TagKit | TagKit.Markup/TagException.cs | https://github.com/SpiderBeam/TagKit/blob/HEAD/TagKit.Markup/TagException.cs | ghcode:00178:4ea6ded61035 | mit | codeparrot/github-code | 4ea6ded610357e6a59d30d2a4e46351ae0b31be31f36e52bebf142ea45abdc3d | 0.7 | testing_debugging_repair_refactoring | 1,835 | false | 2026-07-17 |
using CloseEnoughEquality.Tests.Classes.Basic;
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace CloseEnoughEquality.Tests.BasicTests
{
public class DynamicTypeTests
{
[Fact]
public v... | ipjohnson/CloseEnoughEquality | tests/CloseEnoughEquality.Tests/BasicTests/DynamicTypeTests.cs | https://github.com/ipjohnson/CloseEnoughEquality/blob/HEAD/tests/CloseEnoughEquality.Tests/BasicTests/DynamicTypeTests.cs | ghcode:00178:8093f5ec1736 | mit | codeparrot/github-code | 8093f5ec17366a533d25053516fed4a60c8403fe1557cabcc3163871a874ee1b | 0.75 | testing_debugging_repair_refactoring | 185 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BLTools.Encryption;
using System.Diagnostics;
using System.Text;
namespace BLTools.UnitTest.FW47.Security {
[TestClass]
public class TSymmetricEncryptionRijndaelTest {
[TestCategory("FW47.SymmetricEncryption"), TestMethod, TestCategory("F... | bollylu/BLTools.dns.20 | BLTools Tests 4.7/Security/Symmetric encryption/TSymmetricEncryptionRijndaelTest.cs | https://github.com/bollylu/BLTools.dns.20/blob/HEAD/BLTools Tests 4.7/Security/Symmetric encryption/TSymmetricEncryptionRijndaelTest.cs | ghcode:00178:cb6f368eb80c | mit | codeparrot/github-code | cb6f368eb80c3d5d5f7933c0028f707f34404c972eb7e52dad08f942cc6a2209 | 0.6 | testing_debugging_repair_refactoring | 2,183 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2015-2016 Rasmus Mikkelsen
// Copyright (c) 2015-2016 eBay Software Foundation
// https://github.com/rasmus/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software")... | AntoineGa/EventFlow | Source/EventFlow.Tests/IntegrationTests/ResolverTests.cs | https://github.com/AntoineGa/EventFlow/blob/HEAD/Source/EventFlow.Tests/IntegrationTests/ResolverTests.cs | ghcode:00178:38f7f231ff0e | mit | codeparrot/github-code | 38f7f231ff0edb517b16901787a1c53c0335284cf9095ae731c2e381e0173f2f | 0.85 | testing_debugging_repair_refactoring | 567 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Collections.Specialized;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Security.Cryptography;
using System.Text;
using FluentAssertions;
using Microsoft.CodeAnalysis;
using Mi... | Weingartner/Migrations.Json.Net | Weingartner.Json.Migration.Roslyn.Spec/Helpers/DiagnosticVerifier.cs | https://github.com/Weingartner/Migrations.Json.Net/blob/HEAD/Weingartner.Json.Migration.Roslyn.Spec/Helpers/DiagnosticVerifier.cs | ghcode:00178:ee01b92e3132 | mit | codeparrot/github-code | ee01b92e313288a5d6f0375bcd85df4747a1315c50bb6d632c24ba53cd7f0ef1 | 0.7 | testing_debugging_repair_refactoring | 4,605 | false | 2026-07-17 |
using Aggregates.Contracts;
using FakeItEasy;
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Aggregates.Common
{
public class Enumeration : Test
{
[Fact]
public void ShouldBeEqua... | volak/Aggregates.NET | src/Aggregates.NET.UnitTests/Common/Enumeration.cs | https://github.com/volak/Aggregates.NET/blob/HEAD/src/Aggregates.NET.UnitTests/Common/Enumeration.cs | ghcode:00178:a9dda213488d | mit | codeparrot/github-code | a9dda213488df81626b077aae2b54e7d8d070ff5d89992276a9e6a3d00ce32c7 | 0.75 | testing_debugging_repair_refactoring | 791 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Linq;
using ArgumentParser.Internal;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ArgumentParser
{
[TestClass]
[TestCategory("Argument.Parse")]
public class ArgumentParseTests
{
[TestMethod]
public void Parse_FourHun... | Good-man/Argument-Parser | ArgumentParser.Tests/Argument.Parse/ArgumentParseTests.cs | https://github.com/Good-man/Argument-Parser/blob/HEAD/ArgumentParser.Tests/Argument.Parse/ArgumentParseTests.cs | ghcode:00178:f5af9ac734b4 | mit | codeparrot/github-code | f5af9ac734b496c773235f762f7a55683df9feabd5f36275be84837c49231455 | 0.85 | testing_debugging_repair_refactoring | 477 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework;
// ReSharper disable InconsistentNaming
namespace SSCases.TestCases
{
public class BAAB
{
private static readonly Case[] _allCases =
{
new EMPTY(),
new PATTERN(),
new ____________________________AB_(),... | miraimann/SSCases | SSCases/SSCases/TestCases/BAAB.cs | https://github.com/miraimann/SSCases/blob/HEAD/SSCases/SSCases/TestCases/BAAB.cs | ghcode:00178:6c6c28b4a200 | mit | codeparrot/github-code | 6c6c28b4a2006cb9d2032f0f5504060741fc486858caf8ef1f751b857c4531c9 | 0.47 | testing_debugging_repair_refactoring | 36,630 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using SKBKontur.Billy.Core.Common.Extensions;
using SKBKontur.Billy.Core.Common.Quering;
namespace SKBKontur.Billy.Core.BusinessObjects.Entities
{
public class ... | BigBabay/AsyncConverter | AsyncConverter.Tests/Test/Data/ContextActions/MethodToAsyncConverterTests/GenericParameterInClass.cs | https://github.com/BigBabay/AsyncConverter/blob/HEAD/AsyncConverter.Tests/Test/Data/ContextActions/MethodToAsyncConverterTests/GenericParameterInClass.cs | ghcode:00178:3f16fe2ef004 | mit | codeparrot/github-code | 3f16fe2ef0048d8bd00162dc30206b7ec7993697326e39f71e8be1f5a25ac38e | 0.85 | testing_debugging_repair_refactoring | 219 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests.Core
{
[TestClass]
public class CustomerTests
{
CustomerRepository CustomerRepository = new CustomerRepository();
Database DB = new Database();
[TestMethod]
... | jona8690/Project-Getting-Real | Code/Tests.Core/CustomerTest-JAL-DOG.cs | https://github.com/jona8690/Project-Getting-Real/blob/HEAD/Code/Tests.Core/CustomerTest-JAL-DOG.cs | ghcode:00178:6602041e3a02 | mit | codeparrot/github-code | 6602041e3a02f9c78253d88b3a845e21d528938d24c4d02ce3f8c4cec48b77d0 | 0.6 | testing_debugging_repair_refactoring | 575 | false | 2026-07-17 |
using System;
using BenchmarkDotNet.Attributes;
namespace Fare.Benchmarking
{
public class Benchmark
{
private readonly Random random = new Random();
[Benchmark]
public Xeger XegerCtorSimple() => new Xeger(".");
[Benchmark]
public Xeger XegerCtorInjectRandom() => new ... | moodmosaic/Fare | Src/Fare.Benchmarking/Benchmark.cs | https://github.com/moodmosaic/Fare/blob/HEAD/Src/Fare.Benchmarking/Benchmark.cs | ghcode:00178:6334ac1f9b65 | mit | codeparrot/github-code | 6334ac1f9b656a3b8cbbcf406a339356da262a3b4758206c9437d6db7085d542 | 0.6 | testing_debugging_repair_refactoring | 78 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ObservableObjectExtensionsFacts.cs" company="Catel development team">
// Copyright (c) 2008 - 2015 Catel development team. All rights reserved.
// </copyright>
// --------------... | blebougge/Catel | src/Catel.Test/Catel.Test.Shared/Data/Extensions/ObservableObjectExtensionsFacts.cs | https://github.com/blebougge/Catel/blob/HEAD/src/Catel.Test/Catel.Test.Shared/Data/Extensions/ObservableObjectExtensionsFacts.cs | ghcode:00178:7f0ccc61a949 | mit | codeparrot/github-code | 7f0ccc61a94903530b3ceb319fe3fdcd7e5f6b84f48f4c0184995e6bfd32db19 | 0.85 | testing_debugging_repair_refactoring | 241 | false | 2026-07-17 |
/*
* Copyright 2020 Sage Intacct, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "LICENSE" file accompanying t... | Intacct/intacct-sdk-net | Intacct.SDK.Tests/Functions/Common/Query/Comparison/LessThan/LessThanStringTest.cs | https://github.com/Intacct/intacct-sdk-net/blob/HEAD/Intacct.SDK.Tests/Functions/Common/Query/Comparison/LessThan/LessThanStringTest.cs | ghcode:00178:0ab206ace94d | apache-2.0 | codeparrot/github-code | 0ab206ace94d5b3da356b37c76c136cea3d22644381e0f306ad4fe679dfad334 | 0.75 | testing_debugging_repair_refactoring | 394 | false | 2026-07-17 |
//
// Copyright 2012 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... | dineshkummarc/azure-sdk-for-windows8 | Services/ServiceBus/Microsoft.WindowsAzure.Services.ServiceBus/ConnectionStringParser.cs | https://github.com/dineshkummarc/azure-sdk-for-windows8/blob/HEAD/Services/ServiceBus/Microsoft.WindowsAzure.Services.ServiceBus/ConnectionStringParser.cs | ghcode:00178:fd39bcfea3a0 | apache-2.0 | codeparrot/github-code | fd39bcfea3a0e0fd4d152dfee1955afb5d61694210ec08a958af995eecb27c7e | 0.85 | testing_debugging_repair_refactoring | 1,954 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace IxMilia.Iges.Entities
{
public enum IgesTextMirroringAxis
{
None = 0,
PerpendicularToTextBase = 1,
TextBase = 2
}
public enum IgesTextRotationType
{
Horizontal = 0... | IxMilia/Iges | src/IxMilia.Iges/Entities/IgesEntity.cs | https://github.com/IxMilia/Iges/blob/HEAD/src/IxMilia.Iges/Entities/IgesEntity.cs | ghcode:00178:4a046d4b75e9 | apache-2.0 | codeparrot/github-code | 4a046d4b75e97b15b9a20ec7d45191db7afb50909e8dcbb6a49637354cbc7cdb | 0.85 | testing_debugging_repair_refactoring | 3,448 | false | 2026-07-17 |
using System;
using Xunit;
namespace Deveel {
public static class BigArrayTests {
[Fact]
public static void Clear() {
var array = new BigArray<long>(5);
array[0] = 22;
array[1] = 90;
array[2] = 19920020339484;
BigArray<long>.Clear(array, 0, 5);
Assert.Equal(5, array.Length);
Assert.Equal(... | deveel/deveeldb.core | test/DeveelDb.Core.Tests/BigArrayTests.cs | https://github.com/deveel/deveeldb.core/blob/HEAD/test/DeveelDb.Core.Tests/BigArrayTests.cs | ghcode:00178:a9e72950039d | apache-2.0 | codeparrot/github-code | a9e72950039d839c857c902961f049eaa33eebfa7cfded27058172a034a55267 | 0.75 | testing_debugging_repair_refactoring | 393 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | kaffeebrauer/Lean | Tests/Engine/DataFeeds/Enumerators/Factories/LiveCustomDataSubscriptionEnumeratorFactoryTests.cs | https://github.com/kaffeebrauer/Lean/blob/HEAD/Tests/Engine/DataFeeds/Enumerators/Factories/LiveCustomDataSubscriptionEnumeratorFactoryTests.cs | ghcode:00178:03454ce88721 | apache-2.0 | codeparrot/github-code | 03454ce88721b61beb8e5cf228c0125700c3f65d29ad2dc00a17a861d9ced0f2 | 0.85 | testing_debugging_repair_refactoring | 3,886 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.Un... | HellBrick/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/LockKeywordRecommenderTests.cs | https://github.com/HellBrick/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/LockKeywordRecommenderTests.cs | ghcode:00178:9a2cdfd94a32 | apache-2.0 | codeparrot/github-code | 9a2cdfd94a328ca8642b96f6105928542f71eb201861fe92d1aa9aab60f05d36 | 0.75 | testing_debugging_repair_refactoring | 677 | false | 2026-07-17 |
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | regisbsb/FluentValidation | src/FluentValidation.Tests/NullTester.cs | https://github.com/regisbsb/FluentValidation/blob/HEAD/src/FluentValidation.Tests/NullTester.cs | ghcode:00178:6a6e1a1ccddf | apache-2.0 | codeparrot/github-code | 6a6e1a1ccddf10e3c79f4003ddee7ad6b3be2d0dc2c13a122f9fd7de6bb616d0 | 0.7 | testing_debugging_repair_refactoring | 526 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.