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.Diagnostics;
namespace ChainUtils.BouncyCastle.Math.EC.Custom.Sec
{
internal class SecP192K1Field
{
// 2^192 - 2^32 - 2^12 - 2^8 - 2^7 - 2^6 - 2^3 - 1
internal static readonly uint[] P = new uint[]{ 0xFFFFEE37, 0xFFFFFFFE, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF };
... | assinnata/ChainUtils | ChainUtils.BouncyCastle/math/ec/custom/sec/SecP192K1Field.cs | https://github.com/assinnata/ChainUtils/blob/HEAD/ChainUtils.BouncyCastle/math/ec/custom/sec/SecP192K1Field.cs | ghcode:00000:0e1a5eaf6b92 | mit | codeparrot/github-code | 0e1a5eaf6b929140d89e97616862e6a1d22921dcbbe3cf3af5a0ac0914c93157 | 0.6 | testing_debugging_repair_refactoring | 1,601 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Nito.AsyncEx;
using NUnit.Framework;
using SJP.Schematic.Core;
using SJP.Schematic.Core.Extensions;
using SJP.Schematic.Tests.Utilities;
namespace SJP.Schematic.Oracle.Tests.Integration
{
... | sjp/Schematic | src/SJP.Schematic.Oracle.Tests/Integration/OracleDatabaseViewProviderTests.cs | https://github.com/sjp/Schematic/blob/HEAD/src/SJP.Schematic.Oracle.Tests/Integration/OracleDatabaseViewProviderTests.cs | ghcode:00000:bc5cfbf08f76 | mit | codeparrot/github-code | bc5cfbf08f764357183fad568916b17ef43365ac8d64b23b12d12f330eda0cc7 | 0.75 | testing_debugging_repair_refactoring | 2,173 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using TcpConnectionsViewer.Models;
namespace Tests.Converters
{
[TestClass]
public class IpTests
{
[TestMethod]
... | webmooch/TcpConnectionsViewer | Tests/Models/IpTests.cs | https://github.com/webmooch/TcpConnectionsViewer/blob/HEAD/Tests/Models/IpTests.cs | ghcode:00000:5c1766c0a44c | mit | codeparrot/github-code | 5c1766c0a44c9d4654a5fa05862a0641e113dc4768329f615ed03d245feca562 | 0.75 | testing_debugging_repair_refactoring | 171 | false | 2026-07-17 |
using System;
using System.IO;
using AM.IO;
using AM.Json;
using AM.Runtime;
using AM.Text;
using AM.Xml;
using JetBrains.Annotations;
using ManagedIrbis;
using ManagedIrbis.Client;
using ManagedIrbis.Ibf;
using ManagedIrbis.Ibf.Infrastructure;
using ManagedIrbis.Ibf.Infrastructure.Ast;
using Microsoft.VisualStudi... | amironov73/ManagedIrbis | Source/UnitTests/ManagedIrbis/Ibf/Infrastructure/Ast/IbfSilenceTest.cs | https://github.com/amironov73/ManagedIrbis/blob/HEAD/Source/UnitTests/ManagedIrbis/Ibf/Infrastructure/Ast/IbfSilenceTest.cs | ghcode:00000:d37572a2db36 | mit | codeparrot/github-code | d37572a2db36bda16d5d0257726b56ec0f43efd8fbb74f0937b9e58c62687ce6 | 0.75 | testing_debugging_repair_refactoring | 574 | false | 2026-07-17 |
using AVDump3CL;
using AVDump3Lib.Processing.HashAlgorithms;
using AVDump3Lib.Settings;
using AVDump3Lib.Settings.CLArguments;
using System.Diagnostics;
using System.Security.Cryptography;
using System.Xml.Linq;
using Xunit;
namespace AVDump3Tests;
public class CLTests {
[Fact]
public void WithoutArgs() {
var man... | DvdKhl/AVDump3 | AVDump3Tests/CLTests.cs | https://github.com/DvdKhl/AVDump3/blob/HEAD/AVDump3Tests/CLTests.cs | ghcode:00000:05bb537b067a | mit | codeparrot/github-code | 05bb537b067aa55768cccff7d84fef21522e45f7f7139d20d7c9855ae6370243 | 0.75 | testing_debugging_repair_refactoring | 1,248 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using hw.DebugFormatter;
using hw.Scanner;
using hw.UnitTest;
using Reni;
namespace ReniUI.Test
{
[UnitTest]
[AutoCompleteFunctionInCompound]
public sealed class AutoComplete : DependenceProvider
{
const string text = @"systemda... | hahoyer/reni.cs | src/ReniUIWithForms/Test/AutoComplete.cs | https://github.com/hahoyer/reni.cs/blob/HEAD/src/ReniUIWithForms/Test/AutoComplete.cs | ghcode:00000:4d155bc446ee | mit | codeparrot/github-code | 4d155bc446ee641e09a3a257f705dd16b2ce95d6ce4a6a2599e007e8513080f7 | 0.85 | testing_debugging_repair_refactoring | 459 | false | 2026-07-17 |
using System;
using System.Collections.Immutable;
using System.IO;
using System.Xml;
using Xunit;
namespace WarHub.ArmouryModel.Source.CodeGeneration.Tests
{
public class SerializationTests
{
[Fact]
public void CheckEmptyDeserialization()
{
const string ContainerXml = "<con... | WarHub/wham | tests/WarHub.ArmouryModel.Source.CodeGeneration.Tests/SerializationTests.cs | https://github.com/WarHub/wham/blob/HEAD/tests/WarHub.ArmouryModel.Source.CodeGeneration.Tests/SerializationTests.cs | ghcode:00000:d93d9cd00834 | mit | codeparrot/github-code | d93d9cd0083425d77d4907da5a0e03372938d892c8cf11075b541e68ff44aebb | 0.75 | testing_debugging_repair_refactoring | 422 | false | 2026-07-17 |
namespace BankAccountApp.MSTests.Integration {
using System;
using Bank;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public sealed class IntegrationTest {
private readonly AccountRepository _accountRepository = new AccountRepository();
[TestMethod]
[Exp... | Sebazzz/NetUnitTestComparison | src/BankAccountApp.MSTests.Integration/IntegrationTest.cs | https://github.com/Sebazzz/NetUnitTestComparison/blob/HEAD/src/BankAccountApp.MSTests.Integration/IntegrationTest.cs | ghcode:00000:6f6de4f45b61 | mit | codeparrot/github-code | 6f6de4f45b613728f3b225d7380bcc7b3bdf759679d28343f652d06f0d8606f5 | 0.7 | testing_debugging_repair_refactoring | 318 | false | 2026-07-17 |
#region License
/*
The MIT License
Copyright (c) 2008 Sky Morey
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy... | BclEx/BclEx-Abstract | src/System.Abstract.Tests/Abstract+ServiceLocator/ServiceLocatorResolutionExceptionTests.cs | https://github.com/BclEx/BclEx-Abstract/blob/HEAD/src/System.Abstract.Tests/Abstract+ServiceLocator/ServiceLocatorResolutionExceptionTests.cs | ghcode:00000:f3df5cfa8ee5 | mit | codeparrot/github-code | f3df5cfa8ee5048c7edf0b1ea14350f82e4b84f7f501dfdbae7c323bc4694682 | 0.75 | testing_debugging_repair_refactoring | 417 | false | 2026-07-17 |
// Copyright (c) Eugene Berdnikov. See License.txt in the project root for license information.
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace Recaptcha.Web.Tests.Compatibility
{
#pragma warning disable 618
[TestClass]
public class EnumTests
{
[TestMethod]
[Te... | evnik/reCAPTCHA4net | Source/Recaptcha.Web.Tests/Compatibility/EnumTests.cs | https://github.com/evnik/reCAPTCHA4net/blob/HEAD/Source/Recaptcha.Web.Tests/Compatibility/EnumTests.cs | ghcode:00000:10eb7bc9e88d | mit | codeparrot/github-code | 10eb7bc9e88dd3baac062dcfcb27626bc0f8c3ff5efbcfea97c14ac85277af19 | 0.75 | testing_debugging_repair_refactoring | 645 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Linq;
using Azure.Analytics.Synapse.Spark;
using Azure.Analytics.Synapse.Spark.Models;
using Azure.Analytics.Synapse.Tests;
using Az... | Azure/azure-sdk-for-net | sdk/synapse/Azure.Analytics.Synapse.Spark/tests/SparkBatchClientLiveTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/synapse/Azure.Analytics.Synapse.Spark/tests/SparkBatchClientLiveTests.cs | ghcode:00000:c0344c31e2ce | mit | codeparrot/github-code | c0344c31e2ce7f31a86c6445b93661dde4418795b5fe2f10768e7b8198fdfc2d | 0.95 | testing_debugging_repair_refactoring | 1,366 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
#nullable enable
using System;
namespace NUnit.Framework
{
using Interfaces;
/// <summary>
/// Thrown when an assertion failed.
/// </summary>
[Serializable]
public class MultipleAssertException : Resu... | nunit/nunit | src/NUnitFramework/framework/Exceptions/MultipleAssertException.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/framework/Exceptions/MultipleAssertException.cs | ghcode:00000:7eb36db572fd | mit | codeparrot/github-code | 7eb36db572fd3440e46366f05013932ee44ed94514775f6ccad3b8cd5c81e28a | 0.7 | testing_debugging_repair_refactoring | 391 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using NUnit.Framework;
using NSed;
using System.IO;
using NSed.Arguments.NSed;
using ArgumentHelper.Arguments.General;
namespace Tester.NSed
{
[TestFixture]
public class NSedArgumentCheckerTest
{
private const Str... | jns300/NSed | Tester/NSed/NSedArgumentCheckerTest.cs | https://github.com/jns300/NSed/blob/HEAD/Tester/NSed/NSedArgumentCheckerTest.cs | ghcode:00000:d1640919da86 | mit | codeparrot/github-code | d1640919da86faa1c7d45b3ba46f78c673a823a2608a47fa791540ce1555fb08 | 0.7 | testing_debugging_repair_refactoring | 2,383 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2014-2016, Institute for Software & Systems Engineering
//
// 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 wi... | cubeme/ssharp | Tests/Execution/Simulation/nondeterminism.cs | https://github.com/cubeme/ssharp/blob/HEAD/Tests/Execution/Simulation/nondeterminism.cs | ghcode:00000:e69155747f0e | mit | codeparrot/github-code | e69155747f0eb678bcba0a30c2ee69b2a4bf89bed06c23f6a1d09b62e31e6690 | 0.7 | testing_debugging_repair_refactoring | 408 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Platibus.Diagnostics;
using Xunit;
namespace Platibus.UnitTests.Diagnostics
{
[Trait("Category", "UnitTests")]
[Trait("Dependency", "InfluxDB")]
public clas... | sweetlandj/Platibus | Source/Platibus.UnitTests/Diagnostics/InfluxDBSinkTests.cs | https://github.com/sweetlandj/Platibus/blob/HEAD/Source/Platibus.UnitTests/Diagnostics/InfluxDBSinkTests.cs | ghcode:00000:4f254a757562 | mit | codeparrot/github-code | 4f254a7575620e255f7eb70bee330bcede51b4d53a349c3da81b03d0339ec568 | 0.75 | testing_debugging_repair_refactoring | 591 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ObjectCompare.Tests
{
[TestClass]
public class ProtectedPropertyTests
{
[TestInitialize]
public void Initialize()
{
ObjectComparer.Settings = new ObjectComparerSettings
{
Protected... | tobper/ObjectCompare | src/ObjectCompare.Tests/ProtectedPropertyTests.cs | https://github.com/tobper/ObjectCompare/blob/HEAD/src/ObjectCompare.Tests/ProtectedPropertyTests.cs | ghcode:00000:1bbd76c8dfb6 | mit | codeparrot/github-code | 1bbd76c8dfb63318d4e1f9b4daec23032526f8db3553ee800f48de2160866bc8 | 0.75 | testing_debugging_repair_refactoring | 233 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace Bakalog.Tests
{
[TestClass]
public class BakalogTests
{
[TestMethod]
public void SimpleTerms()
{
var p = new Bakalog();
p.Def("p... | olgstein/Bakalog | Bakalog.Tests/BakalogTests.cs | https://github.com/olgstein/Bakalog/blob/HEAD/Bakalog.Tests/BakalogTests.cs | ghcode:00000:7efde9597204 | mit | codeparrot/github-code | 7efde9597204441bc5dfffcfce8e8214d65f7d67a3ffede04acb71162b140f27 | 0.75 | testing_debugging_repair_refactoring | 1,299 | false | 2026-07-17 |
namespace DCSExt.Xml.Tests.TestClasses.WithoutAttributes {
public class TestCase10 {
private string Prop1 { get; set; }
private int Prop2 { get; set; }
public char Field1;
public string GetProp1() {
return Prop1;
}
public int GetProp2() {
retu... | StefanOssendorf/DCSExt | test/DCSExt.Xml.Tests/TestClasses/WithoutAttributes/TestCase10.cs | https://github.com/StefanOssendorf/DCSExt/blob/HEAD/test/DCSExt.Xml.Tests/TestClasses/WithoutAttributes/TestCase10.cs | ghcode:00000:2006b8e4aaab | mit | codeparrot/github-code | 2006b8e4aaabadc2a8cb808da118ccc45160dfdaa711b888873bd9c924f9d45f | 0.85 | testing_debugging_repair_refactoring | 308 | false | 2026-07-17 |
namespace FluentACS.Specs.Rules
{
using FluentACS.Specs.Rules.Chaining;
public class OutputClaimTypeSpec
{
private readonly RuleSpec owner;
public OutputClaimTypeSpec(RuleSpec owner)
{
this.owner = owner;
}
public IAfterThenOutputClaimTypeRuleSpec Shou... | jrowies/FluentACS | FluentACS/Specs/Rules/OutputClaimTypeSpec.cs | https://github.com/jrowies/FluentACS/blob/HEAD/FluentACS/Specs/Rules/OutputClaimTypeSpec.cs | ghcode:00000:4c62b66108b9 | mit | codeparrot/github-code | 4c62b66108b9606bc1ffe808171f85ad421e4fc8a2394dd669f36799f8eb3e4a | 0.75 | testing_debugging_repair_refactoring | 136 | false | 2026-07-17 |
using NUnit.Framework;
using TestStack.FluentMVCTesting.Tests.TestControllers;
namespace TestStack.FluentMVCTesting.Tests
{
class AsyncControllersShould
{
private AsyncController _controller;
[SetUp]
public void Setup()
{
_controller = new AsyncControll... | TestStack/TestStack.FluentMVCTesting | TestStack.FluentMVCTesting.Tests/AsyncControllerTests.cs | https://github.com/TestStack/TestStack.FluentMVCTesting/blob/HEAD/TestStack.FluentMVCTesting.Tests/AsyncControllerTests.cs | ghcode:00000:3fb621d7531f | mit | codeparrot/github-code | 3fb621d7531f08193fbdad5591b20160d183f1aa6ec62195942c360c206ef82d | 0.75 | testing_debugging_repair_refactoring | 241 | false | 2026-07-17 |
using System;
using System.Transactions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Saude.Model.Persistence;
namespace AtendimentoModelTest {
/// <summary>
///This is a test class for TB_AC_CUIDADOTest and is intended
///to contain all TB_AC_CUIDADOTest Unit Tests
///</summary>
[T... | marcobaccaro/general | SissOnlineWithEntityFrameworkOnSqlServer/AtendimentoModelTest/TB_AC_CUIDADOTest.cs | https://github.com/marcobaccaro/general/blob/HEAD/SissOnlineWithEntityFrameworkOnSqlServer/AtendimentoModelTest/TB_AC_CUIDADOTest.cs | ghcode:00000:ffde83f6bdd0 | mit | codeparrot/github-code | ffde83f6bdd05e47211f2e1e1e34033650ba19febfc18cc38557c4c97e7d3da8 | 0.7 | testing_debugging_repair_refactoring | 917 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using TransactSqlAnalyzer.Tests;
namespace TransactSqlAnalyzer.Rules.Tests
{
[TestClass]
public class DeleteWithoutWhereRuleTests : TestBase
{
[TestMethod]
public void WithoutWhere_Warns()
{
// Arran... | ifbeginend/TransactSqlAnalyzer | Source/TransactSqlAnalyzer.Rules.Tests/DeleteWithoutWhereRuleTests.cs | https://github.com/ifbeginend/TransactSqlAnalyzer/blob/HEAD/Source/TransactSqlAnalyzer.Rules.Tests/DeleteWithoutWhereRuleTests.cs | ghcode:00000:cc9f184f43f4 | mit | codeparrot/github-code | cc9f184f43f4ca630fac91454e974e84dfc0afb6f5182c52cddea8931fffa3e2 | 0.85 | testing_debugging_repair_refactoring | 221 | false | 2026-07-17 |
namespace Microsoft.OData.Edm
{
using FluentAssertions;
using System;
using Web.Http;
using Xunit;
public class ApiVersionAnnotationTest
{
[Fact]
public void new_api_version_annotation_should_set_expected_version()
{
// arrange
var annotatedApiVe... | joaopbnogueira/aspnet-api-versioning | test/Microsoft.AspNet.OData.Versioning.Tests/OData.Edm/ApiVersionAnnotationTest.cs | https://github.com/joaopbnogueira/aspnet-api-versioning/blob/HEAD/test/Microsoft.AspNet.OData.Versioning.Tests/OData.Edm/ApiVersionAnnotationTest.cs | ghcode:00000:34a621f29e14 | mit | codeparrot/github-code | 34a621f29e14e1eeb3e2ad5cca06436764438447f3b556e9437127b678372298 | 0.7 | testing_debugging_repair_refactoring | 120 | false | 2026-07-17 |
namespace FactoriesUnitTests.Factories
{
using Labyrinth.Factories;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class LargeMazeCreatorUnitTest
{
[TestMethod]
public void CreateMaze_IsCreatedLarge()
{
LargeMazeCreator mazeCreator = new ... | 2She2/HighQualityProgrammingCodeTeamProject | FactoriesUnitTests/Factories/LargeMazeCreatorUnitTest.cs | https://github.com/2She2/HighQualityProgrammingCodeTeamProject/blob/HEAD/FactoriesUnitTests/Factories/LargeMazeCreatorUnitTest.cs | ghcode:00000:6983a17bc526 | mit | codeparrot/github-code | 6983a17bc526f5d434ff71a48ba81c422b24e249457b67a833099079c7cb143d | 0.6 | testing_debugging_repair_refactoring | 106 | 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.
namespace System.Text.Unicode
{
internal static class UnicodeTestHelpers
{
/// <summary>
///... | BrennanConroy/corefx | src/System.Text.Encodings.Web/tests/UnicodeTestHelpers.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Text.Encodings.Web/tests/UnicodeTestHelpers.cs | ghcode:00000:bbed527c8991 | mit | codeparrot/github-code | bbed527c8991b710edecb0c12d329b86d8ab4d78d34b92657e16fdd039cba7b7 | 0.95 | testing_debugging_repair_refactoring | 204 | false | 2026-07-17 |
using AmplaData.AmplaData2008;
using NUnit.Framework;
namespace AmplaData.Binding.ViewData
{
[TestFixture]
public class ViewFiltersCollectionUnitTests : TestFixture
{
[Test]
public void InitialiseNull()
{
ViewFiltersCollection filters = new ViewFiltersCollection... | Ampla/Ampla-Data | src/AmplaData.Tests/Binding/ViewData/ViewFiltersCollectionUnitTests.cs | https://github.com/Ampla/Ampla-Data/blob/HEAD/src/AmplaData.Tests/Binding/ViewData/ViewFiltersCollectionUnitTests.cs | ghcode:00000:5b00f200b54d | mit | codeparrot/github-code | 5b00f200b54ddbbd7bc407857f7433c4bd8236030ab0d3ddf3d4b07b7b019109 | 0.75 | testing_debugging_repair_refactoring | 123 | false | 2026-07-17 |
using Liath.ViewRanger.RequestBuilders;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Liath.ViewRanger.Tests.RequestBuilderTests.GetTrackRequestTests
{
[TestFixture]
public class ConstructorTests
{
... | ardliath/viewranger | Liath.ViewRanger.Tests/RequestBuilderTests/GetTrackRequestTests/ConstructorTests.cs | https://github.com/ardliath/viewranger/blob/HEAD/Liath.ViewRanger.Tests/RequestBuilderTests/GetTrackRequestTests/ConstructorTests.cs | ghcode:00000:dd634ca0b003 | mit | codeparrot/github-code | dd634ca0b0032a9ca5c499b20b4e029d810be4c2c50c405acf2250fd122be4ec | 0.75 | testing_debugging_repair_refactoring | 250 | false | 2026-07-17 |
using System.IO;
using Lucene.Net.Analysis;
using Lucene.Net.Index;
using Lucene.Net.Store;
using Xunit;
namespace ChapterTests._02
{
public class IndexLockingTests
{
[Fact]
public void TestWriteLock()
{
var path = Path.Combine(Path.GetTempPath(), "tmpLuceneIndex");
... | joshball/Lucene.In.Action.NET | ChapterTests/02/IndexLockingTests.cs | https://github.com/joshball/Lucene.In.Action.NET/blob/HEAD/ChapterTests/02/IndexLockingTests.cs | ghcode:00000:f61373b6f6da | mit | codeparrot/github-code | f61373b6f6dabbd3dda47902f0e92448e24bdadcd2a66d646f15ee9771021aaa | 0.75 | testing_debugging_repair_refactoring | 184 | false | 2026-07-17 |
// Description: C# Extension Methods | Enhance the .NET Framework and .NET Core with over 1000 extension methods.
// Website & Documentation: https://csharp-extension.com/
// Issues: https://github.com/zzzprojects/Z.ExtensionMethods/issues
// License (MIT): https://github.com/zzzprojects/Z.ExtensionMethods/blob/master/... | zzzprojects/Z.ExtensionMethods | test/Z.Core.Test/System.String/String.Repeat.cs | https://github.com/zzzprojects/Z.ExtensionMethods/blob/HEAD/test/Z.Core.Test/System.String/String.Repeat.cs | ghcode:00000:bd426eacc08a | mit | codeparrot/github-code | bd426eacc08aae64882df94ff9a0cba452765c88bdd91ff944ccba11c83a9fc6 | 0.7 | testing_debugging_repair_refactoring | 190 | false | 2026-07-17 |
using System;
using FluentAssertions;
using NuGet.Versioning;
using Xunit;
namespace TIKSN.Versioning.Tests
{
public class VersionTests
{
[Fact]
public void Equals001()
{
var V = new Version(2, 4);
Assert.True(V.Equals(V));
}
[Fact]
publ... | tiksn/TIKSN-Framework | TIKSN.UnitTests.Shared/Versioning/VersionTests.cs | https://github.com/tiksn/TIKSN-Framework/blob/HEAD/TIKSN.UnitTests.Shared/Versioning/VersionTests.cs | ghcode:00000:874e9b3a7642 | mit | codeparrot/github-code | 874e9b3a76420954be1686efc83008726b266422d47b7167a3e7798e87cc1f8f | 0.75 | testing_debugging_repair_refactoring | 7,179 | false | 2026-07-17 |
using NUnit.Framework;
using DnDGen.TreasureGen.Tables;
namespace DnDGen.TreasureGen.Tests.Integration.Tables.Items.Magical.WondrousItems
{
[TestFixture]
public class PlanesTests : PercentileTests
{
protected override string tableName
{
get { return TableNameConstants.Percentil... | DnDGen/TreasureGen | DnDGen.TreasureGen.Tests.Integration.Tables/Items/Magical/WondrousItems/PlanesTests.cs | https://github.com/DnDGen/TreasureGen/blob/HEAD/DnDGen.TreasureGen.Tests.Integration.Tables/Items/Magical/WondrousItems/PlanesTests.cs | ghcode:00000:6d0a47cad20d | mit | codeparrot/github-code | 6d0a47cad20db048a9d0dc585470c8f28221e2342d5e3bc29ba5ba8290f832fd | 0.75 | testing_debugging_repair_refactoring | 589 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.CSharp10.Settings
{
using StyleCop.Analyzers.Test.CSharp9.Settings;
public class SettingsCSha... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsCSharp10UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsCSharp10UnitTests.cs | ghcode:00000:5cdce05b824a | mit | codeparrot/github-code | 5cdce05b824a232407f86f31134552dc1558289110dd422806b33de45e71abbe | 0.75 | testing_debugging_repair_refactoring | 86 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
#nullable enable
using System;
using System.Linq;
using System.Reflection;
using NUnit.Compatibility;
using NUnit.Framework.Interfaces;
namespace NUnit.Framework.Internal
{
/// <summary>
/// The TypeWrapper class wraps... | nunit/nunit | src/NUnitFramework/framework/Internal/TypeWrapper.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/framework/Internal/TypeWrapper.cs | ghcode:00000:3a7d95eb1ac4 | mit | codeparrot/github-code | 3a7d95eb1ac494b5b63cb220b3d917fe44afbcc0a586821a10e3a0fd47f556e0 | 0.7 | testing_debugging_repair_refactoring | 1,685 | 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 osu.Framework.Audio.Track;
using osu.Framework.Graphics.Textures;
using osu.Game.Beatmaps;
namespace osu.Desktop.Tests.Beatmaps
{
public class TestW... | Damnae/osu | osu.Desktop.Tests/Beatmaps/TestWorkingBeatmap.cs | https://github.com/Damnae/osu/blob/HEAD/osu.Desktop.Tests/Beatmaps/TestWorkingBeatmap.cs | ghcode:00000:1ae148a14cbb | mit | codeparrot/github-code | 1ae148a14cbbbd600dbc1c45d506037be3e8c64f2887fa99e4ee16a0939ba77b | 0.85 | testing_debugging_repair_refactoring | 175 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using StankinsInterfaces;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Transformers;
namespace StankinsTests
{
[TestClass]
public class TestTransformerBasic
{
... | ignatandrei/stankins | stankinsV1/StankinsTests/TestTransformerBasic.cs | https://github.com/ignatandrei/stankins/blob/HEAD/stankinsV1/StankinsTests/TestTransformerBasic.cs | ghcode:00000:7e0e20258766 | mit | codeparrot/github-code | 7e0e2025876643789d379d021d8a6b3179eed23fc058007e937db50376a11775 | 0.75 | testing_debugging_repair_refactoring | 651 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Newtonsoft.Json.Linq;
namespace Newtonsoft.Json.Tests.Linq
{
public class JArrayTests : TestFixtureBase
{
[Test]
public void Clear()
{
JA... | dxm007/TrackerSync | Third/Json.NET/4.0R5/Source/Src/Newtonsoft.Json.Tests/Linq/JArrayTests.cs | https://github.com/dxm007/TrackerSync/blob/HEAD/Third/Json.NET/4.0R5/Source/Src/Newtonsoft.Json.Tests/Linq/JArrayTests.cs | ghcode:00000:05820d2ff9d3 | mit | codeparrot/github-code | 05820d2ff9d3fad719a258320a38c8d56e2c81db393a2eef8ed0032536d3dac7 | 0.85 | testing_debugging_repair_refactoring | 3,022 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Renci.SshNet.Common;
using Renci.SshNet.Sftp;
using System;
using System.Diagnostics;
using System.Threading;
using BufferedRead = Renci.SshNet.Sftp.SftpFileReader.BufferedRead;
namespace Renci.SshNet.Tests.Classes.Sftp
{
[TestClass]
public ... | sshnet/SSH.NET | src/Renci.SshNet.Tests/Classes/Sftp/SftpFileReaderTest_LastChunkBeforeEofIsComplete.cs | https://github.com/sshnet/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileReaderTest_LastChunkBeforeEofIsComplete.cs | ghcode:00000:5058990ea76f | mit | codeparrot/github-code | 5058990ea76f1f2d1f11dc1408e079fc3b449d7999b6702560c245c63101f8b3 | 0.6 | testing_debugging_repair_refactoring | 1,467 | false | 2026-07-17 |
using System.Linq;
using FluentAssertions;
using HiveEngine.Tests.Unit.Extensions;
using HiveEngine.Tests.Unit.Utilities;
using NUnit.Framework;
namespace HiveEngine.Tests.Unit
{
[TestFixture]
class SecondMoveTests
{
[Test]
public void white_second_turns_with_one_available_tile_has_correct_... | robinweston/hive-engine | HiveEngine.Tests.Unit/SecondMoveTests.cs | https://github.com/robinweston/hive-engine/blob/HEAD/HiveEngine.Tests.Unit/SecondMoveTests.cs | ghcode:00000:3cb63389fbd9 | mit | codeparrot/github-code | 3cb63389fbd9d20329f13c40ab6645d7e602dabcba6b7caa5e935bd875f3676f | 0.75 | testing_debugging_repair_refactoring | 436 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Net;
using Vita.Entities;
using BookStore;
using BookStore.Api;
using System.Threading.Tasks;
using Vita.Tools.Testing;
using Arrest;
using Arrest.Sync;
namespace Vita.Testing.WebTests {
public partial class BooksApi... | rivantsov/vita | src/6.UnitTests/Vita.Testing.WebTests/BooksApiTests_SpecialCases.cs | https://github.com/rivantsov/vita/blob/HEAD/src/6.UnitTests/Vita.Testing.WebTests/BooksApiTests_SpecialCases.cs | ghcode:00000:98c6db37bf6d | mit | codeparrot/github-code | 98c6db37bf6daeec30cf3b0bbfb241581201f5c5b3de68ab40850b49d04e7a2e | 0.7 | testing_debugging_repair_refactoring | 1,167 | false | 2026-07-17 |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.Primitives;
using NSubstitute;
using System;
using Xunit;
namespace MvcTemplate.Components.Mvc.Tests
{
public class AjaxOnlyAttributeTests
{
[Theory]
[Inl... | NonFactors/MVC6.Template | test/MvcTemplate.Tests/Unit/Components/Mvc/Attributes/AjaxOnlyAttributeTests.cs | https://github.com/NonFactors/MVC6.Template/blob/HEAD/test/MvcTemplate.Tests/Unit/Components/Mvc/Attributes/AjaxOnlyAttributeTests.cs | ghcode:00000:a54ede75cecd | mit | codeparrot/github-code | a54ede75cecd60346ed3152852868c93fd9da0a85b1af68548d3d2dd879c28f7 | 0.75 | testing_debugging_repair_refactoring | 151 | false | 2026-07-17 |
using System;
using System.Linq;
using NUnit.Framework;
namespace NetGore.Tests.IO
{
[TestFixture]
public class BitOpsTests
{
#region Unit tests
[Test]
public void BitsRequiredTest()
{
for (uint i = 0; i < 1200; i++)
{
var req = BitOp... | LAGIdiot/NetGore | NetGore.Tests/NetGore/BitOpsTests.cs | https://github.com/LAGIdiot/NetGore/blob/HEAD/NetGore.Tests/NetGore/BitOpsTests.cs | ghcode:00000:9d299d098a28 | unlicense | codeparrot/github-code | 9d299d098a28a9aaaec528fe0d3c72c8476f430abd550972a24c684f9441772a | 0.68 | testing_debugging_repair_refactoring | 2,228 | false | 2026-07-17 |
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using ImageMagick;
using Xunit;
namespace Magick.NET.Tests
{
public partial class MagickSettingsTests
{
public class TheSetDefineMethod
{
[Fact]
public ... | dlemstra/Magick.NET | tests/Magick.NET.Tests/Settings/MagickSettingsTests/TheSetDefineMethod.cs | https://github.com/dlemstra/Magick.NET/blob/HEAD/tests/Magick.NET.Tests/Settings/MagickSettingsTests/TheSetDefineMethod.cs | ghcode:00000:90518be6cf8e | apache-2.0 | codeparrot/github-code | 90518be6cf8e574a2ee6380ab8cc5f39c3a75219272025f470878bff645acf3d | 0.7 | testing_debugging_repair_refactoring | 370 | false | 2026-07-17 |
// Copyright (c) Pavel Bakshy, Valeriy Ogiy. All rights reserved. See License.txt in the project root for license information.
using System.Linq;
using FluentAssertions;
using OpenQA.Selenium;
using Selenol.Elements;
using TechTalk.SpecFlow;
namespace Selenol.FunctionalTests.Steps
{
[Binding]
public cla... | pbakshy/Selenol | Selenol.FunctionalTests/Steps/TextboxSteps.cs | https://github.com/pbakshy/Selenol/blob/HEAD/Selenol.FunctionalTests/Steps/TextboxSteps.cs | ghcode:00000:f26ccb679f1a | apache-2.0 | codeparrot/github-code | f26ccb679f1a6c310c4d9e5a75597d13c9c7e4951e30e4b0ca090f41601ed37e | 0.6 | testing_debugging_repair_refactoring | 306 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may n... | abelli85/nvelocity | NVelocity/NVelocity.Tests/EventHandlingTestCase.cs | https://github.com/abelli85/nvelocity/blob/HEAD/NVelocity/NVelocity.Tests/EventHandlingTestCase.cs | ghcode:00000:4aad13f7b902 | apache-2.0 | codeparrot/github-code | 4aad13f7b90259ebfc06e29d816a1f89267f843079bf5857a5844a17112622c9 | 0.7 | testing_debugging_repair_refactoring | 1,987 | false | 2026-07-17 |
// Copyright (c) 2017, 2019 Ubisoft Entertainment
//
// 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... | ubisoftinc/Sharpmake | Sharpmake/Strings.cs | https://github.com/ubisoftinc/Sharpmake/blob/HEAD/Sharpmake/Strings.cs | ghcode:00000:6de2354e6743 | apache-2.0 | codeparrot/github-code | 6de2354e674386e575f7367475747079a21afdc4c335ac6c5ee61eb7b86585ab | 0.7 | testing_debugging_repair_refactoring | 3,584 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpChanTests.Extensions.Common {
[TestClass]
public class IEnumerableExtesnionsTests {
}
}
| marcin-chwedczuk/sharpChan | cs-chan-tests/Extensions/Common/IEnumerableExtensionsTests.cs | https://github.com/marcin-chwedczuk/sharpChan/blob/HEAD/cs-chan-tests/Extensions/Common/IEnumerableExtensionsTests.cs | ghcode:00000:5802b6a80557 | apache-2.0 | codeparrot/github-code | 5802b6a80557e861597bf850592a0d1a4d7c01ce50caef810dc7a0045ee73c97 | 0.75 | testing_debugging_repair_refactoring | 51 | false | 2026-07-17 |
using System.Security.Principal;
using Moq;
using PlantUmlStudio.Core.Security;
using Xunit;
namespace Tests.Unit.PlantUmlStudio.Core.Security
{
public class WindowsSecurityServiceTests
{
public WindowsSecurityServiceTests()
{
securityService = new WindowsSecurityService(() => principal.Object);
}
[Theo... | mthamil/PlantUMLStudio | Tests.Unit/PlantUmlStudio.Core/Security/WindowsSecurityServiceTests.cs | https://github.com/mthamil/PlantUMLStudio/blob/HEAD/Tests.Unit/PlantUmlStudio.Core/Security/WindowsSecurityServiceTests.cs | ghcode:00000:c229f498a6be | apache-2.0 | codeparrot/github-code | c229f498a6be1ab1fe939491c83ba91fedaa21d8d4424be32be4d20a18f2fbe7 | 0.85 | testing_debugging_repair_refactoring | 256 | 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 Microsoft.AspNetCore.Mvc;
namespace MvcSample.Web.Components
{
public class ComponentWithLayout : ViewComponent
{
public IViewComponentResult Invoke()
... | aspnet/AspNetCore | src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithLayout.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithLayout.cs | ghcode:00000:6a1c0468e55d | apache-2.0 | codeparrot/github-code | 6a1c0468e55de6f743ead54cce10a009e8ca2aba207026aa8d341bad3237a90a | 0.85 | testing_debugging_repair_refactoring | 83 | false | 2026-07-17 |
/*
* Copyright 2014, 2015 James Geall
*
* 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 agree... | jageall/IdentityServer.v3.AdminModule | Source/MongoDb.AdminModule.Tests/CleanUpRefreshTokens.cs | https://github.com/jageall/IdentityServer.v3.AdminModule/blob/HEAD/Source/MongoDb.AdminModule.Tests/CleanUpRefreshTokens.cs | ghcode:00000:8de423e1ad39 | apache-2.0 | codeparrot/github-code | 8de423e1ad3962f64e4c8f3beab805a74275ae66b5c1d5a009117e59170133fb | 0.6 | testing_debugging_repair_refactoring | 471 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.IO.Abstractions;
using System.IO.Abstractions.TestingHelpers;
using System.Linq;
using System.Threading.Tasks;
using Kudu.Contracts.Diagnostics;
using Kudu.Contracts.Tracing;
using Kudu.Core;
using Kudu.Core.Infra... | onesmartguy/e13-kudu | Kudu.Services.Test/ApplicationLogsReaderFacts.cs | https://github.com/onesmartguy/e13-kudu/blob/HEAD/Kudu.Services.Test/ApplicationLogsReaderFacts.cs | ghcode:00000:a2596164a708 | apache-2.0 | codeparrot/github-code | a2596164a70844902e6c292f5bb3d808f5105674f20e885d97c0d6fa1c3da803 | 0.7 | testing_debugging_repair_refactoring | 8,276 | false | 2026-07-17 |
using Abot.Core;
using Moq;
using NUnit.Framework;
using System;
namespace Abot.Tests.Unit.Core
{
[TestFixture]
public class MemoryManagerTest
{
MemoryManager _uut;
Mock<IMemoryMonitor> _fakeMemoryManager;
[SetUp]
public void SetUp()
{
_fakeMemoryManage... | fyang0321/WebCrawler | Abot.Tests.Unit/Core/MemoryManagerTest.cs | https://github.com/fyang0321/WebCrawler/blob/HEAD/Abot.Tests.Unit/Core/MemoryManagerTest.cs | ghcode:00000:c1e543516e01 | apache-2.0 | codeparrot/github-code | c1e543516e01cf7764370f6f8da723050136e825c136d63dbaf649131af0a56c | 0.75 | testing_debugging_repair_refactoring | 461 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http.HPack;
using System.Text;
namespace System.Net.Http.QPack
{
internal static cl... | aspnet/AspNetCore | src/Shared/runtime/Http3/QPack/QPackEncoder.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Shared/runtime/Http3/QPack/QPackEncoder.cs | ghcode:00000:56545119f298 | apache-2.0 | codeparrot/github-code | 56545119f298a3be6964ab34cd8cb8f5d3159b5d0523911373925a1abda1954e | 0.85 | testing_debugging_repair_refactoring | 3,321 | 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.IO;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.Routing.Internal;
namespace RoutingWebSite
{
// This controller i... | aspnet/AspNetCore | src/Mvc/test/WebSites/RoutingWebSite/Controllers/DebugController.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/WebSites/RoutingWebSite/Controllers/DebugController.cs | ghcode:00000:c7739e5a20ec | apache-2.0 | codeparrot/github-code | c7739e5a20ec9545da59b13aa554de228f9204cc7a9d524cec91c22a622a3bf5 | 0.95 | testing_debugging_repair_refactoring | 168 | false | 2026-07-17 |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// 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.a... | citizenmatt/gallio | src/Gallio/Gallio.Tests/Common/Reflection/ReflectorTest.cs | https://github.com/citizenmatt/gallio/blob/HEAD/src/Gallio/Gallio.Tests/Common/Reflection/ReflectorTest.cs | ghcode:00000:215b06c85211 | apache-2.0 | codeparrot/github-code | 215b06c85211620daa13ae593d997ef6d3b92d110b48b7d0b7ade542f505b54f | 0.7 | testing_debugging_repair_refactoring | 1,114 | false | 2026-07-17 |
using Xunit;
namespace Digipost.Signature.Api.Client.Core.Tests
{
public class SenderTests
{
public class ConstructorMethod : SenderTests
{
[Fact]
public void Simple_constructor()
{
//Arrange
const string organizationNumber = ... | digipost/signature-api-client-dotnet | Digipost.Signature.Api.Client.Core.Tests/SenderTests.cs | https://github.com/digipost/signature-api-client-dotnet/blob/HEAD/Digipost.Signature.Api.Client.Core.Tests/SenderTests.cs | ghcode:00000:3bda903318b5 | apache-2.0 | codeparrot/github-code | 3bda903318b582c5e60651f26bd1cfec90747b3dc6432cbcc10cc130d193d02f | 0.85 | testing_debugging_repair_refactoring | 103 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Net.Pkcs11Interop.HighLevelAPI;
using Net.Pkcs11Interop.Tests.HighLevelAPI;
using Net.Pkcs11Interop.Tests;
using System.Collections.Generic;
using Net.Pkcs11Interop.Common;
using Net.Pkcs11Interop.HighLevelAPI.MechanismParams;
using Net.Pkcs11Inte... | thearkhelist/Pkcs11Interop | src/Pkcs11Interop/TestProject1/HighLevelAPI/CKM_GOSTR3410_DERIVE_Tests.cs | https://github.com/thearkhelist/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop/TestProject1/HighLevelAPI/CKM_GOSTR3410_DERIVE_Tests.cs | ghcode:00000:e947ac6b6ce0 | apache-2.0 | codeparrot/github-code | e947ac6b6ce0c3d294304d2a0487d5b006a5daec297cbb9b152cf26867a49bcf | 0.85 | testing_debugging_repair_refactoring | 735 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Akka.Streams.Dsl;
using Akka.Streams.Kafka.Dsl;
using Akka.Streams.Kafka.Helpers;
using Akka.Streams.Kafka.Messages;
using Akka.Streams.Kafka.Settings;
using Akka.Streams.TestKit;
using FluentAssertions;
using Xunit;
using Xunit.Abstractions;
namespa... | alexvaluyskiy/Akka.Streams.Kafka | src/Akka.Streams.Kafka.Tests/Integration/SourceWithOffsetContextIntegrationTests.cs | https://github.com/alexvaluyskiy/Akka.Streams.Kafka/blob/HEAD/src/Akka.Streams.Kafka.Tests/Integration/SourceWithOffsetContextIntegrationTests.cs | ghcode:00000:0c2ce31f96d4 | apache-2.0 | codeparrot/github-code | 0c2ce31f96d49f2488423d277fa63a9c5ff8c8bb1cdcdbe18131a266d1f60d57 | 0.75 | testing_debugging_repair_refactoring | 421 | false | 2026-07-17 |
using numl.Math.LinearAlgebra;
using NUnit.Framework;
using numl.Supervised.Regression;
namespace numl.Tests.SupervisedTests
{
[TestFixture, Category("Supervised")]
public class LogisticRegressionTests : BaseSupervised
{
[Test][Explicit][Category("Explicit")]
public void Logistic_Regressi... | nesfit/NetfoxDetective | Misc/Numl/numl.Tests/SupervisedTests/LogisticRegressionTests.cs | https://github.com/nesfit/NetfoxDetective/blob/HEAD/Misc/Numl/numl.Tests/SupervisedTests/LogisticRegressionTests.cs | ghcode:00000:59996be297d5 | apache-2.0 | codeparrot/github-code | 59996be297d54c7351091371034d423a58f560d228d36d18b7c887a6445be44b | 0.75 | testing_debugging_repair_refactoring | 1,814 | false | 2026-07-17 |
using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
using ReCommendedExtension.ContextActions;
namespace ReCommendedExtension.Tests.ContextActions
{
[TestFixture]
public sealed class AnnotateWithInstan... | prodot/ReCommended-Extension | Sources/ReCommendedExtension.Tests/ContextActions/AnnotateWithInstantHandleExecuteTests.cs | https://github.com/prodot/ReCommended-Extension/blob/HEAD/Sources/ReCommendedExtension.Tests/ContextActions/AnnotateWithInstantHandleExecuteTests.cs | ghcode:00000:152bd17e52ae | apache-2.0 | codeparrot/github-code | 152bd17e52aec208f1a30c546e15d2b09898922a421856c096d22c57802c8e69 | 0.75 | testing_debugging_repair_refactoring | 247 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Elasticsearch.Net.Integration.Yaml.Mget4
{
public partial class Mget4YamlTests
{
[NCrunch.Framework.ExclusivelyUses("ElasticsearchYamlTests")]
public class MissingMetadata1Tests : YamlTestsBase
{
[Test]
... | Grastveit/NEST | src/Tests/Elasticsearch.Net.Integration.Yaml/mget/13_missing_metadata.yaml.cs | https://github.com/Grastveit/NEST/blob/HEAD/src/Tests/Elasticsearch.Net.Integration.Yaml/mget/13_missing_metadata.yaml.cs | ghcode:00000:7a8969fe27b2 | apache-2.0 | codeparrot/github-code | 7a8969fe27b25e61e4420fb5350c5697c46bb17fe830f93fa49ddeb92a52697e | 0.95 | testing_debugging_repair_refactoring | 649 | false | 2026-07-17 |
using Xunit;
using Rabbit.WeiXin.DependencyInjection;
using Rabbit.WeiXin.MP.Messages;
using Rabbit.WeiXin.MP.Messages.Events;
using Rabbit.WeiXin.MP.Messages.Events.Card;
using Rabbit.WeiXin.MP.Messages.Events.CustomMenu;
using Rabbit.WeiXin.MP.Messages.Events.CustomService;
using Rabbit.WeiXin.MP.Messages.Events.WiF... | RabbitTeam/WeiXinSDK | test/Rabbit.WeiXin.Tests/RequestMessageFormatter.cs | https://github.com/RabbitTeam/WeiXinSDK/blob/HEAD/test/Rabbit.WeiXin.Tests/RequestMessageFormatter.cs | ghcode:00000:41e659dc028f | apache-2.0 | codeparrot/github-code | 41e659dc028f64558a6fc14280200e5f209425d2cb83a1c2248550b7b0657a46 | 0.7 | testing_debugging_repair_refactoring | 9,559 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TacticsGame.Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
//A change
}
}
}
| VSarazua/TacticsGame | TacticsGame.Tests/UnitTest1.cs | https://github.com/VSarazua/TacticsGame/blob/HEAD/TacticsGame.Tests/UnitTest1.cs | ghcode:00000:95ead8bf7d71 | apache-2.0 | codeparrot/github-code | 95ead8bf7d71fe3c0924bd17705a717f6faa35864223ccc7fc36aef00aa3b57f | 0.6 | testing_debugging_repair_refactoring | 51 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using strange.extensions.injector.api;
using strange.extensions.injector.impl;
using strange.extensions.reflector.api;
using strange.extensions.pool.api;
using strange.extensions.pool.impl;
using strange.framework.api;
using System.Collections.Generic;
using strange.framework.impl;
... | miccl/VisualiseR | Assets/Community_Assets/StrangeIoC/scripts/strange/.tests/extensions/injector/TestInjectionBinder.cs | https://github.com/miccl/VisualiseR/blob/HEAD/Assets/Community_Assets/StrangeIoC/scripts/strange/.tests/extensions/injector/TestInjectionBinder.cs | ghcode:00000:ac7a0f9f5f2c | apache-2.0 | codeparrot/github-code | ac7a0f9f5f2ce74cda6b9b82c6ec111d100fd3cdadc45c65e45517e425d065d7 | 0.85 | testing_debugging_repair_refactoring | 8,347 | false | 2026-07-17 |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using FluentAssertions;
using IdentityServer.UnitTests.Common;
u... | IdentityServer/IdentityServer4 | src/IdentityServer4/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests.cs | https://github.com/IdentityServer/IdentityServer4/blob/HEAD/src/IdentityServer4/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests.cs | ghcode:00000:fdb22547a7a2 | apache-2.0 | codeparrot/github-code | fdb22547a7a296b15633f8c21e11dd7658133a183e844bd59499558f39567b1e | 0.95 | testing_debugging_repair_refactoring | 1,053 | 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.Threading.Tasks;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.Recommendations
{
[Test.... | ericfe-ms/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/ReplaceKeywordRecommenderTests.cs | https://github.com/ericfe-ms/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/ReplaceKeywordRecommenderTests.cs | ghcode:00000:b99562ce63bd | apache-2.0 | codeparrot/github-code | b99562ce63bd68038fee3c5d3bbe51bb519ab6dca82bafa0ad186b6492bffdfa | 0.75 | testing_debugging_repair_refactoring | 713 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using KayakoRestApi.Core.Constants;
using KayakoRestApi.Core.Troubleshooter;
using NUnit.Framework;
namespace KayakoRestApi.IntegrationTests.Troubleshooter
{
[TestFixture]
public class TroubleshooterStepTests : UnitTestBase
{
[Test]
public void GetAllTroubles... | kayako/dotnet-api-library | src/KayakoRestApi.IntegrationTests/Troubleshooter/TroubleshooterStepTests.cs | https://github.com/kayako/dotnet-api-library/blob/HEAD/src/KayakoRestApi.IntegrationTests/Troubleshooter/TroubleshooterStepTests.cs | ghcode:00000:7c1a29de38f8 | bsd-2-clause | codeparrot/github-code | 7c1a29de38f81163e2be48715aa2ec0c84a78483c67f738d9b1d69047e01a39c | 0.68 | testing_debugging_repair_refactoring | 1,021 | 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 condit... | ianbattersby/EventStore | src/EventStore/EventStore.Projections.Core.Tests/Services/awake_reader_service/when_handling_comitted_event.cs | https://github.com/ianbattersby/EventStore/blob/HEAD/src/EventStore/EventStore.Projections.Core.Tests/Services/awake_reader_service/when_handling_comitted_event.cs | ghcode:00000:210ffdfb2372 | bsd-3-clause | codeparrot/github-code | 210ffdfb2372586ca6c767d2a54d9f05947b268d661a4a822da849ba1925ed95 | 0.7 | testing_debugging_repair_refactoring | 619 | false | 2026-07-17 |
//
// Copyright (c) 2004-2018 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// 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 s... | nazim9214/NLog | tests/NLog.UnitTests/Targets/ConcurrentFileTargetTests.cs | https://github.com/nazim9214/NLog/blob/HEAD/tests/NLog.UnitTests/Targets/ConcurrentFileTargetTests.cs | ghcode:00000:72b043f7ffac | bsd-3-clause | codeparrot/github-code | 72b043f7ffaca51f9cedd7fbaec8cc01e45ce454e571cb34830c608d50918fc1 | 0.85 | testing_debugging_repair_refactoring | 2,737 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework;
using ServiceStack.Common.Extensions;
using ServiceStack.ServiceInterface.ServiceModel;
namespace ServiceStack.Common.Tests
{
public enum UserFileType
{
DefaultProfile,
OriginalProfile,
Profile75X75,
Profile66X66,
Profile63X63,
}
public class Test... | firstsee/ServiceStack | tests/ServiceStack.Common.Tests/ReflectionExtensionsTests.cs | https://github.com/firstsee/ServiceStack/blob/HEAD/tests/ServiceStack.Common.Tests/ReflectionExtensionsTests.cs | ghcode:00000:e896b3570ac0 | bsd-3-clause | codeparrot/github-code | e896b3570ac0e0867927a03710ed4b86c727de135fda31039fbe32d4eb93834d | 0.75 | testing_debugging_repair_refactoring | 608 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using CleanArchitecture.Domain.Customers;
using CleanArchitecture.Domain.Employees;
using CleanArchitecture.Domain.Products;
using NUnit.Framework;
namespace CleanArchitecture.Domain.Sales
{
[TestFixture]
public class SaleTests
{
p... | matthewrenze/clean-architecture-demo | Domain/Sales/SaleTests.cs | https://github.com/matthewrenze/clean-architecture-demo/blob/HEAD/Domain/Sales/SaleTests.cs | ghcode:00000:08a63ff50866 | bsd-3-clause | codeparrot/github-code | 08a63ff50866201ea1446b749dc8619ee28eb1fe173f69aa4b43f92f2cc5a595 | 0.75 | testing_debugging_repair_refactoring | 552 | false | 2026-07-17 |
#if DOTNET35
using System;
using MbUnit.Framework;
namespace Rhino.Mocks.Tests.FieldsProblem
{
[TestFixture]
public class FieldProblem_Dave
{
[Test]
public void CallingMethodTwiceAndAssertingWasCalledOnce()
{
// IFormatProvider was the first thing that popped... | brumschlag/rhino-tools | rhino-mocks/Rhino.Mocks.Tests/FieldsProblem/FieldProblem_Dave.cs | https://github.com/brumschlag/rhino-tools/blob/HEAD/rhino-mocks/Rhino.Mocks.Tests/FieldsProblem/FieldProblem_Dave.cs | ghcode:00000:79deb958c300 | bsd-3-clause | codeparrot/github-code | 79deb958c300ae229389859a2fc08edf0fcee561c64378a1124ccb9a1279013a | 0.7 | testing_debugging_repair_refactoring | 313 | false | 2026-07-17 |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using VsChromium.Core.Files;
namespace VsChromium.Tests.Core {
[TestClas... | chromium/vs-chromium | src/Tests/Core/TestCustomPathComparer.cs | https://github.com/chromium/vs-chromium/blob/HEAD/src/Tests/Core/TestCustomPathComparer.cs | ghcode:00000:6e1ee1c95a90 | bsd-3-clause | codeparrot/github-code | 6e1ee1c95a9013eb4db284eb44079c4aee3f769eb659e3d4aa7b77425226dafd | 0.95 | testing_debugging_repair_refactoring | 979 | false | 2026-07-17 |
using System.Linq;
using FasterTests.Core.Interfaces;
using FasterTests.Core.Interfaces.Integration;
namespace FasterTests.Core
{
public class TestRunnerBootstrapper : ITestRunnerBootstrapper
{
private readonly string _testAssemblyPath;
private readonly ITestInspector _testInspector;
p... | devoyster/FasterTests | Source/Core/TestRunnerBootstrapper.cs | https://github.com/devoyster/FasterTests/blob/HEAD/Source/Core/TestRunnerBootstrapper.cs | ghcode:00000:fb4dc7f49a83 | bsd-3-clause | codeparrot/github-code | fb4dc7f49a830acaa5ecdcea24bf111a303f33edc1518726835aa244f1f4fdd6 | 0.75 | testing_debugging_repair_refactoring | 222 | false | 2026-07-17 |
using System;
using Microsoft.Practices.ServiceLocation;
using NHibernate;
using Rhino.Security.Interfaces;
using Xunit;
using Rhino.Security.Model;
namespace Rhino.Security.Tests
{
public class UsersGroupsNotReturningAllAssociatedUsers: DatabaseFixture
{
private readonly long idMarcus;
... | ayende/rhino-security | Rhino.Security.Tests/UsersGroupsNotReturningAllAssociatedUsers.cs | https://github.com/ayende/rhino-security/blob/HEAD/Rhino.Security.Tests/UsersGroupsNotReturningAllAssociatedUsers.cs | ghcode:00000:a90732db0653 | bsd-3-clause | codeparrot/github-code | a90732db0653f4903baf3fc93a4bf808e865bd75e52d110f113e8013acdda6a5 | 0.6 | testing_debugging_repair_refactoring | 549 | 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.
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// Sorting.cs
//
// Sup... | shimingsg/corefx | src/System.Linq.Parallel/src/System/Linq/Parallel/Utils/Sorting.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Linq.Parallel/src/System/Linq/Parallel/Utils/Sorting.cs | ghcode:00000:2dc04d2b82a9 | mit | codeparrot/github-code | 2dc04d2b82a924ae911d028ab5e92003b52735fb051efca0a41c1aed86309e84 | 0.95 | testing_debugging_repair_refactoring | 5,886 | false | 2026-07-17 |
using System;
using System.Linq;
using EasyNetQ.Management.Client.Model;
using FluentAssertions;
using Newtonsoft.Json;
using Xunit;
namespace EasyNetQ.Management.Client.Tests.Model
{
public class PolicySerializationTests
{
private readonly Policy[] _policy;
public PolicySerializationTests()
... | EasyNetQ/EasyNetQ.Management.Client | Source/EasyNetQ.Management.Client.Tests/Model/PolicySerializationTests.cs | https://github.com/EasyNetQ/EasyNetQ.Management.Client/blob/HEAD/Source/EasyNetQ.Management.Client.Tests/Model/PolicySerializationTests.cs | ghcode:00000:1142b4d3565c | mit | codeparrot/github-code | 1142b4d3565c91dea44a57ba3bd707394892889e4eaf1b7b7870443788b12548 | 0.75 | testing_debugging_repair_refactoring | 1,003 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using JetBrains.Annotations;
using Microsoft.DotNet.PlatformAbstractions;
namespace BenchmarkDotNet.Toolchains.DotNetCli
{
[SuppressMessage("ReSharper", "InconsistentNaming")]
public abstract class CustomDo... | alinasmirnova/BenchmarkDotNet | src/BenchmarkDotNet/Toolchains/DotNetCli/CustomDotNetCliToolchainBuilder.cs | https://github.com/alinasmirnova/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Toolchains/DotNetCli/CustomDotNetCliToolchainBuilder.cs | ghcode:00000:29f85c6115fe | mit | codeparrot/github-code | 29f85c6115fea8f64c15c3114075b9b1cd3eb855866d39d49b267336e7db771c | 0.7 | testing_debugging_repair_refactoring | 1,151 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
#if UNITY_WSA || UNITY_STANDALONE_WIN
using UnityEngine.Windows.S... | paseb/MixedRealityToolkit-Unity | Assets/HoloToolkit/Input/Scripts/Utilities/Managers/InputManager.cs | https://github.com/paseb/MixedRealityToolkit-Unity/blob/HEAD/Assets/HoloToolkit/Input/Scripts/Utilities/Managers/InputManager.cs | ghcode:00000:f5ddf3e2ab02 | mit | codeparrot/github-code | f5ddf3e2ab026ffea2f5ef5332d25fc513499853b7b59b66fd98eb19560965fb | 0.7 | testing_debugging_repair_refactoring | 7,718 | 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.
namespace Microsoft.Azure.ServiceBus.UnitTests.API
{
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using ApprovalTest... | Azure/azure-sdk-for-net | sdk/servicebus/Microsoft.Azure.ServiceBus/tests/API/APIApprovals.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/servicebus/Microsoft.Azure.ServiceBus/tests/API/APIApprovals.cs | ghcode:00000:f73557c32205 | mit | codeparrot/github-code | f73557c322055fe0c502d572b81532a4c284bc38e454dde10b7123cbafa2ecf4 | 0.95 | testing_debugging_repair_refactoring | 605 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2007 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... | NikolayPianikov/nunit | src/NUnitFramework/framework/Constraints/ComparisonConstraint.cs | https://github.com/NikolayPianikov/nunit/blob/HEAD/src/NUnitFramework/framework/Constraints/ComparisonConstraint.cs | ghcode:00000:9b4b1b050b57 | mit | codeparrot/github-code | 9b4b1b050b575d992007895fbcf7d42242ef7653937f3f5f212a327e39d3c523 | 0.7 | testing_debugging_repair_refactoring | 1,162 | false | 2026-07-17 |
using Mendham.Domain;
using Mendham.Events;
using Moq;
using System.Threading.Tasks;
namespace Mendham.Testing.Moq
{
public class DomainFacadeMock
{
/// <summary>
/// Generates a mockable implementation of the domain facade
/// </summary>
/// <typeparam name="TDomainFacade">Typ... | Mendham/Mendham | src/Mendham.Testing.Domain.Moq/DomainFacadeMock.cs | https://github.com/Mendham/Mendham/blob/HEAD/src/Mendham.Testing.Domain.Moq/DomainFacadeMock.cs | ghcode:00000:7d1463b74b89 | apache-2.0 | codeparrot/github-code | 7d1463b74b89cf02dfbfd9925bbc718b52028bafc89cd81b031f0d983699007c | 0.7 | testing_debugging_repair_refactoring | 511 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | Jay-Jay-D/LeanSTP | Tests/Brokerages/GDAX/GDAXBrokerageAdditionalTests.cs | https://github.com/Jay-Jay-D/LeanSTP/blob/HEAD/Tests/Brokerages/GDAX/GDAXBrokerageAdditionalTests.cs | ghcode:00000:ea7322e126c5 | apache-2.0 | codeparrot/github-code | ea7322e126c5d0a665eb2cdbff0808f6d2e3ed3eb91afb9817eef281f6704d24 | 0.85 | testing_debugging_repair_refactoring | 575 | false | 2026-07-17 |
#region License
/*
* 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
... | jorgebay/tinkerpop | gremlin-dotnet/test/Gremlin.Net.UnitTest/Process/Traversal/GraphTraversalSourceTests.cs | https://github.com/jorgebay/tinkerpop/blob/HEAD/gremlin-dotnet/test/Gremlin.Net.UnitTest/Process/Traversal/GraphTraversalSourceTests.cs | ghcode:00000:412b7c975eef | apache-2.0 | codeparrot/github-code | 412b7c975eef1249ec629b8a0976aa8663cf74f577712c28289c41a60d3cb813 | 0.85 | testing_debugging_repair_refactoring | 482 | 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 Roslyn.Utilities;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using... | AmadeusW/roslyn | src/Compilers/Core/CommandLine/BuildProtocol.cs | https://github.com/AmadeusW/roslyn/blob/HEAD/src/Compilers/Core/CommandLine/BuildProtocol.cs | ghcode:00000:1dafb8c5261f | apache-2.0 | codeparrot/github-code | 1dafb8c5261fdec2c0f272597e869cc212b8556b4842cfa85e02d199e923547e | 0.85 | testing_debugging_repair_refactoring | 4,251 | false | 2026-07-17 |
using ElmahLogAnalyzer.Core.Presentation;
using NUnit.Framework;
namespace ElmahLogAnalyzer.UnitTests.Presentation
{
[TestFixture]
public class SearchHttpUserAgentInformationEventArgsTests : UnitTestBase
{
[Test]
public void Ctor_SetsHttpUserAgentStringAndSearchLauncher()
{
// arrange
const string http... | sheryever/elmah-log-analyzer-with-custom-data | src/ElmahLogAnalyzer.UnitTests/Presentation/SearchHttpUserAgentInformationEventArgsTests.cs | https://github.com/sheryever/elmah-log-analyzer-with-custom-data/blob/HEAD/src/ElmahLogAnalyzer.UnitTests/Presentation/SearchHttpUserAgentInformationEventArgsTests.cs | ghcode:00000:85b11a56cade | apache-2.0 | codeparrot/github-code | 85b11a56cadea02a778e1229eef6b507132abe8f8368562993d1d19385b0a638 | 0.85 | testing_debugging_repair_refactoring | 171 | false | 2026-07-17 |
#region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2016 Leandro F. Vieira (leandromoh). 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 Licen... | fsateler/MoreLINQ | MoreLinq.Test/CountByTest.cs | https://github.com/fsateler/MoreLINQ/blob/HEAD/MoreLinq.Test/CountByTest.cs | ghcode:00000:a7507f75d579 | apache-2.0 | codeparrot/github-code | a7507f75d57954d8cbf24b6553becb6f5749f5cc47279556ff4a63f8c8abd576 | 0.7 | testing_debugging_repair_refactoring | 797 | false | 2026-07-17 |
// Copyright 2018 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | GoogleCloudPlatform/google-cloud-visualstudio | GoogleCloudExtension/GoogleCloudExtensionUnitTests/FirewallManagement/PortChangesTests.cs | https://github.com/GoogleCloudPlatform/google-cloud-visualstudio/blob/HEAD/GoogleCloudExtension/GoogleCloudExtensionUnitTests/FirewallManagement/PortChangesTests.cs | ghcode:00000:91a4ee8533a1 | apache-2.0 | codeparrot/github-code | 91a4ee8533a115a71ca1e92cf95e2f5b21c30fdfccb960f5ee87cb200850ee5b | 0.85 | testing_debugging_repair_refactoring | 692 | false | 2026-07-17 |
using Bridge.Test.NUnit;
using System;
using System.Globalization;
namespace Bridge.ClientTest.Format
{
[Category(Constants.MODULE_NUMBERFORMATINFO)]
[TestFixture(TestNameFormat = "NumberFormatSpecifiersTests - {0}")]
public class NumberFormatSpecifiersTests
{
[Test]
public void Curre... | AndreyZM/Bridge | Tests/Batch1/Format/NumberFormatSpecifiersTests.cs | https://github.com/AndreyZM/Bridge/blob/HEAD/Tests/Batch1/Format/NumberFormatSpecifiersTests.cs | ghcode:00000:56a3324b7a82 | apache-2.0 | codeparrot/github-code | 56a3324b7a821d3e1dfa51bed121c241289c1313025e42871d76a8fc2bbb4095 | 0.75 | testing_debugging_repair_refactoring | 2,460 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Linq;
using FluentNHibernate.Mapping;
using FluentNHibernate.MappingModel.Output;
using Machine.Specifications;
using Machine.Specifications.Model;
using FluentAssertions;
namespace FluentNHibernate.Specs.FluentInterface
{
public class when_generatin... | HermanSchoenfeld/fluent-nhibernate | src/FluentNHibernate.Specs/FluentInterface/ExternalComponentOutputSpecs.cs | https://github.com/HermanSchoenfeld/fluent-nhibernate/blob/HEAD/src/FluentNHibernate.Specs/FluentInterface/ExternalComponentOutputSpecs.cs | ghcode:00000:05c8b286ea3e | bsd-3-clause | codeparrot/github-code | 05c8b286ea3e8c602e588cd3ceb19485ef339f1574cef1c127e9e62653d50e8b | 0.6 | testing_debugging_repair_refactoring | 447 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2008-2015 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 r... | OmicronPersei/nunit | src/NUnitFramework/framework/Attributes/TestCaseSourceAttribute.cs | https://github.com/OmicronPersei/nunit/blob/HEAD/src/NUnitFramework/framework/Attributes/TestCaseSourceAttribute.cs | ghcode:00000:79497f59889f | mit | codeparrot/github-code | 79497f59889f2851dec39c4745975397fc8877567c2cee02d29268591890d973 | 0.85 | testing_debugging_repair_refactoring | 2,500 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using Assert = Lucene.Net.TestFramework.Assert;
namespace Lucene.Net.Search
{
/*
* 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 r... | apache/lucenenet | src/Lucene.Net.Tests/Search/TestCachingCollector.cs | https://github.com/apache/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Search/TestCachingCollector.cs | ghcode:00000:122dc2130f70 | apache-2.0 | codeparrot/github-code | 122dc2130f706d00492388e41d8ef005447af66451ae15b932d7c5852e1b32d7 | 0.85 | testing_debugging_repair_refactoring | 1,609 | 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.Diagnostics;
using System.Linq;
using System.Reflection.Metadata;
using Microsoft.CodeAnalysis.CSharp.Symbol... | ericfe-ms/roslyn | src/Compilers/CSharp/Portable/Symbols/Metadata/PE/DynamicTypeDecoder.cs | https://github.com/ericfe-ms/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Metadata/PE/DynamicTypeDecoder.cs | ghcode:00000:ad8fa38d3e20 | apache-2.0 | codeparrot/github-code | ad8fa38d3e20f37d52c3d593abd4317da534932254532e4346630e762e2d9112 | 0.85 | testing_debugging_repair_refactoring | 2,748 | false | 2026-07-17 |
// <copyright file="BetaTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2016 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this s... | albertp007/mathnet-numerics | src/UnitTests/DistributionTests/Continuous/BetaTests.cs | https://github.com/albertp007/mathnet-numerics/blob/HEAD/src/UnitTests/DistributionTests/Continuous/BetaTests.cs | ghcode:00000:444ecd86a5be | mit | codeparrot/github-code | 444ecd86a5bebfc4f36e780b9f0554f8c5fab1139ef86a5939a927c48d97877d | 0.85 | testing_debugging_repair_refactoring | 5,694 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Baseline;
using Marten.Testing.Events;
using Marten.Testing.Events.Projections;
using Shouldly;
namespace Marten.Testing.Examples
{
public class event_store_quickstart
{
public void capture_events()
{
// SAMPLE: event-store-q... | jokokko/marten | src/Marten.Testing/Examples/event_store_quickstart.cs | https://github.com/jokokko/marten/blob/HEAD/src/Marten.Testing/Examples/event_store_quickstart.cs | ghcode:00000:fbb47bbf3ddc | mit | codeparrot/github-code | fbb47bbf3ddc3798de080ebaaacb35a770ff3b80dcf8f7a4264be436a0e4c5f0 | 0.7 | testing_debugging_repair_refactoring | 1,161 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ActorDslSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//--... | skotzko/akka.net | src/core/Akka.Tests/Actor/ActorDslSpec.cs | https://github.com/skotzko/akka.net/blob/HEAD/src/core/Akka.Tests/Actor/ActorDslSpec.cs | ghcode:00000:5b31c52f286b | apache-2.0 | codeparrot/github-code | 5b31c52f286b0fe0de24a32ececa0e26ef1c4ecf3f6522b25943085485c76fe8 | 0.85 | testing_debugging_repair_refactoring | 1,002 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using Lucene.Net.Analysis;
using Lucene.Net.Documents;
using Lucene.Net.Index;
using Lucene.Net.Util;
using Version = System.Version;
namespace Lucene.Net.Search.Suggest.Analyzing
{
/*
* Licensed to the Apache Softwar... | jpsullivan/lucenenet | src/Lucene.Net.Suggest/Suggest/Analyzing/BlendedInfixSuggester.cs | https://github.com/jpsullivan/lucenenet/blob/HEAD/src/Lucene.Net.Suggest/Suggest/Analyzing/BlendedInfixSuggester.cs | ghcode:00000:babc70455dfc | apache-2.0 | codeparrot/github-code | babc70455dfc437ef9e42f10d855263140fd6b117f6a88cdef885de582317847 | 0.7 | testing_debugging_repair_refactoring | 2,320 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Net.NetworkInformation;
using Saule;
using Saule.Queries;
using Saule.Queries.Pagination;
using Tests.Helpers;
using Tests.Models;
using Xunit;
namespace Tests.Queries
{
public class PaginationInterpreterTests
{
private static Paginatio... | sergey-litvinov-work/saule | Tests/Queries/PaginationInterpreterTests.cs | https://github.com/sergey-litvinov-work/saule/blob/HEAD/Tests/Queries/PaginationInterpreterTests.cs | ghcode:00000:8095e7c14d4e | mit | codeparrot/github-code | 8095e7c14d4ef49ba1cae9018b5d1f423f2fcaf810b00944dea81603fff59833 | 0.75 | testing_debugging_repair_refactoring | 790 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2014 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/nunitlite.tests/MakeRunSettingsTests.cs | https://github.com/OmicronPersei/nunit/blob/HEAD/src/NUnitFramework/nunitlite.tests/MakeRunSettingsTests.cs | ghcode:00000:effc41fba3d4 | mit | codeparrot/github-code | effc41fba3d46e174f7755974f095a0b806251f1eacbdbcea8c16c0aea526f11 | 0.85 | testing_debugging_repair_refactoring | 542 | false | 2026-07-17 |
// Copyright 2009-2015 Josh Close and Contributors
// This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0.
// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0.
// http://csvhelper.co... | KeesDijk/CsvHelper | src/CsvHelper.Tests/CsvWriterTests.cs | https://github.com/KeesDijk/CsvHelper/blob/HEAD/src/CsvHelper.Tests/CsvWriterTests.cs | ghcode:00000:534c34434816 | apache-2.0 | codeparrot/github-code | 534c3443481656fd24833ecba6488b7611aa19073c87cd2841859dc1b34908d6 | 0.85 | testing_debugging_repair_refactoring | 6,133 | false | 2026-07-17 |
using NUnit.Framework;
using Palaso.Progress;
using Palaso.UI.WindowsForms.Progress;
namespace PalasoUIWindowsForms.Tests.Progress
{
[TestFixture]
public class MultiPhaseProgressIndicatorTests
{
[Test]
public void FivePhase_ProgressesNormally()
{
var globalIndicator = new SimpleProgressIndicator();
var... | darcywong00/libpalaso | PalasoUIWindowsForms.Tests/Progress/ProgressIndicatorTests.cs | https://github.com/darcywong00/libpalaso/blob/HEAD/PalasoUIWindowsForms.Tests/Progress/ProgressIndicatorTests.cs | ghcode:00000:ae7f73654109 | mit | codeparrot/github-code | ae7f73654109be80867acd129d235d5e2d75a6f6676b9afa7a3f0ba1fa2e53a9 | 0.85 | testing_debugging_repair_refactoring | 324 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.