text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ChDCStatMenusLibrary.Tests
{
[TestClass()]
public class NetworkInfoTests
{
[TestMethod()]
public void GetPublicIPTest()
{
Assert.AreEqual("59.46.127.59", NetworkInfo.GetPublicIP());
}
}
} | ChDC/ChDCStatMenus | ChDCStatMenusLibraryTests/NetworkInfoTests.cs | https://github.com/ChDC/ChDCStatMenus/blob/HEAD/ChDCStatMenusLibraryTests/NetworkInfoTests.cs | ghcode:00167:73c7b1e6b110 | mit | codeparrot/github-code | 73c7b1e6b11049db8371737a4838edee53eeb27da2e2ac3cddc7c074dac30179 | 0.75 | testing_debugging_repair_refactoring | 70 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Azure.AI.MetricsAdvisor.Models;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.AI.MetricsAdvisor.Tests
{
publ... | AsrOneSdk/azure-sdk-for-net | sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorClient/MetricFeedbackLiveTests.cs | https://github.com/AsrOneSdk/azure-sdk-for-net/blob/HEAD/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorClient/MetricFeedbackLiveTests.cs | ghcode:00167:9a5ab6be7913 | mit | codeparrot/github-code | 9a5ab6be7913baee05ad1a9fa6c64e0536fa5fb95b3c380daa4c7ea4403df0c8 | 0.95 | testing_debugging_repair_refactoring | 2,957 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MVCTemplate.Data.Models;
namespace BirthdaySite.UnitTests.ModelTests
{
[TestClass]
public class GroupTests
{
[TestMethod]
public void Constructor_ShouldInitializePropertiesCorrectly()
{
var friend = new Group("te... | WorkenWithLopaten/BirthdaysSite | BirthdaySite/BirthdaySite.UnitTests/ModelTests/GroupTests.cs | https://github.com/WorkenWithLopaten/BirthdaysSite/blob/HEAD/BirthdaySite/BirthdaySite.UnitTests/ModelTests/GroupTests.cs | ghcode:00167:d0e943628040 | mit | codeparrot/github-code | d0e943628040e36937bccaf9f75180368cdbc4b609678a8a444dd8a9cff1de03 | 0.75 | testing_debugging_repair_refactoring | 132 | false | 2026-07-17 |
using FluentValidation.TestHelper;
using NUnit.Framework;
using System;
using ygo.application.Commands.UpdateTrivia;
using ygo.tests.core;
namespace ygo.application.unit.tests.ValidatorsTests.Commands
{
[TestFixture]
[Category(TestType.Unit)]
public class UpdateTriviaCommandValidatorTests
{
pr... | fablecode/ygo-api | tests/unit/ygo.application.unit.tests/ValidatorsTests/Commands/UpdateTriviaCommandValidatorTests.cs | https://github.com/fablecode/ygo-api/blob/HEAD/tests/unit/ygo.application.unit.tests/ValidatorsTests/Commands/UpdateTriviaCommandValidatorTests.cs | ghcode:00167:b03b81ec0346 | mit | codeparrot/github-code | b03b81ec034632799f906f16a0ee5996806cb4757aeaa72684f2f2ca2193cbc4 | 0.85 | testing_debugging_repair_refactoring | 183 | false | 2026-07-17 |
using NSubstitute;
using NUnit.Framework;
using Stateless.WorkflowEngine.WebConsole.AutoUpdater.Services;
using Stateless.WorkflowEngine.WebConsole.Common;
using Stateless.WorkflowEngine.WebConsole.Common.Utility;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflecti... | mrsalmon1976/Stateless.WorkflowEngine | source/Test.Stateless.WorkflowEngine.WebConsole.AutoUpdater/Services/UpdateFileServiceTest.cs | https://github.com/mrsalmon1976/Stateless.WorkflowEngine/blob/HEAD/source/Test.Stateless.WorkflowEngine.WebConsole.AutoUpdater/Services/UpdateFileServiceTest.cs | ghcode:00167:ce1d8e077c05 | mit | codeparrot/github-code | ce1d8e077c05cef8ba8a496470d91fdc3a00c8a224bfdfdfa2cdeb5e19c8fc23 | 0.7 | testing_debugging_repair_refactoring | 1,565 | false | 2026-07-17 |
namespace Poker.Test
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class CardTest
{
[TestMethod]
public void CardToStringShouldReturnACorrectStringValue()
{
var card = new Card(CardFace.Ace, CardSuit.Spades);
... | Vyara/Telerik-High-Quality-Code-Homeworks | 12. Test-Driven Development/Poker.Test/CardTest.cs | https://github.com/Vyara/Telerik-High-Quality-Code-Homeworks/blob/HEAD/12. Test-Driven Development/Poker.Test/CardTest.cs | ghcode:00167:69fc42e65c4b | mit | codeparrot/github-code | 69fc42e65c4b58d9a76436cec41e420bef650657386e650f61e6f2a9fecb00b8 | 0.6 | testing_debugging_repair_refactoring | 212 | false | 2026-07-17 |
using System.Waf.Presentation.Converters;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Test.Waf.Presentation.Converters
{
[TestClass]
public class InvertBooleanConverterTest
{
[TestMethod]
public void ConvertTest()
{
var converter = InvertBoo... | jbe2277/waf | src/System.Waf/System.Waf/System.Waf.Wpf.Test/Presentation/Converters/InvertBooleanConverterTest.cs | https://github.com/jbe2277/waf/blob/HEAD/src/System.Waf/System.Waf/System.Waf.Wpf.Test/Presentation/Converters/InvertBooleanConverterTest.cs | ghcode:00167:f22f7aa0c704 | mit | codeparrot/github-code | f22f7aa0c7043a1404b45c4b95cc72904e173ac099573d86c127d1496246a4a0 | 0.6 | testing_debugging_repair_refactoring | 166 | false | 2026-07-17 |
namespace Dealership.UnitTests.Factories.DealershipFactory
{
using System;
using Dealership.Factories;
using Dealership.Models;
using NUnit.Framework;
[TestFixture]
public class CreateCar_Should
{
[Test]
public void ReturnNewCar_WhenAllParametersAreValid()
{
... | owolp/Telerik-Academy | Module-2/Unit-Testing/Exam-Preparation/Dealership/Dealership.UnitTests/Factories/DealershipFactory/CreateCar_Should.cs | https://github.com/owolp/Telerik-Academy/blob/HEAD/Module-2/Unit-Testing/Exam-Preparation/Dealership/Dealership.UnitTests/Factories/DealershipFactory/CreateCar_Should.cs | ghcode:00167:0df9f52fd049 | mit | codeparrot/github-code | 0df9f52fd04980c05be254b565bda9e99078b514e0dc22a11c6b8078d24aa9b8 | 0.75 | testing_debugging_repair_refactoring | 335 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace Sorting.Tests
{
[Trait("Category", "Sorting")]
public class QueryableExtensionsTests
{
[Fact(DisplayName = "Include orderby should return valid Ordered Query")]
public void IncludeOrderByShouldReturnValidOrderedQue... | ConnectOrganization/connect_api | SortingLibrary/Sorting.Tests/QueryableExtensionsTests.cs | https://github.com/ConnectOrganization/connect_api/blob/HEAD/SortingLibrary/Sorting.Tests/QueryableExtensionsTests.cs | ghcode:00167:ad8475e04dec | mit | codeparrot/github-code | ad8475e04dec832c7492c11890c431d536bf9ba55c3a0aded594acb00287275a | 0.85 | testing_debugging_repair_refactoring | 998 | false | 2026-07-17 |
using Ninject;
using Ninject.Extensions.ChildKernel;
using NUnit.Framework;
namespace FunWithNinject.NamedScope
{
[TestFixture]
public class ChildKernelTests
{
[Test]
public void ChildKernel_IFooBoundInChildKernel_ParentKernelCannotResolveIFoo()
{
// Assemble
... | jquintus/spikes | ConsoleApps/FunWithSpikes/FunWithNinject/ChildKernel/ChildKernelTests.cs | https://github.com/jquintus/spikes/blob/HEAD/ConsoleApps/FunWithSpikes/FunWithNinject/ChildKernel/ChildKernelTests.cs | ghcode:00167:8512ad59ae8c | mit | codeparrot/github-code | 8512ad59ae8c40ec2745d175d5e333440a0d343ea8ca9b36108343d954b862f0 | 0.85 | testing_debugging_repair_refactoring | 507 | false | 2026-07-17 |
using InfoBridge.SuperLinq.Core.Attributes;
using InfoBridge.SuperLinq.Core.Projection;
using InfoBridge.SuperLinq.Tests.Unit.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace InfoBridge.SuperLinq.Tests.Unit
{
public... | mawax/InfoBridge.SuperLinq | tests/InfoBridge.SuperLinq.Tests.Unit/DynamicPropertyHelperTests.cs | https://github.com/mawax/InfoBridge.SuperLinq/blob/HEAD/tests/InfoBridge.SuperLinq.Tests.Unit/DynamicPropertyHelperTests.cs | ghcode:00167:857309e71a67 | mit | codeparrot/github-code | 857309e71a67883c9f4b0eb336fc522cbe091ec173297302a76c3b48e0bf8f00 | 0.75 | testing_debugging_repair_refactoring | 796 | 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"); y... | joshball/Lucene.In.Action.NET | vendor/lucene.net/test/contrib/Analyzers/Br/TestBrazilianStemmer.cs | https://github.com/joshball/Lucene.In.Action.NET/blob/HEAD/vendor/lucene.net/test/contrib/Analyzers/Br/TestBrazilianStemmer.cs | ghcode:00167:e7302fa7ff64 | mit | codeparrot/github-code | e7302fa7ff640f067ad42d369e1bdc54b0fc5569cf59affe0a6e062b15017803 | 0.95 | testing_debugging_repair_refactoring | 1,878 | false | 2026-07-17 |
using Dotnet.Script.DependencyModel.Context;
using Dotnet.Script.DependencyModel.Process;
using Dotnet.Script.DependencyModel.ProjectSystem;
using Dotnet.Script.Shared.Tests;
using System;
using System.IO;
using Xunit;
using Xunit.Abstractions;
namespace Dotnet.Script.Tests
{
public class DotnetRestorerTests
... | filipw/dotnet-script | src/Dotnet.Script.Tests/DotnetRestorerTests.cs | https://github.com/filipw/dotnet-script/blob/HEAD/src/Dotnet.Script.Tests/DotnetRestorerTests.cs | ghcode:00167:bd23394a3def | mit | codeparrot/github-code | bd23394a3defb0dbd310b8a256578c86c61dd7ae4c949aacf2fcef4c9930db39 | 0.75 | testing_debugging_repair_refactoring | 593 | false | 2026-07-17 |
using System;
using System.IO;
using System.Threading.Tasks;
using Kyrodan.HiDrive.Models;
using Kyrodan.HiDrive.Requests;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Kyrodan.HiDrive.Tests.Requests
{
[TestClass]
public class DirectoryRequestTests : BaseRequestTest
{
private stati... | Kyrodan/hidrive-dotnet-sdk | src/Kyrodan.HiDrive.Tests/Requests/DirectoryRequestTests.cs | https://github.com/Kyrodan/hidrive-dotnet-sdk/blob/HEAD/src/Kyrodan.HiDrive.Tests/Requests/DirectoryRequestTests.cs | ghcode:00167:7d905ce5e9e0 | mit | codeparrot/github-code | 7d905ce5e9e0ec0157a40be5bb8d15660ffd4f2f2476629efff8ccf35ed77e9f | 0.85 | testing_debugging_repair_refactoring | 1,999 | false | 2026-07-17 |
using System.Collections.ObjectModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ObjectCreator.Extensions;
namespace ObjectCreatorTest.Test.ClassCreationTest
{
[TestClass]
public class SystemCollectionsObjectModelClassTest
{
[TestMethod]
public void TestCollection()
... | RenePeuser/DynamicMockCreator | MockCreator/ObjectCreator.Test/Test/ClassCreationTest/SystemCollectionsObjectModelTest.cs | https://github.com/RenePeuser/DynamicMockCreator/blob/HEAD/MockCreator/ObjectCreator.Test/Test/ClassCreationTest/SystemCollectionsObjectModelTest.cs | ghcode:00167:50cd0565ceda | mit | codeparrot/github-code | 50cd0565ceda8c71c4b2369f0b19612189944878cd03c3b1543238f5fd59fc41 | 0.85 | testing_debugging_repair_refactoring | 284 | false | 2026-07-17 |
namespace GameMath.Tests.Core
{
using NUnit.Framework;
public class DirectionTests
{
#region Public Methods and Operators
[Test]
public void TestIsDiagonal()
{
Assert.IsTrue(Direction.SouthEast.IsDiagonal());
}
[Test]
public void TestIs... | npruehs/game-math | Source/GameMath.Tests/Core/DirectionTests.cs | https://github.com/npruehs/game-math/blob/HEAD/Source/GameMath.Tests/Core/DirectionTests.cs | ghcode:00167:029df31d2406 | mit | codeparrot/github-code | 029df31d2406184ffe49d7cdbbdbc04294403f532a1f5e4e06fe476bcd171290 | 0.75 | testing_debugging_repair_refactoring | 233 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Xunit;
namespace NullDesk.Extensions.Mailer.Core.Tests
{
public class MailerFactoryTests
{
[Fact]
public void Factory_Registrations_ExplicitValues()
{
var fact... | NullDesk/NullMailer | test/NullDesk.Extensions.Mailer.Core.Tests/MailerFactoryTests.cs | https://github.com/NullDesk/NullMailer/blob/HEAD/test/NullDesk.Extensions.Mailer.Core.Tests/MailerFactoryTests.cs | ghcode:00167:a887aa3bcade | mit | codeparrot/github-code | a887aa3bcade0b897e336abf0407fb242976e3c7d034511154aa7fb3a3d5f418 | 0.75 | testing_debugging_repair_refactoring | 905 | false | 2026-07-17 |
namespace StudentSystem.Serveces
{
using Contracts;
using System.Linq;
using Models;
using System;
using Data.Repositories;
public class TestService : ITestService
{
private IGenericRepository<Test> tests;
private IGenericRepository<Course> courses;
public TestServ... | zhenyaracheva/TelerikAcademy | Cloud/ASP.NET Web API/StudentSystem/StudentSystem.Serveces/TestService.cs | https://github.com/zhenyaracheva/TelerikAcademy/blob/HEAD/Cloud/ASP.NET Web API/StudentSystem/StudentSystem.Serveces/TestService.cs | ghcode:00167:c22a8b1e4025 | mit | codeparrot/github-code | c22a8b1e402564cc0fe7b57a379a8bc5f923f261e038f2edc02ef6de7257ab92 | 0.75 | testing_debugging_repair_refactoring | 284 | false | 2026-07-17 |
using NUnit.Framework;
using SeShell.Test.Core;
using SeShell.Test.Flows;
using SeShell.Test.TestData.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SeShell.Test.TestCases
{
class FBPostTest : AbstractTest
{
[Test, T... | HansinieJ/seshell | SeShellTest/TestCases/FBPostTest.cs | https://github.com/HansinieJ/seshell/blob/HEAD/SeShellTest/TestCases/FBPostTest.cs | ghcode:00167:517636016920 | mit | codeparrot/github-code | 5176360169202b7514e2737149129c92f3ccfe99b197bb7d2944bc6bf449b800 | 0.6 | testing_debugging_repair_refactoring | 530 | false | 2026-07-17 |
using Sniper.Common;
using Sniper.TargetProcess.Routes;
using Xunit;
namespace Sniper.Tests.CRUD.Create.Common.Revisions
{
public class CreateRevisionTests
{
[Fact]
public void CreateRevisionThrowsError()
{
var client = CommonMethods.GetClientByRoute(TargetProcessRoutes.Rout... | bluetread/sniper | Sniper.Tests/CRUD/Create/Common/Revisions/CreateRevisionTests.cs | https://github.com/bluetread/sniper/blob/HEAD/Sniper.Tests/CRUD/Create/Common/Revisions/CreateRevisionTests.cs | ghcode:00167:7b43b350d124 | mit | codeparrot/github-code | 7b43b350d12474a8e0fed55f5a5a1161db273263d668cc035e9d0d564f6e560a | 0.75 | testing_debugging_repair_refactoring | 77 | false | 2026-07-17 |
using System;
using Xunit;
public partial class IntegrationTests
{
[Fact]
public void Equals_should_use_custom_logic()
{
var first = testResult.GetInstance("CustomEquals");
first.X = 1;
var second = testResult.GetInstance("CustomEquals");
second.X = 2;
var result ... | Fody/Equals | Tests/IntegrationTests_Custom.cs | https://github.com/Fody/Equals/blob/HEAD/Tests/IntegrationTests_Custom.cs | ghcode:00167:9ac32e21148c | mit | codeparrot/github-code | 9ac32e21148cd96eaa8f3234f6ff0ffd4a7a279b53b7cd479967dc3ac3aa49ca | 0.6 | testing_debugging_repair_refactoring | 466 | false | 2026-07-17 |
using System;
namespace SSA {
class Test {
static void empty () {
}
static int ret_int () {
return 1;
}
static int simple_add (int a) {
int b = 5;
return a + b;
}
static int cmov (int a) {
return a >= 10? 1: 2;
}
static int many_shifts (int a, int b, int c) {
return a << b << c << ... | jbatonnet/system | Source/[Libraries]/Mono/mono/mini/test.cs | https://github.com/jbatonnet/system/blob/HEAD/Source/[Libraries]/Mono/mono/mini/test.cs | ghcode:00167:1f81296066e2 | mit | codeparrot/github-code | 1f81296066e2437620c0c593546abd48bee208f311c10675aa1bf88581971fbd | 0.75 | testing_debugging_repair_refactoring | 4,212 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Appy.GitDb.Core.Model;
using Appy.GitDb.Tests.Utils;
using FluentAssertions;
using Xunit;
namespace Appy.GitDb.Tests
{
public class ReadingFromTheRepositoryWithoutAuthentication : WithRepo
{
Exception _exception;
protected override async Task ... | YellowLineParking/Ylp.GitDb | Appy.GitDb.Tests/Authentication.cs | https://github.com/YellowLineParking/Ylp.GitDb/blob/HEAD/Appy.GitDb.Tests/Authentication.cs | ghcode:00167:460594f1eb27 | mit | codeparrot/github-code | 460594f1eb27e89911227112177e1cfacd43efb82e868eb5a6994c9583db91e0 | 0.6 | testing_debugging_repair_refactoring | 927 | false | 2026-07-17 |
using Hprose.RPC;
using Hprose.RPC.Codec.JSONRPC;
using Hprose.RPC.Plugins.Limiter;
using Hprose.RPC.Plugins.Log;
using Hprose.RPC.Plugins.Push;
using Hprose.RPC.Plugins.Reverse;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
using Syste... | hprose/hprose-dotnet | tests/Hprose.UnitTests/RPC/UdpTests.cs | https://github.com/hprose/hprose-dotnet/blob/HEAD/tests/Hprose.UnitTests/RPC/UdpTests.cs | ghcode:00167:0e06386e44db | mit | codeparrot/github-code | 0e06386e44db9161842faa25b86ffd5ccfe89d26479a28d0f0ff91518dbf3a80 | 0.85 | testing_debugging_repair_refactoring | 2,603 | false | 2026-07-17 |
using System;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Restall.Nancy.ServiceRouting.Async;
using Restall.Nancy.ServiceRouting.Tests.AutoFixture;
using Rhino.Mocks;
using Xunit;
using Xunit.Extensions;
namespace Restall.Nancy.ServiceRouting.... | pete-restall/Nancy.ServiceRouting | Nancy.ServiceRouting.Tests/Unit/Async/AsyncTaskOfTServiceMethodInvocationTest.cs | https://github.com/pete-restall/Nancy.ServiceRouting/blob/HEAD/Nancy.ServiceRouting.Tests/Unit/Async/AsyncTaskOfTServiceMethodInvocationTest.cs | ghcode:00167:a6154794179c | mit | codeparrot/github-code | a6154794179c18dceea1b3183286e05ada841bf5f2ee2a19c74fdf5d0f607c7c | 0.6 | testing_debugging_repair_refactoring | 2,201 | false | 2026-07-17 |
using hw.DebugFormatter;
using hw.Parser;
// ReSharper disable CheckNamespace
namespace Net5Tester.CompilerTool.Util
{
sealed class SyntaxError : ParserTokenType<Syntax>
{
[EnableDump]
readonly IssueId IssueId;
public SyntaxError(IssueId issueId) { IssueId = issueId; }
public o... | hahoyer/HWClassLibrary.cs | src/Net5Tester/Tests/CompilerTool/Util/SyntaxError.cs | https://github.com/hahoyer/HWClassLibrary.cs/blob/HEAD/src/Net5Tester/Tests/CompilerTool/Util/SyntaxError.cs | ghcode:00167:8de021a1edef | mit | codeparrot/github-code | 8de021a1edef68b38199fe497757c7cbede33f0db7243c78eccf8ccb5cfc5cf5 | 0.85 | testing_debugging_repair_refactoring | 110 | false | 2026-07-17 |
// Copyright (c) Gaurav Aroraa
// Licensed under the MIT License. See License.txt in the project root for license information.
using NUnit.Framework;
namespace TDD_Katas_project.TheHarryPoterKata
{
[TestFixture]
[Category("HarryPoterKata")]
public class TestHarryPoter
{
[TestFixtureSetUp]
... | cjhnim/TDD-Katas | Src/CSharp/Net Framework/TheHarryPoterKata/TestHarryPoter.cs | https://github.com/cjhnim/TDD-Katas/blob/HEAD/Src/CSharp/Net Framework/TheHarryPoterKata/TestHarryPoter.cs | ghcode:00167:7178d30c5ea0 | mit | codeparrot/github-code | 7178d30c5ea01a3158820704339a4079eae9c36cf3da0d836e89539f64de058b | 0.85 | testing_debugging_repair_refactoring | 116 | false | 2026-07-17 |
// Copyright (c) 2001-2016 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
// "as is", without warranty of any kind, either expressed or implied.
////////////////////////////////////////... | assadvirgo/Aspose_Words_NET | QA Tests/AW Tests/Examples/DigitalSignature/ExDigitalSignatureUtil.cs | https://github.com/assadvirgo/Aspose_Words_NET/blob/HEAD/QA Tests/AW Tests/Examples/DigitalSignature/ExDigitalSignatureUtil.cs | ghcode:00167:424176e99fe8 | mit | codeparrot/github-code | 424176e99fe8a0a1a8bcbe98ec62c51ad4f28cffbde8d93f54215277e160e359 | 0.85 | testing_debugging_repair_refactoring | 826 | false | 2026-07-17 |
namespace $rootnamespace$
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
/// <summary>
///
/// </summary>
/// <threadsafety static="true" instance="true"/>
[TestClass]
public sealed class $safeitemrootname$
{
}
}
| corranrogue9/FxCore | Templates/ItemTemplates/TestClass/TestClass.cs | https://github.com/corranrogue9/FxCore/blob/HEAD/Templates/ItemTemplates/TestClass/TestClass.cs | ghcode:00167:2a73e4caa156 | mit | codeparrot/github-code | 2a73e4caa156800ff621201c659212812bea450c75f7ee6c11a9b44663169709 | 0.85 | testing_debugging_repair_refactoring | 58 | false | 2026-07-17 |
global using NUnit.Framework;
global using Toolbelt;
global using Toolbelt.Diagnostics;
global using Format = Toolbelt.ExecutableFileFormatType;
global using static Toolbelt.ExecutableFileFormat;
| jsakamoto/nupkg-selenium-webdriver-geckodriver | test/GlobalUsings.cs | https://github.com/jsakamoto/nupkg-selenium-webdriver-geckodriver/blob/HEAD/test/GlobalUsings.cs | ghcode:00167:49a5edc11f57 | unlicense | codeparrot/github-code | 49a5edc11f5746bd2d832a9dd499f07b611e09cdee22f8719e98d75c31aecb80 | 0.28 | testing_debugging_repair_refactoring | 39 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Xunit;
public sealed class BinarySearchTest
{
[Fact]
public void Test_Meguru_Int32()
{
BinarySearch.Meguru(0, 5, x => x <= 0).Is(0);
BinarySearch.Meguru(0, 5, x => x <= 3).Is(3);
BinarySearch.Meguru(0, 5, x => x <= 4).Is(4);
... | vain0/vain0-procon | csharp/Lib.Tests/Mathematics/BinarySearchTest.cs | https://github.com/vain0/vain0-procon/blob/HEAD/csharp/Lib.Tests/Mathematics/BinarySearchTest.cs | ghcode:00167:c6839bd9b94d | unlicense | codeparrot/github-code | c6839bd9b94d903fdab2f161f385da66cd227c287febbe254bddeb00275418e9 | 0.53 | testing_debugging_repair_refactoring | 578 | false | 2026-07-17 |
using System;
using Dev.Comm.Web;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
namespace Dev.Comm.Test
{
[TestClass]
public class MyTestClass
{
[TestMethod]
public void MyTestMethod()
{
//var matches = Dev.Comm.RegexHelp... | zbw911/DevLib.Comm | Framework/Comm/Dev.Comm.Test/MyTestClass.cs | https://github.com/zbw911/DevLib.Comm/blob/HEAD/Framework/Comm/Dev.Comm.Test/MyTestClass.cs | ghcode:00167:b1b05450033d | unlicense | codeparrot/github-code | b1b05450033d31f6f26c52c3e6bab0ae4a23a33f62a8f70a907e39d468caee3f | 0.78 | testing_debugging_repair_refactoring | 255 | false | 2026-07-17 |
using BenchmarkDotNet.Running;
namespace Generics
{
/// <summary>
/// .NET のジェネリック メソッドがどんな感じで解釈されているかの例。
///
/// 簡単に言うと、
/// - 参照型 → 全クラス共通の1つのメソッドに展開
/// - 値型 → 1つ1つ別々に展開
/// になってる。
///
/// この例の内容:
/// ・型
/// - C から始まる型(<see cref="CInt"/>, <see cref="CString"/>) … クラス... | ufcpp/UfcppSample | Demo/2017/InlineExpansion/Generics/Program.cs | https://github.com/ufcpp/UfcppSample/blob/HEAD/Demo/2017/InlineExpansion/Generics/Program.cs | ghcode:00167:1fd2bbb1b482 | apache-2.0 | codeparrot/github-code | 1fd2bbb1b482c1351dcaac791d6a44bfba62d643b8cdded00a069ac6a69cd962 | 0.85 | testing_debugging_repair_refactoring | 1,133 | false | 2026-07-17 |
// Copyright 2007-2011 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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... | eswann/Burrows | src/Tests/Burrows.Tests/Transports/TransactionalEndpointContract.cs | https://github.com/eswann/Burrows/blob/HEAD/src/Tests/Burrows.Tests/Transports/TransactionalEndpointContract.cs | ghcode:00167:f8681eb3c083 | apache-2.0 | codeparrot/github-code | f8681eb3c083a85af42137ece22ea3ef6ee8148e1b7cb9f3eafc81778238d75e | 0.95 | testing_debugging_repair_refactoring | 536 | false | 2026-07-17 |
//
// Copyright 2014 luke
//
// 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... | Luke-Wolf/wolfybot | WolfBot.Tests/BotControllerTests.cs | https://github.com/Luke-Wolf/wolfybot/blob/HEAD/WolfBot.Tests/BotControllerTests.cs | ghcode:00167:1c538671a160 | apache-2.0 | codeparrot/github-code | 1c538671a1604b5c212cc851ea2f70f591c833b65606ac25c3424cfd69f08ad5 | 0.85 | testing_debugging_repair_refactoring | 706 | 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.Text;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xunit;
using DocumentForma... | EricWhiteDev/Open-XML-SDK | DocumentFormat.OpenXml.Tests/ofapiTest/MCSupport.cs | https://github.com/EricWhiteDev/Open-XML-SDK/blob/HEAD/DocumentFormat.OpenXml.Tests/ofapiTest/MCSupport.cs | ghcode:00167:1a5d0cf97f3c | apache-2.0 | codeparrot/github-code | 1a5d0cf97f3c6f1283c9580eb4c83a46e5cfe5677663e91cac829d3751d17d6e | 0.7 | testing_debugging_repair_refactoring | 4,293 | 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 Y... | Neuzilla/NStorage | NStorage.Test/POIFS/FileSystem/TestDirectoryNode.cs | https://github.com/Neuzilla/NStorage/blob/HEAD/NStorage.Test/POIFS/FileSystem/TestDirectoryNode.cs | ghcode:00167:1e1d03db01a8 | apache-2.0 | codeparrot/github-code | 1e1d03db01a88359e3f776d13e10f203228df341554a60a5ed506f7a4cef7d37 | 0.85 | testing_debugging_repair_refactoring | 1,412 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.MockData;
using Xunit;
using static Nest.Infer;
namespace Tests.Document.Multiple.ReindexOnServer
{
[Collecti... | TheFireCookie/elasticsearch-net | src/Tests/Document/Multiple/ReindexOnServer/ReindexOnServerApiTests.cs | https://github.com/TheFireCookie/elasticsearch-net/blob/HEAD/src/Tests/Document/Multiple/ReindexOnServer/ReindexOnServerApiTests.cs | ghcode:00167:aaee0249d641 | apache-2.0 | codeparrot/github-code | aaee0249d641cacd7023a08a48e773471f6dd79f9b21eed865739d811df31bb4 | 0.85 | testing_debugging_repair_refactoring | 1,092 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.Diagn... | eriawan/roslyn | src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Extensions/DiagnosticDescriptorExtensions.cs | https://github.com/eriawan/roslyn/blob/HEAD/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Extensions/DiagnosticDescriptorExtensions.cs | ghcode:00167:08b95fe919f7 | apache-2.0 | codeparrot/github-code | 08b95fe919f70b8f0f08c0a548027f0357bbbf7f8e4fb497f6b8cca45216e53f | 0.85 | testing_debugging_repair_refactoring | 1,730 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using Xunit;
namespace Microsoft.AspNetCore.JsonPatch
{
public class JsonPatchDocumentJsonPropert... | aspnet/AspNetCore | src/Features/JsonPatch/test/JsonPatchDocumentJsonPropertyAttributeTest.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Features/JsonPatch/test/JsonPatchDocumentJsonPropertyAttributeTest.cs | ghcode:00167:5be5efb16b84 | apache-2.0 | codeparrot/github-code | 5be5efb16b84e71de34aa12d97f2365c0cb73a560dd643f1571828bc3c793c2f | 0.95 | testing_debugging_repair_refactoring | 522 | false | 2026-07-17 |
using System;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using LtiLibrary.AspNetCore.Tests.SimpleHelpers;
using LtiLibrary.NetCore.Clients;
using LtiLibrary.NetCore.Lis.v1;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Xunit;
namespace LtiL... | andyfmiller/LtiLibrary | test/LtiLibrary.AspNetCore.Tests/Membership/MembershipControllerShould.cs | https://github.com/andyfmiller/LtiLibrary/blob/HEAD/test/LtiLibrary.AspNetCore.Tests/Membership/MembershipControllerShould.cs | ghcode:00167:feba2ec676db | apache-2.0 | codeparrot/github-code | feba2ec676db505e9997252769752c7fd9e7c6981cbb655e368ba636c3d828c2 | 0.85 | testing_debugging_repair_refactoring | 1,533 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="StrikeMarkdownProviderTests.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// Licensed... | ludwigjossieaux/pickles | src/Pickles/Pickles.Test/DocumentationBuilders/HTML/StrikeMarkdownProviderTests.cs | https://github.com/ludwigjossieaux/pickles/blob/HEAD/src/Pickles/Pickles.Test/DocumentationBuilders/HTML/StrikeMarkdownProviderTests.cs | ghcode:00167:72aa98bc4f60 | apache-2.0 | codeparrot/github-code | 72aa98bc4f606dbf575a0ff2be3e3caf5fc31ec9b8274c10d0e312c971e9e285 | 0.85 | testing_debugging_repair_refactoring | 293 | false | 2026-07-17 |
using NUnit.Framework;
using StructureMap.Pipeline;
using StructureMap.Testing.GenericWidgets;
using StructureMap.Testing.Widget3;
namespace StructureMap.Testing.Pipeline
{
[TestFixture]
public class ArgumentTester
{
[Test]
public void close_an_open_type()
{
... | HenrikDK/structuremap | src/StructureMap.Testing/Pipeline/ArgumentTester.cs | https://github.com/HenrikDK/structuremap/blob/HEAD/src/StructureMap.Testing/Pipeline/ArgumentTester.cs | ghcode:00167:b1983d1bcfce | apache-2.0 | codeparrot/github-code | b1983d1bcfcea75e9ab9c7113bb3a8e3c55ad77f2efc44d3b614b01d64f49cba | 0.75 | testing_debugging_repair_refactoring | 360 | false | 2026-07-17 |
/* Copyright 2015 Brock Reeve
* 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 wr... | bitsummation/pickaxe | Pickaxe.Tests/WhereTests.cs | https://github.com/bitsummation/pickaxe/blob/HEAD/Pickaxe.Tests/WhereTests.cs | ghcode:00167:f79d3efae444 | apache-2.0 | codeparrot/github-code | f79d3efae444e5ada7025e379c6716eb1d779d61ebc6341a29954919e4686758 | 0.85 | testing_debugging_repair_refactoring | 1,885 | false | 2026-07-17 |
using System;
using System.Reflection;
using MbUnit.Core;
using MbUnit.Core.Invokers;
using MbUnit.Core.Runs;
namespace MbUnit.Framework
{
internal sealed class TestCaseRunInvoker : RunInvoker
{
private MethodInfo setUp;
private MethodInfo tearDown;
private ITestSuite testS... | Gallio/mbunit-v2 | src/mbunit/MbUnit.Framework/TestCaseRunInvoker.cs | https://github.com/Gallio/mbunit-v2/blob/HEAD/src/mbunit/MbUnit.Framework/TestCaseRunInvoker.cs | ghcode:00167:ad1c2baeaa19 | apache-2.0 | codeparrot/github-code | ad1c2baeaa194abaabd3d7fcdf5b3a9803586e19570b0ff28fc8c01750c18bf4 | 0.75 | testing_debugging_repair_refactoring | 265 | false | 2026-07-17 |
using FluentMigrator.Runner.Generators.MySql;
using NUnit.Framework;
using NUnit.Should;
namespace FluentMigrator.Tests.Unit.Generators.MySql
{
[TestFixture]
public class MySqlColumnTests : BaseColumnTests
{
protected MySqlGenerator Generator;
[SetUp]
public void Setup()
{... | itn3000/fluentmigrator | src/FluentMigrator.Tests/Unit/Generators/MySql/MySqlColumnTests.cs | https://github.com/itn3000/fluentmigrator/blob/HEAD/src/FluentMigrator.Tests/Unit/Generators/MySql/MySqlColumnTests.cs | ghcode:00167:064cf6cce387 | apache-2.0 | codeparrot/github-code | 064cf6cce387937a4bf9b4cb7e13a5f0e1ec01a7d9289ed915f6234935c46b03 | 0.75 | testing_debugging_repair_refactoring | 1,414 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Text;
using Devsense.PHP.Text;
using Devsense.PHP.Syntax.Ast;
using Devsense.PHP.Syntax;
using System.Diagnostics;
using Pchp.CodeAnalysis;
namespace Phyl.CodeAnalysis
{
... | allisterb/Phyl | Phyl.CodeAnalysis/Phyl/PhylAstUtils.cs | https://github.com/allisterb/Phyl/blob/HEAD/Phyl.CodeAnalysis/Phyl/PhylAstUtils.cs | ghcode:00167:d6dd7943025a | apache-2.0 | codeparrot/github-code | d6dd7943025a87cdb6b359dc4c61e40e21803cfaceff4554af2bcdd34640931a | 0.7 | testing_debugging_repair_refactoring | 1,419 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MapperTestsForStep.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// Licensed under th... | blorgbeard/pickles | src/Pickles/Pickles.Test/ObjectModel/MapperTestsForStep.cs | https://github.com/blorgbeard/pickles/blob/HEAD/src/Pickles/Pickles.Test/ObjectModel/MapperTestsForStep.cs | ghcode:00167:b53e70f46f94 | apache-2.0 | codeparrot/github-code | b53e70f46f9480c46229459f848f87d6bb76b35e592bab4ded327b1be2c7d6a3 | 0.85 | testing_debugging_repair_refactoring | 994 | false | 2026-07-17 |
//
// Copyright 2020 Google LLC
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Ver... | GoogleCloudPlatform/iap-desktop | sources/Google.Solutions.IapDesktop.Extensions.Activity.Test/Views/UsageReport/TestReportViewModel.cs | https://github.com/GoogleCloudPlatform/iap-desktop/blob/HEAD/sources/Google.Solutions.IapDesktop.Extensions.Activity.Test/Views/UsageReport/TestReportViewModel.cs | ghcode:00167:ff6f11daae25 | apache-2.0 | codeparrot/github-code | ff6f11daae255aa46ce2f99939f01142397e2884fdc9b26750059c078f95576e | 0.85 | testing_debugging_repair_refactoring | 851 | false | 2026-07-17 |
#region License and Terms
// CustomExtensions - Custom Extension Methods For C#
// Copyright (c) 2011 - 2012 Jonathan Comtois. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy... | jcomtois/CustomExtensions | CustomExtensions/ForIEnumerable/MaxOrDefault.cs | https://github.com/jcomtois/CustomExtensions/blob/HEAD/CustomExtensions/ForIEnumerable/MaxOrDefault.cs | ghcode:00167:ad3293e2bd53 | apache-2.0 | codeparrot/github-code | ad3293e2bd532da4b9a86664e19757669c2dccf7fcc210bfd13f181337a4d6df | 0.85 | testing_debugging_repair_refactoring | 5,713 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Diagnostics;
using System.IO;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
#pragma warning disable SA1402... | stankovski/azure-sdk-for-net | sdk/search/Azure.Search.Documents/src/Models/SearchSuggestion{T}.cs | https://github.com/stankovski/azure-sdk-for-net/blob/HEAD/sdk/search/Azure.Search.Documents/src/Models/SearchSuggestion{T}.cs | ghcode:00167:60b9e2548021 | apache-2.0 | codeparrot/github-code | 60b9e2548021fa541b243d243c947a067228f5d103a6fbfad9c579ed92de114e | 0.95 | testing_debugging_repair_refactoring | 911 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Kudu.Core.Infrastructure;
using Kudu.Core.SourceControl;
using Kudu.Core.Test;
using Kudu.Core.Tracing;
using Kudu.TestHarness;
using Xunit;
using Xunit.Extensions;
namespace Kudu.FunctionalTests
{
[TestHarnessClassCommand]
... | onesmartguy/e13-kudu | Kudu.FunctionalTests/HgRepositoryFacts.cs | https://github.com/onesmartguy/e13-kudu/blob/HEAD/Kudu.FunctionalTests/HgRepositoryFacts.cs | ghcode:00167:bb5ca81c13a0 | apache-2.0 | codeparrot/github-code | bb5ca81c13a018039f9d252ab6df27fad5ca5cd445ba89fe964cf5ad8f90b6cf | 0.85 | testing_debugging_repair_refactoring | 1,488 | 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.Generic;
using System.Collections.Immutable;
using System.Threading;
us... | brettfo/roslyn | src/Workspaces/CoreTestUtilities/TestDocumentServiceProvider.cs | https://github.com/brettfo/roslyn/blob/HEAD/src/Workspaces/CoreTestUtilities/TestDocumentServiceProvider.cs | ghcode:00167:4534c03673ca | apache-2.0 | codeparrot/github-code | 4534c03673caa4b14a086b960645e942c020a09d073cc07f05ceb1dd830ce2af | 0.85 | testing_debugging_repair_refactoring | 374 | false | 2026-07-17 |
using QuantConnect.Data;
using QuantConnect.Data.Consolidators;
using QuantConnect.Indicators;
using System;
using System.Collections.Generic;
using System.Text;
namespace QuantConnect.Algorithm.CSharp
{
/// <summary>
/// Basic template algorithm simply initializes the date range and cash
/// </summary>
... | bizcad/LeanJJN | Algorithm.CSharp/JJAlgorithms/TestingAlgos/TestingIchimoku.cs | https://github.com/bizcad/LeanJJN/blob/HEAD/Algorithm.CSharp/JJAlgorithms/TestingAlgos/TestingIchimoku.cs | ghcode:00167:9d84b52c19fb | apache-2.0 | codeparrot/github-code | 9d84b52c19fb4ad8110a2249e2c97ff0fbde4d379bd0141b82cec370818d3ad6 | 0.85 | testing_debugging_repair_refactoring | 716 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Kooboo.CMS.Content.Tests.Models
{
/// <summary>
/// Summary description for UserKeyGeneratorTests
/// </summary>
[TestClass]
public class UserKeyGener... | Epitomy/CMS | Kooboo.CMS/Kooboo.CMS.Content/Kooboo.CMS.Content.Tests/Models/UserKeyGeneratorTests.cs | https://github.com/Epitomy/CMS/blob/HEAD/Kooboo.CMS/Kooboo.CMS.Content/Kooboo.CMS.Content.Tests/Models/UserKeyGeneratorTests.cs | ghcode:00167:35a43ad14eb9 | bsd-3-clause | codeparrot/github-code | 35a43ad14eb9240ba7a7b74c067bcd561fe0efb1a8110a20b66e13dad139ded5 | 0.85 | testing_debugging_repair_refactoring | 98 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Blaze.SoundPlayer.Tests
{
[TestClass]
public class MathTester
{
struct Tripple<T>
{
public T A;
public T B;
public T C;
public Tripple(T a, T b, T c)
... | GKBelmonte/SoundPlayer | Blaze.SoundPlayer.Tests/MathTester.cs | https://github.com/GKBelmonte/SoundPlayer/blob/HEAD/Blaze.SoundPlayer.Tests/MathTester.cs | ghcode:00167:3a6c106f5fe5 | bsd-3-clause | codeparrot/github-code | 3a6c106f5fe58a235a514034ac2ce2768564449cb2e3f73bcda79a0d091ed13b | 0.6 | testing_debugging_repair_refactoring | 323 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework;
using NServiceKit.Common.Tests.Models;
namespace NServiceKit.OrmLite.MySql.Tests
{
/// <summary>An ORM lite query tests.</summary>
[TestFixture]
public class OrmLiteQueryTests
: OrmLiteTestBase
{
/// <summary>
/// Can get by identifier i... | NServiceKit/NServiceKit.OrmLite | src/NServiceKit.OrmLite.MySql.Tests/OrmLiteQueryTests.cs | https://github.com/NServiceKit/NServiceKit.OrmLite/blob/HEAD/src/NServiceKit.OrmLite.MySql.Tests/OrmLiteQueryTests.cs | ghcode:00167:fe4ccc96a325 | bsd-3-clause | codeparrot/github-code | fe4ccc96a325665bc74718aafd6f943c236de6495c41c65c6a0195a864267b3c | 0.85 | testing_debugging_repair_refactoring | 1,017 | 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... | ianbattersby/EventStore | src/EventStore/EventStore.Projections.Core.Tests/Services/emitted_stream/when_checkpoint_requested_but_disabled.cs | https://github.com/ianbattersby/EventStore/blob/HEAD/src/EventStore/EventStore.Projections.Core.Tests/Services/emitted_stream/when_checkpoint_requested_but_disabled.cs | ghcode:00167:2f00d7b4da12 | bsd-3-clause | codeparrot/github-code | 2f00d7b4da12db7f07f4cb174f0b22ce406efc5dd640d10d7463d63da68159a2 | 0.85 | testing_debugging_repair_refactoring | 587 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using BuildRevisionCounter.Exceptions;
using BuildRevisionCounter.Web.Controllers;
using NUnit.Framework;
namespace BuildRevisionCounter.Tests.Controllers
{
[TestFixture]
public class CounterControllerTest
{
private CounterController _controller;
[TestFixtureSetUp]
... | lexarchik/BuildRevisionCounter | BuildRevisionCounter.Tests/Controllers/CounterControllerTest.cs | https://github.com/lexarchik/BuildRevisionCounter/blob/HEAD/BuildRevisionCounter.Tests/Controllers/CounterControllerTest.cs | ghcode:00167:507da6e1e233 | mit | codeparrot/github-code | 507da6e1e233c536467260f77ee2534ee820ca68a6b3933f7764a97fdbbcb752 | 0.6 | testing_debugging_repair_refactoring | 342 | false | 2026-07-17 |
using System;
using System.Linq;
using Coinbase.Net.Api;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Coinbase.Net.Tests
{
[TestClass]
public class TestPriceApi
{
[TestMethod]
public void TestGetSpotRate()
{
var spotRate = CoinbaseClient.GetSpotPrice().... | sefbkn/Coinbase.NET | Coinbase.NET.Tests/TestPriceApi.cs | https://github.com/sefbkn/Coinbase.NET/blob/HEAD/Coinbase.NET.Tests/TestPriceApi.cs | ghcode:00167:8909fece8d4a | mit | codeparrot/github-code | 8909fece8d4a401003d77f98913ff4d2097657c1f28e08302053e320d471d867 | 0.85 | testing_debugging_repair_refactoring | 497 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
usi... | botaberg/corert | src/Common/src/TypeSystem/Common/Utilities/LockFreeReaderHashtableOfPointers.cs | https://github.com/botaberg/corert/blob/HEAD/src/Common/src/TypeSystem/Common/Utilities/LockFreeReaderHashtableOfPointers.cs | ghcode:00167:a9222db86875 | mit | codeparrot/github-code | a9222db86875b3e39315bf44805382623d07afe09bdd28323942e81f684945f5 | 0.95 | testing_debugging_repair_refactoring | 5,212 | 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.
using System.Globalization;
using System.Linq;
using Microsoft.Rest.Generator.ClientModel;
using Xunit;
namespace Microsoft.Rest.Generator.CSharp.Tests
{
[C... | matt-gibbs/AutoRest | AutoRest/Generators/CSharp/CSharp.Tests/CSharpCodeNamingFrameworkTests.cs | https://github.com/matt-gibbs/AutoRest/blob/HEAD/AutoRest/Generators/CSharp/CSharp.Tests/CSharpCodeNamingFrameworkTests.cs | ghcode:00167:cadcea2b3673 | mit | codeparrot/github-code | cadcea2b36730ab80d7cf3d9408c6cf5fcbd2e59906f7659a837b2d4e8e4bb3b | 0.75 | testing_debugging_repair_refactoring | 3,686 | false | 2026-07-17 |
// ReSharper disable InconsistentNaming
using EasyNetQ.AmqpExceptions;
using FluentAssertions;
using Xunit;
namespace EasyNetQ.Tests
{
public class AmqpExceptionParserTests
{
[Fact]
public void Should_fail_on_badly_formatted_exception()
{
Assert.Throws<Sprache.ParseExcepti... | Pliner/EasyNetQ | Source/EasyNetQ.Tests/AmqpExceptionParserTests.cs | https://github.com/Pliner/EasyNetQ/blob/HEAD/Source/EasyNetQ.Tests/AmqpExceptionParserTests.cs | ghcode:00167:926dd535923c | mit | codeparrot/github-code | 926dd535923c0cdbbb3e2c17cb89a30b23072e42019348e4d5a415bb6c225c00 | 0.75 | testing_debugging_repair_refactoring | 448 | false | 2026-07-17 |
using System;
using System.Management.Automation;
using Continuous.User.Tests.TestHelpers;
using Continuous.User.Tests.TestHelpers.Installer;
using Continuous.User.Users;
using FluentAssertions;
using NUnit.Framework;
namespace Continuous.User.Tests.Tests.User
{
[TestFixture]
public class SetUserFullNameTests... | jarzynam/continuous | src/Continuous.User/Continuous.User.Tests/Tests/User/SetUserFullNameTests.cs | https://github.com/jarzynam/continuous/blob/HEAD/src/Continuous.User/Continuous.User.Tests/Tests/User/SetUserFullNameTests.cs | ghcode:00167:52a43c935810 | mit | codeparrot/github-code | 52a43c93581089a8a70d17803aacac67fa2f33bca324969ca477e68254db24a3 | 0.95 | testing_debugging_repair_refactoring | 307 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TypeMock.ArrangeActAssert;
using Nucleo.Context;
using Nucleo.EventsManagement;
using Nucleo.Models;
using Nucleo.Navigation;
namespace Nucleo.Presentation.Context
{
[Test... | brianmains/Nucleo.NET | src_wip/Tests.Unit.MVP/Presentation/Context/PresenterContextTest.cs | https://github.com/brianmains/Nucleo.NET/blob/HEAD/src_wip/Tests.Unit.MVP/Presentation/Context/PresenterContextTest.cs | ghcode:00167:b32c961134eb | mit | codeparrot/github-code | b32c961134eb3c8aa1afc71bd108756967193cd66bd548783324041300b6477c | 0.85 | testing_debugging_repair_refactoring | 191 | false | 2026-07-17 |
using RefactoringEssentials.CSharp.CodeRefactorings;
using Xunit;
namespace RefactoringEssentials.Tests.CSharp.CodeRefactorings
{
public class CreateCustomEventImplementationTests : CSharpCodeRefactoringTestBase
{
[Fact]
public void Test()
{
Test<CreateCustomEventImplementat... | icsharpcode/RefactoringEssentials | Tests/CSharp/CodeRefactorings/CreateCustomEventImplementationTests.cs | https://github.com/icsharpcode/RefactoringEssentials/blob/HEAD/Tests/CSharp/CodeRefactorings/CreateCustomEventImplementationTests.cs | ghcode:00167:f72b86265dbd | mit | codeparrot/github-code | f72b86265dbdacc0c4be66cbefade4e98aeb9a81b5a97c36e8b046a730b4b5ef | 0.75 | testing_debugging_repair_refactoring | 361 | false | 2026-07-17 |
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.IO;
using NUnit.Framework;
using OpenTK;
using OpenTK.Graphics;
using osu.Game.Beatmaps.Formats;
using osu.Game.Beatmaps.Samples;
using osu.Game.M... | NotKyon/lolisu | osu.Game.Tests/Beatmaps/Formats/OsuLegacyDecoderTest.cs | https://github.com/NotKyon/lolisu/blob/HEAD/osu.Game.Tests/Beatmaps/Formats/OsuLegacyDecoderTest.cs | ghcode:00167:53652db2237d | mit | codeparrot/github-code | 53652db2237df1cb6c15796cc513ccf02b7a7ebbbf402fccb5c17427eb64dd3b | 0.85 | testing_debugging_repair_refactoring | 1,561 | false | 2026-07-17 |
using System;
using FluentSecurity.ServiceLocation.LifeCycles;
using Moq;
using NUnit.Framework;
namespace FluentSecurity.Specification.ServiceLocation.LifeCycles
{
[TestFixture]
[Category("ObjectCacheSpec")]
public class When_setting_an_object_in_the_ObjectCache
{
[Test]
public void Should_not_ad... | pvivera/FluentSecurity.Nancy | FluentSecurity/FluentSecurity.Specification/ServiceLocation/LifeCycles/ObjectCacheSpec.cs | https://github.com/pvivera/FluentSecurity.Nancy/blob/HEAD/FluentSecurity/FluentSecurity.Specification/ServiceLocation/LifeCycles/ObjectCacheSpec.cs | ghcode:00167:db7f04441e61 | mit | codeparrot/github-code | db7f04441e6154b00499c1706e94d37419d57ca5c563a4b367d23af167e858f9 | 0.85 | testing_debugging_repair_refactoring | 339 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using AutoFixture;
using AutoFixture.Dsl;
using AutoFixture.Kernel;
using TestTypeFoundation;
using Xunit;
namespace AutoFixtureUnitTest.Kernel
{
public class Scenario
{
[Fact]
public void CreateSingleStringParameterizedType()
... | zvirja/AutoFixture | Src/AutoFixtureUnitTest/Kernel/Scenario.cs | https://github.com/zvirja/AutoFixture/blob/HEAD/Src/AutoFixtureUnitTest/Kernel/Scenario.cs | ghcode:00167:20db2bd9bfc1 | mit | codeparrot/github-code | 20db2bd9bfc16b2bcc281f35d95dee382c20094357dc8ea399c6ddee4b01e966 | 0.85 | testing_debugging_repair_refactoring | 5,011 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Dynamic;
namespace Exp.Core.Common.Service
{
public class TestService
{
public IEnumerable<dynamic> Get()
{
List<dynamic> r = new List<dynamic>();
dynamic item;
for (int i = 10; i < 17; i++)
... | pedrofernandesfilho/Experiments | src/Core/Common/Exp.Core.Common/TestService.cs | https://github.com/pedrofernandesfilho/Experiments/blob/HEAD/src/Core/Common/Exp.Core.Common/TestService.cs | ghcode:00167:0ccefcad19b0 | mit | codeparrot/github-code | 0ccefcad19b03432bda89453269deca8244008cdcd707cad6142acc65f1ad163 | 0.75 | testing_debugging_repair_refactoring | 184 | false | 2026-07-17 |
namespace Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.Helpers
{
using System;
using System.IO;
using System.Security.AccessControl;
using System.Security.Principal;
internal sealed class DirectoryAccessDenier : IDisposable
{
private readonly DirectoryInfo directory;
... | pharring/ApplicationInsights-dotnet | BASE/Test/ServerTelemetryChannel.Test/TelemetryChannel.Tests/Helpers/DirectoryAccessDenier.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/BASE/Test/ServerTelemetryChannel.Test/TelemetryChannel.Tests/Helpers/DirectoryAccessDenier.cs | ghcode:00167:190599205a25 | mit | codeparrot/github-code | 190599205a2563b21cb3a41876cbaf6e6754e59da19548ade39a953d64875f24 | 0.85 | testing_debugging_repair_refactoring | 180 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Engines;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Rep... | alinasmirnova/BenchmarkDotNet | tests/BenchmarkDotNet.Tests/Reports/RatioPrecisionTests.cs | https://github.com/alinasmirnova/BenchmarkDotNet/blob/HEAD/tests/BenchmarkDotNet.Tests/Reports/RatioPrecisionTests.cs | ghcode:00167:c93fc2e40ff3 | mit | codeparrot/github-code | c93fc2e40ff314726f00f9aad1ecec55cb4ef761c28665ea2bd74d01d1b896f8 | 0.75 | testing_debugging_repair_refactoring | 903 | false | 2026-07-17 |
using Rezolver.Configuration;
using Rezolver.Sdk;
using Rezolver.Tests.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Rezolver.Tests
{
public class OptionDependentConfigurationTests
{
public class Config... | ZolutionSoftware/Rezolver | test/Rezolver.Tests/OptionDependentConfigurationTests.cs | https://github.com/ZolutionSoftware/Rezolver/blob/HEAD/test/Rezolver.Tests/OptionDependentConfigurationTests.cs | ghcode:00167:bbdd564a7567 | mit | codeparrot/github-code | bbdd564a75672ee179273ccd8d917894ca9272c2ee3eba36cf7664f819d979f1 | 0.85 | testing_debugging_repair_refactoring | 542 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Pchp.CodeAnalysis;
using Pchp.CodeAnalysis.CodeGen;
using Pchp.CodeAnalysis.Semantics;
using Microsoft.CodeAnalysis.CodeGen;
using Pchp.CodeAnalysis.Symbols;
using System.Diagnostics;
namespace Pe... | iolevel/peachpie-concept | src/Peachpie.CodeAnalysis/Utilities/ExceptionUtilities.cs | https://github.com/iolevel/peachpie-concept/blob/HEAD/src/Peachpie.CodeAnalysis/Utilities/ExceptionUtilities.cs | ghcode:00167:1d42b5293b55 | apache-2.0 | codeparrot/github-code | 1d42b5293b5515aeb035ebefa44c1eb32ecc363cbbbe0dc151a441402d3d5901 | 0.85 | testing_debugging_repair_refactoring | 816 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ActorRefSinkSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>... | simonlaroche/akka.net | src/core/Akka.Streams.Tests/Dsl/ActorRefSinkSpec.cs | https://github.com/simonlaroche/akka.net/blob/HEAD/src/core/Akka.Streams.Tests/Dsl/ActorRefSinkSpec.cs | ghcode:00167:5968aa223fb8 | apache-2.0 | codeparrot/github-code | 5968aa223fb8ea03f0f7f83bf9688d78e2f26932f738184fffccd1261b1da80e | 0.85 | testing_debugging_repair_refactoring | 462 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using SoftServe.ITA.PrompterPro.Domain.Models;
using SoftServe.ITA.PrompterPro.WebApplication.Security;
namespace SoftServe.ITA.PrompterPro.WebApplication.UnitTests.Security
{
[TestFixture]
public class SecurityTests
{
[Test]
public static void Authoriz... | PTRPlay/PrompterPro | Main/SoftServe.ITA.PrompterPro/UnitTests/PrompterPro.WebApplication.UnitTests/Security/SecurityTests.cs | https://github.com/PTRPlay/PrompterPro/blob/HEAD/Main/SoftServe.ITA.PrompterPro/UnitTests/PrompterPro.WebApplication.UnitTests/Security/SecurityTests.cs | ghcode:00167:06079cb2f4cf | apache-2.0 | codeparrot/github-code | 06079cb2f4cf9bbb7cc6ba63e1ab46dad4352789d4d01da2273219985e5529b2 | 0.85 | testing_debugging_repair_refactoring | 286 | false | 2026-07-17 |
using GridDomain.Tests.Unit.BalloonDomain;
using GridDomain.Tests.Unit.BalloonDomain.Configuration;
using Xunit.Abstractions;
namespace GridDomain.Tests.Unit.CommandsExecution
{
public class BalloonDomainCommandExecutionTests : NodeTestKit
{
public BalloonDomainCommandExecutionTests(ITestOutputHelper o... | linkelf/GridDomain | GridDomain.Tests.Unit/CommandsExecution/ExecutionWithErrors/BalloonDomainCommandExecutionTests.cs | https://github.com/linkelf/GridDomain/blob/HEAD/GridDomain.Tests.Unit/CommandsExecution/ExecutionWithErrors/BalloonDomainCommandExecutionTests.cs | ghcode:00167:f774375f1e65 | apache-2.0 | codeparrot/github-code | f774375f1e65abe6b71b9f34fee7b5a0dbc660a257da8a2f48eb63be90010549 | 0.75 | testing_debugging_repair_refactoring | 81 | false | 2026-07-17 |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 ... | AlexRa/opensim-mods-Alex | OpenSim/Tests/Common/Mock/TestScene.cs | https://github.com/AlexRa/opensim-mods-Alex/blob/HEAD/OpenSim/Tests/Common/Mock/TestScene.cs | ghcode:00167:6f39e34ecdad | bsd-3-clause | codeparrot/github-code | 6f39e34ecdadfeeb462dd37fde29b6a303d30873268f2b1ee7e9025d81189670 | 0.95 | testing_debugging_repair_refactoring | 615 | false | 2026-07-17 |
using Xunit;
namespace Humanizer.Tests
{
public class EnumHumanizeTests
{
#if !NETFX_CORE
[Fact]
public void HonorsDescriptionAttribute()
{
Assert.Equal(EnumTestsResources.MemberWithDescriptionAttribute, EnumUnderTest.MemberWithDescriptionAttribute.Humanize());
}
... | jaxx-rep/Humanizer | src/Humanizer.Tests.Shared/EnumHumanizeTests.cs | https://github.com/jaxx-rep/Humanizer/blob/HEAD/src/Humanizer.Tests.Shared/EnumHumanizeTests.cs | ghcode:00167:96429f29900c | mit | codeparrot/github-code | 96429f29900c97d82bd34bc1c0d6d48befc05d5d1fbd7a9c4658e7e68ff32f78 | 0.75 | testing_debugging_repair_refactoring | 468 | 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.AI.Translation.Document.Tests
{
public class DocumentTranslationClientTests : ClientTestBase
{
/// <summary>
/// ... | ayeletshpigelman/azure-sdk-for-net | sdk/translation/Azure.AI.Translation.Document/tests/DocumentTranslationClientTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/translation/Azure.AI.Translation.Document/tests/DocumentTranslationClientTests.cs | ghcode:00167:f896865f3284 | mit | codeparrot/github-code | f896865f32849d0f42116fc175e21dc531f79e90f14fbd7be2ead177f0559631 | 0.95 | testing_debugging_repair_refactoring | 423 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2016 Charlie Poole, Rob Prouse
//
// 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 restri... | OmicronPersei/nunit | src/NUnitFramework/framework/Attributes/NonTestAssemblyAttribute.cs | https://github.com/OmicronPersei/nunit/blob/HEAD/src/NUnitFramework/framework/Attributes/NonTestAssemblyAttribute.cs | ghcode:00167:7bc85b519df1 | mit | codeparrot/github-code | 7bc85b519df1532be94f47444e8de1c6786ed1122fd633eab93da73d0e47fbb0 | 0.85 | testing_debugging_repair_refactoring | 388 | false | 2026-07-17 |
// Copyright 2016 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using NUnit.Framework;
using static NodaTime.Testing.Extensions.LocalDateConstruction;
namespace NodaTime.Test.Testing.Extensions
{
public class Loc... | nodatime/nodatime | src/NodaTime.Test/Testing/Extensions/LocalDateConstructionTest.cs | https://github.com/nodatime/nodatime/blob/HEAD/src/NodaTime.Test/Testing/Extensions/LocalDateConstructionTest.cs | ghcode:00167:2b03feca0951 | apache-2.0 | codeparrot/github-code | 2b03feca09517e0a3d784f1d4ef5f08deb5d916f0b1fc521bd8803e07587e387 | 0.85 | testing_debugging_repair_refactoring | 451 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NuGet.Configuration;
using NuGet.Packaging.Core;
using NuGet.Versioning;
using NuKeeper.Abstractions.Configuration;
using NuKeeper.Abstractions.NuGetApi;
using NuKeeper.Abstractions.RepositoryInspection;
using NUnit.Framework;
namespace NuKeeper.... | AnthonySteele/NuKeeper | NuKeeper.Inspection.Tests/RepositoryInspection/PackageUpdateSetTests.cs | https://github.com/AnthonySteele/NuKeeper/blob/HEAD/NuKeeper.Inspection.Tests/RepositoryInspection/PackageUpdateSetTests.cs | ghcode:00167:53f573a27136 | apache-2.0 | codeparrot/github-code | 53f573a27136394c61b7ff08643739602140009933aac6411142f68e9b757165 | 0.75 | testing_debugging_repair_refactoring | 2,134 | false | 2026-07-17 |
using System.IO;
using System.Net;
using System.Text;
namespace FunctionalTests.Helpers
{
/// <summary>
/// Helper extensions
/// </summary>
public static class Extensions
{
/// <summary>
/// Gets content of the body for HttpListner request
/// </summary>
/// <para... | pharring/ApplicationInsights-dotnet | WEB/Test/Web/FunctionalTests/FunctionalTests/Helpers/Extensions.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/WEB/Test/Web/FunctionalTests/FunctionalTests/Helpers/Extensions.cs | ghcode:00167:807198d8fbe2 | mit | codeparrot/github-code | 807198d8fbe2506811addf22d9eb436d88616ca55f229c31888bdf413380ed67 | 0.95 | testing_debugging_repair_refactoring | 285 | false | 2026-07-17 |
using FluentAutomation.Exceptions;
using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace FluentAutomation.Tests.Actions
{
public class EnterTests : BaseTest
{
public EnterTests()
: base()
{
In... | stirno/FluentAutomation | FluentAutomation.Tests/Actions/EnterTests.cs | https://github.com/stirno/FluentAutomation/blob/HEAD/FluentAutomation.Tests/Actions/EnterTests.cs | ghcode:00167:57d536e40dc2 | mit | codeparrot/github-code | 57d536e40dc205566fe6757c35e2c00bae08ad7bf6af41b7cd2a35abcb8a4088 | 0.85 | testing_debugging_repair_refactoring | 708 | 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.
using Microsoft.Azure.Management.Media;
using Microsoft.Azure.Management.Media.Models;
using Microsoft.Azure.Management.Resources;
using Microsoft.Rest.ClientRun... | shahabhijeet/azure-sdk-for-net | src/SDKs/Media/Media.Tests/ScenarioTests/LiveEventTests.cs | https://github.com/shahabhijeet/azure-sdk-for-net/blob/HEAD/src/SDKs/Media/Media.Tests/ScenarioTests/LiveEventTests.cs | ghcode:00167:55ae630d626f | mit | codeparrot/github-code | 55ae630d626fa415b4c6d488f2a2eba121898c057d44597ca2d154ae22b3d372 | 0.85 | testing_debugging_repair_refactoring | 834 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Nimbus.IntegrationTests.Tests.MulticastRequestResponseTests.MessageContracts;
using Nimbus.Tests.Common;
using NUnit.Framework;
using Shouldly;
namespace Nimbus.IntegrationTests.Tests.MulticastRequestResponseTests
{
[TestFixture]
public clas... | rebase42/Anubus | src/Tests/Nimbus.IntegrationTests/Tests/MulticastRequestResponseTests/WhenSendingAMulticastRequestThatShouldAllowAllResponders.cs | https://github.com/rebase42/Anubus/blob/HEAD/src/Tests/Nimbus.IntegrationTests/Tests/MulticastRequestResponseTests/WhenSendingAMulticastRequestThatShouldAllowAllResponders.cs | ghcode:00167:e9a97a1d7197 | mit | codeparrot/github-code | e9a97a1d7197359486effff7c7875882f962bbc7363a037680926e71dee85ae2 | 0.85 | testing_debugging_repair_refactoring | 215 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics;
us... | CyrusNajmabadi/roslyn | src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/Extensions/ITypeSymbolExtensions.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/Extensions/ITypeSymbolExtensions.cs | ghcode:00167:3b4b6997af83 | mit | codeparrot/github-code | 3b4b6997af83e00d85a2181244f8b14430909d16d4507cf204b1376ed99f29fc | 0.85 | testing_debugging_repair_refactoring | 1,386 | false | 2026-07-17 |
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Kernel;
using Ploeh.AutoFixtureUnitTest.Kernel;
using Xunit;
namespace Ploeh.AutoFixtureUnitTest
{
public class UInt64SequenceGeneratorTest
{
[Fact]
public void CreateWillReturnOneOnFirstCall()
{
new LoopTest<UInt... | adamchester/AutoFixture | Src/AutoFixtureUnitTest/UInt64SequenceGeneratorTest.cs | https://github.com/adamchester/AutoFixture/blob/HEAD/Src/AutoFixtureUnitTest/UInt64SequenceGeneratorTest.cs | ghcode:00167:24d92d2cf2fd | mit | codeparrot/github-code | 24d92d2cf2fdd5ce09fb6bb3a0cc8bfed3103cd9c8417aa74f5bd24179bd3580 | 0.85 | testing_debugging_repair_refactoring | 849 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Composition;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks... | DustinCampbell/roslyn | src/EditorFeatures/CSharp/NavigationBar/CSharpNavigationBarItemService.cs | https://github.com/DustinCampbell/roslyn/blob/HEAD/src/EditorFeatures/CSharp/NavigationBar/CSharpNavigationBarItemService.cs | ghcode:00167:22ffc9b77980 | apache-2.0 | codeparrot/github-code | 22ffc9b779807a1ac0b6d3af68f3100ce9c0199255acfb6cb189068b3e137f03 | 0.85 | testing_debugging_repair_refactoring | 2,375 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="FlowGroupedWithinSpec.cs" company="Akka.NET Project">
// Copyright (C) 2015-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyr... | derwasp/akka.net | src/core/Akka.Streams.Tests/Dsl/FlowGroupedWithinSpec.cs | https://github.com/derwasp/akka.net/blob/HEAD/src/core/Akka.Streams.Tests/Dsl/FlowGroupedWithinSpec.cs | ghcode:00167:d6910ed982b1 | apache-2.0 | codeparrot/github-code | d6910ed982b1aac01b84d6809d49062079c55fc0368d5d287df51c6226e03ab4 | 0.85 | testing_debugging_repair_refactoring | 1,931 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="StreamTestKitSpec.cs" company="Akka.NET Project">
// Copyright (C) 2015-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright... | derwasp/akka.net | src/core/Akka.Streams.TestKit.Tests/StreamTestKitSpec.cs | https://github.com/derwasp/akka.net/blob/HEAD/src/core/Akka.Streams.TestKit.Tests/StreamTestKitSpec.cs | ghcode:00167:3bafdafe22b3 | apache-2.0 | codeparrot/github-code | 3bafdafe22b3879c99281a322edef58d26d6e93e03f60ed6b921d3cc5f9d4b11 | 0.85 | testing_debugging_repair_refactoring | 1,250 | false | 2026-07-17 |
using System.Diagnostics;
using System.Xml.Linq;
using FluentAssertions.Common;
using FluentAssertions.Execution;
using FluentAssertions.Primitives;
namespace FluentAssertions.Xml
{
/// <summary>
/// Contains a number of methods to assert that an <see cref="XElement"/> is in the expected state.
/// </summ... | levenleven/fluentassertions | Src/Shared/Xml/XElementAssertions.cs | https://github.com/levenleven/fluentassertions/blob/HEAD/Src/Shared/Xml/XElementAssertions.cs | ghcode:00167:0b6cdba48d6a | apache-2.0 | codeparrot/github-code | 0b6cdba48d6ad44ae171657ddc381bb20cc1fd9133f367e242ce174259b547e6 | 0.7 | testing_debugging_repair_refactoring | 3,437 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="RestartNode3Spec.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.net>
// </copyright... | willieferguson/akka.net | src/core/Akka.Cluster.Tests.MultiNode/RestartNode3Spec.cs | https://github.com/willieferguson/akka.net/blob/HEAD/src/core/Akka.Cluster.Tests.MultiNode/RestartNode3Spec.cs | ghcode:00167:03b628dd9194 | apache-2.0 | codeparrot/github-code | 03b628dd91945ebc44e404ed7e2f75f7cd84f5616bdcb3218fe86bb885fae442 | 0.85 | testing_debugging_repair_refactoring | 1,439 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="DataServiceRequestOfT.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-------------------------------... | hotchandanisagar/odata.net | src/Microsoft.OData.Client/DataServiceRequestOfT.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/src/Microsoft.OData.Client/DataServiceRequestOfT.cs | ghcode:00167:9009c0115c2d | mit | codeparrot/github-code | 9009c0115c2d2a110f01f1097a346fa6aec7af075540317a362ff3f09a2b4225 | 0.85 | testing_debugging_repair_refactoring | 934 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using DataStructures.Graphs;
namespace C_Sharp_Algorithms
{
public static class UndirectedDenseGraphTests
{
public static void DoTest()
{
var graph = new UndirectedDenseGraph<string>();
var verticesSet1 = new string[] { "a", "z"... | cossu/C-Sharp-Algorithms | MainProgram/DataStructuresTests/Graphs_UndirectedDenseGraphTest.cs | https://github.com/cossu/C-Sharp-Algorithms/blob/HEAD/MainProgram/DataStructuresTests/Graphs_UndirectedDenseGraphTest.cs | ghcode:00167:fd4a0d85cc7e | mit | codeparrot/github-code | fd4a0d85cc7e04af2203df032780f73154ea57fda17b24e1d1e8e0e826f2a65d | 0.7 | testing_debugging_repair_refactoring | 1,085 | false | 2026-07-17 |
//
// Copyright (c) Microsoft. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... | nemanja88/azure-sdk-for-net | src/ResourceManagement/ApiManagement/ApiManagement.Tests/ScenarioTests/TestsFixture.cs | https://github.com/nemanja88/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/ApiManagement/ApiManagement.Tests/ScenarioTests/TestsFixture.cs | ghcode:00167:ad92df28fad5 | apache-2.0 | codeparrot/github-code | ad92df28fad5f8273866a9db4cf71f8f3e2f52ec8805dbbcc9386f932cba3ac1 | 0.85 | testing_debugging_repair_refactoring | 295 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="SingleEnumerator.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//------------------------------------... | hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataOData/Tests/OData.Writer.Tests/Common/SingleEnumerator.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Tests/OData.Writer.Tests/Common/SingleEnumerator.cs | ghcode:00167:5ccda4176dd3 | mit | codeparrot/github-code | 5ccda4176dd3bc526091a9a4df9de92a50b5cb5e981ca22a6a72e94c05201caf | 0.95 | testing_debugging_repair_refactoring | 420 | 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.Xunit.Performance;
using System;
using System.Runtime.CompilerServices;
using Xunit;
[assembly: Opt... | LLITCHEV/coreclr | tests/src/JIT/Performance/CodeQuality/BenchF/MatInv4/MatInv4.cs | https://github.com/LLITCHEV/coreclr/blob/HEAD/tests/src/JIT/Performance/CodeQuality/BenchF/MatInv4/MatInv4.cs | ghcode:00167:3d4ed6b0f543 | mit | codeparrot/github-code | 3d4ed6b0f543403b0e77815fd4108f97dc162b1c921c767d67c415512c6da08a | 0.8 | testing_debugging_repair_refactoring | 4,081 | 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.Threading;
using System.Threading.Tasks;
namespace System.IO.Pipelines.Tests
{
public class Throw... | ViktorHofer/corefx | src/System.IO.Pipelines/tests/Infrastructure/ThrowAfterNWritesStream.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.IO.Pipelines/tests/Infrastructure/ThrowAfterNWritesStream.cs | ghcode:00167:c86df67e42df | mit | codeparrot/github-code | c86df67e42dfebe6dff99e62c39a0408fd74f5102933be42b3ab1d3d158f8e79 | 0.95 | testing_debugging_repair_refactoring | 247 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.