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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
namespace Ocelot.UnitTests.Rafty
{
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Moq;
using Ocelot.Administration;
using Ocelot.DependencyInjection;
using Provider.Rafty;
using Shouldly;
using Syst... | geffzhang/Ocelot | test/Ocelot.UnitTests/Rafty/OcelotAdministrationBuilderExtensionsTests.cs | https://github.com/geffzhang/Ocelot/blob/HEAD/test/Ocelot.UnitTests/Rafty/OcelotAdministrationBuilderExtensionsTests.cs | ghcode:00167:56d09ec3cdd3 | mit | codeparrot/github-code | 56d09ec3cdd361b1d601f61dc9d82f0a5b5320a94c33953cb736b1f4f5a97ecf | 0.75 | testing_debugging_repair_refactoring | 517 | false | 2026-07-17 |
using System.Xml.Serialization;
namespace Nancy.Tests.Unit.ModelBinding.DefaultBodyDeserializers
{
using System;
using System.IO;
using System.Linq;
using System.Text;
using Nancy.Json;
using Nancy.ModelBinding;
using Nancy.ModelBinding.DefaultBodyDeserializers;
using Xunit;
publ... | paulcbetts/Nancy | src/Nancy.Tests/Unit/ModelBinding/DefaultBodyDeserializers/XmlBodyDeserializerfixture.cs | https://github.com/paulcbetts/Nancy/blob/HEAD/src/Nancy.Tests/Unit/ModelBinding/DefaultBodyDeserializers/XmlBodyDeserializerfixture.cs | ghcode:00167:a47c508bf436 | mit | codeparrot/github-code | a47c508bf4369d417ff14a57ae5d551819205d7d1e38f8175e7d6d575560bab9 | 0.75 | testing_debugging_repair_refactoring | 826 | false | 2026-07-17 |
using MarvelAPI.Parameters;
using Moq;
using RestSharp;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace MarvelAPI.Test.Requests.EventRequestTests
{
public class GetStoriesForEventTests : EventRequestTestBase
{
[Fact]
public void Success()
{
// ar... | foilking/MarvelAPI | MarvelAPI.Test/Requests/EventRequestTests/GetStoriesForEventTests.cs | https://github.com/foilking/MarvelAPI/blob/HEAD/MarvelAPI.Test/Requests/EventRequestTests/GetStoriesForEventTests.cs | ghcode:00167:0881b0a92b4e | mit | codeparrot/github-code | 0881b0a92b4e68b589a09b4e0927f0b9f2dc6c18015c9742e35632b0718fde80 | 0.85 | testing_debugging_repair_refactoring | 231 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2012-2013 Univer Shi
//
// 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 u... | shigengyu/UniverCore | src/Univer.Common/MultiDimensionDictionary.cs | https://github.com/shigengyu/UniverCore/blob/HEAD/src/Univer.Common/MultiDimensionDictionary.cs | ghcode:00167:7285de3675f9 | mit | codeparrot/github-code | 7285de3675f97b44fa94e672f0f715ade0301c2498b4aa8e66161cf7ea61a2e4 | 0.7 | testing_debugging_repair_refactoring | 3,016 | false | 2026-07-17 |
namespace SimpleInjector.Diagnostics.Tests.Unit
{
using System.Collections.Generic;
using System.Linq;
using Lifestyles;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SimpleInjector.Diagnostics.Analyzers;
using SimpleInjector.Diagnostics.Debugger;
using SimpleInjector.Tests.Unit... | simpleinjector/SimpleInjector | src/SimpleInjector.Tests.Unit/Diagnostics/TornLifestyleContainerAnalyzerTests.cs | https://github.com/simpleinjector/SimpleInjector/blob/HEAD/src/SimpleInjector.Tests.Unit/Diagnostics/TornLifestyleContainerAnalyzerTests.cs | ghcode:00167:1ec02700b12d | mit | codeparrot/github-code | 1ec02700b12d1b040faa720fa204b97ad09dc791a8b0d86f1e2af189f74e2eac | 0.85 | testing_debugging_repair_refactoring | 5,181 | false | 2026-07-17 |
using System;
using Xunit;
namespace CSharp8
{
public class Intro
{
class MyAttribute : Attribute { }
public Version CSharp7 { [My] get; } = new Version("7.3");
//public Version CSharp7 { get; [Obsolete] set; } = new Version("7.3");
public Version CSharp8
... | Ky7m/DemoCode | CSharp8/CSharp8/0.Intro.cs | https://github.com/Ky7m/DemoCode/blob/HEAD/CSharp8/CSharp8/0.Intro.cs | ghcode:00167:3dc5b567d3a0 | mit | codeparrot/github-code | 3dc5b567d3a09a188b11c768da9e4760a484d294912093b95f005ffc97e0ebfd | 0.7 | testing_debugging_repair_refactoring | 164 | false | 2026-07-17 |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | pushrbx/squidex | tests/Squidex.Infrastructure.Tests/Tasks/SingleThreadedDispatcherTests.cs | https://github.com/pushrbx/squidex/blob/HEAD/tests/Squidex.Infrastructure.Tests/Tasks/SingleThreadedDispatcherTests.cs | ghcode:00167:5e1d90e5fcef | mit | codeparrot/github-code | 5e1d90e5fcef6099041e123815e9d3c20ad20e6dcc5529ac3a50e0f86a66186f | 0.85 | testing_debugging_repair_refactoring | 274 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ConnectFour;
using ConnectFour.Enums;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ConnectFourTests.UserInterfaceTests
{
[TestClass]
public class GetMove
{
[TestMethod]
public void ValidMov... | PurplePenguin4102/ConnectFour | ConnectFour/ConnectFourTests/UserInterfaceTests/GetMove.cs | https://github.com/PurplePenguin4102/ConnectFour/blob/HEAD/ConnectFour/ConnectFourTests/UserInterfaceTests/GetMove.cs | ghcode:00167:2a3032fdc715 | mit | codeparrot/github-code | 2a3032fdc7152e2f39dc1ecfe8f040988edf9ac9622af15007c4ab783830c73c | 0.6 | testing_debugging_repair_refactoring | 459 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AM.IO;
namespace UnitTests.AM.IO
{
[TestClass]
public class CompressionUtilityTest
{
private void _TestCompression
(
byte[] first
)
{
byte[] zipped = CompressionUtility.Compress(f... | amironov73/ManagedIrbis2 | Source/UnitTests/AM/IO/CompressionUtilityTest.cs | https://github.com/amironov73/ManagedIrbis2/blob/HEAD/Source/UnitTests/AM/IO/CompressionUtilityTest.cs | ghcode:00167:f964b3a04682 | mit | codeparrot/github-code | f964b3a04682d9e85f5883c321eb7adf4dee985f42f45ee7d0807004385f25aa | 0.6 | testing_debugging_repair_refactoring | 193 | false | 2026-07-17 |
using DistanceTracker.API.Controllers;
using DistanceTracker.Data.Model;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc;
using NSubstitute;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace DistanceTracker.Web.Tests.API
{
public class ... | LinogeFly/DistanceTracker | test/DistanceTracker.Web.Tests/API/ProgressControllerTests.cs | https://github.com/LinogeFly/DistanceTracker/blob/HEAD/test/DistanceTracker.Web.Tests/API/ProgressControllerTests.cs | ghcode:00167:2a6ed00679db | mit | codeparrot/github-code | 2a6ed00679dbaa2ca5cfbe72fd1449578898b88b56b0c32bacf55da282abd415 | 0.75 | testing_debugging_repair_refactoring | 560 | false | 2026-07-17 |
using AquaWorld.Data.Models;
using AquaWorld.Data.Services.Contracts;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TestStack.FluentMVCTesting;
namespace AquaWorld.Tests.Controllers.AdminController
{
[Tes... | AquaWorld/AquaWorld | AquaWorld/AquaWorld.Tests/Controllers/AdminController/EditCreatureShould.cs | https://github.com/AquaWorld/AquaWorld/blob/HEAD/AquaWorld/AquaWorld.Tests/Controllers/AdminController/EditCreatureShould.cs | ghcode:00167:b1141f5dceff | mit | codeparrot/github-code | b1141f5dceff1575cd4695b10f69581265534ce0514aab9a58654b9d97bb3403 | 0.7 | testing_debugging_repair_refactoring | 207 | false | 2026-07-17 |
namespace SIM.Tests.Base
{
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SIM.Extensions;
[TestClass]
public class ExtensionsTest
{
#region Public methods
[TestMethod]
public void ExtractTest()
{
string message;
char startChar = '{... | dsolovay/Sitecore-Instance-Manager | src/SIM.Tests/Base/ExtensionsTest.cs | https://github.com/dsolovay/Sitecore-Instance-Manager/blob/HEAD/src/SIM.Tests/Base/ExtensionsTest.cs | ghcode:00167:48588803dcf3 | mit | codeparrot/github-code | 48588803dcf31b622f811e86a37885b355c551f17269b9999483fbb62904480b | 0.75 | testing_debugging_repair_refactoring | 1,089 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using NUnit.Framework;
namespace ProgrammingTests.Attributes
{
public static class AttributeExtensions
{
public static T GetDomainAttributes<T>... | Foxpips/ProgrammingCSharp | ProgrammingTests/Attributes/AttributeTests.cs | https://github.com/Foxpips/ProgrammingCSharp/blob/HEAD/ProgrammingTests/Attributes/AttributeTests.cs | ghcode:00167:8d6d06e30728 | mit | codeparrot/github-code | 8d6d06e3072844f5be57499057e2aefcdee3090b1fd5c54a99aa97d397bed6f2 | 0.75 | testing_debugging_repair_refactoring | 743 | false | 2026-07-17 |
using System.Collections.Generic;
using FluentAssertions;
using Moq;
using NugetDependencyAnalysis.Comparing;
using NugetDependencyAnalysis.Parsing;
using Serilog;
using Xunit;
namespace NugetDependencyAnalysisTests.Comparing
{
public class ProjectsNugetsComparerTests
{
public ProjectsNugetsComparerTe... | matthewrwilton/NugetDependencyAnalysis | NugetDependencyAnalysisTests/Comparing/ProjectsNugetsComparerTests.cs | https://github.com/matthewrwilton/NugetDependencyAnalysis/blob/HEAD/NugetDependencyAnalysisTests/Comparing/ProjectsNugetsComparerTests.cs | ghcode:00167:97a97e81ab45 | mit | codeparrot/github-code | 97a97e81ab4566a5012755bdd248055ff7ff94b9173cb70b39be7409188964c4 | 0.75 | testing_debugging_repair_refactoring | 818 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using ZimmerBot.Core.Knowledge;
using ZimmerBot.Core.Parser;
namespace ZimmerBot.Core.Tests.ConfigParser
{
[TestFixture]
public class EntityParserTests : TestHelper
{
[Test]
public void CanMatchEntityN... | JornWildt/ZimmerBot | ZimmerBot.Core.Tests/ConfigParser/EntityParserTests.cs | https://github.com/JornWildt/ZimmerBot/blob/HEAD/ZimmerBot.Core.Tests/ConfigParser/EntityParserTests.cs | ghcode:00167:3de7759ec0d5 | mit | codeparrot/github-code | 3de7759ec0d55a5d5ddc26d2dffd6dff5e750b2ce27b287abbb9f99b45d89981 | 0.85 | testing_debugging_repair_refactoring | 837 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using Qwack.Core.Curves;
using Qwack.Core.Instruments.Asset;
using Qwack.Models.MCModels;
using Qwack.Core.Instruments;
using Qwack.Core.Models;
using Qwack.Options.VolSurfaces;
using System.Linq;
using Qwack.Core.Basic;
using Q... | cetusfinance/qwack | test/Qwack.Models.Tests/MCModels/AssetFxBlackVolMCFacts.cs | https://github.com/cetusfinance/qwack/blob/HEAD/test/Qwack.Models.Tests/MCModels/AssetFxBlackVolMCFacts.cs | ghcode:00167:29cf62a32f6b | mit | codeparrot/github-code | 29cf62a32f6b3391f993f7cd8d5794d2a5a8a2295b59293bc057cda52bce1dba | 0.75 | testing_debugging_repair_refactoring | 1,010 | false | 2026-07-17 |
using System;
using Moq;
using NUnit.Framework;
using Oogstplanner.Data;
using Oogstplanner.Services;
namespace Oogstplanner.Tests.Services
{
[TestFixture]
public class CropProviderTest
{
[Test]
public void Services_Crop_GetAllCrops()
{
// ARRANGE
var crop... | erooijak/oogstplanner | Oogstplanner.Tests/Tests.Services/CropProviderTest.cs | https://github.com/erooijak/oogstplanner/blob/HEAD/Oogstplanner.Tests/Tests.Services/CropProviderTest.cs | ghcode:00167:ab946f515111 | mit | codeparrot/github-code | ab946f5151110879e72a715d9992a0ca0a4a7ef0cb81c0c1286b7558597dabc8 | 0.7 | testing_debugging_repair_refactoring | 445 | false | 2026-07-17 |
namespace Poker.Tests
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
[TestClass]
public class HandTests
{
[TestMethod]
public void HandShouldReturnToStringCorectly()
{
var ace = new Card(CardFace.Ace, Ca... | DimitarGaydardzhiev/TelerikAcademy | 08. High Quality Code/11. Test-Driven разработка на софтуер/Poker.Tests/Card.Tests/HandTests.cs | https://github.com/DimitarGaydardzhiev/TelerikAcademy/blob/HEAD/08. High Quality Code/11. Test-Driven разработка на софтуер/Poker.Tests/Card.Tests/HandTests.cs | ghcode:00167:071c139c449b | mit | codeparrot/github-code | 071c139c449b6bae8a769008696c48bbd77147d51f2ce42178544e1928e17152 | 0.75 | testing_debugging_repair_refactoring | 204 | false | 2026-07-17 |
#region The MIT License - Copyright (C) 2012-2016 Pieter Geerkens
/////////////////////////////////////////////////////////////////////////////////////////
// PG Software Solutions - Monad Utilities
/////////////////////////////////////////////////////////////////////////////////////////
// The MIT Lice... | pgeerkens/Monads | PGSolutions.Maybe.Tests/MaybeTests.cs | https://github.com/pgeerkens/Monads/blob/HEAD/PGSolutions.Maybe.Tests/MaybeTests.cs | ghcode:00167:1042ffbb2d95 | mit | codeparrot/github-code | 1042ffbb2d95f5843e9bd029e88fdf5cb8e838d7356573ac6ce3f02f247e5f07 | 0.85 | testing_debugging_repair_refactoring | 1,911 | false | 2026-07-17 |
// Copyright (c) 2020 DHGMS Solutions and Contributors. All rights reserved.
// DHGMS Solutions and Contributors licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.
using System;
using System.Diagnostics.CodeAnalysis;
using Dhgms.Nucleotide.Genera... | dpvreony/nucleotide | src/Dhgms.Nucleotide.UnitTests/Generators/Cqrs/QueryFactoryInterfaceGeneratorTests.cs | https://github.com/dpvreony/nucleotide/blob/HEAD/src/Dhgms.Nucleotide.UnitTests/Generators/Cqrs/QueryFactoryInterfaceGeneratorTests.cs | ghcode:00167:154491ab2336 | mit | codeparrot/github-code | 154491ab23365d4001f77e3e189b67ded3c3a9fccece47eb2cd6789951b89e39 | 0.85 | testing_debugging_repair_refactoring | 320 | false | 2026-07-17 |
using DragonSpark.Application.Hosting.xUnit;
using DragonSpark.Compose;
using DragonSpark.Reflection.Members;
using FluentAssertions;
using Xunit;
namespace DragonSpark.Application.Testing.Components.Validation;
public sealed class DelegatesTests
{
[Theory, AutoData]
public void Verify(string message)
{
var ins... | DragonSpark/Framework | DragonSpark.Application.Testing/Components/Validation/DelegatesTests.cs | https://github.com/DragonSpark/Framework/blob/HEAD/DragonSpark.Application.Testing/Components/Validation/DelegatesTests.cs | ghcode:00167:47f4a75322ee | mit | codeparrot/github-code | 47f4a75322ee3031ed1b23c6b262706f93445e1de7afb02e4b02d22a9785ddd6 | 0.75 | testing_debugging_repair_refactoring | 262 | 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.Threading;
namespace System.Data.SqlClient... | zhenlan/corefx | src/System.Data.SqlClient/src/System/Data/SqlClient/SNI/SNIMarsConnection.cs | https://github.com/zhenlan/corefx/blob/HEAD/src/System.Data.SqlClient/src/System/Data/SqlClient/SNI/SNIMarsConnection.cs | ghcode:00167:f154860a7256 | mit | codeparrot/github-code | f154860a72566dd19e1cd5f8fe892474c280b101764b7c9c84a536b2a1e55047 | 0.95 | testing_debugging_repair_refactoring | 1,978 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CodeShare.Core.Test
{
[TestClass]
public class ProjectReleaseTest
{
[TestMethod]
public void ConstructorShouldInitializeCollections()
{
// Arrange
ProjectRelease projectRelease;
... | globant/codeshare | Main/Src/CodeShare.Core.Test/ProjectReleaseTest.cs | https://github.com/globant/codeshare/blob/HEAD/Main/Src/CodeShare.Core.Test/ProjectReleaseTest.cs | ghcode:00167:3e854dff69dc | mit | codeparrot/github-code | 3e854dff69dcd7c08100f43c32955d60eb2993489bb3f37959109006faa908c7 | 0.8 | testing_debugging_repair_refactoring | 81 | false | 2026-07-17 |
namespace DotCommon.Test.Reflecting
{
public class TestDictionaryObject
{
public int Id { get; set; }
public string Name { get; set; }
public int? Age { get; set; }
public decimal Score { get; set; }
}
}
| cocosip/DotCommon | test/DotCommon.Test/Reflecting/TestDictionaryObject.cs | https://github.com/cocosip/DotCommon/blob/HEAD/test/DotCommon.Test/Reflecting/TestDictionaryObject.cs | ghcode:00167:07cf1a7aad85 | mit | codeparrot/github-code | 07cf1a7aad852a47eafcd94631cee3f00270f8e29e55877fe600ceb77fb64672 | 0.75 | testing_debugging_repair_refactoring | 62 | false | 2026-07-17 |
using System;
namespace Wire.Tests.Performance.Types
{
public class TestMessage
{
public virtual string StringProp { get; set; }
public virtual int IntProp { get; set; }
public virtual Guid GuidProp { get; set; }
public virtual DateTime DateProp { get... | Horusiath/Hyperion | Wire.Tests.Performance/Types/TestMessage.cs | https://github.com/Horusiath/Hyperion/blob/HEAD/Wire.Tests.Performance/Types/TestMessage.cs | ghcode:00167:d8f4e3c0e9e4 | mit | codeparrot/github-code | d8f4e3c0e9e429f87880793e5cfa55897ebceff7c82775fb68952bf3ec2ef199 | 0.75 | testing_debugging_repair_refactoring | 73 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.IO;
using Microsoft.Build.Evaluation;
using Microsoft.Build.Execution;
using MongoDB.Driver;
using NUnit.Framework;
using OpenCat;
namespace WebApp.Specs
{
[SetUpFixture]
public class SetUp : IDi... | Myslik/opencat | WebApp.Specs/SetUp.cs | https://github.com/Myslik/opencat/blob/HEAD/WebApp.Specs/SetUp.cs | ghcode:00167:d106a07adb3e | mit | codeparrot/github-code | d106a07adb3e964733f1c6718a9d84737e66b488d1c0544896e3d1dcd1462bed | 0.6 | testing_debugging_repair_refactoring | 499 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using StageBitz.Common;
using StageBitz.Data;
using StageBitz.Data.DataTypes;
using StageBitz.Data.DataTypes.Finance;
using StageBitz.Logic.Business.Finance;
using StageBitz.UnitTests.Mock;
using System;
using System.Collections.Generic;
using System.Data.Common;
usi... | StageBitz/StageBitz | StageBitz.UnitTests/StageBitz.Logic/FinanceBLTest.cs | https://github.com/StageBitz/StageBitz/blob/HEAD/StageBitz.UnitTests/StageBitz.Logic/FinanceBLTest.cs | ghcode:00167:3ad300fd8ee4 | mit | codeparrot/github-code | 3ad300fd8ee4c1526e6e82c9995fe235935d19994c743f97881e618c036a7a13 | 0.7 | testing_debugging_repair_refactoring | 2,824 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using NsqSharp.Core;
using NsqSharp.Tests.Utils.Extensions;
using NsqSharp.Utils;
using NsqSharp.Utils.Channels;
using NsqSharp.Utils.Extensions;
using NsqSharp.Utils.Logge... | judwhite/NsqSharp | NsqSharp.Tests/MockTest.cs | https://github.com/judwhite/NsqSharp/blob/HEAD/NsqSharp.Tests/MockTest.cs | ghcode:00167:e80afce09d45 | mit | codeparrot/github-code | e80afce09d45bb0059c20febab810aebcdf0d328c75ad3ff75025678fd60c97c | 0.7 | testing_debugging_repair_refactoring | 4,210 | false | 2026-07-17 |
// Patterns: 1
// Matches: CommonImpl1.cs
// NotMatches: Foo.cs
using Autofac;
using TestApplication.Types;
namespace TestApplication.Autofac
{
public class RegisterTypeGeneric : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.RegisterType<CommonImp... | hmemcpy/AgentMulder | src/Test/Data/Autofac/RegisterTypeGeneric.cs | https://github.com/hmemcpy/AgentMulder/blob/HEAD/src/Test/Data/Autofac/RegisterTypeGeneric.cs | ghcode:00167:88291a7aca63 | mit | codeparrot/github-code | 88291a7aca6390c41d05a4590259d92ce67a1481c7c1566e571b93821500e38d | 0.95 | testing_debugging_repair_refactoring | 74 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Mindbox.WorkingCalendar.Tests
{
[TestClass]
public class CountWorkingDaysInPeriodTests
{
private WorkingCalendar CreateCalendar(Dictionary<DateTime, DayType> exceptions = null)
{
return new Working... | mindbox-moscow/working-calendar | Mindbox.WorkingCalendar.Tests/CountWorkingDaysInPeriodTests.cs | https://github.com/mindbox-moscow/working-calendar/blob/HEAD/Mindbox.WorkingCalendar.Tests/CountWorkingDaysInPeriodTests.cs | ghcode:00167:712a8d65aca5 | mit | codeparrot/github-code | 712a8d65aca5eff4cccd0624f596d01ce404db54ee8f8125aa9925473e0e9465 | 0.75 | testing_debugging_repair_refactoring | 4,302 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... | jlvaquero/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/DemoTests.cs | https://github.com/jlvaquero/Newtonsoft.Json/blob/HEAD/Src/Newtonsoft.Json.Tests/DemoTests.cs | ghcode:00167:b998849019f6 | mit | codeparrot/github-code | b998849019f60555d3b068bceebcf7c3162bd5986941f15621c8891bd56efaaf | 0.85 | testing_debugging_repair_refactoring | 4,083 | false | 2026-07-17 |
using Xunit;
namespace NeinLinq.Tests;
public class DynamicExpressionTest
{
[Fact]
public void OperatorCreateComparison_NullArgument_Throws()
{
const string selector = "selector";
const DynamicCompare comparer = DynamicCompare.Equal;
var target = Expression.Parameter(typeof(Model)... | axelheer/nein-linq | test/NeinLinq.Tests/DynamicExpressionTest.cs | https://github.com/axelheer/nein-linq/blob/HEAD/test/NeinLinq.Tests/DynamicExpressionTest.cs | ghcode:00167:1c26812aa330 | mit | codeparrot/github-code | 1c26812aa33073dac58a61bb01078768b871649fc0cc34f1923dbba58bbcef95 | 0.6 | testing_debugging_repair_refactoring | 446 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using log4net.Appender.Azure.Core;
using log4net.Core;
namespace log4net.Azure.Tests
{
[TestClass]
public class UnitTestAzureBlobAppender
{
private AzureBlobAppender _appender;
[TestInitialize]
public void Initialize... | GrzegorzBlok/log4net.Azure | log4net.Azure.Tests/UnitTestAzureBlobAppender.cs | https://github.com/GrzegorzBlok/log4net.Azure/blob/HEAD/log4net.Azure.Tests/UnitTestAzureBlobAppender.cs | ghcode:00167:8f49f4553e3d | mit | codeparrot/github-code | 8f49f4553e3db6e34fd2bef825ea7fa26bbcb3eab8d6f588600a197500d3281d | 0.6 | testing_debugging_repair_refactoring | 441 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using SFA.DAS.EmployerFinance.Commands.RefreshAccountTransfers;
using SFA.DAS.EmployerFinance.Data;
using SFA.DAS.EmployerFinance.Models.Transfers;
using SFA.DAS.EmployerFinance.Services;
using SFA.DAS.Messaging.Interfaces;
using SFA.DAS.NLog.Logger;
using SFA.DAS.Validation;
using Sy... | SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerFinance.UnitTests/Commands/RefreshAccountTransfersTests/WhenIRefreshAnAccountsTransfers.cs | https://github.com/SkillsFundingAgency/das-employerapprenticeshipsservice/blob/HEAD/src/SFA.DAS.EmployerFinance.UnitTests/Commands/RefreshAccountTransfersTests/WhenIRefreshAnAccountsTransfers.cs | ghcode:00167:844c05fd7dd2 | mit | codeparrot/github-code | 844c05fd7dd23cdedb79544983a50ff32af5a8f3989913e692d50d8128d1c620 | 0.85 | testing_debugging_repair_refactoring | 2,001 | false | 2026-07-17 |
using System;
using AzureFromTheTrenches.Commanding.Cache.Implementation;
using AzureFromTheTrenches.Commanding.Cache.Tests.Unit.TestModel;
using Moq;
using Xunit;
namespace AzureFromTheTrenches.Commanding.Cache.Tests.Unit.Implementation
{
public class PropertyCacheKeyProviderCompilerTests
{
[Fact]
... | JamesRandall/AccidentalFish.Commanding | Tests/AzureFromTheTrenches.Commanding.Cache.Tests.Unit/Implementation/PropertyCacheKeyProviderCompilerTests.cs | https://github.com/JamesRandall/AccidentalFish.Commanding/blob/HEAD/Tests/AzureFromTheTrenches.Commanding.Cache.Tests.Unit/Implementation/PropertyCacheKeyProviderCompilerTests.cs | ghcode:00167:46504a06aa03 | mit | codeparrot/github-code | 46504a06aa03e8e9ddcb04a017d89a8dfc5d116afae1db2db116fbb18466dc59 | 0.85 | testing_debugging_repair_refactoring | 316 | false | 2026-07-17 |
namespace BlockchainSharp.Tests.Vm
{
using System;
using BlockchainSharp.Core;
using BlockchainSharp.Vm;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class StorageTests
{
[TestMethod]
public void GetZeroValue()
{
va... | ajlopez/BlockchainSharp | Src/BlockchainSharp.Tests/Vm/StorageTests.cs | https://github.com/ajlopez/BlockchainSharp/blob/HEAD/Src/BlockchainSharp.Tests/Vm/StorageTests.cs | ghcode:00167:8064d9bd78d7 | mit | codeparrot/github-code | 8064d9bd78d7a4c91ea37a4c01d3df22093e17201ed552a51a6c40a808294d85 | 0.75 | testing_debugging_repair_refactoring | 147 | false | 2026-07-17 |
namespace IntegrationTests.Non_SpecFlow
{
using System;
using System.Text;
public class TestData
{
public TestData()
{
NonServiceGeneratedCountryCreatedOn = DateTimeOffset.UtcNow.AddYears(-3);
NonServiceGeneratedCountryLastUpdatedOn = DateTimeOffset.UtcNow.AddDa... | PdFramework/BaseClassLibraries | ApiTestProject/IntegrationTests/Non_SpecFlow/TestData.cs | https://github.com/PdFramework/BaseClassLibraries/blob/HEAD/ApiTestProject/IntegrationTests/Non_SpecFlow/TestData.cs | ghcode:00167:bd4c036d9bdb | mit | codeparrot/github-code | bd4c036d9bdb3c9c3bb02db0ca594c76e55f850912ade238d91514ff5bb7ace8 | 0.85 | testing_debugging_repair_refactoring | 854 | 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.
/*=============================================================================
**
**
**
** Purpose: Class for creat... | sandreenko/corert | src/System.Private.CoreLib/src/System/Threading/ThreadPool.cs | https://github.com/sandreenko/corert/blob/HEAD/src/System.Private.CoreLib/src/System/Threading/ThreadPool.cs | ghcode:00167:580f28b61832 | mit | codeparrot/github-code | 580f28b618325e28cbcd84316a403918333860345ce840bb840bb012ff1bad2d | 0.95 | testing_debugging_repair_refactoring | 7,704 | false | 2026-07-17 |
using System;
using IBatisNet.Common.Test.Domain;
using IBatisNet.Common.Utilities;
using IBatisNet.Common.Utilities.Objects.Members;
using NUnit.Framework;
namespace IBatisNet.Common.Test.NUnit.CommonTests.Utilities
{
[TestFixture]
public class PublicFieldAccessorTest
{
protected ISetAccessorFac... | yYang365/IBatisNet | IBatisNet.Common.Test/NUnit/CommonTests/Utilities/PublicFieldAccessorTest.cs | https://github.com/yYang365/IBatisNet/blob/HEAD/IBatisNet.Common.Test/NUnit/CommonTests/Utilities/PublicFieldAccessorTest.cs | ghcode:00168:4ca80b681c90 | apache-2.0 | codeparrot/github-code | 4ca80b681c90acd2a3c87ca6aefccd0ac264f924250bba06d4b3ac14d8866b74 | 0.7 | testing_debugging_repair_refactoring | 6,411 | false | 2026-07-17 |
using FluentAssertions;
using NSubstitute;
using System;
using System.Collections.Generic;
using System.Net.Http;
using Xunit;
namespace NPoint.Tests
{
public class EndpointParameterTest
{
[Fact]
public void ShouldNotAcceptNullEndpointParameter()
{
// Arrange
va... | justinzhong/npoint | test/NPoint.Tests/EndpointParameterTest.cs | https://github.com/justinzhong/npoint/blob/HEAD/test/NPoint.Tests/EndpointParameterTest.cs | ghcode:00168:56d9c873fa1b | apache-2.0 | codeparrot/github-code | 56d9c873fa1b89bb4c1f1a081a6a4b6de697af51f451a8ce9bb22bcf0fccd59e | 0.7 | testing_debugging_repair_refactoring | 471 | false | 2026-07-17 |
using System;
using Xunit.Sdk;
namespace Xunit
{
/// <summary>
/// Marks a test method as being a data theory. Data theories are tests which are fed
/// various bits of data from a data source, mapping to parameters on the test method.
/// If the data source contains multiple rows, then the test method is execute... | cuteant/xunit-v2-net40-fork | xunit.core/TheoryAttribute.cs | https://github.com/cuteant/xunit-v2-net40-fork/blob/HEAD/xunit.core/TheoryAttribute.cs | ghcode:00168:a789113959ed | apache-2.0 | codeparrot/github-code | a789113959edb10719587f0cfb69ff7bc903af498454f48dde9e2ec7d420af7c | 0.85 | testing_debugging_repair_refactoring | 175 | false | 2026-07-17 |
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using ImageMagick;
using Xunit;
namespace Magick.NET.Tests
{
public partial class MagickSettingsTests
{
public class ThePageProperty
{
[Fact]
public voi... | dlemstra/Magick.NET | tests/Magick.NET.Tests/Settings/MagickSettingsTests/ThePageProperty.cs | https://github.com/dlemstra/Magick.NET/blob/HEAD/tests/Magick.NET.Tests/Settings/MagickSettingsTests/ThePageProperty.cs | ghcode:00168:feaea092b14e | apache-2.0 | codeparrot/github-code | feaea092b14efd7c09c6bb837b867e45e66808197608241614c3a44bb6d34236 | 0.85 | testing_debugging_repair_refactoring | 188 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using VersionKeeper;
namespace Scratch
{
[TestFixture]
public class StatePersistenceTests
{
[Test]
public void CanCreateAFileSystemStateStore()
... | daffers/version-keeper | Version Keeper/Scratch/StatePersistenceTests.cs | https://github.com/daffers/version-keeper/blob/HEAD/Version Keeper/Scratch/StatePersistenceTests.cs | ghcode:00168:9a18d8cb1ec1 | apache-2.0 | codeparrot/github-code | 9a18d8cb1ec15521a1c7b474b0983b614871df8ca8d27a64263f857a51dba0e0 | 0.75 | testing_debugging_repair_refactoring | 216 | false | 2026-07-17 |
//
// - StreamStreamContextTests.cs -
//
// Copyright 2013 Carbonfrost Systems, Inc. (http://carbonfrost.com)
//
// 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.o... | Carbonfrost/ff-foundations-runtime | test/Carbonfrost.Commons.SharedRuntime.Test/Src/Tests/Runtime/StreamStreamContextTests.cs | https://github.com/Carbonfrost/ff-foundations-runtime/blob/HEAD/test/Carbonfrost.Commons.SharedRuntime.Test/Src/Tests/Runtime/StreamStreamContextTests.cs | ghcode:00168:0b1214ab1ac8 | apache-2.0 | codeparrot/github-code | 0b1214ab1ac8fe94b3fd941d073a25f7c6e5555e91201e5e09251dfb9a73daa6 | 0.95 | testing_debugging_repair_refactoring | 276 | false | 2026-07-17 |
using Org.BouncyCastle.Asn1;
using Org.BouncyCastle.Asn1.X509;
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Generators;
using Org.BouncyCastle.Crypto.Operators;
using Org.BouncyCastle.Crypto.Prng;
using Org.BouncyCastle.Math;
using Org.BouncyCastle.Security;
using Org.BouncyCastle.X509;
using Org.Bounc... | honsdomi/AbsoluteTimestamp | AbsoluteTimestampTests/TestUtils.cs | https://github.com/honsdomi/AbsoluteTimestamp/blob/HEAD/AbsoluteTimestampTests/TestUtils.cs | ghcode:00168:439535f6a217 | apache-2.0 | codeparrot/github-code | 439535f6a217acc37ad4eadc73e979dfe07f5179e57c87e9e11da6728752ffc2 | 0.85 | testing_debugging_repair_refactoring | 1,035 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ActorSystemSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>... | bruinbrown/akka.net | src/core/Akka.Tests/Actor/ActorSystemSpec.cs | https://github.com/bruinbrown/akka.net/blob/HEAD/src/core/Akka.Tests/Actor/ActorSystemSpec.cs | ghcode:00168:733beb139e3b | apache-2.0 | codeparrot/github-code | 733beb139e3bc3ccc9c68bd7fe8371f0a8a0bcb04b5012478cd1d5b1c5a6c3a4 | 0.85 | testing_debugging_repair_refactoring | 3,071 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Reflection.Metadata;
using Microsoft.CodeAnalysis.CodeGen;
using Mic... | Pvlerick/roslyn | src/Compilers/CSharp/Portable/CodeGen/EmitExpression.cs | https://github.com/Pvlerick/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/CodeGen/EmitExpression.cs | ghcode:00168:ca5049ee8fa8 | apache-2.0 | codeparrot/github-code | ca5049ee8fa8fd4a21c7fb6a9f651e2e4aef0b0546dae43c0a2736658dcd5c3c | 0.72 | testing_debugging_repair_refactoring | 23,393 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using NuPattern.Runtime.Bindings;
namespace NuPattern.Runtime.UnitTests.Binding
{
[TestClass]
public class DynamicBindingContextExtensionsSpec
{
[TestMethod, TestCategory("Unit")]
public void WhenAddingAllInterfaces_ThenAddsExp... | NuPattern/NuPattern | Src/Runtime/Tests/Runtime.Extensibility.UnitTests/Binding/DynamicBindingContextExtensionsSpec.cs | https://github.com/NuPattern/NuPattern/blob/HEAD/Src/Runtime/Tests/Runtime.Extensibility.UnitTests/Binding/DynamicBindingContextExtensionsSpec.cs | ghcode:00168:659dfe404bc6 | apache-2.0 | codeparrot/github-code | 659dfe404bc636a0b4778e0729f60a8f31ab4223c7027a569ff2c5761e949506 | 0.85 | testing_debugging_repair_refactoring | 152 | false | 2026-07-17 |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using FluentAssertions;
using IdentityServer4.Models;
using System;
using Xunit;
namespace IdentityServer4.UnitTests.Validation
{
public... | jbijlsma/IdentityServer4 | test/IdentityServer.UnitTests/Validation/GrantTypesValidation.cs | https://github.com/jbijlsma/IdentityServer4/blob/HEAD/test/IdentityServer.UnitTests/Validation/GrantTypesValidation.cs | ghcode:00168:3630f888619d | apache-2.0 | codeparrot/github-code | 3630f888619d7b9f07f722ddbccae15b6df697815e7fd4f62d8e2ffbf455d406 | 0.75 | testing_debugging_repair_refactoring | 812 | false | 2026-07-17 |
using System;
using System.Net;
using System.Net.Http;
using Jive.Linq.Api.Test;
using NUnit.Framework;
namespace Jive.Linq.Test
{
public class MemoryRequesterTests
{
[Test]
public void CanGet()
{
var r = new MemoryRequester();
CreateEntity(r);
var get = new HttpRequestMessage
{
RequestUri = n... | glen-nicol/LINQ-to-Jive | LINQ-To-Jive/Jive.Linq.Test/MemoryRequesterTests.cs | https://github.com/glen-nicol/LINQ-to-Jive/blob/HEAD/LINQ-To-Jive/Jive.Linq.Test/MemoryRequesterTests.cs | ghcode:00168:a791b493a44c | apache-2.0 | codeparrot/github-code | a791b493a44caf604345d7fb609651dbb1bca2eea9ce844b71d850033bc0b435 | 0.85 | testing_debugging_repair_refactoring | 431 | 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.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft.CodeAnalysis.Un... | mattwar/roslyn-analyzers | src/Microsoft.ApiDesignGuidelines.Analyzers/UnitTests/IdentifiersShouldNotContainUnderscoresTests.Fixer.cs | https://github.com/mattwar/roslyn-analyzers/blob/HEAD/src/Microsoft.ApiDesignGuidelines.Analyzers/UnitTests/IdentifiersShouldNotContainUnderscoresTests.Fixer.cs | ghcode:00168:8091638c403a | apache-2.0 | codeparrot/github-code | 8091638c403aa2668e303c3247344ada5b55babeda479feb6de302fe95163ea9 | 0.75 | testing_debugging_repair_refactoring | 224 | false | 2026-07-17 |
/* Copyright (c) Citrix Systems Inc.
* 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 li... | aftabahmedsajid/XenCenter-Complete-dependencies- | XenAdminTests/Diagnostics/UpgradingFromTampaAndOlderCheckTests.cs | https://github.com/aftabahmedsajid/XenCenter-Complete-dependencies-/blob/HEAD/XenAdminTests/Diagnostics/UpgradingFromTampaAndOlderCheckTests.cs | ghcode:00168:f4089483e141 | bsd-2-clause | codeparrot/github-code | f4089483e14100cb466e176d02acd4d116415871e36e4d612d0844d52e100bbc | 0.68 | testing_debugging_repair_refactoring | 896 | false | 2026-07-17 |
// Copyright (c) 2010, Eric Maupin
// 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... | ermau/Gablarski | src/Gablarski.Tests/ChannelInfoTests.cs | https://github.com/ermau/Gablarski/blob/HEAD/src/Gablarski.Tests/ChannelInfoTests.cs | ghcode:00168:021f7c0c9b62 | bsd-3-clause | codeparrot/github-code | 021f7c0c9b62ae6f692d5b6b4b64211752d5939654760b4fbe0ee0b1c0f7aa4e | 0.85 | testing_debugging_repair_refactoring | 801 | false | 2026-07-17 |
// Copyright © 2010 onwards, Andrew Whewell
// All rights reserved.
//
// Redistribution and use of this software 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 l... | VincentFortuneDeng/VirtualRadarSource2.0.2 | Test/Test.VirtualRadar.Library/Presenter/ConnectionSessionLogPresenterTests.cs | https://github.com/VincentFortuneDeng/VirtualRadarSource2.0.2/blob/HEAD/Test/Test.VirtualRadar.Library/Presenter/ConnectionSessionLogPresenterTests.cs | ghcode:00168:dcc08d2442c7 | bsd-3-clause | codeparrot/github-code | dcc08d2442c7c09c05dd2f976e766952290ebcb7e2263c90bd293b79eef5bc02 | 0.85 | testing_debugging_repair_refactoring | 1,592 | false | 2026-07-17 |
using FluentAssertions;
using FsCheck;
using FsCheck.Xunit;
using System;
using Toggl.Core.Sync.States;
using Xunit;
namespace Toggl.Core.Tests.Sync.States
{
public sealed class InvalidTransitionStateTests
{
[Fact, LogIfTooSlow]
public void ThrowsWhenTheConstructorArgumentIsNull()
{
... | toggl/mobileapp | Toggl.Core.Tests/Sync/States/InvalidTransitionStateTests.cs | https://github.com/toggl/mobileapp/blob/HEAD/Toggl.Core.Tests/Sync/States/InvalidTransitionStateTests.cs | ghcode:00168:430876ea8c72 | bsd-3-clause | codeparrot/github-code | 430876ea8c7253ab1772abc4eb0d7ec853d443c0137e72b6f44e8039ff9f6d2d | 0.75 | testing_debugging_repair_refactoring | 374 | false | 2026-07-17 |
using System;
using System.Text;
using System.Linq;
using System.Xml.Linq;
using T4Compiler.Generator;
using Sqline.CodeGeneration.ConfigurationModel;
using Sqline.CodeGeneration.ViewModel;
using Sqline.ClientFramework;
using System.IO;
namespace Sqline.CodeTemplate.Templatef4447af7c4c7f036593f8847d67fb791 {
public cl... | Sqline/Sqline | TestProjects/Sqline.Tests/Sqline.Tests.DataAccess/Types/Types.ViewMethodsSource.methods.cs | https://github.com/Sqline/Sqline/blob/HEAD/TestProjects/Sqline.Tests/Sqline.Tests.DataAccess/Types/Types.ViewMethodsSource.methods.cs | ghcode:00168:4ddf78d5a451 | bsd-3-clause | codeparrot/github-code | 4ddf78d5a451dbd805b1282d900d8950bff54dfe436d91771c2a6766a1fc4b70 | 0.75 | testing_debugging_repair_refactoring | 7,584 | false | 2026-07-17 |
using System.Collections.Generic;
using Algorithms.Sorting;
using Xunit;
namespace UnitTest.AlgorithmsTests
{
public static class HeapSorterTest
{
[Fact]
public static void DoTest()
{
int[] numbersList1 = new int[] { 23, 42, 4, 16, 8, 15, 3, 9, 55, 0, 34, 12, 2, 46, 25 };
... | aalhour/C-Sharp-Algorithms | UnitTest/AlgorithmsTests/HeapSorterTest.cs | https://github.com/aalhour/C-Sharp-Algorithms/blob/HEAD/UnitTest/AlgorithmsTests/HeapSorterTest.cs | ghcode:00168:b15049ab13fa | mit | codeparrot/github-code | b15049ab13fa0c6bb9739c06bd0fcf1f577cd65416f1052432992e640bc8a34a | 0.75 | testing_debugging_repair_refactoring | 276 | false | 2026-07-17 |
namespace Sitecore.FakeDb.Tests.Data.Engines.DataCommands.Prototypes
{
using FluentAssertions;
using Sitecore.FakeDb.Data.Engines;
using Sitecore.FakeDb.Data.Engines.DataCommands;
using Sitecore.FakeDb.Data.Engines.DataCommands.Prototypes;
using Sitecore.Reflection;
using Xunit;
public class HasChildrenC... | pveller/Sitecore.FakeDb | test/Sitecore.FakeDb.Tests/Data/Engines/DataCommands/Prototypes/HasChildrenCommandPrototypeTest.cs | https://github.com/pveller/Sitecore.FakeDb/blob/HEAD/test/Sitecore.FakeDb.Tests/Data/Engines/DataCommands/Prototypes/HasChildrenCommandPrototypeTest.cs | ghcode:00168:356d8e41f217 | mit | codeparrot/github-code | 356d8e41f217f35ac32fbd688b5d4f03547f1bd47f4921bdc5b53e266564361f | 0.6 | testing_debugging_repair_refactoring | 141 | false | 2026-07-17 |
using Serilog;
using Zombus.Logger.Serilog;
namespace Zombus.Tests.Common
{
public class TestHarnessLoggerFactory
{
public static IZombusLogger Create()
{
var log = new LoggerConfiguration()
.Enrich.WithProcessId()
.Enrich.WithThreadId()
... | MikeLarned/Zombus | src/Tests/Zombus.Tests.Common/SerilogLoggerFactory.cs | https://github.com/MikeLarned/Zombus/blob/HEAD/src/Tests/Zombus.Tests.Common/SerilogLoggerFactory.cs | ghcode:00168:255443b46194 | mit | codeparrot/github-code | 255443b461941c8206d849af11cf1bf1824f861c925dd68a4ae912bc7272b2aa | 0.85 | testing_debugging_repair_refactoring | 112 | false | 2026-07-17 |
#region Copyright
//
// DotNetNuke® - https://www.dnnsoftware.com
// Copyright (c) 2002-2018
// by DotNetNuke Corporation
//
// 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... | RichardHowells/Dnn.Platform | DNN Platform/Tests/DotNetNuke.Tests.Core/Collections/ReaderWriterLockSharedListTests.cs | https://github.com/RichardHowells/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DotNetNuke.Tests.Core/Collections/ReaderWriterLockSharedListTests.cs | ghcode:00168:7f2741bf9e9b | mit | codeparrot/github-code | 7f2741bf9e9b8cc05d200a335a1724898d621ab86d6a746544240650d789f2ef | 0.95 | testing_debugging_repair_refactoring | 338 | 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 ... | huoxudong125/Z.ExtensionMethods | test/Z.Net.Test/System.Net.WebResponse/WebResponse.ReadToEnd.cs | https://github.com/huoxudong125/Z.ExtensionMethods/blob/HEAD/test/Z.Net.Test/System.Net.WebResponse/WebResponse.ReadToEnd.cs | ghcode:00168:dc78f15c98c6 | mit | codeparrot/github-code | dc78f15c98c6df0d14f770ea28713111853f580b46d4c5a05deda1ade2aa7a54 | 0.7 | testing_debugging_repair_refactoring | 217 | false | 2026-07-17 |
using System.Linq;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Running;
using Xunit;
namespace BenchmarkDotNet.Tests.Running
{
public class JobRuntimePropertiesComparerTests
{
[Fact]
publ... | ig-sinicyn/BenchmarkDotNet | tests/BenchmarkDotNet.Tests/Running/JobRuntimePropertiesComparerTests.cs | https://github.com/ig-sinicyn/BenchmarkDotNet/blob/HEAD/tests/BenchmarkDotNet.Tests/Running/JobRuntimePropertiesComparerTests.cs | ghcode:00168:abc249682315 | mit | codeparrot/github-code | abc249682315c1c98e0a4a77ce7be462c9c4d912549d63c6736bcd2e0e481c10 | 0.85 | testing_debugging_repair_refactoring | 1,131 | false | 2026-07-17 |
// ****************************************************************
// Copyright 2009, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org
// ****************************************************************
using NUnit.Framework;
u... | acken/AutoTest.Net | lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitCore/tests/TestCaseSourceTests.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitCore/tests/TestCaseSourceTests.cs | ghcode:00168:8bc7afe7d35c | mit | codeparrot/github-code | 8bc7afe7d35c772cc519a8bfb64501550965a936452c1060307b4d0c2b850efb | 0.95 | testing_debugging_repair_refactoring | 2,746 | 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 NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Osu.Objects;
using osuTK;
namespace osu.Game.Rulesets.Osu.Tests
{
[TestFixture]
public c... | ppy/osu | osu.Game.Rulesets.Osu.Tests/TestSceneNoSpinnerStacking.cs | https://github.com/ppy/osu/blob/HEAD/osu.Game.Rulesets.Osu.Tests/TestSceneNoSpinnerStacking.cs | ghcode:00168:8d800c1c1556 | mit | codeparrot/github-code | 8d800c1c1556fda467921226b138047efd8e5d9161540ca75c913a3ec138a4ac | 0.75 | testing_debugging_repair_refactoring | 260 | false | 2026-07-17 |
using System.Diagnostics;
namespace MVCFramework.FunctionalTests.FunctionalTest
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using FunctionalTestUtils;
using Microsoft.ApplicationInsights.Channel;
using Microsoft.Applica... | Microsoft/ApplicationInsights-aspnet5 | test/MVCFramework.FunctionalTests/FunctionalTest/DependencyTelemetryMvcTests.cs | https://github.com/Microsoft/ApplicationInsights-aspnet5/blob/HEAD/test/MVCFramework.FunctionalTests/FunctionalTest/DependencyTelemetryMvcTests.cs | ghcode:00168:6d0a670f0a4e | mit | codeparrot/github-code | 6d0a670f0a4ea20af880ea59d4e36f6281f892730f1a57a899fdc4ac396d13ad | 0.85 | testing_debugging_repair_refactoring | 1,117 | false | 2026-07-17 |
using NUnit.Framework;
namespace FullSerializer.Tests.PropertiesTests {
public class Model {
[fsProperty]
public int Getter { get { return 3; } }
[fsIgnore]
public int _setValue;
[fsProperty]
public int Setter { set { _setValue = value; } }
}
public clas... | Ksubaka/fullserializer | Assets/FullSerializer/Testing/Editor/PropertiesTests.cs | https://github.com/Ksubaka/fullserializer/blob/HEAD/Assets/FullSerializer/Testing/Editor/PropertiesTests.cs | ghcode:00168:3808b0a27c6a | mit | codeparrot/github-code | 3808b0a27c6a477b629781c35d71d97d29a9de2e6f05f7315f36ff7bd9fde6ba | 0.75 | testing_debugging_repair_refactoring | 357 | false | 2026-07-17 |
using System;
using System.Reflection;
using System.Threading.Tasks;
namespace BenchmarkDotNet.Toolchains.InProcess.NoEmit
{
/*
Design goals of the whole stuff: check the comments for BenchmarkActionBase.
*/
// DONTTOUCH: Be VERY CAREFUL when changing the code.
// Please, ensure that the imp... | Ky7m/BenchmarkDotNet | src/BenchmarkDotNet/Toolchains/InProcess.NoEmit/BenchmarkActionFactory_Implementations.cs | https://github.com/Ky7m/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Toolchains/InProcess.NoEmit/BenchmarkActionFactory_Implementations.cs | ghcode:00168:1d3937d6bb45 | mit | codeparrot/github-code | 1d3937d6bb45b664a8385315f7495b6d1ae8345bdc7573b3c52e27df6f0f887d | 0.85 | testing_debugging_repair_refactoring | 1,229 | 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.Reflection.Test/GetDeclaration/Property/IndexerProperty.cs | https://github.com/mario-loza/Z.ExtensionMethods/blob/HEAD/test/Z.Reflection.Test/GetDeclaration/Property/IndexerProperty.cs | ghcode:00168:b69b67adb6d3 | mit | codeparrot/github-code | b69b67adb6d3808b6cdb9c55dffa7743f647235e68a70a4953c3ec31f44629a5 | 0.7 | testing_debugging_repair_refactoring | 240 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OfficeOpenXml;
using OfficeOpenXml.Style;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Security.Authentication.ExtendedProtection;
using ... | balajichekka/WebApiContrib.Formatting.Xlsx | test/WebApiContrib.Formatting.Xlsx.Tests/XlsxMediaTypeFormatterTests.cs | https://github.com/balajichekka/WebApiContrib.Formatting.Xlsx/blob/HEAD/test/WebApiContrib.Formatting.Xlsx.Tests/XlsxMediaTypeFormatterTests.cs | ghcode:00168:35ff3ff094e2 | mit | codeparrot/github-code | 35ff3ff094e221416a338526881627e68a3ba31bbc42595d820ab674905f5dd9 | 0.75 | testing_debugging_repair_refactoring | 6,627 | false | 2026-07-17 |
/*
* SonarScanner for MSBuild
* Copyright (C) 2016-2018 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 3 o... | SonarSource-VisualStudio/sonar-msbuild-runner | Tests/SonarScanner.MSBuild.TFS.Tests/Classic/CoverageReportDownloaderTests.cs | https://github.com/SonarSource-VisualStudio/sonar-msbuild-runner/blob/HEAD/Tests/SonarScanner.MSBuild.TFS.Tests/Classic/CoverageReportDownloaderTests.cs | ghcode:00168:428a17a1c29c | mit | codeparrot/github-code | 428a17a1c29ca357400b50c6a60a219c2cc0239f908b58a78ad4937953722b5b | 0.75 | testing_debugging_repair_refactoring | 500 | false | 2026-07-17 |
//
// InternalProtocolMessageTests.cs
//
// Author:
// Eric Maupin <me@ermau.com>
//
// Copyright (c) 2012 Eric Maupin
//
// 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 restric... | chkn/Tempest | Desktop/Tempest/Tests/InternalProtocolMessageTests.cs | https://github.com/chkn/Tempest/blob/HEAD/Desktop/Tempest/Tests/InternalProtocolMessageTests.cs | ghcode:00168:1d778cc68a09 | mit | codeparrot/github-code | 1d778cc68a097c06e99792d2a405927a26baa5cf84e4589c9b00430d4431b543 | 0.95 | testing_debugging_repair_refactoring | 564 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Reflection;
using BenchmarkDotNet.Characteristics;
using BenchmarkDotNet.Engines;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Toolchains.CsProj;
using Xunit;
namespace BenchmarkDotNet.Tests.Configs
{
[Trait("Category", "JobTest... | Ky7m/BenchmarkDotNet | tests/BenchmarkDotNet.Tests/Configs/JobTests.cs | https://github.com/Ky7m/BenchmarkDotNet/blob/HEAD/tests/BenchmarkDotNet.Tests/Configs/JobTests.cs | ghcode:00168:d0e4dfbb5c2a | mit | codeparrot/github-code | d0e4dfbb5c2aec0d57f674a827a24b37ba5c2dd5bd29529e6e92a08c10e8173b | 0.85 | testing_debugging_repair_refactoring | 4,323 | false | 2026-07-17 |
/*
* MindTouch Dream - a distributed REST framework
* Copyright (C) 2006-2011 MindTouch, Inc.
* www.mindtouch.com oss@mindtouch.com
*
* For community documentation and downloads visit wiki.developer.mindtouch.com;
* please review the licensing section.
*
* Licensed under the Apache License, Version 2.... | yurigorokhov/DReAM | src/tests/DreamMisc/MysqlDocStoreManagerTests.cs | https://github.com/yurigorokhov/DReAM/blob/HEAD/src/tests/DreamMisc/MysqlDocStoreManagerTests.cs | ghcode:00168:0b3a93172bab | apache-2.0 | codeparrot/github-code | 0b3a93172bab561b54a070baff8d49e13fa58dab85320be7873b126009568f63 | 0.95 | testing_debugging_repair_refactoring | 1,938 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Linq.Expressions;
using FluentAssertions.Common;
using FluentAssertions.Execution;
namespace FluentAssertions.Primitives
{
#pragma warning disable CS0659 // Ignore not overriding Object.GetHashCode()
#pragma warning disable CA1065 // Ignore throwing NotSupportedExce... | jnyrup/fluentassertions | Src/FluentAssertions/Primitives/ReferenceTypeAssertions.cs | https://github.com/jnyrup/fluentassertions/blob/HEAD/Src/FluentAssertions/Primitives/ReferenceTypeAssertions.cs | ghcode:00168:7da7f280b38e | apache-2.0 | codeparrot/github-code | 7da7f280b38e95e44737678b6e6c5298af173b88a552425967b7feb901c805ee | 0.7 | testing_debugging_repair_refactoring | 4,318 | false | 2026-07-17 |
using Lucene.Net.Diagnostics;
using BitSet = J2N.Collections.BitSet;
namespace Lucene.Net.Util.Packed
{
/*
* 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 cop... | jeme/lucenenet | src/Lucene.Net.Tests/Util/Packed/TestEliasFanoDocIdSet.cs | https://github.com/jeme/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Util/Packed/TestEliasFanoDocIdSet.cs | ghcode:00168:b36069dc8257 | apache-2.0 | codeparrot/github-code | b36069dc8257e1d88fa0cce668eda45f6e4937f5da5695c3dcd34b4fb525bd6a | 0.75 | testing_debugging_repair_refactoring | 520 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using NUnit.Framework;
using StructureMap.Testing.Widget3;
namespace StructureMap.Testing.Bugs
{
public class SingletonShouldBeLazy : IGateway
{
public SingletonShouldBeLazy()
{
Assert.Fail("I should not be called");
}
... | chester89/structuremap-35-client | Source/StructureMap.Testing/Bugs/SingletonShouldBeLazy.cs | https://github.com/chester89/structuremap-35-client/blob/HEAD/Source/StructureMap.Testing/Bugs/SingletonShouldBeLazy.cs | ghcode:00168:e60f3d849fe9 | apache-2.0 | codeparrot/github-code | e60f3d849fe9c996f746cd20c7e643c44d73a38e26db28a24dd7425b5987dd45 | 0.6 | testing_debugging_repair_refactoring | 442 | false | 2026-07-17 |
using Bridge.Test.NUnit;
namespace Bridge.ClientTest.Batch3.BridgeIssues
{
/// <summary>
/// The test here ensures a javascript-created number will have its
/// bridge-interfaced helpers when cast.
/// </summary>
[TestFixture(TestNameFormat = "#3883 - {0}")]
public class Bridge3883
{
... | AndreyZM/Bridge | Tests/Batch3/BridgeIssues/3800/N3883.cs | https://github.com/AndreyZM/Bridge/blob/HEAD/Tests/Batch3/BridgeIssues/3800/N3883.cs | ghcode:00168:1246f04a62d5 | apache-2.0 | codeparrot/github-code | 1246f04a62d5985447854e2e99ae8a37737b0acc3bd8df2a60eec2d7c12d8f24 | 0.85 | testing_debugging_repair_refactoring | 205 | false | 2026-07-17 |
using Bridge.Html5;
using Bridge.Test.NUnit;
using System;
using System.Collections.Generic;
namespace Bridge.ClientTest.Collections.Native
{
[Category(Constants.MODULE_TYPEDARRAYS)]
[TestFixture(TestNameFormat = "Int8ArrayTests - {0}")]
public class Int8ArrayTests
{
private void AssertContent(... | AndreyZM/Bridge | Tests/Batch1/Collections/Native/Int8ArrayTests.cs | https://github.com/AndreyZM/Bridge/blob/HEAD/Tests/Batch1/Collections/Native/Int8ArrayTests.cs | ghcode:00168:ec59d9bbce60 | apache-2.0 | codeparrot/github-code | ec59d9bbce606c3df6a830ba97cf4f057c25af4a3d6b3021a910f32e16b6802f | 0.85 | testing_debugging_repair_refactoring | 2,906 | 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... | antony-liu/npoi | testcases/main/SS/Formula/BaseTestExternalFunctions.cs | https://github.com/antony-liu/npoi/blob/HEAD/testcases/main/SS/Formula/BaseTestExternalFunctions.cs | ghcode:00168:a2095adc38e3 | apache-2.0 | codeparrot/github-code | a2095adc38e3306706e126d43d36e18431e78bdea177d38e0b73e5cbf6b0b6e1 | 0.85 | testing_debugging_repair_refactoring | 1,544 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using OpenQA.Selenium.Remote;
using OpenQA.Selenium.Appium.Test.Helpers;
using OpenQA.Selenium.Appium.Android;
namespace OpenQA.Selenium.Appium.Test.Specs
{
[TestFixture]
public class InitSessionTest
{
public FakeAppium server;
public readonly Uri defaultUri = new Ur... | Brillio/appium-dotnet-driver | test/specs/SessionTest.cs | https://github.com/Brillio/appium-dotnet-driver/blob/HEAD/test/specs/SessionTest.cs | ghcode:00168:fc000db75c2c | apache-2.0 | codeparrot/github-code | fc000db75c2c0e730b7d973a7ffb9674525b19d1603985d35ed99aeed44356fc | 0.6 | testing_debugging_repair_refactoring | 510 | false | 2026-07-17 |
using System;
using System.Linq;
using LightBDD.Core.Extensibility;
using LightBDD.UnitTests.Helpers.TestableIntegration;
using NUnit.Framework;
namespace LightBDD.Core.UnitTests.Extensibility
{
[TestFixture]
public class BddRunnerFactory_tests
{
private FeatureRunnerRepository _repository;
... | Suremaker/LightBDD | test/LightBDD.Core.UnitTests/Extensibility/BddRunnerFactory_tests.cs | https://github.com/Suremaker/LightBDD/blob/HEAD/test/LightBDD.Core.UnitTests/Extensibility/BddRunnerFactory_tests.cs | ghcode:00168:8b213ce17551 | bsd-2-clause | codeparrot/github-code | 8b213ce175512af8cfb0251e5f239316221bb067cbdfbe43b05aac79b3032bcb | 0.68 | testing_debugging_repair_refactoring | 396 | false | 2026-07-17 |
using System;
using System.Net;
using System.Net.Http;
using Fitbit.Api.Portable;
using NUnit.Framework;
namespace Fitbit.Portable.Tests
{
[TestFixture]
public class FitbitResponseTests
{
[Test] [Category("Portable")]
public void RetryAfter_No_Status_Applicable()
{
var ... | WestDiscGolf/Fitbit.NET | Fitbit.Portable.Tests/FitbitResponseTests.cs | https://github.com/WestDiscGolf/Fitbit.NET/blob/HEAD/Fitbit.Portable.Tests/FitbitResponseTests.cs | ghcode:00168:8a499921826b | mit | codeparrot/github-code | 8a499921826bc8b685450b2ca9e64db832856e65c557e5ec0d9624e2ede9a204 | 0.75 | testing_debugging_repair_refactoring | 560 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using LibGit2Sharp.Tests.TestHelpers;
using Xunit;
using Xunit.Extensions;
namespace LibGit2Sharp.Tests
{
public class UnstageFixture : BaseFixture
{
[Fact]
public void StagingANewVersionOfAFileThenUnstagingItRevertsTheBlobToTheVersionOfHead()
... | nulltoken/libgit2sharp | LibGit2Sharp.Tests/UnstageFixture.cs | https://github.com/nulltoken/libgit2sharp/blob/HEAD/LibGit2Sharp.Tests/UnstageFixture.cs | ghcode:00168:2700fd3e9e0b | mit | codeparrot/github-code | 2700fd3e9e0b7b3d070d618aa710f71fb393d297cae7bf3f3c2c477688101620 | 0.6 | testing_debugging_repair_refactoring | 2,437 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Abp.Application.Features;
using Abp.Authorization;
using Abp.Configuration.Startup;
using Abp.Domain.Uow;
using Abp.Localization;
using Castle.MicroKernel.Registration;
using NSubstitute;
using Shouldly;
using Xunit;
namespace Abp.Tests.Authorization
{
pub... | ryancyq/aspnetboilerplate | test/Abp.Tests/Authorization/PermissionDefinitionTests.cs | https://github.com/ryancyq/aspnetboilerplate/blob/HEAD/test/Abp.Tests/Authorization/PermissionDefinitionTests.cs | ghcode:00168:1d59d807f310 | mit | codeparrot/github-code | 1d59d807f31044ef60c3f5ad83fec25ab43ba1dfef1e1ead04b58d4de6585676 | 0.85 | testing_debugging_repair_refactoring | 1,528 | false | 2026-07-17 |
// Visual Studio Shared Project
// Copyright(c) Microsoft Corporation
// 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
//
... | DEVSENSE/PTVS | Common/Tests/Utilities/WebDownloadUtility.cs | https://github.com/DEVSENSE/PTVS/blob/HEAD/Common/Tests/Utilities/WebDownloadUtility.cs | ghcode:00168:6a69025fbca0 | apache-2.0 | codeparrot/github-code | 6a69025fbca0c17b7e47febaef49863352578ae25211b6b772ba920c3e89a211 | 0.95 | testing_debugging_repair_refactoring | 244 | false | 2026-07-17 |
#region Apache License
//
// 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.... | chris2001jm/njetty | NJetty.Util.Test/Util/StringUtilTest.cs | https://github.com/chris2001jm/njetty/blob/HEAD/NJetty.Util.Test/Util/StringUtilTest.cs | ghcode:00168:793f2fd595c5 | apache-2.0 | codeparrot/github-code | 793f2fd595c50efafc1c4e07a919304f1d05c4a142f7d50d4e04c1c6fb55620d | 0.7 | testing_debugging_repair_refactoring | 1,507 | false | 2026-07-17 |
/*
* SubSonic - http://subsonicproject.com
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (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.mozilla.org/MPL/
*
* Software distributed un... | w8in/SubSonic-2.0 | SubSonic.Tests/DataServiceTest.cs | https://github.com/w8in/SubSonic-2.0/blob/HEAD/SubSonic.Tests/DataServiceTest.cs | ghcode:00168:9144ed67243b | bsd-3-clause | codeparrot/github-code | 9144ed67243bd75888da6915209f220c698b8b80ddc7fce993ae14eb3a41c112 | 0.85 | testing_debugging_repair_refactoring | 547 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Diagnostics;
using NUnit.Framework;
namespace NBarCodes.Tests {
/// <summary>
/// Tests for the <see cref="BitArrayHelper"/> class.
/// </summary>
[TestFixture]
public class BitArrayHelperTest {
/// <summary>
/// Tests popping of front BitArray.
... | hoangduit/nbarcodes | src/NBarCodes.Tests/BitArrayHelperTest.cs | https://github.com/hoangduit/nbarcodes/blob/HEAD/src/NBarCodes.Tests/BitArrayHelperTest.cs | ghcode:00168:656d46eafabe | mit | codeparrot/github-code | 656d46eafabe5c4af5270123ce8926b3521e6d1650776269bbf37c0de2410081 | 0.7 | testing_debugging_repair_refactoring | 839 | false | 2026-07-17 |
// Copyright (c) Umbraco.
// See LICENSE for more details.
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Moq;
using NUnit.Framework;
using Umbraco.Cms.Core.DependencyInjection;
using Umbraco.Cms.Core.Events;
using U... | umbraco/Umbraco-CMS | tests/Umbraco.Tests.UnitTests/Umbraco.Core/Events/EventAggregatorTests.cs | https://github.com/umbraco/Umbraco-CMS/blob/HEAD/tests/Umbraco.Tests.UnitTests/Umbraco.Core/Events/EventAggregatorTests.cs | ghcode:00168:a04e83750b4f | mit | codeparrot/github-code | a04e83750b4f52c00c2b257e1ea3f974a1ef08cadaab800bae1f60d63aced0ff | 0.75 | testing_debugging_repair_refactoring | 807 | false | 2026-07-17 |
// Copyright (c) 2015 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
#if __MonoCS__
using IBusDotNet;
using Moq;
using NUnit.Framework;
using SIL.Windows.Forms.Keyboarding.Linux;
namespace SIL.Windows.Forms.Keyboarding.Tests
{
[TestFixture]
public class Com... | mccarthyrb/libpalaso | SIL.Windows.Forms.Keyboarding.Tests/CombinedIbusKeyboardSwitchingAdaptorTests.cs | https://github.com/mccarthyrb/libpalaso/blob/HEAD/SIL.Windows.Forms.Keyboarding.Tests/CombinedIbusKeyboardSwitchingAdaptorTests.cs | ghcode:00168:c45cba76709a | mit | codeparrot/github-code | c45cba76709a8a7838c3573e7e2f230fc825f0eb0c07b69b5f83b701ea37b51c | 0.85 | testing_debugging_repair_refactoring | 1,159 | 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;
using... | wschae/roslyn | src/Features/Core/Diagnostics/EngineV1/DiagnosticIncrementalAnalyzer.cs | https://github.com/wschae/roslyn/blob/HEAD/src/Features/Core/Diagnostics/EngineV1/DiagnosticIncrementalAnalyzer.cs | ghcode:00168:1bafb9987cbb | apache-2.0 | codeparrot/github-code | 1bafb9987cbbc0f02c936e53c4e035372407edb96cbc1745c63c791a77263ecb | 0.85 | testing_debugging_repair_refactoring | 7,346 | 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.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Az... | yugangw-msft/azure-sdk-for-net | sdk/monitor/Microsoft.Azure.Management.Monitor/tests/BasicTests/DataCollectionRulesTests.cs | https://github.com/yugangw-msft/azure-sdk-for-net/blob/HEAD/sdk/monitor/Microsoft.Azure.Management.Monitor/tests/BasicTests/DataCollectionRulesTests.cs | ghcode:00168:9b52a3edb476 | apache-2.0 | codeparrot/github-code | 9b52a3edb476ca71b5222733282db609601dc8f57682674acd05bf6bc8d84af7 | 0.85 | testing_debugging_repair_refactoring | 4,140 | false | 2026-07-17 |
using Shouldly;
using StructureMap.Building;
using StructureMap.Pipeline;
using StructureMap.Testing.Widget;
using StructureMap.Testing.Widget3;
using System;
using Xunit;
namespace StructureMap.Testing.Pipeline
{
public class LambdaInstanceTester
{
[Fact]
public void Sad_path_inne... | DixonD-git/structuremap | src/StructureMap.Testing/Pipeline/LambdaInstanceTester.cs | https://github.com/DixonD-git/structuremap/blob/HEAD/src/StructureMap.Testing/Pipeline/LambdaInstanceTester.cs | ghcode:00168:2591cb4d52b7 | apache-2.0 | codeparrot/github-code | 2591cb4d52b785899726476f99e8811d1e5d6fccf3f9cf852c656c66504415d7 | 0.75 | testing_debugging_repair_refactoring | 226 | false | 2026-07-17 |
#region Copyright
//
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2014
// by DotNetNuke Corporation
//
// 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 restrict... | raphael-m/Dnn.Platform | DNN Platform/Tests/DotNetNuke.Tests.Utilities/ZipManager.cs | https://github.com/raphael-m/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DotNetNuke.Tests.Utilities/ZipManager.cs | ghcode:00168:cece8c1ff0ee | mit | codeparrot/github-code | cece8c1ff0ee7a130916720a9dbf4e180548c00dbe6e47e74e0fbdeab589d69a | 0.95 | testing_debugging_repair_refactoring | 396 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols... | CyrusNajmabadi/roslyn | src/Compilers/CSharp/Test/Symbol/Symbols/Source/EnumTests.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/Symbols/Source/EnumTests.cs | ghcode:00168:a2d9aceda514 | mit | codeparrot/github-code | a2d9aceda51493ad2b1f99804b95ad953944c8881b65e4932dbee33a5c2774b8 | 0.95 | testing_debugging_repair_refactoring | 9,033 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp... | mattwar/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenAsyncTests.cs | https://github.com/mattwar/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenAsyncTests.cs | ghcode:00168:4c691bf6be77 | apache-2.0 | codeparrot/github-code | 4c691bf6be77ba6eba06f41ba812564ac4fededf204b16c7c418ceb322b765dc | 0.75 | testing_debugging_repair_refactoring | 42,299 | 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.
//-----------------------------------------------------------------------
// </copyright>
// <summary>Tests for ProjectItem</summary>
//---------------------------------... | Hyrtwol/msbuild | src/XMakeBuildEngine/UnitTestsPublicOM/Definition/ProjectItem_Tests.cs | https://github.com/Hyrtwol/msbuild/blob/HEAD/src/XMakeBuildEngine/UnitTestsPublicOM/Definition/ProjectItem_Tests.cs | ghcode:00168:c1caeb044897 | mit | codeparrot/github-code | c1caeb04489704b9a0a944466a124234641f2de604f2f61afc04a18112f98dd5 | 0.72 | testing_debugging_repair_refactoring | 12,060 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
namespace Selenium.Tests
{
[TestFixture]
public class TestClickJavascriptHref : SeleniumTestCaseBase
{
[Test]
public void ClickJavascriptHref()
{
selenium.Open("../tes... | jmt4/Selenium2 | dotnet/test/Selenium.WebDriverBackedSelenium.Tests/TestClickJavascriptHref.cs | https://github.com/jmt4/Selenium2/blob/HEAD/dotnet/test/Selenium.WebDriverBackedSelenium.Tests/TestClickJavascriptHref.cs | ghcode:00168:551d4b72c2a5 | apache-2.0 | codeparrot/github-code | 551d4b72c2a5e96d97c8fd3236575cbaa324bf61f10792a4f1627e2c23935795 | 0.85 | testing_debugging_repair_refactoring | 211 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2007 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... | acco32/nunit | src/NUnitFramework/tests/Constraints/CollectionSupersetConstraintTests.cs | https://github.com/acco32/nunit/blob/HEAD/src/NUnitFramework/tests/Constraints/CollectionSupersetConstraintTests.cs | ghcode:00168:7eb468d21235 | mit | codeparrot/github-code | 7eb468d212354d1062be87329f48d3d7b6ea886be71635f40490e24b77973dfa | 0.95 | testing_debugging_repair_refactoring | 1,332 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using FluentMigrator.Runner.Generators;
using FluentMigrator.Runner.Generators.Oracle;
using NUnit.Framework;
using NUnit.Should;
namespace FluentMigrator.Tests.Unit.Generators.Oracle
{
[TestFixture]
publi... | wolfascu/fluentmigrator | src/FluentMigrator.Tests/Unit/Generators/Oracle/OracleTypeMapTests.cs | https://github.com/wolfascu/fluentmigrator/blob/HEAD/src/FluentMigrator.Tests/Unit/Generators/Oracle/OracleTypeMapTests.cs | ghcode:00168:9d07d75c4031 | apache-2.0 | codeparrot/github-code | 9d07d75c4031d741237110a428ee9910506ae53025282add0d69ed7b71ba920f | 0.85 | testing_debugging_repair_refactoring | 1,475 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.