text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pliant.Automata;
using Pliant.Builders.Expressions;
using Pliant.Collections;
using Pliant.Grammars;
using Pliant.LexerRules;
using Pliant.Languages.Regex;
using Pliant.Tests.Common.Grammars;
namespace Pliant.Tests.Unit.Grammars
{
[TestClass]
public cl... | patrickhuber/Pliant | tests/Pliant.Tests.Unit/Grammars/PreComputedGrammarTests.cs | https://github.com/patrickhuber/Pliant/blob/HEAD/tests/Pliant.Tests.Unit/Grammars/PreComputedGrammarTests.cs | ghcode:00000:8a53f9dc4757 | mit | codeparrot/github-code | 8a53f9dc4757e0b495bb2acfcbe1af13fa6d989c58c3c6ecf4b19d2eb18e2346 | 0.75 | testing_debugging_repair_refactoring | 987 | false | 2026-07-17 |
// ***********************************************************************************
// Created by zbw911
// 创建于:2014年02月13日 11:41
//
// 修改于:2014年02月13日 17:00
// 文件名:Dev.KeywordExtract/Dev.KeywordExtract.Test/UnitTestDefaultParser.cs
//
// 如果有更好的建议或意见请邮件至 zbw911#gmail.com
// ***********************... | zbw911/KeywordExtract | Src/Dev.KeywordExtract.Test/UnitTestDefaultParser.cs | https://github.com/zbw911/KeywordExtract/blob/HEAD/Src/Dev.KeywordExtract.Test/UnitTestDefaultParser.cs | ghcode:00000:86858d1e64c4 | mit | codeparrot/github-code | 86858d1e64c4b43f0f21aac86078022725f9fd888227007f812512879a40ae43 | 0.7 | testing_debugging_repair_refactoring | 613 | false | 2026-07-17 |
using System;
using System.Linq;
using Contentful.Core.Models;
using FluentAssertions;
using Moq;
using StockportContentApi.ContentfulFactories;
using StockportContentApi.ContentfulModels;
using StockportContentApi.Model;
using StockportContentApiTests.Unit.Builders;
using Xunit;
using System.Collections.Generic;
usin... | smbc-digital/iag-contentapi | test/StockportContentApiTests/Unit/ContentfulFactories/EventContentfulFactoryTest.cs | https://github.com/smbc-digital/iag-contentapi/blob/HEAD/test/StockportContentApiTests/Unit/ContentfulFactories/EventContentfulFactoryTest.cs | ghcode:00000:38c95dc0b14f | mit | codeparrot/github-code | 38c95dc0b14fe418c4fb7df1184873cbf98de229a01a968a5e140db1633d0490 | 0.6 | testing_debugging_repair_refactoring | 753 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Extensions;
using SFA.DAS.CommitmentsV2.Types;
using PaymentStatus = SFA.DAS.CommitmentsV2.Types.PaymentStatus;
namespace SFA.DAS.CommitmentsV2.UnitTests.Models.Apprenticeship
{
[TestFixture]
[Parallelizable]
public class WhenStatusIsDeterm... | SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Models/Apprenticeship/WhenStatusIsDetermined.cs | https://github.com/SkillsFundingAgency/das-commitments/blob/HEAD/src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Models/Apprenticeship/WhenStatusIsDetermined.cs | ghcode:00000:c09157590c2f | mit | codeparrot/github-code | c09157590c2f96d2afbc99319f8cea3dfe4d59e1c42a261a09cd7725ca37532c | 0.6 | testing_debugging_repair_refactoring | 769 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Xunit;
namespace RimDev.Automation.StorageEmulator.Tests
{
public class AzureStorageEmulatorAutomationTests : IClassFixture<StopAzureStorageEmulatorFixture>
{
private readonly AzureStorageEmulatorAutomation storageEm;
public AzureStorageEmulat... | ritterim/automation-storage-emulator | tests/Core.Tests/AzureStorageEmulatorAutomationTests.cs | https://github.com/ritterim/automation-storage-emulator/blob/HEAD/tests/Core.Tests/AzureStorageEmulatorAutomationTests.cs | ghcode:00000:85edf26e9087 | mit | codeparrot/github-code | 85edf26e9087557a14504336551ce70038c01c9628c0594fa2cd43a3b7e82063 | 0.75 | testing_debugging_repair_refactoring | 1,240 | false | 2026-07-17 |
namespace NServiceBus.AcceptanceTests.Basic
{
using System;
using NServiceBus.AcceptanceTesting;
using NServiceBus.AcceptanceTests.EndpointTemplates;
using NUnit.Framework;
public class When_TimeToBeReceived_has_expired : NServiceBusAcceptanceTest
{
[Test]
public void... | s4lvo/NServiceBus.MongoDB | src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.5.2.5/Basic/When_TimeToBeReceived_has_expired.cs | https://github.com/s4lvo/NServiceBus.MongoDB/blob/HEAD/src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.5.2.5/Basic/When_TimeToBeReceived_has_expired.cs | ghcode:00000:0f4a58d1bf04 | mit | codeparrot/github-code | 0f4a58d1bf04aa13fed631aa764759dbcf816f63133641deda7b7c1f2a03a90d | 0.6 | testing_debugging_repair_refactoring | 276 | false | 2026-07-17 |
using System;
using System.Linq;
using AppKit;
using Foundation;
using Plugin.Geolocator;
namespace GeolocatorTests.Mac
{
public partial class ViewController : NSViewController
{
public ViewController(IntPtr handle) : base(handle)
{
}
public override void ViewDidLoad()
... | jamesmontemagno/GeolocatorPlugin | src/Tests/GeolocatorTests.Mac/ViewController.cs | https://github.com/jamesmontemagno/GeolocatorPlugin/blob/HEAD/src/Tests/GeolocatorTests.Mac/ViewController.cs | ghcode:00000:a52b277860cd | mit | codeparrot/github-code | a52b277860cd055e3a94e4afe89176fc23663be4b163933199927aa44f6f4984 | 0.85 | testing_debugging_repair_refactoring | 528 | false | 2026-07-17 |
// 32feet.NET - Personal Area Networking for .NET
//
// InTheHand.Net.BluetoothAddress
//
// Copyright (c) 2003-2010 In The Hand Ltd, All rights reserved.
// This source code is licensed under the MIT License
using System;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Diagnostics;
n... | inthehand/32feet | Legacy/InTheHand.Net.Personal/Net/BluetoothAddress.cs | https://github.com/inthehand/32feet/blob/HEAD/Legacy/InTheHand.Net.Personal/Net/BluetoothAddress.cs | ghcode:00000:bd3f76d8ce8d | mit | codeparrot/github-code | bd3f76d8ce8d5cb7400cd4fe1bbaaeee2aaa1932da84ebc29f20d9a7caff0adf | 0.7 | testing_debugging_repair_refactoring | 5,722 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
publi... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1642CSharp10UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1642CSharp10UnitTests.cs | ghcode:00000:817d8259a66d | mit | codeparrot/github-code | 817d8259a66d758d57b018dcbd305a1bbd209907d49c02c332004b0035c87851 | 0.75 | testing_debugging_repair_refactoring | 98 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using NUnit.Framework;
using Umbraco.Core.Services;
namespace Umbraco.Tests.Services
{
[TestFixture]
public class LocalizedTextServiceTests
... | markoliver288/Umbraco-CMS | src/Umbraco.Tests/Services/LocalizedTextServiceTests.cs | https://github.com/markoliver288/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Services/LocalizedTextServiceTests.cs | ghcode:00000:3b47f9c668d3 | mit | codeparrot/github-code | 3b47f9c668d3e95431e7f6efd1c4cc7730cf250cd152b8ac380d936b2f0da4e5 | 0.75 | testing_debugging_repair_refactoring | 2,759 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SelectExpressionFactoryTests.cs" company="Reimers.dk">
// Copyright © Reimers.dk 2014
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://... | daveh551/Highway.Data | Highway/test/Highway.Data.Tests/OData/SelectExpressionFactoryTests.cs | https://github.com/daveh551/Highway.Data/blob/HEAD/Highway/test/Highway.Data.Tests/OData/SelectExpressionFactoryTests.cs | ghcode:00000:65177f4d1b9d | mit | codeparrot/github-code | 65177f4d1b9dcb8ac3054ae02574b04fafe9066d0a1291731994a3974bcdd72b | 0.95 | testing_debugging_repair_refactoring | 349 | false | 2026-07-17 |
// MD5Test.cs - NUnit Test Cases for System.Security.Cryptography.MD5
//
// Eduardo Garcia Cebollero (kiwnix@yahoo.es)
//
// (C) Eduardo Garcia Cebollero.
// (C) Ximian, Inc. http://www.ximian.com
using NUnit.Framework;
using System;
using System.Security.Cryptography;
namespace MonoTests.System.Security.Cryptogr... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Security.Cryptography/MD5Test.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Security.Cryptography/MD5Test.cs | ghcode:00000:3e7956b570a6 | mit | codeparrot/github-code | 3e7956b570a6a06fcc998dd9f4cd868a6674f05c96e151056d1cd238fbbf0746 | 0.95 | testing_debugging_repair_refactoring | 558 | false | 2026-07-17 |
using System.Diagnostics;
namespace LifXNet
{
/// <summary>
/// Abstract class representing a LifX Device. Note that LifX currently only produces lights.
/// </summary>
public abstract class Device
{
/// <summary>
/// Gets a reference to the NetworkManager that handles network comm... | solari23/LifX-Net | src/LifXNet/Device.cs | https://github.com/solari23/LifX-Net/blob/HEAD/src/LifXNet/Device.cs | ghcode:00000:f81329f4e26b | mit | codeparrot/github-code | f81329f4e26be473dabb3ebd7743c73a5728201c52278a5d194ba170bba247ad | 0.7 | testing_debugging_repair_refactoring | 184 | false | 2026-07-17 |
using SpecDrill;
using SpecDrill.Secondary.Ports.AutomationFramework;
namespace SomeTests.PageObjects.Test000
{
public class Test000GatewayPage : WebPage
{
[Find(By.Id, "portal")]
public IFrameElement<Test000LoginPage> FrmPortal;// { get; private set; }
[Find(By.Id, "gwText")]
... | CosminSontu/SpecDrill | SpecDrill.Tests/PageObjects/Test000/Test000GatewayPage.cs | https://github.com/CosminSontu/SpecDrill/blob/HEAD/SpecDrill.Tests/PageObjects/Test000/Test000GatewayPage.cs | ghcode:00000:79b3c08d47b0 | mit | codeparrot/github-code | 79b3c08d47b0b7bf6612ca801bec004a58a5cc749d27f2ae29f9f5d37e7062a4 | 0.85 | testing_debugging_repair_refactoring | 201 | false | 2026-07-17 |
using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
using Newtonsoft.Json;
namespace Nett.Tests.Performance.Benchmarks
{
[ShortRunJob()]
[MarkdownExporter]
public class ReadTomlStringBenchmark
{
private string InputToml;
private string InputJson;
[GlobalSetup]
... | paiden/Nett | Test/Nett.Tests.Performance/Benchmarks/ReadTomlStringBenchmark.cs | https://github.com/paiden/Nett/blob/HEAD/Test/Nett.Tests.Performance/Benchmarks/ReadTomlStringBenchmark.cs | ghcode:00000:2bd8a6895218 | mit | codeparrot/github-code | 2bd8a6895218b2ecce9e4f5804dabeff5d2bf3899686364671e26f8d46fe52a7 | 0.75 | testing_debugging_repair_refactoring | 456 | false | 2026-07-17 |
using Reusable.Collections.Generators;
using Reusable.Deception;
using Reusable.Deception.Abstractions;
using Reusable.Deception.Triggers;
using Reusable.Exceptionize;
using Xunit;
namespace Reusable.Tests.XUnit.Deception
{
public class PhantomExceptionTest
{
private static readonly IPhantomException P... | he-dev/Reusable | Reusable.Tests.XUnit/src/Deception/PhantomExceptionTest.cs | https://github.com/he-dev/Reusable/blob/HEAD/Reusable.Tests.XUnit/src/Deception/PhantomExceptionTest.cs | ghcode:00000:78169b19a205 | mit | codeparrot/github-code | 78169b19a205546febc4085e1dcfd1b463fc462ad9f7ec0e9646897f84a83163 | 0.85 | testing_debugging_repair_refactoring | 413 | false | 2026-07-17 |
using NQuery.Symbols;
namespace NQuery.Tests
{
public partial class ExpressionTests
{
private static object EvaluateUnary(string op, Type argumentType, object argument)
{
var variable = new VariableSymbol("arg", argumentType, argument);
var dataContext = DataContext.Def... | terrajobst/nquery-vnext | src/NQuery.Tests/ExpressionTests.Operators.Unary.cs | https://github.com/terrajobst/nquery-vnext/blob/HEAD/src/NQuery.Tests/ExpressionTests.Operators.Unary.cs | ghcode:00000:ed1dde583fe1 | mit | codeparrot/github-code | ed1dde583fe18b2dac3e55efe7d162c1ac0ef18d3e4479b9aeb96f2dc4127bd2 | 0.7 | testing_debugging_repair_refactoring | 975 | false | 2026-07-17 |
namespace RubySharp.Core.Tests.Language
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RubySharp.Core.Language;
[TestClass]
public class FloatClassTests
{
private ... | ajlopez/RubySharp | Src/RubySharp.Core.Tests/Language/FloatClassTests.cs | https://github.com/ajlopez/RubySharp/blob/HEAD/Src/RubySharp.Core.Tests/Language/FloatClassTests.cs | ghcode:00000:277b7e527d90 | mit | codeparrot/github-code | 277b7e527d90b44b31020af3c270043f3cca8994071d550a58045c16716f6e8f | 0.75 | testing_debugging_repair_refactoring | 187 | false | 2026-07-17 |
using System;
using DotNet.Basics.Sys;
using DotNet.Basics.IO;
using FluentAssertions;
using Newtonsoft.Json;
using Xunit;
namespace DotNet.Basics.Tests.Sys
{
public class DirPathTests
{
private const string _path = "c:/mypath";
private const string _segment = "segment";
... | rzmoz/DotNet.Basics | DotNet.Basics.Tests/Sys/DirPathTests.cs | https://github.com/rzmoz/DotNet.Basics/blob/HEAD/DotNet.Basics.Tests/Sys/DirPathTests.cs | ghcode:00000:98c7aaf6b978 | mit | codeparrot/github-code | 98c7aaf6b97833be04d9b4c7dc284158cc73053f143e93b179b0cce4eaa4be31 | 0.85 | testing_debugging_repair_refactoring | 754 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Zenject;
using NUnit.Framework;
using System.Linq;
using ModestTree;
using Assert=ModestTree.Assert;
namespace Zenject.Tests.Conditions
{
[TestFixture]
public class TestConditionsIdentifier : ZenjectUnitTestFixture
{
class Test0
{
... | skahal/Buildron-Classic-Mods | src/Solution/Zenject/OptionalExtras/UnitTests/Editor/Conditions/TestConditionsIdentifier.cs | https://github.com/skahal/Buildron-Classic-Mods/blob/HEAD/src/Solution/Zenject/OptionalExtras/UnitTests/Editor/Conditions/TestConditionsIdentifier.cs | ghcode:00000:f9afece2c558 | mit | codeparrot/github-code | f9afece2c558d44fc5d6b3232a19c83c567f5bc9b4d8ce347d972d1ddb4abb61 | 0.75 | testing_debugging_repair_refactoring | 885 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// Copyright (c) Lead Pipe Software. All rights reserved.
// Licensed under the MIT License. Please see the LICENSE file in the project root for full license information.
// --------------------------... | LeadPipeSoftware/LeadPipe.Net | src/LeadPipe.Net.Tests/StringExtensionsTests/ToFriendlyNameShould.cs | https://github.com/LeadPipeSoftware/LeadPipe.Net/blob/HEAD/src/LeadPipe.Net.Tests/StringExtensionsTests/ToFriendlyNameShould.cs | ghcode:00000:b5dabd4f77eb | mit | codeparrot/github-code | b5dabd4f77eb382530061e5fe49f8dafb15b89327f8ef5802cd75460655a3ca7 | 0.7 | testing_debugging_repair_refactoring | 220 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Titanium.Test.EvaluateTests
{
[TestClass]
public class ImpliedMultiplicationTests
{
[TestMethod]
public void OperatorParenthesesOperator()
{
Common.EvaluateAndAssert("2(3)", "6");
}
[TestMethod]
public void ParenthesesOpera... | andrewsarnold/Titanium | Titanium.Test/EvaluateTests/ImpliedMultiplicationTests.cs | https://github.com/andrewsarnold/Titanium/blob/HEAD/Titanium.Test/EvaluateTests/ImpliedMultiplicationTests.cs | ghcode:00000:3791f0da7b88 | mit | codeparrot/github-code | 3791f0da7b8803772e371211b17c79849588a6ad8422e9e231068dee6c832bf6 | 0.75 | testing_debugging_repair_refactoring | 196 | false | 2026-07-17 |
// <copyright file="When_Unflattening_MemberNames_To_MemberInfos.cs" company="million miles per hour ltd">
// Copyright (c) 2013-2014 All Right Reserved
//
// This source is subject to the MIT License.
// Please see the License.txt file for more information.
// All other rights reserved.
//
// THIS CODE AND INFORMATI... | DanHarman/KodeKandy | Source/Core.Tests/ExpressionHelpersTests/When_Unflattening_MemberNames_To_MemberInfos.cs | https://github.com/DanHarman/KodeKandy/blob/HEAD/Source/Core.Tests/ExpressionHelpersTests/When_Unflattening_MemberNames_To_MemberInfos.cs | ghcode:00000:fbd54095001d | mit | codeparrot/github-code | fbd54095001df97fec38a7d0dae4e8f11b9ab9daffd6c02148f994951b34b4e8 | 0.7 | testing_debugging_repair_refactoring | 637 | false | 2026-07-17 |
#region LGPL License
/*
Axiom Game Engine Library
Copyright (C) 2003 Axiom Project Team
The overall design, and a majority of the core engine and rendering code
contained within this library is a derivative of the open source Object Oriented
Graphics Engine OGRE, which can be found at http://ogre.sourceforge.net. ... | longde123/MultiversePlatform | axiom/Engine/Graphics/HardwareBufferManager.cs | https://github.com/longde123/MultiversePlatform/blob/HEAD/axiom/Engine/Graphics/HardwareBufferManager.cs | ghcode:00000:0694fc3183f7 | mit | codeparrot/github-code | 0694fc3183f70ed0815504f159e8bdd31e32109d06159a4f7c1473f2a6e6a52f | 0.7 | testing_debugging_repair_refactoring | 5,236 | false | 2026-07-17 |
using System;
using Wilcommerce.Catalog.Events.Product;
using Xunit;
namespace Wilcommerce.Catalog.Test.Events.Product
{
public class ProductAttributeRemovedEventTest
{
[Fact]
public void ProductAttributeRemovedEvent_Ctor_Should_Set_Arguments_Correctly()
{
Guid productId = ... | wilcommerce/Wilcommerce.Catalog | Wilcommerce.Catalog.Test/Events/Product/ProductAttributeRemovedEventTest.cs | https://github.com/wilcommerce/Wilcommerce.Catalog/blob/HEAD/Wilcommerce.Catalog.Test/Events/Product/ProductAttributeRemovedEventTest.cs | ghcode:00000:e47a8e91ee14 | mit | codeparrot/github-code | e47a8e91ee14ed3627fa54e43cfe288195e8b6ab587db71f5adba76c73af5ffb | 0.6 | testing_debugging_repair_refactoring | 141 | false | 2026-07-17 |
namespace AjSharpure.Tests
{
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using AjSharpure;
using AjSharpure.Compiler;
using AjSharpure.Expressions;
using AjSharpure.Language;
using Microsoft.Visua... | ajlopez/AjSharpure | Src/AjSharpure.Tests/MachineTests.cs | https://github.com/ajlopez/AjSharpure/blob/HEAD/Src/AjSharpure.Tests/MachineTests.cs | ghcode:00000:92aec6b3b12b | mit | codeparrot/github-code | 92aec6b3b12bdf5650f7cd9e98e0f5e7a950129ddfbb1d389f099a3165a472e9 | 0.75 | testing_debugging_repair_refactoring | 9,526 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Requests.Base
{
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Traits;
using TraktApiSharp.Requests.Base;
using TraktApiSharp.Requests.Interfaces... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Requests/Base/APutRequest'1_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Requests/Base/APutRequest'1_Tests.cs | ghcode:00000:1c55557d5bbd | mit | codeparrot/github-code | 1c55557d5bbde10f256cc4c9855e9de2451691a22b86141cc0c42a367908fca6 | 0.85 | testing_debugging_repair_refactoring | 361 | false | 2026-07-17 |
using FluentAssertions;
using Jaco.Notes;
using Xunit;
namespace JacoTests.Notes
{
public class NoteShould
{
public static TheoryData<Note, string> NoteNames
=> new TheoryData<Note, string>
{
{Note.C, "C"},
{Note.CSharp, "C#"},
{N... | pedromsantos/Jaco | JacoTests/Notes/NoteShould.cs | https://github.com/pedromsantos/Jaco/blob/HEAD/JacoTests/Notes/NoteShould.cs | ghcode:00000:215c10e66aef | mit | codeparrot/github-code | 215c10e66aefa58960d4c5071d27bc982b06a25fb7adfa80cc97ce18a2b49e74 | 0.6 | testing_debugging_repair_refactoring | 1,439 | false | 2026-07-17 |
namespace Basic.Tests.Statements
{
using System.Linq;
using Basic.Runtime;
using Basic.Runtime.Statements;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class ListTests : BaseTests
{
[TestMethod]
public void Execute_OfList_PrintsIncludedLines()
... | markshevchenko/learningbasic | Basic.Tests/RunTime/Statements/ListTests.cs | https://github.com/markshevchenko/learningbasic/blob/HEAD/Basic.Tests/RunTime/Statements/ListTests.cs | ghcode:00000:4ffb3f7e9bc2 | unlicense | codeparrot/github-code | 4ffb3f7e9bc2f490c834d32511d9065cd1f2311d5a404a5867ee0296c6135cca | 0.68 | testing_debugging_repair_refactoring | 268 | false | 2026-07-17 |
// <copyright file="PrintStatements.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
namespace GWBas2CS.Test
{
using FluentAssertions;
using Xunit;
public sealed class PrintStatements
{
[Fact]
public void Empty()
{
cons... | brian-dot-net/writeasync | projects/AdventureSample/test/GWBas2CS.Test/PrintStatements.cs | https://github.com/brian-dot-net/writeasync/blob/HEAD/projects/AdventureSample/test/GWBas2CS.Test/PrintStatements.cs | ghcode:00000:0c07d4438be6 | unlicense | codeparrot/github-code | 0c07d4438be6b2e32443a978128e9631d5c68a69f79d85503148837d39ffdb61 | 0.88 | testing_debugging_repair_refactoring | 590 | false | 2026-07-17 |
using IronText.Algorithm;
using NUnit.Framework;
namespace IronText.Tests.Algorithm
{
[TestFixture]
public class UnicodeIntSetTypeTest
{
UnicodeIntSetType Unicode = UnicodeIntSetType.Instance;
UnicodeIntSetType Ascii = UnicodeIntSetType.Instance;
[Test]
public void digit_s... | sucaba/IronTextLibrary | Src/IronText.Core.Tests/Algorithm/UnicodeIntSetTypeTest.cs | https://github.com/sucaba/IronTextLibrary/blob/HEAD/Src/IronText.Core.Tests/Algorithm/UnicodeIntSetTypeTest.cs | ghcode:00000:7bd31d245456 | apache-2.0 | codeparrot/github-code | 7bd31d2454564572c97196830c75fe505a78d2dfe0ade4bf92e330a47473db67 | 0.6 | testing_debugging_repair_refactoring | 322 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using TSQL;
namespace Tests
{
public class CharactersTests
{
[Test]
public void Characters_InTrue()
{
Assert.IsTrue(TSQLCharacters.Comma.In(
TSQLCharacters.Comma,... | bruce-dunwiddie/tsql-parser | TSQL_Parser/Tests/CharactersTests.cs | https://github.com/bruce-dunwiddie/tsql-parser/blob/HEAD/TSQL_Parser/Tests/CharactersTests.cs | ghcode:00000:9eda619cadc2 | apache-2.0 | codeparrot/github-code | 9eda619cadc25001a33b8731aab494d2c407684f4e3c439f73b76857ac848ae9 | 0.85 | testing_debugging_repair_refactoring | 399 | 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.
#nullable disable
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
namespace Microsoft.AspNetCore.Routing.Tree
{
internal struct TreeEnumer... | aspnet/AspNetCore | src/Http/Routing/src/Tree/TreeEnumerator.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Http/Routing/src/Tree/TreeEnumerator.cs | ghcode:00000:b1bf23cd9c94 | apache-2.0 | codeparrot/github-code | b1bf23cd9c948b5821e5e78e82393c5d132e980880d86fb05fceb9de5aee9356 | 0.95 | testing_debugging_repair_refactoring | 597 | false | 2026-07-17 |
// [[[[INFO>
// Copyright 2015 Epicycle (http://epicycle.org, https://github.com/open-epicycle)
//
// 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... | open-epicycle/Epicycle.Commons-cs | projects/Epicycle.Commons_cs-Test/Collections/ReadOnlyListWrapperTest.cs | https://github.com/open-epicycle/Epicycle.Commons-cs/blob/HEAD/projects/Epicycle.Commons_cs-Test/Collections/ReadOnlyListWrapperTest.cs | ghcode:00000:2c51718fece1 | apache-2.0 | codeparrot/github-code | 2c51718fece1c4941579da3e8a3b90644424fdb8eb9b5d29f541b785f42ea068 | 0.7 | testing_debugging_repair_refactoring | 747 | false | 2026-07-17 |
using Lucene.Net.Store;
using Lucene.Net.Support;
using System;
using System.Diagnostics;
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 addit... | NikolayXHD/Lucene.Net.Contrib | Lucene.Net/Util/Packed/MonotonicBlockPackedReader.cs | https://github.com/NikolayXHD/Lucene.Net.Contrib/blob/HEAD/Lucene.Net/Util/Packed/MonotonicBlockPackedReader.cs | ghcode:00000:61651453a851 | apache-2.0 | codeparrot/github-code | 61651453a85160c42eb9f4cb2e3e5906cf15d700b9de4f74493194a3fcf79d73 | 0.7 | testing_debugging_repair_refactoring | 1,038 | false | 2026-07-17 |
using Okra.Routing;
using Xunit;
namespace Okra.Tests.Routing
{
public class ViewInfoFixture
{
[Fact]
public void Constructor_SetsView()
{
var view = new object();
var viewInfo = new ViewInfo(view);
Assert.Equal(view, viewInfo.View);
Asse... | OkraFramework/Okra.Core | test/Okra.Core.Tests/Routing/ViewInfoFixture.cs | https://github.com/OkraFramework/Okra.Core/blob/HEAD/test/Okra.Core.Tests/Routing/ViewInfoFixture.cs | ghcode:00000:d6485ad9877a | apache-2.0 | codeparrot/github-code | d6485ad9877a09651256e9bf3f6daa1765f53efa904a2cda169e54af6aff4b41 | 0.6 | testing_debugging_repair_refactoring | 276 | false | 2026-07-17 |
// ${KIND:Unity.EventFunctions}
using UnityEngine;
class A : StateMachineBehaviour
{
{caret}
}
| JetBrains/resharper-unity | resharper/resharper-unity/test/data/Unity/CSharp/Generate/ListElements19.cs | https://github.com/JetBrains/resharper-unity/blob/HEAD/resharper/resharper-unity/test/data/Unity/CSharp/Generate/ListElements19.cs | ghcode:00000:522a9e02a406 | apache-2.0 | codeparrot/github-code | 522a9e02a40672fd0847f2259880ffc0ab71baf4cbdade39bd86b580e98dc94b | 0.45 | testing_debugging_repair_refactoring | 25 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace addressbook_web_tests.tests
{
class TestDetailedContactInfo
{
}
}
| Toliar/csharp_training | addressbook-web-tests/addressbook-web-tests/tests/TestDetailedContactInfo.cs | https://github.com/Toliar/csharp_training/blob/HEAD/addressbook-web-tests/addressbook-web-tests/tests/TestDetailedContactInfo.cs | ghcode:00000:a214753065c6 | apache-2.0 | codeparrot/github-code | a214753065c6bcb8433f5ed43625f417c8432b27eae0be751d086db654edaf00 | 0.85 | testing_debugging_repair_refactoring | 41 | false | 2026-07-17 |
using FileCurator.HelperMethods;
using FileCurator.Tests.BaseClasses;
using Mecha.xUnit;
using System.ComponentModel.DataAnnotations;
using Xunit;
namespace FileCurator.Tests.HelperMethods
{
public class InternalHttpClientFactoryTests : TestBaseClass<InternalHttpClientFactory>
{
public InternalHttpCli... | JaCraig/FileCurator | test/FileCurator.Tests/HelperMethods/InternalHttpClientFactoryTests.cs | https://github.com/JaCraig/FileCurator/blob/HEAD/test/FileCurator.Tests/HelperMethods/InternalHttpClientFactoryTests.cs | ghcode:00000:ebedd4c1b5d2 | apache-2.0 | codeparrot/github-code | ebedd4c1b5d2d40b8897577f69c28228480f91a7dea47cb8d795c140452169c1 | 0.75 | testing_debugging_repair_refactoring | 244 | false | 2026-07-17 |
using System;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.UI.Tweens;
using System.Collections;
public class Test_Fill : MonoBehaviour {
public Image imageComponent;
public float Duration = 5f;
public TweenEasing Easing = TweenEasing.InOutQuint;
// Tween controls
[NonSerialized] pr... | cocos-Jammy/RealProjectTBS | Assets/Dark Age UI for UGUI/Scripts/Test Scripts/Test_Fill.cs | https://github.com/cocos-Jammy/RealProjectTBS/blob/HEAD/Assets/Dark Age UI for UGUI/Scripts/Test Scripts/Test_Fill.cs | ghcode:00000:61f2a028de40 | apache-2.0 | codeparrot/github-code | 61f2a028de40554bacf7b7c9158214286ee46f4fd19fd205a0ad5cafaa1b9f34 | 0.85 | testing_debugging_repair_refactoring | 381 | false | 2026-07-17 |
using Jal.Router.Impl;
using Jal.Router.Interface;
using Jal.Router.Model;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Shouldly;
namespace Jal.Router.Tests
{
[TestClass]
public class ListenerContextLoaderTests
{
[TestMethod]
public void Add_With_ShouldBeAdded()
... | raulnq/Jal.Router | Jal.Router.Tests/Infrastructure/ListenerContextLoaderTests.cs | https://github.com/raulnq/Jal.Router/blob/HEAD/Jal.Router.Tests/Infrastructure/ListenerContextLoaderTests.cs | ghcode:00000:8064f8a85caa | apache-2.0 | codeparrot/github-code | 8064f8a85caa8c15203bdd0396c9df1fac322e5659c29b40320e84ddd3987e0c | 0.75 | testing_debugging_repair_refactoring | 203 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Threading.Tasks;
using Hudl.Mjolnir.Metrics;
using Hudl.Mjolnir.Tests.Helper;
using Xunit;
namespace Hudl.Mjolnir.Tests.Metrics
{
public class InterlockingLongCounterTests : TestFixture
{
[Fact]
public void Increment_Increments()
{
... | hudl/Mjolnir | tests/unit/Hudl.Mjolnir.Tests/Metrics/InterlockingLongCounterTests.cs | https://github.com/hudl/Mjolnir/blob/HEAD/tests/unit/Hudl.Mjolnir.Tests/Metrics/InterlockingLongCounterTests.cs | ghcode:00000:098d7b4fd1ca | apache-2.0 | codeparrot/github-code | 098d7b4fd1cada7155494e13082f2bbc91c9c2eb88ce096aabe814504d320c30 | 0.85 | testing_debugging_repair_refactoring | 231 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using AltBeaconOrg.BoundBeacon;
using AltBeaconOrg.BoundBeacon.Service.Scanner;
using NUnit.Framework;
namespace AndroidAltBeaconLibrary.UnitTests
{
[TestFixture]
public class ScanFilterUtilsTest
{
[Test]
public void testGetAltBeaconScanFilt... | chrisriesgo/Android-AltBeacon-Library | AndroidAltBeaconLibrary/AndroidAltBeaconLibrary.UnitTests/Tests/Beacon/Service/Scanner/ScanFilterUtilsTest.cs | https://github.com/chrisriesgo/Android-AltBeacon-Library/blob/HEAD/AndroidAltBeaconLibrary/AndroidAltBeaconLibrary.UnitTests/Tests/Beacon/Service/Scanner/ScanFilterUtilsTest.cs | ghcode:00000:f4530d9ad4e1 | apache-2.0 | codeparrot/github-code | f4530d9ad4e1b2cad33ee6f5aa9375c23565d236e86ce38038924f00ae14e2b0 | 0.95 | testing_debugging_repair_refactoring | 918 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using Foundation;
namespace GigyaSDK.iOS.Tests
{
[TestFixture]
public class GSSessionTests
{
readonly GSSession session = new GSSession("token", "secret");
[Test]
public void Constructor()
{
try
{
var s = new GSSession("token", "secret")... | ScoreBig/XamarinBindings | GigyaSDK.iOS/GigyaSDK.iOS.Tests/GSSessionTests.cs | https://github.com/ScoreBig/XamarinBindings/blob/HEAD/GigyaSDK.iOS/GigyaSDK.iOS.Tests/GSSessionTests.cs | ghcode:00000:75ff705c0702 | apache-2.0 | codeparrot/github-code | 75ff705c070221a6285cb40d0cce7958aab4074d86c76468a26dee8bacbc825a | 0.75 | testing_debugging_repair_refactoring | 408 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Kleinware.LikeType
{
[TestClass]
public class LikeEnumerableTypeTests
{
private Foo _foo1;
private Foo _foo2;
private FooE... | mattklein999/LikeType | Kleinware.LikeType.Tests/LikeEnumerableTypeTests.cs | https://github.com/mattklein999/LikeType/blob/HEAD/Kleinware.LikeType.Tests/LikeEnumerableTypeTests.cs | ghcode:00000:2933e2f0a02a | apache-2.0 | codeparrot/github-code | 2933e2f0a02ae4a3a5ab10d977da4e0645c32e3ca3cdb0025f63c99e1c6acca0 | 0.75 | testing_debugging_repair_refactoring | 2,018 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | f7753/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/CacheConfigurationTest.cs | https://github.com/f7753/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/CacheConfigurationTest.cs | ghcode:00000:4523aa5df3b4 | apache-2.0 | codeparrot/github-code | 4523aa5df3b4d1a7966e284378e2eceef6ee22f5b17be980239444582e9004a0 | 0.7 | testing_debugging_repair_refactoring | 5,331 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Microsoft.Azure.WebJobs.Host.UnitTests.Blobs
{
internal class AsyncCompletionSource
{
private CompletingAsyncResult _result;
public IAsyncResult AsyncResult
{
... | markcowl/azure-sdk-for-net | sdk/storage/Azure.Storage.Webjobs.Extensions.Blobs/tests/AsyncCompletionSource.cs | https://github.com/markcowl/azure-sdk-for-net/blob/HEAD/sdk/storage/Azure.Storage.Webjobs.Extensions.Blobs/tests/AsyncCompletionSource.cs | ghcode:00000:9010d0d76a10 | apache-2.0 | codeparrot/github-code | 9010d0d76a10ce2b8674183979007db41723484e5bcf0c57bf2e6b3b381fd1f9 | 0.85 | testing_debugging_repair_refactoring | 153 | false | 2026-07-17 |
// <copyright file="OwinRequestTests.cs" company="Microsoft Open Technologies, Inc.">
// Copyright 2013 Microsoft Open Technologies, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a c... | owin/museum-piece-owin-hosting | src/test/Owin.Types.Tests/OwinRequestTests.cs | https://github.com/owin/museum-piece-owin-hosting/blob/HEAD/src/test/Owin.Types.Tests/OwinRequestTests.cs | ghcode:00000:e89116e53537 | apache-2.0 | codeparrot/github-code | e89116e5353750ab436fc3359ee3d12df1b214f635e1f3aabe90c224412495d8 | 0.95 | testing_debugging_repair_refactoring | 1,687 | false | 2026-07-17 |
using System.Globalization;
using System.Linq;
using NLog;
using NUnit.Framework;
namespace Rikrop.Core.Logging.NLog.Test
{
[TestFixture]
public class NFormatterTest
{
[Test]
[TestCase(300, 100)]
[TestCase(1, 5)]
public void ShouldCutMessageTextIfMaxLogSizeIsSet(int message... | rikrop/Rikrop.Core.Logging.NLog | Rikrop.Core.Logging.NLog.Test/NFormatterTest.cs | https://github.com/rikrop/Rikrop.Core.Logging.NLog/blob/HEAD/Rikrop.Core.Logging.NLog.Test/NFormatterTest.cs | ghcode:00000:dabcc2a7f609 | apache-2.0 | codeparrot/github-code | dabcc2a7f609b9df99e61f5ab16bae1cebad07969f1469bc86a3ac678633f4ee | 0.6 | testing_debugging_repair_refactoring | 166 | false | 2026-07-17 |
//
// Copyright 2019 Google LLC
//
// 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, Ver... | GoogleCloudPlatform/iap-desktop | sources/Google.Solutions.IapDesktop.Extensions.Activity/Events/System/InstanceManagerHaltForRestartEvent.cs | https://github.com/GoogleCloudPlatform/iap-desktop/blob/HEAD/sources/Google.Solutions.IapDesktop.Extensions.Activity/Events/System/InstanceManagerHaltForRestartEvent.cs | ghcode:00000:22d1d698855d | apache-2.0 | codeparrot/github-code | 22d1d698855d4930ca1f9e52c6d9c3ffd5fc3e536d3be59b013fd9f20e997ae1 | 0.7 | testing_debugging_repair_refactoring | 383 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using StructureMap.Pipeline;
using StructureMap.Testing;
using StructureMap.Testing.Widget;
namespace StructureMap.Web.Testing
{
[TestFixture]
public class ThreadLocalStorageLifecycleTester... | HenrikDK/structuremap | src/StructureMap.Web.Testing/ThreadLocalStorageLifecycleTester_with_nested_containers.cs | https://github.com/HenrikDK/structuremap/blob/HEAD/src/StructureMap.Web.Testing/ThreadLocalStorageLifecycleTester_with_nested_containers.cs | ghcode:00000:20ccf3e31451 | apache-2.0 | codeparrot/github-code | 20ccf3e3145154b7de5d4db53a7958fef9dddf534e1c9db12eddb7e9d6e7e592 | 0.6 | testing_debugging_repair_refactoring | 315 | false | 2026-07-17 |
using Pchp.Core;
using Pchp.Core.Reflection;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace Pchp.Library.Reflection
{
[PhpType(PhpTypeAttribute.InheritName), PhpExtension(ReflectionUtils.ExtensionName)]
publ... | iolevel/peachpie | src/Peachpie.Library/Reflection/ReflectionMethod.cs | https://github.com/iolevel/peachpie/blob/HEAD/src/Peachpie.Library/Reflection/ReflectionMethod.cs | ghcode:00000:ecc3a9b6c286 | apache-2.0 | codeparrot/github-code | ecc3a9b6c286ea973b7ce15e71a99b3036c9be44892d1f6df3187de88272a34d | 0.7 | testing_debugging_repair_refactoring | 1,586 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | dulems/azure-powershell | src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs | https://github.com/dulems/azure-powershell/blob/HEAD/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs | ghcode:00000:75b97beccdb1 | apache-2.0 | codeparrot/github-code | 75b97beccdb13af1784085b1ef65a4062e2fbeef038204f6f69be600937472af | 0.7 | testing_debugging_repair_refactoring | 4,218 | false | 2026-07-17 |
using System;
using System.IO;
using MSBuild.Community.Tasks.Subversion;
using NUnit.Framework;
namespace MSBuild.Community.Tasks.Tests.Subversion
{
/// <summary>
/// Summary description for SvnExportTest
/// </summary>
[TestFixture]
public class SvnExportTest
{
private string testDir... | loresoft/msbuildtasks | Source/MSBuild.Community.Tasks.Tests/Subversion/SvnExportTest.cs | https://github.com/loresoft/msbuildtasks/blob/HEAD/Source/MSBuild.Community.Tasks.Tests/Subversion/SvnExportTest.cs | ghcode:00000:4e5cd227cb07 | bsd-2-clause | codeparrot/github-code | 4e5cd227cb076852444f5e441031295091606ac6010102a88f4dcac80f0e021a | 0.63 | testing_debugging_repair_refactoring | 627 | false | 2026-07-17 |
using System;
using LZ4.Tests.Helpers;
using System.Xml.Serialization;
using System.IO;
using System.IO.Compression;
#if !X64
using LZOHelper;
#endif
namespace LZ4.Tests.Continuous
{
// ReSharper disable InconsistentNaming
class Program
{
#region Main
static void Main(string[] args)
{
try
{
if (... | MiloszKrajewski/lz4net | src/misc/LZ4.Tests.Continuous/Program.cs | https://github.com/MiloszKrajewski/lz4net/blob/HEAD/src/misc/LZ4.Tests.Continuous/Program.cs | ghcode:00000:7c41584a9ebe | bsd-2-clause | codeparrot/github-code | 7c41584a9ebe9734eaf743b84f29b35c5cd72839013bdcf87603812bba1954c1 | 0.78 | testing_debugging_repair_refactoring | 5,500 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Messaging;
using Autofac.Core;
using Rhino.ServiceBus.Exceptions;
using Rhino.ServiceBus.Impl;
using Rhino.ServiceBus.Internal;
using Rhino.ServiceBus.LoadBalancer;
using Rhino.ServiceBus.MessageModules;
using Autofac;
using Rhino.ServiceBus.Msmq;
using Xunit;
u... | hibernating-rhinos/rhino-esb | Rhino.ServiceBus.Tests/Containers/Autofac/ContainerTests.cs | https://github.com/hibernating-rhinos/rhino-esb/blob/HEAD/Rhino.ServiceBus.Tests/Containers/Autofac/ContainerTests.cs | ghcode:00000:597eacc7dcf1 | bsd-3-clause | codeparrot/github-code | 597eacc7dcf1cccbcc67a35b5fbfaa41e42e07024038194c46611c5815917ae1 | 0.75 | testing_debugging_repair_refactoring | 1,090 | false | 2026-07-17 |
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD, and Contributors.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System;
using System.Diagnostics;
namespace Moq.Matchers
{
internal sealed class AnyMatcher : IMatcher
{
public static AnyMatche... | Moq/moq4 | src/Moq/Matchers/AnyMatcher.cs | https://github.com/Moq/moq4/blob/HEAD/src/Moq/Matchers/AnyMatcher.cs | ghcode:00000:475aced8b50e | bsd-3-clause | codeparrot/github-code | 475aced8b50e3a769bed7cdabb714b0bb394eba58cd238c53c01db7563d1236d | 0.6 | testing_debugging_repair_refactoring | 144 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NMoneys.Support;
using NUnit.Framework;
namespace NMoneys.Tests
{
// PlatformAttribute is not present in NUnits netstandard build, but since the tests marked
// as platform-dependent cannot happen in a core runtime (they apply to old .NET 2 versions),
// they... | dgg/nmoneys | src/NMoneys.Tests/CurrencyTester.Code.net.cs | https://github.com/dgg/nmoneys/blob/HEAD/src/NMoneys.Tests/CurrencyTester.Code.net.cs | ghcode:00000:b5b3e5911957 | bsd-3-clause | codeparrot/github-code | b5b3e59119579f074328e1b06b612b4a2c64270d2dc756324cdfd6f24abc180e | 0.7 | testing_debugging_repair_refactoring | 313 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NSubstitute;
using Octokit;
using Xunit;
public class CommitsClientTests
{
public class TheGetMethod
{
[Fact]
public async Task RequestsCorrectUrl()
{
var connection = Sub... | octokit/octokit.net | Octokit.Tests/Clients/CommitsClientTests.cs | https://github.com/octokit/octokit.net/blob/HEAD/Octokit.Tests/Clients/CommitsClientTests.cs | ghcode:00000:42b7ee9223d0 | mit | codeparrot/github-code | 42b7ee9223d08c65e9d9c79f3662a781f99dfd03a1d55221af454cf31c752b17 | 0.75 | testing_debugging_repair_refactoring | 905 | false | 2026-07-17 |
namespace Microsoft.ApplicationInsights.Tests
{
using System;
using System.Collections.Generic;
using System.Globalization;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.ApplicationInsights.Extensibility.Filtering;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/... | pharring/ApplicationInsights-dotnet | WEB/Src/PerformanceCollector/Perf.Tests/Filtering/FilterTests.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/WEB/Src/PerformanceCollector/Perf.Tests/Filtering/FilterTests.cs | ghcode:00000:93a9e350df18 | mit | codeparrot/github-code | 93a9e350df18d1447c457cbaf023848f194d1e4d2d4c5b96ac1dd5bca8024eec | 0.82 | testing_debugging_repair_refactoring | 17,751 | false | 2026-07-17 |
using System.Text;
using Xunit;
namespace WixSharp.Test
{
public class RegFileTest
{
[Fact]
public void Should_Create_RegValue_From_String()
{
object value;
value = RegFileImporter.Deserialize(@"""\""[INSTALLDIR]7zFM.exe\"" \""%1\""""", Encoding.Unicode);
... | Eun/TestRepo | src/WixSharp.Test/RegFileTest.cs | https://github.com/Eun/TestRepo/blob/HEAD/src/WixSharp.Test/RegFileTest.cs | ghcode:00000:e3f9cfe97917 | mit | codeparrot/github-code | e3f9cfe97917d0b2497bb0a86969eb4144e1bc7980dd81c1485402f9359160bb | 0.6 | testing_debugging_repair_refactoring | 376 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using System.Threading.Tasks;
using FluentAssertions;
using Moq;
using Ploeh.AutoFixture.Xunit2;
using Xunit;
namespace ReactiveMvvm.Tests
{
[Collection("Using Stream<User, string>... | justinyoo/ReactiveMvvm | src/ReactiveMvvm/ReactiveMvvm.Tests/StreamTest.cs | https://github.com/justinyoo/ReactiveMvvm/blob/HEAD/src/ReactiveMvvm/ReactiveMvvm.Tests/StreamTest.cs | ghcode:00000:ade7466e2a41 | mit | codeparrot/github-code | ade7466e2a41852f8de0cb0ce1c00b29d5b7cbaa6565e409c1389acb9c2ff200 | 0.6 | testing_debugging_repair_refactoring | 864 | false | 2026-07-17 |
using NUnit.Framework;
using OpenQA.Selenium;
namespace Atata.Tests
{
public class PressTriggerTests : UITestFixture
{
private ScrollablePage _page;
protected override void OnSetUp()
{
_page = Go.To<ScrollablePage>();
}
[Test]
public void PressEndA... | YevgeniyShunevych/Atata | test/Atata.Tests/PressTriggerTests.cs | https://github.com/YevgeniyShunevych/Atata/blob/HEAD/test/Atata.Tests/PressTriggerTests.cs | ghcode:00000:aec30f920d5f | mit | codeparrot/github-code | aec30f920d5f529c759357c352a6eea9550416b86b9655832102ac3b2cd29e70 | 0.75 | testing_debugging_repair_refactoring | 194 | false | 2026-07-17 |
// ****************************************************************
// This is free software licensed under the NUnit license. You
// may obtain a copy of the license as well as information regarding
// copyright ownership at http://nunit.org.
// ****************************************************************
u... | continuoustests/AutoTest.Net | lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitCore/tests/SetUpTest.cs | https://github.com/continuoustests/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitCore/tests/SetUpTest.cs | ghcode:00000:6d2fb03bcb63 | mit | codeparrot/github-code | 6d2fb03bcb633361ae68ca71aac9010e508f9fd5802f7123bac7c1a614979a39 | 0.95 | testing_debugging_repair_refactoring | 1,132 | false | 2026-07-17 |
namespace Glass.Tests
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Core;
using Xunit;
public class DependencyResolverTest
{
[Fact]
public void SortTest()
{
var a = new Node("A");
... | SuperJMN/Glass-Legacy | Glass.Core.Tests/DependencyResolverTest.cs | https://github.com/SuperJMN/Glass-Legacy/blob/HEAD/Glass.Core.Tests/DependencyResolverTest.cs | ghcode:00000:0e599702bc73 | mit | codeparrot/github-code | 0e599702bc73c625fd14014a1384f655f9e7f8cdf4268841a7a2b72c6a8342c8 | 0.6 | testing_debugging_repair_refactoring | 782 | false | 2026-07-17 |
namespace Incoding.MSpecContrib
{
#region << Using >>
using System;
using Incoding.Block.Caching;
using Incoding.Extensions;
using Machine.Specifications;
using Moq;
#endregion
public static class CachingFactoryTestEx
{
#region Factory constructors
public static ... | IncodingSoftware/Incoding-Framework | src/Incoding.MSpecContrib/Extensions/CachingFactoryTestEx.cs | https://github.com/IncodingSoftware/Incoding-Framework/blob/HEAD/src/Incoding.MSpecContrib/Extensions/CachingFactoryTestEx.cs | ghcode:00000:ae6eb18d3039 | apache-2.0 | codeparrot/github-code | ae6eb18d30395b7c3d84162cee05c73687530144fd963a0f1ddcbfa95fb9d5e3 | 0.7 | testing_debugging_repair_refactoring | 636 | false | 2026-07-17 |
namespace GreenPipes.Tests
{
using System;
using System.Linq;
using System.Threading.Tasks;
using Filters;
using NUnit.Framework;
[TestFixture]
public class Dispatch_Specs
{
[Test]
public async Task Dispatching_a_pipe_by_type()
{
IPipe<IInputContext... | MassTransit/GreenPipes | tests/GreenPipes.Tests/Dispatch_Specs.cs | https://github.com/MassTransit/GreenPipes/blob/HEAD/tests/GreenPipes.Tests/Dispatch_Specs.cs | ghcode:00000:bfe8e47c0873 | apache-2.0 | codeparrot/github-code | bfe8e47c087335d41ec645de201356d6f1ccbff2b978dc9b598ba97d829c1ae0 | 0.6 | testing_debugging_repair_refactoring | 640 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
using Project.UnitOfWorkProject.Entities;
using Project.UnitOfWorkProject.Services;
using System;
using System.Threading.Tasks;
namespace Project.TestingProject.RepositoriesTests.UsuarioServiceTests
{
[TestClass]
pu... | TaigoSantos/Visual-Studio-Architecture | provas-de-conceitos/unit-tests/Project.TestingProject/ServicesTests/UsuarioServiceTests/AddAsyncShould.cs | https://github.com/TaigoSantos/Visual-Studio-Architecture/blob/HEAD/provas-de-conceitos/unit-tests/Project.TestingProject/ServicesTests/UsuarioServiceTests/AddAsyncShould.cs | ghcode:00000:422ad8089562 | apache-2.0 | codeparrot/github-code | 422ad808956252c72808796ea8bd2928841992718f59a9ce9ccf8d21aa0140b0 | 0.7 | testing_debugging_repair_refactoring | 408 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ReceiveTimeoutSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright... | trbngr/akka.net | src/core/Akka.Tests/Actor/ReceiveTimeoutSpec.cs | https://github.com/trbngr/akka.net/blob/HEAD/src/core/Akka.Tests/Actor/ReceiveTimeoutSpec.cs | ghcode:00000:c96e7617ca2d | apache-2.0 | codeparrot/github-code | c96e7617ca2d5201abd1a6072f0602059a13bf2df781df3835c05b67be647ca5 | 0.85 | testing_debugging_repair_refactoring | 845 | false | 2026-07-17 |
using System;
using Xunit;
namespace NuGet.Test
{
public static class ExceptionAssert
{
private const string ArgumentExceptionMessageFormat = "{0}\r\nParameter name: {1}";
public static void Throws<TException>(Assert.ThrowsDelegate act) where TException : Exception
{
... | xero-github/Nuget | test/Test.Utility/ExceptionAssert.cs | https://github.com/xero-github/Nuget/blob/HEAD/test/Test.Utility/ExceptionAssert.cs | ghcode:00000:d625dbaf606a | apache-2.0 | codeparrot/github-code | d625dbaf606aa19e06d77fb77e0dd5c3b60e76f57e93bca9e71ba0e4c411ec86 | 0.6 | testing_debugging_repair_refactoring | 637 | false | 2026-07-17 |
namespace NArrange.Tests.Core
{
using System;
using System.CodeDom.Compiler;
using System.Collections.ObjectModel;
using System.IO;
using NArrange.Core;
using NArrange.Core.CodeElements;
using NArrange.Core.Configuration;
using NUnit.Framework;
/// <summary>
/// Base test fixt... | adgistics/Adgistics.Build | NArrange/src/NArrange.Tests.Core/WriteArrangedTests.cs | https://github.com/adgistics/Adgistics.Build/blob/HEAD/NArrange/src/NArrange.Tests.Core/WriteArrangedTests.cs | ghcode:00000:b956933ba093 | apache-2.0 | codeparrot/github-code | b956933ba0930f9144fa3abe1c97bc08ffd54cb42cabf2578e7bd748acd609af | 0.95 | testing_debugging_repair_refactoring | 780 | false | 2026-07-17 |
#region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. 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
//
// ... | Agbar/MoreLINQ | MoreLinq.Test/PrependTest.cs | https://github.com/Agbar/MoreLINQ/blob/HEAD/MoreLinq.Test/PrependTest.cs | ghcode:00000:b9af042dcb74 | apache-2.0 | codeparrot/github-code | b9af042dcb74607269ea22925ffeec934b9e007917121ddea36f930556167088 | 0.7 | testing_debugging_repair_refactoring | 425 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.Cod... | davkean/roslyn | src/EditorFeatures/CSharpTest/PullMemberUp/CSharpPullMemberUpTests.cs | https://github.com/davkean/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/PullMemberUp/CSharpPullMemberUpTests.cs | ghcode:00000:fb7ac15548e1 | apache-2.0 | codeparrot/github-code | fb7ac15548e128232e7fc1afe4b102a905fadb0e91f7b093bec52501ec4830bb | 0.72 | testing_debugging_repair_refactoring | 14,644 | 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 Cake.Common.Tests.Fixtures.Tools.NuGet.Packer;
using Cake.Com... | RehanSaeed/cake | src/Cake.Common.Tests/Unit/Tools/NuGet/Pack/NuGetPackerTests.cs | https://github.com/RehanSaeed/cake/blob/HEAD/src/Cake.Common.Tests/Unit/Tools/NuGet/Pack/NuGetPackerTests.cs | ghcode:00000:a611468c96da | mit | codeparrot/github-code | a611468c96da9a72a49a96092a8623298fdcbc5a60699c06186c66207c660e87 | 0.85 | testing_debugging_repair_refactoring | 8,453 | false | 2026-07-17 |
using System.IO;
using System.Linq;
using Bloom.Publish;
using Bloom.web.controllers;
using NUnit.Framework;
namespace BloomTests.Book
{
public class AccessibilityCheckersTests : BookTestsBase
{
[SetUp]
public void SetupFixture()
{
_collectionSettings = CreateDefaultCollectionsSettings();
_bookData = Cr... | StephenMcConnel/BloomDesktop | src/BloomTests/Book/AccessibilityCheckersTests.cs | https://github.com/StephenMcConnel/BloomDesktop/blob/HEAD/src/BloomTests/Book/AccessibilityCheckersTests.cs | ghcode:00000:76490ee8aa76 | mit | codeparrot/github-code | 76490ee8aa76c2684803f54395d3f3552e30b59ff53efce2a3df53ceb134da71 | 0.85 | testing_debugging_repair_refactoring | 3,818 | false | 2026-07-17 |
using Entitas;
public class SomeStartSystem : IStartSystem {
public void Start() {
}
}
| michax/Entitas-CSharp | Entitas.Unity.VisualDebugging/Assets/Tests/Systems/SomeStartSystem.cs | https://github.com/michax/Entitas-CSharp/blob/HEAD/Entitas.Unity.VisualDebugging/Assets/Tests/Systems/SomeStartSystem.cs | ghcode:00000:3111b07ed2b3 | mit | codeparrot/github-code | 3111b07ed2b39d0b6be6e2a4d8e1d0f407b10c286425ff7b526b51fdbb7f707f | 0.45 | testing_debugging_repair_refactoring | 23 | false | 2026-07-17 |
using HarshPoint.Provisioning.Implementation;
using System;
using System.Collections.Generic;
using System.Reflection;
using Xunit;
using Xunit.Abstractions;
namespace HarshPoint.Tests.Provisioning
{
public class TestProvisioningDefaultValuePolicy : SeriloggedTest
{
public TestProvisioningDefaultValue... | the-ress/HarshPoint | test/HarshPoint.Tests/Provisioning/TestProvisioningDefaultValuePolicy.cs | https://github.com/the-ress/HarshPoint/blob/HEAD/test/HarshPoint.Tests/Provisioning/TestProvisioningDefaultValuePolicy.cs | ghcode:00000:c8800ce937a6 | bsd-2-clause | codeparrot/github-code | c8800ce937a683abe30ea1ea894a381f8fe26899ccb2774eaabcaeeb0bb034ea | 0.68 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
// DotNetNuke® - http://www.dnnsoftware.com
// Copyright (c) 2002-2018, DNN Corp.
// All Rights Reserved
using System;
using System.Linq;
using DotNetNuke.Entities.Portals;
namespace DNN.Integration.Test.Framework.Helpers
{
public class PortalInfoHelper
{
public static PortalInfo GetPortalInfo(int po... | RichardHowells/Dnn.Platform | DNN Platform/Tests/DNN.Integration.Test.Framework/Helpers/PortalInfoHelper.cs | https://github.com/RichardHowells/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DNN.Integration.Test.Framework/Helpers/PortalInfoHelper.cs | ghcode:00000:8caef693fbb5 | mit | codeparrot/github-code | 8caef693fbb58b1d818fd2daf4b66db14a8290fa5cdd566fa85eb655ff31d9d1 | 0.95 | testing_debugging_repair_refactoring | 364 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using OpenQA.Selenium.Environment;
using System.Text.RegularExpressions;
namespace OpenQA.Selenium
{
[TestFixture]
public class TextHandlingTest : DriverTestFixture
{
private string newLine = "\r\n... | jmt4/Selenium2 | dotnet/test/WebDriver.Common.Tests/TextHandlingTest.cs | https://github.com/jmt4/Selenium2/blob/HEAD/dotnet/test/WebDriver.Common.Tests/TextHandlingTest.cs | ghcode:00000:876d39e8bb92 | apache-2.0 | codeparrot/github-code | 876d39e8bb926ef0b7e329a3497f71b323f90f2f8a2e943709f078381506912c | 0.95 | testing_debugging_repair_refactoring | 1,972 | 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 Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft.CodeAnalysis.Text.Shared.Extensions;
using Microsoft.V... | davkean/roslyn | src/EditorFeatures/Test/Extensions/ITextSnapshotLineExtensionsTests.cs | https://github.com/davkean/roslyn/blob/HEAD/src/EditorFeatures/Test/Extensions/ITextSnapshotLineExtensionsTests.cs | ghcode:00000:f6a35665af50 | apache-2.0 | codeparrot/github-code | f6a35665af50059d0e751ef227740e97aea574eb6dc235725dca0ab3a4bed2eb | 0.95 | testing_debugging_repair_refactoring | 1,254 | false | 2026-07-17 |
//
// Tests for System.Xml.Serialization.SoapElementAttribute
//
// Author:
// Gert Driesen
//
// (C) 2005 Novell
//
using System.Xml.Serialization;
using NUnit.Framework;
namespace MonoTests.System.XmlSerialization
{
[TestFixture]
public class SoapElementAttributeTests
{
[Test]
public void DataTypeDefault ... | matthid/Yaaf.Xmpp.Runtime | src/source/System.XML/Test/System.Xml.Serialization/SoapElementAttributeTests.cs | https://github.com/matthid/Yaaf.Xmpp.Runtime/blob/HEAD/src/source/System.XML/Test/System.Xml.Serialization/SoapElementAttributeTests.cs | ghcode:00000:d7afec1b6629 | apache-2.0 | codeparrot/github-code | d7afec1b66291798ff77aef04ebe1ca5932a8d1eba84bf438cf1761d258cfe77 | 0.95 | testing_debugging_repair_refactoring | 234 | 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.IO;
using Microsoft.Xunit.Performance;
namespace System.Tests
{
public class Perf_Random
{
[Benchmark]
public void ctor()
... | stormleoxia/corefx | src/System.Runtime.Extensions/tests/Performance/Perf.Random.cs | https://github.com/stormleoxia/corefx/blob/HEAD/src/System.Runtime.Extensions/tests/Performance/Perf.Random.cs | ghcode:00000:cf4d76176f4d | mit | codeparrot/github-code | cf4d76176f4d4edb6684c5ec63defda61568684bf52494d41382dae27e4c77ba | 0.85 | testing_debugging_repair_refactoring | 442 | 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.SpanTests
{
public static partial class ReadOnlySpanTests
{
[Fact]
... | BrennanConroy/corefx | src/System.Memory/tests/ReadOnlySpan/SequenceEqual.T.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Memory/tests/ReadOnlySpan/SequenceEqual.T.cs | ghcode:00000:a8240a1b2a68 | mit | codeparrot/github-code | a8240a1b2a68df1b9bb81dcd6d2440680324409b0115224a26679847e0eb8052 | 0.95 | testing_debugging_repair_refactoring | 1,202 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Threading;
usin... | JohnHamby/roslyn | src/Compilers/CSharp/Portable/Symbols/Source/SourceNamespaceSymbol.cs | https://github.com/JohnHamby/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Source/SourceNamespaceSymbol.cs | ghcode:00000:4a5ac8ffb6e7 | apache-2.0 | codeparrot/github-code | 4a5ac8ffb6e7ba7cd8d76c1901214496b7668197154da7f2619a7653c41e8b63 | 0.7 | testing_debugging_repair_refactoring | 3,403 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces;
using Microsoft.CodeAnalys... | DustinCampbell/roslyn | src/VisualStudio/CSharp/Test/Debugging/NameResolverTests.cs | https://github.com/DustinCampbell/roslyn/blob/HEAD/src/VisualStudio/CSharp/Test/Debugging/NameResolverTests.cs | ghcode:00000:02af1e2a4e4c | apache-2.0 | codeparrot/github-code | 02af1e2a4e4c164b3b033efe3daa282a2f1483ac0ad14deeb7fd92e7831531f9 | 0.95 | testing_debugging_repair_refactoring | 5,160 | false | 2026-07-17 |
using NUnit.Framework;
using Shouldly.Tests.TestHelpers;
namespace Shouldly.Tests.Strings.ShouldNotStartWith
{
public class ShouldIgnoreCaseByDefault : ShouldlyShouldTestScenario
{
protected override void ShouldThrowAWobbly()
{
"Cheese".ShouldNotStartWith("cH", "Some additional co... | yannisgu/shouldly | src/Shouldly.Tests/Strings/ShouldNotStartWith/ShouldIgnoreCaseByDefault.cs | https://github.com/yannisgu/shouldly/blob/HEAD/src/Shouldly.Tests/Strings/ShouldNotStartWith/ShouldIgnoreCaseByDefault.cs | ghcode:00000:2687beceee82 | bsd-3-clause | codeparrot/github-code | 2687beceee8255e4b9d8db02c32373c04f9103be0529ea7b7539adc2e2488b98 | 0.6 | testing_debugging_repair_refactoring | 152 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.WindowsAzure.Storage.Blob;
using Moq.Language.Flow;
namespace Microsoft.Azure.WebJobs.Host.UnitTests.Blobs
{
internal static class S... | brendankowitz/azure-webjobs-sdk | test/Microsoft.Azure.WebJobs.Host.UnitTests/Blobs/Bindings/SetupOfCloudBlobStreamIAsyncResultExtensions.cs | https://github.com/brendankowitz/azure-webjobs-sdk/blob/HEAD/test/Microsoft.Azure.WebJobs.Host.UnitTests/Blobs/Bindings/SetupOfCloudBlobStreamIAsyncResultExtensions.cs | ghcode:00000:c9634a02c8a7 | mit | codeparrot/github-code | c9634a02c8a7146b51d6ecb4f82b6c5c007dc68d4c1e32dde10c63c254535dd1 | 0.6 | testing_debugging_repair_refactoring | 424 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
namespace Dashboard.Data
{
public class FunctionIndexEntry
... | brendankowitz/azure-webjobs-sdk | src/Dashboard/Data/FunctionIndexEntry.cs | https://github.com/brendankowitz/azure-webjobs-sdk/blob/HEAD/src/Dashboard/Data/FunctionIndexEntry.cs | ghcode:00000:3c1e00973b7f | mit | codeparrot/github-code | 3c1e00973b7f86ae8a3b7a796a78c0f924611a692a644498dea36ccfe13f8ea0 | 0.6 | testing_debugging_repair_refactoring | 968 | false | 2026-07-17 |
using System;
using System.Net;
using Xunit;
using Microsoft.Azure.Management.BatchAI;
using Microsoft.Azure.Management.BatchAI.Models;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
namespace BatchAI.Tests
{
public class CreateJobTests
{
/* Tests simple scenario for a job - submit, check re... | SiddharthChatrolaMs/azure-sdk-for-net | src/SDKs/BatchAI/BatchAI.Tests/CreateJobTests.cs | https://github.com/SiddharthChatrolaMs/azure-sdk-for-net/blob/HEAD/src/SDKs/BatchAI/BatchAI.Tests/CreateJobTests.cs | ghcode:00000:9d2f2876f990 | apache-2.0 | codeparrot/github-code | 9d2f2876f99090883c75e4a2a1e69155f7712288630ad60e96712604e3111da0 | 0.75 | testing_debugging_repair_refactoring | 476 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | devigned/azure-powershell | src/ResourceManager/Sql/Commands.Sql.Test/UnitTests/AzureSqlDataSyncTests.cs | https://github.com/devigned/azure-powershell/blob/HEAD/src/ResourceManager/Sql/Commands.Sql.Test/UnitTests/AzureSqlDataSyncTests.cs | ghcode:00000:ad20f0c93734 | apache-2.0 | codeparrot/github-code | ad20f0c9373498db6f4422059fe4b278d2d6871cbca25ec7ec58110ca5684330 | 0.85 | testing_debugging_repair_refactoring | 451 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Xml;
using Moq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Cache;
using Umbraco.Core.Composing;
using Umbraco.Core.Configuration.UmbracoSettings;
using Umbraco.Core.Events;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbra... | hfloyd/Umbraco-CMS | src/Umbraco.Tests/Scoping/ScopedXmlTests.cs | https://github.com/hfloyd/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Scoping/ScopedXmlTests.cs | ghcode:00000:3a877535c42a | mit | codeparrot/github-code | 3a877535c42a41e9c9a7ed6447ab616c5d20023d5670b61ad74569f22d498cb2 | 0.85 | testing_debugging_repair_refactoring | 2,214 | 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, inclu... | undeadlabs/msgpack-cli | test/NUnitLite/src/tests/Constraints/UniqueItemsConstraintTests.cs | https://github.com/undeadlabs/msgpack-cli/blob/HEAD/test/NUnitLite/src/tests/Constraints/UniqueItemsConstraintTests.cs | ghcode:00000:fded8f78e77f | apache-2.0 | codeparrot/github-code | fded8f78e77f912b16556b79ba92710129215bc3cf4ad7ac058b3aedafedb74d | 0.95 | testing_debugging_repair_refactoring | 412 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | agoncharuk/ignite | modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Cache/CacheEntryFilterHolder.cs | https://github.com/agoncharuk/ignite/blob/HEAD/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Cache/CacheEntryFilterHolder.cs | ghcode:00000:74736e0d2d5e | apache-2.0 | codeparrot/github-code | 74736e0d2d5e1c8c5d61b133536b25b8257cb830299f830af0c4601fa06d3535 | 0.8 | testing_debugging_repair_refactoring | 1,110 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="ODataLibRegressionTests.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/EndToEndTests/Tests/Client/Build.Desktop/RegressionTests/ODataLibRegressionTests.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/EndToEndTests/Tests/Client/Build.Desktop/RegressionTests/ODataLibRegressionTests.cs | ghcode:00000:17d96cc6e8ec | mit | codeparrot/github-code | 17d96cc6e8ecd6f6ca1ab2452a53485854ab713b53b22255452ddc7fe6a1d3f8 | 0.95 | testing_debugging_repair_refactoring | 640 | 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.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace S... | BrennanConroy/corefx | src/System.Net.Http/tests/FunctionalTests/HttpClientTest.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Net.Http/tests/FunctionalTests/HttpClientTest.cs | ghcode:00000:8b6b834f59b5 | mit | codeparrot/github-code | 8b6b834f59b5db29e068339880c940b85de17dc6e0ac0e1ee40b484374282104 | 0.95 | testing_debugging_repair_refactoring | 3,671 | false | 2026-07-17 |
using NUnit.Framework;
using RefactoringEssentials.CSharp.CodeRefactorings;
namespace RefactoringEssentials.Tests.CSharp.CodeRefactorings
{
[TestFixture]
public class InvertConditionalOperatorTests : CSharpCodeRefactoringTestBase
{
[Test]
public void TestCase1()
{
Test<I... | mrward/RefactoringEssentials | Tests/CSharp/CodeRefactorings/InvertConditionalOperatorTests.cs | https://github.com/mrward/RefactoringEssentials/blob/HEAD/Tests/CSharp/CodeRefactorings/InvertConditionalOperatorTests.cs | ghcode:00000:3d16b51e1525 | mit | codeparrot/github-code | 3d16b51e1525efa2f640b76fca3214944fda892c2a6728b3f702008dc63c5148 | 0.75 | testing_debugging_repair_refactoring | 577 | 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 Microsoft.Win32.SafeHandles;
using System;
using System.IO;
using Xunit;
namespace System.IO.Tests
{
publ... | Petermarcu/corefx | src/System.IO.FileSystem/tests/FileStream/ctor_sfh_fa_buffer_async.cs | https://github.com/Petermarcu/corefx/blob/HEAD/src/System.IO.FileSystem/tests/FileStream/ctor_sfh_fa_buffer_async.cs | ghcode:00000:49d1a3a9024c | mit | codeparrot/github-code | 49d1a3a9024c62a66cb57155a474a74a71994424651fddde6fcd3eca00af0c79 | 0.95 | testing_debugging_repair_refactoring | 418 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.Completion.Providers;
using Microsoft... | ErikSchierboom/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/ULongKeywordRecommenderTests.cs | https://github.com/ErikSchierboom/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/ULongKeywordRecommenderTests.cs | ghcode:00000:a0074df201b2 | apache-2.0 | codeparrot/github-code | a0074df201b21fd4a620a42265506303db77f5fac757e65d79350c51e3ad70af | 0.85 | testing_debugging_repair_refactoring | 4,824 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ListBuilderTests.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// ----------------------------------------------------------------------------... | oxyplot/oxyplot | Source/OxyPlot.Tests/Utilities/ListBuilderTests.cs | https://github.com/oxyplot/oxyplot/blob/HEAD/Source/OxyPlot.Tests/Utilities/ListBuilderTests.cs | ghcode:00000:eceea10c8dea | mit | codeparrot/github-code | eceea10c8dea3d51a03e3f937b0e68e05c9bece6943b7096f4fcf3c0437f817d | 0.85 | testing_debugging_repair_refactoring | 502 | 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 Xunit;
namespace System.IO.Tests
{
public class Uma_ReadWriteStruct : Uma_TestStructs
{... | krk/corefx | src/System.IO.UnmanagedMemoryStream/tests/Uma.ReadWriteStruct.cs | https://github.com/krk/corefx/blob/HEAD/src/System.IO.UnmanagedMemoryStream/tests/Uma.ReadWriteStruct.cs | ghcode:00000:99ba59c3be2f | mit | codeparrot/github-code | 99ba59c3be2fc1e77d1cf9921665e439c7d0f4a13f1c51b8d7adff302d92628f | 0.95 | testing_debugging_repair_refactoring | 1,574 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.