text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LibGit2Sharp;
using Nerdbank.GitVersioning;
using Nerdbank.GitVersioning.Tests;
using Validation;
using Xunit;
using Xunit.Abstractions;
using Version = System.Version;
public cla... | jeremyhaubold/Nerdbank.GitVersioning | src/NerdBank.GitVersioning.Tests/GitExtensionsTests.cs | https://github.com/jeremyhaubold/Nerdbank.GitVersioning/blob/HEAD/src/NerdBank.GitVersioning.Tests/GitExtensionsTests.cs | ghcode:00159:b2cc9afdc94e | mit | codeparrot/github-code | b2cc9afdc94efcfaebbbe0d893c0175dfc87452c76d1d7f974d1c6e50df6d70e | 0.85 | testing_debugging_repair_refactoring | 4,267 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using Azure.ResourceManager.Resources;
using Azure.Core.TestFramework;
using Azure.ResourceManager.Even... | Azure/azure-sdk-for-net | sdk/eventhub/Azure.ResourceManager.EventHubs/tests/Tests/DisasterRecoveryTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/eventhub/Azure.ResourceManager.EventHubs/tests/Tests/DisasterRecoveryTests.cs | ghcode:00159:155052b0d962 | mit | codeparrot/github-code | 155052b0d96210bdfcc1d3157bb329bad7f88e5d36caacf971da42a5de61181f | 0.95 | testing_debugging_repair_refactoring | 1,274 | false | 2026-07-17 |
using Nett;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using TaskLayer;
namespace Test
{
[TestFixture]
public static class SlicedTest
{
[Test]
public static void SlicedTest1()
{
var task = Toml.ReadFile<Sea... | lschaffer2/MetaMorpheus | Test/SlicedTest.cs | https://github.com/lschaffer2/MetaMorpheus/blob/HEAD/Test/SlicedTest.cs | ghcode:00159:072601385923 | mit | codeparrot/github-code | 072601385923590c4cf41a0d31edb7d18ed5a4e29e5625f17cbeffcb05bbf61c | 0.75 | testing_debugging_repair_refactoring | 666 | false | 2026-07-17 |
using System;
using FluentAssertions;
using Xunit;
namespace Ritter.Infra.Crosscutting.Tests.Extensions
{
public class String_RemoveSpecialCharacters
{
[Theory]
[InlineData("abcdefGHIJKLM0123434!@#$%¨&*()_+-=", "abcdefGHIJKLM0123434")]
[InlineData("abcdefGHIJKLM0123434´`[{~^]};:/?,<.>",... | aritters/Ritter | tests/Infra.Crosscutting.Tests/Extensions/String_RemoveSpecialCharacters.cs | https://github.com/aritters/Ritter/blob/HEAD/tests/Infra.Crosscutting.Tests/Extensions/String_RemoveSpecialCharacters.cs | ghcode:00159:c3d5494c005c | mit | codeparrot/github-code | c3d5494c005c61ac8c6e666ddb8bb80537db8911787ae1b037e5f5e9c021f929 | 0.6 | testing_debugging_repair_refactoring | 208 | false | 2026-07-17 |
using NUnit.Framework;
using Xyperico.Base;
using Xyperico.Base.Collections;
namespace Xyperico.Infrastructure.Tests
{
[SetUpFixture]
public class SetupFixture
{
public static void Setup(IObjectContainer container)
{
//Xyperico.Authentication.MongoDB.Utility.Initialize(container);
... | JornWildt/Xyperico.Infrastructure | Xyperico.Infrastructure.Tests/SetupFixture.cs | https://github.com/JornWildt/Xyperico.Infrastructure/blob/HEAD/Xyperico.Infrastructure.Tests/SetupFixture.cs | ghcode:00159:e57ad81f3ec4 | mit | codeparrot/github-code | e57ad81f3ec44efa14185fa1b1f86f487976e2de3d2490b42e35d6b646dfc543 | 0.7 | testing_debugging_repair_refactoring | 146 | false | 2026-07-17 |
using NUnit.Framework;
using FilenameBuddy;
using System;
using BulletMLLib;
using BulletMLSample;
namespace BulletMLTests
{
[TestFixture()]
public class FireNodeTest
{
MoverManager manager;
Myship dude;
[SetUp()]
public void setupHarness()
{
Filename.SetCurrentDirectory(@"C:\Projects\BulletMLLib\Bull... | dmanning23/BulletMLLib | BulletMLLib/BulletMLLib.Tests/FireNodeTest.cs | https://github.com/dmanning23/BulletMLLib/blob/HEAD/BulletMLLib/BulletMLLib.Tests/FireNodeTest.cs | ghcode:00159:358ee4fb4697 | mit | codeparrot/github-code | 358ee4fb4697c4a328194a108c6bfa0ebd2569a1192f5d0dd3192d028dc9c07a | 0.6 | testing_debugging_repair_refactoring | 570 | false | 2026-07-17 |
namespace Tests
{
using System;
using System.IO;
using System.Reflection;
using System.Xml.Linq;
using JetBrains.Annotations;
using Tests.Properties;
using Xunit;
public class IntegrationTests
{
[NotNull]
private readonly string _targetAssemblyPath = Path.Combine... | Fody/JetBrainsAnnotations | Tests/IntegrationTests.cs | https://github.com/Fody/JetBrainsAnnotations/blob/HEAD/Tests/IntegrationTests.cs | ghcode:00159:73613a6b4ce2 | mit | codeparrot/github-code | 73613a6b4ce217ed8beae6575766fa98f05a3891e777c42c6348a03fffbaf95a | 0.75 | testing_debugging_repair_refactoring | 305 | false | 2026-07-17 |
using Xunit;
namespace AppShell.Tests
{
public class PlatformTest
{
[Fact]
public void HasFlag_Desktop()
{
Assert.True(Platform.Desktop.HasFlag(Platform.Windows));
Assert.True(Platform.Desktop.HasFlag(Platform.Mac));
Assert.False(Platform.Desktop.Ha... | cschwarz/AppShell | test/AppShell.Tests/Enums/PlatformTest.cs | https://github.com/cschwarz/AppShell/blob/HEAD/test/AppShell.Tests/Enums/PlatformTest.cs | ghcode:00159:4c2ac3d9e2ef | mit | codeparrot/github-code | 4c2ac3d9e2ef14d58adb7656d456312d78fd7a7e762d23d8408a4c39109a13c7 | 0.6 | testing_debugging_repair_refactoring | 283 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Moq;
using MvcMonitor.Data.Providers;
using MvcMonitor.Data.Providers.Factories;
using MvcMonitor.ErrorHandling;
using MvcMonitor.Models;
using NUnit.Framework;
namespace MvcMonitor.Tests.ErrorHubTests
{
[TestFixture]
public class GetPagedErrorsTests
{... | tommy-ly/MVC-Monitor | MvcMonitor.Tests/ErrorHubTests/GetPagedErrorsTests.cs | https://github.com/tommy-ly/MVC-Monitor/blob/HEAD/MvcMonitor.Tests/ErrorHubTests/GetPagedErrorsTests.cs | ghcode:00159:d3c6b3d8436b | mit | codeparrot/github-code | d3c6b3d8436b1ca6c836289e0b04334dda863807388d7c776395e64bb8998edc | 0.75 | testing_debugging_repair_refactoring | 1,178 | 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.Reflection;
namespace System.Linq.Expressions.Tests
{
static class ReflectionExtensions
{
public static ConstructorInfo GetDeclaredConstr... | mellinoe/corefx | src/System.Linq.Expressions/tests/Catalog/ReflectionExtensions.cs | https://github.com/mellinoe/corefx/blob/HEAD/src/System.Linq.Expressions/tests/Catalog/ReflectionExtensions.cs | ghcode:00159:ac2f3c7004da | mit | codeparrot/github-code | ac2f3c7004da80b9fa60f2dd3377a3e5b3cf08cb7d818efa76173b5e8efb6ea7 | 0.85 | testing_debugging_repair_refactoring | 99 | false | 2026-07-17 |
namespace Glimpse.NHibernate.Test.NH2124000
{
public class When_the_GlimpseDbDriverFactory_is_told_to_GetDbDriverType_for_NH2124000
: When_the_GlimpseDbDriverFactory_is_told_to_GetDbDriverType
{
protected override string GetExpectedVersionNumber()
{
return "2124000";
... | stevenlauwers22/Glimpse.NHibernate | Glimpse.NHibernate.Test.NH2124000/When_the_GlimpseDbDriverFactory_is_told_to_GetDbDriverType_for_NH2124000.cs | https://github.com/stevenlauwers22/Glimpse.NHibernate/blob/HEAD/Glimpse.NHibernate.Test.NH2124000/When_the_GlimpseDbDriverFactory_is_told_to_GetDbDriverType_for_NH2124000.cs | ghcode:00159:aa0395246b58 | mit | codeparrot/github-code | aa0395246b585ed467137f3c40f28cc217318895d710fa6016a229923dddd7f3 | 0.75 | testing_debugging_repair_refactoring | 99 | false | 2026-07-17 |
/* Copyright 2017-2019 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/StringNeighborhoodGraphTests.cs | https://github.com/pavkam/abacaxi/blob/HEAD/Abacaxi.Tests/Graphs/StringNeighborhoodGraphTests.cs | ghcode:00159:b202f6c86526 | mit | codeparrot/github-code | b202f6c865265100a500c062ac5f8c84533516f036dec1c2b5b9946f9638cb8b | 0.75 | testing_debugging_repair_refactoring | 1,200 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using System;
using NUnit.Framework;
namespace NUnit.Engine.Api
{
public class ServiceLocatorTests
{
private ITestEngine _testEngine;
[OneTimeSetUp]
public void CreateEngine()
{
... | nunit/nunit-console | src/NUnitEngine/nunit.engine.tests/Api/ServiceLocatorTests.cs | https://github.com/nunit/nunit-console/blob/HEAD/src/NUnitEngine/nunit.engine.tests/Api/ServiceLocatorTests.cs | ghcode:00159:0c56201af647 | mit | codeparrot/github-code | 0c56201af647960d5f437a4a3e79b37f311770e489dc031fab76e654c5fb5168 | 0.75 | testing_debugging_repair_refactoring | 203 | false | 2026-07-17 |
using System.Threading.Tasks;
using Telegram.Bot.Requests;
using Telegram.Bot.Tests.Integ.Framework;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
using Xunit;
namespace Telegram.Bot.Tests.Integ.Sending_Messages
{
[Collection(Constants.TestCollections.ObsoleteSendMediaGroup)]
[TestCaseOrderer(Const... | AndyDingo/telegram.bot | test/Telegram.Bot.Tests.Integ/Sending Messages/OboleteSendMediaGroupTests.cs | https://github.com/AndyDingo/telegram.bot/blob/HEAD/test/Telegram.Bot.Tests.Integ/Sending Messages/OboleteSendMediaGroupTests.cs | ghcode:00159:70c08a44c81e | mit | codeparrot/github-code | 70c08a44c81e31dfc28bb4d534a93637f609af76bdf1cf8574e368e5c68d9174 | 0.85 | testing_debugging_repair_refactoring | 1,019 | false | 2026-07-17 |
using System;
using ContosoUniversity.Controllers;
using ContosoUniversity.FunctionalTests.PageObjects;
using ContosoUniversity.ViewModels;
using FizzWare.NBuilder;
using FluentAssertions;
using NUnit.Framework;
using OpenQA.Selenium;
namespace ContosoUniversity.FunctionalTests.Tests
{
[TestFixture]
public cl... | mwhelan/MvcTestingSamples | src/ContosoUniversity.FunctionalTests/Tests/StronglyTypedModelTests.cs | https://github.com/mwhelan/MvcTestingSamples/blob/HEAD/src/ContosoUniversity.FunctionalTests/Tests/StronglyTypedModelTests.cs | ghcode:00159:1c85369f23a2 | mit | codeparrot/github-code | 1c85369f23a2de173a2346244f3fa7a649cceed6c9f7265d670586541b384071 | 0.85 | testing_debugging_repair_refactoring | 508 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using AsyncGenerator.Analyzation;
using AsyncGenerator.Core;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using NUnit.Framework;
using AsyncGenerator.Tests.NestedTypes.Input;
namespace AsyncGenerator.Tests.NestedTypes
{
[Test... | maca88/AsyncGenerator | Source/AsyncGenerator.Tests/NestedTypes/Fixture.cs | https://github.com/maca88/AsyncGenerator/blob/HEAD/Source/AsyncGenerator.Tests/NestedTypes/Fixture.cs | ghcode:00159:ab56c5d390da | mit | codeparrot/github-code | ab56c5d390da7e19e755a8599babfcf057facce315feecb04e4b61535bef686f | 0.75 | testing_debugging_repair_refactoring | 529 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Objects.Basic.Json.Reader
{
using FluentAssertions;
using System;
using System.IO;
using System.Threading.Tasks;
using TestUtils;
using Traits;
using TraktApiSharp.Objects.Basic.Json.Reader;
using Xunit;
[Category("Objects.Basic.JsonReader")]
publi... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Basic/Json/Reader/CommentObjectJsonReader/CommentObjectJsonReader_Stream_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Objects/Basic/Json/Reader/CommentObjectJsonReader/CommentObjectJsonReader_Stream_Tests.cs | ghcode:00159:94c4685930a1 | mit | codeparrot/github-code | 94c4685930a10cb511712c64a8e6811aac8241954c83bc864d6758c81217a27d | 0.85 | testing_debugging_repair_refactoring | 11,164 | false | 2026-07-17 |
using AllReady.Areas.Admin.Features.Activities;
using AllReady.Models;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using Xunit;
namespace AllReady.UnitTest.Activities
{
public class GetActivityDetail : InMemoryContextTest
{
protected overr... | SteveStrong/allReady | AllReadyApp/Web-App/AllReady.UnitTest/Activities/GetActivityDetail.cs | https://github.com/SteveStrong/allReady/blob/HEAD/AllReadyApp/Web-App/AllReady.UnitTest/Activities/GetActivityDetail.cs | ghcode:00159:3a10d22b3a44 | mit | codeparrot/github-code | 3a10d22b3a448c814b17b058dd26ad3183b183f7742d86db9018f891ade3df95 | 0.6 | testing_debugging_repair_refactoring | 455 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Maten.Tests.Repo;
using System.Linq;
using Newtonsoft.Json;
using System.IO;
namespace Maten.Tests
{
[TestClass]
public class DataCreator
{
[TestMethod]
public void FillStopwords()
{
string path = @... | balbarak/Maten | src/Maten.Tests/DataCreator.cs | https://github.com/balbarak/Maten/blob/HEAD/src/Maten.Tests/DataCreator.cs | ghcode:00159:1ce6f33bf4d3 | mit | codeparrot/github-code | 1ce6f33bf4d3ee4fb15644a652f31c8acf15c668f85e49da23d1891967055428 | 0.6 | testing_debugging_repair_refactoring | 173 | false | 2026-07-17 |
using ModulusChecking;
using NUnit.Framework;
namespace PublicInterfaceTests
{
public class VocalinkTestCases
{
private readonly ModulusChecker _modulusChecker = new ModulusChecker();
private void ValidateModulusCalculation(string sc, string an, bool expectedResult)
{
Asse... | regisbsb/ModulusChecker | PublicInterfaceTests/VocalinkTestCases.cs | https://github.com/regisbsb/ModulusChecker/blob/HEAD/PublicInterfaceTests/VocalinkTestCases.cs | ghcode:00159:f2e4d5eb1a0e | mit | codeparrot/github-code | f2e4d5eb1a0ef1fcfa87a7c3817266078471b415041bf74c159776805ab256bc | 0.85 | testing_debugging_repair_refactoring | 2,113 | false | 2026-07-17 |
// Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Linq;
using Microsoft;
using Xunit;
internal class MockArrayPool<T> : ArrayPool... | AArnott/Nerdbank.FullDuplexStream | src/Nerdbank.Streams.Tests/MockArrayPool`1.cs | https://github.com/AArnott/Nerdbank.FullDuplexStream/blob/HEAD/src/Nerdbank.Streams.Tests/MockArrayPool`1.cs | ghcode:00159:bc7a55bba9b0 | mit | codeparrot/github-code | bc7a55bba9b01376240b394fe81606cbe2f3f3f5e907681b1254647200720745 | 0.85 | testing_debugging_repair_refactoring | 375 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Sonneville.Investing.Accounting.Securities;
using Sonneville.Investing.Accounting.Securities.Transactions;
namespace Sonneville.Investing.Test.Accounting.Securities
{
[TestFixture]
public class HeldSharesCalculatorT... | SonnevilleJ/Investing | Sonneville.Investing.Test/Accounting/Securities/HeldSharesCalculatorTests.cs | https://github.com/SonnevilleJ/Investing/blob/HEAD/Sonneville.Investing.Test/Accounting/Securities/HeldSharesCalculatorTests.cs | ghcode:00159:da285ab0032c | mit | codeparrot/github-code | da285ab0032c9cfca77237e67f7a12e05285eb11195d30900443015295297d99 | 0.75 | testing_debugging_repair_refactoring | 681 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Restore.Channel;
using Restore.Channel.Configuration;
namespace Restore.Tests.Channel
{
[TestFixture]
public class AttachedObservableFilterTest : IDisposable
{
private readonly LocalTestResource _validTestResource = new LocalTestResource(1, 10) { Name = "... | ferrydeboer/restore | Restore.Tests/Channel/AttachedObservableFilterTest.cs | https://github.com/ferrydeboer/restore/blob/HEAD/Restore.Tests/Channel/AttachedObservableFilterTest.cs | ghcode:00159:f31a65a88e50 | mit | codeparrot/github-code | f31a65a88e5000169c75dd1685556a845c30f6a9db8ddb48de90a61f470692b7 | 0.6 | testing_debugging_repair_refactoring | 389 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using ConStringCat.Core.Model;
using ConStringCat.Core.UnitTests.Utils;
using Moq;
using NUnit.Framework;
namespace ConStringCat.Core.UnitTests.Model
{
[TestFixture]
public class ConfigurationValueVariantsSetTests
{
private const string VariantsS... | RegiSV2/ConnectionStringCat | src/ConnectionStringCat/ConStringCat.Core.UnitTests/Model/ConfigurationValueVariantsSetTests.cs | https://github.com/RegiSV2/ConnectionStringCat/blob/HEAD/src/ConnectionStringCat/ConStringCat.Core.UnitTests/Model/ConfigurationValueVariantsSetTests.cs | ghcode:00159:34072de5035d | mit | codeparrot/github-code | 34072de5035d2277a16e10146255601651a65847b5e5c8c3bf6154cd1765c1f8 | 0.85 | testing_debugging_repair_refactoring | 1,723 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading;
using NUnit.Framework;
namespace CxSoftware.RandomSharp.Tests
{
[TestFixture]
public class ThreadSafeExtendedRandomTest
{
[Test]
public void TestMultiThreaded ()
{
Action action = () => { for (var x = 1; x < 1000; x++) ThreadSafeExtendedRandom.NextU... | CxSoftware/RandomSharp | CxSoftware.RandomSharp.Tests/ThreadSafeExtendedRandomTest.cs | https://github.com/CxSoftware/RandomSharp/blob/HEAD/CxSoftware.RandomSharp.Tests/ThreadSafeExtendedRandomTest.cs | ghcode:00159:a16b2e836c62 | mit | codeparrot/github-code | a16b2e836c62be378222b6e2bb88887fefcf3134e317a30e4cab936898acbe80 | 0.6 | testing_debugging_repair_refactoring | 123 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Objects.Basic.Json.Reader
{
using FluentAssertions;
using Newtonsoft.Json;
using System.IO;
using System.Threading.Tasks;
using Traits;
using TraktApiSharp.Enums;
using TraktApiSharp.Objects.Basic.Json.Reader;
using Xunit;
[Category("Objects.Basic.Json... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Basic/Json/Reader/SearchResultObjectJsonReader/SearchResultObjectJsonReader_Show_Reader_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Objects/Basic/Json/Reader/SearchResultObjectJsonReader/SearchResultObjectJsonReader_Show_Reader_Tests.cs | ghcode:00159:f3e583564fcf | mit | codeparrot/github-code | f3e583564fcffe0ee066ce199078de2f51feb707d8c948b178861678e53cfa36 | 0.85 | testing_debugging_repair_refactoring | 3,320 | false | 2026-07-17 |
using System;
using Amazon.Runtime.CredentialManagement;
using FluentAssertions;
using Newtonsoft.Json;
using Paramore.Brighter.AWSSQS.Tests.TestDoubles;
using Paramore.Brighter.MessagingGateway.AWSSQS;
using Xunit;
namespace Paramore.Brighter.AWSSQS.Tests.MessagingGateway
{
[Collection("AWS")]
[Trait("Categor... | BrighterCommand/Paramore.Brighter | tests/Paramore.Brighter.AWSSQS.Tests/MessagingGateway/When_rejecting_a_message_through_gateway_with_requeue.cs | https://github.com/BrighterCommand/Paramore.Brighter/blob/HEAD/tests/Paramore.Brighter.AWSSQS.Tests/MessagingGateway/When_rejecting_a_message_through_gateway_with_requeue.cs | ghcode:00159:2764b85f6207 | mit | codeparrot/github-code | 2764b85f6207a7203c904c5f3e35fce782fb566b3a5f9e163c0e07e38b341813 | 0.85 | testing_debugging_repair_refactoring | 596 | false | 2026-07-17 |
using System.Reflection.PortableExecutable;
using Algorithms.DataStructures.HashMap;
using Algorithms.DataStructures.SearchTries;
using Algorithms.DataStructures.TreeMap;
using Xunit;
using Xunit.Abstractions;
namespace AlgorithmsUnitTest.DataStrutures.TreeMap
{
public class TernarySearchTriesUnitTest
{
... | cschen1205/cs-algorithms | cs-algorithms-unit-tests/DataStrutures/SearchTries/TernarySearchTriesUnitTest.cs | https://github.com/cschen1205/cs-algorithms/blob/HEAD/cs-algorithms-unit-tests/DataStrutures/SearchTries/TernarySearchTriesUnitTest.cs | ghcode:00159:788defdd2e40 | mit | codeparrot/github-code | 788defdd2e4046b54aab6f0d7ba82dff9402f500a175e10d564ba305d9108c15 | 0.6 | testing_debugging_repair_refactoring | 315 | false | 2026-07-17 |
using OpenKh.Common;
using OpenKh.Imaging;
using OpenKh.Kh2.Ard;
using System.IO;
using System.Linq;
using Xunit;
namespace OpenKh.Tests.Imaging
{
public class PngTests
{
[Theory]
[InlineData("4")]
[InlineData("8")]
[InlineData("24")]
[InlineData("32")]
public vo... | Xeeynamo/KingdomHearts | OpenKh.Tests/Imaging/PngTests.cs | https://github.com/Xeeynamo/KingdomHearts/blob/HEAD/OpenKh.Tests/Imaging/PngTests.cs | ghcode:00159:c1cba01ba808 | mit | codeparrot/github-code | c1cba01ba808a63007ad24b0064cb81e48b52e47af0290f98978cc9bb57c3c8c | 0.75 | testing_debugging_repair_refactoring | 111 | false | 2026-07-17 |
#region Licence
/* The MIT License (MIT)
Copyright © 2014 Ian Cooper <ian_hammond_cooper@yahoo.co.uk>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limita... | BrighterCommand/Paramore.Brighter | tests/Paramore.Brighter.RMQ.Tests/MessagingGateway/When_posting_a_message_via_the_messaging_gateway.cs | https://github.com/BrighterCommand/Paramore.Brighter/blob/HEAD/tests/Paramore.Brighter.RMQ.Tests/MessagingGateway/When_posting_a_message_via_the_messaging_gateway.cs | ghcode:00159:5b5fd0e3a381 | mit | codeparrot/github-code | 5b5fd0e3a3818d79f06362f0be0d767f81fa186074d1ef9f9b81030c89cadc04 | 0.85 | testing_debugging_repair_refactoring | 600 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
// Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target?
// Find all unique quadruplets in the array which gives the sum of target.
// Note:
// Elements in a quadruplet (a,b,c,d) must be ... | txchen/localleet | csharp/Q018_4Sum.cs | https://github.com/txchen/localleet/blob/HEAD/csharp/Q018_4Sum.cs | ghcode:00159:776e2791af9f | mit | codeparrot/github-code | 776e2791af9f89e791a1234556a5476cdb153c4c6bf591d39141cf5785d08f5b | 0.7 | testing_debugging_repair_refactoring | 537 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using AsyncGenerator.Analyzation;
using AsyncGenerator.Core;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using NUnit.Framework;
using AsyncGenerator.Tests.TryCatch.Input;
namespace AsyncGenerator.Tests.TryCatch
{
[TestFixtur... | maca88/AsyncGenerator | Source/AsyncGenerator.Tests/TryCatch/Fixture.cs | https://github.com/maca88/AsyncGenerator/blob/HEAD/Source/AsyncGenerator.Tests/TryCatch/Fixture.cs | ghcode:00159:f90c96c1431d | mit | codeparrot/github-code | f90c96c1431da63287a25d01a37680e872fb990158a143a34d9187d241284552 | 0.75 | testing_debugging_repair_refactoring | 2,168 | false | 2026-07-17 |
// * **********************************************************************************
// * Copyright (c) Clinton Sheppard
// * This source code is subject to terms and conditions of the MIT License.
// * A copy of the license can be found in the License.txt file
// * at the root of this distribution.
// * By u... | handcraftsman/Scratch | src/Scratch/ParseRegex/Tests.cs | https://github.com/handcraftsman/Scratch/blob/HEAD/src/Scratch/ParseRegex/Tests.cs | ghcode:00159:89fae9e6f5c5 | mit | codeparrot/github-code | 89fae9e6f5c59d481b5d5e2ccc9e460c0b818aadad91a0a2fd5f47b546ca89f5 | 0.85 | testing_debugging_repair_refactoring | 1,681 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Nonin.Tests
{
[TestFixture]
public class ApiTests
{
[Test]
public void ValidNumberButUnsupportedKindShouldNotValidate()
{
var noKinds = new NinKind[0];
var al... | slahn/nonin | Nonin.Tests/ApiTests.cs | https://github.com/slahn/nonin/blob/HEAD/Nonin.Tests/ApiTests.cs | ghcode:00159:67b65be99c49 | mit | codeparrot/github-code | 67b65be99c490568c73212a346b665cd2dabb28142a4fc1009700f34a0d06d0d | 0.75 | testing_debugging_repair_refactoring | 362 | false | 2026-07-17 |
using System;
using System.Linq;
using NSubstitute;
using Octokit.Reactive;
using Xunit;
namespace Octokit.Tests.Reactive
{
public class ObservableUserKeysClientTests
{
public class TheGetAllMethod
{
[Fact]
public void CallsIntoClient()
{
var... | chunkychode/octokit.net | Octokit.Tests/Reactive/ObservableUserKeysClientTests.cs | https://github.com/chunkychode/octokit.net/blob/HEAD/Octokit.Tests/Reactive/ObservableUserKeysClientTests.cs | ghcode:00159:823f82f882e1 | mit | codeparrot/github-code | 823f82f882e17b9ce9cdaa89a513666d6f5de89125e6ef36740af15046eccbf7 | 0.75 | testing_debugging_repair_refactoring | 479 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using IoCContainer.Services;
using NUnit.Framework;
using Shop.Domain.Entities.Address;
using Shop.Domain.Entities.Cards;
using Shop.Domain.Entities.Customer;
using Shop.Domain.Entities.Shopper;
namespace IoCContainerTests.Te... | Foxpips/SIoCContainer | IoCContainerTests/Tests/ManualDependencyInjectionTests.cs | https://github.com/Foxpips/SIoCContainer/blob/HEAD/IoCContainerTests/Tests/ManualDependencyInjectionTests.cs | ghcode:00159:bae05a51c63c | mit | codeparrot/github-code | bae05a51c63ca68f4b454bfe32f5011edb46bf70b776ada9477296c71554a155 | 0.85 | testing_debugging_repair_refactoring | 399 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FluentAssertions;
using Xunit;
namespace SourceCode.Clay.WaitAndRetry.Tests
{
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
public sealed class LinearBackoffTests
{
[Fact]
public void Backoff_WithInitialDelayLessThanZero_Thro... | k2workflow/Clay | tests/SourceCode.Clay.WaitAndRetry.Tests/LinearBackoffTests.cs | https://github.com/k2workflow/Clay/blob/HEAD/tests/SourceCode.Clay.WaitAndRetry.Tests/LinearBackoffTests.cs | ghcode:00159:0a0155775bbb | mit | codeparrot/github-code | 0a0155775bbb6fba850dddba6b9410136587d54d7da80ce75a69a884823f6c70 | 0.85 | testing_debugging_repair_refactoring | 936 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Colourful.Tests.Comparers;
using Xunit;
namespace Colourful.Tests;
/// <summary>
/// Various tests from data generated by: http://www.brucelindbloom.com/ColorCalculator.html
/// </summary>
public class ColorCalculatorTe... | tompazourek/Colourful | tests/Colourful.Tests/Various/ColorCalculatorTest.cs | https://github.com/tompazourek/Colourful/blob/HEAD/tests/Colourful.Tests/Various/ColorCalculatorTest.cs | ghcode:00159:5b5442239807 | mit | codeparrot/github-code | 5b544223980731cc8186273920f72210acd348caf3bf2519199282d4c017f1a2 | 0.7 | testing_debugging_repair_refactoring | 9,052 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Parachute.Entities;
namespace Parachute.Tests
{
[TestClass]
public class SchemaVersionTest
{
[TestMethod]
public void Constructor_PassingValidData_ShouldInstantiateObject()
{
var sv = new SchemaVers... | eoincampbell/parachute | Parachute.Tests/SchemaVersionTest.cs | https://github.com/eoincampbell/parachute/blob/HEAD/Parachute.Tests/SchemaVersionTest.cs | ghcode:00159:a9548fe450f6 | mit | codeparrot/github-code | a9548fe450f69b9b89f599cb05d4bdea583a34c6c5dfd473db7f3349959ed79c | 0.75 | testing_debugging_repair_refactoring | 1,009 | false | 2026-07-17 |
// MIT License
// Copyright (c) 2011-2016 Elisée Maurer, Sparklin Labs, Creative Patterns
// Copyright (c) 2016 Thomas Morgner, Rabbit-StewDio Ltd.
// 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 ... | RabbitStewDio/Steropes.UI | tests/Steropes.UI.Tests/UI/Widgets/ButtonTest.cs | https://github.com/RabbitStewDio/Steropes.UI/blob/HEAD/tests/Steropes.UI.Tests/UI/Widgets/ButtonTest.cs | ghcode:00159:fe670301da70 | mit | codeparrot/github-code | fe670301da705ae6ebc25b03c875f42089836de6db5bbeee771e78344b3d62b6 | 0.85 | testing_debugging_repair_refactoring | 1,038 | false | 2026-07-17 |
/*
* Copyright (c) 2018 Håkan Edling
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* http://github.com/piranhacms/piranha
*
*/
using Piranha.Models;
using Piranha.Services;
using System.Collections.Generic;
using Sys... | filipjansson/piranha.core | test/Piranha.Tests/Repositories/SiteTypes.cs | https://github.com/filipjansson/piranha.core/blob/HEAD/test/Piranha.Tests/Repositories/SiteTypes.cs | ghcode:00159:799b03ef98c9 | mit | codeparrot/github-code | 799b03ef98c91e41351c5b144ce5f55ccef4a50120473b6bddd2ae9ee1cb158a | 0.6 | testing_debugging_repair_refactoring | 1,186 | false | 2026-07-17 |
using System;
using System.Threading;
using Nancy;
namespace TestStub
{
public class TestModule : NancyModule
{
private static bool isTimedOut;
private static double processingTime = 1500;
public TestModule()
{
Get["/test-me"] = x => "test";
Get["/time... | hepsiburada/HepsiHttpClient | src/stubs/TestStub/TestModule.cs | https://github.com/hepsiburada/HepsiHttpClient/blob/HEAD/src/stubs/TestStub/TestModule.cs | ghcode:00159:47869ff7c3d3 | mit | codeparrot/github-code | 47869ff7c3d30567d29709a72fc50f0b5cb9364a6306980e9153ac53708b841a | 0.75 | testing_debugging_repair_refactoring | 171 | false | 2026-07-17 |
using System;
using System.Linq;
using Autofac.Extras.FakeItEasy;
using DAG.Project.Abstractions.Business;
using DAG.Project.Abstractions.Models;
using DAG.Project.Business.Extension;
using FakeItEasy;
using FizzWare.NBuilder;
using Shouldly;
namespace UnitTest.Business.Extension
{
public class GetByNameTest : ID... | webflo-dev/DAG.Project | tests/Business/Extension/GetByName.cs | https://github.com/webflo-dev/DAG.Project/blob/HEAD/tests/Business/Extension/GetByName.cs | ghcode:00159:e0d4a0fb951f | mit | codeparrot/github-code | e0d4a0fb951f6897b9f720c574cc9b8961c9a911f0396f951be4e5d8d1b58331 | 0.75 | testing_debugging_repair_refactoring | 1,060 | false | 2026-07-17 |
using System.Threading.Tasks;
using Xunit;
namespace Cofoundry.Domain.Tests
{
public class EmbeddedResourceFileSourceTests
{
[Theory]
[InlineData("Parent.Sub-Dir", "My-Lib.min.js", "Parent.Sub_Dir.My-Lib.min.js")]
[InlineData(".Parent.Sub-Dir.", ".My-Lib.min.js", "Parent.Sub_Dir..My-Li... | cofoundry-cms/cofoundry | test/Cofoundry.Domain.Tests/Domain/Shared/Models/Assets/EmbeddedResourceFileSourceTests.cs | https://github.com/cofoundry-cms/cofoundry/blob/HEAD/test/Cofoundry.Domain.Tests/Domain/Shared/Models/Assets/EmbeddedResourceFileSourceTests.cs | ghcode:00159:6e4bda65ce07 | mit | codeparrot/github-code | 6e4bda65ce07e502db8ca18047b14a0f3bc6a6b995a7478bc2aa322396c465cd | 0.75 | testing_debugging_repair_refactoring | 333 | false | 2026-07-17 |
namespace EnergyTrading.Mdm.Contracts.Test
{
using EnergyTrading.Mdm.Contracts;
using NUnit.Framework;
[TestFixture]
public class ToIdentifierFixture
{
[Test]
public void ReturnNullIfEntityIdIsNull()
{
EntityId value = null;
var candi... | RWE-Nexus/EnergyTrading-MDM-Contracts | Code/EnergyTrading.MDM.Contracts.Tests/ToIdentifierFixture.cs | https://github.com/RWE-Nexus/EnergyTrading-MDM-Contracts/blob/HEAD/Code/EnergyTrading.MDM.Contracts.Tests/ToIdentifierFixture.cs | ghcode:00159:54c57bca4083 | mit | codeparrot/github-code | 54c57bca4083a8b3ea9b03908dd3a2ccab690a13cb5c3ae848d7cb7ebd6ae263 | 0.6 | testing_debugging_repair_refactoring | 260 | false | 2026-07-17 |
using System;
using System.Linq;
using FontAwesome.Sharp;
using Retrospector.AchievementTab;
using Retrospector.AchievementTab.Interfaces;
using Retrospector.DataStorage.Models;
using Retrospector.Tests.Utilities;
using Xunit;
namespace Retrospector.Tests.Tests.AchievementTab
{
public class WordyAchievementsTests ... | NonlinearFruit/Retrospector | Retrospector.Tests/Tests/AchievementTab/WordyAchievementsTests.cs | https://github.com/NonlinearFruit/Retrospector/blob/HEAD/Retrospector.Tests/Tests/AchievementTab/WordyAchievementsTests.cs | ghcode:00159:15ff72c6cc6f | unlicense | codeparrot/github-code | 15ff72c6cc6fdf1ba60bc0bb4642b57ca26d6998609ff4fe88d707f3cc078224 | 0.78 | testing_debugging_repair_refactoring | 870 | false | 2026-07-17 |
namespace Basic.Tests
{
using Basic.IO;
using Basic.Runtime;
using Basic.Runtime.Expressions;
using Basic.Runtime.Statements;
using Basic.Tests.Mocks;
using System;
using System.Collections.Generic;
/// <summary>
/// Implements helper methods for unit tests.
/// </summary>
... | markshevchenko/learningbasic | Basic.Tests/BaseTests.cs | https://github.com/markshevchenko/learningbasic/blob/HEAD/Basic.Tests/BaseTests.cs | ghcode:00159:f5aaa676f0f8 | unlicense | codeparrot/github-code | f5aaa676f0f88511e12e8b3445aec72f35b73117974b6377c14007d0832e3d0f | 0.78 | testing_debugging_repair_refactoring | 511 | false | 2026-07-17 |
using System;
using System.Runtime.Serialization;
using NUnit.Framework;
namespace Spring.Dao
{
[TestFixture]
public class IncorrectUpdateSemanticsDataAccessExceptionTests
{
[Serializable]
public class SampleException : IncorrectUpdateSemanticsDataAccessException
{
public SampleException() : base() {}
pu... | MaferYangPointJun/Spring.net | test/Spring/Spring.Data.Tests/Dao/IncorrectUpdateSemanticsDataAccessExceptionTests.cs | https://github.com/MaferYangPointJun/Spring.net/blob/HEAD/test/Spring/Spring.Data.Tests/Dao/IncorrectUpdateSemanticsDataAccessExceptionTests.cs | ghcode:00159:429e0e23745b | apache-2.0 | codeparrot/github-code | 429e0e23745b0fd71e68329fbf1526e970d861055135f8d638954d81d98b21d8 | 0.75 | testing_debugging_repair_refactoring | 150 | false | 2026-07-17 |
using JustBehave;
using JustSaying.Messaging.MessageSerialisation;
using JustSaying.Models;
using NSubstitute;
using NUnit.Framework;
namespace JustSaying.Messaging.UnitTests.Serialisation.SerialisationRegister
{
public class WhenAddingASerialiserTwice : BehaviourTest<MessageSerialisationRegister>
{
pr... | Intelliflo/JustSaying | JustSaying.UnitTests/Messaging/Serialisation/SerialisationRegister/WhenAddingASerialiserTwice.cs | https://github.com/Intelliflo/JustSaying/blob/HEAD/JustSaying.UnitTests/Messaging/Serialisation/SerialisationRegister/WhenAddingASerialiserTwice.cs | ghcode:00159:33287bd287cf | apache-2.0 | codeparrot/github-code | 33287bd287cf5089c389f9d661c5797687af1a47ee9261d61443b8d3f634f868 | 0.75 | testing_debugging_repair_refactoring | 147 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="LogManagerTests.cs">
// Copyright (c) 2011-2016 https://github.com/logjam2.
// </copyright>
// Licensed under the <a href="https://github.com/logjam2/logjam/blob/master/LICENSE.t... | logjam2/logjam | test/LogJam.UnitTests/LogManagerTests.cs | https://github.com/logjam2/logjam/blob/HEAD/test/LogJam.UnitTests/LogManagerTests.cs | ghcode:00159:b442caaec6c3 | apache-2.0 | codeparrot/github-code | b442caaec6c39c65678172586f0f58b54367265dab8ce304a42173c1b97f7a01 | 0.85 | testing_debugging_repair_refactoring | 1,850 | false | 2026-07-17 |
using System.Linq;
using UnicornHack.Data.Items;
using UnicornHack.Generation;
using UnicornHack.Primitives;
using UnicornHack.Systems.Abilities;
using UnicornHack.Systems.Beings;
using UnicornHack.Utils.DataStructures;
using Xunit;
namespace UnicornHack.Systems.Effects
{
public class EffectApplicationSystemTest
... | AndriySvyryd/UnicornHack | test/UnicornHack.Core.Tests/Systems/Effects/EffectApplicationSystemTest.cs | https://github.com/AndriySvyryd/UnicornHack/blob/HEAD/test/UnicornHack.Core.Tests/Systems/Effects/EffectApplicationSystemTest.cs | ghcode:00159:b31e253e922d | apache-2.0 | codeparrot/github-code | b31e253e922d77f843ceeb6416055195d7068492c80400c0f9696c0efbff5a70 | 0.6 | testing_debugging_repair_refactoring | 1,219 | false | 2026-07-17 |
// <copyright file="TestRunUnitTestOwners.cs" company="Automate The Planet Ltd.">
// Copyright 2016 Automate The Planet Ltd.
// 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... | angelovstanton/AutomateThePlanet | dotnet/AutomationTools-Series/MSTest.Console.Extended/Data/TestRunUnitTestOwners.cs | https://github.com/angelovstanton/AutomateThePlanet/blob/HEAD/dotnet/AutomationTools-Series/MSTest.Console.Extended/Data/TestRunUnitTestOwners.cs | ghcode:00159:3ce37a71425c | apache-2.0 | codeparrot/github-code | 3ce37a71425c0d6b0888eed8a0857c81b80d27506cd747aa5007a9bc0ee4a716 | 0.85 | testing_debugging_repair_refactoring | 257 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Microsoft.IdentityModel.Tokens;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using D2L.Security.OAuth2.Caching;
using D2L.Security.OAuth2.Provisioning.Default;
using D2L.Security.OAuth2.Scopes;
using Moq;
using NUnit.Fram... | Brightspace/D2L.Security.OAuth2 | test/D2L.Security.OAuth2.UnitTests/Provisioning/CachedAccessTokenProviderTests.cs | https://github.com/Brightspace/D2L.Security.OAuth2/blob/HEAD/test/D2L.Security.OAuth2.UnitTests/Provisioning/CachedAccessTokenProviderTests.cs | ghcode:00159:380b5192564a | apache-2.0 | codeparrot/github-code | 380b5192564a4f3d3fa81aa9228199ae8f942c60ab494eb6f0e5570ca73e58ff | 0.75 | testing_debugging_repair_refactoring | 1,639 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
namespace Quantler.Tests.Core.Securities
{
class EquitySecurityTests
{
}
}
| Quantler/Core | Quantler.Tests/Core/Securities/EquitySecurityTests.cs | https://github.com/Quantler/Core/blob/HEAD/Quantler.Tests/Core/Securities/EquitySecurityTests.cs | ghcode:00159:5e244f6e25a8 | apache-2.0 | codeparrot/github-code | 5e244f6e25a8bdfbccf5e47ffe14110297499bf711af2a380c5fdb2a4c68763a | 0.5 | testing_debugging_repair_refactoring | 33 | false | 2026-07-17 |
// <copyright file="PlaceOrderPageAsserter.cs" company="Automate The Planet Ltd.">
// Copyright 2016 Automate The Planet Ltd.
// 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.apac... | angelovstanton/AutomateThePlanet | dotnet/Conferences/PerfectSystemTestsDesign/Pages/PlaceOrderPage/PlaceOrderPageAsserter.cs | https://github.com/angelovstanton/AutomateThePlanet/blob/HEAD/dotnet/Conferences/PerfectSystemTestsDesign/Pages/PlaceOrderPage/PlaceOrderPageAsserter.cs | ghcode:00159:fe8491bde916 | apache-2.0 | codeparrot/github-code | fe8491bde916a072d4e32b54434db1c675b4e7662a3a69524381c2ba4b7b408f | 0.85 | testing_debugging_repair_refactoring | 257 | false | 2026-07-17 |
using System;
using System.Linq;
using Moq;
using NUnit.Framework;
using Wikiled.Sentiment.Text.Aspects;
using Wikiled.Sentiment.Text.Words;
namespace Wikiled.Sentiment.Text.Tests.Aspects
{
[TestFixture]
public class WordOccurenceTrackerTests
{
private WordOccurenceTracker instance;
[SetU... | AndMu/Wikiled.Sentiment | src/Sentiment/Wikiled.Sentiment.Text.Tests/Aspects/WordOccurenceTrackerTests.cs | https://github.com/AndMu/Wikiled.Sentiment/blob/HEAD/src/Sentiment/Wikiled.Sentiment.Text.Tests/Aspects/WordOccurenceTrackerTests.cs | ghcode:00159:f276f6223443 | apache-2.0 | codeparrot/github-code | f276f6223443a861ead95e94fb41aa6e3d23c1c37b44a3fea5942bbf043ecd95 | 0.75 | testing_debugging_repair_refactoring | 452 | false | 2026-07-17 |
// Copyright 2015 Tosho Toshev
//
// 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 ... | cracker4o/elm327lib | ElmCommunicator/ElmCommunicatorTests/Responses/ObdIIResponses/ShowCurrentData/IntakeManifoldPressureResponseTests.cs | https://github.com/cracker4o/elm327lib/blob/HEAD/ElmCommunicator/ElmCommunicatorTests/Responses/ObdIIResponses/ShowCurrentData/IntakeManifoldPressureResponseTests.cs | ghcode:00159:d43e26017fe4 | apache-2.0 | codeparrot/github-code | d43e26017fe4707171eb961dbbee3f9d342fa15eec3f434ba66fae4c33423d38 | 0.85 | testing_debugging_repair_refactoring | 411 | false | 2026-07-17 |
// NOTE: This is an auto-generated file. However, it will not be regenerated. If you want it to be regenerated, just delete it.
using System;
using System.Diagnostics;
using MetaDslx.CodeAnalysis;
using MetaDslx.CodeAnalysis.Symbols;
using MetaDslx.CodeAnalysis.Syntax;
using MetaDslx.CodeAnalysis.Syntax.InternalSyntax;... | balazssimon/meta-cs | src/Test/MetaDslx.CodeAnalysis.Antlr4.Test/Languages/TestIncrementalCompilation/Compilation/TestIncrementalCompilationLanguageServices.cs | https://github.com/balazssimon/meta-cs/blob/HEAD/src/Test/MetaDslx.CodeAnalysis.Antlr4.Test/Languages/TestIncrementalCompilation/Compilation/TestIncrementalCompilationLanguageServices.cs | ghcode:00159:010c3abcf090 | apache-2.0 | codeparrot/github-code | 010c3abcf0902bec1080f17b0967d5f531a962e129cd4e850af25122a6f7f0ab | 0.85 | testing_debugging_repair_refactoring | 191 | false | 2026-07-17 |
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | pacificIT/FluentValidation | src/FluentValidation.Tests/LocalisedNameTester.cs | https://github.com/pacificIT/FluentValidation/blob/HEAD/src/FluentValidation.Tests/LocalisedNameTester.cs | ghcode:00159:29328b3f420a | apache-2.0 | codeparrot/github-code | 29328b3f420a56397a35f0b53e19d7c6c7800bf5784b6d589b213cb8c4f2dc75 | 0.85 | testing_debugging_repair_refactoring | 566 | false | 2026-07-17 |
///*
// * Copyright (c) 2010-2021, Achim Friedland <achim.friedland@graphdefined.com>
// * This file is part of Styx <https://www.github.com/Vanaheimr/Styx>
// *
// * Licensed under the Apache License, Version 2.0 (the "License");
// * you may not use this file except in compliance with the License.
// * You may obtai... | Vanaheimr/Styx | StyxTests/Pipes/SimplePipes/DualFuncPipeTests.cs | https://github.com/Vanaheimr/Styx/blob/HEAD/StyxTests/Pipes/SimplePipes/DualFuncPipeTests.cs | ghcode:00159:9d6993ef3953 | apache-2.0 | codeparrot/github-code | 9d6993ef3953fc4965bce374c49da0b389e5399b36f393875e7c8aaba9733c1f | 0.85 | testing_debugging_repair_refactoring | 1,013 | false | 2026-07-17 |
// Copyright (c) Microsoft Open Technologies, Inc. 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.Globalization;
using System.IO;
using System.L... | binsys/roslyn_java | Src/Compilers/Core/Source/Compilation/FileResolver.cs | https://github.com/binsys/roslyn_java/blob/HEAD/Src/Compilers/Core/Source/Compilation/FileResolver.cs | ghcode:00159:bb057b0e2bed | apache-2.0 | codeparrot/github-code | bb057b0e2bed6f32bf5b94bc1fe7bb9c8f3a76f8f022c30a2a225e8373be2721 | 0.85 | testing_debugging_repair_refactoring | 2,364 | false | 2026-07-17 |
// Copyright (c) Microsoft Open Technologies, Inc. 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.IO;
using System.Linq;
using System.Th... | binsys/roslyn_java | Src/Workspaces/Core/Workspace/MSBuild/MSBuildWorkspace.cs | https://github.com/binsys/roslyn_java/blob/HEAD/Src/Workspaces/Core/Workspace/MSBuild/MSBuildWorkspace.cs | ghcode:00159:856dfc15c2a7 | apache-2.0 | codeparrot/github-code | 856dfc15c2a72b257c918c519d5562430cf368bb18616293cb086bfd0d928849 | 0.85 | testing_debugging_repair_refactoring | 5,198 | false | 2026-07-17 |
using System;
using System.IO;
using ApprovalTests;
using ReactGraph.Tests.TestObjects;
using ReactGraph.Visualisation;
using Shouldly;
using Xunit;
namespace ReactGraph.Tests
{
public class VisualisationTests
{
readonly DependencyEngine engine;
public VisualisationTests()
{
... | AdaptiveConsulting/ReactGraph | src/ReactGraph.Tests/VisualisationTests.cs | https://github.com/AdaptiveConsulting/ReactGraph/blob/HEAD/src/ReactGraph.Tests/VisualisationTests.cs | ghcode:00159:bb0492428670 | apache-2.0 | codeparrot/github-code | bb0492428670134715448f2607ba6b13a075977fc21328eb3fe3e8647b7e8945 | 0.75 | testing_debugging_repair_refactoring | 1,333 | false | 2026-07-17 |
#define ENABLE_TRACING
using System;
using System.Threading.Tasks;
using Foundatio.Parsers.LuceneQueries.Nodes;
using Foundatio.Parsers.LuceneQueries.Visitors;
using Foundatio.Xunit;
using Microsoft.Extensions.Logging;
using Pegasus.Common;
using Pegasus.Common.Tracing;
using Xunit;
using Xunit.Abstractions;
namespa... | exceptionless/Exceptionless.LuceneQueryParser | tests/Foundatio.Parsers.LuceneQueries.Tests/QueryParserTests.cs | https://github.com/exceptionless/Exceptionless.LuceneQueryParser/blob/HEAD/tests/Foundatio.Parsers.LuceneQueries.Tests/QueryParserTests.cs | ghcode:00159:31ca40e7216e | apache-2.0 | codeparrot/github-code | 31ca40e7216e349f468284b0319b71311f608736b4a043e1c1ba9cdaddf76189 | 0.75 | testing_debugging_repair_refactoring | 1,940 | false | 2026-07-17 |
using System;
using System.Linq;
using FluentAssertions;
using ICSharpCode.NRefactory.TypeSystem;
using NUnit.Framework;
using Saltarelle.Compiler.JSModel;
using Saltarelle.Compiler.ScriptSemantics;
namespace Saltarelle.Compiler.Tests.CompilerTests.MemberConversion {
[TestFixture]
public class ConstructorConversion... | chenxustu1/SaltarelleCompiler | Compiler/Saltarelle.Compiler.Tests/CompilerTests/MemberConversion/ConstructorConversionTests.cs | https://github.com/chenxustu1/SaltarelleCompiler/blob/HEAD/Compiler/Saltarelle.Compiler.Tests/CompilerTests/MemberConversion/ConstructorConversionTests.cs | ghcode:00159:c0d511671956 | apache-2.0 | codeparrot/github-code | c0d51167195603a223e6556c9e9d5dfa905d188ccf1b4dacb132032b1e552277 | 0.75 | testing_debugging_repair_refactoring | 1,565 | false | 2026-07-17 |
namespace Bridge.QUnit
{
[External]
[ObjectLiteral]
public class TestSuiteBeginCallbackArgs
{
/// <summary>
/// The number of total tests in the test suite.
/// </summary>
public int TotalTests
{
get;
set;
}
}
}
| bridgedotnet/Frameworks | QUnit/TestSuiteBeginCallbackArgs.cs | https://github.com/bridgedotnet/Frameworks/blob/HEAD/QUnit/TestSuiteBeginCallbackArgs.cs | ghcode:00159:327296252514 | apache-2.0 | codeparrot/github-code | 327296252514cc4542d6df448b27b551a1ae13d9f11643ba6b7210ed36346f27 | 0.85 | testing_debugging_repair_refactoring | 67 | false | 2026-07-17 |
using J2N;
using J2N.Text;
using YAF.Lucene.Net.Support;
using YAF.Lucene.Net.Util;
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.IO;
namespace YAF.Lucene.Net.Analysis.Util
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contribut... | Pathfinder-Fr/YAFNET | yafsrc/Lucene.Net/Lucene.Net.Analysis.Common/Analysis/Util/CharacterUtils.cs | https://github.com/Pathfinder-Fr/YAFNET/blob/HEAD/yafsrc/Lucene.Net/Lucene.Net.Analysis.Common/Analysis/Util/CharacterUtils.cs | ghcode:00159:8440e6972cbd | apache-2.0 | codeparrot/github-code | 8440e6972cbdea32e6527f8686f962b2755a1d3511487a3f06b8ea35a504f6b9 | 0.85 | testing_debugging_repair_refactoring | 4,947 | false | 2026-07-17 |
using Client.GUI;
using Game;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.UI;
namespace Tests.Editor.Client.GUI
{
[TestFixture]
public class ScoreBoardLogicTests
{
private Text yourScore;
private Text opponentScore;
private Text centerMessage;
[SetUp]
... | markmandel/paddle-soccer | unity/Assets/Scripts/Tests/Editor/Client/GUI/ScoreBoardLogicTests.cs | https://github.com/markmandel/paddle-soccer/blob/HEAD/unity/Assets/Scripts/Tests/Editor/Client/GUI/ScoreBoardLogicTests.cs | ghcode:00159:9953e46e9d36 | apache-2.0 | codeparrot/github-code | 9953e46e9d3641b16299dec0d6a9d895067023207878dafdec286e021d2c5084 | 0.85 | testing_debugging_repair_refactoring | 381 | false | 2026-07-17 |
using NAudio.Dsp;
using System;
using System.Collections.Generic;
using MoreLinq;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CorySignalGenerator.Extensions;
using NAudio.Wave;
using System.Diagnostics;
using CorySignalGenerator.Utils;
/*
* Copyright (C) 2010 Google Inc. All rights rese... | coryking/spectrum.net | SignalGenerator/Reverb/FFTConvolver.cs | https://github.com/coryking/spectrum.net/blob/HEAD/SignalGenerator/Reverb/FFTConvolver.cs | ghcode:00159:e35f6cebfe60 | bsd-2-clause | codeparrot/github-code | e35f6cebfe60cbb216361adb9eb32342c616d369576c1efdb8b26b3e8f04a444 | 0.78 | testing_debugging_repair_refactoring | 1,187 | false | 2026-07-17 |
// Copyright © 2012 onwards, Andrew Whewell
// All rights reserved.
//
// Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright notice, this l... | VincentFortuneDeng/VirtualRadarSource2.0.2 | Test/Test.VirtualRadar.Library/BaseStation/RawMessageTranslatorTests.cs | https://github.com/VincentFortuneDeng/VirtualRadarSource2.0.2/blob/HEAD/Test/Test.VirtualRadar.Library/BaseStation/RawMessageTranslatorTests.cs | ghcode:00159:41c76f05998f | bsd-3-clause | codeparrot/github-code | 41c76f05998f22261010b9016b6a89c1d43f7b94ff85e30f2318a9280566b494 | 0.72 | testing_debugging_repair_refactoring | 18,813 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Utils;
using osu.Game.Beatmaps;
using... | UselessToucan/osu | osu.Game.Tests/Visual/Ranking/TestSceneStarRatingDisplay.cs | https://github.com/UselessToucan/osu/blob/HEAD/osu.Game.Tests/Visual/Ranking/TestSceneStarRatingDisplay.cs | ghcode:00159:e130976f77bb | mit | codeparrot/github-code | e130976f77bb9b04f7be48852a69eeeef37c8d32bf50546c507acf1377ecb996 | 0.75 | testing_debugging_repair_refactoring | 446 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using NSubstitute;
using PactNet.Mocks.MockHttpService.Mappers;
using PactNet.Mocks.MockHttpService.Models;
using Xunit;
namespace PactNet.Tests.Mocks.MockHttpService.Mappers
{
... | mvdbuuse/pact-net | PactNet.Tests/Mocks/MockHttpService/Mappers/ProviderServiceResponseMapperTests.cs | https://github.com/mvdbuuse/pact-net/blob/HEAD/PactNet.Tests/Mocks/MockHttpService/Mappers/ProviderServiceResponseMapperTests.cs | ghcode:00159:eb537588704e | mit | codeparrot/github-code | eb537588704e70652639c2aa1a7888ae268003ec0d4d1de9d17e855c5461d7ad | 0.75 | testing_debugging_repair_refactoring | 1,216 | false | 2026-07-17 |
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Tests.Loggers;
using System;
using Xunit;
using Xunit.Abstractions;
namespace BenchmarkDotNet.IntegrationTests
{
public class StandardErrorTests : BenchmarkTestExecutor
{
private const string ErrorMessage = "ErrorMessage";
public Standar... | Ky7m/BenchmarkDotNet | tests/BenchmarkDotNet.IntegrationTests/StandardErrorTests.cs | https://github.com/Ky7m/BenchmarkDotNet/blob/HEAD/tests/BenchmarkDotNet.IntegrationTests/StandardErrorTests.cs | ghcode:00159:3d103b179eec | mit | codeparrot/github-code | 3d103b179eece1234ad6200a8ff34dc75cbebb005c054c0760297090b0270cb1 | 0.75 | testing_debugging_repair_refactoring | 236 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using NUnit.Framework;
using Ads.Client.Common;
namespace Ads.Client.Test
{
[TestFixture()]
public class AdsCommandsAsyncTest
{
[Test()]
public void ReadDeviceInfoAsync()
{
var amsTestSocket = new AmsSocketTest()... | nikvoronin/adsclient | src/AdsClient.Test/AdsCommandsAsyncTest.cs | https://github.com/nikvoronin/adsclient/blob/HEAD/src/AdsClient.Test/AdsCommandsAsyncTest.cs | ghcode:00159:a2e3937c05fb | mit | codeparrot/github-code | a2e3937c05fbf15d004dcfd1b93da5aa0c67e6cdac8c5bd91cc3bc2c88da3644 | 0.6 | testing_debugging_repair_refactoring | 1,312 | 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.Runtime.CompilerServices;
namespace System.IO
{
// this is a quick an dirty hashtable optimized for the PollingFileSystemWa... | benaadams/corefxlab | src/System.IO.FileSystem.Watcher.Polling/System/IO/PathToFileStateHashtable.cs | https://github.com/benaadams/corefxlab/blob/HEAD/src/System.IO.FileSystem.Watcher.Polling/System/IO/PathToFileStateHashtable.cs | ghcode:00159:3d6fbc6f0c70 | mit | codeparrot/github-code | 3d6fbc6f0c70c9b7555665dd3ef3b3919e546f4627273769a7f6075a23ca644c | 0.85 | testing_debugging_repair_refactoring | 1,948 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ClusterShardingFailureSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </... | simonlaroche/akka.net | src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingFailureSpec.cs | https://github.com/simonlaroche/akka.net/blob/HEAD/src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingFailureSpec.cs | ghcode:00159:bbbb9ee8092a | apache-2.0 | codeparrot/github-code | bbbb9ee8092a834a344a3ce38caedb8b46e894176f1f34551748c7fc004b1821 | 0.85 | testing_debugging_repair_refactoring | 3,117 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
extern alias InteractiveHost;
using System;
using System.Reflection;
using System.Runtime.Remoti... | davkean/roslyn | src/Interactive/HostTest/AbstractInteractiveHostTests.cs | https://github.com/davkean/roslyn/blob/HEAD/src/Interactive/HostTest/AbstractInteractiveHostTests.cs | ghcode:00159:04622d439a35 | apache-2.0 | codeparrot/github-code | 04622d439a3558ed3f91511d767b7342a357573033deff187bdfd75ee77bb50e | 0.85 | testing_debugging_repair_refactoring | 286 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xunit;
using Xunit.Extensions;
namespace NuGet.Test.Integration.NuGetCommandLine
{
public static class Util
{
/// <summary>
/// Creates a test package.
/// </summary>
/// <param name="pack... | zskullz/nuget | test/Test.Integration/NuGetCommandLine/Util.cs | https://github.com/zskullz/nuget/blob/HEAD/test/Test.Integration/NuGetCommandLine/Util.cs | ghcode:00159:f56fdf476b86 | apache-2.0 | codeparrot/github-code | f56fdf476b865c0ebadcf56557aacafba999895f528ba1ab1ea68e47765b60d5 | 0.7 | testing_debugging_repair_refactoring | 587 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Classification;
using Microsoft.CodeAnalysi... | lorcanmooney/roslyn | src/EditorFeatures/CSharpTest/Classification/SyntacticClassifierTests.cs | https://github.com/lorcanmooney/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Classification/SyntacticClassifierTests.cs | ghcode:00159:2490ee2da1ea | apache-2.0 | codeparrot/github-code | 2490ee2da1eab5146647e38fdf862c6570f931610c7e1afde6f56d797feea9fc | 0.72 | testing_debugging_repair_refactoring | 22,729 | false | 2026-07-17 |
// Copyright (c) Laurence J. Golding. All rights reserved. Licensed under the Apache License, Version 2.0. See the LICENSE file in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Microsoft.VisualStudio.Package;
using Xunit;
namespace Lakewoo... | lgolding/auto-scale-formula | AutoScaleLanguageService.UnitTests/Lexer_Tests.cs | https://github.com/lgolding/auto-scale-formula/blob/HEAD/AutoScaleLanguageService.UnitTests/Lexer_Tests.cs | ghcode:00159:8102f63d6844 | apache-2.0 | codeparrot/github-code | 8102f63d68449043cf04e662ef163c08ab12d58aa936081f41bbfaa99245abe2 | 0.85 | testing_debugging_repair_refactoring | 3,525 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace SLua.Test
{
[TestFixture]
public class TestArray
{
private LuaSvr luaSvr;
[SetUp]
public void Init()
{
luaSvr = new LuaSvr();
luaSvr.init(x => { }, () => { });
}
[Test]
... | pangweiwei/slua | standalone/slua-standalone-tests/TestArray.cs | https://github.com/pangweiwei/slua/blob/HEAD/standalone/slua-standalone-tests/TestArray.cs | ghcode:00159:2df69c97c7ff | mit | codeparrot/github-code | 2df69c97c7ff7a0795a1e403222b3b4097086db8f44669ac8e4f06f1a98805a3 | 0.75 | testing_debugging_repair_refactoring | 369 | false | 2026-07-17 |
using System;
using System.Net;
using System.Net.Http;
using System.Threading;
using Fitbit.Api.Portable;
using Fitbit.Models;
using FluentAssertions;
using NUnit.Framework;
using System.Threading.Tasks;
namespace Fitbit.Portable.Tests
{
public class ActivitiesStatsTests
{
[Test]
[Category("Po... | amammay/Fitbit.NET | Fitbit.Portable.Tests/ActivitiesStatsTests.cs | https://github.com/amammay/Fitbit.NET/blob/HEAD/Fitbit.Portable.Tests/ActivitiesStatsTests.cs | ghcode:00159:76c920153f07 | mit | codeparrot/github-code | 76c920153f073d1732794dfb076c9dd2d1adeb861573f4e12df2dbf891d8eaeb | 0.75 | testing_debugging_repair_refactoring | 824 | false | 2026-07-17 |
// ReSharper disable InconsistentNaming
using System;
using System.Collections.Generic;
using EasyNetQ.Management.Client.Model;
using Xunit;
namespace EasyNetQ.Management.Client.Tests.Model
{
public class PublishInfoTests
{
[Fact]
public void Should_throw_when_payload_encoding_is_incorrect()
... | Pliner/EasyNetQ.Management.Client | Source/EasyNetQ.Management.Client.Tests/Model/PublishInfoTests.cs | https://github.com/Pliner/EasyNetQ.Management.Client/blob/HEAD/Source/EasyNetQ.Management.Client.Tests/Model/PublishInfoTests.cs | ghcode:00159:de0cb267e690 | mit | codeparrot/github-code | de0cb267e69010d8d14656f700725e894b97f62e00a35d35fa7c1616dcd75b57 | 0.85 | testing_debugging_repair_refactoring | 118 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="TfsLegacyCoverageReportProcessor.cs" company="SonarSource SA and Microsoft Corporation">
// Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt ... | HSAR/sonar-msbuild-runner | SonarQube.TeamBuild.Integration/TfsLegacyCoverageReportProcessor.cs | https://github.com/HSAR/sonar-msbuild-runner/blob/HEAD/SonarQube.TeamBuild.Integration/TfsLegacyCoverageReportProcessor.cs | ghcode:00159:42ec9d832333 | mit | codeparrot/github-code | 42ec9d8323338942db7daa006c42b0493432af669833d2d57869fb125918728b | 0.85 | testing_debugging_repair_refactoring | 563 | 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 Cake.Core;
using Cake.Core.IO;
using Cake.Testing;
using NSubstitute;
using Xunit;
namespace Cake.Common.Tes... | devlead/cake | src/Cake.Common.Tests/Unit/ReleaseNotesAliasesTests.cs | https://github.com/devlead/cake/blob/HEAD/src/Cake.Common.Tests/Unit/ReleaseNotesAliasesTests.cs | ghcode:00159:90405610594b | mit | codeparrot/github-code | 90405610594b313c4fa4b99795fc1eaeb421ad12856dfbc072cf44e8b2b3e5f2 | 0.85 | testing_debugging_repair_refactoring | 638 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TextAdventures.Quest;
namespace WorldModelTests
{
[TestClass]
public class ElementsTests
{
private WorldModel m_worldModel;
[TestIn... | textadventures/quest | WorldModelTests/ElementsTests.cs | https://github.com/textadventures/quest/blob/HEAD/WorldModelTests/ElementsTests.cs | ghcode:00159:22a6c04eb638 | mit | codeparrot/github-code | 22a6c04eb638dd2ba2f7c540e604fd89291207b1bc79ccd301f3779ca1920f7a | 0.85 | testing_debugging_repair_refactoring | 820 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
u... | jmarolf/roslyn | src/Compilers/CSharp/Portable/Symbols/Attributes/PEAttributeData.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Attributes/PEAttributeData.cs | ghcode:00159:48fdf43abd30 | mit | codeparrot/github-code | 48fdf43abd30b818eaf699d594b486db30cb5f124f789b89fd9f19714ac9b98d | 0.85 | testing_debugging_repair_refactoring | 1,142 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MetroLog.Internal;
using Xunit;
namespace MetroLog.Tests
{
public class LevelTests
{
private Tuple<ILogManager, TestTarget> CreateWithLevel(LogLevel min, LogLevel max)
{
... | noxo/MetroLog | MetroLog.Tests/Tests/LevelTests.cs | https://github.com/noxo/MetroLog/blob/HEAD/MetroLog.Tests/Tests/LevelTests.cs | ghcode:00159:34428cf8b5a9 | mit | codeparrot/github-code | 34428cf8b5a9905a7f88aa698bed85a92e953d43beda056642f6444abc9296a9 | 0.95 | testing_debugging_repair_refactoring | 1,966 | 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;
using System.Collections.Generic;
using Microsoft.Build.Evaluation;
using Microsoft.Build.Execution;
using Microsoft.Build.Fram... | danteinforno/msbuild | src/Shared/UnitTests/MockEngine.cs | https://github.com/danteinforno/msbuild/blob/HEAD/src/Shared/UnitTests/MockEngine.cs | ghcode:00159:2e42b8a33fa2 | mit | codeparrot/github-code | 2e42b8a33fa22401519c6a2fcb6c7a9767e92936311612aa9eefa97fcd308b7a | 0.85 | testing_debugging_repair_refactoring | 2,809 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using AdapterTest.Mocks;
using Microsoft.Spark.CSharp.Core;
using Microsoft.Spark.CSharp.Interop.Ipc;
using NUnit.Framework;
namespace AdapterTest
{
[TestFixture]
public class DoubleRDDTest
{
private static RDD<double> doubles;
... | hebinhuang/Mobius | csharp/AdapterTest/DoubleRDDTest.cs | https://github.com/hebinhuang/Mobius/blob/HEAD/csharp/AdapterTest/DoubleRDDTest.cs | ghcode:00159:1944f9dd492d | mit | codeparrot/github-code | 1944f9dd492dad37725bfac8f159a0d410155d05b96069d807a717d81993a121 | 0.6 | testing_debugging_repair_refactoring | 460 | 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.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeA... | amcasey/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenAsyncLocalsTests.cs | https://github.com/amcasey/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenAsyncLocalsTests.cs | ghcode:00159:08191d8976cb | apache-2.0 | codeparrot/github-code | 08191d8976cb62f1cefb27312db5b4a36d714f77e66dd7c5c32faefb792c4fb3 | 0.95 | testing_debugging_repair_refactoring | 19,591 | 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... | AzureAutomationTeam/azure-powershell | src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CloudServiceClientTests.cs | https://github.com/AzureAutomationTeam/azure-powershell/blob/HEAD/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CloudServiceClientTests.cs | ghcode:00159:2dec8e1883cb | apache-2.0 | codeparrot/github-code | 2dec8e1883cb3b75552684b0b92768dc3eee035d0c6b45225ebbf4a21a133ef0 | 0.85 | testing_debugging_repair_refactoring | 4,051 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class EnumBuilderPropertyTests
{
[Fact... | lggomez/corefx | src/System.Reflection.Emit/tests/EnumBuilder/EnumBuilder.Properties.Tests.cs | https://github.com/lggomez/corefx/blob/HEAD/src/System.Reflection.Emit/tests/EnumBuilder/EnumBuilder.Properties.Tests.cs | ghcode:00159:f129f454be79 | mit | codeparrot/github-code | f129f454be79ebaa094d247ca1051b782f74ec233f438664a9630f7ced6014b7 | 0.95 | testing_debugging_repair_refactoring | 205 | false | 2026-07-17 |
/*
* Copyright 2014, 2015 Dominick Baier, Brock Allen
*
* 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 applica... | johnkors/Thinktecture.IdentityServer.v3 | source/Tests/UnitTests/Validation/Token Validation/AccessTokenValidation.cs | https://github.com/johnkors/Thinktecture.IdentityServer.v3/blob/HEAD/source/Tests/UnitTests/Validation/Token Validation/AccessTokenValidation.cs | ghcode:00159:ee74352cba7b | apache-2.0 | codeparrot/github-code | ee74352cba7b0f366ac28c00785de76bde97d499406531ed8090bc01130d1a56 | 0.85 | testing_debugging_repair_refactoring | 2,070 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using AutoTest.Core.BuildRunners;
using AutoTest.Messages;
namespace AutoTest.Test.Core.BuildRunners
{
[TestFixture]
public class BuildMessageTest
{
[Test]
public void Should_be_equ... | continuoustests/AutoTest.Net | src/AutoTest.Test/Core/BuildRunners/BuildMessageTest.cs | https://github.com/continuoustests/AutoTest.Net/blob/HEAD/src/AutoTest.Test/Core/BuildRunners/BuildMessageTest.cs | ghcode:00159:4d53daa2be56 | mit | codeparrot/github-code | 4d53daa2be56319a3ff7add0f3fd94282a036b0f9b3566538979966b7a7e690a | 0.75 | testing_debugging_repair_refactoring | 297 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... | jstammers/EDMSuite | packages/Json60r8/Source/Src/Newtonsoft.Json.Tests/Utilities/StringUtilsTests.cs | https://github.com/jstammers/EDMSuite/blob/HEAD/packages/Json60r8/Source/Src/Newtonsoft.Json.Tests/Utilities/StringUtilsTests.cs | ghcode:00159:cef697e3c6b2 | mit | codeparrot/github-code | cef697e3c6b277f44a43eae6e7fc150ec957ee218d912b0054a7905de82ba385 | 0.95 | testing_debugging_repair_refactoring | 528 | 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.apac... | mlorbetske/azure-sdk-tools | WindowsAzurePowershell/src/Management.Storage.ScenarioTest/CLIBlobFunc.cs | https://github.com/mlorbetske/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.Storage.ScenarioTest/CLIBlobFunc.cs | ghcode:00159:e89e8401e476 | apache-2.0 | codeparrot/github-code | e89e8401e47658763799c91bc39378a919d215bfae04c4eaac92ab54787c89a8 | 0.95 | testing_debugging_repair_refactoring | 2,159 | false | 2026-07-17 |
using NUnit.Framework;
using Orchard.Projections.Settings;
using System.Collections.Generic;
using System.IO;
using Orchard.Projections.Settings.Serialization;
namespace Orchard.Projections.Tests.Settings {
[TestFixture]
public class SettingsTests {
[Test]
public void ShouldRemoveMem... | BankNotes/Web | src/Orchard.Web/Modules/Orchard.Projections/Tests/Settings/SettingsTests.cs | https://github.com/BankNotes/Web/blob/HEAD/src/Orchard.Web/Modules/Orchard.Projections/Tests/Settings/SettingsTests.cs | ghcode:00159:eb63df7e8d40 | bsd-3-clause | codeparrot/github-code | eb63df7e8d40cf032fed400bf5f3d2dffc22374fbe98cede15d2f16dc4424b28 | 0.85 | testing_debugging_repair_refactoring | 1,198 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Immutable;
using System.Composition;
using System.Diagnostics;
using Sy... | physhi/roslyn | src/Features/CSharp/Portable/CodeFixes/GenerateMethod/GenerateDeconstructMethodCodeFixProvider.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Features/CSharp/Portable/CodeFixes/GenerateMethod/GenerateDeconstructMethodCodeFixProvider.cs | ghcode:00159:0473fa3a8c6d | apache-2.0 | codeparrot/github-code | 0473fa3a8c6de0bd932a19ed967151c5204ce90d6af486d5804a3a539857d257 | 0.85 | testing_debugging_repair_refactoring | 770 | 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.
// This file contains the IDN functions and implementation.
//
// This allows encoding of non-ASCII domain names in ... | Jiayili1/corefx | src/Common/src/CoreLib/System/Globalization/IdnMapping.cs | https://github.com/Jiayili1/corefx/blob/HEAD/src/Common/src/CoreLib/System/Globalization/IdnMapping.cs | ghcode:00159:b64d3a03db9c | mit | codeparrot/github-code | b64d3a03db9c1793d1c899d4f584ffa20c2801cbfd379c6f607de4670563810a | 0.95 | testing_debugging_repair_refactoring | 8,705 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.