text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
namespace SimpleInjector.Tests.Unit
{
using System.Collections.Generic;
using System.Linq;
public interface IPlugin
{
}
public abstract class PluginBase : IPlugin
{
}
public class PluginImpl : IPlugin
{
}
public class PluginImpl2 : IPlugin
{
}
public cla... | simpleinjector/SimpleInjector | src/SimpleInjector.Tests.Unit/TestClasses.Plugins.cs | https://github.com/simpleinjector/SimpleInjector/blob/HEAD/src/SimpleInjector.Tests.Unit/TestClasses.Plugins.cs | ghcode:00171:f7b0b7e5600c | mit | codeparrot/github-code | f7b0b7e5600caf881542b82b159369a57a1412683b72c48547395869cfba9e1b | 0.75 | testing_debugging_repair_refactoring | 398 | false | 2026-07-17 |
using DavidLievrouw.Voter.App.Validation;
using Nancy;
using NUnit.Framework;
namespace DavidLievrouw.Voter.App.Login.Validation {
[TestFixture]
public class NancyContextValidatorTests {
NancyContextValidator _sut;
[SetUp]
public void SetUp() {
_sut = new NancyContextValidator();
}
[Te... | DavidLievrouw/Voter | src/Voter.Tests/App/Login/Validation/NancyContextValidatorTests.cs | https://github.com/DavidLievrouw/Voter/blob/HEAD/src/Voter.Tests/App/Login/Validation/NancyContextValidatorTests.cs | ghcode:00171:4238ee85fcab | mit | codeparrot/github-code | 4238ee85fcab59e74ef5171f87b7921a14c1b2cb6e745282b268ee2da7b4e138 | 0.75 | testing_debugging_repair_refactoring | 154 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using liquicode.AppTools;
using NUnit.Framework;
[TestFixture]
public class WindowsShellLocal : FileSystemTests
{
//---------------------------------------------------------------------
[SetUp]
public void Setup()
{
this._Fil... | agbowlin/liquicode.AppTools.Net20 | liquicode.AppTools._UnitTests/FileSystem/WindowsShellLocal.cs | https://github.com/agbowlin/liquicode.AppTools.Net20/blob/HEAD/liquicode.AppTools._UnitTests/FileSystem/WindowsShellLocal.cs | ghcode:00171:a9828d2d8e0b | mit | codeparrot/github-code | a9828d2d8e0bc593b9aab14df810692933706d27d7926e16f4b11b398da469d4 | 0.75 | testing_debugging_repair_refactoring | 99 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Reflection;
using WhenItsDone.DTOs.WorkerVIewsDTOs;
using WhenItsDone.MVP.AdminPageControls.APWorkersControlMVP;
using WhenItsDone.Services.Contracts;
namespace WhenItsDone.MVP.Tests.AdminPageControlsTests.APWorkersControlM... | army-of-two/when-its-done | WhenItsDone/Tests/LibTests/WhenItsDone.MVP.Tests/AdminPageControlsTests/APWorkersControlMVP/APWorkersControlPresenterTests/Constructor_Should.cs | https://github.com/army-of-two/when-its-done/blob/HEAD/WhenItsDone/Tests/LibTests/WhenItsDone.MVP.Tests/AdminPageControlsTests/APWorkersControlMVP/APWorkersControlPresenterTests/Constructor_Should.cs | ghcode:00171:39ad1394d8b0 | mit | codeparrot/github-code | 39ad1394d8b06006da07f1a3a7436c4e84cd57cdfa91b100f0b3df2b170ac1ca | 0.85 | testing_debugging_repair_refactoring | 350 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouldly;
namespace QueryBuilder.Test.Query
{
[TestClass]
public class DataQuery_SelectingTest : QueryBuilderTestBase
{
[TestMethod]
public void DataQuerySelecting_WhenColumnsAreSpecifiedForPagedQuery_ThenThoseAppearWi... | Machet/SqlQueryBuilder | SqlQueryBuilder.Test/Query/DataQuery_SelectingTest.cs | https://github.com/Machet/SqlQueryBuilder/blob/HEAD/SqlQueryBuilder.Test/Query/DataQuery_SelectingTest.cs | ghcode:00171:bcf704fca657 | mit | codeparrot/github-code | bcf704fca65754a80c79c4577524f8a7ad8b80243ccf7960ad6b5d2cdb15e4ba | 0.75 | testing_debugging_repair_refactoring | 199 | false | 2026-07-17 |
/* Copyright 2017-2018 by Alexandru Ciobanu (alex+git@ciobanu.org)
*
* 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, c... | pavkam/abacaxi | Abacaxi.Tests/Graphs/ColorizeColorTests.cs | https://github.com/pavkam/abacaxi/blob/HEAD/Abacaxi.Tests/Graphs/ColorizeColorTests.cs | ghcode:00171:70c7e2669f9c | mit | codeparrot/github-code | 70c7e2669f9cceda6bf5ae44131c815026cab700e089311ca1f47efbc64c8fbf | 0.75 | testing_debugging_repair_refactoring | 874 | false | 2026-07-17 |
using Microsoft.Azure;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
using System.Diagnostics;
namespace Timesheet.Repositories
{
public abstract class BaseRepository
{
protected const string ProjectsTable = "Projects";
protected const string TasksTable = "T... | wcabus/MADN-oAuth | Timesheet.Storage/Repositories/BaseRepository.cs | https://github.com/wcabus/MADN-oAuth/blob/HEAD/Timesheet.Storage/Repositories/BaseRepository.cs | ghcode:00171:df8a6566727f | mit | codeparrot/github-code | df8a6566727fd8b310fc565cd8e691be775270512e5fdbe4e4c2a11be7a7a02a | 0.6 | testing_debugging_repair_refactoring | 200 | false | 2026-07-17 |
namespace Slinqy.Core.Test.Unit
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using FakeItEasy;
using Xunit;
/// <summary>
/// Tests functions of the SlinqyQueue class.
/// </summary>
public class SlinqyQueueTests
{
/// <summary>
... | rakutensf-malex/slinqy | Source/Slinqy.Core.Test.Unit/SlinqyQueueTests.cs | https://github.com/rakutensf-malex/slinqy/blob/HEAD/Source/Slinqy.Core.Test.Unit/SlinqyQueueTests.cs | ghcode:00171:a5a6c277b5a7 | mit | codeparrot/github-code | a5a6c277b5a713a70b3a9a467efbc86a141a901d9b1086e6b6428e4d7d5af874 | 0.85 | testing_debugging_repair_refactoring | 1,378 | false | 2026-07-17 |
// ${COMPLETE_ITEM:if}
public class Foo
{
public void Bar(object o)
{
o is System.String[].i{caret}
}
} | controlflow/resharper-postfix | PostfixTemplates/Tests/Data/Completion/TestIf09.cs | https://github.com/controlflow/resharper-postfix/blob/HEAD/PostfixTemplates/Tests/Data/Completion/TestIf09.cs | ghcode:00171:30d3965da38d | mit | codeparrot/github-code | 30d3965da38daf880a685da7bd1dab5d6eb8f3f71805cf06fdc02d67f4a98803 | 0.6 | testing_debugging_repair_refactoring | 34 | false | 2026-07-17 |
using System.Globalization;
using System.Linq;
using System.Xml.Linq;
using FSA.DTO;
using FSA.Interfaces;
using FSA.Tests.Shared;
using Moq;
using NUnit.Framework;
// ReSharper disable InconsistentNaming
namespace FSA.BL.Tests.Unit
{
[TestFixture]
[Category("Unit")]
public class FsaConfigurationManager : DebugAss... | neiliux/FileStoreArchiver | FSA.BL.Tests.Unit/FsaConfigurationManager.cs | https://github.com/neiliux/FileStoreArchiver/blob/HEAD/FSA.BL.Tests.Unit/FsaConfigurationManager.cs | ghcode:00171:a8418dcab759 | mit | codeparrot/github-code | a8418dcab759f4ecbfa84a52e2365a5f385da1a6efac3af079be5519f193e1e8 | 0.75 | testing_debugging_repair_refactoring | 875 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace Sample
{
public class Usage1
{
private class Base
{
// field
private string _private = "original";
private readonly string _privateReadOnly = "original";
pr... | cactuaroid/PrivateObjectExtensions | Test.Core.xUnit/Usage1.cs | https://github.com/cactuaroid/PrivateObjectExtensions/blob/HEAD/Test.Core.xUnit/Usage1.cs | ghcode:00171:9d07fed9cc77 | mit | codeparrot/github-code | 9d07fed9cc77d169f5fb5d8cf5e96bf33348edaf690f4cc74abac602b6c91c40 | 0.7 | testing_debugging_repair_refactoring | 929 | false | 2026-07-17 |
using CustomRules;
using Microsoft.SqlServer.Dac;
using Microsoft.SqlServer.Dac.CodeAnalysis;
using Microsoft.SqlServer.Dac.Model;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MyDatabaseUnitTests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void NoDatetime7Co... | hanzworld/CustomCodeRulesForSSDT | Database1/MyDatabaseUnitTests/UnitTest1.cs | https://github.com/hanzworld/CustomCodeRulesForSSDT/blob/HEAD/Database1/MyDatabaseUnitTests/UnitTest1.cs | ghcode:00171:81e5f21ba048 | mit | codeparrot/github-code | 81e5f21ba0480abe56f3a4fdd4d4c96ee7fefe1cc285a823557f7f6d84777f8d | 0.7 | testing_debugging_repair_refactoring | 884 | false | 2026-07-17 |
using System;
using Moq;
using NUnit.Framework;
using System.Collections.Generic;
using System.Linq;
namespace Autocore.Test.Integration
{
public class VolatileTest : IntegrationBase
{
public interface IVolatileService : IVolatileDependency {}
public class MyVolatileService : IVolatileService {}
public class B... | pzavolinsky/Autocore | Autocore.Test/Integration/VolatileTest.cs | https://github.com/pzavolinsky/Autocore/blob/HEAD/Autocore.Test/Integration/VolatileTest.cs | ghcode:00171:f0649e4211be | mit | codeparrot/github-code | f0649e4211bed3742934de254993b979d15a300b962e17e3c58401129120c884 | 0.6 | testing_debugging_repair_refactoring | 569 | false | 2026-07-17 |
using System;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
using Baseline;
using Marten.Events;
using Marten.Events.Projections;
using Marten.Events.Projections.Async;
using Marten.Testing.CodeTracker;
using Xunit;
using Xunit.Abstractions;
namespace Marten.Testing.AsyncDaemon
... | tim-cools/Marten | src/Marten.Testing/AsyncDaemon/async_daemon_end_to_end.cs | https://github.com/tim-cools/Marten/blob/HEAD/src/Marten.Testing/AsyncDaemon/async_daemon_end_to_end.cs | ghcode:00171:1e5aacf32f82 | mit | codeparrot/github-code | 1e5aacf32f82d828b549a2b7dbf2c8590b1f12408778c37e69d65ddf0774d1b1 | 0.85 | testing_debugging_repair_refactoring | 1,695 | false | 2026-07-17 |
using System;
using Microsoft.Extensions.Logging;
using Xunit.Abstractions;
namespace StackExchange.Metrics.Tests
{
public class TestOutputLogger<T> : ILogger<T>
{
private readonly ITestOutputHelper _output;
public TestOutputLogger(ITestOutputHelper output)
{
_output = outp... | bretcope/BosunReporter.NET | tests/StackExchange.Metrics.Tests/TestOutputLogger.cs | https://github.com/bretcope/BosunReporter.NET/blob/HEAD/tests/StackExchange.Metrics.Tests/TestOutputLogger.cs | ghcode:00171:e01fb59df507 | mit | codeparrot/github-code | e01fb59df507343d808e93cead6a00ca35cc04892102172ec772f4396b21f613 | 0.75 | testing_debugging_repair_refactoring | 137 | false | 2026-07-17 |
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Kernel;
using Ploeh.AutoFixture.Xunit2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace Blondin.LightCollections.Tests
{
public class JaggedDictiona... | frblondin/LightCollections | src/Blondin.LightCollections.Tests/JaggedDictionary.DebugViewFixture.cs | https://github.com/frblondin/LightCollections/blob/HEAD/src/Blondin.LightCollections.Tests/JaggedDictionary.DebugViewFixture.cs | ghcode:00171:c7256d46597d | mit | codeparrot/github-code | c7256d46597d5a0a1c452d653077b2a7ff983884a1a233796003654aea9f70f8 | 0.6 | testing_debugging_repair_refactoring | 318 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.EDTF;
namespace EDTF.Tests
{
[TestClass]
public class UnspecifiedExtendedDateTimeTests
{
[TestMethod]
public void CanRoundTrip()
{
// Unspecified
Assert.AreEqual("199u", UnspecifiedExtendedDate... | nharren/ExtendedDateTimeFormat | src/EDTF.Tests/UnspecifiedExtendedDateTimeTests.cs | https://github.com/nharren/ExtendedDateTimeFormat/blob/HEAD/src/EDTF.Tests/UnspecifiedExtendedDateTimeTests.cs | ghcode:00171:e9cadfba7192 | mit | codeparrot/github-code | e9cadfba71925b6b2854ba6aa18965f6975e34a0f5b752f241a66309064d7db5 | 0.75 | testing_debugging_repair_refactoring | 320 | false | 2026-07-17 |
namespace MVCHoldem.UnitTests.Web.Areas.Admin.Controllers.PostAdminControllerTests
{
using Moq;
using MVCHoldem.Services.Contracts;
using MVCHoldem.Web.Areas.Admin.Controllers;
using NUnit.Framework;
using TestStack.FluentMVCTesting;
public class Index_Should
{
[Test]
publi... | gchankov/MVCHoldem | MVCHoldem/MVCHoldem.UnitTests/Web/Areas/Admin/Controllers/PostAdminControllerTests/Index_Should.cs | https://github.com/gchankov/MVCHoldem/blob/HEAD/MVCHoldem/MVCHoldem.UnitTests/Web/Areas/Admin/Controllers/PostAdminControllerTests/Index_Should.cs | ghcode:00171:724daab0d782 | mit | codeparrot/github-code | 724daab0d7828d024141fdb74d2eb90da4516679b670e3e9707f42b0efb827b5 | 0.6 | testing_debugging_repair_refactoring | 141 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace FusionAlliance.DotNetExtensions.Common.Tests
{
[TestFixture]
public class DateTimeExtensionsTests
{
[Test]
public void AdjustHour_hour_0_to_am()
{
var dateTime = new DateTime(2014, 7, 7, 0, 32, 46);
var actual =... | amcconnell-fusion/DotNetExtensions | src/FusionAlliance.DotNetExtensions.Common.Tests/DateTimeExtensionsTests.cs | https://github.com/amcconnell-fusion/DotNetExtensions/blob/HEAD/src/FusionAlliance.DotNetExtensions.Common.Tests/DateTimeExtensionsTests.cs | ghcode:00171:593cc2499c3c | mit | codeparrot/github-code | 593cc2499c3c6197716eef390f99300cca09dbe5a4e96845f01f36be09974bc8 | 0.75 | testing_debugging_repair_refactoring | 5,080 | false | 2026-07-17 |
using System.Linq;
using DotNet.Ildasm.Infrastructure;
using DotNet.Ildasm.Tests.Internal;
using Mono.Cecil;
using Xunit;
namespace DotNet.Ildasm.Tests.Infrastructure
{
public class TypeDefinitionExtensions
{
private readonly AssemblyDefinition _assemblyDefinition;
private readonly OutputWrite... | pjbgf/dotnet-ildasm | src/dotnet-ildasm.Tests/Infrastructure/TypeDefinitionExtensionsShould.cs | https://github.com/pjbgf/dotnet-ildasm/blob/HEAD/src/dotnet-ildasm.Tests/Infrastructure/TypeDefinitionExtensionsShould.cs | ghcode:00171:e1ffb486e3f5 | mit | codeparrot/github-code | e1ffb486e3f566b95f5435e64a33827276cae23d914e02be5e65a567ed8f061a | 0.7 | testing_debugging_repair_refactoring | 1,275 | false | 2026-07-17 |
#if LESSTHAN_NET35
// 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;
using System.Dynamic.Utils;
using Theraot.Reflection;
namespace Syst... | theraot/Theraot | Framework.Core/System/Linq/Expressions/Interpreter/GreaterThanInstruction.cs | https://github.com/theraot/Theraot/blob/HEAD/Framework.Core/System/Linq/Expressions/Interpreter/GreaterThanInstruction.cs | ghcode:00171:eeb786b8f3cc | mit | codeparrot/github-code | eeb786b8f3cce733fe22cb26e1384de489dc7eba970b6df1c4576dabf60d03d3 | 0.85 | testing_debugging_repair_refactoring | 2,270 | false | 2026-07-17 |
using System;
using System.Text;
using System.Globalization;
using System.Collections.Generic;
using System.Reflection;
using System.Threading;
using System.IO;
public class Tests
{
static int nloops = 1;
static int nthreads = 10;
public static void Main (String[] args) {
if (args.Length > 0)
nloops = int.Par... | jbatonnet/system | Source/[Libraries]/Mono/mono/tests/assembly-load-stress.cs | https://github.com/jbatonnet/system/blob/HEAD/Source/[Libraries]/Mono/mono/tests/assembly-load-stress.cs | ghcode:00171:c9b0a1318181 | mit | codeparrot/github-code | c9b0a1318181d460ff68e084f376b917ca889b8aa9aa075a5927c99692d35d2f | 0.85 | testing_debugging_repair_refactoring | 234 | false | 2026-07-17 |
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or ... | mono/at-spi-sharp | tests/at-spi-sharp/Base.cs | https://github.com/mono/at-spi-sharp/blob/HEAD/tests/at-spi-sharp/Base.cs | ghcode:00171:ed8ca864abfc | mit | codeparrot/github-code | ed8ca864abfc4d08d5f12c45252b90e7409b637a4b482f46daa3aba836ec417d | 0.7 | testing_debugging_repair_refactoring | 1,482 | false | 2026-07-17 |
// 32feet.NET - Personal Area Networking for .NET
//
// InTheHand.Net.Bluetooth.Factory.IBluetoothSecurity
//
// Copyright (c) 2011 In The Hand Ltd, All rights reserved.
// Copyright (c) 2011 Alan J. McFarlane, All rights reserved.
//
// This source code is licensed under the MIT License
using System;
using System.... | inthehand/32feet | Legacy/InTheHand.Net.Personal/Net.Bluetooth.Factory/TimeoutDecorStream.cs | https://github.com/inthehand/32feet/blob/HEAD/Legacy/InTheHand.Net.Personal/Net.Bluetooth.Factory/TimeoutDecorStream.cs | ghcode:00171:1842293cc099 | mit | codeparrot/github-code | 1842293cc0999a1a8fc73602fa6519ec4ad2d2b98ba00c31a8b2b2f71eb9ab08 | 0.85 | testing_debugging_repair_refactoring | 606 | false | 2026-07-17 |
namespace Santase.Logic.Tests.Cards
{
using System.Collections.Generic;
using Santase.Logic.Cards;
using Xunit;
public class DeckTests
{
[Fact]
public void TrumpCardShouldBeNonNullable()
{
IDeck deck = new Deck();
Assert.NotNull(deck.TrumpCard);
... | NikolayIT/SantaseGameEngine | src/Tests/Santase.Logic.Tests/Cards/DeckTests.cs | https://github.com/NikolayIT/SantaseGameEngine/blob/HEAD/src/Tests/Santase.Logic.Tests/Cards/DeckTests.cs | ghcode:00171:fc25ddf05e08 | mit | codeparrot/github-code | fc25ddf05e083c5555ce6adaaa45f7aae42bc918fcdeaded5c705c5d04799415 | 0.85 | testing_debugging_repair_refactoring | 768 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using UnsafeAM.Collections;
// ReSharper disable ExpressionIsAlwaysNull
namespace UnitTests.UnsafeAM.Collections
{
[TestClass]
public class DictionaryUtilityTest
{
[TestMethod]
public voi... | amironov73/ManagedIrbis | Source/UnitTests/UnsafeIrbis/AM/Collections/DictionaryUtilityTest.cs | https://github.com/amironov73/ManagedIrbis/blob/HEAD/Source/UnitTests/UnsafeIrbis/AM/Collections/DictionaryUtilityTest.cs | ghcode:00171:ee16d12dfc69 | mit | codeparrot/github-code | ee16d12dfc69f14244bc6134d5469cb30ab8a6e93ada0ccbd6011ddcf9df4847 | 0.75 | testing_debugging_repair_refactoring | 1,006 | false | 2026-07-17 |
#region License
/*
The MIT License
Copyright (c) 2008 Sky Morey
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy... | BclEx/BclEx-Abstract | src/ServiceLocators/System.Abstract.ServiceLocatorTests/Abstract+ServiceLocator/HiroServiceLocatorIntegrationTests.cs | https://github.com/BclEx/BclEx-Abstract/blob/HEAD/src/ServiceLocators/System.Abstract.ServiceLocatorTests/Abstract+ServiceLocator/HiroServiceLocatorIntegrationTests.cs | ghcode:00171:0b8adc4ab7fc | mit | codeparrot/github-code | 0b8adc4ab7fcf91e005bfd3d2dade5867a5e3ed4126c67a45eee42e43fd79b4d | 0.75 | testing_debugging_repair_refactoring | 286 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Moq;
using Rothko.Interfaces.Dal;
using Rothko.Model;
namespace Rothko.Tests.Dal
{
[TestFixture]
public abstract class RothkoDatabaseTests
{
protected IRothkoDatabase _Database;
protected abstract IRothkoDatabase GetNewDatabase();
protected Map _Map;
protected Un... | t-recx/Rothko | Rothko.Tests/Dal/RothkoDatabaseTests.cs | https://github.com/t-recx/Rothko/blob/HEAD/Rothko.Tests/Dal/RothkoDatabaseTests.cs | ghcode:00171:f4b7d2798ac7 | mit | codeparrot/github-code | f4b7d2798ac75b0beda1083baf794ae16df9df95541af5afde188d2798a4be6f | 0.75 | testing_debugging_repair_refactoring | 5,553 | false | 2026-07-17 |
//
// TurboWaveletsTest.cs
//
// Author:
// Stefan Moebius
// Date:
// 2016-04-16
//
// Copyright (c) 2016 Stefan Moebius
//
// 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 Softwar... | codeprof/TurboWavelets.Net | TurboWavelets-Test/TurboWaveletsTest.cs | https://github.com/codeprof/TurboWavelets.Net/blob/HEAD/TurboWavelets-Test/TurboWaveletsTest.cs | ghcode:00171:52cd237ff3ae | mit | codeparrot/github-code | 52cd237ff3ae5eb54e3283230511107f05da4d32f66f01b669a1a54550c0ee07 | 0.7 | testing_debugging_repair_refactoring | 2,946 | false | 2026-07-17 |
//
// ThreadPoolTimerTests.cs
//
// Author:
// Eric Maupin <me@ermau.com>
//
// Copyright (c) 2011 Eric Maupin
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, in... | ermau/WinRT.NET | WinRT.NET/Tests/Windows.System/Threading/ThreadPoolTimerTests.cs | https://github.com/ermau/WinRT.NET/blob/HEAD/WinRT.NET/Tests/Windows.System/Threading/ThreadPoolTimerTests.cs | ghcode:00171:9c902c9f124e | mit | codeparrot/github-code | 9c902c9f124e35e3ac20fef7e3c5187ec180d12a0c980ce90f5b7518eec96f46 | 0.95 | testing_debugging_repair_refactoring | 935 | false | 2026-07-17 |
// Copyright 2020 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | GoogleCloudPlatform/dotnet-docs-samples | dlp/api/Snippets.Tests/InspectTemplateDeleteTests.cs | https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/HEAD/dlp/api/Snippets.Tests/InspectTemplateDeleteTests.cs | ghcode:00171:4990268d68aa | apache-2.0 | codeparrot/github-code | 4990268d68aa8af3c5aaa7bc7fdb48b056ad3f92142b8e4722619978610f30b4 | 0.85 | testing_debugging_repair_refactoring | 351 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using NUnit.Framework;
using System;
using Azure.Identity;
namespace Azure.Security.KeyVault.Administration.Tests
{
public class Sample3_BackRestoreResume ... | markcowl/azure-sdk-for-net | sdk/keyvault/Azure.Security.KeyVault.Administration/tests/samples/Sample3_BackRestoreResume.cs | https://github.com/markcowl/azure-sdk-for-net/blob/HEAD/sdk/keyvault/Azure.Security.KeyVault.Administration/tests/samples/Sample3_BackRestoreResume.cs | ghcode:00171:aed08a596170 | apache-2.0 | codeparrot/github-code | aed08a596170b85e0d4ec3e72860f8bd10a324f0b172a7444a1d2fb506f979e6 | 0.95 | testing_debugging_repair_refactoring | 600 | false | 2026-07-17 |
// Copyright Dirk Lemstra (https://github.com/dlemstra/line-bot-sdk-dotnet).
// Licensed under the Apache License, Version 2.0.
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Line.Tests
{
public class Tes... | dlemstra/line-bot-sdk-dotnet | tests/LineBot.Tests/TestHelpers/TestHttpMessageHandler.cs | https://github.com/dlemstra/line-bot-sdk-dotnet/blob/HEAD/tests/LineBot.Tests/TestHelpers/TestHttpMessageHandler.cs | ghcode:00171:4277f0a0a985 | apache-2.0 | codeparrot/github-code | 4277f0a0a985477f4a82abb43398ae908b6cbd8e59768d8094386260d144a61f | 0.85 | testing_debugging_repair_refactoring | 253 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Elasticsearch.Net.Integration.Yaml.IndicesGetWarmer1
{
public partial class IndicesGetWarmer1YamlTests
{
public class IndicesGetWarmer110BasicYamlBase : YamlTestsBase
{
public IndicesGetWarmer110BasicYamlBa... | Grastveit/NEST | src/Tests/Elasticsearch.Net.Integration.Yaml/indices.get_warmer/10_basic.yaml.cs | https://github.com/Grastveit/NEST/blob/HEAD/src/Tests/Elasticsearch.Net.Integration.Yaml/indices.get_warmer/10_basic.yaml.cs | ghcode:00171:35450186707d | apache-2.0 | codeparrot/github-code | 35450186707dc785d96d4ef2857ab06325843f5abd0f50e760c5e0e861757d80 | 0.95 | testing_debugging_repair_refactoring | 3,501 | false | 2026-07-17 |
#region Copyright & License
// Copyright © 2012 - 2017 François Chabot, Yves Dierick
//
// 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/LICEN... | icraftsoftware/BizTalk.Factory | src/BizTalk.Common.Tests/Xml/Xsl/XslCompiledTransformDescriptorFixture.cs | https://github.com/icraftsoftware/BizTalk.Factory/blob/HEAD/src/BizTalk.Common.Tests/Xml/Xsl/XslCompiledTransformDescriptorFixture.cs | ghcode:00171:951f46b88992 | apache-2.0 | codeparrot/github-code | 951f46b88992147e2f5267c8603c377dc890e971c3b9b87701755187bd088351 | 0.85 | testing_debugging_repair_refactoring | 434 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
namespace Microsoft.Azure.Search.Tests
{
using System;
using System.Linq;
using Microsoft.Azure.Search.Models;
using Microsoft.Spatial;
[... | yoavrubin/azure-sdk-for-net | src/Search/Search.Tests/Tests/Models/Hotel.cs | https://github.com/yoavrubin/azure-sdk-for-net/blob/HEAD/src/Search/Search.Tests/Tests/Models/Hotel.cs | ghcode:00171:36f581e448ac | apache-2.0 | codeparrot/github-code | 36f581e448acab98a1993b105c1cb307ec989133015de6ee92d487f0cab140b3 | 0.95 | testing_debugging_repair_refactoring | 826 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Net;
using Orchestrate.Io;
using Xunit;
public class ConditionalPatchTests : IClassFixture<ProductTestFixture>
{
string collectionName;
Collection collection;
Product product;
string productKey;
public ConditionalPatchTests(ProductTestFixture testFix... | CenturyLinkCloud/Orchestrate-.NET-SDK | Orchestrate.Tests/Integration Tests/ConditionalPatchTests.cs | https://github.com/CenturyLinkCloud/Orchestrate-.NET-SDK/blob/HEAD/Orchestrate.Tests/Integration Tests/ConditionalPatchTests.cs | ghcode:00171:70b9177cc0e4 | apache-2.0 | codeparrot/github-code | 70b9177cc0e41aef2aa2a508412e86d20b3493956d92bdca46a192a54f14999c | 0.75 | testing_debugging_repair_refactoring | 524 | 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.
#nullable disable warnings
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Diagnos... | mavasani/roslyn-analyzers | src/Utilities/Compiler/Extensions/ISymbolExtensions.cs | https://github.com/mavasani/roslyn-analyzers/blob/HEAD/src/Utilities/Compiler/Extensions/ISymbolExtensions.cs | ghcode:00171:b6210f1c5b09 | apache-2.0 | codeparrot/github-code | b6210f1c5b093133789c5c871f6f048c79c361383cf48f7b6d7dd4fb38dfdf59 | 0.85 | testing_debugging_repair_refactoring | 5,431 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
using System.Diagnostics;
using System.Linq;
us... | nguerrera/roslyn | src/EditorFeatures/Core/Implementation/CodeFixes/CodeFixService.cs | https://github.com/nguerrera/roslyn/blob/HEAD/src/EditorFeatures/Core/Implementation/CodeFixes/CodeFixService.cs | ghcode:00171:e37e017052b0 | apache-2.0 | codeparrot/github-code | e37e017052b02e42d64ed24b4d96ed2be9362adccfea88279fe914b1422e0aff | 0.85 | testing_debugging_repair_refactoring | 6,608 | false | 2026-07-17 |
using Dacs7.ReadWrite;
using Dacs7Tests.ServerHelper;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Dacs7.Tests
{
[Collection("PlcServer collection")]
public class ReUseTest
{
[Fact()]
public async Task ExecuteClientAsync()
{
var client = new D... | proemmer/dacs7 | dacs7/test/Dacs7Tests/ReUseTest.cs | https://github.com/proemmer/dacs7/blob/HEAD/dacs7/test/Dacs7Tests/ReUseTest.cs | ghcode:00171:18a8a41c252f | apache-2.0 | codeparrot/github-code | 18a8a41c252f8ca1cb280de3a49e01bc9bd860579f2189f5c3d4279e6b9aeb19 | 0.85 | testing_debugging_repair_refactoring | 187 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Threading.Tasks;
using Azure.Analytics.Synapse.Artifacts;
using Azure.Analytics.Synapse.Artifacts.Models;
using NUnit.Framework;
namespace Azure.Analytics.Synapse.Tests.Artifacts
{
/// <summary>
/// T... | markcowl/azure-sdk-for-net | sdk/synapse/Azure.Analytics.Synapse.Artifacts/tests/DataFlowClientLiveTests.cs | https://github.com/markcowl/azure-sdk-for-net/blob/HEAD/sdk/synapse/Azure.Analytics.Synapse.Artifacts/tests/DataFlowClientLiveTests.cs | ghcode:00171:c5d0fd6ab1ce | apache-2.0 | codeparrot/github-code | c5d0fd6ab1ce93df3b914f32e170317ab616b75f4ae10385e9bd5736ff0df1b7 | 0.95 | testing_debugging_repair_refactoring | 510 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using PCLActivitySet.Domain;
namespace PCLActivitySet.Test.Domain
{
[TestFixture]
public class ActivityHistoryItemTest
{
[Test]
public void FullConstructorFullyInitializesProperties()
{
string itemName = "Item Name";
Date... | Merlin9999/PCLActivitySet | src/PCLActivitySet/PCLActivitySet.Test/Domain/ActivityHistoryItemTest.cs | https://github.com/Merlin9999/PCLActivitySet/blob/HEAD/src/PCLActivitySet/PCLActivitySet.Test/Domain/ActivityHistoryItemTest.cs | ghcode:00171:972824b4307c | apache-2.0 | codeparrot/github-code | 972824b4307c5cfa72218c2a589c0c9f97cc9d3dfff13e87844d2dd8a797d2f5 | 0.6 | testing_debugging_repair_refactoring | 452 | false | 2026-07-17 |
using System.Diagnostics;
namespace Grisu3DoubleConversion
{
/// <summary>
/// https://github.com/google/double-conversion/blob/master/double-conversion/ieee.h
/// </summary>
public struct SingleView
{
private static unsafe uint BitCast(float x) => *(uint*)&x;
private static unsafe... | ufcpp/UfcppSample | Demo/2017/TypeRepositoryBenchmarks/Grisu3DoubleConversion/SingleView.cs | https://github.com/ufcpp/UfcppSample/blob/HEAD/Demo/2017/TypeRepositoryBenchmarks/Grisu3DoubleConversion/SingleView.cs | ghcode:00171:d9ab95d7925b | apache-2.0 | codeparrot/github-code | d9ab95d7925b4e344d454b313fc0c0bf9723d90997d023f2f3b1b8469719ff4a | 0.85 | testing_debugging_repair_refactoring | 1,022 | false | 2026-07-17 |
/*
* Copyright 2014 Splunk, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"): you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Netsuye/Splunk-SDK | test/acceptance-tests/TestIndex.cs | https://github.com/Netsuye/Splunk-SDK/blob/HEAD/test/acceptance-tests/TestIndex.cs | ghcode:00171:51aa4161e82a | apache-2.0 | codeparrot/github-code | 51aa4161e82a0886dafefbc87b0cb72c2bc6dcb73f23ec1ee426b8575df7475c | 0.85 | testing_debugging_repair_refactoring | 3,421 | false | 2026-07-17 |
namespace BackTesting.Tests
{
using System.Linq;
using BackTesting.Model.MarketData;
using BackTesting.Model.Utils;
using NUnit.Framework;
[TestFixture]
public class CsvDataSourceTests
{
[Test]
public void DataSourceLoadedFromStringHasValidFrames()
{
var... | knifecaojia/CoinsPro | Src/CryptoCurrency/KFCC/BackTest/BackTesting.Tests/CsvDataSourceTests.cs | https://github.com/knifecaojia/CoinsPro/blob/HEAD/Src/CryptoCurrency/KFCC/BackTest/BackTesting.Tests/CsvDataSourceTests.cs | ghcode:00171:958e0b2e5362 | apache-2.0 | codeparrot/github-code | 958e0b2e5362c91b75fbcd17073ff4f0247c998f6a7ac39602a3dc12e475f02c | 0.75 | testing_debugging_repair_refactoring | 276 | false | 2026-07-17 |
using DNTProfiler.ServiceLayer.Contracts;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DNTProfiler.IntegrationTests
{
[TestClass]
public class ArithmeticOverflowTests
{
[TestMethod]
public void ShouldEmitSumPrice()
{
var productService = ObjectFactory.C... | VahidN/DNTProfiler | Tests/DNTProfiler.IntegrationTests/ArithmeticOverflowTests.cs | https://github.com/VahidN/DNTProfiler/blob/HEAD/Tests/DNTProfiler.IntegrationTests/ArithmeticOverflowTests.cs | ghcode:00171:07ad6576bba5 | apache-2.0 | codeparrot/github-code | 07ad6576bba554f90aa073c2aec1084c2d6b141127600112501acc433a00f441 | 0.75 | testing_debugging_repair_refactoring | 138 | false | 2026-07-17 |
// Copyright 2004-2009 Castle Project - http://www.castleproject.org/
//
// 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 ... | castleproject/castle-READONLY-SVN-dump | Experiments/Attic/AspectSharp/AspectSharp.Tests/OptimizationTestCase.cs | https://github.com/castleproject/castle-READONLY-SVN-dump/blob/HEAD/Experiments/Attic/AspectSharp/AspectSharp.Tests/OptimizationTestCase.cs | ghcode:00171:eb5daea1f876 | apache-2.0 | codeparrot/github-code | eb5daea1f876b00772290444e6cc739cee3cdc196a64f9d62b189b4ab27d4639 | 0.85 | testing_debugging_repair_refactoring | 744 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Shouldly;
namespace dannyboy.tests.DeleteTests
{
public class DeleteWithSpecifiedTableName : DeleteTestBase
{
[Test]
public void ItDeletesFromTheAppropriateTable()
{
CreateUsersTable();
var id = Guid.NewGuid();
... | swxben/danny-boy | src/dannyboy.tests/DeleteTests/DeleteWithSpecifiedTableName.cs | https://github.com/swxben/danny-boy/blob/HEAD/src/dannyboy.tests/DeleteTests/DeleteWithSpecifiedTableName.cs | ghcode:00171:5b7a54f215a7 | apache-2.0 | codeparrot/github-code | 5b7a54f215a71c0b366794a94948c7e3cf46d750e81b689acf5370932a6fca0e | 0.6 | testing_debugging_repair_refactoring | 142 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NuPattern.IntegrationTests;
namespace NuPattern.Authoring.IntegrationTests
{
[TestClass]
public class PatternToolkitVsixPackagingSpec
{
private static readonly IAssertion Assert = new Assertion();
pr... | NuPattern/NuPattern | Src/Authoring/IntegrationTests/PatternToolkitVsixPackagingSpec.gen.cs | https://github.com/NuPattern/NuPattern/blob/HEAD/Src/Authoring/IntegrationTests/PatternToolkitVsixPackagingSpec.gen.cs | ghcode:00171:f8644cdf912c | apache-2.0 | codeparrot/github-code | f8644cdf912c3b165ff6a106f002465384c5dd01cc86a71664796e74fae0e4ba | 0.85 | testing_debugging_repair_refactoring | 1,506 | false | 2026-07-17 |
namespace Gravyframe.Data.Sitefinity.Tests.SitefinityNewsDao
{
using Gravyframe.Data.News;
using Gravyframe.Data.Tests.NewsDao;
using Gravyframe.Kernel.Sitefinity.Facades;
using Gravyframe.Models.Sitefinity;
using NSubstitute;
public class TestContext : INewsDaoTestContext<SitefinityNews>
... | gravypower/Gravyframe | Src/Tests/Gravyframe.Data.Sitefinity.Tests/SitefinityNewsDao/TestContext.cs | https://github.com/gravypower/Gravyframe/blob/HEAD/Src/Tests/Gravyframe.Data.Sitefinity.Tests/SitefinityNewsDao/TestContext.cs | ghcode:00171:05e2cb601414 | apache-2.0 | codeparrot/github-code | 05e2cb6014145497d5c22af1defd5c156f34c031d34859db2ce037893300831f | 0.85 | testing_debugging_repair_refactoring | 248 | false | 2026-07-17 |
using Xunit;
namespace HETSAPI.Test
{
public class AttachmentUnitTest
{
/// <summary>
/// Setup the test
/// </summary>
public AttachmentUnitTest()
{
}
[Fact]
/// <summary>
/// Unit test for AttachmentBulkPost
/// </su... | swcurran/hets | Server/test/API/AttachmentTestsUnit.cs | https://github.com/swcurran/hets/blob/HEAD/Server/test/API/AttachmentTestsUnit.cs | ghcode:00171:4c8c9269220d | apache-2.0 | codeparrot/github-code | 4c8c9269220d85dda7bad5831209d04a216e18ac7d1d3e9234d4c4b2db2f6331 | 0.95 | testing_debugging_repair_refactoring | 335 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Microsoft.Silverlight.Testing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RestSharp;
using VkApi.JsonTypes;
using VkApi;
namespace Tests
{
[TestClass]
public class TestApiSession : SilverlightTest
{
[Asynchronous]
... | blacktaxi/vkrestclient | src/VkRestClient/Tests/TestApiSession.cs | https://github.com/blacktaxi/vkrestclient/blob/HEAD/src/VkRestClient/Tests/TestApiSession.cs | ghcode:00171:74ba4ceb9334 | bsd-3-clause | codeparrot/github-code | 74ba4ceb9334d9b2b069ac6e449b0f72327a41b11a9271976474577176f255df | 0.95 | testing_debugging_repair_refactoring | 458 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using SevenDigital.Messaging.Integration.Tests._Helpers;
using SevenDigital.Messaging.Integration.Tests._Helpers.Handlers;
using SevenDigital.Messaging.Integration.Tests._Helpers.Messages;
namespace SevenDigital.Messaging.Integration.Tests.Api
{
[TestFixture]
public cla... | i-e-b/SevenDigital.Messaging | src/SevenDigital.Messaging.Integration.Tests/Api/PurgingQueues.cs | https://github.com/i-e-b/SevenDigital.Messaging/blob/HEAD/src/SevenDigital.Messaging.Integration.Tests/Api/PurgingQueues.cs | ghcode:00171:ac19ac11775d | bsd-3-clause | codeparrot/github-code | ac19ac11775dd2181df0077ddfa0a12c65378cfb55275e6594e6ab11f3ff6ad5 | 0.85 | testing_debugging_repair_refactoring | 345 | false | 2026-07-17 |
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Toggl.Core.Sync;
using Toggl.Core.Tests.Mocks;
using Toggl.Core.Tests.Sync.Extensions;
using Toggl.Core.Tests.Sync.Helpers;
using Toggl.Core.Tests.Sync.State;
using Toggl.Networking.He... | toggl/mobileapp | Toggl.Core.Tests.Sync/Scenarios/SyncLight/FetchAllTimeEntriesAndCreateWorkspacePlaceholderAndDetectNewWorkspaceLater.cs | https://github.com/toggl/mobileapp/blob/HEAD/Toggl.Core.Tests.Sync/Scenarios/SyncLight/FetchAllTimeEntriesAndCreateWorkspacePlaceholderAndDetectNewWorkspaceLater.cs | ghcode:00171:fd050ff30292 | bsd-3-clause | codeparrot/github-code | fd050ff302921179483e955b4fcbc029380c388d1d7932d6dc4839758844d1c9 | 0.75 | testing_debugging_repair_refactoring | 722 | false | 2026-07-17 |
#if NETFRAMEWORK
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnostics.Windows;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Tests.Loggers;
using System.Collections.Generi... | PerfDotNet/BenchmarkDotNet | tests/BenchmarkDotNet.IntegrationTests/TailCallDiagnoserTests.cs | https://github.com/PerfDotNet/BenchmarkDotNet/blob/HEAD/tests/BenchmarkDotNet.IntegrationTests/TailCallDiagnoserTests.cs | ghcode:00171:4b51dddafd0c | mit | codeparrot/github-code | 4b51dddafd0c089fb2a54ca4d48255d0bedb0403b77af9c3742c00323316011e | 0.75 | testing_debugging_repair_refactoring | 780 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using IServiceOriented.ServiceBus.Services;
using IServiceOriented.ServiceBus.Delivery;
using IServiceOriented.ServiceBus.Dispatchers;
using System.Threading;
namespace IServiceOriented.ServiceBus.UnitTests
{... | tdrake/iserviceoriented | IServiceOriented.ServiceBus.UnitTests/TestHeartbeatRuntimeService.cs | https://github.com/tdrake/iserviceoriented/blob/HEAD/IServiceOriented.ServiceBus.UnitTests/TestHeartbeatRuntimeService.cs | ghcode:00171:c6fbaba4af71 | mit | codeparrot/github-code | c6fbaba4af71e954ca62e390af271b7c12bcf58513a857ceb72b6b59dd115c3e | 0.75 | testing_debugging_repair_refactoring | 1,070 | false | 2026-07-17 |
using GitTools.Testing;
using GitVersion.Core.Tests.Helpers;
using LibGit2Sharp;
using NUnit.Framework;
namespace GitVersion.Core.Tests.IntegrationTests;
[TestFixture]
public class PullRequestScenarios : TestBase
{
[Test]
public void CanCalculatePullRequestChanges()
{
using var fixture = new Empty... | GitTools/GitVersion | src/GitVersion.Core.Tests/IntegrationTests/PullRequestScenarios.cs | https://github.com/GitTools/GitVersion/blob/HEAD/src/GitVersion.Core.Tests/IntegrationTests/PullRequestScenarios.cs | ghcode:00171:66ea4b70951d | mit | codeparrot/github-code | 66ea4b70951d1a6de396cabd3b6f7913c3d5e5aa5050e3615f657182c7eaeff1 | 0.75 | testing_debugging_repair_refactoring | 831 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.Data.AppConfiguration.Samples
{
public partial class ConfigurationSamples
{
[Test]
public void SetClearReadOnly(... | Azure/azure-sdk-for-net | sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample3_SetClearReadOnly.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample3_SetClearReadOnly.cs | ghcode:00171:b544913bc677 | mit | codeparrot/github-code | b544913bc677fb7f63f3f442f920e8c77054039cdb2f739238d2f763ede96853 | 0.95 | testing_debugging_repair_refactoring | 316 | false | 2026-07-17 |
namespace Protobuild.Tests
{
using System.IO;
using Xunit;
public class ExtractXSLTWorksTest : ProtobuildTest
{
[Fact]
public void PackageIsCorrect()
{
this.SetupTest("ExtractXSLTWorks", isPackTest: true);
if (File.Exists(this.GetPath("Build\\GeneratePr... | dellis1972/Protobuild | Protobuild.FunctionalTests/ExtractXSLTWorksTest.cs | https://github.com/dellis1972/Protobuild/blob/HEAD/Protobuild.FunctionalTests/ExtractXSLTWorksTest.cs | ghcode:00171:ef33a0701d99 | mit | codeparrot/github-code | ef33a0701d99cce7cdc456ebc51fdbf519ef6c640a988b60f79ef7806e3b008c | 0.6 | testing_debugging_repair_refactoring | 195 | 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 ... | ascherbakoff/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/Cache/PartitionAwarenessTest.cs | https://github.com/ascherbakoff/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/Cache/PartitionAwarenessTest.cs | ghcode:00171:9f65a417132b | apache-2.0 | codeparrot/github-code | 9f65a417132bfbf92601489b56e5f4e401e4f4c2d9ceb2ce8d906ded546a8f3d | 0.7 | testing_debugging_repair_refactoring | 4,564 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
namespace Streamstone
{
public sealed partial class Stream
{
class ProvisionOp... | jkonecki/Streamstone | Source/Streamstone/Stream.Operations.cs | https://github.com/jkonecki/Streamstone/blob/HEAD/Source/Streamstone/Stream.Operations.cs | ghcode:00171:9336af0b44e9 | apache-2.0 | codeparrot/github-code | 9336af0b44e9ac587de690f594d9a2738f568792536821d13176e423177d05a9 | 0.6 | testing_debugging_repair_refactoring | 2,829 | false | 2026-07-17 |
/*
MIT License
Copyright(c) 2014-2018 Infragistics, Inc.
Copyright 2018 Google LLC
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 ... | evildour/google-cloud-dotnet | third_party/BreakingChangesDetector/BreakingChangesDetector.UnitTests/MetadataTypesTests/IndexerDataTests.cs | https://github.com/evildour/google-cloud-dotnet/blob/HEAD/third_party/BreakingChangesDetector/BreakingChangesDetector.UnitTests/MetadataTypesTests/IndexerDataTests.cs | ghcode:00171:b31fdecc575d | apache-2.0 | codeparrot/github-code | b31fdecc575dac7f14855e05b72997f01118c509699174721c430f38ccec97b1 | 0.75 | testing_debugging_repair_refactoring | 1,697 | false | 2026-07-17 |
// Copyright (c) 2012, Event Store LLP
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// Redistributions of source code must retain the above copyright notice,
// this list of conditi... | msbahrul/EventStore | src/EventStore/EventStore.Projections.Core.Tests/Services/core_projection/when_the_state_handler_does_process_an_event_the_projection_should.cs | https://github.com/msbahrul/EventStore/blob/HEAD/src/EventStore/EventStore.Projections.Core.Tests/Services/core_projection/when_the_state_handler_does_process_an_event_the_projection_should.cs | ghcode:00171:114a35695027 | bsd-3-clause | codeparrot/github-code | 114a35695027c9b9f4d2d261a76342191532c1fb0ce6ad0ba56d1089f821e442 | 0.85 | testing_debugging_repair_refactoring | 735 | false | 2026-07-17 |
namespace LanguageExt.Tests.Parsing
{
public class parseDecimalTests : AbstractParseTPrecisionIntervalTests<decimal>
{
protected override Option<decimal> ParseT(string value) => Prelude.parseDecimal(value);
protected override decimal MinValue => decimal.MinValue;
protected override dec... | StanJav/language-ext | LanguageExt.Tests/Parsing/parseDecimalTests.cs | https://github.com/StanJav/language-ext/blob/HEAD/LanguageExt.Tests/Parsing/parseDecimalTests.cs | ghcode:00171:eccd24f847ec | mit | codeparrot/github-code | eccd24f847ecf1e1f7e5f8a938d4340a6e03026a05b6fbed91949083cddfebf0 | 0.75 | testing_debugging_repair_refactoring | 65 | 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 ... | jameschch/Lean | Tests/Common/Brokerages/FxcmBrokerageModelTests.cs | https://github.com/jameschch/Lean/blob/HEAD/Tests/Common/Brokerages/FxcmBrokerageModelTests.cs | ghcode:00171:c6f67a944630 | apache-2.0 | codeparrot/github-code | c6f67a9446306b88ff811f2c172d6760588624a05e259472ea7c5ee2cd2060d6 | 0.85 | testing_debugging_repair_refactoring | 2,066 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="DeterministicOldestWhenJoiningSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.n... | ali-ince/akka.net | src/core/Akka.Cluster.Tests.MultiNode/DeterministicOldestWhenJoiningSpec.cs | https://github.com/ali-ince/akka.net/blob/HEAD/src/core/Akka.Cluster.Tests.MultiNode/DeterministicOldestWhenJoiningSpec.cs | ghcode:00171:f12ca1ef98b9 | apache-2.0 | codeparrot/github-code | f12ca1ef98b9e3c63e5b1445e43e9bf6472f9c8052180a6a9a33d9e97bdb08f3 | 0.85 | testing_debugging_repair_refactoring | 824 | false | 2026-07-17 |
using System;
namespace Microsoft.DotNet.Cli.Build.Framework
{
public partial class BuildFailureException : Exception
{
public BuildTarget Target { get; }
public BuildFailureException(BuildTarget target) : base($"The '{target.Name}' target failed")
{
Target = target;
... | joperezr/core-setup | src/test/build/Microsoft.DotNet.Cli.Build.Framework/BuildFailureException.BuildTarget.cs | https://github.com/joperezr/core-setup/blob/HEAD/src/test/build/Microsoft.DotNet.Cli.Build.Framework/BuildFailureException.BuildTarget.cs | ghcode:00171:fd09e4acb16d | mit | codeparrot/github-code | fd09e4acb16dc4fcfd56d3e024db762851b9799d3909d0fed6cfed85af8d2a65 | 0.85 | testing_debugging_repair_refactoring | 159 | false | 2026-07-17 |
using Shouldly;
using StructureMap.Pipeline;
using Xunit;
namespace StructureMap.Testing.Acceptance
{
public class explicit_arguments
{
[Fact]
public void supply_defaults_by_generic()
{
// SAMPLE: explicit-arg-container
var container = new Container(... | DixonD-git/structuremap | src/StructureMap.Testing/Acceptance/explicit_arguments.cs | https://github.com/DixonD-git/structuremap/blob/HEAD/src/StructureMap.Testing/Acceptance/explicit_arguments.cs | ghcode:00171:36f03a38b34b | apache-2.0 | codeparrot/github-code | 36f03a38b34b25945f8f56ab1f075097ea61e6525f1c213fc1812c193c56da55 | 0.85 | testing_debugging_repair_refactoring | 746 | false | 2026-07-17 |
#region License
/*
* Copyright © 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... | yonglehou/spring-net | test/Spring/Spring.Core.Tests/Objects/Factory/Support/LookupMethodReplacerTests.cs | https://github.com/yonglehou/spring-net/blob/HEAD/test/Spring/Spring.Core.Tests/Objects/Factory/Support/LookupMethodReplacerTests.cs | ghcode:00171:66f060a49591 | apache-2.0 | codeparrot/github-code | 66f060a49591e31a45613e2005121b5e486344abb08acbf1acbf65480df53592 | 0.85 | testing_debugging_repair_refactoring | 564 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="DuplicateAnnotationsDataServiceODataWriter.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/CustomInstanceAnnotationsTests/Utils/DuplicateAnnotationsDataServiceODataWriter.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/EndToEndTests/Tests/Client/Build.Desktop/CustomInstanceAnnotationsTests/Utils/DuplicateAnnotationsDataServiceODataWriter.cs | ghcode:00171:cc14dbd0c673 | mit | codeparrot/github-code | cc14dbd0c67396673d035cddee6d867156c40812ca9dc01b011dc579614af904 | 0.95 | testing_debugging_repair_refactoring | 228 | false | 2026-07-17 |
using System;
using System.IO;
using NUnit.Framework;
using Org.BouncyCastle.Utilities.Test;
namespace Org.BouncyCastle.Asn1.Tests
{
[TestFixture]
public class InputStreamTest
: SimpleTest
{
private static readonly byte[] outOfBoundsLength = new byte[] { (byte)0x30, (byte)0xff, (byte)0xff, (byte)0xff, (byte)0... | SchmooseSA/Schmoose-BouncyCastle | Tests/asn1/test/InputStreamTest.cs | https://github.com/SchmooseSA/Schmoose-BouncyCastle/blob/HEAD/Tests/asn1/test/InputStreamTest.cs | ghcode:00171:6eb4a49facb5 | mit | codeparrot/github-code | 6eb4a49facb5f03c81d9164c5fc9d63b57da9a38efe7f812b39e2d517276c6fb | 0.85 | testing_debugging_repair_refactoring | 557 | false | 2026-07-17 |
using System;
using System.Linq;
using FluentNHibernate.Conventions.Helpers;
using FluentNHibernate.Mapping;
using NUnit.Framework;
namespace FluentNHibernate.Testing.ConventionsTests
{
[TestFixture]
public class DefaultAccessHelperTests
{
private PersistenceModel model;
[SetU... | lingxyd/fluent-nhibernate | src/FluentNHibernate.Testing/ConventionsTests/DefaultAccessHelperTests.cs | https://github.com/lingxyd/fluent-nhibernate/blob/HEAD/src/FluentNHibernate.Testing/ConventionsTests/DefaultAccessHelperTests.cs | ghcode:00171:b30575fada9d | bsd-3-clause | codeparrot/github-code | b30575fada9d7c0dad22f5f6fdaf22300fd4b84ea29038117b2d19fbb60837c3 | 0.75 | testing_debugging_repair_refactoring | 171 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using Xunit;
using Should;
namespace AutoMapper.UnitTests
{
public class CollectionMapping
{
public CollectionMapping()
{
SetUp();
}
... | CandidoCleyton/AutoMapper | src/UnitTests/CollectionMapping.cs | https://github.com/CandidoCleyton/AutoMapper/blob/HEAD/src/UnitTests/CollectionMapping.cs | ghcode:00171:4d472cf4acd0 | mit | codeparrot/github-code | 4d472cf4acd09e44b6e92753345ef0879079dca383e7cdf2fd97e536536b0c9b | 0.85 | testing_debugging_repair_refactoring | 1,578 | 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;
using System.IO;
using System.Runtime.ExceptionServices;
using System.Threading;
using Sys... | krytarowski/corefx | src/System.Net.Security/src/System/Net/Security/SslStreamInternal.cs | https://github.com/krytarowski/corefx/blob/HEAD/src/System.Net.Security/src/System/Net/Security/SslStreamInternal.cs | ghcode:00171:1b9c6fb44627 | mit | codeparrot/github-code | 1b9c6fb44627035d5c92576e113a9f744370f8107d12f97deb4a29f719afa1bb | 0.95 | testing_debugging_repair_refactoring | 6,137 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using st... | brettfo/roslyn | src/Test/Utilities/Portable/Compilation/TestSyntaxTreeOptionsProvider.cs | https://github.com/brettfo/roslyn/blob/HEAD/src/Test/Utilities/Portable/Compilation/TestSyntaxTreeOptionsProvider.cs | ghcode:00171:83a6eedbaf15 | apache-2.0 | codeparrot/github-code | 83a6eedbaf158fb163774b1475513d820d0ed2dddd0638854a24a22b93c57187 | 0.95 | testing_debugging_repair_refactoring | 666 | 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... | nandhanurrevanth/azure-powershell | src/ResourceManager/Resources/Commands.Resources.Test/ResourceGroups/GetAzureResourceGroupCommandTests.cs | https://github.com/nandhanurrevanth/azure-powershell/blob/HEAD/src/ResourceManager/Resources/Commands.Resources.Test/ResourceGroups/GetAzureResourceGroupCommandTests.cs | ghcode:00171:c2dcffcbab9b | apache-2.0 | codeparrot/github-code | c2dcffcbab9b9b266fc7992967308cf57818d14d777084f8adf095b94de381f6 | 0.85 | testing_debugging_repair_refactoring | 507 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="AwaitAssertTests.cs" company="Akka.NET Project">
// Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
... | tillr/akka.net | src/core/Akka.TestKit.Tests/Xunit2/TestKitBaseTests/AwaitAssertTests.cs | https://github.com/tillr/akka.net/blob/HEAD/src/core/Akka.TestKit.Tests/Xunit2/TestKitBaseTests/AwaitAssertTests.cs | ghcode:00171:ed4162339363 | apache-2.0 | codeparrot/github-code | ed41623393636bc44b600b14208d32b9222152a1a4a15923060625c426f641ef | 0.85 | testing_debugging_repair_refactoring | 274 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
using System;
using System.Xml;
using System.Xml.XPath;
using XPathTests.Common;
namespace XPathTests.FunctionalTests
{
/// <summary>
/// Globaliz... | pgavlin/corefx | src/Common/tests/System/Xml/XPath/MiscellaneousCases/GlobalizationTests.cs | https://github.com/pgavlin/corefx/blob/HEAD/src/Common/tests/System/Xml/XPath/MiscellaneousCases/GlobalizationTests.cs | ghcode:00171:518fbc590e84 | mit | codeparrot/github-code | 518fbc590e8485b8a727d704d6a5cc015f9976517e766d49338fedf3a38fb45d | 0.95 | testing_debugging_repair_refactoring | 5,492 | 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... | Ermiar/corefx | src/System.IO.FileSystem/tests/FileStream/IsAsync.cs | https://github.com/Ermiar/corefx/blob/HEAD/src/System.IO.FileSystem/tests/FileStream/IsAsync.cs | ghcode:00171:01e882a7351c | mit | codeparrot/github-code | 01e882a7351c36ca41dc83e689b6481a4de01d428e78bc54e4417c7c73950d17 | 0.95 | testing_debugging_repair_refactoring | 490 | false | 2026-07-17 |
using NBitcoin;
using NBitcoin.Protocol;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Backend.Models;
using WalletWasabi.BitcoinCore.Rpc;
using WalletWasabi.Blockchain.Analysis.Clustering;
using WalletWasabi.Blockchain.BlockF... | nopara73/HiddenWallet | WalletWasabi.Tests/RegressionTests/WalletTests.cs | https://github.com/nopara73/HiddenWallet/blob/HEAD/WalletWasabi.Tests/RegressionTests/WalletTests.cs | ghcode:00171:421e7f0d8c9c | mit | codeparrot/github-code | 421e7f0d8c9ca9b425fbe2605c4720dbd1bcb4b46a0e0f9531af0f5040de9b07 | 0.85 | testing_debugging_repair_refactoring | 4,520 | false | 2026-07-17 |
//
// The MIT License(MIT)
//
// Copyright(c) 2015 Hans Wolff
//
// 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, co... | hanswolff/fido-u2f-net | FidoU2f.Tests/Models/TestFidoRegistrationData.cs | https://github.com/hanswolff/fido-u2f-net/blob/HEAD/FidoU2f.Tests/Models/TestFidoRegistrationData.cs | ghcode:00171:7aae4b0471e9 | mit | codeparrot/github-code | 7aae4b0471e9b824a69dab7ece2d5df205b7afdd95296968c542c21f8fca7630 | 0.85 | testing_debugging_repair_refactoring | 622 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using LAIR.Collections.Generic;
using LAIR.ResourceAPIs.WordNet;
using WeaponGenerator.Common;
using WeaponGenerator.Game;
using WeaponGene... | GregaMohorko/WeaponGenerator | src/WeaponGenerator/WeaponGenerator/InformationExtraction.cs | https://github.com/GregaMohorko/WeaponGenerator/blob/HEAD/src/WeaponGenerator/WeaponGenerator/InformationExtraction.cs | ghcode:00171:b65b38723491 | mit | codeparrot/github-code | b65b3872349192aa962ef736a8377305c5762ef8e51465a1bc55d923cc860073 | 0.7 | testing_debugging_repair_refactoring | 3,002 | false | 2026-07-17 |
using System;
using ComputersBuilder;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTestProject1
{
[TestClass]
public class BatteryChargerTest
{
private LaptopBattery battery;
[TestInitialize]
public void CreateBatteryInstance()
{
this.batte... | kalinalazarova1/TelerikAcademy | Programming/4. QPC/17.Exam/Computers-problem/ComputersBuilder.Test/BatteryChargerTest.cs | https://github.com/kalinalazarova1/TelerikAcademy/blob/HEAD/Programming/4. QPC/17.Exam/Computers-problem/ComputersBuilder.Test/BatteryChargerTest.cs | ghcode:00171:b7289630144e | mit | codeparrot/github-code | b7289630144ea5f2be335934fe842cda52b9d6cc4e47f3091dbfb52b4ab00231 | 0.75 | testing_debugging_repair_refactoring | 399 | false | 2026-07-17 |
using System.Linq;
using SystemWrapper.Microsoft.Win32;
using FakeItEasy;
using NUnit.Framework;
using VMLib.IOC;
using VMLib.UnitTest;
namespace VMLib.VirtualBox.UnitTest
{
[TestFixture]
public class VirtualBoxHypervisorInfoTests
{
public IHypervisorInfo DefaultVirtualBoxHypervisorInfo(IRegistryW... | wiltaylor/VMLib | Src/VMLib.VirtualBox.UnitTest/VirtualBoxHypervisorInfoTests.cs | https://github.com/wiltaylor/VMLib/blob/HEAD/Src/VMLib.VirtualBox.UnitTest/VirtualBoxHypervisorInfoTests.cs | ghcode:00171:b415f9fdee80 | mit | codeparrot/github-code | b415f9fdee809ea2f50e39e68eb1b9a4b731103f97687d61b3a2a0698f65e238 | 0.75 | testing_debugging_repair_refactoring | 444 | false | 2026-07-17 |
namespace SimpleInjector.PartialTrustConsole
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/// <summary>The TestRunner.</summary>
public class TestRunner : MarshalByRefObject
{
/... | simpleinjector/SimpleInjector | src/PartialTrustTestRunner/TestRunner.cs | https://github.com/simpleinjector/SimpleInjector/blob/HEAD/src/PartialTrustTestRunner/TestRunner.cs | ghcode:00171:11d98624880e | mit | codeparrot/github-code | 11d98624880e72d2e276dc0b41e9c385fcdd3835f207e09aae9ceb0a7d83e74c | 0.85 | testing_debugging_repair_refactoring | 805 | false | 2026-07-17 |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace DentedPixel.LTExamples{
public class TestingUnitTests : MonoBehaviour {
public GameObject cube1;
public GameObject cube2;
public GameObject cube3;
public GameObject cube4;
public GameObject cubeAlpha1;
public GameO... | SeongBongJang/amuzlabBonRepo | NGUI_Test/NGUI_Sample/Assets/LeanTween/Examples/Scripts/TestingUnitTests.cs | https://github.com/SeongBongJang/amuzlabBonRepo/blob/HEAD/NGUI_Test/NGUI_Sample/Assets/LeanTween/Examples/Scripts/TestingUnitTests.cs | ghcode:00171:ae0654241ae6 | mit | codeparrot/github-code | ae0654241ae6b190cd034eeed75c16fd1f6c5f999528327d8be7bf70b0fd4777 | 0.85 | testing_debugging_repair_refactoring | 6,687 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FluentAssertions;
using P3Net.Kraken.Net.Http.Headers;
namespace Tests.P3Net.Kraken.Net.Http.Headers
{
[TestClass]
public class HeaderLinkUrlTests
{
#region Ctor
[TestMethod]
public void Ctor_StringUrlIsVali... | CoolDadTx/kraken | Tests/Tests.P3Net.Kraken.Net.Http/Headers/HeaderLinkUrlTests.cs | https://github.com/CoolDadTx/kraken/blob/HEAD/Tests/Tests.P3Net.Kraken.Net.Http/Headers/HeaderLinkUrlTests.cs | ghcode:00171:27f9da4703dc | mit | codeparrot/github-code | 27f9da4703dc8c3182497ee81d755886dae7f476d5e32d97ce0fff73c206cdd3 | 0.85 | testing_debugging_repair_refactoring | 1,256 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Demo
{
[TestFixture]
class G_GoStyle
{
(string result, string error) TheQuestion(bool vogonsArrived)
{
if (vogonsArrived)
... | pkanavos/CSharpRevolution_DNZ | src/Demo/Demo/G_GoStyle.cs | https://github.com/pkanavos/CSharpRevolution_DNZ/blob/HEAD/src/Demo/Demo/G_GoStyle.cs | ghcode:00171:bc58b345f7bf | mit | codeparrot/github-code | bc58b345f7bf660f8bec68b0575f455555efc58cbea9bc5581fb404dc2aec5ff | 0.6 | testing_debugging_repair_refactoring | 185 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ThrowIfResourceUnavailableOpTest.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
// </copyright>
// ---------------------------------------... | NaosProject/Naos.Database | Naos.Database.Domain.Test/Operations/Classes/ResourceLocation/ThrowIfResourceUnavailableOpTest.cs | https://github.com/NaosProject/Naos.Database/blob/HEAD/Naos.Database.Domain.Test/Operations/Classes/ResourceLocation/ThrowIfResourceUnavailableOpTest.cs | ghcode:00171:c7c189d2a0a8 | mit | codeparrot/github-code | c7c189d2a0a8919d05a539311739d0962e1f048aa3dfc583cd84a1923fee9ba8 | 0.7 | testing_debugging_repair_refactoring | 97 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Objects.Get.Users.Statistics.Json.Reader
{
using FluentAssertions;
using System.Threading.Tasks;
using Traits;
using TraktApiSharp.Objects.Get.Users.Statistics.Json.Reader;
using Xunit;
[Category("Objects.Get.Users.Statistics.JsonReader")]
public partial class... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Get/Users/Statistics/Json/Reader/UserShowsStatisticsObjectJsonReader/UserShowsStatisticsObjectJsonReader_Json_String_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Objects/Get/Users/Statistics/Json/Reader/UserShowsStatisticsObjectJsonReader/UserShowsStatisticsObjectJsonReader_Json_String_Tests.cs | ghcode:00171:580a163b6eca | mit | codeparrot/github-code | 580a163b6eca2929607df7112b2383e50dec69991878e6e44b2d8af1c9efa537 | 0.85 | testing_debugging_repair_refactoring | 1,852 | false | 2026-07-17 |
namespace Easy.Common.Tests.Unit.FileAndDirectoryExtensions
{
using System.IO;
using System.Linq;
using Easy.Common.Extensions;
using NUnit.Framework;
using Shouldly;
[TestFixture]
internal sealed class EnumeratingFilesTests
{
private DirectoryInfo _root;
[OneT... | NimaAra/Easy.Common | Easy.Common.Tests.Unit/FileAndDirectoryExtensions/EnumeratingFilesTests.cs | https://github.com/NimaAra/Easy.Common/blob/HEAD/Easy.Common.Tests.Unit/FileAndDirectoryExtensions/EnumeratingFilesTests.cs | ghcode:00171:79db84392065 | mit | codeparrot/github-code | 79db84392065ca6a859e4b7c064bdcd508cbefc325e0d65019c5c10b2afc9131 | 0.75 | testing_debugging_repair_refactoring | 1,016 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WhetStone.Looping;
namespace Tests
{
[TestClass]
public class Splice
{
[TestMethod]
public void Simple()
{
var val = range.Range(10).Splice(range.Range(5), 2);
Assert.IsTrue(val.SequenceEqualIndices(0... | bentheiii/WhetStone | WhetstoneTests/Splice.cs | https://github.com/bentheiii/WhetStone/blob/HEAD/WhetstoneTests/Splice.cs | ghcode:00171:b857ccc29eaf | mit | codeparrot/github-code | b857ccc29eaf75d2542ac38bbcc4d1b64fa5d433ccff0372ab09d53d0bd4f639 | 0.6 | testing_debugging_repair_refactoring | 103 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Autofac;
using FakeItEasy;
using FluentAssertions;
using NUnit.Framework;
// ReSharper disable CheckNamespace
namespace Hazware.Autofac.Tests
// ReSharper restore CheckNamespace
{
public interface ITestClass
... | dbuksbaum/Hazware.Core | tests/Hazware.Core.Autofac.Tests-NET4/AutofacTests.cs | https://github.com/dbuksbaum/Hazware.Core/blob/HEAD/tests/Hazware.Core.Autofac.Tests-NET4/AutofacTests.cs | ghcode:00171:e53ba2e8d8c4 | mit | codeparrot/github-code | e53ba2e8d8c4bb4600c9dcfa88786451e08ca53d2cd4a07a197c44dbfeea3fbe | 0.85 | testing_debugging_repair_refactoring | 2,024 | false | 2026-07-17 |
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2021 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version ... | SonarSource-VisualStudio/sonarlint-visualstudio | src/Integration.UnitTests/ReferencesTests.cs | https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/blob/HEAD/src/Integration.UnitTests/ReferencesTests.cs | ghcode:00171:e9984d66bcb7 | mit | codeparrot/github-code | e9984d66bcb7e4040ed6e339050f384bc4aed40f3cc4de8afe8e8115102878e6 | 0.75 | testing_debugging_repair_refactoring | 525 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HTLib2;
using HTLib2.Bioinfo;
namespace HTLib2.Bioinfo
{
public static partial class HessStatic
{
public static double GetHessTraceSpringBwAtoms(this Matrix hess, int atomi, int atomj)
{
... | htna/HCsbLib | HCsbLib/HCsbLib/HTLib2.Bioinfo/HessStatic/HessStatic.cs | https://github.com/htna/HCsbLib/blob/HEAD/HCsbLib/HCsbLib/HTLib2.Bioinfo/HessStatic/HessStatic.cs | ghcode:00171:fe37962c599f | mit | codeparrot/github-code | fe37962c599fcb3d11ef6fa370fff32c819dce2de3ad8f0644369f4b880dc456 | 0.7 | testing_debugging_repair_refactoring | 2,022 | false | 2026-07-17 |
using System;
using System.Collections.Specialized;
using jaytwo.Common.Futures.Http;
using NUnit.Framework;
namespace jaytwo.Common.Test.Futures.Http
{
[TestFixture]
public class DigestAuthenticationTests
{
[Test]
public void HttpAuthentication_GetAuthenticationHeaderParameters()
{
var expected = new ... | jakegough/jaytwo.CommonLib | CommonLib.Test/Futures/Http/DigestAuthenticationTests.cs | https://github.com/jakegough/jaytwo.CommonLib/blob/HEAD/CommonLib.Test/Futures/Http/DigestAuthenticationTests.cs | ghcode:00171:1e612f3a1349 | mit | codeparrot/github-code | 1e612f3a1349cd93eff116c45a7ae22d5c4916387ab38514080516d4bc2230f6 | 0.75 | testing_debugging_repair_refactoring | 1,273 | false | 2026-07-17 |
using UnityEngine;
namespace Sound
{
public class SoundManager
{
private static SoundManager singletonInstance;
public static SoundManager SingletonInstance
{
get
{
if (singletonInstance == null)
singletonInstance = new Sound... | TheAsuro/Velocity | Assets/Scripts/Sound/SoundManager.cs | https://github.com/TheAsuro/Velocity/blob/HEAD/Assets/Scripts/Sound/SoundManager.cs | ghcode:00171:6c53b783c5d7 | mit | codeparrot/github-code | 6c53b783c5d7bfcbd67bbc43b6159ae0d07029e4f26f5146e1f8bbdfbd49cee4 | 0.6 | testing_debugging_repair_refactoring | 225 | false | 2026-07-17 |
using System;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Owin.Testing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WebApiResourceOwnerFlow;
namespace WebApiResourceOwnerFlowSpecs.IntergrationTests
{
[T... | mauricedb/WebApiResourceOwnerFlow | WebApiResourceOwnerFlowSpecs/IntergrationTests/DemoControllerSpecs.cs | https://github.com/mauricedb/WebApiResourceOwnerFlow/blob/HEAD/WebApiResourceOwnerFlowSpecs/IntergrationTests/DemoControllerSpecs.cs | ghcode:00171:06594aea4dcb | mit | codeparrot/github-code | 06594aea4dcbe9e139115905484aeca6022c92ecd0ba478519ba414385479761 | 0.6 | testing_debugging_repair_refactoring | 409 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Moq;
using ListMakerTwo;
using ClosedXML.Excel;
namespace Tests.ListMakerTwo
{
[TestFixture]
public class SourceReader_RealExample2017
{
private static I... | henrikzwomp/LugbulkListMaker | Tests/ListMakerTwo/SourceReader_RealExample2017.cs | https://github.com/henrikzwomp/LugbulkListMaker/blob/HEAD/Tests/ListMakerTwo/SourceReader_RealExample2017.cs | ghcode:00171:2089e67a1586 | mit | codeparrot/github-code | 2089e67a1586fe2fcc0341f71b9809b19029a80a2a08cc8b545f704050c9ad44 | 0.6 | testing_debugging_repair_refactoring | 372 | false | 2026-07-17 |
// using UnityEngine;
// using UnityEditor;
// using NUnit.Framework;
// using System.Collections.Generic;
//
// public class TestDialogueUIBehaviour : Yarn.Unity.DialogueUIBehaviour {
//
// private Queue<string> expectedLines = new Queue<string>();
// public void ExpectLine(string line) {
// expectedLines.Enqueu... | harjup/HorseDate | src/HorseDate/Assets/Yarn Spinner/Code/Editor/YarnSpinnerTests.cs | https://github.com/harjup/HorseDate/blob/HEAD/src/HorseDate/Assets/Yarn Spinner/Code/Editor/YarnSpinnerTests.cs | ghcode:00171:203c3d076792 | mit | codeparrot/github-code | 203c3d076792facc48b67d77f4dbed560a2dd4728474ba263f80d35aa4f6fa8d | 0.85 | testing_debugging_repair_refactoring | 834 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.