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 file="BatchWriterTestDescriptor.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//---------------------------... | hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataOData/Tests/OData.Writer.Tests/BatchWriter/BatchWriterTestDescriptor.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Tests/OData.Writer.Tests/BatchWriter/BatchWriterTestDescriptor.cs | ghcode:00168:877e4b9af1ef | mit | codeparrot/github-code | 877e4b9af1ef838244639a4af8a3f135b28868953f7873dca5ce8e9dfebc230d | 0.95 | testing_debugging_repair_refactoring | 1,890 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Xml.Serialization
{
using System;
using System.IO;
using System.Collections;
using ... | ptoonen/corefx | src/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationWriter.cs | https://github.com/ptoonen/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationWriter.cs | ghcode:00168:9df286321e51 | mit | codeparrot/github-code | 9df286321e519bf4fbd97ce040306265870d29d2784c683196e42ad90c68b737 | 0.75 | testing_debugging_repair_refactoring | 31,152 | 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 System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
namespace Microsoft.CodeAnalysis.CSharp
{
///... | jbhensley/roslyn | src/Compilers/CSharp/Portable/Lowering/DiagnosticsPass_Warnings.cs | https://github.com/jbhensley/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/DiagnosticsPass_Warnings.cs | ghcode:00168:38325515d967 | apache-2.0 | codeparrot/github-code | 38325515d967351b44e2b0ead8f3764c39e8baa1e72113f2ccf52366f5fd51f8 | 0.85 | testing_debugging_repair_refactoring | 7,362 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="ODataPayloadElementNullIDVisitor.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//--------------------... | abkmr/odata.net | test/FunctionalTests/Tests/DataOData/Tests/OData.Writer.Tests/Fixups/ODataPayloadElementNullIDVisitor.cs | https://github.com/abkmr/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Tests/OData.Writer.Tests/Fixups/ODataPayloadElementNullIDVisitor.cs | ghcode:00168:67e7b14ddcc4 | mit | codeparrot/github-code | 67e7b14ddcc4ddf7ecde9a3430d97eedaa47d2f314d8b1ee4e033524a751aff6 | 0.95 | testing_debugging_repair_refactoring | 244 | false | 2026-07-17 |
using NUnit.Framework;
using RefactoringEssentials.CSharp.Diagnostics;
namespace RefactoringEssentials.Tests.CSharp.Diagnostics
{
[TestFixture]
[Ignore("TODO: Issue not ported yet")]
public class UnusedAnonymousMethodSignatureTests : CSharpDiagnosticTestBase
{
[Test]
public void TestSim... | vcsjones/RefactoringEssentials | Tests/CSharp/Diagnostics/UnusedAnonymousMethodSignatureTests.cs | https://github.com/vcsjones/RefactoringEssentials/blob/HEAD/Tests/CSharp/Diagnostics/UnusedAnonymousMethodSignatureTests.cs | ghcode:00168:ecbb1d125914 | mit | codeparrot/github-code | ecbb1d125914499e705af0979eb28d31510c558e885fa40eb2cca78e75c40781 | 0.85 | testing_debugging_repair_refactoring | 495 | false | 2026-07-17 |
#region license
// Copyright (c) 2007-2010 Mauricio Scheffer
//
// 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 requir... | ManpowerNordic/SolrNet | SolrNet.Tests/DateTimeFieldParserTests.cs | https://github.com/ManpowerNordic/SolrNet/blob/HEAD/SolrNet.Tests/DateTimeFieldParserTests.cs | ghcode:00168:b42132c8d5ae | apache-2.0 | codeparrot/github-code | b42132c8d5ae4a0d5c653906fbf0d3fc1c43d807e26330281c02cd8fca92d121 | 0.85 | testing_debugging_repair_refactoring | 1,000 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// <copyright file="XmlSchemaExporter.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="true">[....]</owner> ... | sekcheong/referencesource | System.Xml/System/Xml/Serialization/XmlSchemaExporter.cs | https://github.com/sekcheong/referencesource/blob/HEAD/System.Xml/System/Xml/Serialization/XmlSchemaExporter.cs | ghcode:00168:72570fec4f00 | mit | codeparrot/github-code | 72570fec4f00df997d5e715ef53a5b7e69dc4b591423a8dcfb1259196016e58e | 0.7 | testing_debugging_repair_refactoring | 9,304 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// <copyright file="XmlILConstructAnalyzer.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="true">[....]</owner>
//--------------------------------... | sekcheong/referencesource | System.Data.SqlXml/System/Xml/Xsl/IlGen/XmlILConstructAnalyzer.cs | https://github.com/sekcheong/referencesource/blob/HEAD/System.Data.SqlXml/System/Xml/Xsl/IlGen/XmlILConstructAnalyzer.cs | ghcode:00168:a8fa93f09c48 | mit | codeparrot/github-code | a8fa93f09c483c58611eb9b1b64ea0bbd97dfc768bf2d7eb4f0c8669d16ca94d | 0.7 | testing_debugging_repair_refactoring | 8,227 | false | 2026-07-17 |
/*
* [The "BSD license"]
* Copyright (c) 2013 Terence Parr
* Copyright (c) 2013 Sam Harwell
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code... | sidhart/antlr4 | runtime/CSharp/runtime/CSharp/Antlr4.Runtime/Atn/ParserATNSimulator.cs | https://github.com/sidhart/antlr4/blob/HEAD/runtime/CSharp/runtime/CSharp/Antlr4.Runtime/Atn/ParserATNSimulator.cs | ghcode:00168:e9be8c3d756c | bsd-3-clause | codeparrot/github-code | e9be8c3d756c1b764ef5f144f9eefcae76c3bee61a6db1f3847370b0687a2c87 | 0.57 | testing_debugging_repair_refactoring | 22,184 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using OLEDB.Test.ModuleCore;
using XmlCoreTest.Common;
namespace System.Xml.Tests
{
public partial class TCIndentChars : XmlFactoryWriterTestCaseBase... | josguil/corefx | src/System.Xml.ReaderWriter/tests/Writers/XmlWriterApi/TCIndentChars.cs | https://github.com/josguil/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/Writers/XmlWriterApi/TCIndentChars.cs | ghcode:00168:98f2e64fd6ec | mit | codeparrot/github-code | 98f2e64fd6ecb5288970976c58d81111d2eda107b1bbda900f0cfec4289b5c6b | 0.95 | testing_debugging_repair_refactoring | 518 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Numerics.Tests
{
public class powTest
{
private static int s_samples ... | ptoonen/corefx | src/System.Runtime.Numerics/tests/BigInteger/pow.cs | https://github.com/ptoonen/corefx/blob/HEAD/src/System.Runtime.Numerics/tests/BigInteger/pow.cs | ghcode:00168:5f602dbc9812 | mit | codeparrot/github-code | 5f602dbc9812f20101802f5055e8de1e9552c3b7fe74ad3763aad41e74a5d10c | 0.95 | testing_debugging_repair_refactoring | 1,971 | false | 2026-07-17 |
using BenchmarkDotNet.Tasks;
namespace BenchmarkDotNet.Samples
{
// See: http://codeblog.jonskeet.uk/2014/07/16/micro-optimization-the-surprising-inefficiency-of-readonly-fields/
[Task(platform: BenchmarkPlatform.X86, jitVersion: BenchmarkJitVersion.LegacyJit)]
[Task(platform: BenchmarkPlatform.X64, jitVe... | NN---/BenchmarkDotNet | BenchmarkDotNet.Samples/Il_ReadonlyFields.cs | https://github.com/NN---/BenchmarkDotNet/blob/HEAD/BenchmarkDotNet.Samples/Il_ReadonlyFields.cs | ghcode:00168:ffb53501a98a | mit | codeparrot/github-code | ffb53501a98aea5834b8563b8de72d9e5023bfe5138460d986dab607906b6d74 | 0.6 | testing_debugging_repair_refactoring | 424 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace EventPipelines.Tests;
public class ClassesWithIoCTest
{
public record UserAdded(
string FirstName,
string LastName,
bool IsAdmin
);
public record AdminAdded(
string FirstName,
... | oskardudycz/EventSourcing.NetCore | Sample/EventPipelines/EventPipelines.Tests/ClassesWithIoCTest.cs | https://github.com/oskardudycz/EventSourcing.NetCore/blob/HEAD/Sample/EventPipelines/EventPipelines.Tests/ClassesWithIoCTest.cs | ghcode:00168:4116bb0f0a72 | mit | codeparrot/github-code | 4116bb0f0a7299643a795794d4bb94097df2ef5a2dda8e2ebd9a79559c73014c | 0.75 | testing_debugging_repair_refactoring | 747 | false | 2026-07-17 |
using System.Linq;
using NUnit.Framework;
namespace TvTamer.Core.IntegrationTests
{
[TestFixture]
public class TvDbSearchTests
{
[Test]
public void Searching_For_Tv_Show_Full_Title_Returns_Results()
{
var service = new TvDbSearchService();
var results = se... | wamplerj/TVTamer | Tests/TvTamer.Core.IntegrationTests/TvDbSearchTests.cs | https://github.com/wamplerj/TVTamer/blob/HEAD/Tests/TvTamer.Core.IntegrationTests/TvDbSearchTests.cs | ghcode:00168:13d5a277e3eb | mit | codeparrot/github-code | 13d5a277e3eb3ddf14820eb76d3177ebb4d4669338caebf2f039a37d6f5d223d | 0.75 | testing_debugging_repair_refactoring | 186 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Aspose.Cloud;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Configuration;
namespace Aspose.CloudTests
{
[TestClass()]
public class AppTests
{
... | asposeforcloud/Aspose_Cloud_SDK_For_.NET | Aspose.CloudTests/AppTests.cs | https://github.com/asposeforcloud/Aspose_Cloud_SDK_For_.NET/blob/HEAD/Aspose.CloudTests/AppTests.cs | ghcode:00168:fce49ec4ea19 | mit | codeparrot/github-code | fce49ec4ea190a172911b86302ff4141882a14a7def4944f6c63274ae2351f2f | 0.75 | testing_debugging_repair_refactoring | 286 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Neo.Compiler.MSIL.UnitTests.Utils;
using Neo.IO;
using Neo.Ledger;
using Neo.VM;
using Neo.VM.Types;
using System.Linq;
using System.Numerics;
using System.Text;
namespace Neo.SmartContract.Framework.UnitTests.Services.Neo
{
[TestClass]
public class Blo... | AntShares/AntShares.SmartContract.Framework | tests/Neo.SmartContract.Framework.UnitTests/Services/Neo/BlockchainTest.cs | https://github.com/AntShares/AntShares.SmartContract.Framework/blob/HEAD/tests/Neo.SmartContract.Framework.UnitTests/Services/Neo/BlockchainTest.cs | ghcode:00168:8e2249735cfc | mit | codeparrot/github-code | 8e2249735cfc2cee71003cd9943245fc9d93f93534943fbd9af6a1c4b3a37eb0 | 0.85 | testing_debugging_repair_refactoring | 3,342 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SpeedyMVVM.DataAccess;
using SpeedyMVVM.TestModel.Models;
using SpeedyMVVM.Expressions;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
using System.Linq.Expressions;
namesp... | leoarry/SpeedyMVVM | SpeedyMVVM.Test/EntityFilterViewModelTest.cs | https://github.com/leoarry/SpeedyMVVM/blob/HEAD/SpeedyMVVM.Test/EntityFilterViewModelTest.cs | ghcode:00168:e7d4d310f94c | mit | codeparrot/github-code | e7d4d310f94c8488ab981f66e658f6b9c8ec94e49761e27de96da62265a878cf | 0.7 | testing_debugging_repair_refactoring | 456 | false | 2026-07-17 |
using System;
using System.Threading;
using System.Threading.Tasks;
using AutoFixture.NUnit3;
using Moq;
using NUnit.Framework;
using ZptSharp.Autofixture;
using ZptSharp.Dom;
using ZptSharp.Expressions;
namespace ZptSharp.Rendering
{
[TestFixture, Parallelizable]
public class RemoveZptAttributesModifierDecor... | csf-dev/ZPT-Sharp | ZptSharp.Tests/Rendering/RemoveZptAttributesModifierDecoratorTests.cs | https://github.com/csf-dev/ZPT-Sharp/blob/HEAD/ZptSharp.Tests/Rendering/RemoveZptAttributesModifierDecoratorTests.cs | ghcode:00168:f91af9f1f10d | mit | codeparrot/github-code | f91af9f1f10d9cc20698262c17ebfed11e77a7efa6c7c40bf582674ca4f70a1f | 0.75 | testing_debugging_repair_refactoring | 350 | false | 2026-07-17 |
namespace Sitecore.FakeDb.Tests.Data.Templates
{
using System.Linq;
using FluentAssertions;
using Ploeh.AutoFixture.Xunit2;
using Sitecore.Data;
using Sitecore.Data.Items;
using Xunit;
public class TemplatesTest
{
[Fact]
public void ShouldGetOwnFields()
{
// arrange
var templat... | pveller/Sitecore.FakeDb | test/Sitecore.FakeDb.Tests/Data/Templates/TemplatesTest.cs | https://github.com/pveller/Sitecore.FakeDb/blob/HEAD/test/Sitecore.FakeDb.Tests/Data/Templates/TemplatesTest.cs | ghcode:00168:4127a4b33e83 | mit | codeparrot/github-code | 4127a4b33e8303ec941ddf6f86abe37154d592f47731939b56841eb2de0eb608 | 0.7 | testing_debugging_repair_refactoring | 4,533 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using CSC.Common.Infrastructure.Serialization;
using CSC.CSClassroom.Model.Assignments;
using CSC.CSClassroom.Model.Classrooms;
using CSC.CSClassroom.Service.Assignments.QuestionResolvers;
using Moq;
using Xunit;
namespac... | CSClassroom/CSClassroom | Services/test/CSClassroom/CSClassroom.Service.UnitTests/Assignments/QuestionResolvers/DefaultQuestionResolver_UnitTests.cs | https://github.com/CSClassroom/CSClassroom/blob/HEAD/Services/test/CSClassroom/CSClassroom.Service.UnitTests/Assignments/QuestionResolvers/DefaultQuestionResolver_UnitTests.cs | ghcode:00168:919ce52eb7b0 | mit | codeparrot/github-code | 919ce52eb7b075da42910b617a07c460db59681f7324184846b5c69ad49920f2 | 0.95 | testing_debugging_repair_refactoring | 405 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Net.Http;
using Microsoft.Extensions.Configuration;
using Xunit;
using SocksSharp;
using SocksSharp.Proxy;
using System.Threading.Tasks;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.Net;
namespa... | extremecodetv/SocksSharp | tests/SocksSharp.Tests/ProxyClientTests.cs | https://github.com/extremecodetv/SocksSharp/blob/HEAD/tests/SocksSharp.Tests/ProxyClientTests.cs | ghcode:00168:ad2ed0c9d091 | mit | codeparrot/github-code | ad2ed0c9d091651552791517d742ed10166abd83431134f50b320496cf5b3cfe | 0.85 | testing_debugging_repair_refactoring | 1,905 | false | 2026-07-17 |
using System;
using Shouldly;
using Valit.Tests.HelperExtensions;
using Xunit;
namespace Valit.Tests.DateTimeOffset_
{
public class DateTimeOffset_IsBeforeOrSameAs_Tests
{
[Fact]
public void DateTimeOffset_IsBeforeOrSameAs_For_Not_Nullable_Values_Throws_When_Null_Rule_Is_Given()
{
... | valit-stack/Valit | tests/Valit.Tests/DateTimeOffset_/DateTimeOffset_IsBeforeOrSameAs_Tests.cs | https://github.com/valit-stack/Valit/blob/HEAD/tests/Valit.Tests/DateTimeOffset_/DateTimeOffset_IsBeforeOrSameAs_Tests.cs | ghcode:00168:c92151b38e29 | mit | codeparrot/github-code | c92151b38e290a812318d384ec328ee98051db508817b159647a0d59cd1cfccd | 0.75 | testing_debugging_repair_refactoring | 1,179 | false | 2026-07-17 |
using System;
using Moq;
using NUnit.Framework;
using ReMi.CommandHandlers.ReleasePlan;
using ReMi.Commands.ReleasePlan;
using ReMi.TestUtils.UnitTests;
using ReMi.DataAccess.BusinessEntityGateways.ReleasePlan;
namespace ReMi.CommandHandlers.Tests.ReleasePlan
{
public class CreateCheckListCommandHandlerTests : Tes... | wongatech/remi | ReMi.Api/Tests/ReMi.CommandHandlers.Tests/ReleasePlan/CreateCheckListCommandHandlerTests.cs | https://github.com/wongatech/remi/blob/HEAD/ReMi.Api/Tests/ReMi.CommandHandlers.Tests/ReleasePlan/CreateCheckListCommandHandlerTests.cs | ghcode:00168:c93aca7678f7 | mit | codeparrot/github-code | c93aca7678f76ffc777f64e6abbc2be5978ac2703ca81640627e1f7159f79a25 | 0.85 | testing_debugging_repair_refactoring | 227 | false | 2026-07-17 |
namespace PokerTell.Repository.Tests.ViewModels
{
using System.Collections.Generic;
using Infrastructure.Events;
using Infrastructure.Interfaces.DatabaseSetup;
using Interfaces;
using Machine.Specifications;
using Microsoft.Practices.Composite.Events;
using Moq;
usin... | thlorenz/pokertell | Src/Tests/UnitTests/PokerTell.Repository.Tests/ViewModels/DatabaseImportViewModelSpecs.cs | https://github.com/thlorenz/pokertell/blob/HEAD/Src/Tests/UnitTests/PokerTell.Repository.Tests/ViewModels/DatabaseImportViewModelSpecs.cs | ghcode:00168:e7e410cf0937 | mit | codeparrot/github-code | e7e410cf0937e828793458183a58d80253b9471f524e2e34fb746886e252ab51 | 0.85 | testing_debugging_repair_refactoring | 4,549 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2014-2016, Institute for Software & Systems Engineering
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including wi... | cubeme/ssharp | Tests/SerializationTests.cs | https://github.com/cubeme/ssharp/blob/HEAD/Tests/SerializationTests.cs | ghcode:00168:2e2368d21fdc | mit | codeparrot/github-code | 2e2368d21fdcbba945c76cab1c8df5878e07cf4a2df33ad49b78a084da40a786 | 0.85 | testing_debugging_repair_refactoring | 596 | false | 2026-07-17 |
// Copyright(c) 2017, 2018 Johan Lindvall
//
// 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, merge, ... | JohanLindvall/DataGenerator | OrmMock.Test/ForContextTest.cs | https://github.com/JohanLindvall/DataGenerator/blob/HEAD/OrmMock.Test/ForContextTest.cs | ghcode:00168:ea359481b32d | mit | codeparrot/github-code | ea359481b32d07117358340dfb7b7558e21bc9be3f6996a20b8947893a60f41a | 0.7 | testing_debugging_repair_refactoring | 3,192 | false | 2026-07-17 |
using Lucca.Upgrading.Sql;
using Xunit;
namespace Lucca.Upgrading.Test
{
public class SplitterTests
{
[Theory]
[InlineData("--hello=world", "hello", "world")]
[InlineData("----hello=world", "hello", "world")]
[InlineData("hello=world", "hello", "world")]
[InlineData("he... | LuccaSA/Lucca.Upgrading | test/Lucca.Upgrading.Test/SplitterTests.cs | https://github.com/LuccaSA/Lucca.Upgrading/blob/HEAD/test/Lucca.Upgrading.Test/SplitterTests.cs | ghcode:00168:5b2da0058fcc | mit | codeparrot/github-code | 5b2da0058fcc945f57896f09b373e1abdc7ffea554e582423541ed49de1eeb1f | 0.75 | testing_debugging_repair_refactoring | 199 | false | 2026-07-17 |
using System.Collections.Generic;
using Moq;
using NUnit.Framework;
using PackageManager.Models;
using PackageManager.Models.Contracts;
using PackageManager.Repositories;
namespace PackageManager.Tests.Models.PackageTests
{
[TestFixture]
public class ConstructorShould
{
[Test]
public void ... | ndvalkov/TelerikAcademy2016 | Homework/Unit-Testing/AcademyPackageManager/PackageManager.Tests/Models/PackageTests/ConstructorShould.cs | https://github.com/ndvalkov/TelerikAcademy2016/blob/HEAD/Homework/Unit-Testing/AcademyPackageManager/PackageManager.Tests/Models/PackageTests/ConstructorShould.cs | ghcode:00168:bf3eb3b52d1a | mit | codeparrot/github-code | bf3eb3b52d1a57524a7c5dbeca110ab3aa152a9e182debd7d8138ee6999c75e0 | 0.85 | testing_debugging_repair_refactoring | 247 | false | 2026-07-17 |
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Bolt.Client.Pipeline;
using Bolt.Metadata;
using Bolt.Pipeline;
using Bolt.Serialization;
using Moq;
namespace Bolt.Client.Test
{
public abstract partial class SessionMiddlewareTest
{
public BoltOptions Options { get; } = new Bol... | justkao/Bolt | test/Bolt.Client.Test/SessionMiddlewareTest.cs | https://github.com/justkao/Bolt/blob/HEAD/test/Bolt.Client.Test/SessionMiddlewareTest.cs | ghcode:00168:8aae5574da0e | mit | codeparrot/github-code | 8aae5574da0e14fa15d4bf018c742921aa8f380b178b7c29b468a27fd000aea0 | 0.75 | testing_debugging_repair_refactoring | 395 | false | 2026-07-17 |
using System;
using Camp.HogRider;
using NUnit.Framework;
namespace HogRiderTest
{
[TestFixture()]
public class MessageDispatcherTest
{
public class MockMessage
{
public int IntField { get; set; }
}
public class MockMessage2
{
public int IntField { get; set; }
... | Xorcerer/Wizard | Tests/HogRiderTest/MessageDispatcherTest.cs | https://github.com/Xorcerer/Wizard/blob/HEAD/Tests/HogRiderTest/MessageDispatcherTest.cs | ghcode:00168:5059a0f58c82 | mit | codeparrot/github-code | 5059a0f58c829869f91f9cbd411c244ab11b822d6ccb1ec19e68f9f5c2ae29b8 | 0.6 | testing_debugging_repair_refactoring | 334 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Algo.Tests.TopCoder.Easy
{
[TestClass]
public class AaagmnrsTests
{
[TestMethod]
public void Anagrams_TestCase1_... | scripni/algo | Algo/Algo.Tests/TopCoder/Easy/AaagmnrsTests.cs | https://github.com/scripni/algo/blob/HEAD/Algo/Algo.Tests/TopCoder/Easy/AaagmnrsTests.cs | ghcode:00168:c202c1c1dd3b | mit | codeparrot/github-code | c202c1c1dd3bf353bd90a3f637cc9ff7d4b1895e5524d4de5c16e8cd8625d70d | 0.85 | testing_debugging_repair_refactoring | 500 | false | 2026-07-17 |
using System.Linq;
using Moq;
using NUnit.Framework;
using PoESkillTree.Computation.Common;
using PoESkillTree.Computation.Common.Tests;
using PoESkillTree.Computation.Core.Nodes;
namespace PoESkillTree.Computation.Core.Tests.Nodes
{
[TestFixture]
public class MultiPathFormAggregatingValueTest
{
[... | l0g0sys/PoESkillTree | PoESkillTree.Computation.Core.Tests/Nodes/MultiPathFormAggregatingValueTest.cs | https://github.com/l0g0sys/PoESkillTree/blob/HEAD/PoESkillTree.Computation.Core.Tests/Nodes/MultiPathFormAggregatingValueTest.cs | ghcode:00168:f25734e6126c | mit | codeparrot/github-code | f25734e6126cf2b7e610c3a158837cbf5b5d1691496e97f40944b746c6a5c835 | 0.75 | testing_debugging_repair_refactoring | 393 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using SqlMigrator;
namespace UnitTests.Facts
{
[TestFixture]
public class AssemblyResourceSourceFacts
{
[Test]
public async void ListMigrations()
{
var source = new AssemblyResourcesSource(GetTy... | ConstantDesenvolvimento/SqlMigrator | src/UnitTests/Facts/AssemblyResourceSourceFacts.cs | https://github.com/ConstantDesenvolvimento/SqlMigrator/blob/HEAD/src/UnitTests/Facts/AssemblyResourceSourceFacts.cs | ghcode:00168:b984acec43a8 | mit | codeparrot/github-code | b984acec43a8a113da70f365ffb3f3d0faee8e2df14616f6b5387f5a93a3a336 | 0.6 | testing_debugging_repair_refactoring | 132 | false | 2026-07-17 |
using NUnit.Framework;
using Shouldly;
using WhiteSharp.Helpers;
namespace WhiteSharp.Tests.UnitTests
{
[TestFixture]
public class XmlHelperTest
{
private readonly XmlHelper _testData = XmlHelper.Load("UnitTests\\TestXml.xml");
[Test]
public void GetNestedValueTest()
{
... | ilya-murzinov/WhiteSharp | src/WhiteSharp.Tests/UnitTests/XmlHelperTest.cs | https://github.com/ilya-murzinov/WhiteSharp/blob/HEAD/src/WhiteSharp.Tests/UnitTests/XmlHelperTest.cs | ghcode:00168:242112499735 | mit | codeparrot/github-code | 2421124997352548b68a5cb71440b3c8278a670c7d014d1fd72336fb2e0bbf0a | 0.6 | testing_debugging_repair_refactoring | 500 | false | 2026-07-17 |
using System.Collections.Generic;
using Build.DomainModel.MSBuild;
using Build.ExpressionEngine;
using Build.IO;
using FluentAssertions;
using Moq;
using NUnit.Framework;
namespace Build.Test.ExpressionEngine
{
[TestFixture]
public sealed class PropertyReferenceTest
{
[Test]
[Description("Verifies that an unse... | Kittyfisto/.NETBuild | Build.Test/ExpressionEngine/PropertyReferenceTest.cs | https://github.com/Kittyfisto/.NETBuild/blob/HEAD/Build.Test/ExpressionEngine/PropertyReferenceTest.cs | ghcode:00168:e540bdf4af7f | mit | codeparrot/github-code | e540bdf4af7f32542a4f58e98e6a61c9201e6741d5d8016706e4d96a01b82ee2 | 0.75 | testing_debugging_repair_refactoring | 363 | false | 2026-07-17 |
#region Licence
/* The MIT License (MIT)
Copyright © 2014 Ian Cooper <ian_hammond_cooper@yahoo.co.uk>
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 limitat... | dstockhammer/Brighter | tests/Paramore.Brighter.Tests/MessageDispatch/When_a_message_fails_to_be_mapped_to_a_request_and_the_unacceptable_message_limit_is_reached.cs | https://github.com/dstockhammer/Brighter/blob/HEAD/tests/Paramore.Brighter.Tests/MessageDispatch/When_a_message_fails_to_be_mapped_to_a_request_and_the_unacceptable_message_limit_is_reached.cs | ghcode:00168:a03814dbd85b | mit | codeparrot/github-code | a03814dbd85bf26c014956aa6852db157bf7d32048b1c3b31dba432edde3ac82 | 0.7 | testing_debugging_repair_refactoring | 662 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LinqExpression.ExtendStudentCollection;
namespace LinqExpression
{
class Program
{
static void Main(string[] args)
{
Student a = new Student(23, "Pesho", "Pesho... | SvetlaPetkova/Telerik_Homework | CSharp_OOP/ExtentionsDelegatesETC/LinqExpression/Tests/Program.cs | https://github.com/SvetlaPetkova/Telerik_Homework/blob/HEAD/CSharp_OOP/ExtentionsDelegatesETC/LinqExpression/Tests/Program.cs | ghcode:00168:92be63e54148 | mit | codeparrot/github-code | 92be63e541484cdd87249a5a6eae69c499b06bf2d9637a0956aa289a489c28ff | 0.85 | testing_debugging_repair_refactoring | 844 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Storage.Net.Blobs;
using Storage.Net.Microsoft.Azure.DataLake.Store.Gen1;
using Xunit;
namespace Storage.Net.Tests.Integration.Azure
{
[Trait("Category", "Blobs")]
public class LeakyAdlsGen1StorageTest
{
private readonly ITestSettings _settings;
p... | aloneguid/storage | test/Storage.Net.Tests.Integration/Azure/LeakyAdlsGen1StorageTest.cs | https://github.com/aloneguid/storage/blob/HEAD/test/Storage.Net.Tests.Integration/Azure/LeakyAdlsGen1StorageTest.cs | ghcode:00168:f9496702d1a3 | mit | codeparrot/github-code | f9496702d1a3ccf8553e8f2a7450d2126517e8d89bf318d4a49ec2f3d202dafe | 0.85 | testing_debugging_repair_refactoring | 441 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Balanced;
using Balanced.Exceptions;
using System.Collections.Generic;
namespace BalancedTests
{
[TestClass]
public class CreditTest : BaseTest
{
[TestMethod]
public void TestCreditCreate()
{
Card c... | balanced/balanced-csharp | BalancedTests/CreditTest.cs | https://github.com/balanced/balanced-csharp/blob/HEAD/BalancedTests/CreditTest.cs | ghcode:00168:8bc90008d51a | mit | codeparrot/github-code | 8bc90008d51a273b138a3d4d5637a6ba48bb6b5be80ec5d74768d7ce4107d429 | 0.7 | testing_debugging_repair_refactoring | 1,031 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="InjectionContextTests.cs" company="Bijectiv">
// The MIT License (MIT)
//
// Copyright (c) 2014 Brian Tyler
//
// Permission is hereby granted, free of charge, to any ... | briantyler/bijectiv | Sources/Bijectiv.Tests/Kernel/InjectionContextTests.cs | https://github.com/briantyler/bijectiv/blob/HEAD/Sources/Bijectiv.Tests/Kernel/InjectionContextTests.cs | ghcode:00168:d8c658e08c5b | mit | codeparrot/github-code | d8c658e08c5b02497f900c1ea876ffff423edf57cf5ccf2b2306521a37386b84 | 0.85 | testing_debugging_repair_refactoring | 1,325 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PutOp{TObject}Test.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
// </copyright>
// -----------------------------------------------------... | NaosProject/Naos.Database | Naos.Database.Domain.Test/Operations/Classes/Stream/External/Write/PutOp{TObject}Test.cs | https://github.com/NaosProject/Naos.Database/blob/HEAD/Naos.Database.Domain.Test/Operations/Classes/Stream/External/Write/PutOp{TObject}Test.cs | ghcode:00168:fd66855c8147 | mit | codeparrot/github-code | fd66855c81473692b4666c8afa515d8917f0bb894b0c3288e340fd29d5018627 | 0.7 | testing_debugging_repair_refactoring | 2,657 | false | 2026-07-17 |
using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using NUnit.Framework;
using ReSharper.ContractExtensions.ContextActions;
using ReSharper.ContractExtensions.ContextActions.EnumChecks;
using ReSharper.ContractExtensions.ContextActions.Requires;
namespace ReSharper.ContractExtensions.Tests.Preconditions
{
... | SergeyTeplyakov/ReSharperContractExtensions | ReSharper.ContractExtensions.Tests/src/EnumChecks/EnumCheckRequiresContextActionExecutionTest.cs | https://github.com/SergeyTeplyakov/ReSharperContractExtensions/blob/HEAD/ReSharper.ContractExtensions.Tests/src/EnumChecks/EnumCheckRequiresContextActionExecutionTest.cs | ghcode:00168:9cb46dc68b3d | mit | codeparrot/github-code | 9cb46dc68b3de9bd10557e9461a480474b0b293bca703598658dfd8490255a58 | 0.85 | testing_debugging_repair_refactoring | 179 | false | 2026-07-17 |
using System.Collections.Generic;
using GitTools.Testing;
using GitVersion;
using GitVersionCore.Tests;
using LibGit2Sharp;
using NUnit.Framework;
[TestFixture]
public class FeatureBranchScenarios
{
[Test]
public void ShouldInheritIncrementCorrectlyWithMultiplePossibleParentsAndWeirdlyNamedDevelopBranch()
... | dpurge/GitVersion | src/GitVersionCore.Tests/IntegrationTests/FeatureBranchScenarios.cs | https://github.com/dpurge/GitVersion/blob/HEAD/src/GitVersionCore.Tests/IntegrationTests/FeatureBranchScenarios.cs | ghcode:00168:a5d75096206b | mit | codeparrot/github-code | a5d75096206b32b02429c4195df06955538c6a82db7cd4a336622380f6a124c6 | 0.7 | testing_debugging_repair_refactoring | 3,949 | false | 2026-07-17 |
using System;
using ElasticUp.Helper;
using FluentAssertions;
using Nest;
using NUnit.Framework;
namespace ElasticUp.Tests.Helper
{
public class IndexSettingsForBulkHelperIntegrationTest : AbstractIntegrationTest
{
public void SetupIndex(Func<IndexSettingsDescriptor, IndexSettingsDescriptor> i... | XPCegeka/ElasticUp | ElasticUp/ElasticUp.Tests/Helper/IndexSettingsForBulkHelperIntegrationTest.cs | https://github.com/XPCegeka/ElasticUp/blob/HEAD/ElasticUp/ElasticUp.Tests/Helper/IndexSettingsForBulkHelperIntegrationTest.cs | ghcode:00168:b611eb39acf4 | mit | codeparrot/github-code | b611eb39acf4fb2c383053a29c0d487d35692f1590b27682a44334333eb3468a | 0.75 | testing_debugging_repair_refactoring | 754 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ical.Net.CalendarComponents;
using Ical.Net.DataTypes;
using Ical.Net.Serialization;
using Ical.Net.Utility;
using NUnit.Framework;
using NUnit.Framework.Interfaces;
namespace Ical.Net.CoreUnitTests
{
public class Equality... | rianjs/ical.net | src/Ical.Net.CoreUnitTests/EqualityAndHashingTests.cs | https://github.com/rianjs/ical.net/blob/HEAD/src/Ical.Net.CoreUnitTests/EqualityAndHashingTests.cs | ghcode:00168:46910d51aa1f | mit | codeparrot/github-code | 46910d51aa1fccf82dcb41195250bc7b4b759421715c98c87ef21270c7b86788 | 0.85 | testing_debugging_repair_refactoring | 5,673 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using NUnit.Framework;
namespace PEG.Tests
{
[TestFixture]
public class ExpressionExtensionsTest
{
[Test]
public void MatchString()
{
var pattern = +('a'.To('Z') | '.') + '@' + +('a'... | kswoll/npeg | PEG.Tests/ExpressionExtensionsTest.cs | https://github.com/kswoll/npeg/blob/HEAD/PEG.Tests/ExpressionExtensionsTest.cs | ghcode:00168:1473ceb7d692 | mit | codeparrot/github-code | 1473ceb7d692ec0d12bc7879f5cc29fb15651cac4248b7d534ebf5d75cf7510a | 0.85 | testing_debugging_repair_refactoring | 814 | false | 2026-07-17 |
using System;
using System.Linq;
using NUnit.Framework;
using Weapsy.Blog.Domain.Blog.Events;
using Weapsy.Blog.Domain.Blog.Exceptions;
namespace Weapsy.Blog.Domain.Tests
{
[TestFixture]
public class BlogTests
{
[Test]
public void Should_set_properties_and_notify_when_create_new_blog()
... | lucabriguglia/cqrs-experiments | src/Weapsy.Blog.Domain.Tests/BlogTests.cs | https://github.com/lucabriguglia/cqrs-experiments/blob/HEAD/src/Weapsy.Blog.Domain.Tests/BlogTests.cs | ghcode:00168:3d0faa4fc9a4 | mit | codeparrot/github-code | 3d0faa4fc9a41b9287553f628d8f0ef986d3c13503fa01483d8f529a291674c2 | 0.75 | testing_debugging_repair_refactoring | 540 | false | 2026-07-17 |
using System;
using System.IO;
using GitVersion;
using GitVersion.Helpers;
using GitVersionCore.Tests;
using NSubstitute;
using NUnit.Framework;
[TestFixture]
public class AssemblyInfoFileUpdateTests
{
[Test]
public void ShouldStartSearchFromWorkingDirectory()
{
var fileSystem = Substitute.For<IFi... | Philo/GitVersion | src/GitVersionExe.Tests/AssemblyInfoFileUpdateTests.cs | https://github.com/Philo/GitVersion/blob/HEAD/src/GitVersionExe.Tests/AssemblyInfoFileUpdateTests.cs | ghcode:00168:4a326ef5309c | mit | codeparrot/github-code | 4a326ef5309c427186478b3990b38cbebd5d7c3dc7cdf29cb147471d7494686e | 0.75 | testing_debugging_repair_refactoring | 1,161 | false | 2026-07-17 |
// <copyright file="Cls.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
namespace GWParse.Test.Statements
{
using Xunit;
public sealed class Cls
{
[InlineData("CLS", "Cls()")]
[Theory]
public void Valid(string input, string output)
... | brian-dot-net/writeasync | projects/ExpressionSample/GWParse.Test/Statements/Cls.cs | https://github.com/brian-dot-net/writeasync/blob/HEAD/projects/ExpressionSample/GWParse.Test/Statements/Cls.cs | ghcode:00168:cbe16e95df03 | unlicense | codeparrot/github-code | cbe16e95df0357c63b7023c997784baec832e292544d9a7a13fa8bd1e215c8ce | 0.78 | testing_debugging_repair_refactoring | 245 | 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 enable
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System... | reaction1989/roslyn | src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs | https://github.com/reaction1989/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs | ghcode:00168:38783ac310ef | apache-2.0 | codeparrot/github-code | 38783ac310ef665f125e015fb629ce16ce8f5263952e5b175c6b7f44e6e32369 | 0.65 | testing_debugging_repair_refactoring | 27,130 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using ESRI.ArcGIS.Geometry;
using ESRI.ArcGIS.esriSystem;
using ESRIUK.DynamicLocators.BNGLocator;
using ESRIUK.DynamicLocators.Core;
using NUnit.Framework;
namespace ESRIUK.DynamicLocators.BNG... | EsriUK/dynamic-locator-sdk | BNGLocatorTESTS/BNGLocatorTests.cs | https://github.com/EsriUK/dynamic-locator-sdk/blob/HEAD/BNGLocatorTESTS/BNGLocatorTests.cs | ghcode:00168:3d39495290d1 | apache-2.0 | codeparrot/github-code | 3d39495290d1c4a125405a822fed9a2b92b0bd99f8f89ffee6d4e77105e2d217 | 0.85 | testing_debugging_repair_refactoring | 618 | false | 2026-07-17 |
#region WatiN Copyright (C) 2006-2011 Jeroen van Menen
//Copyright 2006-2011 Jeroen van Menen
//
// 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.... | adymitruk/altnetdllstack | Watin/src/UnitTests/AttributeConstraintTests/ComplexMultipleAttributeConstraintTests.cs | https://github.com/adymitruk/altnetdllstack/blob/HEAD/Watin/src/UnitTests/AttributeConstraintTests/ComplexMultipleAttributeConstraintTests.cs | ghcode:00168:c190919165dd | apache-2.0 | codeparrot/github-code | c190919165dd28898f9150b0b103a825c5188d9fb12ba6640792ef5eae98b602 | 0.95 | testing_debugging_repair_refactoring | 575 | false | 2026-07-17 |
using NUnit.Framework;
namespace StructureMap.Testing.Bugs
{
[TestFixture]
public class CloseOpenGenericsWithSomeSpecifics
{
[Test]
public void should_handle_default_closed_and_specific_closed()
{
var container = new Container(x =>
{
x.Scan(y ... | hp4711/structuremap | Source/StructureMap.Testing/Bugs/CloseOpenGenericsWithSomeSpecifics.cs | https://github.com/hp4711/structuremap/blob/HEAD/Source/StructureMap.Testing/Bugs/CloseOpenGenericsWithSomeSpecifics.cs | ghcode:00168:a2662c9ac969 | apache-2.0 | codeparrot/github-code | a2662c9ac96981fda3d525838f2e227f755ad7ef01d0882f557120d00409b0f4 | 0.6 | testing_debugging_repair_refactoring | 193 | false | 2026-07-17 |
//-------------------------------------------------------------------------------
// <copyright file="SourceIsDescendantOfTargetTransitionFacts.cs" company="Appccelerate">
// Copyright (c) 2008-2019 Appccelerate
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this fi... | appccelerate/statemachine | source/Appccelerate.StateMachine.Facts/AsyncMachine/Transitions/SourceIsDescendantOfTargetTransitionFacts.cs | https://github.com/appccelerate/statemachine/blob/HEAD/source/Appccelerate.StateMachine.Facts/AsyncMachine/Transitions/SourceIsDescendantOfTargetTransitionFacts.cs | ghcode:00168:8de9fdfddc5f | apache-2.0 | codeparrot/github-code | 8de9fdfddc5fb70a9ffab0b67729db334e3465d95823c07e3e582c4d4b634253 | 0.7 | testing_debugging_repair_refactoring | 600 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using NUnit.Framework;
namespace NCoalescingRingBuffer.Tests.manual
{
public class MemoryUsageTest
{
public static long CalculateMemoryUsage(Func<Object... | ncornwell/NCoalescingRingBuffer | NCoalescingRingBuffer/NCoalescingRingBuffer.Tests/manual/MemoryUsageTest.cs | https://github.com/ncornwell/NCoalescingRingBuffer/blob/HEAD/NCoalescingRingBuffer/NCoalescingRingBuffer.Tests/manual/MemoryUsageTest.cs | ghcode:00168:cd073b679db9 | apache-2.0 | codeparrot/github-code | cd073b679db91a082c97d0ebe2d4b1629b4935cd151f77a7d9cf4af509127f39 | 0.6 | testing_debugging_repair_refactoring | 297 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CubeMaster2000.CubeApps
{
class TestImage : AppBase
{
public override void Dispose()
{
}
public override void Start()
{
TriggerImag... | droptableuser/embsysengineering | kinect/CubeMaster2000/CubeMaster2000/CubeApps/TestImage.cs | https://github.com/droptableuser/embsysengineering/blob/HEAD/kinect/CubeMaster2000/CubeMaster2000/CubeApps/TestImage.cs | ghcode:00168:eae65b51f2ed | apache-2.0 | codeparrot/github-code | eae65b51f2ed970f5883f85c5872515f1a3e0b008a871cae10ff3939cffff18e | 0.75 | testing_debugging_repair_refactoring | 163 | false | 2026-07-17 |
/* Copyright 2010-2014 MongoDB 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 writi... | antonnik/code-classifier | naive_bayes/resources/c#/GeoJsonPointTests.cs | https://github.com/antonnik/code-classifier/blob/HEAD/naive_bayes/resources/c#/GeoJsonPointTests.cs | ghcode:00168:c05c277ad819 | apache-2.0 | codeparrot/github-code | c05c277ad8192a4a680c6f9f82a36d7e48255452def925d31a1ca9871ff2f0b7 | 0.75 | testing_debugging_repair_refactoring | 1,844 | false | 2026-07-17 |
using System.Linq;
using Enigma.Test.TestDb;
using Enigma.Testing.Fakes.Entities.Cars;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Enigma.Test.Linq
{
[TestClass]
public class IndexFilterTests
{
[TestMethod]
public void OrderByOnIndexAndTakeTest()
{
us... | jaygumji/EnigmaDb | Enigma.Test/Linq/IndexFilterTests.cs | https://github.com/jaygumji/EnigmaDb/blob/HEAD/Enigma.Test/Linq/IndexFilterTests.cs | ghcode:00168:454ab0739cf8 | apache-2.0 | codeparrot/github-code | 454ab0739cf83ee65ff4c9a62a871b64cfaa2c24ec79223cebeefb85b640a012 | 0.75 | testing_debugging_repair_refactoring | 338 | false | 2026-07-17 |
using System.Collections;
using System.Data;
using System.Globalization;
using NUnit.Framework;
using Spring.Context;
using Spring.Context.Support;
using Spring.Data.Config;
using Spring.Data.Core;
using Spring.Objects.Factory.Xml;
using Spring.DataQuickStart.Dao.Template;
using Spring.DataQuickStart.Domain;
namespac... | MaferYangPointJun/Spring.net | examples/Spring/Spring.DataQuickStart/test/Spring/Spring.DataQuickStart.Tests/DataQuickStart/Template/ExampleTests.cs | https://github.com/MaferYangPointJun/Spring.net/blob/HEAD/examples/Spring/Spring.DataQuickStart/test/Spring/Spring.DataQuickStart.Tests/DataQuickStart/Template/ExampleTests.cs | ghcode:00168:86fb8d44ef04 | apache-2.0 | codeparrot/github-code | 86fb8d44ef04ba6828705991a7777e662ed8f5851c5f3c730864c4895c3b1520 | 0.95 | testing_debugging_repair_refactoring | 1,507 | false | 2026-07-17 |
// Copyright 2020 The Tilt Brush 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
//
// Unless required by applicable law or a... | googlevr/tilt-brush | Assets/Editor/Tests/TestTbTaskExtensions.cs | https://github.com/googlevr/tilt-brush/blob/HEAD/Assets/Editor/Tests/TestTbTaskExtensions.cs | ghcode:00168:51458a424066 | apache-2.0 | codeparrot/github-code | 51458a4240667e9f6629e928a81cdb4913d30296ae55d0e9998f7e0133336a9d | 0.95 | testing_debugging_repair_refactoring | 1,036 | 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.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Emit;
using Micro... | davkean/roslyn | src/Compilers/CSharp/Portable/Symbols/Synthesized/SynthesizedBackingFieldSymbol.cs | https://github.com/davkean/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Synthesized/SynthesizedBackingFieldSymbol.cs | ghcode:00168:9f4331cfe2cc | apache-2.0 | codeparrot/github-code | 9f4331cfe2cc59a5b8d555e738bf179b0ea3da41951e226d5d16bccd07a0093b | 0.85 | testing_debugging_repair_refactoring | 842 | 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... | CurtHagenlocher/ParquetSharp | ParquetColumn/test/Column/Values/RandomStr.cs | https://github.com/CurtHagenlocher/ParquetSharp/blob/HEAD/ParquetColumn/test/Column/Values/RandomStr.cs | ghcode:00168:9751cc541f86 | apache-2.0 | codeparrot/github-code | 9751cc541f866b02b1d4d4bfac60dfa7f106f787503d51d9636d3bfba977bf4b | 0.95 | testing_debugging_repair_refactoring | 458 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FirstOneTo.Authentication;
using FirstOneTo.ReadModel.Infrastructure.Azure;
using FluentAssertions;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
using NUnit.Framework;
namespace FirstOneTo.ReadMode... | TomPallister/PerformanceDsl | FirstOneTo.ReadModel.Infrastructure.Tests/AzureUserDatabaseTests.cs | https://github.com/TomPallister/PerformanceDsl/blob/HEAD/FirstOneTo.ReadModel.Infrastructure.Tests/AzureUserDatabaseTests.cs | ghcode:00168:7a38abfecc75 | apache-2.0 | codeparrot/github-code | 7a38abfecc75b91da70a5026aeb00a50e477200e4535d567aa7c26cac8a39706 | 0.75 | testing_debugging_repair_refactoring | 430 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTest {
[TestClass]
public class UnitTest1 {
[TestMethod]
public void TestMethod1() {
}
}
}
| dalenewman/Cfg-NET | Testing/TestShared/UnitTest1.cs | https://github.com/dalenewman/Cfg-NET/blob/HEAD/Testing/TestShared/UnitTest1.cs | ghcode:00168:21d5dd66e00c | apache-2.0 | codeparrot/github-code | 21d5dd66e00c94de07c6d42539a2a6ad9583722639463942899a1714723de9dc | 0.6 | testing_debugging_repair_refactoring | 41 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
using Stripe.Client.Sdk.Clients;
using Stripe.Client.Sdk.Clients.Core;
using Stripe.Client.Sdk.Models;
using Stripe.Client.Sdk.Models.Arguments;
using System.Threading;
using System.Threading.Tasks;
namespace Stripe.Client.... | smiggleworth/Stripe.Client | src/Stripe.Client.Sdk.Tests/Clients/Core/TokenClientTests.cs | https://github.com/smiggleworth/Stripe.Client/blob/HEAD/src/Stripe.Client.Sdk.Tests/Clients/Core/TokenClientTests.cs | ghcode:00168:8c2b5dba414c | apache-2.0 | codeparrot/github-code | 8c2b5dba414c34198144f8c3b625ee2be3ce04d48081c4433b35147f8fb6f875 | 0.85 | testing_debugging_repair_refactoring | 568 | false | 2026-07-17 |
namespace dotless.Core.Test.Specs.Functions
{
using NUnit.Framework;
public class ExtractFixture : SpecFixtureBase
{
[Test]
public void TestExtractFromCommaSeparatedList()
{
var input =
@"
@list: ""Arial"", ""Helvetica"";
.someClass {
font-family: e(ex... | dotless/dotless | tests/dotless.Core.Test/Specs/Functions/ExtractFixture.cs | https://github.com/dotless/dotless/blob/HEAD/tests/dotless.Core.Test/Specs/Functions/ExtractFixture.cs | ghcode:00168:8ccf70d3f54a | apache-2.0 | codeparrot/github-code | 8ccf70d3f54a5f100b8421a072ec849eef318fbff0a6999ee6e0f2b63a204d27 | 0.75 | testing_debugging_repair_refactoring | 177 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Xml.XPath;
using Virtlink.Utilib.Collections;
using Xunit;
namespace Yargon.Parsing
{
partial class ParserTests
{
/// <summary>
/// Tests the <see cref="Parser.Where"/> method.
/// </summary>
public sealed class WhereTests : ParserC... | cyberlect/yargon-parsing | test/Yargon.Parsing.Tests/ParserTests.WhereTests.cs | https://github.com/cyberlect/yargon-parsing/blob/HEAD/test/Yargon.Parsing.Tests/ParserTests.WhereTests.cs | ghcode:00168:49350e03d7e9 | apache-2.0 | codeparrot/github-code | 49350e03d7e9244fd66f4953cd4537ac4d8d8e0e5af472555db084332bd25ad4 | 0.85 | testing_debugging_repair_refactoring | 596 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using bv.common.Configuration;
using bv.tests.Core;
using eidss.model.Core;
using eidss.model.Enums;
namespace bv.tests.common
{
[TestClass]
public class Eidss... | EIDSS/EIDSS-Legacy | EIDSS v6.1/bv.tests/common/EidssSiteOptionsTests.cs | https://github.com/EIDSS/EIDSS-Legacy/blob/HEAD/EIDSS v6.1/bv.tests/common/EidssSiteOptionsTests.cs | ghcode:00168:fd8480790cde | bsd-2-clause | codeparrot/github-code | fd8480790cde77f51fe00a08a0d9b849c6d9fadc95e2e2e32d8a6f1a90b0e6e6 | 0.68 | testing_debugging_repair_refactoring | 394 | false | 2026-07-17 |
using NUnit.Framework;
using SccmTools.Infrastructure.ContainerExtensions;
using SccmTools.Tests.Common;
namespace SccmTools.Tests.UnitTests.ContainerRegistrationTests.Infrastructure
{
[TestFixture(Category = "UnitTests")]
public class InfoLogAspectRegistrationTests
{
[Test, RequiresSTA]
pu... | trondr/SccmTools | src/SccmTools.Tests/UnitTests/ContainerRegistrationTests/Infrastructure/InfoLogAspectRegistrationTests.cs | https://github.com/trondr/SccmTools/blob/HEAD/src/SccmTools.Tests/UnitTests/ContainerRegistrationTests/Infrastructure/InfoLogAspectRegistrationTests.cs | ghcode:00168:dcb469617cab | bsd-3-clause | codeparrot/github-code | dcb469617caba70dd23c4b27c7541b8ef6119711f8812df7faebe6ce77b89323 | 0.75 | testing_debugging_repair_refactoring | 139 | false | 2026-07-17 |
//-----------------------------------------------------------------------------
// Filename: Crypto.cs
//
// Description: Encrypts and decrypts data.
//
// History:
// 16 Jul 2005 Aaron Clauson Created.
// 10 Sep 2009 Aaron Clauson Updated to use RNGCryptoServiceProvider in place of Random.
//
// License:
... | amccool/sipsorcery | sipsorcery-core/SIPSorcery.Sys/Crypto/Crypto.cs | https://github.com/amccool/sipsorcery/blob/HEAD/sipsorcery-core/SIPSorcery.Sys/Crypto/Crypto.cs | ghcode:00168:f3b0c386ecf3 | bsd-3-clause | codeparrot/github-code | f3b0c386ecf36ee8855c7cc06301292abdd78e2ca1c193829759456cf096c354 | 0.85 | testing_debugging_repair_refactoring | 2,983 | false | 2026-07-17 |
namespace Sitecore.FakeDb.Serialization.Tests
{
using System.IO;
using FluentAssertions;
using Sitecore.Data;
using Xunit;
public class SerializedIdToPathResolverTest
{
[Fact]
public void ShouldFindPathForId()
{
string filePath = ID.Parse("{108266C2-304B-4AD3-9813-2BE1B88609FF}").FindFil... | pveller/Sitecore.FakeDb | test/Sitecore.FakeDb.Serialization.Tests/SerializedIdToPathResolverTest.cs | https://github.com/pveller/Sitecore.FakeDb/blob/HEAD/test/Sitecore.FakeDb.Serialization.Tests/SerializedIdToPathResolverTest.cs | ghcode:00168:aeb1bff52f93 | mit | codeparrot/github-code | aeb1bff52f933b6c07cc55098ca49da6d4254f1d0a5cde0bac15611486ea6824 | 0.6 | testing_debugging_repair_refactoring | 148 | false | 2026-07-17 |
namespace BullOak.Test.Benchmark.Profiling
{
using BenchmarkDotNet.Attributes;
[ShortRunJob]
//The results show that for thread safe operations, the custom collection is between 2-5 times faster
//For unsafe operations, this custom collection is more performant until up to 12 events (roughly)
// ... | BullOak/BullOak | src/BullOak.Test.Benchmark/Profiling/EventCollectionBenchmark.cs | https://github.com/BullOak/BullOak/blob/HEAD/src/BullOak.Test.Benchmark/Profiling/EventCollectionBenchmark.cs | ghcode:00168:400d1066a666 | mit | codeparrot/github-code | 400d1066a66642b3bca2efbc94c3e9e5f6f8957e6db42af016f93a046bfdfce9 | 0.85 | testing_debugging_repair_refactoring | 502 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
namespace Collectively.Services.Remarks.Tests.EndToEnd.Framework
{
public interface IHttpClient
{
Task<IEnumerable<T>> GetCollectionAsync<T>(string endpoint);
Task<T> GetAsync<T>(string endp... | noordwind/Collectively.Services.Remarks | tests/Collectively.Services.Remarks.Tests.EndToEnd/Framework/IHttpClient.cs | https://github.com/noordwind/Collectively.Services.Remarks/blob/HEAD/tests/Collectively.Services.Remarks.Tests.EndToEnd/Framework/IHttpClient.cs | ghcode:00168:bda9a0b26ff0 | mit | codeparrot/github-code | bda9a0b26ff0e97cb688571e4869867be3c1404d3df987862c0028c80afc484c | 0.75 | testing_debugging_repair_refactoring | 151 | false | 2026-07-17 |
using NUnit.Framework;
namespace Maestrano.Tests
{
[TestFixture]
public class MaestranoConfigurationTests
{
[Test]
public void itRetrieveTheDevPlatformParameters()
{
var config = Maestrano.Configuration.DevPlatform.Load();
Assert.AreEqual("https://wrong-ur... | x4d3/maestrano-dotnet | src/Maestrano.Tests/MaestranoConfigurationTests.cs | https://github.com/x4d3/maestrano-dotnet/blob/HEAD/src/Maestrano.Tests/MaestranoConfigurationTests.cs | ghcode:00168:6104697c464f | mit | codeparrot/github-code | 6104697c464fe7530afc427ce0f87f221741410137e6c2ba1df6a808e2e0ba91 | 0.75 | testing_debugging_repair_refactoring | 125 | false | 2026-07-17 |
namespace AutoMapper.UnitTests.Projection
{
using System;
using System.Collections.Generic;
using System.Linq;
using Should;
using Xunit;
using QueryableExtensions;
public class ProjectTest
{
public ProjectTest()
{
Mapper.CreateMap<Address, AddressDto>();
... | mwpowellhtx/AutoMapperContributed | src/UnitTests/Projection/ProjectTest.cs | https://github.com/mwpowellhtx/AutoMapperContributed/blob/HEAD/src/UnitTests/Projection/ProjectTest.cs | ghcode:00168:59ea93c0b004 | mit | codeparrot/github-code | 59ea93c0b00490b3613aaae550b0932f07cb15d1ef5abb188a80c9f9a85326cc | 0.75 | testing_debugging_repair_refactoring | 397 | false | 2026-07-17 |
using Xunit;
namespace LanguageExt.Tests.Parsing
{
public class parseEnumTests : AbstractParseTTests<FooBarEnum>
{
protected override Option<FooBarEnum> ParseT(string value) => Prelude.parseEnum<FooBarEnum>(value);
[Fact]
public void parseEnum_ValidStringFromFoo_SomeFoo() =>
... | StanJav/language-ext | LanguageExt.Tests/Parsing/parseEnumTests.cs | https://github.com/StanJav/language-ext/blob/HEAD/LanguageExt.Tests/Parsing/parseEnumTests.cs | ghcode:00168:b18c7e253304 | mit | codeparrot/github-code | b18c7e253304ae3d0e5c99395455363a3c7454f3030aff708b7802a57415e0ed | 0.75 | testing_debugging_repair_refactoring | 265 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="BroadcastSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
//... | simonlaroche/akka.net | src/core/Akka.Tests/Routing/BroadcastSpec.cs | https://github.com/simonlaroche/akka.net/blob/HEAD/src/core/Akka.Tests/Routing/BroadcastSpec.cs | ghcode:00168:eccb4000c41f | apache-2.0 | codeparrot/github-code | eccb4000c41fcb96da9db19aa82431b3fde26310438897707af00e8d0321f500 | 0.85 | testing_debugging_repair_refactoring | 614 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | StefanoRaggi/Lean | Tests/Common/Brokerages/BitfinexBrokerageModelTests.cs | https://github.com/StefanoRaggi/Lean/blob/HEAD/Tests/Common/Brokerages/BitfinexBrokerageModelTests.cs | ghcode:00168:fa8fb3370d99 | apache-2.0 | codeparrot/github-code | fa8fb3370d9957c44c579cd85318ae2521b757a7b9ef3294f62dc423edcf10f4 | 0.75 | testing_debugging_repair_refactoring | 1,169 | false | 2026-07-17 |
//
// Copyright 2015 Blu Age Corporation - Plano, Texas
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Un... | pkubryk/SummerBatch | Summer.Batch.CoreTests/Util/MapUtilsTest.cs | https://github.com/pkubryk/SummerBatch/blob/HEAD/Summer.Batch.CoreTests/Util/MapUtilsTest.cs | ghcode:00168:bbdc5f511bc5 | apache-2.0 | codeparrot/github-code | bbdc5f511bc586ab7c8850818034f85df23cb0697c4a9cb1eff7ccf0b0e2fd40 | 0.85 | testing_debugging_repair_refactoring | 1,565 | false | 2026-07-17 |
using System;
using Moq;
using ZocMonLib;
namespace ZocMonLib.Test
{
public class TestBase
{
protected static Mock<ISettings> BuildSettings()
{
var systemLogging = new Mock<ISystemLogger>();
var systemLoggingProvider = new Mock<ISystemLoggerProvider>();
syst... | ZocDoc/ZocMon | source/ZocMonLib.Test/Framework/TestBase.cs | https://github.com/ZocDoc/ZocMon/blob/HEAD/source/ZocMonLib.Test/Framework/TestBase.cs | ghcode:00168:3c3e755eecb9 | apache-2.0 | codeparrot/github-code | 3c3e755eecb96cdc8f50b1141e7c7915f6ebe0ed36d5a095bd129052d6d2f985 | 0.75 | testing_debugging_repair_refactoring | 123 | false | 2026-07-17 |
//
// Copyright (c) 2004-2020 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of s... | BrutalCode/NLog | tests/NLog.UnitTests/Targets/Wrappers/SplitGroupTargetTests.cs | https://github.com/BrutalCode/NLog/blob/HEAD/tests/NLog.UnitTests/Targets/Wrappers/SplitGroupTargetTests.cs | ghcode:00168:eacd8cf6a231 | bsd-3-clause | codeparrot/github-code | eacd8cf6a231f581c2c699e945ae4d59b84e1ab55c3bd30315e0ae6ee6f98af1 | 0.85 | testing_debugging_repair_refactoring | 1,452 | false | 2026-07-17 |
#region Copyright & License
//
// Copyright 2001-2005 The Apache Software Foundation
//
// 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... | DewJunkie/Log2Console | src/Tests/Test/MsmqAppender.cs | https://github.com/DewJunkie/Log2Console/blob/HEAD/src/Tests/Test/MsmqAppender.cs | ghcode:00168:5a98c51e2743 | bsd-3-clause | codeparrot/github-code | 5a98c51e27436f91207bab923a9951dad1ab1c573a72ecdf4f35430d40271738 | 0.95 | testing_debugging_repair_refactoring | 641 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Build.Utilities;
using Microsoft.Build.Framework;
using Microsoft.Build.Shared;
using... | Microsoft/msbuild | src/Tasks.UnitTests/FindInList_Tests.cs | https://github.com/Microsoft/msbuild/blob/HEAD/src/Tasks.UnitTests/FindInList_Tests.cs | ghcode:00168:0325d11f5ad6 | mit | codeparrot/github-code | 0325d11f5ad6a61b4c2cb386ea41e574036fa74f5df17ba7cce312f75051fb62 | 0.85 | testing_debugging_repair_refactoring | 1,123 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using ZeroMQ;
namespace Examples
{
static partial class Program
{
public static void WUServer(string[] args)
{
//
// Weather update server
// Binds PUB socket to tcp://*:5556... | soscpd/bee | root/tests/zguide/examples/C#/wuserver.cs | https://github.com/soscpd/bee/blob/HEAD/root/tests/zguide/examples/C#/wuserver.cs | ghcode:00168:e4378235b3ab | mit | codeparrot/github-code | e4378235b3ab2022fe689489d6205cb552f5b39fb51d66b5719736c15a632059 | 0.95 | testing_debugging_repair_refactoring | 389 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbol... | AArnott/roslyn | src/Compilers/CSharp/Portable/Binder/Semantics/OverloadResolution/OverloadResolution.cs | https://github.com/AArnott/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/Semantics/OverloadResolution/OverloadResolution.cs | ghcode:00168:80d620c7dfd7 | apache-2.0 | codeparrot/github-code | 80d620c7dfd715429c0e0eab167b8783e35d44ce987359aedcf8ee7f92cdaacf | 0.72 | testing_debugging_repair_refactoring | 26,778 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
namespace ExpressMapper.Tests.Projections.ViewModel
{
public class FullCatalogueGroupViewModel
{
public Guid Id { get; set; }
public string Name { get; set; }
public IEnumerable<FullCatalogueViewModel> Catalogues { get; set; }
}
}
| bo-stig-christensen/ExpressMapper | ExpressMapper.Tests.Projections/ViewModel/FullCatalogueGroupViewModel.cs | https://github.com/bo-stig-christensen/ExpressMapper/blob/HEAD/ExpressMapper.Tests.Projections/ViewModel/FullCatalogueGroupViewModel.cs | ghcode:00168:595f10c6d17e | apache-2.0 | codeparrot/github-code | 595f10c6d17e7106fc4ac17953b1c5eae053a1a999a6d7445de03ef50d7cd2a5 | 0.75 | testing_debugging_repair_refactoring | 68 | 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 Microsoft.Protocols.TestSuites.FileSharing.Common.Adapter;
using Microsoft.Protocols.TestTools;
using Microsoft.Protocols.TestTools.StackSdk;
using Microsoft.Prot... | dongruiqing/WindowsProtocolTestSuites | TestSuites/FileServer/src/Auth/TestSuite/Authentication/KerberosAuthentication/KerberosAuthentication.cs | https://github.com/dongruiqing/WindowsProtocolTestSuites/blob/HEAD/TestSuites/FileServer/src/Auth/TestSuite/Authentication/KerberosAuthentication/KerberosAuthentication.cs | ghcode:00168:8c1ab2768616 | mit | codeparrot/github-code | 8c1ab276861690a7e3e37728367d21f48be2da803de44d65734350899356830b | 0.95 | testing_debugging_repair_refactoring | 8,228 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// <copyright file="OutputScopeManager.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" prim... | esdrubal/referencesource | System.Data.SqlXml/System/Xml/Xsl/XsltOld/OutputScopeManager.cs | https://github.com/esdrubal/referencesource/blob/HEAD/System.Data.SqlXml/System/Xml/Xsl/XsltOld/OutputScopeManager.cs | ghcode:00168:97d2e1c864c8 | mit | codeparrot/github-code | 97d2e1c864c8ec2c3a11a6e2b8d6a5af5d01c13155c6ba732f0fe2928cb17443 | 0.7 | testing_debugging_repair_refactoring | 1,187 | 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 Microsoft.Build.Tasks;
using Microsoft.Build.Evaluation;
using System.Globalization;
using Xunit;
namespace Microsoft.Build.UnitTests
{
/*
* Class: As... | cdmihai/msbuild | src/Tasks.UnitTests/AspNetCompiler_Tests.cs | https://github.com/cdmihai/msbuild/blob/HEAD/src/Tasks.UnitTests/AspNetCompiler_Tests.cs | ghcode:00168:767529e9613e | mit | codeparrot/github-code | 767529e9613e8e4f3234df0f7070312f81b377805ead0a1c1899429635aa0872 | 0.85 | testing_debugging_repair_refactoring | 2,263 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="ExpandAndSelectPathExtractingTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//------------------... | hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataOData/Tests/OData.Query.TDD.Tests/ExpandAndSelectPathExtractingTests.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Tests/OData.Query.TDD.Tests/ExpandAndSelectPathExtractingTests.cs | ghcode:00168:1abb81303a5d | mit | codeparrot/github-code | 1abb81303a5d301d89f784992b84e924ae91f9660092177efafee603a25668ab | 0.95 | testing_debugging_repair_refactoring | 2,683 | false | 2026-07-17 |
using System.Collections.Generic;
using Xunit;
namespace System.Linq.Tests
{
public class SumTests
{
#region SourceIsNull - ArgumentNullExceptionThrown
[Fact]
public void SumOfInt_SourceIsNull_ArgumentNullExceptionThrown()
{
IEnumerable<int> sourceInt = null;
... | shiftkey-tester/corefx | src/System.Linq/tests/SumTests.cs | https://github.com/shiftkey-tester/corefx/blob/HEAD/src/System.Linq/tests/SumTests.cs | ghcode:00168:98610e63d319 | mit | codeparrot/github-code | 98610e63d319aef2297a17790758f09c073d45d4268c6c4b7d643eafda78c184 | 0.85 | testing_debugging_repair_refactoring | 3,349 | false | 2026-07-17 |
// ****************************************************************
// Copyright 2008, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org
// ****************************************************************
using System;
namespace NUnit.... | acken/AutoTest.Net | lib/NUnit/src/NUnit-2.5.9.10348/src/NUnitFramework/framework/Attributes/TestCaseSourceAttribute.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.5.9.10348/src/NUnitFramework/framework/Attributes/TestCaseSourceAttribute.cs | ghcode:00168:535bca606b26 | mit | codeparrot/github-code | 535bca606b26813c5fc00196e6bae13ddbe2ed49ed6d8f94357775e23ea290f4 | 0.95 | testing_debugging_repair_refactoring | 409 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Roslyn.Utilities;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
namespace Microsoft.CodeAnalysis.CSh... | MatthieuMEZIL/roslyn | src/Compilers/CSharp/Portable/Symbols/MethodSymbolExtensions.cs | https://github.com/MatthieuMEZIL/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/MethodSymbolExtensions.cs | ghcode:00168:956e498c2b18 | apache-2.0 | codeparrot/github-code | 956e498c2b18a0670c77cf508a11cc9a919d720b5f7673d9a660672f9eda4d52 | 0.85 | testing_debugging_repair_refactoring | 2,468 | 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.Diagnostics.Tracing;
using Xunit;
namespace BasicEven... | BrennanConroy/corefx | src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsUserErrors.Etw.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsUserErrors.Etw.cs | ghcode:00168:02f6197befb4 | mit | codeparrot/github-code | 02f6197befb4a19cfa9d8235c90955495456073ca5029dae83930545f092162c | 0.95 | testing_debugging_repair_refactoring | 425 | false | 2026-07-17 |
using Elasticsearch.Net;
using NUnit.Framework;
using Nest.Tests.MockData.Domain;
using System.Collections.Generic;
namespace Nest.Tests.Unit.Search.Suggest
{
[TestFixture]
public class PhraseSuggestTests : BaseJsonTests
{
[Test]
public void PhraseSuggestDescriptorTest()
{
var phraseSuggestDescri... | amyzheng424/elasticsearch-net | src/Tests/Nest.Tests.Unit/Search/suggest/PhraseSuggestTests.cs | https://github.com/amyzheng424/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Unit/Search/suggest/PhraseSuggestTests.cs | ghcode:00168:beda8d1ef683 | apache-2.0 | codeparrot/github-code | beda8d1ef6830048b379c6f2d6cbe1083be47717fc1ce105a49ef16f729b5abc | 0.85 | testing_debugging_repair_refactoring | 967 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Elasticsearch.Net.Integration.Yaml.CatAliases1
{
public partial class CatAliases1YamlTests
{
[NCrunch.Framework.ExclusivelyU... | amyzheng424/elasticsearch-net | src/Tests/Elasticsearch.Net.Integration.Yaml/cat.aliases/10_basic.yaml.cs | https://github.com/amyzheng424/elasticsearch-net/blob/HEAD/src/Tests/Elasticsearch.Net.Integration.Yaml/cat.aliases/10_basic.yaml.cs | ghcode:00168:981ae727f315 | apache-2.0 | codeparrot/github-code | 981ae727f315858ee3dc0e0ff7a2200eaed846d618183765073035bc829ee58e | 0.95 | testing_debugging_repair_refactoring | 1,569 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
using Xunit;
namespace System.Globalization.CalendarsTests
{
//System.Globalization.KoreanCalendar.IsLeapYear(System.Int3... | vs-team/corefx | src/System.Globalization.Calendars/tests/KoreanCalendar/KoreanCalendarIsLeapYear.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Globalization.Calendars/tests/KoreanCalendar/KoreanCalendarIsLeapYear.cs | ghcode:00168:9742aa1a42c3 | mit | codeparrot/github-code | 9742aa1a42c3b67befc2bd17760f5d11b8c68a484283aa3244fd598b76910883 | 0.95 | testing_debugging_repair_refactoring | 1,306 | false | 2026-07-17 |
using NUnit.Framework;
namespace ProjectEuler.Test
{
[TestFixture]
public class LargestPrimeFactorTests
{
[TestCase(13195, Result = 29)]
[TestCase(6, Result = 3)]
[TestCase(4, Result = 2)]
[TestCase(2, Result = 2)]
[TestCase(1, Result = 1)]
public long Sho... | tumivn/project-euler-csharp | ProjectEuler/ProjectEuler.Test/LargestPrimeFactorTests.cs | https://github.com/tumivn/project-euler-csharp/blob/HEAD/ProjectEuler/ProjectEuler.Test/LargestPrimeFactorTests.cs | ghcode:00168:74f48c0ff3df | mit | codeparrot/github-code | 74f48c0ff3df0bdeeed4efb24ecc48549d48ff0b07c9655012e8799d822724c8 | 0.75 | testing_debugging_repair_refactoring | 112 | false | 2026-07-17 |
using SendOwl.Endpoints;
using SendOwl.Model;
using Shouldly;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace SendOwl.Test
{
public class BundleIntegrationTest : IClassFixture<APIClientFixture>
{
private const string TestBundleNam... | challengerdeep/sendowl-dotnet | src/SendOwl.Test/BundleIntegrationTest.cs | https://github.com/challengerdeep/sendowl-dotnet/blob/HEAD/src/SendOwl.Test/BundleIntegrationTest.cs | ghcode:00168:95647efa3e52 | mit | codeparrot/github-code | 95647efa3e52f07b0a6602eaabf24f25f9495df1db9bb1e7bb284df37c0a2984 | 0.75 | testing_debugging_repair_refactoring | 782 | false | 2026-07-17 |
using Microsoft.CSharp.RuntimeBinder;
using NUnit.Framework;
namespace Resourceful.Test.Acceptance
{
[TestFixture]
public class MappingTransformations
{
[Test]
public void OmitAProperty()
{
ResourceMapper.CreateMapping<Thing>("/things/{Id}")
.OmitProperty("OtherId");
dynamic result = new Thi... | AaronTorgerson/Resourceful | src/Resourceful.Test/Acceptance/MappingTransformations.cs | https://github.com/AaronTorgerson/Resourceful/blob/HEAD/src/Resourceful.Test/Acceptance/MappingTransformations.cs | ghcode:00168:a22a4199f372 | mit | codeparrot/github-code | a22a4199f3724af5e6eb2f064daa5e830ca54b5321a7cbbdc4aca1c2bb649d7a | 0.6 | testing_debugging_repair_refactoring | 400 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.