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) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution... | msunardi/PTVS | Python/Tests/Django.UI/DjangoDebugProjectTests.cs | https://github.com/msunardi/PTVS/blob/HEAD/Python/Tests/Django.UI/DjangoDebugProjectTests.cs | ghcode:00004:64a5512ec8e4 | apache-2.0 | codeparrot/github-code | 64a5512ec8e45622ce733a0107e02f575007b9aa52064e7c3802bd392a88de3e | 0.85 | testing_debugging_repair_refactoring | 299 | false | 2026-07-17 |
using FakeItEasy;
using Hyak.Common;
using Microsoft.Azure.Management.Redis;
using Microsoft.Azure.Management.Redis.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Task... | yadavbdev/azure-sdk-for-net | src/ResourceManagement/RedisCache/AzureRedisCache.Tests/InMemoryTests/CreateOrUpdateTests.cs | https://github.com/yadavbdev/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/RedisCache/AzureRedisCache.Tests/InMemoryTests/CreateOrUpdateTests.cs | ghcode:00004:98732e5dda2f | apache-2.0 | codeparrot/github-code | 98732e5dda2f7921f43fdc16586b54adfd622682ec736ced8f99f233c12b5049 | 0.75 | testing_debugging_repair_refactoring | 2,811 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Threading;
usin... | ericfe-ms/roslyn | src/Workspaces/Core/Portable/Utilities/AbstractSpeculationAnalyzer.cs | https://github.com/ericfe-ms/roslyn/blob/HEAD/src/Workspaces/Core/Portable/Utilities/AbstractSpeculationAnalyzer.cs | ghcode:00004:7f4970d463df | apache-2.0 | codeparrot/github-code | 7f4970d463df92791d802b9267cc69fddff7ab130d836afd91c5364894ef5060 | 0.85 | testing_debugging_repair_refactoring | 9,108 | false | 2026-07-17 |
//The MIT License (MIT)
//Copyright (c) 2013-2014 Omar Khudeira (http://omar.io)
//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 right... | henriksen/Humanizer | src/Humanizer.Tests/Bytes/ToStringTests.cs | https://github.com/henriksen/Humanizer/blob/HEAD/src/Humanizer.Tests/Bytes/ToStringTests.cs | ghcode:00004:4bbb8d417bf5 | mit | codeparrot/github-code | 4bbb8d417bf5a1ff216c76d529f671dc9660fbf800c576ce7064193bec1a3125 | 0.85 | testing_debugging_repair_refactoring | 797 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
namespace System.IO.Tests
{
public class File_ChangeExtension : FileSystemTest
{
[Theory]
[InlineData("", ".tmp", "")]
[I... | Yanjing123/corefx | src/System.IO.FileSystem/tests/File/ChangeExtension.cs | https://github.com/Yanjing123/corefx/blob/HEAD/src/System.IO.FileSystem/tests/File/ChangeExtension.cs | ghcode:00004:67425060b9bf | mit | codeparrot/github-code | 67425060b9bf8a6ea6a85f49c083be865ff29f9c54a8bddcbc6621590b573b48 | 0.85 | testing_debugging_repair_refactoring | 181 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
namespace System.Collections.Tests
{
public class ArrayList_BinarySearchTests : IComparer
{
#region "Test Data - Keep the data close to te... | comdiv/corefx | src/System.Collections.NonGeneric/tests/ArrayList/BinarySearchTests.cs | https://github.com/comdiv/corefx/blob/HEAD/src/System.Collections.NonGeneric/tests/ArrayList/BinarySearchTests.cs | ghcode:00004:7ea8dbdc7281 | mit | codeparrot/github-code | 7ea8dbdc728106e9f3b78abb2ee20d5029ed21acde51fad28a143da4824f1d01 | 0.95 | testing_debugging_repair_refactoring | 1,907 | 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 Microsoft.DotNet.RemoteExecutor;
using Xunit;
namespace System.IO.Tests
{
... | shimingsg/corefx | src/System.Runtime.Extensions/tests/System/IO/PathTests_Unix.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Runtime.Extensions/tests/System/IO/PathTests_Unix.cs | ghcode:00004:074b60a55ecb | mit | codeparrot/github-code | 074b60a55ecb7a8a3eddce6cf273e45b68b3b74930a5daafeddc7877bc5f4bfb | 0.95 | testing_debugging_repair_refactoring | 1,869 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class DateTimeForm... | shimingsg/corefx | src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoLongTimePattern.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoLongTimePattern.cs | ghcode:00004:4497b6deb73b | mit | codeparrot/github-code | 4497b6deb73b538c06ba557235c6c289f00e2089b5ea20d900b769aa223fb1af | 0.95 | testing_debugging_repair_refactoring | 370 | 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.IO;
using System.Text;
using Xunit;
namespace System.I... | DnlHarvey/corefx | src/System.IO/tests/BinaryWriter/BinaryWriterTests.cs | https://github.com/DnlHarvey/corefx/blob/HEAD/src/System.IO/tests/BinaryWriter/BinaryWriterTests.cs | ghcode:00004:5ca73db0648f | mit | codeparrot/github-code | 5ca73db0648f5228b8e09028bc142065b625ab8deae131e4f0f0bd5b9b552ab4 | 0.95 | testing_debugging_repair_refactoring | 2,847 | 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.Xml;
using System.Data.SqlTypes;
using System.Diagnostics;
using System.IO;
using System.Xml.Serializat... | nbarbettini/corefx | src/System.Data.Common/src/System/Data/Common/SQLTypes/SQLByteStorage.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Data.Common/src/System/Data/Common/SQLTypes/SQLByteStorage.cs | ghcode:00004:ef703ee058df | mit | codeparrot/github-code | ef703ee058df15f5fd1e1472cfe88f99cfb3e2b649701bfa9bacd7304ffb1003 | 0.95 | testing_debugging_repair_refactoring | 1,575 | false | 2026-07-17 |
namespace AgileObjects.AgileMapper.UnitTests.Configuration
{
using System;
using AgileMapper.Configuration;
using Common;
using TestClasses;
#if !NET35
using Xunit;
#else
using Fact = NUnit.Framework.TestAttribute;
[NUnit.Framework.TestFixture]
#endif
public class WhenConfiguringObject... | agileobjects/AgileMapper | AgileMapper.UnitTests/Configuration/WhenConfiguringObjectMappingIncorrectly.cs | https://github.com/agileobjects/AgileMapper/blob/HEAD/AgileMapper.UnitTests/Configuration/WhenConfiguringObjectMappingIncorrectly.cs | ghcode:00004:4cdf7033ce3e | mit | codeparrot/github-code | 4cdf7033ce3ed46b4f754089d3ba51d3209029b6e81f0278fc43515445e9ca21 | 0.6 | testing_debugging_repair_refactoring | 861 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using AwokeKnowing.GnuplotCSharp;
using GnuplotCSharp;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Simulation.Medium.Medium;
using Simulation.Models.Enums;
using Simulation.Models.Extensions;
using Simulation.Mod... | ToniaDemchuk/EMSimulation | Tests/Simulation.DDA.Tests/OpticalConstantTest.cs | https://github.com/ToniaDemchuk/EMSimulation/blob/HEAD/Tests/Simulation.DDA.Tests/OpticalConstantTest.cs | ghcode:00004:1ec4737bc71a | mit | codeparrot/github-code | 1ec4737bc71aa80db6edb5821383031d1ea79cf1f6a90e2626f40c7a499f1cfc | 0.7 | testing_debugging_repair_refactoring | 732 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Should;
using Xunit;
namespace AutoMapper.UnitTests
{
namespace InterfaceMapping
{
public class When_mapping_to_existing_object_through_interfaces : AutoMapperSpecBase
{
... | jasonholloway/AutoMapper | src/UnitTests/InterfaceMapping.cs | https://github.com/jasonholloway/AutoMapper/blob/HEAD/src/UnitTests/InterfaceMapping.cs | ghcode:00004:e66638b04e20 | mit | codeparrot/github-code | e66638b04e20fde59aed711441ccad9b260421896119447e662ec18d001b00b3 | 0.7 | testing_debugging_repair_refactoring | 3,431 | false | 2026-07-17 |
//HintName: EnumExtensions.g.cs
namespace NetEscapades.EnumGenerators
{
public static partial class ColourExtensions
{
public static string ToStringFast(this Colour value)
=> value switch
{
Colour.Red => nameof(Colour.Red),
Colour.Blue => nameof(... | andrewlock/blog-examples | NetEscapades.EnumGenerators4/tests/NetEscapades.EnumGenerators.Tests/Snapshots/EnumGeneratorSnapshotTests.GeneratesCustomEnumNameCorrectly_TwoAttributes.01.verified.cs | https://github.com/andrewlock/blog-examples/blob/HEAD/NetEscapades.EnumGenerators4/tests/NetEscapades.EnumGenerators.Tests/Snapshots/EnumGeneratorSnapshotTests.GeneratesCustomEnumNameCorrectly_TwoAttributes.01.verified.cs | ghcode:00004:15fb1d961b23 | mit | codeparrot/github-code | 15fb1d961b232f0dbb5bb8b5aa4c202c8025da2f38ec2c83a1e20a99ddf118aa | 0.85 | testing_debugging_repair_refactoring | 146 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SharpTestsEx;
using Topics.Radical.Validation;
namespace Test.Radical.Validation
{
[TestClass()]
public class StringValidatorTest
{
[TestMethod()]
[ExpectedException( typeof( System.ArgumentOutOfRangeException ) )]
... | micdenny/radical | src/net40/Test.Radical/Validation/StringEnsureExtensionTest.cs | https://github.com/micdenny/radical/blob/HEAD/src/net40/Test.Radical/Validation/StringEnsureExtensionTest.cs | ghcode:00004:42a62643a388 | mit | codeparrot/github-code | 42a62643a388dbfd0194d6772bbcff9c1a30286977b1ac10fa8e2318583d4da5 | 0.6 | testing_debugging_repair_refactoring | 532 | false | 2026-07-17 |
using ByteTrail.Hex.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hex.Core.Test
{
[TestClass]
public class MapTest
{
const char MaskChar = '\u2588';
con... | bytetrail/Hexiverse | Hex.Core.Test/MapTest.cs | https://github.com/bytetrail/Hexiverse/blob/HEAD/Hex.Core.Test/MapTest.cs | ghcode:00004:bccd99cd0e47 | mit | codeparrot/github-code | bccd99cd0e472545f761af2e6271dc70da5b9afbd16baedb0ee640dd76141fcc | 0.6 | testing_debugging_repair_refactoring | 698 | false | 2026-07-17 |
namespace haxe.test
{
public class GenericHelper
{
public Generic1<Base.InnerClass> typedGeneric;
public static Generic1<X> staticTypedGeneric<X>(X cl) where X : Base.InnerClass
{
return new Generic1<X>();
}
}
}
| pleclech/hacking-haxe | tests/unit/native_cs/src/haxe/test/GenericHelper.cs | https://github.com/pleclech/hacking-haxe/blob/HEAD/tests/unit/native_cs/src/haxe/test/GenericHelper.cs | ghcode:00004:ce690a2e5272 | mit | codeparrot/github-code | ce690a2e52722ecc6e3d33d157b8e9258ce2d49bd6fc51241e03f573e8550190 | 0.85 | testing_debugging_repair_refactoring | 56 | false | 2026-07-17 |
using System;
using System.IO;
using Microsoft.AspNetCore.Mvc.Rendering;
using AutoFixture.NUnit3;
using Moq;
using NUnit.Framework;
using ZptSharp.Config;
using ZptSharp.Autofixture;
using System.Threading.Tasks;
using System.Threading;
using ZptSharp.Hosting;
namespace ZptSharp.MvcCore
{
[TestFixture,Paralleliz... | csf-dev/ZPT-Sharp | ZptSharp.Tests/MvcCore/ZptSharpViewTests.cs | https://github.com/csf-dev/ZPT-Sharp/blob/HEAD/ZptSharp.Tests/MvcCore/ZptSharpViewTests.cs | ghcode:00004:0e754114a697 | mit | codeparrot/github-code | 0e754114a6977d3548de74a4ae7abe8b4765c712b0669121ac90bc19b0aa78d9 | 0.75 | testing_debugging_repair_refactoring | 746 | false | 2026-07-17 |
using Castle.Core.Logging;
using Castle.Facilities.TypedFactory;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.Resolvers.SpecializedResolvers;
using Castle.Windsor;
using Jarvis.Framework.Kernel.ProjectionEngine.Atomic;
using Jarvis.Framework.Kernel.ProjectionEngine.Atomic.Support;
using Jarvi... | ProximoSrl/Jarvis.Framework | Jarvis.Framework.Tests/ProjectionsTests/Atomic/AtomicProjectionEngineTestBase.cs | https://github.com/ProximoSrl/Jarvis.Framework/blob/HEAD/Jarvis.Framework.Tests/ProjectionsTests/Atomic/AtomicProjectionEngineTestBase.cs | ghcode:00004:a7f040262363 | mit | codeparrot/github-code | a7f040262363921fbf8f807153e42dc688c567e5280070e20e0a80a6396f175f | 0.85 | testing_debugging_repair_refactoring | 2,285 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using DataStructures.Trees;
using Xunit;
namespace UnitTest.DataStructuresTests
{
public static class BinarySearchTreeTest
{
/// <summary>
/// FIRST TEST TREE WITH DUPLICATES ELEMENTS
/// </summary>
/// <param name="binarySea... | ivandrofly/C-Sharp-Algorithms | UnitTest/DataStructuresTests/BinarySearchTreeTest.cs | https://github.com/ivandrofly/C-Sharp-Algorithms/blob/HEAD/UnitTest/DataStructuresTests/BinarySearchTreeTest.cs | ghcode:00004:052643318d40 | mit | codeparrot/github-code | 052643318d40e01ceba93b642623f0713f0d2fe57ed4447d530261d9c4e46c59 | 0.7 | testing_debugging_repair_refactoring | 1,055 | false | 2026-07-17 |
using System;
using System.IO;
using System.Runtime.CompilerServices;
using System.Xml.Serialization;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TTRider.DynamicDataRecord;
namespace Tests
{
[TestClass]
public class DataRecordFactoryTests
{
[TestMethod]
public void EndToEnd()... | ttrider/DynamicDataRecord | Tests/DataRecordFactoryTests.cs | https://github.com/ttrider/DynamicDataRecord/blob/HEAD/Tests/DataRecordFactoryTests.cs | ghcode:00004:928102aef13d | mit | codeparrot/github-code | 928102aef13d206474e82becbb67e0bf0295fe4ce7c6e9350484ecb9b50e437e | 0.75 | testing_debugging_repair_refactoring | 605 | false | 2026-07-17 |
using System.Linq;
using Microsoft.Extensions.DependencyInjection;
using Shouldly;
using Xunit;
namespace AutoMapper.Extensions.Microsoft.DependencyInjection.Tests
{
public class MultipleRegistrationTests
{
[Fact]
public void Can_register_multiple_times()
{
var services = n... | AutoMapper/AutoMapper.Extensions.Microsoft.DependencyInjection | test/AutoMapper.Extensions.Microsoft.DependencyInjection.Tests/MultipleRegistrationTests.cs | https://github.com/AutoMapper/AutoMapper.Extensions.Microsoft.DependencyInjection/blob/HEAD/test/AutoMapper.Extensions.Microsoft.DependencyInjection.Tests/MultipleRegistrationTests.cs | ghcode:00004:a29ba75786f9 | mit | codeparrot/github-code | a29ba75786f90853cd0c13d1ef00a06fd540f26d094bfc4778ebc8a781c7d24e | 0.75 | testing_debugging_repair_refactoring | 221 | false | 2026-07-17 |
using System;
using System.Reflection.Emit;
using NUnit.Framework;
#if NET45
using System.Reflection;
using System.Threading;
#endif
namespace GrEmit.Tests
{
[TestFixture]
public class TestTryCatch
{
[Test]
public void Test1()
{
var overflow = typeof(OverflowException... | homuroll/gremit | GrEmit.Tests/TestTryCatch.cs | https://github.com/homuroll/gremit/blob/HEAD/GrEmit.Tests/TestTryCatch.cs | ghcode:00004:a9c62f6dff2a | mit | codeparrot/github-code | a9c62f6dff2ad0304ad11c305bacf820d74cfc0e9f0045f07909ba2fe75dcbf4 | 0.85 | testing_debugging_repair_refactoring | 1,806 | false | 2026-07-17 |
using CharacterGen.Abilities;
using CharacterGen.Domain.Tables;
using CharacterGen.Races;
using NUnit.Framework;
namespace CharacterGen.Tests.Integration.Tables.Abilities.Races
{
[TestFixture]
public class DeepHalflingAbilityAdjustmentsTests : AdjustmentsTests
{
protected override string tableName... | DnDGen/CharacterGen | CharacterGen.Tests.Integration.Tables/Abilities/Races/DeepHalflingAbilityAdjustmentsTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Integration.Tables/Abilities/Races/DeepHalflingAbilityAdjustmentsTests.cs | ghcode:00004:a6af9919ed68 | mit | codeparrot/github-code | a6af9919ed688be7f7a9d77537206040068efa2d02cd76a5fc081237f3d4a850 | 0.75 | testing_debugging_repair_refactoring | 252 | false | 2026-07-17 |
using Lissen;
using NFluent;
using NUnit.Framework;
using List = Lissen.List;
namespace LissenTest
{
public class LambdaExprTest : SexprHelpers
{
[Test]
public void ApplyLambdaWithoutParams()
{
var env = new VariablesEnvironment();
var par = new List();
... | lissen/Lissen | LissenTest/LambdaExprTest.cs | https://github.com/lissen/Lissen/blob/HEAD/LissenTest/LambdaExprTest.cs | ghcode:00004:e60902445e0a | mit | codeparrot/github-code | e60902445e0a3efce1e5b8286b0d4e53b28434cfd54f4647bf75e1c295c0d1ea | 0.6 | testing_debugging_repair_refactoring | 224 | false | 2026-07-17 |
// ----------------------
// xTask Framework
// ----------------------
// Copyright (c) Jeremy W. Kuhne. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace XTask.Tests.Utility
{
using FluentAssertions;
using System;
usin... | JeremyKuhne/XTask | src/Tests/Utility/StringsTests.cs | https://github.com/JeremyKuhne/XTask/blob/HEAD/src/Tests/Utility/StringsTests.cs | ghcode:00004:0f4e91edb062 | mit | codeparrot/github-code | 0f4e91edb0620b1367d2b43eb4cd06a1cfc3106b56c7192628f013d68fe282aa | 0.95 | testing_debugging_repair_refactoring | 2,416 | false | 2026-07-17 |
using MVPathway.Messages.Abstractions;
namespace MVPathway.Integration.Messages
{
class TestMessage : IMessage
{
public string Content { get; set; }
}
}
| UizzUW/MVPathway | MVPathway.Integration/MVPathway.Integration/Messages/TestMessage.cs | https://github.com/UizzUW/MVPathway/blob/HEAD/MVPathway.Integration/MVPathway.Integration/Messages/TestMessage.cs | ghcode:00004:451d431e4fd5 | mit | codeparrot/github-code | 451d431e4fd5fd7b866a901f2aa4c3f1fdfb2299416a8ee79603f76dc826baff | 0.5 | testing_debugging_repair_refactoring | 38 | false | 2026-07-17 |
// Copyright (C) 2010, Krzysztof Kozmic
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, ... | kkozmic/Joey | src/Joey/ScenarioRunner.cs | https://github.com/kkozmic/Joey/blob/HEAD/src/Joey/ScenarioRunner.cs | ghcode:00004:44969f0c8281 | mit | codeparrot/github-code | 44969f0c82817dc47529d7e71e59ac3837bbf4cedca011b686845913687ca3a2 | 0.7 | testing_debugging_repair_refactoring | 464 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using BlackFox.U2F.Gnubby.Messages;
using BlackFox.U2F.Gnubby.Simulated;
using BlackFox.U2F.GnubbyApi;
using BlackFox.U2F.Server.messages;
using Moq;
using NodaTime;
using NUnit.Framework;
using static BlackFox.U... | vbfox/U2FExperiments | BlackFox.U2F.Tests/GnubbyApi/U2FClientTests.cs | https://github.com/vbfox/U2FExperiments/blob/HEAD/BlackFox.U2F.Tests/GnubbyApi/U2FClientTests.cs | ghcode:00004:9a05fe8b84ca | mit | codeparrot/github-code | 9a05fe8b84ca9c919e02ae504817165edbaa0ee9e0c289ab8328393b8f0c15f4 | 0.75 | testing_debugging_repair_refactoring | 897 | false | 2026-07-17 |
using AI.Search.SearchFringes;
using Moq;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoMoq;
using System;
using Xunit;
namespace AI.Search.UnitTests.SearchFringes
{
public class BeamSearchFringeTestFixture
{
IFixture _fixture;
Mock<IHuristic<TestState>> _huristicMock;
public c... | SlowShip/AI | test/AI.Search.UnitTests/SearchFringes/BeamSearchFringeTestFixture.cs | https://github.com/SlowShip/AI/blob/HEAD/test/AI.Search.UnitTests/SearchFringes/BeamSearchFringeTestFixture.cs | ghcode:00004:ac358bd9bade | mit | codeparrot/github-code | ac358bd9badefef53aa40494a0dd4a908c47ba864a7e66c55a77eac0764f7fee | 0.7 | testing_debugging_repair_refactoring | 1,684 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PrtgAPI.Tests.UnitTests.Support.TestItems;
namespace PrtgAPI.Tests.UnitTests.Support.TestResponses
{
class MultiLevelContainerScenario : TreeScenario
{
private bool async;
public MultiLevelContainerScenario(bool async)
{
... | lordmilko/PrtgAPI | src/PrtgAPI.Tests.UnitTests/Support/TestResponses/Tree/Scenarios/MultiLevelContainerScenario.cs | https://github.com/lordmilko/PrtgAPI/blob/HEAD/src/PrtgAPI.Tests.UnitTests/Support/TestResponses/Tree/Scenarios/MultiLevelContainerScenario.cs | ghcode:00004:0ed1a3a991c7 | mit | codeparrot/github-code | 0ed1a3a991c7e43f60ccce92bfd216a4819f0e304e958bc3e95a4e3a83dfa85b | 0.85 | testing_debugging_repair_refactoring | 945 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// <copyright company="LeanKit Inc.">
// Copyright (c) LeanKit Inc. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
using System;
using System.Linq;
using System... | LeanKit/LeanKit.IntegrationService | IntegrationService.Tests/ConfigurationTests/MappingTests.cs | https://github.com/LeanKit/LeanKit.IntegrationService/blob/HEAD/IntegrationService.Tests/ConfigurationTests/MappingTests.cs | ghcode:00004:a750565420d2 | mit | codeparrot/github-code | a750565420d21352e7dcdd6b6c156cfa2a59f06544439cec3462ecafd6be7494 | 0.85 | testing_debugging_repair_refactoring | 248 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using UriBuilderExtended;
namespace UriBuilderExtended.Test
{
[TestClass]
public class UriBuilderExtensionQueryTests
{
[TestMethod]
public void HasQuery()
{
string urlStr... | beruic/UriBuilderExtended | UriBuilderExtended.Test/UriBuilderExtensionQueryTests.cs | https://github.com/beruic/UriBuilderExtended/blob/HEAD/UriBuilderExtended.Test/UriBuilderExtensionQueryTests.cs | ghcode:00004:325038101113 | mit | codeparrot/github-code | 325038101113dca1d452107836f7b69f7344c4ed66be0ead5fa75c76462e45e7 | 0.85 | testing_debugging_repair_refactoring | 2,123 | false | 2026-07-17 |
using System;
using Exon.Core.Tests.ContentBase;
namespace Exor.Core.Tests.ContentA
{
[SimpleEmptyCtor("A")]
public class SimpleTestA : SimpleTestBase
{
public SimpleTestA() : base(0)
{
}
}
}
| eropple/Exor | Exor.Core.Tests.ContentA/SimpleTestA.cs | https://github.com/eropple/Exor/blob/HEAD/Exor.Core.Tests.ContentA/SimpleTestA.cs | ghcode:00004:cc4d420eef1d | mit | codeparrot/github-code | cc4d420eef1de52a64dd2f46bb4ff0edeb0c230b4248b62b214722b0c114f7a6 | 0.75 | testing_debugging_repair_refactoring | 60 | false | 2026-07-17 |
using System.Linq;
using Autofac;
using Autofac.Core;
using Xunit;
namespace FluentAssertions.Autofac
{
// ReSharper disable InconsistentNaming
public class AutofacExtensions_Should
{
[Fact]
public void Get_Registrations()
{
var builder = new ContainerBuilder();
... | awesome-inc/AutoFac.TestingHelpers | FluentAssertions.Autofac.Tests/AutofacExtensions_Should.cs | https://github.com/awesome-inc/AutoFac.TestingHelpers/blob/HEAD/FluentAssertions.Autofac.Tests/AutofacExtensions_Should.cs | ghcode:00004:a2e8a41012cf | mit | codeparrot/github-code | a2e8a41012cf07ee4824a1015d8cfda6963c95d16b03dcf03b47293c0af18b37 | 0.6 | testing_debugging_repair_refactoring | 128 | false | 2026-07-17 |
using NUnit.Framework;
// ReSharper disable InconsistentNaming
namespace Tiger.Build.Test.Compiler
{
[TestFixture]
[Category("Program")]
public class If_then_and_if_then_else_tests
{
[Test]
public void if_then_else_with_string_condition()
{
const string program = @... | dayanruben/TigerConverters | Tests/Tiger.Build.Test/Compiler/Program_Tests/If_then_and_if_then_else_tests.cs | https://github.com/dayanruben/TigerConverters/blob/HEAD/Tests/Tiger.Build.Test/Compiler/Program_Tests/If_then_and_if_then_else_tests.cs | ghcode:00004:7eac2868e4fa | mit | codeparrot/github-code | 7eac2868e4faf8bcf077824f07bb2f0cd10a78f9a1b27dd55548e8937ec520e3 | 0.75 | testing_debugging_repair_refactoring | 279 | false | 2026-07-17 |
using System;
using Microsoft.Extensions.DependencyInjection;
using Ocelot.Configuration;
using Ocelot.Configuration.Creator;
using Ocelot.Configuration.File;
using Ocelot.Requester;
using Shouldly;
using TestStack.BDDfy;
using Xunit;
namespace Ocelot.UnitTests.Configuration
{
using System.Net.Http;
using Sys... | TomPallister/Ocelot | test/Ocelot.UnitTests/Configuration/HttpHandlerOptionsCreatorTests.cs | https://github.com/TomPallister/Ocelot/blob/HEAD/test/Ocelot.UnitTests/Configuration/HttpHandlerOptionsCreatorTests.cs | ghcode:00004:cf60bbce9eec | mit | codeparrot/github-code | cf60bbce9eeccc85381bb229e7dd51d039bbb85d2c0802e273dd122817338ea5 | 0.75 | testing_debugging_repair_refactoring | 1,198 | false | 2026-07-17 |
using System.Globalization;
using System.Text.RegularExpressions;
using Pk.Spatial.Tests;
using Shouldly;
using Xunit;
namespace MathNet.Spatial.UnitTests
{
[Trait(TestConstants.CategoryName, TestConstants.UnitTestsTag)]
public class ParserTests
{
[Theory]
[InlineData("1", 1)]
[InlineData(".1", .1)]... | PkSound/Spatial | tests/Pk.Spatial.Tests/MathNet.Spatial/ParserTests.cs | https://github.com/PkSound/Spatial/blob/HEAD/tests/Pk.Spatial.Tests/MathNet.Spatial/ParserTests.cs | ghcode:00004:b05d911e5fa7 | mit | codeparrot/github-code | b05d911e5fa79d9ff2fbc74ba8fe9cd043f86278f032bb14ddea6b0db224a797 | 0.75 | testing_debugging_repair_refactoring | 240 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouldly;
using Spect.Net.SpectrumEmu.Cpu;
using Spect.Net.SpectrumEmu.Test.Helpers;
// ReSharper disable InconsistentNaming
// ReSharper disable ArgumentsStyleStringLiteral
namespace Spect.Net.SpectrumEmu.Test.Cpu.StandardOps
{
[TestClass]
public cla... | Dotneteer/spectnetide | Tests/Spect.Net.SpectrumEmu.Test/Cpu/StandardOps/StandardOpTests0X20.cs | https://github.com/Dotneteer/spectnetide/blob/HEAD/Tests/Spect.Net.SpectrumEmu.Test/Cpu/StandardOps/StandardOpTests0X20.cs | ghcode:00004:a7266585dee9 | mit | codeparrot/github-code | a7266585dee93f76e2f17facdb6a7f1aafdaa5b47011ded5359d7573d214f615 | 0.7 | testing_debugging_repair_refactoring | 4,289 | false | 2026-07-17 |
namespace Amazon.Elb.Tests
{
public class SetSubnetResponseTests
{
[Fact]
public void Deserialize()
{
string text = @"<SetSubnetsResponse xmlns=""http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/"">
<SetSubnetsResult>
<AvailabilityZones>
<member>
... | carbon/Amazon | src/Amazon.Elb.Tests/Responses/SetSubnetResponseTests.cs | https://github.com/carbon/Amazon/blob/HEAD/src/Amazon.Elb.Tests/Responses/SetSubnetResponseTests.cs | ghcode:00004:4c6f5b6cc3bf | mit | codeparrot/github-code | 4c6f5b6cc3bf7f3fa77b7bd5ae359d8f4cd0402044d6b09a54a148098c753561 | 0.75 | testing_debugging_repair_refactoring | 322 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using LinqToDB;
using LinqToDB.Data;
using NUnit.Framework;
namespace Tests.Linq
{
using Model;
[TestFixture]
public class AsyncTest : TestBase
{
[Test, DataContextSource(false)]
public void Test(string context)
{
Test... | giuliohome/linq2db | Tests/Linq/Linq/AsyncTest.cs | https://github.com/giuliohome/linq2db/blob/HEAD/Tests/Linq/Linq/AsyncTest.cs | ghcode:00004:bef861258d30 | mit | codeparrot/github-code | bef861258d30c21d23a6099e09e23f7c3cd391d312390b048ad49035631a9f46 | 0.6 | testing_debugging_repair_refactoring | 661 | false | 2026-07-17 |
using Samotorcan.HtmlUi.Core;
namespace Samotorcan.Tests.Application
{
class Program
{
static void Main(string[] args)
{
if (HtmlUiRuntime.ApplicationType == ApplicationType.ChildApplication)
{
HtmlUi.Windows.ChildApplication.Run();
retur... | Samotorcan/HtmlUi | src/Samotorcan.Tests.Application/Program.cs | https://github.com/Samotorcan/HtmlUi/blob/HEAD/src/Samotorcan.Tests.Application/Program.cs | ghcode:00004:ec645b291451 | mit | codeparrot/github-code | ec645b2914514fe14631d63fd61cb660be58ac1e6fa0a58596824cfa2c36b146 | 0.75 | testing_debugging_repair_refactoring | 113 | false | 2026-07-17 |
namespace CartographerTests
{
using System;
using CartographerTests.Types;
using Xunit;
public class CloningTests: AbstractMappingTests
{
[Fact]
public void Can_map_type_with_property_of_type_shared_between_left_and_right()
{
var source = new Order4
{
CustomerIdentifier = new Identif... | kkozmic/Cartographer | src/Cartographer.Tests/CloningTests.cs | https://github.com/kkozmic/Cartographer/blob/HEAD/src/Cartographer.Tests/CloningTests.cs | ghcode:00004:50abbf3adc86 | mit | codeparrot/github-code | 50abbf3adc8645fde4f1ec404122bcbc44a22e82763b461b429b78fc05ea8a8c | 0.75 | testing_debugging_repair_refactoring | 178 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
#nullable enable
using System;
using NUnit.Framework.Interfaces;
using NUnit.Framework.Internal;
namespace NUnit.Framework
{
/// <summary>
/// Applies a category to a test
/// </summary>
[AttributeUsage(Attribu... | nunit/nunit | src/NUnitFramework/framework/Attributes/CategoryAttribute.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/framework/Attributes/CategoryAttribute.cs | ghcode:00004:382e96e8d988 | mit | codeparrot/github-code | 382e96e8d9881fdb077682a7728a6d7c5e72eaa180fdd178cd0d044de9b506b8 | 0.85 | testing_debugging_repair_refactoring | 497 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Solutions._6;
using System.Collections.Generic;
namespace Tests
{
[TestClass]
public class _6_4_Tests
{
[TestMethod]
public void Test()
{
int[] data = new int[]
{
0
... | AronDavis/EPI | Tests/_6/_6_4_Tests.cs | https://github.com/AronDavis/EPI/blob/HEAD/Tests/_6/_6_4_Tests.cs | ghcode:00004:3258dc60e36a | mit | codeparrot/github-code | 3258dc60e36ad319f7f06a03846abd836106d526174b511fe0200c941b27d16d | 0.75 | testing_debugging_repair_refactoring | 333 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using Azure.AI.FormRecognizer.Models;
using Azure.AI.FormRecognizer.Tests;
using Azure.AI.FormRecognizer.Training;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespa... | jackmagic313/azure-sdk-for-net | sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/SampleSnippets.cs | https://github.com/jackmagic313/azure-sdk-for-net/blob/HEAD/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/SampleSnippets.cs | ghcode:00004:b750a08b9410 | mit | codeparrot/github-code | b750a08b94109b60d4b9aeea904687e1e83e0025377e011e6fd7748a56d2a883 | 0.95 | testing_debugging_repair_refactoring | 503 | false | 2026-07-17 |
using System;
class TestNumbers
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
int m = int.Parse(Console.ReadLine());
int maxSum = int.Parse(Console.ReadLine());
int sum = 0;
int count = 0;
string message = "";
for (int count1 = n; count... | Peter-Georgiev/Programming.Fundamentals | ConditionalStatementsLoops-E-s/11.TestNumbers/TestNumbers.cs | https://github.com/Peter-Georgiev/Programming.Fundamentals/blob/HEAD/ConditionalStatementsLoops-E-s/11.TestNumbers/TestNumbers.cs | ghcode:00004:abc1bd0f0f5f | mit | codeparrot/github-code | abc1bd0f0f5fc0b6e2924ee5d7b547f2cc37e5892b954481bf35430c68681eb6 | 0.75 | testing_debugging_repair_refactoring | 200 | false | 2026-07-17 |
using NUnit.Framework;
namespace SFA.DAS.EmployerAccounts.Jobs.UnitTests
{
[TestFixture]
public class NoopTests
{
[Test]
public void Noop()
{
}
}
} | SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Jobs.UnitTests/NoopTests.cs | https://github.com/SkillsFundingAgency/das-employerapprenticeshipsservice/blob/HEAD/src/SFA.DAS.EmployerAccounts.Jobs.UnitTests/NoopTests.cs | ghcode:00004:bf76462d9ffa | mit | codeparrot/github-code | bf76462d9ffa302bc3a9fa1446a2f524b814da9a9391210773997225910a7f7b | 0.5 | testing_debugging_repair_refactoring | 49 | false | 2026-07-17 |
using System;
namespace Kekiri.TestSupport.Scenarios
{
public class When_overridding_when_scenario_base_class : ScenarioTest
{
[Given]
public void Given()
{
}
[When]
public virtual void When()
{
throw new ApplicationException("Shouldn't have... | andyalm/Kekiri | src/Tests/TestSupport/Scenarios/When_overridding_when_scenario.cs | https://github.com/andyalm/Kekiri/blob/HEAD/src/Tests/TestSupport/Scenarios/When_overridding_when_scenario.cs | ghcode:00004:33295836985d | mit | codeparrot/github-code | 33295836985d43cf80c3cb592e2a135f7a04584da8ee0cd0e077d510302ea15f | 0.85 | testing_debugging_repair_refactoring | 130 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using AutoFixture;
using AutoFixture.Idioms;
using Tranquire.Selenium.Questions.UIModels;
using Xunit;
namespace Tranquire.Selenium.Tests.Questions
{
public class AttributesTests
{
public static IEnumerable<object[]> Attributes
... | Galad/tranquire | tests/Tranquire.Selenium.Tests/Questions/AttributesTests.cs | https://github.com/Galad/tranquire/blob/HEAD/tests/Tranquire.Selenium.Tests/Questions/AttributesTests.cs | ghcode:00004:b09c65e1db92 | mit | codeparrot/github-code | b09c65e1db92c01a57fdb5eb8c4c2d32c343d6c6683b455cbbede0343adea0d6 | 0.75 | testing_debugging_repair_refactoring | 176 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
#nullable enable
namespace NUnit.Framework
{
using System;
/// <summary>
/// Identifies a method to be called once after all the child tests have run.
/// The method is guaranteed to be called, even if an exception is thr... | nunit/nunit | src/NUnitFramework/framework/Attributes/OneTimeTearDownAttribute.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/framework/Attributes/OneTimeTearDownAttribute.cs | ghcode:00004:3c733b7ec684 | mit | codeparrot/github-code | 3c733b7ec684d7e5c77e6473c86d723005cf606095ee1c0dc7b9b375c44f09c7 | 0.85 | testing_debugging_repair_refactoring | 114 | false | 2026-07-17 |
namespace EyeInTheSky.Tests.Model.StalkNodes
{
using System;
using System.Collections;
using EyeInTheSky.Model;
using EyeInTheSky.Model.Interfaces;
using EyeInTheSky.Model.StalkNodes;
using EyeInTheSky.Model.StalkNodes.BaseNodes;
using EyeInTheSky.Tests.Model.StalkNodes.BaseNodes;
using ... | stwalkerster/eyeinthesky | EyeInTheSky.Tests/Model/StalkNodes/ExpiryNodeTest.cs | https://github.com/stwalkerster/eyeinthesky/blob/HEAD/EyeInTheSky.Tests/Model/StalkNodes/ExpiryNodeTest.cs | ghcode:00004:202dc11ffa02 | mit | codeparrot/github-code | 202dc11ffa02287ac5c6ed7bc56bbb7edab9b2b2a24aafabd28685dae1960623 | 0.6 | testing_debugging_repair_refactoring | 465 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using PackageManager.Enums;
using PackageManager.Models;
using PackageManager.Models.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PackageManager.Tests.Models.PackageTests
{
[TestFixture]
... | Camyul/Modul_2_CSharp | CSharp - Unit Testing/Exam_Skeleton/Skeleton/AcademyPackageManager/PackageManager.Tests/Models/PackageTests/CompareTo_Should.cs | https://github.com/Camyul/Modul_2_CSharp/blob/HEAD/CSharp - Unit Testing/Exam_Skeleton/Skeleton/AcademyPackageManager/PackageManager.Tests/Models/PackageTests/CompareTo_Should.cs | ghcode:00004:e996b7ccfc02 | mit | codeparrot/github-code | e996b7ccfc022438f94da115ee7d82a706c76e2113561bb5b8067723e5c3ca2a | 0.7 | testing_debugging_repair_refactoring | 921 | false | 2026-07-17 |
using System;
using Wilcommerce.Catalog.Events.Product;
using Wilcommerce.Core.Common.Models;
using Xunit;
namespace Wilcommerce.Catalog.Test.Events.Product
{
public class ProductTierPriceAddedEventTest
{
[Fact]
public void ProductTierPriceAddedEvent_Ctor_Should_Set_Arguments_Correctly()
... | wilcommerce/Wilcommerce.Catalog | Wilcommerce.Catalog.Test/Events/Product/ProductTierPriceAddedEventTest.cs | https://github.com/wilcommerce/Wilcommerce.Catalog/blob/HEAD/Wilcommerce.Catalog.Test/Events/Product/ProductTierPriceAddedEventTest.cs | ghcode:00004:e9136e14be6f | mit | codeparrot/github-code | e9136e14be6fab4ea10913328252c71765692136aaa30b72ee3ceb936014b414 | 0.6 | testing_debugging_repair_refactoring | 203 | false | 2026-07-17 |
/*
* Location Intelligence APIs
*
* Incorporate our extensive geodata into everyday applications, business processes and workflows.
*
* OpenAPI spec version: 8.5.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you m... | PitneyBowes/LocationIntelligenceSDK-CSharp | src/pb.locationIntelligence.Test/Model/IncomeThemeV2Tests.cs | https://github.com/PitneyBowes/LocationIntelligenceSDK-CSharp/blob/HEAD/src/pb.locationIntelligence.Test/Model/IncomeThemeV2Tests.cs | ghcode:00004:1faf360ad6ce | apache-2.0 | codeparrot/github-code | 1faf360ad6cefa1411a9ce6028b75e2b68f894bee485e1cd35854720a7a64621 | 0.85 | testing_debugging_repair_refactoring | 640 | false | 2026-07-17 |
using System.Linq;
using NDatabase.Core.Query;
using NUnit.Framework;
namespace Test.NDatabase.Odb.Test.Index
{
public class TestIndexesWithValueQueries : ODBTest
{
[Test]
public void Test1()
{
const int size = 1000;
var baseName = GetBaseName();
... | WaltChen/NDatabase | tests/NDatabase.Old.UnitTests/NDatabase/Odb/Test/Index/TestIndexesWithValueQueries.cs | https://github.com/WaltChen/NDatabase/blob/HEAD/tests/NDatabase.Old.UnitTests/NDatabase/Odb/Test/Index/TestIndexesWithValueQueries.cs | ghcode:00004:0f0a64c0d8dc | apache-2.0 | codeparrot/github-code | 0f0a64c0d8dc15e370a75959b855165f7248c733b3967758020ae6c0fdc55b46 | 0.85 | testing_debugging_repair_refactoring | 260 | false | 2026-07-17 |
// Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.AdventOfCode.Puzzles.Y2016;
/// <summary>
/// A class containing tests for the <see cref="Day02"/> class. This class c... | martincostello/adventofcode | tests/AdventOfCode.Tests/Puzzles/Y2016/Day02Tests.cs | https://github.com/martincostello/adventofcode/blob/HEAD/tests/AdventOfCode.Tests/Puzzles/Y2016/Day02Tests.cs | ghcode:00004:56bde283b78b | apache-2.0 | codeparrot/github-code | 56bde283b78b8e1938a1667588af1f6ffdd7d85de3276f897add0f78a5560f92 | 0.85 | testing_debugging_repair_refactoring | 500 | false | 2026-07-17 |
#region License
/*
* Copyright © 2002-2008 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Un... | MaferYangPointJun/Spring.net | test/Spring/Spring.Core.Tests/Globalization/Formatters/HasTextFilteringFormatterTests.cs | https://github.com/MaferYangPointJun/Spring.net/blob/HEAD/test/Spring/Spring.Core.Tests/Globalization/Formatters/HasTextFilteringFormatterTests.cs | ghcode:00004:fe84ba0be49e | apache-2.0 | codeparrot/github-code | fe84ba0be49ee09b8775bc19a7a52031a31143d6d3295892d38bf03ed38cf0d4 | 0.85 | testing_debugging_repair_refactoring | 406 | false | 2026-07-17 |
using System;
using Xunit;
namespace Structurizr.Core.Tests
{
public class HttpHealthCheckTests
{
private HttpHealthCheck _healthCheck;
[Fact]
public void test_defaultConstructorExists()
{
// the default constructor is used when deserializing from JSON
... | structurizr/dotnet | Structurizr.Core.Tests/Model/HttpHealthCheckTests.cs | https://github.com/structurizr/dotnet/blob/HEAD/Structurizr.Core.Tests/Model/HttpHealthCheckTests.cs | ghcode:00004:f1201b8d1c8a | apache-2.0 | codeparrot/github-code | f1201b8d1c8a7e5df1e5d7e2988a4dec3039e818fff54c1297fa9346c61e5ead | 0.85 | testing_debugging_repair_refactoring | 535 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Globalization;
namespace Rxx.UnitTests
{
public abstract class RxxTraceTests : RxxTests
{
#region Public Properties
public TestTraceListener Listener
{
get
{
return testListener;
}
}
#endregion
... | RxDave/Rxx | Main/Testing/Rxx.UnitTests/RxxTraceTests.cs | https://github.com/RxDave/Rxx/blob/HEAD/Main/Testing/Rxx.UnitTests/RxxTraceTests.cs | ghcode:00004:eeb63d9cec99 | apache-2.0 | codeparrot/github-code | eeb63d9cec990056aebc5aa9dcbadd23674c062f47ac2d9ea588f4a89659677f | 0.75 | testing_debugging_repair_refactoring | 226 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using AdvancedContentSecurity.Core.Rules;
using FluentAssertions;
using NSubstitute;
using NUnit.Framework;
using Sitecore.Data.Items;
using Sitecore.Rules;
namespace AdvancedContentSecurity.UnitTests.Rules
{
[ExcludeFromCodeCo... | cardinal252/Sitecore.AdvancedContentSecurity | AdvancedContentSecurity.UnitTests/Rules/RulesManagerTestFixture.cs | https://github.com/cardinal252/Sitecore.AdvancedContentSecurity/blob/HEAD/AdvancedContentSecurity.UnitTests/Rules/RulesManagerTestFixture.cs | ghcode:00004:d5b283bbe938 | apache-2.0 | codeparrot/github-code | d5b283bbe938689a5b0b419981c644e950a48aa825f21103de4ad67f5c1c840a | 0.7 | testing_debugging_repair_refactoring | 2,493 | false | 2026-07-17 |
/***************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
This code is licensed under the Visual Studio SDK license terms.
THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
IMPLIED WAR... | cege7480/tfsquicktasks | src/Tests/TfsQuickTasks_UnitTests/MyToolWindowTest/ShowToolWindow.cs | https://github.com/cege7480/tfsquicktasks/blob/HEAD/src/Tests/TfsQuickTasks_UnitTests/MyToolWindowTest/ShowToolWindow.cs | ghcode:00004:434e4fc00c97 | apache-2.0 | codeparrot/github-code | 434e4fc00c9745a620de2aa58b3879c235362e6e878f3e6f2bf8ff8e12a4aa1b | 0.95 | testing_debugging_repair_refactoring | 579 | false | 2026-07-17 |
// Copyright 2021 Jacob Trimble
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | TheModMaker/ModMaker.Lua | Unit Tests/MiscLuaTest.cs | https://github.com/TheModMaker/ModMaker.Lua/blob/HEAD/Unit Tests/MiscLuaTest.cs | ghcode:00004:6ae3f7819121 | apache-2.0 | codeparrot/github-code | 6ae3f7819121716d96594f01bf308f858f8b3dbb416dca7ac0c8e4f3df42983e | 0.7 | testing_debugging_repair_refactoring | 522 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Routing.Match... | aspnet/AspNetCore | src/Http/Routing/test/UnitTests/DefaultLinkParserTest.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Http/Routing/test/UnitTests/DefaultLinkParserTest.cs | ghcode:00004:2b00f026ecee | apache-2.0 | codeparrot/github-code | 2b00f026ecee9c1a38e80819f86c501b74eae7f3cc5bf3ec712b4b1738c2076c | 0.95 | testing_debugging_repair_refactoring | 1,576 | false | 2026-07-17 |
// <copyright file="BufferManagerTest.cs" company="PayScale">
// Copyright (c) PayScale. All rights reserved.
// Licensed under the APACHE 2.0 license. See LICENSE file in the project root for full license information.
// </copyright>
using System;
using System.Threading.Tasks;
using Redis.NetCore.Pipeline;
using Xun... | cleverguy25/Redis.NetCore | src/Redis.NetCore.Tests/BufferManagerTest.cs | https://github.com/cleverguy25/Redis.NetCore/blob/HEAD/src/Redis.NetCore.Tests/BufferManagerTest.cs | ghcode:00004:3aed12dd5ede | apache-2.0 | codeparrot/github-code | 3aed12dd5edee08c1598a6c554e72efb4bf258e8bc5198ae4523c7b3c3998b11 | 0.7 | testing_debugging_repair_refactoring | 668 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using Newtonsoft.Json.Linq;
using System.Threading;
using Microsoft.Azu... | yoavrubin/azure-sdk-for-net | src/TestFramework/Microsoft.Rest.ClientRuntime.Azure.TestFramework/TestEnvironmentFactory.cs | https://github.com/yoavrubin/azure-sdk-for-net/blob/HEAD/src/TestFramework/Microsoft.Rest.ClientRuntime.Azure.TestFramework/TestEnvironmentFactory.cs | ghcode:00004:7ed127928d53 | apache-2.0 | codeparrot/github-code | 7ed127928d531aa0aa012e25a2bb9ea3257ed5bfdc56e70544ce7137a9ee444c | 0.85 | testing_debugging_repair_refactoring | 2,581 | false | 2026-07-17 |
/*
* Copyright 2014 Technische Universität Darmstadt
*
* 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 appl... | kave-cc/csharp-commons | KaVE.Commons.Tests/Model/Naming/Impl/v1/NamesV1Test.cs | https://github.com/kave-cc/csharp-commons/blob/HEAD/KaVE.Commons.Tests/Model/Naming/Impl/v1/NamesV1Test.cs | ghcode:00004:bdf0ac29b455 | apache-2.0 | codeparrot/github-code | bdf0ac29b455310a7c9bde1e26adef715a7cf2cd68f476e006185b74af081742 | 0.6 | testing_debugging_repair_refactoring | 193 | false | 2026-07-17 |
using System;
using System.Reflection;
using System.Threading.Tasks;
using Bmz.Framework.Threading;
using Shouldly;
using Xunit;
namespace Bmz.Framework.Tests.Threading
{
public class InternalAsyncHelper_Tests
{
private bool _asyncMethod1Worked;
private bool _asyncMethod2Worked;
[Fact... | blademasterzhang/Bmz.Framework | src/Tests/Bmz.Framework.Tests/Threading/InternalAsyncHelper_Tests.cs | https://github.com/blademasterzhang/Bmz.Framework/blob/HEAD/src/Tests/Bmz.Framework.Tests/Threading/InternalAsyncHelper_Tests.cs | ghcode:00004:d49c0ca6c786 | apache-2.0 | codeparrot/github-code | d49c0ca6c78673cb32dca02d711fee1a70af0a783d55db719c75080e52918e46 | 0.85 | testing_debugging_repair_refactoring | 643 | false | 2026-07-17 |
using RestSharp;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using System.Net.Cache;
namespace IS24RestApi.Tests
{
public class HttpStubRespo... | enkol/IS24RestApi | IS24RestApi.Tests/HttpStub.cs | https://github.com/enkol/IS24RestApi/blob/HEAD/IS24RestApi.Tests/HttpStub.cs | ghcode:00004:e37b5ac145b2 | apache-2.0 | codeparrot/github-code | e37b5ac145b2e562a85997bf095db53ff2e43fecb7f73180dea260389039bd4a | 0.7 | testing_debugging_repair_refactoring | 2,459 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TestTable1.cs" company="CODE Insiders LTD">
//
// Copyright 2013-2015 CODE Insiders LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use ... | codeinsiders/sharpql | CodeInsiders.SharpQL.Tests/_TestMockTables/TestTable1.cs | https://github.com/codeinsiders/sharpql/blob/HEAD/CodeInsiders.SharpQL.Tests/_TestMockTables/TestTable1.cs | ghcode:00004:ba41c7100053 | apache-2.0 | codeparrot/github-code | ba41c7100053920d9918ccf60c3acf6d50226da1b1907961f9a53ac7a9966f83 | 0.85 | testing_debugging_repair_refactoring | 253 | false | 2026-07-17 |
#region copyright
/* * * * * * * * * * * * * * * * * * * * * * * * * */
/* Carl Zeiss Industrielle Messtechnik GmbH */
/* Softwaresystem PiWeb */
/* (c) Carl Zeiss 2018 */
/* * * * * * * * * * * * * * * * * * * * * * * * * */
#endregion
namespace Zeiss.P... | ZEISS-PiWeb/PiWeb-Formplots | src/Tests/FileFormat/DefectPlotTest.cs | https://github.com/ZEISS-PiWeb/PiWeb-Formplots/blob/HEAD/src/Tests/FileFormat/DefectPlotTest.cs | ghcode:00004:031b6fa6b2d3 | bsd-3-clause | codeparrot/github-code | 031b6fa6b2d38553e333c3a165b8376760238fdfd4a5f96f9dfbee7c45c7d02d | 0.95 | testing_debugging_repair_refactoring | 1,617 | false | 2026-07-17 |
#if NET452
namespace Microsoft.ApplicationInsights.Tests
{
using Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.StandardPerfCollector;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/// <summary>
/// StandardPerformanceCollector tests.
/// </summary>
[Test... | pharring/ApplicationInsights-dotnet | WEB/Src/PerformanceCollector/Perf.Tests/StandardPerformanceCollectorTests.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/WEB/Src/PerformanceCollector/Perf.Tests/StandardPerformanceCollectorTests.cs | ghcode:00004:c63382599afc | mit | codeparrot/github-code | c63382599afc4d210c9f9859a9b1adf278000c17c3e47effe91b7ff816ffb6ee | 0.95 | testing_debugging_repair_refactoring | 370 | false | 2026-07-17 |
using Telegram.Bot.Tests.Integ.Framework;
using Telegram.Bot.Types;
namespace Telegram.Bot.Tests.Integ.Polls
{
public class AnonymousPollTestsFixture
{
public TestsFixture TestsFixture { get; }
public Message PollMessage { get; set; }
public AnonymousPollTestsFixture(TestsFixture test... | MrRoundRobin/telegram.bot | test/Telegram.Bot.Tests.Integ/Polls/AnonymousPollTestsFixture.cs | https://github.com/MrRoundRobin/telegram.bot/blob/HEAD/test/Telegram.Bot.Tests.Integ/Polls/AnonymousPollTestsFixture.cs | ghcode:00004:fa1f86684f3f | mit | codeparrot/github-code | fa1f86684f3f669ea3b81abb901d6347c457e67c74719664faa20e1dbfba512d | 0.75 | testing_debugging_repair_refactoring | 80 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BrightcoveMapiWrapper.Api;
using BrightcoveMapiWrapper.Model.Items;
using NUnit.Framework;
namespace BrightcoveOS.NET_MAPI_Wrapper.Tests.IntegrationTests.VideoRead
{
[TestFixture]
public class FindVideoByReference... | revdotcom/.NET-MAPI-Wrapper | tests/BrightcoveOS .NET-MAPI-Wrapper.Tests/IntegrationTests/VideoRead/FindVideoByReferenceIdTests.cs | https://github.com/revdotcom/.NET-MAPI-Wrapper/blob/HEAD/tests/BrightcoveOS .NET-MAPI-Wrapper.Tests/IntegrationTests/VideoRead/FindVideoByReferenceIdTests.cs | ghcode:00004:2f41ef06be43 | mit | codeparrot/github-code | 2f41ef06be436ada30ec14109c36b0120ed7b7e7c18df9d1d570df340b18462b | 0.75 | testing_debugging_repair_refactoring | 305 | 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.Collections.Immutable;
using System.Diagnostics;
using... | abock/roslyn | src/Features/Core/Portable/CodeRefactorings/MoveType/AbstractMoveTypeService.cs | https://github.com/abock/roslyn/blob/HEAD/src/Features/Core/Portable/CodeRefactorings/MoveType/AbstractMoveTypeService.cs | ghcode:00004:ba8c066db41a | mit | codeparrot/github-code | ba8c066db41a81da8236b6c341db1b62b5ab7ddf72d7938ef783fb84d88b999c | 0.85 | testing_debugging_repair_refactoring | 2,050 | false | 2026-07-17 |
using System;
using BigMath;
using NUnit.Framework;
using Raksha.Crypto.Digests;
using Raksha.Crypto.Engines;
using Raksha.Crypto.Parameters;
using Raksha.Crypto.Signers;
using Raksha.Math;
using Raksha.Security;
using Raksha.Utilities.Encoders;
using Raksha.Tests.Utilities;
namespace Raksha.Tests.Crypto
{
/// <rema... | Taggersoft/Raksha | src/Raksha.Tests (net45)/Crypto/PSSTest.cs | https://github.com/Taggersoft/Raksha/blob/HEAD/src/Raksha.Tests (net45)/Crypto/PSSTest.cs | ghcode:00004:2f3ba4281f1a | mit | codeparrot/github-code | 2f3ba4281f1af7bbb924e41d22bb01f8dc6a9d3b49f425d29654f8eb44fec5cd | 0.7 | testing_debugging_repair_refactoring | 14,398 | 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.Collections.Immutable;
using System.Diagnostics;
using... | genlu/roslyn | src/Compilers/CSharp/Portable/CodeGen/EmitStatement.cs | https://github.com/genlu/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/CodeGen/EmitStatement.cs | ghcode:00004:144d987cc9ed | mit | codeparrot/github-code | 144d987cc9ed6d93b89a70fe8d3e142bed48a2a523453f7c2b96c8245fae42d9 | 0.72 | testing_debugging_repair_refactoring | 11,757 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.ApplicationInsights.Channel;
using Microsoft.ApplicationInsights.Extensibility.Implementation;
using Microsoft.ApplicationInsights.DataContracts;
using... | pharring/ApplicationInsights-dotnet | BASE/Test/Microsoft.ApplicationInsights.Test/Microsoft.ApplicationInsights.Tests/Metrics/TestUtility/TestUtil.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/BASE/Test/Microsoft.ApplicationInsights.Test/Microsoft.ApplicationInsights.Tests/Metrics/TestUtility/TestUtil.cs | ghcode:00004:a6028b5a56c9 | mit | codeparrot/github-code | a6028b5a56c9ef6e151353f9abe71d850be8b002d060801fc7af5f60a29220bb | 0.95 | testing_debugging_repair_refactoring | 2,617 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Linq;
#if CONTRACTS_FULL
using System.Diagnostics.Contracts;
#else
using PixelLab.Contracts;
#endif
namespace PixelLab.Common
{
public static class Col... | jaredthirsk/Core | src/LionFire.UI.Wpf.Controls/Imported/PixelLab/Core/CollectionExtensions.cs | https://github.com/jaredthirsk/Core/blob/HEAD/src/LionFire.UI.Wpf.Controls/Imported/PixelLab/Core/CollectionExtensions.cs | ghcode:00004:05c1ac83180d | mit | codeparrot/github-code | 05c1ac83180d932c61972a0712a986748d7d87b6175bb93bae76714a4955b732 | 0.7 | testing_debugging_repair_refactoring | 3,642 | false | 2026-07-17 |
// Copyright (c) 2015 ZZZ Projects. All rights reserved
// Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
// Website: http://www.zzzprojects.com/
// Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927
// All ZZZ Projects products: Entity Framework ... | mario-loza/Z.ExtensionMethods | test/Z.IO.Test/System.IO.DirectoryInfo/DirectoryInfo.DeleteFilesWhere.cs | https://github.com/mario-loza/Z.ExtensionMethods/blob/HEAD/test/Z.IO.Test/System.IO.DirectoryInfo/DirectoryInfo.DeleteFilesWhere.cs | ghcode:00004:2b4d6f768332 | mit | codeparrot/github-code | 2b4d6f768332b5ece963b3a28f777fd125453f722d81092870000fd1317da0ba | 0.7 | testing_debugging_repair_refactoring | 318 | false | 2026-07-17 |
using NSpec.Domain;
using System;
using System.Collections.Generic;
namespace NSpec.Tests
{
public class WrittenExample
{
public WrittenExample(ExampleBase example)
{
Pending = example.Pending;
HasRun = example.HasRun;
Spec = example.Spec;
Tags =... | mattflo/NSpec | sln/test/NSpec.Tests/WrittenExample.cs | https://github.com/mattflo/NSpec/blob/HEAD/sln/test/NSpec.Tests/WrittenExample.cs | ghcode:00004:70de2dfbe623 | mit | codeparrot/github-code | 70de2dfbe6235ee47b7ac970a65802702867f6d68d4c7bb29d985120ec13e0dd | 0.85 | testing_debugging_repair_refactoring | 232 | false | 2026-07-17 |
using System.Reflection;
using CqrsSpirit.Tests.Stubs;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace CqrsSpirit.Tests
{
public class CqrsSpiritExtensionsTests
{
[Fact]
public void CommandsDispatcherRegister()
{
// Arrange
var serviceColl... | sergeyzwezdin/cqs.net | sources/CqrsSpirit.Tests/CqrsSpiritExtensionsTests.cs | https://github.com/sergeyzwezdin/cqs.net/blob/HEAD/sources/CqrsSpirit.Tests/CqrsSpiritExtensionsTests.cs | ghcode:00004:862fc9c13109 | mit | codeparrot/github-code | 862fc9c13109e7f92dc57b6fcffb9126c0bb92a23cc174e299d9cb21b6d2786b | 0.85 | testing_debugging_repair_refactoring | 929 | 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.Threading.Tasks;
using Xunit;
using VerifyCS = Test.Utilities.CSharpSecurityCodeFixVerifier<
Microsoft.NetCore.Analyzers.Runtime.DoNotDefine... | mavasani/roslyn-analyzers | src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Runtime/DoNotDefineFinalizersForTypesDerivedFromMemoryManagerTests.cs | https://github.com/mavasani/roslyn-analyzers/blob/HEAD/src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Runtime/DoNotDefineFinalizersForTypesDerivedFromMemoryManagerTests.cs | ghcode:00004:8630cb6b8c8f | apache-2.0 | codeparrot/github-code | 8630cb6b8c8f8176e1ab12595c15ee17cce96eec4dedec2ed025b375c318e157 | 0.75 | testing_debugging_repair_refactoring | 1,056 | false | 2026-07-17 |
using ClosedXML.Excel;
using NUnit.Framework;
using Ninject;
using Pickles.DocumentationBuilders.Excel;
using Pickles.Parser;
using Should;
namespace Pickles.Test.DocumentationBuilders
{
[TestFixture]
public class WhenAddingAStepToAWorksheet : BaseFixture
{
[Test]
public void ThenStepAdded... | ppnrao/pickles | src/Pickles/Pickles.Test/DocumentationBuilders/Excel/WhenAddingAStepToAWorksheet.cs | https://github.com/ppnrao/pickles/blob/HEAD/src/Pickles/Pickles.Test/DocumentationBuilders/Excel/WhenAddingAStepToAWorksheet.cs | ghcode:00004:928ae8104dbb | apache-2.0 | codeparrot/github-code | 928ae8104dbbce2b9b133d6b5b7251c4822e88c06698cca07a4cbf973028f263 | 0.6 | testing_debugging_repair_refactoring | 186 | false | 2026-07-17 |
/*
Copyright 2010 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | xamarin/google-apis | src/Externals/google-api-dotnet-client/Src/GoogleApis.Tools.CodeGen.Tests/Decorator/ResourceDecorator/StandardServiceFieldResourceDecoratorTest.cs | https://github.com/xamarin/google-apis/blob/HEAD/src/Externals/google-api-dotnet-client/Src/GoogleApis.Tools.CodeGen.Tests/Decorator/ResourceDecorator/StandardServiceFieldResourceDecoratorTest.cs | ghcode:00004:fccd89e5c689 | apache-2.0 | codeparrot/github-code | fccd89e5c6896a98b3a2a4eb7ce39b8e28f99a9170adcb53f16fffca56e88255 | 0.8 | testing_debugging_repair_refactoring | 516 | false | 2026-07-17 |
using NUnit.Extensions.Asp;
using NUnit.Extensions.Asp.AspTester;
using NUnit.Framework;
namespace NPetshop.Test.Web
{
/// <summary>
/// Description résumée de WebFormTest.
/// </summary>
[TestFixture]
public class WebFormTest : WebFormTestCase
{
[Test]
public void TestGotToCatalog()
{
// First, in... | cavajtennis/ibatis | cs/npetshop2/NPetshop.Test/Web/WebFormTest.cs | https://github.com/cavajtennis/ibatis/blob/HEAD/cs/npetshop2/NPetshop.Test/Web/WebFormTest.cs | ghcode:00004:701d322cdc11 | apache-2.0 | codeparrot/github-code | 701d322cdc110884deb5b1ecfaf379057eb70da1ee9385d1560ad9290f0fac7c | 0.7 | testing_debugging_repair_refactoring | 292 | false | 2026-07-17 |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
using System;
namespace Mosa.Test.Collection
{
public static class SingleTests
{
public static float AddR4R4(float first, float second)
{
return (first + second);
}
public static float SubR4R4(float first, float second)
{
return (f... | modulexcite/MOSA-Project | Source/Mosa.Test.Collection/SingleTests.cs | https://github.com/modulexcite/MOSA-Project/blob/HEAD/Source/Mosa.Test.Collection/SingleTests.cs | ghcode:00004:55d16a655317 | bsd-3-clause | codeparrot/github-code | 55d16a6553171ce004cb5f26ad008fa29508580f70f146caffc942a5eb4587ab | 0.75 | testing_debugging_repair_refactoring | 623 | false | 2026-07-17 |
using UnityEngine;
namespace HoloToolkit.Unity.InputModule.Tests
{
/// <summary>
/// Test behaviour that simply prints out a message very time a supported event is received from the input module.
/// This is used to make sure that the input module routes events appropriately to game objects.
/// </sum... | AllBecomesGood/Share-UpdateHolograms | ShareAndKeepSynced/Assets/HoloToolKit/Input/Tests/Scripts/InputTest.cs | https://github.com/AllBecomesGood/Share-UpdateHolograms/blob/HEAD/ShareAndKeepSynced/Assets/HoloToolKit/Input/Tests/Scripts/InputTest.cs | ghcode:00004:26ca0b2c710e | mit | codeparrot/github-code | 26ca0b2c710ec5556411f015b303b79a56ecf029b903b8e4e3887db3859ee9c5 | 0.95 | testing_debugging_repair_refactoring | 1,299 | false | 2026-07-17 |
using System.Collections.Immutable;
using BenchmarkDotNet.Attributes;
using LanguageExt.ClassInstances;
using LanguageExt.TypeClasses;
namespace LanguageExt.Benchmarks
{
[RPlotExporter, RankColumn]
[GenericTypeArguments(typeof(int), typeof(OrdInt))]
[GenericTypeArguments(typeof(string), typeof(OrdString))... | StanJav/language-ext | LanguageExt.Benchmarks/HashSetRandomRemovalBenchmarks.cs | https://github.com/StanJav/language-ext/blob/HEAD/LanguageExt.Benchmarks/HashSetRandomRemovalBenchmarks.cs | ghcode:00004:508c58bf6365 | mit | codeparrot/github-code | 508c58bf6365e33c946917428e9b5ab1e2e7e4ce93ab2a82c68b9617be1b93d5 | 0.6 | testing_debugging_repair_refactoring | 549 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Globalization;
using System.IO;
us... | budcribar/roslyn | src/Test/PdbUtilities/Metadata/MetadataVisualizer.cs | https://github.com/budcribar/roslyn/blob/HEAD/src/Test/PdbUtilities/Metadata/MetadataVisualizer.cs | ghcode:00004:6ad105440123 | apache-2.0 | codeparrot/github-code | 6ad10544012332ac06e9642cb2f30a6b0c7afa4f3d857cd2047932ec38453b65 | 0.82 | testing_debugging_repair_refactoring | 10,916 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | f7753/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Compute/TaskResultTest.cs | https://github.com/f7753/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Compute/TaskResultTest.cs | ghcode:00004:1e20a7725c93 | apache-2.0 | codeparrot/github-code | 1e20a7725c93d97d2e7740fd3669d0ee8c0231dba3d285eba6b005b2d997af3e | 0.7 | testing_debugging_repair_refactoring | 2,615 | false | 2026-07-17 |
using Magellan.Framework;
using NUnit.Framework;
namespace Magellan.Tests.Framework
{
[TestFixture]
public class PageResultTests
{
[Test]
public void ShouldAllowNullPageName()
{
new PageResult(null, false, new ViewEngineCollection());
}
[T... | galendai/magellan-framework | src/Magellan.Tests/Framework/PageResultTests.cs | https://github.com/galendai/magellan-framework/blob/HEAD/src/Magellan.Tests/Framework/PageResultTests.cs | ghcode:00004:142f8f06d85d | mit | codeparrot/github-code | 142f8f06d85dd054460da3616c3014afa4341180ee93acf51c5274bec061139f | 0.75 | testing_debugging_repair_refactoring | 160 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenProtocolInterpreter.OpenProtocolCommandsDisabled;
namespace MIDTesters.OpenProtocolCommandsDisabled
{
[TestClass]
public class TestMid0422 : MidTester
{
[TestMethod]
public void Mid0422Revision1(... | Rickedb/OpenProtocolInterpreter | src/MIDTesters/OpenProtocolCommandsDisabled/TestMid0422.cs | https://github.com/Rickedb/OpenProtocolInterpreter/blob/HEAD/src/MIDTesters/OpenProtocolCommandsDisabled/TestMid0422.cs | ghcode:00004:f16137b6cc50 | mit | codeparrot/github-code | f16137b6cc5009dfd3f6072b087ed5811a25d7e8a18decab74a2883318462aeb | 0.75 | testing_debugging_repair_refactoring | 202 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace SIL.WritingSystems.Tests
{
[Platform(Exclude = "Linux",
Reason = "Ignored because linux nunit-test runner can't handle Tests in abastract base class")]
public abstract class WritingSystemRepositoryTests
{
private... | sillsdev/libpalaso | SIL.WritingSystems.Tests/WritingSystemRepositoryTests.cs | https://github.com/sillsdev/libpalaso/blob/HEAD/SIL.WritingSystems.Tests/WritingSystemRepositoryTests.cs | ghcode:00004:7289b02a94d0 | mit | codeparrot/github-code | 7289b02a94d0fecdde286d93926a5c833bcd9ffbd4e55f32729da0561305fc57 | 0.85 | testing_debugging_repair_refactoring | 4,856 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2009 Charlie Poole, Rob Prouse
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restri... | OmicronPersei/nunit | src/NUnitFramework/tests/Assertions/AssertFailTests.cs | https://github.com/OmicronPersei/nunit/blob/HEAD/src/NUnitFramework/tests/Assertions/AssertFailTests.cs | ghcode:00004:51823328ea2e | mit | codeparrot/github-code | 51823328ea2ed52ad02fbd11539b6a78c6fb4fbb3bee074e465b2ade1d5edca3 | 0.95 | testing_debugging_repair_refactoring | 1,045 | false | 2026-07-17 |
using System.IO;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tesseract.Tests.Leptonica.PixTests
{
[TestFixture]
public class ImageManipulationTests
{
const string ResultsDirectory = @"Results\I... | anshul1912/tesseract-1 | src/Tesseract.Tests/Leptonica/PixTests/ImageManipulationTests.cs | https://github.com/anshul1912/tesseract-1/blob/HEAD/src/Tesseract.Tests/Leptonica/PixTests/ImageManipulationTests.cs | ghcode:00004:562fd4599a69 | apache-2.0 | codeparrot/github-code | 562fd4599a697ca86faf4a63d6376d6b44850579660426b42ce668c7891169e7 | 0.75 | testing_debugging_repair_refactoring | 1,252 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using System;
using System.Collections.Generic;
using System.Diagnostics;
us... | KashishArora/Roslyn | src/Compilers/CSharp/Portable/Lowering/IteratorRewriter/IteratorMethodToStateMachineRewriter.cs | https://github.com/KashishArora/Roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/IteratorRewriter/IteratorMethodToStateMachineRewriter.cs | ghcode:00004:ab38d3a98748 | apache-2.0 | codeparrot/github-code | ab38d3a987486831d076c90d45c616654e460bd0391959e8fc18bf7be389f668 | 0.85 | testing_debugging_repair_refactoring | 3,443 | 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.CodeRefactorings.GenerateFromMembers.GenerateEqualsAndGetHashCode;
using Roslyn.Test.Utilities;
using Xunit;
namespace M... | DavidKarlas/roslyn | src/EditorFeatures/CSharpTest/CodeActions/GenerateFromMembers/GenerateEqualsAndGetHashCode/GenerateEqualsAndGetHashCodeTests.cs | https://github.com/DavidKarlas/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/CodeActions/GenerateFromMembers/GenerateEqualsAndGetHashCode/GenerateEqualsAndGetHashCodeTests.cs | ghcode:00004:005ec5b95ccb | apache-2.0 | codeparrot/github-code | 005ec5b95ccb89a35f3d22b664057540fece096ba7256d191df741e22c516e7a | 0.75 | testing_debugging_repair_refactoring | 2,117 | false | 2026-07-17 |
// Artificial Intelligence for Humans
// Volume 1: Fundamental Algorithms
// C# Version
// http://www.aifh.org
// http://www.jeffheaton.com
//
// Code repository:
// https://github.com/jeffheaton/aifh
//
// Copyright 2013 by Jeff Heaton
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may n... | PeterLauris/aifh | vol1/csharp-examples/UnitTests/Core/Randomize/TestLinearCongruentialRandom.cs | https://github.com/PeterLauris/aifh/blob/HEAD/vol1/csharp-examples/UnitTests/Core/Randomize/TestLinearCongruentialRandom.cs | ghcode:00004:5fa2673dd18b | apache-2.0 | codeparrot/github-code | 5fa2673dd18bed574e58258c8ab8a35c2094aced72f78ceae30233500f778b94 | 0.85 | testing_debugging_repair_refactoring | 12,241 | false | 2026-07-17 |
#region License
//
// Command Line Library: ReflectionUtilFixture.cs
//
// Author:
// Giacomo Stelluti Scala (gsscoder@gmail.com)
//
// Copyright (C) 2005 - 2012 Giacomo Stelluti Scala
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation f... | jandppw/ppwcode-recovered-from-google-code | dotnet/External/CommandLineParser/trunk/src/tests/Utility/ReflectionUtilFixture.cs | https://github.com/jandppw/ppwcode-recovered-from-google-code/blob/HEAD/dotnet/External/CommandLineParser/trunk/src/tests/Utility/ReflectionUtilFixture.cs | ghcode:00004:3debad0c4965 | apache-2.0 | codeparrot/github-code | 3debad0c49651bccdf27fa759bcb50525b1101b435f662dc32c8a05f5cf9d3c9 | 0.95 | testing_debugging_repair_refactoring | 1,137 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.