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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// 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.Linq;
using Microsoft.CodeAnalysis.EditAndContinue;
us... | abock/roslyn | src/VisualStudio/Core/Test.Next/EditAndContiue/VisualStudioActiveStatementProviderTests.cs | https://github.com/abock/roslyn/blob/HEAD/src/VisualStudio/Core/Test.Next/EditAndContiue/VisualStudioActiveStatementProviderTests.cs | ghcode:00176:6b50174241e3 | mit | codeparrot/github-code | 6b50174241e39b1a21bfe209b9f468d26bcd9ea532ac3da897e7e7e52e50272a | 0.85 | testing_debugging_repair_refactoring | 2,055 | false | 2026-07-17 |
//
// Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com)
//
// 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,... | jmptrader/manos | src/Manos.Tests/Manos.Routing/MatchOperationFactoryTest.cs | https://github.com/jmptrader/manos/blob/HEAD/src/Manos.Tests/Manos.Routing/MatchOperationFactoryTest.cs | ghcode:00176:ad00d52591df | mit | codeparrot/github-code | ad00d52591dfc3e2fdc4b0186f6afb420829740f1ccd71b3dc349f415f810f07 | 0.7 | testing_debugging_repair_refactoring | 1,177 | 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... | AlexCatarino/Lean | Tests/Engine/DataFeeds/Enumerators/MappingEventProviderTests.cs | https://github.com/AlexCatarino/Lean/blob/HEAD/Tests/Engine/DataFeeds/Enumerators/MappingEventProviderTests.cs | ghcode:00176:03b895d4c018 | apache-2.0 | codeparrot/github-code | 03b895d4c0188256cc31887771be1d14e15efbf6d8e34bfb48194aae61b8aa98 | 0.75 | testing_debugging_repair_refactoring | 547 | false | 2026-07-17 |
using System.Threading.Tasks;
using Nest;
using Tests.Framework;
using static Tests.Framework.UrlTester;
namespace Tests.XPack.Security.Role.DeleteRole
{
public class DeleteRoleUrlTests : IUrlTests
{
[U] public async Task Urls()
{
await DELETE("/_xpack/security/role/mpdreamz")
.Fluent(c => c.DeleteRole("... | CSGOpenSource/elasticsearch-net | src/Tests/XPack/Security/Role/DeleteRole/DeleteRoleUrlTests.cs | https://github.com/CSGOpenSource/elasticsearch-net/blob/HEAD/src/Tests/XPack/Security/Role/DeleteRole/DeleteRoleUrlTests.cs | ghcode:00176:5951d9eadaef | apache-2.0 | codeparrot/github-code | 5951d9eadaef97a39998f480245052b06bf5571f260160c56ded91753fa7b231 | 0.85 | testing_debugging_repair_refactoring | 144 | 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"); yo... | yingdachen/incubator-reef | lang/cs/Org.Apache.REEF.Tests/Functional/Group/BroadcastReduceTest.cs | https://github.com/yingdachen/incubator-reef/blob/HEAD/lang/cs/Org.Apache.REEF.Tests/Functional/Group/BroadcastReduceTest.cs | ghcode:00176:5c12bca2f99c | apache-2.0 | codeparrot/github-code | 5c12bca2f99cb82fba6cf6608411389caf0e8e99e9985552fda7edb971dc9f34 | 0.75 | testing_debugging_repair_refactoring | 1,020 | false | 2026-07-17 |
using BenchmarkDotNet.Validators;
using JetBrains.Annotations;
namespace BenchmarkDotNet.Attributes
{
[PublicAPI]
public class ExecutionValidatorAttribute : ValidatorConfigBaseAttribute
{
public ExecutionValidatorAttribute()
: this(true) { }
public ExecutionValidatorAttribute(... | ig-sinicyn/BenchmarkDotNet | src/BenchmarkDotNet/Attributes/Validators/ExecutionValidatorAttribute.cs | https://github.com/ig-sinicyn/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Attributes/Validators/ExecutionValidatorAttribute.cs | ghcode:00176:90ff010bf29b | mit | codeparrot/github-code | 90ff010bf29b8dd05731f600d50425b96e77e9a614d478dff66d6e11c02440e3 | 0.75 | testing_debugging_repair_refactoring | 83 | false | 2026-07-17 |
using System.Linq;
using System.Xml.Linq;
using Should;
using Xunit;
namespace Cassette
{
public class BundleSerializer_Tests
{
class TestableBundleSerializer : BundleSerializer<TestableBundle>
{
public TestableBundleSerializer(XContainer container) : base(container)
... | andrewdavey/cassette | src/Cassette.UnitTests/BundleSerializer.cs | https://github.com/andrewdavey/cassette/blob/HEAD/src/Cassette.UnitTests/BundleSerializer.cs | ghcode:00176:eba4a70617bb | mit | codeparrot/github-code | eba4a70617bb4c8179f9b8a7de4f54ec61ddb19d3b306de96ae342143aafa326 | 0.75 | testing_debugging_repair_refactoring | 671 | 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.Net;
using System.Net.Http;
using System.Net.Test.Common;
using System.Threading;
using S... | BrennanConroy/corefx | src/System.Net.Http.WinHttpHandler/tests/FunctionalTests/WinHttpHandlerTest.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Net.Http.WinHttpHandler/tests/FunctionalTests/WinHttpHandlerTest.cs | ghcode:00176:2cc6c3016aba | mit | codeparrot/github-code | 2cc6c3016abadc618b9fee1a019dde256219b4cdbf38f82e15cd1ba6c117cc7d | 0.95 | testing_debugging_repair_refactoring | 1,234 | false | 2026-07-17 |
using NServiceKit.ServiceHost;
using NServiceKit.ServiceInterface.Auth;
using NServiceKit.Text;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Globalization;
namespace NServiceKit.Common.Tests.OAuth
{
/// <summary>An authentication user session tests.</summary>
[TestFixture... | NServiceKit/NServiceKit | tests/NServiceKit.Common.Tests/OAuth/OAuthUserSessionTests.cs | https://github.com/NServiceKit/NServiceKit/blob/HEAD/tests/NServiceKit.Common.Tests/OAuth/OAuthUserSessionTests.cs | ghcode:00176:f349335e2772 | bsd-3-clause | codeparrot/github-code | f349335e27726a4202026f724ce21929e35aded785903dff08a81c929dfbd9bc | 0.85 | testing_debugging_repair_refactoring | 3,074 | 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.IO;
using System.Runtime.Serialization.Formatters.Binary;
using Microsoft.Build.Collections;
using Xunit;
u... | sean-gilliam/msbuild | src/Shared/UnitTests/CopyOnWriteDictionary_Tests.cs | https://github.com/sean-gilliam/msbuild/blob/HEAD/src/Shared/UnitTests/CopyOnWriteDictionary_Tests.cs | ghcode:00176:6b1266c97a8f | mit | codeparrot/github-code | 6b1266c97a8f797f2d06b9f304e31fa874b3defbe1130ab4f98ff7f27928c280 | 0.85 | testing_debugging_repair_refactoring | 1,476 | 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/Engine/DefaultBrokerageMessageHandler.cs | https://github.com/StefanoRaggi/Lean/blob/HEAD/Tests/Engine/DefaultBrokerageMessageHandler.cs | ghcode:00176:0cb08f03ac97 | apache-2.0 | codeparrot/github-code | 0cb08f03ac9795a8cd34f0519b80a39911259717de0efe0a8e06af4d40bfa159 | 0.85 | testing_debugging_repair_refactoring | 750 | 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.Diagnostics;
namespace System.Net.Sockets
{
public partial class SocketAsyncEventArgs : EventArgs,... | alphonsekurian/corefx | src/System.Net.Sockets/src/System/Net/Sockets/SocketAsyncEventArgs.Unix.cs | https://github.com/alphonsekurian/corefx/blob/HEAD/src/System.Net.Sockets/src/System/Net/Sockets/SocketAsyncEventArgs.Unix.cs | ghcode:00176:2fbcb4a7efe8 | mit | codeparrot/github-code | 2fbcb4a7efe86b049f23eed1c0118ff215bd2aa383d3121b2f0e3c6620cd1801 | 0.95 | testing_debugging_repair_refactoring | 2,027 | false | 2026-07-17 |
using System;
using System.Linq;
using Nop.Core.Configuration;
using Nop.Core.Infrastructure;
using Nop.Services.Events;
using NUnit.Framework;
namespace Nop.Web.MVC.Tests.Events
{
[TestFixture]
public class EventsTests
{
private NopEngine _engine;
private IEventPublisher _eventPublisher;
... | jornfilho/nopCommerce | source/Tests/Nop.Web.MVC.Tests/Events/EventsTests.cs | https://github.com/jornfilho/nopCommerce/blob/HEAD/source/Tests/Nop.Web.MVC.Tests/Events/EventsTests.cs | ghcode:00176:f12c5075fa2d | apache-2.0 | codeparrot/github-code | f12c5075fa2d7278b0366d6af43ae777d490aea905f651e6dc00f02b25fc697f | 0.85 | testing_debugging_repair_refactoring | 237 | 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.Reflection;
using Xunit.Sdk;
namespace Microsoft.VisualStudio.IntegrationTest.Utilities
{
/// <su... | CyrusNajmabadi/roslyn | src/VisualStudio/IntegrationTest/TestUtilities/CaptureTestNameAttribute.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/VisualStudio/IntegrationTest/TestUtilities/CaptureTestNameAttribute.cs | ghcode:00176:ae53b0c06744 | mit | codeparrot/github-code | ae53b0c067446c713d07088c66226a52b9b73af537cee0946770bc56b6179be4 | 0.85 | testing_debugging_repair_refactoring | 244 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="PrimitiveValuesRoundtripAtomTests.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.TDD.Tests/Roundtripping/Atom/PrimitiveValuesRoundtripAtomTests.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Tests/OData.TDD.Tests/Roundtripping/Atom/PrimitiveValuesRoundtripAtomTests.cs | ghcode:00176:0de80cc56e58 | mit | codeparrot/github-code | 0de80cc56e5837e3f4400022fbc980b1cdd8c30d85ce4dad6866863d3ada6e21 | 0.95 | testing_debugging_repair_refactoring | 2,218 | false | 2026-07-17 |
using System;
namespace Octokit.Tests.Conventions
{
public class InterfaceNotFoundException : Exception
{
public InterfaceNotFoundException() { }
public InterfaceNotFoundException(string type)
: base(CreateMessage(type))
{ }
public InterfaceNotFoundException(strin... | shiftkey/octokit.net | Octokit.Tests.Conventions/Exception/InterfaceNotFoundException.cs | https://github.com/shiftkey/octokit.net/blob/HEAD/Octokit.Tests.Conventions/Exception/InterfaceNotFoundException.cs | ghcode:00176:ddf496a21e41 | mit | codeparrot/github-code | ddf496a21e412309acf6bf35963f1e12876ceb049330ae662aa8e07cdb8fd8d8 | 0.75 | testing_debugging_repair_refactoring | 109 | 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.Diagnostics;
using System.Security.Cryptography;
namespace Internal.Cryptography
{
internal static class Helpers
{
public static byte[] Cl... | destinyclown/corefx | src/System.Security.Cryptography.DeriveBytes/src/Internal/Cryptography/Helpers.cs | https://github.com/destinyclown/corefx/blob/HEAD/src/System.Security.Cryptography.DeriveBytes/src/Internal/Cryptography/Helpers.cs | ghcode:00176:56cf83197bc5 | mit | codeparrot/github-code | 56cf83197bc5332053cb48466014f661d924108a20e0cbbc22557f88ba44b519 | 0.95 | testing_debugging_repair_refactoring | 251 | 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.IO;
using System.Reflection;
using System.Collections;
using Microsoft.Build.Framework;
using Microsoft.Build.Tasks;
using Microsoft.Build.U... | MetSystem/msbuild | src/XMakeTasks/UnitTests/Al_Tests.cs | https://github.com/MetSystem/msbuild/blob/HEAD/src/XMakeTasks/UnitTests/Al_Tests.cs | ghcode:00176:c61669ff413c | mit | codeparrot/github-code | c61669ff413c0bf95a763c464860e0f93beb397fcf877c38ca38af9607990787 | 0.85 | testing_debugging_repair_refactoring | 3,989 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using Xunit;
using Xunit.Abstractions;
namespace System.Numerics.Tests
{
public class PerformanceTests
{
private readonly Random _random;
private readonly ITestOutputHelper _output;
public PerformanceTests(ITestOutputHelper output)
{
... | comdiv/corefx | src/System.Runtime.Numerics/tests/BigInteger/PerformanceTests.cs | https://github.com/comdiv/corefx/blob/HEAD/src/System.Runtime.Numerics/tests/BigInteger/PerformanceTests.cs | ghcode:00176:d1168ec23ca8 | mit | codeparrot/github-code | d1168ec23ca89354b63f182df1dfcd2a0eb83b773de1caf80361ecbad75f9fa0 | 0.85 | testing_debugging_repair_refactoring | 2,339 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class TestResultRenderer
{
private static class Styles
{
public static readonly GUIStyle SucceedLabelStyle;
public static readonly GUIStyle FailedLabelStyle;
public static readonly GUIStyle Fail... | markmandel/paddle-soccer | unity/Assets/Plugins/Editor/UnityTestTools/IntegrationTestsFramework/TestRunner/TestResultRenderer.cs | https://github.com/markmandel/paddle-soccer/blob/HEAD/unity/Assets/Plugins/Editor/UnityTestTools/IntegrationTestsFramework/TestRunner/TestResultRenderer.cs | ghcode:00176:ea9d58656707 | apache-2.0 | codeparrot/github-code | ea9d586567072c40fbe46ebdadd73ca7601c7aa9dd90f1f52191c6bbb286e104 | 0.75 | testing_debugging_repair_refactoring | 553 | false | 2026-07-17 |
using DavidLievrouw.Voter.Api.Users.Models;
using DavidLievrouw.Voter.Security;
using FakeItEasy;
using NUnit.Framework;
namespace DavidLievrouw.Voter.Api.Users.Validation {
[TestFixture]
public class LoginLocalUserRequestValidatorTests {
LoginLocalUserRequestValidator _sut;
[SetUp]
public void SetUp... | DavidLievrouw/Voter | src/Voter.Tests/Api/Users/Validation/LoginLocalUserRequestValidatorTests.cs | https://github.com/DavidLievrouw/Voter/blob/HEAD/src/Voter.Tests/Api/Users/Validation/LoginLocalUserRequestValidatorTests.cs | ghcode:00176:5ee1fa01fce0 | mit | codeparrot/github-code | 5ee1fa01fce016608f40e1ee345256d5cdf48833d582ec57bebe35b3acb19802 | 0.75 | testing_debugging_repair_refactoring | 557 | false | 2026-07-17 |
//
// EnvelopeTests.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2020 .NET Foundation and Contributors
//
// 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 Sof... | jamie-dainton/MailKit | UnitTests/EnvelopeTests.cs | https://github.com/jamie-dainton/MailKit/blob/HEAD/UnitTests/EnvelopeTests.cs | ghcode:00176:d745ddfaaa1d | mit | codeparrot/github-code | d745ddfaaa1d5a61da648a1c5a8dba8299af6843baa57f640b551bf71f62adf8 | 0.85 | testing_debugging_repair_refactoring | 1,762 | false | 2026-07-17 |
//===============================================================================
// TinyIoC
//
// An easy to use, hassle free, Inversion of Control Container for small projects
// and beginners alike.
//
// http://hg.grumpydev.com/tinyioc
//======================================================================... | grumpydev/TinyIoC | tests/TinyIoC.Tests/TinyIoCTests.cs | https://github.com/grumpydev/TinyIoC/blob/HEAD/tests/TinyIoC.Tests/TinyIoCTests.cs | ghcode:00176:33c19a0f6e5a | mit | codeparrot/github-code | 33c19a0f6e5aa97fe78b47e319a4cc8c85173224c278244917ff7433a49dd032 | 0.65 | testing_debugging_repair_refactoring | 27,061 | false | 2026-07-17 |
using System.Linq;
using FluentAssertions;
using NUnit.Framework;
namespace Nerdle.Ensure.Tests
{
[TestFixture]
public class When_adding_new_extension_methods
{
[Test]
public void All_types_should_be_in_the_base_namespace_to_make_things_easy_for_consumers()
{
var types ... | edpollitt/Nerdle.Ensure | Nerdle.Ensure.Tests/When_adding_new_extension_methods.cs | https://github.com/edpollitt/Nerdle.Ensure/blob/HEAD/Nerdle.Ensure.Tests/When_adding_new_extension_methods.cs | ghcode:00176:38929eee20a7 | mit | codeparrot/github-code | 38929eee20a7348d2954f9cda93c67c86070dfbd57730228909dacf73d7586c1 | 0.6 | testing_debugging_repair_refactoring | 129 | false | 2026-07-17 |
namespace Miruken.Tests.Infrastructure
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Miruken.Infrastructure;
[TestClass]
public class TypedKeyedCollectionTests
{
[TestMethod]
public void Should_Add_Item()
{
var items = new TypeKey... | Miruken-DotNet/Miruken | Test/Miruken.Tests/Infrastructure/TypedKeyedCollectionTests.cs | https://github.com/Miruken-DotNet/Miruken/blob/HEAD/Test/Miruken.Tests/Infrastructure/TypedKeyedCollectionTests.cs | ghcode:00176:50500d8460a9 | mit | codeparrot/github-code | 50500d8460a9b039c7bd7430a15d3d2baf0adc95acb61686b9e1f43b454c3070 | 0.75 | testing_debugging_repair_refactoring | 287 | false | 2026-07-17 |
using System.IO;
using System.Linq;
using System.Reflection;
using CoreImage;
using Foundation;
using NUnit.Framework;
using UIKit;
namespace Tesseract.iOS.Test
{
[TestFixture]
public class TesseractApiRecogniseTest
{
[SetUp]
public void Setup ()
{
_api = new TesseractA... | halkar/Tesseract.Xamarin | UnitTest/Tesseract.iOS.Test/TesseractApiRecogniseTest.cs | https://github.com/halkar/Tesseract.Xamarin/blob/HEAD/UnitTest/Tesseract.iOS.Test/TesseractApiRecogniseTest.cs | ghcode:00176:369db99163d7 | mit | codeparrot/github-code | 369db99163d7398bd6a60367f7e04b730f57b5a07a3a78493bbb6ab79f8ec2b5 | 0.6 | testing_debugging_repair_refactoring | 1,496 | false | 2026-07-17 |
using System.Collections.Generic;
using CMS.Tests;
using CMS.Ecommerce;
using CMS.Globalization;
using DancingGoat.Repositories;
using DancingGoat.Services;
using Kentico.Ecommerce;
using NSubstitute;
using NUnit.Framework;
namespace DancingGoat.Tests.Unit
{
[TestFixture]
public class CheckoutServiceTests ... | Kentico/Mvc | test/DancingGoat.Tests/Unit/CheckoutServiceTests.cs | https://github.com/Kentico/Mvc/blob/HEAD/test/DancingGoat.Tests/Unit/CheckoutServiceTests.cs | ghcode:00176:5ceca7345004 | mit | codeparrot/github-code | 5ceca73450042acc45310e863a8eb81ca908175d7c6869355c41e14be8a9aa9c | 0.75 | testing_debugging_repair_refactoring | 1,617 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace PhysX.Test
{
[TestClass]
public class HeightFieldSimpleTests : Test
{
private HeightField _heightField;
private PhysicsAndSceneTestUnit _physics;
[TestInitialize]... | stilldesign/PhysX.Net | PhysX.Net/Test/HeightField/HeightFieldSimpleTests.cs | https://github.com/stilldesign/PhysX.Net/blob/HEAD/PhysX.Net/Test/HeightField/HeightFieldSimpleTests.cs | ghcode:00176:3669ea671d9f | mit | codeparrot/github-code | 3669ea671d9f4cef8e21017e70a8e705bd8e24b8ba16b429bd0c48aff2e9e036 | 0.85 | testing_debugging_repair_refactoring | 554 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using ExRam.Gremlinq.Core.Models;
using Xunit;
using Xunit.Abstractions;
using static ExRam.Gremlinq.Core.GremlinQuerySource;
namespace ExRam.Gremlinq.Core.Tests
{
public class Issue219 : GremlinqTestBase
{
public Issue219(ITestOutputHelper testOutputHelper)... | ExRam/ExRam.Gremlinq | test/ExRam.Gremlinq.Core.Tests/Issues/Github/Issue219.cs | https://github.com/ExRam/ExRam.Gremlinq/blob/HEAD/test/ExRam.Gremlinq.Core.Tests/Issues/Github/Issue219.cs | ghcode:00176:b1905199fea8 | mit | codeparrot/github-code | b1905199fea80884e4358d482351723dd94cc8660686d52dd87e47aad5dec71b | 0.75 | testing_debugging_repair_refactoring | 254 | false | 2026-07-17 |
using FrannHammer.NetCore.WebApi.Models;
using FrannHammer.WebApi.Specs;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using TechTalk.SpecFlow;
using static FrannHammer.Domain.PropertyParsers.MoveDataNameConstants;
using static FrannHammer.NetCore.We... | Frannsoft/FrannHammer | src/Tests/FrannHammer.WebApi.Specs/Moves/MovesApiSteps.cs | https://github.com/Frannsoft/FrannHammer/blob/HEAD/src/Tests/FrannHammer.WebApi.Specs/Moves/MovesApiSteps.cs | ghcode:00176:f50e40640ce5 | mit | codeparrot/github-code | f50e40640ce5adcc1ef824dade089b82da9ecf8d654412b3c71d48f171f40206 | 0.85 | testing_debugging_repair_refactoring | 742 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="StreamRepresentationBaseTest.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
// </copyright>
// -------------------------------------------... | NaosProject/Naos.Database | Naos.Database.Domain.Test/Models/Classes/Representation/StreamRepresentationBaseTest.cs | https://github.com/NaosProject/Naos.Database/blob/HEAD/Naos.Database.Domain.Test/Models/Classes/Representation/StreamRepresentationBaseTest.cs | ghcode:00176:5944b0f1af6d | mit | codeparrot/github-code | 5944b0f1af6d875bcdaa3d02aa4e32f2423812b57275743aaada9f7669127317 | 0.7 | testing_debugging_repair_refactoring | 222 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) Microsoft Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to us... | heaths/psmsi | test/PowerShell.Test/PowerShell/Commands/GetSummaryInfoCommandTests.cs | https://github.com/heaths/psmsi/blob/HEAD/test/PowerShell.Test/PowerShell/Commands/GetSummaryInfoCommandTests.cs | ghcode:00176:74c26a990616 | mit | codeparrot/github-code | 74c26a990616d78521e065ae1bb2eaaf861fc56b2daa2e6e35feb77b68e797d1 | 0.85 | testing_debugging_repair_refactoring | 1,622 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using TwoCheckout;
namespace Twocheckout.Tests
{
public class TestCharge
{
// Token
String token = "token";
// Set API Key
[Test]
public void _002_SetKey()
{
TwoCheckoutConfig.Pr... | 2Checkout/2checkout-dotnet | TwoCheckout.Tests/TestCharge.cs | https://github.com/2Checkout/2checkout-dotnet/blob/HEAD/TwoCheckout.Tests/TestCharge.cs | ghcode:00176:02c3489db499 | mit | codeparrot/github-code | 02c3489db499078150f49caf5268e346bf3bb98b5473fe161b4f6b67afc71ba4 | 0.85 | testing_debugging_repair_refactoring | 555 | false | 2026-07-17 |
using System.Linq;
using System.Diagnostics.Contracts;
class A
{
public void WarningInTryBlock(string s)
{
try
{
// This tool will show another warning for this case!
Contract.Requires(s != null);
}
finally {}
}
} | Diagonactic/ReSharperContractExtensions | ReSharper.ContractExtensions.Tests/test/data/Daemon/PreconditionAnalyzers/MalformedContractStatements/WarningDebug.cs | https://github.com/Diagonactic/ReSharperContractExtensions/blob/HEAD/ReSharper.ContractExtensions.Tests/test/data/Daemon/PreconditionAnalyzers/MalformedContractStatements/WarningDebug.cs | ghcode:00176:de79ea743dd4 | mit | codeparrot/github-code | de79ea743dd46401186cf40785190ca7e00feda85e30351e21753303ff80dddd | 0.85 | testing_debugging_repair_refactoring | 57 | false | 2026-07-17 |
using NBitcoin;
using NUnit.Framework;
using System.Threading.Tasks;
namespace Lykkex.WalletBackend.Tests
{
[TestFixture]
public class GenerateNewWalletTests : TaskTestsCommon
{
[Test]
public async Task GenerateNewWalletSuccessfully()
{
var newWallet = await GenerateNew... | LykkeCity/WalletBackEnd | Tests/GenerateNewWalletTests.cs | https://github.com/LykkeCity/WalletBackEnd/blob/HEAD/Tests/GenerateNewWalletTests.cs | ghcode:00176:a55ad159ff6f | mit | codeparrot/github-code | a55ad159ff6f66b342e3fc4c5b911b3fa0313d8abc92a5df66245af473204209 | 0.75 | testing_debugging_repair_refactoring | 459 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Text;
using u8 = System.Byte;
namespace System.Data.SQLite
{
using sqlite3_int64 = System.Int64;
using sqlite3_stmt = Sqlite3.Vdbe;
internal partial class Sqlite3
{
/*
** 2005 July 8
**
** The author disclaims copyright to this source code. In place o... | jcwmoore/athena | Athena.SQLite/src/analyze_c.cs | https://github.com/jcwmoore/athena/blob/HEAD/Athena.SQLite/src/analyze_c.cs | ghcode:00176:2be1ca9dc109 | mit | codeparrot/github-code | 2be1ca9dc109d07284f182b17f6db6fb5efc67951afa71d2af79949b29b311c7 | 0.8 | testing_debugging_repair_refactoring | 8,994 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SecurityConsultantCore.Domain.Basic;
using SecurityConsultantCore.Security.Alarms;
using System.Diagnostics.CodeAnalysis;
using SecurityConsultantCore.Test.Engine;
namespace SecurityConsultantCore.Test.Security.Alarms
{
[TestClass, ExcludeFromCodeCoverage]... | EnigmaDragons/SecurityConsultantCore | test/SecurityConsultantCore.Test/Security/Alarms/BasicAlarmTests.cs | https://github.com/EnigmaDragons/SecurityConsultantCore/blob/HEAD/test/SecurityConsultantCore.Test/Security/Alarms/BasicAlarmTests.cs | ghcode:00176:2ca8b710ba2a | mit | codeparrot/github-code | 2ca8b710ba2a992f95f85a30e331fdc253bed615c97190791788c6ffc88608a0 | 0.75 | testing_debugging_repair_refactoring | 254 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
// For more information on enabling Web API for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
namespace ApiTdtItForum.Controllers
{
[Route("[controller]")]
pu... | thanhtdt/TDT-Spring-2017 | TdtItForum-old/src/ApiTdtItForum/Controllers/TestController.cs | https://github.com/thanhtdt/TDT-Spring-2017/blob/HEAD/TdtItForum-old/src/ApiTdtItForum/Controllers/TestController.cs | ghcode:00176:e721f407a6d5 | mit | codeparrot/github-code | e721f407a6d557bc2f66aa9a6918eeed2245e1d69e74a68e4a30aa1ae1492175 | 0.85 | testing_debugging_repair_refactoring | 99 | false | 2026-07-17 |
#region PDFsharp - A .NET library for processing PDF
//
// Authors:
// Stefan Lange (mailto:Stefan.Lange@pdfsharp.com)
//
// Copyright (c) 2005-2009 empira Software GmbH, Cologne (Germany)
//
// http://www.pdfsharp.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is hereby granted, free of charge, to ... | HiraokaHyperTools/PDFsharp | PDFsharp/code/PdfSharp/PdfSharp.Pdf.IO/PdfReader.cs | https://github.com/HiraokaHyperTools/PDFsharp/blob/HEAD/PDFsharp/code/PdfSharp/PdfSharp.Pdf.IO/PdfReader.cs | ghcode:00176:dfc05273bae1 | mit | codeparrot/github-code | dfc05273bae1d0dfedacb8b759844bbed6994955d816a21a5e899e3d3537f7bd | 0.7 | testing_debugging_repair_refactoring | 3,577 | false | 2026-07-17 |
using Chemistry;
using EngineLayer;
using EngineLayer.ClassicSearch;
using MassSpectrometry;
using MzLibUtil;
using NUnit.Framework;
using Proteomics;
using Proteomics.ProteolyticDigestion;
using System;
using System.Collections.Generic;
using System.Linq;
using TaskLayer;
namespace Test
{
[TestFixture]
publi... | XRSHEERAN/MetaMorpheus | Test/CoIsolationTests.cs | https://github.com/XRSHEERAN/MetaMorpheus/blob/HEAD/Test/CoIsolationTests.cs | ghcode:00176:ec3cd634e3b2 | mit | codeparrot/github-code | ec3cd634e3b25559c3169f707fb7b12edd1402aa9585564ac79dd179d6e7d171 | 0.75 | testing_debugging_repair_refactoring | 1,359 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Diagnostics;
using Moritz.Spec;
namespace Moritz.Midi
{
public class BasicMidiChord
{
public BasicMidiChord(int channel, MidiChord midiChord, BasicMidiChordDef bmcd, int realMsDuration)
{
MidiChord = midiChord;
//MsPosition... | notator/Moritz | Moritz.Midi/BasicMidiChord.cs | https://github.com/notator/Moritz/blob/HEAD/Moritz.Midi/BasicMidiChord.cs | ghcode:00176:5e7ff02743a1 | mit | codeparrot/github-code | 5e7ff02743a1694d02eb705e6e37788760c4c4be71556750da16520a13488252 | 0.7 | testing_debugging_repair_refactoring | 742 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Sniper.Tests.Integration.Helpers;
using Xunit;
namespace Sniper.Tests.Integration.Clients
{
public class ReferencesClientTests : IDisposable
{
private readonly IGitHubClient _github;
private readonly IReferencesClient _fixture;
private ... | bluetread/sniper | Sniper.Tests.Integration/Clients/ReferencesClientTests.cs | https://github.com/bluetread/sniper/blob/HEAD/Sniper.Tests.Integration/Clients/ReferencesClientTests.cs | ghcode:00176:cd2c24b33114 | mit | codeparrot/github-code | cd2c24b33114d9cc461dc769938b4c053110c1bf718e6f19282ccdfaa09ec09a | 0.85 | testing_debugging_repair_refactoring | 2,731 | false | 2026-07-17 |
using System.Numerics;
using Xunit;
namespace LinqToCompute.Tests
{
public class Matrix4x4Test
{
[Fact]
public void MemoryLayout()
{
Matrix4x4[] input =
{
new Matrix4x4(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16),
new M... | discosultan/LinqToCompute | Tests/Matrix4x4Test.cs | https://github.com/discosultan/LinqToCompute/blob/HEAD/Tests/Matrix4x4Test.cs | ghcode:00176:b4712a7e57a2 | mit | codeparrot/github-code | b4712a7e57a2ee4b751ae278c3b2e7151f57af62c39d94a0cf82b9ab85c4d0ed | 0.6 | testing_debugging_repair_refactoring | 1,065 | false | 2026-07-17 |
namespace Microsoft.Protocols.TestSuites.MS_ASNOTE
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Microsoft.Protocols.TestSuites.Common;
using Microsoft.Protocols.TestSuites.Common.DataStructures;
using Microsoft.Protocols.TestTools;
usi... | OfficeDev/Interop-TestSuites | ExchangeActiveSync/Source/MS-ASNOTE/TestSuite/TestSuiteBase.cs | https://github.com/OfficeDev/Interop-TestSuites/blob/HEAD/ExchangeActiveSync/Source/MS-ASNOTE/TestSuite/TestSuiteBase.cs | ghcode:00176:eb980f0f39aa | mit | codeparrot/github-code | eb980f0f39aa29a48e8968defc4af4b81b7345d323307045a7f4e8771b2fb331 | 0.85 | testing_debugging_repair_refactoring | 2,858 | false | 2026-07-17 |
using System.Linq;
using NUnit.Framework;
namespace ReverseWordsInSentences
{
[TestFixture]
class Tests
{
[TestCase("", "")]
[TestCase("Hello World Roberto", "Roberto World Hello")]
[TestCase("abc abc", "abc abc")]
[TestCase("foo bar", "bar foo")]
[TestCase("foos ba... | rcarrillopadron/reverse-words-in-sentences | ReverseWordsInSentences/Tests.cs | https://github.com/rcarrillopadron/reverse-words-in-sentences/blob/HEAD/ReverseWordsInSentences/Tests.cs | ghcode:00176:62b887c772aa | mit | codeparrot/github-code | 62b887c772aa8035e96758c8eed6c5b3e0a473d024fac5ca3dd5908ba371ec70 | 0.85 | testing_debugging_repair_refactoring | 226 | false | 2026-07-17 |
using AutoMapper;
using Marvel_Catalog_App.Data.Models;
using Marvel_Catalog_App.Data.Models.Contracts;
using MarvelCatalog_App.Areas.Admin.Controllers;
using MarvelCatalog_App.Areas.Admin.Models;
using MarvelCatalog_App.Services.Contracts;
using MarvelCatalog_App.ViewModels;
using Moq;
using NUnit.Framework;
using Sy... | PowerfullChild/MarvelCatalog | MarvelCatalog-App/MarvelCatalog-App.Tests/Admin/ControllersTest/CharactersAdministrationControllerTests/GetAllCharacters_Should.cs | https://github.com/PowerfullChild/MarvelCatalog/blob/HEAD/MarvelCatalog-App/MarvelCatalog-App.Tests/Admin/ControllersTest/CharactersAdministrationControllerTests/GetAllCharacters_Should.cs | ghcode:00176:72e091cf9084 | mit | codeparrot/github-code | 72e091cf90840185a35929c9404711b9840290802ef48d97c595ed3624fd30fb | 0.7 | testing_debugging_repair_refactoring | 481 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using App.Api.Controllers;
using App.Api.Models;
using App.Common.Db;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Xunit;
namespace App.Functional.Api.Controllers{
public class PostsControllerTest : IClass... | caleblloyd/dotnet-core-boilerplate | dotnet/tests/App.Functional/Api/Controllers/PostsControllerTest.cs | https://github.com/caleblloyd/dotnet-core-boilerplate/blob/HEAD/dotnet/tests/App.Functional/Api/Controllers/PostsControllerTest.cs | ghcode:00176:40a1a016ca43 | mit | codeparrot/github-code | 40a1a016ca43cd54717100da5b2110d277a77eeb98cc74f1143f9384bce8c30e | 0.95 | testing_debugging_repair_refactoring | 677 | 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.Diagnostics;
using Internal.Text;
using ILCompiler.DependencyAnalysisFramework;
using I... | shrah/corert | src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/GenericTypesTemplateMap.cs | https://github.com/shrah/corert/blob/HEAD/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/GenericTypesTemplateMap.cs | ghcode:00176:f1c4a24c1b9d | mit | codeparrot/github-code | f1c4a24c1b9d242b6bbb9dfe883ce1e9d2ebc63537d681224bcdaaac8447b14d | 0.95 | testing_debugging_repair_refactoring | 1,364 | false | 2026-07-17 |
namespace AngleSharp.Core.Tests.Html
{
using AngleSharp.Dom;
using NUnit.Framework;
[TestFixture]
public class HtmlStyleTests
{
[Test]
public void StyleWithCommentThatContainsClosingStyleTag()
{
var doc = (@"<!doctype html><style><!--...</style>...--></style>").... | AngleSharp/AngleSharp | src/AngleSharp.Core.Tests/Html/HtmlStyle.cs | https://github.com/AngleSharp/AngleSharp/blob/HEAD/src/AngleSharp.Core.Tests/Html/HtmlStyle.cs | ghcode:00176:3ff9d2fb0f8c | mit | codeparrot/github-code | 3ff9d2fb0f8ca36e210b68140af99cdd80c5c21d3a916b3aea13fc2e1f18fa5b | 0.6 | testing_debugging_repair_refactoring | 5,339 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Appst.Reactive.Tests.Observable {
[TestFixture]
public class RxObservable {
[Test]
public void TestMethod() {
// TODO... | ASoftTech/Appst.IO | Tests/Appst.Reactive.Tests/Observable/RxObservable.cs | https://github.com/ASoftTech/Appst.IO/blob/HEAD/Tests/Appst.Reactive.Tests/Observable/RxObservable.cs | ghcode:00176:7ca178a9e145 | mit | codeparrot/github-code | 7ca178a9e14543ef816c38491b488e1aaad4623561d8de5b5365319df6f5a896 | 0.6 | testing_debugging_repair_refactoring | 78 | 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.Threading;
public class MockAsyncResult : IAsyncResult
{
public MockAsyncRes... | iamjasonp/wcf | src/System.Private.ServiceModel/tests/Common/Unit/MockAsyncResult.cs | https://github.com/iamjasonp/wcf/blob/HEAD/src/System.Private.ServiceModel/tests/Common/Unit/MockAsyncResult.cs | ghcode:00176:7972e77699a9 | mit | codeparrot/github-code | 7972e77699a9ad9d8f453c75aff4829283076453b97c6be140786489467f0bb6 | 0.95 | testing_debugging_repair_refactoring | 250 | false | 2026-07-17 |
using NUnit.Framework;
using StructureMap;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bootstrappers.Tests
{
public class MyStructureMapBootstrapper : StructureMapBootstrapper<TestRootViewModel>, ITestBootstrapper
{
publ... | cH40z-Lord/Stylet | Bootstrappers/Tests/StructureMapTests.cs | https://github.com/cH40z-Lord/Stylet/blob/HEAD/Bootstrappers/Tests/StructureMapTests.cs | ghcode:00176:5b7ee49b39c0 | mit | codeparrot/github-code | 5b7ee49b39c04d6fc3e6f906e7fc104b21f26245be6e252aae638e52d2458875 | 0.85 | testing_debugging_repair_refactoring | 307 | false | 2026-07-17 |
using DevExpress.ExpressApp.Web;
using FakeItEasy;
using FluentAssertions;
using Microsoft.Practices.ServiceLocation;
using Microsoft.VisualStudio.TestTools.UnitTesting;
// ReSharper disable SuggestUseVarKeywordEvident
namespace XMVVM.ExpressApp.Web.Test
{
[TestClass]
public class XMVVMWebApplicationTests
... | biohazard999/XafMVVM | src/XMVVM/XMVVM.ExpressApp/XMVVM.ExpressApp.Web.Test/XMVVMWebApplicationTests.cs | https://github.com/biohazard999/XafMVVM/blob/HEAD/src/XMVVM/XMVVM.ExpressApp/XMVVM.ExpressApp.Web.Test/XMVVMWebApplicationTests.cs | ghcode:00176:9a0327cb4755 | mit | codeparrot/github-code | 9a0327cb47550b631fa07fed96c4f68296b1d9bbc97329ce8093e97529fb943d | 0.75 | testing_debugging_repair_refactoring | 255 | false | 2026-07-17 |
using System;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using System.Threading.Tasks;
using System.Threading;
using Microsoft.AspNetCore.TestHost;
using System.Net.Http;
using System.Net;
using System.Text;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Diag... | DigDes/SoapCore | src/SoapCore.Benchmark/Program.cs | https://github.com/DigDes/SoapCore/blob/HEAD/src/SoapCore.Benchmark/Program.cs | ghcode:00176:3ed5b476d6f4 | mit | codeparrot/github-code | 3ed5b476d6f4457473b7f2bcc1693bfc0ba2832b4a7caafc45bec29f1bd9e70f | 0.85 | testing_debugging_repair_refactoring | 628 | false | 2026-07-17 |
using Basics.Algorithms.Sorts;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Basics.Algorithms.Tests
{
[TestClass]
public class MergesortTests
{
[TestMethod]
public void Mergesort_Int_TestOnEmptyArray()
{
var array = new int[] { };
Merge.Sort... | MSayfullin/Basics | Basics.Algorithms.Tests/MergesortTests.cs | https://github.com/MSayfullin/Basics/blob/HEAD/Basics.Algorithms.Tests/MergesortTests.cs | ghcode:00176:c296ac60ad72 | mit | codeparrot/github-code | c296ac60ad72d22de7c1813d98cdc64b1b62969f1b3dc34205b456f578262442 | 0.75 | testing_debugging_repair_refactoring | 623 | false | 2026-07-17 |
using System;
using Xunit;
using Shouldly;
namespace Yobao.Testing
{
public class SmokeTest
{
[Fact]
public void WillPass()
{
1.ShouldBe(1);
}
}
}
| YoloDev/YOBAO | Tests/Yobao.Testing/SmokeTest.cs | https://github.com/YoloDev/YOBAO/blob/HEAD/Tests/Yobao.Testing/SmokeTest.cs | ghcode:00176:96614f5680ab | mit | codeparrot/github-code | 96614f5680ab0a75ab9a37f01a521f26229d394e6e5b1068c08b406ff3214cad | 0.75 | testing_debugging_repair_refactoring | 49 | false | 2026-07-17 |
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using RingCentral.Http;
namespace RingCentral.Test
{
[TestFixture]
public class RingOutTest : BaseTest
{
private const string RingOutEndPoint = "/restapi/v1.0/account/~/extension/~/ringout";
[Test]
public void CancelRingOut()
... | ringcentral/ringcentral-csharp | RingCentral.Test.Mock/RingOutTest.cs | https://github.com/ringcentral/ringcentral-csharp/blob/HEAD/RingCentral.Test.Mock/RingOutTest.cs | ghcode:00176:dd954f8c3242 | mit | codeparrot/github-code | dd954f8c32420803c52f778ae7df72201db0fbb757773d90603ca1d361e86026 | 0.75 | testing_debugging_repair_refactoring | 342 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Fluid.Ast;
using Fluid.Values;
using Microsoft.Extensions.Primitives;
using Xunit;
namespace Fluid.Tests
{
public class ForStatementTests
{
[Fact]
... | sebastienros/fluid | Fluid.Tests/ForStatementTests.cs | https://github.com/sebastienros/fluid/blob/HEAD/Fluid.Tests/ForStatementTests.cs | ghcode:00176:3f4384342e95 | mit | codeparrot/github-code | 3f4384342e9520064f82fc9b210531ebaac574eafbe30b36ce5018124f97d9cb | 0.75 | testing_debugging_repair_refactoring | 2,510 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Primitives;
using NuGet.Frameworks;
using Xunit;
namespace Microsoft.Net.Http.Headers
{... | aspnet/AspNetCore | src/Http/Headers/test/MediaTypeHeaderValueTest.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Http/Headers/test/MediaTypeHeaderValueTest.cs | ghcode:00176:e51de0361f14 | apache-2.0 | codeparrot/github-code | e51de0361f14639d9687e4ca6f7daa93bb7f5498bb9a26179e266288860d2c9c | 0.95 | testing_debugging_repair_refactoring | 8,955 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Net;
using System.Security.Principal;
using System.Text;
using Xunit;
namespace NuGet.Test.Integration.NuGetCommandLine
{
public class NuGetPushCommandTest
{
// Tests pushing to a source that is a... | OneGet/nuget | test/Test.Integration/NuGetCommandLine/NuGetPushCommandTest.cs | https://github.com/OneGet/nuget/blob/HEAD/test/Test.Integration/NuGetCommandLine/NuGetPushCommandTest.cs | ghcode:00176:4b68a70703a4 | apache-2.0 | codeparrot/github-code | 4b68a70703a4e856164d24f06bf475244d7e4c654c655343b3e98253e55dc86b | 0.7 | testing_debugging_repair_refactoring | 5,154 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using SuperSocket.SocketBase;
using SuperSocket.SocketBase.Config;
namespace SuperSocket.Test
{
[TestFixture]
public class AsyncSocketServerTest : SocketServerTest
{
protected ... | mdavid/SuperSocket | v1.4/Test/AsyncSocketServerTest.cs | https://github.com/mdavid/SuperSocket/blob/HEAD/v1.4/Test/AsyncSocketServerTest.cs | ghcode:00176:2986c2325b20 | apache-2.0 | codeparrot/github-code | 2986c2325b20bfa013fcd27367001f217fdd6f15a1ca331d81f17fb10ea578cf | 0.85 | testing_debugging_repair_refactoring | 163 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using Newtonsoft.Json.Linq;
namespace V3Sdk
{
[TestFixture ()]
public class V3SdkTest
{
private V3Sdk v3 = null;
public V3SdkTest()
{
string url = "http://v3-yorch.rhcloud.com/";
string key = "lYltuNtYYbYRFC7QWwHn9b5aH2UJMk1234567890";
v3 = V3Sdk.GetInstance (u... | yorch81/v3sdk_net | V3Sdk/V3SdkTest.cs | https://github.com/yorch81/v3sdk_net/blob/HEAD/V3Sdk/V3SdkTest.cs | ghcode:00176:e6da33610656 | apache-2.0 | codeparrot/github-code | e6da336106562ac1515cf0e658a5b60cfd3fa61da0f1e0dba257a9c0cb0f4795 | 0.6 | testing_debugging_repair_refactoring | 590 | false | 2026-07-17 |
using KoaBuilder.Views;
using Moq;
using NUnit.Framework;
using System.Linq;
using Telemachy.Koa.Core.Model;
using Telemachy.Koa.Core.Platform.Dialogs;
using Telemachy.Koa.Core.Services;
namespace UnitTests
{
[TestFixture]
public class AbilitiesViewModelTests
{
[SetUp]
protected void Setup... | dyledge/koa | UnitTests/AbilitiesViewModelTests.cs | https://github.com/dyledge/koa/blob/HEAD/UnitTests/AbilitiesViewModelTests.cs | ghcode:00176:eb564f8de56f | apache-2.0 | codeparrot/github-code | eb564f8de56fce2f9edf3681fe4917cadbeb9d2d79701f8dc0fd4c30c19ce69c | 0.75 | testing_debugging_repair_refactoring | 179 | false | 2026-07-17 |
using UnityEngine;
using UnityEditor;
using AGXUnity.Model;
using GUI = AGXUnity.Utils.GUI;
namespace AGXUnityEditor.Tools
{
[CustomTool( typeof( TrackWheel ) )]
public class TrackWheelTool : CustomTargetTool
{
public TrackWheel TrackWheel { get { return Targets[ 0 ] as TrackWheel; } }
public TrackWhe... | Algoryx/agxUnity | Editor/AGXUnityEditor/Tools/TrackWheelTool.cs | https://github.com/Algoryx/agxUnity/blob/HEAD/Editor/AGXUnityEditor/Tools/TrackWheelTool.cs | ghcode:00176:605f4d20cb3e | apache-2.0 | codeparrot/github-code | 605f4d20cb3e8050a5c2cdc111d1d7bfa771c79fc9aac987f07c4ddb231b3780 | 0.6 | testing_debugging_repair_refactoring | 334 | false | 2026-07-17 |
using RoboNui.RobotAdapter;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
using RoboNui.Core;
using System.Collections.Generic;
using Utilities.Messaging;
using log4net.Config;
namespace RoboNuiTest
{
/// <summary>
///This is a test class for RoboticArmSe... | yanatan16/RoboNUI | RoboticNaturalUserInterface/RoboNuiTest/RoboticArmServoControllerTest.cs | https://github.com/yanatan16/RoboNUI/blob/HEAD/RoboticNaturalUserInterface/RoboNuiTest/RoboticArmServoControllerTest.cs | ghcode:00176:ef4864adbcb7 | apache-2.0 | codeparrot/github-code | ef4864adbcb7bdb0f64417a9162957eea0eb5103d9dfd8ebcffd9f97c57d8cc2 | 0.7 | testing_debugging_repair_refactoring | 1,016 | false | 2026-07-17 |
//
// - PropertyTreeNodeWriterTest.cs -
//
// Copyright 2010 Carbonfrost Systems, Inc. (http://carbonfrost.com)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache... | Carbonfrost/ff-property-trees | test/Carbonfrost.Commons.PropertyTrees.Test/Src/Tests/PropertyTreeNodeWriterTest.cs | https://github.com/Carbonfrost/ff-property-trees/blob/HEAD/test/Carbonfrost.Commons.PropertyTrees.Test/Src/Tests/PropertyTreeNodeWriterTest.cs | ghcode:00176:61cb196f3504 | apache-2.0 | codeparrot/github-code | 61cb196f3504ba510e1f8acf40ea9c9d6e09cc35708ef1000530b99242f59988 | 0.95 | testing_debugging_repair_refactoring | 717 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace Microsoft.AspNetCore.Mvc
{
public class TypeFilterA... | aspnet/AspNetCore | src/Mvc/Mvc.Core/test/TypeFilterAttributeTest.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/Mvc.Core/test/TypeFilterAttributeTest.cs | ghcode:00176:d5e7677951c9 | apache-2.0 | codeparrot/github-code | d5e7677951c9af13895e8b71f695a42c80016fcb5f1d1098d8c92e3a48034f7d | 0.95 | testing_debugging_repair_refactoring | 640 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Safari;
using OpenQA.Selenium.PhantomJS;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.UI;
namespace FirstWebDriverProject
{
[TestFixture]
public class BaseTest
{
public IWebDriver drive... | dino993/SeleniumFull | SeleniumCSharp/FirstWebDriverProject/BaseTest.cs | https://github.com/dino993/SeleniumFull/blob/HEAD/SeleniumCSharp/FirstWebDriverProject/BaseTest.cs | ghcode:00176:13cc1b9c4d39 | apache-2.0 | codeparrot/github-code | 13cc1b9c4d395e35dfac0e30d60e4aec605d23337ac3c049c8ef88a3b3dd0788 | 0.7 | testing_debugging_repair_refactoring | 171 | false | 2026-07-17 |
/*
* Copyright 2015 ArenaNet, LLC.
*
* 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 ag... | arenanet/sprout-ioc | Sprout.IoC.Tests/ContextTest.cs | https://github.com/arenanet/sprout-ioc/blob/HEAD/Sprout.IoC.Tests/ContextTest.cs | ghcode:00176:b49d6b0c0e34 | apache-2.0 | codeparrot/github-code | b49d6b0c0e34567bfdc8e970a0c28faed02c5ca5edaa55c6f6bc0468df12cff9 | 0.7 | testing_debugging_repair_refactoring | 2,652 | false | 2026-07-17 |
/*
* Copyright 2015 Jan Tschada
*
* 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 ... | gisfromscratch/simplefeatureserver | WCF Simple Feature Server/Simple Feature Service/Simple Feature Datasource Testing/Fixtures/FeatureReaderFixture.cs | https://github.com/gisfromscratch/simplefeatureserver/blob/HEAD/WCF Simple Feature Server/Simple Feature Service/Simple Feature Datasource Testing/Fixtures/FeatureReaderFixture.cs | ghcode:00176:4fb309b9aa9f | apache-2.0 | codeparrot/github-code | 4fb309b9aa9f6176b079be0ac1bfdad1328fc94d6d8ade5c563a189cb03528c7 | 0.7 | testing_debugging_repair_refactoring | 348 | false | 2026-07-17 |
using NUnit.Framework;
namespace Rn.Mailer.CoreTestObjects
{
[TestFixture]
public class HackTest
{
[Test]
public void BogusTest_GivenRunningOnAppveyor_ShouldAllowBuildToPass()
{
// this test was created as a hack to allow the build to pass on Appveyor
... | rncode/Rn.Mailer | src/Rn.Mailer.CoreTestObjects/HackTest.cs | https://github.com/rncode/Rn.Mailer/blob/HEAD/src/Rn.Mailer.CoreTestObjects/HackTest.cs | ghcode:00176:0b2d6b412ec5 | apache-2.0 | codeparrot/github-code | 0b2d6b412ec52f14507fbbea5177f4b05497d6559679d282cd6f8aaf8b0ce4f0 | 0.85 | testing_debugging_repair_refactoring | 116 | false | 2026-07-17 |
using System;
using Nest;
using Take.Elephant.Memory;
using Xunit;
namespace Take.Elephant.Tests.Memory
{
[Trait("Category", nameof(Memory))]
public class MemoryGuidItemExpirableKeyMapFacts : GuidItemExpirableKeyMapFacts
{
public override IExpirableKeyMap<Guid, Item> Create()
{
... | takenet/elephant | src/Take.Elephant.Tests/Memory/MemoryGuidItemExpirableKeyMapFacts.cs | https://github.com/takenet/elephant/blob/HEAD/src/Take.Elephant.Tests/Memory/MemoryGuidItemExpirableKeyMapFacts.cs | ghcode:00176:e9be0b3a9c20 | apache-2.0 | codeparrot/github-code | e9be0b3a9c20112b29b92c960a388a9250b286b5ace0ea4ed8e156852f904a8d | 0.6 | testing_debugging_repair_refactoring | 98 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RosSharp.Slave;
using RosSharp.Topic;
using RosSharp.Transport;
namespace RosSharp.IntegrationTests
{
[TestClass]
public class SlaveTest
{
... | zoetrope/RosSharp | Test/RosSharp.IntegrationTests/SlaveTest.cs | https://github.com/zoetrope/RosSharp/blob/HEAD/Test/RosSharp.IntegrationTests/SlaveTest.cs | ghcode:00176:ace6af14be8e | bsd-2-clause | codeparrot/github-code | ace6af14be8e2bcaba8474a9423de5b7a41a9b17e273e4211a7d85a9802abea7 | 0.53 | testing_debugging_repair_refactoring | 243 | false | 2026-07-17 |
using CorySignalGenerator.Sequencer.Interfaces;
using NAudio.Wave;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CorySignalGenerator.Sequencer
{
public class SignalChain<... | coryking/spectrum.net | SignalGenerator/Sequencer/SignalChain.cs | https://github.com/coryking/spectrum.net/blob/HEAD/SignalGenerator/Sequencer/SignalChain.cs | ghcode:00176:556e750ae1a4 | bsd-2-clause | codeparrot/github-code | 556e750ae1a4c9a076e9e3017e97305f8abcec1166519aa9e723837181437ae1 | 0.78 | testing_debugging_repair_refactoring | 688 | false | 2026-07-17 |
// Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo.Mvp.Resolvers
{
using System;
using System.Collections.Generic;
using System.Linq;
using NSubstitute;
using Xunit;
public static partial class PresenterTypeResolv... | chtoucas/Narvalo.NET | tests/Narvalo.Mvp.Facts/Resolvers/PresenterTypeResolverFacts.cs | https://github.com/chtoucas/Narvalo.NET/blob/HEAD/tests/Narvalo.Mvp.Facts/Resolvers/PresenterTypeResolverFacts.cs | ghcode:00176:42e86940bc84 | bsd-2-clause | codeparrot/github-code | 42e86940bc84e07cac494f1b9845538343b877d879020c5f68d1ead06839d7c6 | 0.78 | testing_debugging_repair_refactoring | 1,476 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ProjectExtensions.Azure.ServiceBus.Interfaces;
using Microsoft.ServiceBus.Messaging;
using ProjectExtensions.Azure.ServiceBus.Tests.Unit.Interfaces;
using Microsoft.Practices.TransientFaultHandling;
namespace ProjectExtensions... | ProjectExtensions/ProjectExtensions.Azure.ServiceBus | src/Tests/ProjectExtensions.Azure.ServiceBus.Tests.Unit/Mocks/MockNamespaceManager.cs | https://github.com/ProjectExtensions/ProjectExtensions.Azure.ServiceBus/blob/HEAD/src/Tests/ProjectExtensions.Azure.ServiceBus.Tests.Unit/Mocks/MockNamespaceManager.cs | ghcode:00176:4e6772dcc28d | bsd-3-clause | codeparrot/github-code | 4e6772dcc28df9845d4bf6f90048724772087cba713af593325af77745e78845 | 0.85 | testing_debugging_repair_refactoring | 278 | false | 2026-07-17 |
#region License
// Copyright (c) 2010-2019, Mark Final
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice, this
// ... | markfinal/BuildAMation | tests/Test12/bam/Scripts/Test12.cs | https://github.com/markfinal/BuildAMation/blob/HEAD/tests/Test12/bam/Scripts/Test12.cs | ghcode:00176:b927b6fd01f4 | bsd-3-clause | codeparrot/github-code | b927b6fd01f438f54838556799ead4fb670e1b596e4857d135d98e813105cd65 | 0.85 | testing_debugging_repair_refactoring | 610 | false | 2026-07-17 |
using System.Linq;
using Docu.Parsing;
using Docu.Parsing.Model;
using Example;
using NUnit.Framework;
using System.Reflection;
namespace Docu.Tests.Parsing
{
[TestFixture]
public class DocumentationXmlMatcherTests : BaseFixture
{
[SetUp]
public void CreateAssociator()
{
}
... | cdrnet/docu | src/Docu.Tests/Parsing/DocumentationXmlMatcherTests.cs | https://github.com/cdrnet/docu/blob/HEAD/src/Docu.Tests/Parsing/DocumentationXmlMatcherTests.cs | ghcode:00176:5af3815aa578 | bsd-3-clause | codeparrot/github-code | 5af3815aa5783159dd63ba24070c987226700ebef21e9ea17938e2ac117f7bdb | 0.75 | testing_debugging_repair_refactoring | 2,451 | false | 2026-07-17 |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
using Mosa.Compiler.Common;
using Mosa.Compiler.MosaTypeSystem;
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Mosa.Compiler.Framework
{
/// <summary>
/// This extended class provides support to emit calling conv... | kiootic/MOSA-Project | Source/Mosa.Compiler.Framework/BaseCallingConventionExtended.cs | https://github.com/kiootic/MOSA-Project/blob/HEAD/Source/Mosa.Compiler.Framework/BaseCallingConventionExtended.cs | ghcode:00176:9bc6c52cb780 | bsd-3-clause | codeparrot/github-code | 9bc6c52cb780642227068cb836f8f4143dad4df04cadf6963d90119ff95fdac7 | 0.85 | testing_debugging_repair_refactoring | 813 | false | 2026-07-17 |
// ReSharper disable InconsistentNaming
using System;
using EasyNetQ.DI;
using Xunit;
using EasyNetQ.Interception;
using NSubstitute;
namespace EasyNetQ.Tests.Interception
{
public partial class InterceptionExtensionsTests
{
[Fact]
public void When_using_EnableInterception_extension_method_req... | ar7z1/EasyNetQ | Source/EasyNetQ.Tests/Interception/InterceptionExtensionsTests.cs | https://github.com/ar7z1/EasyNetQ/blob/HEAD/Source/EasyNetQ.Tests/Interception/InterceptionExtensionsTests.cs | ghcode:00176:d8b5a3777f8e | mit | codeparrot/github-code | d8b5a3777f8ee2e79cbc4f82f99a14d7817b8ac71422f07d8064e8f48ee1f634 | 0.75 | testing_debugging_repair_refactoring | 249 | false | 2026-07-17 |
using RefactoringEssentials.CSharp.CodeRefactorings;
using Xunit;
namespace RefactoringEssentials.Tests.CSharp.CodeRefactorings
{
public class ChangeAccessModifierTests : CSharpCodeRefactoringTestBase
{
[Fact]
public void TestNoEnumMember()
{
TestWrongContext<ChangeAccessMod... | SSkovboiSS/RefactoringEssentials | Tests/CSharp/CodeRefactorings/ChangeAccessModifierTests.cs | https://github.com/SSkovboiSS/RefactoringEssentials/blob/HEAD/Tests/CSharp/CodeRefactorings/ChangeAccessModifierTests.cs | ghcode:00176:04a0fae75bab | mit | codeparrot/github-code | 04a0fae75babf546a35bef9c73e98743ad567cd803b72def21ebf2437285645c | 0.75 | testing_debugging_repair_refactoring | 769 | false | 2026-07-17 |
using JetBrains.ReSharper.IntentionsTests;
using NUnit.Framework;
using ReSharper.ContractExtensions.ProblemAnalyzers.PreconditionAnalyzers;
namespace ReSharper.ContractExtensions.Tests.ProblemAnalyzers.PreconditionAnalyzers
{
[TestFixture]
public class FixRedundantRequiresTests : QuickFixNet45TestBase<Redund... | Diagonactic/ReSharperContractExtensions | ReSharper.ContractExtensions.Tests/src/ProblemAnalyzers/PreconditionAnalyzers/FixRedundantRequiresTests.cs | https://github.com/Diagonactic/ReSharperContractExtensions/blob/HEAD/ReSharper.ContractExtensions.Tests/src/ProblemAnalyzers/PreconditionAnalyzers/FixRedundantRequiresTests.cs | ghcode:00176:cbdd7292f725 | mit | codeparrot/github-code | cbdd7292f7257601991c1884ebe9d166cd435b5624c3530a29a26fd4d2abb582 | 0.85 | testing_debugging_repair_refactoring | 133 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.ResourceManager.Compute.Models;
using Azure.ResourceManager.Resources;
using NUnit.Framework;
... | ayeletshpigelman/azure-sdk-for-net | sdk/compute/Azure.ResourceManager.Compute/tests/VMScaleSetTests/VMScaleSetExtensionTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/compute/Azure.ResourceManager.Compute/tests/VMScaleSetTests/VMScaleSetExtensionTests.cs | ghcode:00176:c7ba5b25a72a | mit | codeparrot/github-code | c7ba5b25a72a993afaefddeb57d7b43e282ff51303d6c2e22bbf2728b0a5f043 | 0.95 | testing_debugging_repair_refactoring | 1,949 | false | 2026-07-17 |
using BluffinMuffin.Protocol.DataTypes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BluffinMuffin.Protocol.Tests.Comparing
{
public static class ComparePlayerInfo
{
public static void Compare(PlayerInfo p, PlayerInfo dp)
{
Assert.AreEqual(p.Cards.Length, dp.Cards.... | Ericmas001/BluffinMuffin.Protocol | C#/BluffinMuffin.Protocol.Tests/Comparing/ComparePlayerInfo.cs | https://github.com/Ericmas001/BluffinMuffin.Protocol/blob/HEAD/C#/BluffinMuffin.Protocol.Tests/Comparing/ComparePlayerInfo.cs | ghcode:00176:33454297512c | mit | codeparrot/github-code | 33454297512c4dcfbc43e82fd32b3ec8b28b33d4f6c364f896a909ac70fc2014 | 0.75 | testing_debugging_repair_refactoring | 169 | false | 2026-07-17 |
namespace Microsoft.Protocols.TestSuites.MS_ASCMD
{
using System.Collections.Generic;
using Microsoft.Protocols.TestSuites.Common;
using Microsoft.Protocols.TestTools;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Request = Microsoft.Protocols.TestSuites.Common.Request;
using ... | XinwLi/Interop-TestSuites-1 | ExchangeActiveSync/Source/MS-ASCMD/TestSuite/S10_MoveItems.cs | https://github.com/XinwLi/Interop-TestSuites-1/blob/HEAD/ExchangeActiveSync/Source/MS-ASCMD/TestSuite/S10_MoveItems.cs | ghcode:00176:8c76588b8fce | mit | codeparrot/github-code | 8c76588b8fcedcc687cb2a79ff2d523ff0dfce115a1a7d1098d66be5b0375950 | 0.85 | testing_debugging_repair_refactoring | 6,508 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.ApplicationInsights.Metrics.Extensibility;
using Microsoft.ApplicationInsights.Metrics.TestUtility;
using Microsoft.ApplicationInsights.Extensibility;
namespace Microsoft.ApplicationInsights.Metrics
{
/// <summary />
[TestClas... | pharring/ApplicationInsights-dotnet | BASE/Test/Microsoft.ApplicationInsights.Test/Microsoft.ApplicationInsights.Tests/Metrics/Extensibility/MetricExtensionsTests.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/BASE/Test/Microsoft.ApplicationInsights.Test/Microsoft.ApplicationInsights.Tests/Metrics/Extensibility/MetricExtensionsTests.cs | ghcode:00176:853e9f7ae64c | mit | codeparrot/github-code | 853e9f7ae64cdfe72239d9a6eda30c90d90193a352e8c69bd55990ebe6bf7226 | 0.95 | testing_debugging_repair_refactoring | 508 | 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 ... | Mendelone/forex_trading | Tests/Engine/BrokerageTransactionHandlerTests/BrokerageTransactionHandlerTests.cs | https://github.com/Mendelone/forex_trading/blob/HEAD/Tests/Engine/BrokerageTransactionHandlerTests/BrokerageTransactionHandlerTests.cs | ghcode:00176:cab75fe09a45 | apache-2.0 | codeparrot/github-code | cab75fe09a45593e69883126148390ea3958975699a1ce70d6d3c1e754ddc0d0 | 0.85 | testing_debugging_repair_refactoring | 3,114 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.IO;
using LogSearchShipper.Core;
using NUnit.Framework;
namespace IntegrationTests
{
[TestFixture]
public class SimpleTests
{
private static readonly string JsonLogFilePath = Environment.CurrentDirectory +
@"\json.... | cityindex/LogSearchShipper | src/IntegrationTests/SimpleTests.cs | https://github.com/cityindex/LogSearchShipper/blob/HEAD/src/IntegrationTests/SimpleTests.cs | ghcode:00176:58fba539f43c | apache-2.0 | codeparrot/github-code | 58fba539f43c9f9b91ef92b3de55e62567f2086f272b42722e1eda8e4d9e7eaf | 0.75 | testing_debugging_repair_refactoring | 365 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using QUnit;
using System.Text.RegularExpressions;
namespace Linq.TestScript {
[TestFixture]
public class AggregateTests {
[Test]
public void AggregateWorksForArray() {
Assert.AreEqual(new[] { 1, 2, 3, 4, 5}.Aggregate((a, b) => a * b), 120);
... | chenxustu1/SaltarelleLinq | Linq.TestScript/AggregateTests.cs | https://github.com/chenxustu1/SaltarelleLinq/blob/HEAD/Linq.TestScript/AggregateTests.cs | ghcode:00176:77b66c833f7f | apache-2.0 | codeparrot/github-code | 77b66c833f7f5b6868e4612142de6c0e39c427f8f942a64612abdeefc5f2dc1b | 0.75 | testing_debugging_repair_refactoring | 5,032 | false | 2026-07-17 |
// Copyright 2018 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | googleapis/google-cloud-dotnet | apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data.IntegrationTests/GetSchemaTableTests.cs | https://github.com/googleapis/google-cloud-dotnet/blob/HEAD/apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data.IntegrationTests/GetSchemaTableTests.cs | ghcode:00176:7dfaf84a8090 | apache-2.0 | codeparrot/github-code | 7dfaf84a8090f6bbfac32621ebe5a173ca810fb9705d1b784342063c957bae71 | 0.85 | testing_debugging_repair_refactoring | 1,216 | false | 2026-07-17 |
using NSpec.Domain;
using NUnit.Framework;
using System.Threading.Tasks;
using FluentAssertions;
namespace NSpec.Tests.WhenRunningSpecs.Exceptions
{
[TestFixture]
[Category("RunningSpecs")]
[Category("Async")]
public class when_async_act_contains_exception : when_running_specs
{
private cl... | BennieCopeland/NSpec | sln/test/NSpec.Tests/WhenRunningSpecs/Exceptions/when_async_act_contains_exception.cs | https://github.com/BennieCopeland/NSpec/blob/HEAD/sln/test/NSpec.Tests/WhenRunningSpecs/Exceptions/when_async_act_contains_exception.cs | ghcode:00176:2c677996f1aa | mit | codeparrot/github-code | 2c677996f1aa020e5a74434529c8fc4bbed88e8119abbd8d1ca6625082dda8a1 | 0.85 | testing_debugging_repair_refactoring | 884 | false | 2026-07-17 |
using ClosedXML_Examples.Styles;
using NUnit.Framework;
namespace ClosedXML_Tests.Examples
{
[TestFixture]
public class StylesTests
{
[Test]
public void DefaultStyles()
{
TestHelper.RunTestExample<DefaultStyles>(@"Styles\DefaultStyles.xlsx");
}
[Test]
... | JavierJJJ/ClosedXML | ClosedXML_Tests/Examples/StylesTests.cs | https://github.com/JavierJJJ/ClosedXML/blob/HEAD/ClosedXML_Tests/Examples/StylesTests.cs | ghcode:00176:25699a3a0fc6 | mit | codeparrot/github-code | 25699a3a0fc607ffa4b58148896b04d3af72c726e170eb3a8bd58ef3700307fa | 0.75 | testing_debugging_repair_refactoring | 423 | false | 2026-07-17 |
using System;
using Cosmos.TestRunner;
namespace Cosmos.Compiler.Tests.Bcl.System
{
internal static class Int32Test
{
public static void Execute()
{
int value;
string result;
string expectedResult;
value = Int32.MaxValue;
result = ... | jp2masa/Cosmos | Tests/Kernels/Cosmos.Compiler.Tests.Bcl/System/Int32Test.cs | https://github.com/jp2masa/Cosmos/blob/HEAD/Tests/Kernels/Cosmos.Compiler.Tests.Bcl/System/Int32Test.cs | ghcode:00176:ea3789815e0e | bsd-3-clause | codeparrot/github-code | ea3789815e0e986e9c63c58e7e538a42f10656295562191cd07a6e53152235dd | 0.85 | testing_debugging_repair_refactoring | 1,863 | false | 2026-07-17 |
using Marten.Services;
using Marten.Testing.Documents;
using Xunit;
namespace Marten.Testing
{
public abstract class document_session_delete_a_single_document_Tests<T> : DocumentSessionFixture<T>
where T : IIdentityMap
{
[Fact]
public void persist_and_delete_a_document_by_entity()
... | jokokko/marten | src/Marten.Testing/document_session_delete_a_single_document_Tests.cs | https://github.com/jokokko/marten/blob/HEAD/src/Marten.Testing/document_session_delete_a_single_document_Tests.cs | ghcode:00176:5f1cd2b139ca | mit | codeparrot/github-code | 5f1cd2b139cafc591748ed5bae88b8d1537a76ca515b61b96cee8a993aa32593 | 0.75 | testing_debugging_repair_refactoring | 340 | 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.IO;
using Xunit;
public class PathCombineTests
{
private static readonly char s_separator = Path.DirectorySeparatorChar;
[Fact]
... | shiftkey-tester/corefx | src/System.Runtime.Extensions/tests/System/IO/Path.Combine.cs | https://github.com/shiftkey-tester/corefx/blob/HEAD/src/System.Runtime.Extensions/tests/System/IO/Path.Combine.cs | ghcode:00176:a696bceffbf0 | mit | codeparrot/github-code | a696bceffbf0d718f67d22ad60a934d0653157fad674236ec4193cc922c1a288 | 0.95 | testing_debugging_repair_refactoring | 2,393 | 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 ... | jpsullivan/lucenenet | src/Lucene.Net.Tests/core/Util/TestOpenBitSet.cs | https://github.com/jpsullivan/lucenenet/blob/HEAD/src/Lucene.Net.Tests/core/Util/TestOpenBitSet.cs | ghcode:00176:ad7af02461ce | apache-2.0 | codeparrot/github-code | ad7af02461ce6a1347086175f168f261678647bb0d4e94802aa3b2818b070f87 | 0.85 | testing_debugging_repair_refactoring | 4,220 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using Microsoft.CodeAna... | mattwar/roslyn | src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_Call.cs | https://github.com/mattwar/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_Call.cs | ghcode:00176:aedeb55d93ec | apache-2.0 | codeparrot/github-code | aedeb55d93eca55ad63577fe6de74b7bcb285b29b5cae92b420d83945105c120 | 0.85 | testing_debugging_repair_refactoring | 10,149 | false | 2026-07-17 |
using System;
using Shouldly;
using Xunit;
namespace TestStack.BDDfy.Tests.Exceptions
{
public class ExceptionsWhenUsingExamples
{
[Fact]
public void CorrectlyReportsErrorWhenAllStepsNotRun()
{
Should.Throw<InvalidOperationException>(() =>
{
var ... | sebgod/TestStack.BDDfy | src/TestStack.BDDfy.Tests/Exceptions/ExceptionsWhenUsingExamples.cs | https://github.com/sebgod/TestStack.BDDfy/blob/HEAD/src/TestStack.BDDfy.Tests/Exceptions/ExceptionsWhenUsingExamples.cs | ghcode:00176:5de786aa2ea1 | mit | codeparrot/github-code | 5de786aa2ea103e1634cdd13dc098e47b4d5062f085872492f9f644002e6b063 | 0.75 | testing_debugging_repair_refactoring | 221 | 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 Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Test.Utilities;
using X... | CyrusNajmabadi/roslyn | src/Compilers/CSharp/Test/IOperation/IOperation/IOperationTests_IIsTypeExpression.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/Compilers/CSharp/Test/IOperation/IOperation/IOperationTests_IIsTypeExpression.cs | ghcode:00176:f8aea6109e6a | mit | codeparrot/github-code | f8aea6109e6a7bc40b2579227c34c450a5f6677e77c97503928dae0a1f8622f6 | 0.95 | testing_debugging_repair_refactoring | 3,389 | false | 2026-07-17 |
using System;
using Xunit;
namespace Humanizer.Tests
{
public class DehumanizeToEnumTests
{
[Fact]
public void ThrowsForNonEnums()
{
Assert.Throws<ArgumentException>(() => EnumTestsResources.MemberWithDescriptionAttribute.DehumanizeTo<DummyStructWithEnumInterfaces>());
... | hazzik/Humanizer | src/Humanizer.Tests.Shared/DehumanizeToEnumTests.cs | https://github.com/hazzik/Humanizer/blob/HEAD/src/Humanizer.Tests.Shared/DehumanizeToEnumTests.cs | ghcode:00176:8abc0b4e17d2 | mit | codeparrot/github-code | 8abc0b4e17d250ac0badb7c56c439895fbea42fab39087abe9639fad67bc41f3 | 0.75 | testing_debugging_repair_refactoring | 1,258 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.