text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.Linq;
using LinqToDB;
using NUnit.Framework;
namespace Tests.Linq
{
using Model;
[TestFixture]
public class SubQueryTests : TestBase
{
[Test, DataContextSource]
public void Test1(string context)
{
using (var db = GetDataCon... | sdanyliv/linq2db | Tests/Linq/Linq/SubQueryTests.cs | https://github.com/sdanyliv/linq2db/blob/HEAD/Tests/Linq/Linq/SubQueryTests.cs | ghcode:00000:4268ef9bc776 | mit | codeparrot/github-code | 4268ef9bc776bda8d3e022b94125ba3d3f94414ff2d556512f81e2fc9c3dcca5 | 0.75 | testing_debugging_repair_refactoring | 5,352 | false | 2026-07-17 |
using System.Net;
using NUnit.Framework;
using SevenDigital.Api.Schema.Users.Payment;
using SevenDigital.Api.Wrapper.Responses;
using SevenDigital.Api.Wrapper.Responses.Parsing;
namespace SevenDigital.Api.Wrapper.Unit.Tests.Parsing.Users.Payments
{
[TestFixture]
public class AddCardsTests
{
private co... | minkaotic/SevenDigital.Api.Wrapper | src/SevenDigital.Api.Wrapper.Unit.Tests/Parsing/Users/Payments/Cards_unit_tests.cs | https://github.com/minkaotic/SevenDigital.Api.Wrapper/blob/HEAD/src/SevenDigital.Api.Wrapper.Unit.Tests/Parsing/Users/Payments/Cards_unit_tests.cs | ghcode:00000:2395bd3b3594 | mit | codeparrot/github-code | 2395bd3b35949753068beda35b395ec40505657644d4a655a75dfb305a7c4809 | 0.85 | testing_debugging_repair_refactoring | 346 | false | 2026-07-17 |
/*
* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* i... | haithemaraissia/CocosSharp | box2d/Dynamics/Contacts/b2PolygonAndCircleContact.cs | https://github.com/haithemaraissia/CocosSharp/blob/HEAD/box2d/Dynamics/Contacts/b2PolygonAndCircleContact.cs | ghcode:00000:4556e0beb243 | mit | codeparrot/github-code | 4556e0beb243768e0759c0c13daba76bec43f3ca531d72050e5fdc08bfe3c6b9 | 0.85 | testing_debugging_repair_refactoring | 452 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace ServiceFabric.Tests.Tests
{
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Management.Resources.Models;
using Microsoft.A... | brjohnstmsft/azure-sdk-for-net | sdk/servicefabric/Microsoft.Azure.Management.ServiceFabric/tests/Tests/ServiceFabricTestBase.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/servicefabric/Microsoft.Azure.Management.ServiceFabric/tests/Tests/ServiceFabricTestBase.cs | ghcode:00000:a03c4fe61d7c | mit | codeparrot/github-code | a03c4fe61d7c1ad21f99638a8d92e4c89e9ceeb1131844d55931f355aea71e31 | 0.95 | testing_debugging_repair_refactoring | 741 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
using Xunit.Abstractions;
using System;
using System.IO;
using System.Xml;
using System.Xml.XPath;
usin... | shmao/corefx | src/System.Private.Xml/tests/Xslt/XslCompiledTransformApi/XsltArgumentListMultith.cs | https://github.com/shmao/corefx/blob/HEAD/src/System.Private.Xml/tests/Xslt/XslCompiledTransformApi/XsltArgumentListMultith.cs | ghcode:00000:5b3b845d193b | mit | codeparrot/github-code | 5b3b845d193b8f2ec0d1a91f906cbafe6e00950d4101e3ce5f36380a715aea08 | 0.95 | testing_debugging_repair_refactoring | 2,857 | false | 2026-07-17 |
using System;
using System.IO;
using System.Reflection;
namespace LightupClient
{
public static class Program
{
public static int Main(string[] args)
{
Assembly asmGreet = null;
int iRetVal = 0;
try
{
asmGreet = Assembly.Load(new ... | chcosta/core-setup | src/test/Assets/TestProjects/LightupClient/Program.cs | https://github.com/chcosta/core-setup/blob/HEAD/src/test/Assets/TestProjects/LightupClient/Program.cs | ghcode:00000:60e88163c841 | mit | codeparrot/github-code | 60e88163c84113364fc9a41615bfd9b7e97c5748f406dcca304444c44e00dddd | 0.85 | testing_debugging_repair_refactoring | 198 | false | 2026-07-17 |
using System;
using System.Reflection;
namespace Ploeh.AutoFixture.Xunit2
{
/// <summary>
/// An attribute that can be applied to parameters in an <see cref="AutoDataAttribute"/>-driven
/// Theory to indicate that the parameter value should not have properties auto populated
/// when the <see cref="IF... | yuva2achieve/AutoFixture | Src/AutoFixture.xUnit.net2/NoAutoPropertiesAttribute.cs | https://github.com/yuva2achieve/AutoFixture/blob/HEAD/Src/AutoFixture.xUnit.net2/NoAutoPropertiesAttribute.cs | ghcode:00000:709b74df2b85 | mit | codeparrot/github-code | 709b74df2b8514f00bfc93e1e4d56d57254ab5c7ceeef76ccbcd61ff8e8bfdaa | 0.7 | testing_debugging_repair_refactoring | 271 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.IO.PortsTests;
using System.Text;
using System.Threading;
using Legacy.Suppor... | billwert/corefx | src/System.IO.Ports/tests/SerialStream/ReadByte_Generic.cs | https://github.com/billwert/corefx/blob/HEAD/src/System.IO.Ports/tests/SerialStream/ReadByte_Generic.cs | ghcode:00000:69e94317464a | mit | codeparrot/github-code | 69e94317464a56ec71a7db2caaea9f7d8b1825a667f837f4c6a42e0fb4acb9db | 0.95 | testing_debugging_repair_refactoring | 3,283 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Xml;
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.... | nikson/msbuild | src/OrcasEngine/UnitTests/Expander_Tests.cs | https://github.com/nikson/msbuild/blob/HEAD/src/OrcasEngine/UnitTests/Expander_Tests.cs | ghcode:00000:010b9aef8fb6 | mit | codeparrot/github-code | 010b9aef8fb64d2646a00c92cdd48657daa7af9b44609657b201789de3ffe492 | 0.72 | testing_debugging_repair_refactoring | 16,781 | false | 2026-07-17 |
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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 writing,... | zhoffice/nodejstools | Nodejs/Tests/Core/BaselineCompare.cs | https://github.com/zhoffice/nodejstools/blob/HEAD/Nodejs/Tests/Core/BaselineCompare.cs | ghcode:00000:f76136be1ca4 | apache-2.0 | codeparrot/github-code | f76136be1ca47bf72b6fac2089943c2233ff9be6566b6f81a36f8d5345e9185c | 0.95 | testing_debugging_repair_refactoring | 731 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Elasticsearch.Net.Integration.Yaml.Delete5
{
public partial class Delete5YamlTests
{
[NCrunch.Framework.ExclusivelyUses("Ela... | joehmchan/elasticsearch-net | src/Tests/Elasticsearch.Net.Integration.Yaml/delete/27_force_version.yaml.cs | https://github.com/joehmchan/elasticsearch-net/blob/HEAD/src/Tests/Elasticsearch.Net.Integration.Yaml/delete/27_force_version.yaml.cs | ghcode:00000:9e9c62405ce2 | apache-2.0 | codeparrot/github-code | 9e9c62405ce231d9954f1ec361a5654b17186a2790be899ec8f635cdd363ba0e | 0.95 | testing_debugging_repair_refactoring | 444 | 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.Buffers;
using System.Buffers.Text;
using System.Diagnostics;
namespace System.Text.Json
{
public... | shimingsg/corefx | src/System.Text.Json/src/System/Text/Json/Writer/Utf8JsonWriter.WriteValues.Decimal.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Text.Json/src/System/Text/Json/Writer/Utf8JsonWriter.WriteValues.Decimal.cs | ghcode:00000:854ebe42fb08 | mit | codeparrot/github-code | 854ebe42fb085916a03ff687cdbbb9aed98559daa14c8a5943e3f01a0a83fb13 | 0.95 | testing_debugging_repair_refactoring | 612 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.IO.Pipes;
using System.Security.Principal;
using System.Threading.Tasks;
na... | BrennanConroy/corefx | src/System.ServiceProcess.ServiceController/tests/TestServiceProvider.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.ServiceProcess.ServiceController/tests/TestServiceProvider.cs | ghcode:00000:6d045619f092 | mit | codeparrot/github-code | 6d045619f0926525bd3fe02286db20c3ae26bceb870de6da0767b3cd53c2a50b | 0.95 | testing_debugging_repair_refactoring | 944 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Text;
using Xunit;
namespace System.Text.EncodingTests
{
public class DecoderReset
{
#region Positive Test Cases
// ... | dkorolev/corefx | src/System.Text.Encoding/tests/Decoder/DecoderReset.cs | https://github.com/dkorolev/corefx/blob/HEAD/src/System.Text.Encoding/tests/Decoder/DecoderReset.cs | ghcode:00000:723f818819c6 | mit | codeparrot/github-code | 723f818819c62b564785f4680242181467eab34543f415ae7ba5439e6ec90de0 | 0.95 | testing_debugging_repair_refactoring | 468 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.Win32.SafeHandles;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Sy... | nbarbettini/corefx | src/System.IO.Pipes.AccessControl/tests/NamedPipeTests/NamedPipeTest.AclExtensions.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.IO.Pipes.AccessControl/tests/NamedPipeTests/NamedPipeTest.AclExtensions.cs | ghcode:00000:b5015dd7cbb5 | mit | codeparrot/github-code | b5015dd7cbb55d74491688e278508af18ea60443f8fcd6c76674131bc6133b21 | 0.95 | testing_debugging_repair_refactoring | 1,614 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FiscalizationTest
{
[TestClass]
public class FiscalizationInteropTest
{
TestEnvironment Demo = TestEnvironment.Create();
[TestMethod]
public void TestInvoiceRequest()
{
var com = new FiscalizationComInterop();
var result = ... | tgrospic/Cis.Fiscalization | test/FiscalizationCom/FiscalizationInteropTest.cs | https://github.com/tgrospic/Cis.Fiscalization/blob/HEAD/test/FiscalizationCom/FiscalizationInteropTest.cs | ghcode:00000:9deaa7dd9c21 | mit | codeparrot/github-code | 9deaa7dd9c21797161cb6ac9884356905c7ee2c6140a1c5d017f92caf95655ce | 0.6 | testing_debugging_repair_refactoring | 304 | false | 2026-07-17 |
using MediaFoundation;
namespace Mntone.TwitterVideoUploader.Core.FormatChecker
{
internal static class AudioMediaTypeExtension
{
public static int GetChannel(this IMFMediaType mediaType)
{
System.Diagnostics.Debug.Assert(mediaType.GetIsAudio());
int channels;
var hr = mediaType.GetUINT32(MFAttributes... | mntone/TwitterVideoUploader | Mntone.TwitterVideoUploader/Core/FormatChecker/Extensions/AudioMediaTypeExtension.cs | https://github.com/mntone/TwitterVideoUploader/blob/HEAD/Mntone.TwitterVideoUploader/Core/FormatChecker/Extensions/AudioMediaTypeExtension.cs | ghcode:00000:0fd0af61556c | mit | codeparrot/github-code | 0fd0af61556c2425f77dd71a9766e6f866b90dd769ea9052cf79d0d5a66f20db | 0.6 | testing_debugging_repair_refactoring | 388 | false | 2026-07-17 |
namespace HashTable.Tests
{
using System;
using HashTable.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class FindOperationTests
{
[TestMethod]
[ExpectedException(typeof(ArgumentNullException))]
public void FindWithNullKeyTest()
... | vladislav-karamfilov/TelerikAcademy | Data Structures and Algorithms Projects/Homework-HashTablesAndSets/HashTable.Tests/FindOperationTests.cs | https://github.com/vladislav-karamfilov/TelerikAcademy/blob/HEAD/Data Structures and Algorithms Projects/Homework-HashTablesAndSets/HashTable.Tests/FindOperationTests.cs | ghcode:00000:1a8f2e46b2ea | mit | codeparrot/github-code | 1a8f2e46b2ea4c77053c6bba7c2888c15fc9fe46a74b3c63f70cc4c3feaa473b | 0.75 | testing_debugging_repair_refactoring | 351 | false | 2026-07-17 |
using System;
using NUnit.Framework;
[TestFixture]
public class RewritingConstructors
{
private Type sampleClassType;
Type classToExcludeType;
[SetUp]
public void SetUp()
{
sampleClassType = AssemblyWeaver.Assemblies[0].GetType("SimpleClass");
classToExcludeType = AssemblyWeaver.A... | shana/NullGuard | Tests/RewritingConstructors.cs | https://github.com/shana/NullGuard/blob/HEAD/Tests/RewritingConstructors.cs | ghcode:00000:461d85afa095 | mit | codeparrot/github-code | 461d85afa0955ea3d6512506e0255ba74b2d250d267840d9bc3115bfff96507f | 0.6 | testing_debugging_repair_refactoring | 301 | false | 2026-07-17 |
using System.Collections.Generic;
using AlgorithmSandbox.Chapter8;
using Xunit;
namespace AlgorithmSandbox.Tests.Chapter8
{
public class Question6Tests
{
[Fact]
public void Test()
{
var tower = new Stack<int>();
tower.Push(5);
tower.Push(4);
... | alexandrnikitin/algorithm-sandbox | csharp/tests/AlgorithmSandbox.Tests/Chapter8/Question6Tests.cs | https://github.com/alexandrnikitin/algorithm-sandbox/blob/HEAD/csharp/tests/AlgorithmSandbox.Tests/Chapter8/Question6Tests.cs | ghcode:00000:14ece17223e5 | mit | codeparrot/github-code | 14ece17223e52217fcde6d97ade46e1272fb199c88bdbf468e3be8de852944f2 | 0.85 | testing_debugging_repair_refactoring | 145 | false | 2026-07-17 |
namespace NodeTest.JobHandlers
{
public class TestReportProgressJobParams
{
public TestReportProgressJobParams(string dummy,
string name)
{
Name = name;
Dummy = dummy;
}
public string Dummy { get; private set; }
public string Name { get; private set; }
}
} | Teleopti/Stardust | Node/NodeTest.JobHandlers/TestReportProgressJobParams.cs | https://github.com/Teleopti/Stardust/blob/HEAD/Node/NodeTest.JobHandlers/TestReportProgressJobParams.cs | ghcode:00000:fa70a5eb4db3 | mit | codeparrot/github-code | fa70a5eb4db3a806c2067fb3c037e135c605ee03718f9c5d9d4c078f0250a205 | 0.75 | testing_debugging_repair_refactoring | 74 | false | 2026-07-17 |
using System;
using Moq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Cache;
using Umbraco.Core.Composing;
using Umbraco.Core.Logging;
namespace Umbraco.Tests.Composing
{
[TestFixture]
public class CompositionTests
{
[Test]
public void FactoryIsResolvable()
{
... | rasmuseeg/Umbraco-CMS | src/Umbraco.Tests/Composing/CompositionTests.cs | https://github.com/rasmuseeg/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Composing/CompositionTests.cs | ghcode:00000:90fd514578b6 | mit | codeparrot/github-code | 90fd514578b66c990d7dcaa34e11b9efb1f6692e368ef1092717203bc7b69269 | 0.85 | testing_debugging_repair_refactoring | 380 | false | 2026-07-17 |
using AgateLib.Collections.Generic;
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace AgateLib.UnitTests.Collections
{
public class BinaryTreeTests
{
[Fact]
public void BinaryTree_Empty()
{
var tree = new Binar... | eylvisaker/AgateLib | tests/AgateLib.UnitTests/Collections/BinaryTreeTests.cs | https://github.com/eylvisaker/AgateLib/blob/HEAD/tests/AgateLib.UnitTests/Collections/BinaryTreeTests.cs | ghcode:00000:0711ad693fa9 | mit | codeparrot/github-code | 0711ad693fa9083931d9bb83669ed9308a279f4d1f6460fca3329ec8b440285e | 0.85 | testing_debugging_repair_refactoring | 1,521 | false | 2026-07-17 |
using System;
using Ghpr.Core.Core.Common;
using Ghpr.Core.Core.Services;
using Ghpr.Core.Core.Settings;
using Ghpr.Core.Core.Utils;
using NUnit.Framework;
namespace Ghpr.Tests.Core.Services
{
[TestFixture]
public class DataWriterServiceTests
{
[Test]
public void TestCreation()
{
... | GHPReporter/Ghpr.Core | Ghpr.Tests/Core/Services/DataWriterServiceTests.cs | https://github.com/GHPReporter/Ghpr.Core/blob/HEAD/Ghpr.Tests/Core/Services/DataWriterServiceTests.cs | ghcode:00000:0e58c878c88b | mit | codeparrot/github-code | 0e58c878c88bd733b344070c95e80b2f0b09f7b4c9e3f41ed916cf8a3bfec20b | 0.75 | testing_debugging_repair_refactoring | 387 | false | 2026-07-17 |
using System.Data;
using System.Data.Common;
using System.Collections.Generic;
using NUnit.Framework;
using System.Xml;
namespace ADO.Net.DataAccessLayer.SqlServer.Tests
{
[TestFixture]
public class When_executing_XmlReader_command : CommonTestSetup
{
[Test]
public void Shou... | NathanGloyn/ADO.NET-DAL | ADO.Net.DataAccessLayerTests/When_executing_XmlReader_command.cs | https://github.com/NathanGloyn/ADO.NET-DAL/blob/HEAD/ADO.Net.DataAccessLayerTests/When_executing_XmlReader_command.cs | ghcode:00000:396024da7d6f | mit | codeparrot/github-code | 396024da7d6fc0dd6ac152c4f4abb89f8d2bbde63ca87729fbb2492b361fcbe6 | 0.7 | testing_debugging_repair_refactoring | 971 | false | 2026-07-17 |
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.IO;
using System.Linq;
using DeepEqual.Syntax;
using NUnit.Framework;
using osu.Game.Audio;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.Forma... | Frontear/osuKyzer | osu.Game.Tests/Beatmaps/Formats/OsuJsonDecoderTest.cs | https://github.com/Frontear/osuKyzer/blob/HEAD/osu.Game.Tests/Beatmaps/Formats/OsuJsonDecoderTest.cs | ghcode:00000:5c9a3ac28139 | mit | codeparrot/github-code | 5c9a3ac281390c00a5d0aa2c5fab025f4ae21d74971a5c280230405b46199ff5 | 0.7 | testing_debugging_repair_refactoring | 1,676 | false | 2026-07-17 |
using Durwella.Measurements.Testing;
using FluentAssertions;
using Xunit;
namespace Durwella.Measurements
{
public class UscSystemTest
{
// https://en.wikipedia.org/wiki/United_States_customary_units
[Theory(DisplayName = "USCS:Consistent"), AutoMoqData]
public void Consistent(UscSyst... | Durwella/Durwella.Measurements | Durwella.Measurements.Test/UscSystemTest.cs | https://github.com/Durwella/Durwella.Measurements/blob/HEAD/Durwella.Measurements.Test/UscSystemTest.cs | ghcode:00000:78c94c0a5c0b | mit | codeparrot/github-code | 78c94c0a5c0b609f27569d68a2e3f6436bff7b9fd2838673ab289e7f7bf1fc3a | 0.6 | testing_debugging_repair_refactoring | 644 | false | 2026-07-17 |
using NUnit.Framework;
namespace NPBehave
{
public class CooldownTest : Test
{
[Test]
public void ShouldSucceedAndSetCooldown_WhenDecorateeSucceeds()
{
MockNode child = new MockNode();
Cooldown sut = new Cooldown(1, child);
TestRoot behaviorTree = CreateBehaviorTree(sut);
// start
behavi... | meniku/NPBehave | Editor/Tests/Decorator/CooldownTest.cs | https://github.com/meniku/NPBehave/blob/HEAD/Editor/Tests/Decorator/CooldownTest.cs | ghcode:00000:130f67410f6a | mit | codeparrot/github-code | 130f67410f6aaf01bc6beea81b33e14620f145d0bad151f8fc88fe88e1b4d679 | 0.95 | testing_debugging_repair_refactoring | 1,380 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pliant.Automata;
using Pliant.Builders.Expressions;
using Pliant.Collections;
using Pliant.Grammars;
using Pliant.LexerRules;
using Pliant.Languages.Regex;
using Pliant.Tests.Common.Grammars;
namespace Pliant.Tests.Unit.Grammars
{
[TestClass]
public cl... | patrickhuber/Pliant | tests/Pliant.Tests.Unit/Grammars/PreComputedGrammarTests.cs | https://github.com/patrickhuber/Pliant/blob/HEAD/tests/Pliant.Tests.Unit/Grammars/PreComputedGrammarTests.cs | ghcode:00000:8a53f9dc4757 | mit | codeparrot/github-code | 8a53f9dc4757e0b495bb2acfcbe1af13fa6d989c58c3c6ecf4b19d2eb18e2346 | 0.75 | testing_debugging_repair_refactoring | 987 | false | 2026-07-17 |
// ***********************************************************************************
// Created by zbw911
// 创建于:2014年02月13日 11:41
//
// 修改于:2014年02月13日 17:00
// 文件名:Dev.KeywordExtract/Dev.KeywordExtract.Test/UnitTestDefaultParser.cs
//
// 如果有更好的建议或意见请邮件至 zbw911#gmail.com
// ***********************... | zbw911/KeywordExtract | Src/Dev.KeywordExtract.Test/UnitTestDefaultParser.cs | https://github.com/zbw911/KeywordExtract/blob/HEAD/Src/Dev.KeywordExtract.Test/UnitTestDefaultParser.cs | ghcode:00000:86858d1e64c4 | mit | codeparrot/github-code | 86858d1e64c4b43f0f21aac86078022725f9fd888227007f812512879a40ae43 | 0.7 | testing_debugging_repair_refactoring | 613 | false | 2026-07-17 |
using System;
using System.Linq;
using Contentful.Core.Models;
using FluentAssertions;
using Moq;
using StockportContentApi.ContentfulFactories;
using StockportContentApi.ContentfulModels;
using StockportContentApi.Model;
using StockportContentApiTests.Unit.Builders;
using Xunit;
using System.Collections.Generic;
usin... | smbc-digital/iag-contentapi | test/StockportContentApiTests/Unit/ContentfulFactories/EventContentfulFactoryTest.cs | https://github.com/smbc-digital/iag-contentapi/blob/HEAD/test/StockportContentApiTests/Unit/ContentfulFactories/EventContentfulFactoryTest.cs | ghcode:00000:38c95dc0b14f | mit | codeparrot/github-code | 38c95dc0b14fe418c4fb7df1184873cbf98de229a01a968a5e140db1633d0490 | 0.6 | testing_debugging_repair_refactoring | 753 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Extensions;
using SFA.DAS.CommitmentsV2.Types;
using PaymentStatus = SFA.DAS.CommitmentsV2.Types.PaymentStatus;
namespace SFA.DAS.CommitmentsV2.UnitTests.Models.Apprenticeship
{
[TestFixture]
[Parallelizable]
public class WhenStatusIsDeterm... | SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Models/Apprenticeship/WhenStatusIsDetermined.cs | https://github.com/SkillsFundingAgency/das-commitments/blob/HEAD/src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Models/Apprenticeship/WhenStatusIsDetermined.cs | ghcode:00000:c09157590c2f | mit | codeparrot/github-code | c09157590c2f96d2afbc99319f8cea3dfe4d59e1c42a261a09cd7725ca37532c | 0.6 | testing_debugging_repair_refactoring | 769 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Xunit;
namespace RimDev.Automation.StorageEmulator.Tests
{
public class AzureStorageEmulatorAutomationTests : IClassFixture<StopAzureStorageEmulatorFixture>
{
private readonly AzureStorageEmulatorAutomation storageEm;
public AzureStorageEmulat... | ritterim/automation-storage-emulator | tests/Core.Tests/AzureStorageEmulatorAutomationTests.cs | https://github.com/ritterim/automation-storage-emulator/blob/HEAD/tests/Core.Tests/AzureStorageEmulatorAutomationTests.cs | ghcode:00000:85edf26e9087 | mit | codeparrot/github-code | 85edf26e9087557a14504336551ce70038c01c9628c0594fa2cd43a3b7e82063 | 0.75 | testing_debugging_repair_refactoring | 1,240 | false | 2026-07-17 |
namespace NServiceBus.AcceptanceTests.Basic
{
using System;
using NServiceBus.AcceptanceTesting;
using NServiceBus.AcceptanceTests.EndpointTemplates;
using NUnit.Framework;
public class When_TimeToBeReceived_has_expired : NServiceBusAcceptanceTest
{
[Test]
public void... | s4lvo/NServiceBus.MongoDB | src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.5.2.5/Basic/When_TimeToBeReceived_has_expired.cs | https://github.com/s4lvo/NServiceBus.MongoDB/blob/HEAD/src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.5.2.5/Basic/When_TimeToBeReceived_has_expired.cs | ghcode:00000:0f4a58d1bf04 | mit | codeparrot/github-code | 0f4a58d1bf04aa13fed631aa764759dbcf816f63133641deda7b7c1f2a03a90d | 0.6 | testing_debugging_repair_refactoring | 276 | false | 2026-07-17 |
using System;
using System.Linq;
using AppKit;
using Foundation;
using Plugin.Geolocator;
namespace GeolocatorTests.Mac
{
public partial class ViewController : NSViewController
{
public ViewController(IntPtr handle) : base(handle)
{
}
public override void ViewDidLoad()
... | jamesmontemagno/GeolocatorPlugin | src/Tests/GeolocatorTests.Mac/ViewController.cs | https://github.com/jamesmontemagno/GeolocatorPlugin/blob/HEAD/src/Tests/GeolocatorTests.Mac/ViewController.cs | ghcode:00000:a52b277860cd | mit | codeparrot/github-code | a52b277860cd055e3a94e4afe89176fc23663be4b163933199927aa44f6f4984 | 0.85 | testing_debugging_repair_refactoring | 528 | false | 2026-07-17 |
// 32feet.NET - Personal Area Networking for .NET
//
// InTheHand.Net.BluetoothAddress
//
// Copyright (c) 2003-2010 In The Hand Ltd, All rights reserved.
// This source code is licensed under the MIT License
using System;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Diagnostics;
n... | inthehand/32feet | Legacy/InTheHand.Net.Personal/Net/BluetoothAddress.cs | https://github.com/inthehand/32feet/blob/HEAD/Legacy/InTheHand.Net.Personal/Net/BluetoothAddress.cs | ghcode:00000:bd3f76d8ce8d | mit | codeparrot/github-code | bd3f76d8ce8d5cb7400cd4fe1bbaaeee2aaa1932da84ebc29f20d9a7caff0adf | 0.7 | testing_debugging_repair_refactoring | 5,722 | 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.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
publi... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1642CSharp10UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1642CSharp10UnitTests.cs | ghcode:00000:817d8259a66d | mit | codeparrot/github-code | 817d8259a66d758d57b018dcbd305a1bbd209907d49c02c332004b0035c87851 | 0.75 | testing_debugging_repair_refactoring | 98 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using NUnit.Framework;
using Umbraco.Core.Services;
namespace Umbraco.Tests.Services
{
[TestFixture]
public class LocalizedTextServiceTests
... | markoliver288/Umbraco-CMS | src/Umbraco.Tests/Services/LocalizedTextServiceTests.cs | https://github.com/markoliver288/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Services/LocalizedTextServiceTests.cs | ghcode:00000:3b47f9c668d3 | mit | codeparrot/github-code | 3b47f9c668d3e95431e7f6efd1c4cc7730cf250cd152b8ac380d936b2f0da4e5 | 0.75 | testing_debugging_repair_refactoring | 2,759 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SelectExpressionFactoryTests.cs" company="Reimers.dk">
// Copyright © Reimers.dk 2014
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://... | daveh551/Highway.Data | Highway/test/Highway.Data.Tests/OData/SelectExpressionFactoryTests.cs | https://github.com/daveh551/Highway.Data/blob/HEAD/Highway/test/Highway.Data.Tests/OData/SelectExpressionFactoryTests.cs | ghcode:00000:65177f4d1b9d | mit | codeparrot/github-code | 65177f4d1b9dcb8ac3054ae02574b04fafe9066d0a1291731994a3974bcdd72b | 0.95 | testing_debugging_repair_refactoring | 349 | false | 2026-07-17 |
// MD5Test.cs - NUnit Test Cases for System.Security.Cryptography.MD5
//
// Eduardo Garcia Cebollero (kiwnix@yahoo.es)
//
// (C) Eduardo Garcia Cebollero.
// (C) Ximian, Inc. http://www.ximian.com
using NUnit.Framework;
using System;
using System.Security.Cryptography;
namespace MonoTests.System.Security.Cryptogr... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Security.Cryptography/MD5Test.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Security.Cryptography/MD5Test.cs | ghcode:00000:3e7956b570a6 | mit | codeparrot/github-code | 3e7956b570a6a06fcc998dd9f4cd868a6674f05c96e151056d1cd238fbbf0746 | 0.95 | testing_debugging_repair_refactoring | 558 | false | 2026-07-17 |
using System.Diagnostics;
namespace LifXNet
{
/// <summary>
/// Abstract class representing a LifX Device. Note that LifX currently only produces lights.
/// </summary>
public abstract class Device
{
/// <summary>
/// Gets a reference to the NetworkManager that handles network comm... | solari23/LifX-Net | src/LifXNet/Device.cs | https://github.com/solari23/LifX-Net/blob/HEAD/src/LifXNet/Device.cs | ghcode:00000:f81329f4e26b | mit | codeparrot/github-code | f81329f4e26be473dabb3ebd7743c73a5728201c52278a5d194ba170bba247ad | 0.7 | testing_debugging_repair_refactoring | 184 | false | 2026-07-17 |
using SpecDrill;
using SpecDrill.Secondary.Ports.AutomationFramework;
namespace SomeTests.PageObjects.Test000
{
public class Test000GatewayPage : WebPage
{
[Find(By.Id, "portal")]
public IFrameElement<Test000LoginPage> FrmPortal;// { get; private set; }
[Find(By.Id, "gwText")]
... | CosminSontu/SpecDrill | SpecDrill.Tests/PageObjects/Test000/Test000GatewayPage.cs | https://github.com/CosminSontu/SpecDrill/blob/HEAD/SpecDrill.Tests/PageObjects/Test000/Test000GatewayPage.cs | ghcode:00000:79b3c08d47b0 | mit | codeparrot/github-code | 79b3c08d47b0b7bf6612ca801bec004a58a5cc749d27f2ae29f9f5d37e7062a4 | 0.85 | testing_debugging_repair_refactoring | 201 | false | 2026-07-17 |
using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
using Newtonsoft.Json;
namespace Nett.Tests.Performance.Benchmarks
{
[ShortRunJob()]
[MarkdownExporter]
public class ReadTomlStringBenchmark
{
private string InputToml;
private string InputJson;
[GlobalSetup]
... | paiden/Nett | Test/Nett.Tests.Performance/Benchmarks/ReadTomlStringBenchmark.cs | https://github.com/paiden/Nett/blob/HEAD/Test/Nett.Tests.Performance/Benchmarks/ReadTomlStringBenchmark.cs | ghcode:00000:2bd8a6895218 | mit | codeparrot/github-code | 2bd8a6895218b2ecce9e4f5804dabeff5d2bf3899686364671e26f8d46fe52a7 | 0.75 | testing_debugging_repair_refactoring | 456 | false | 2026-07-17 |
using Reusable.Collections.Generators;
using Reusable.Deception;
using Reusable.Deception.Abstractions;
using Reusable.Deception.Triggers;
using Reusable.Exceptionize;
using Xunit;
namespace Reusable.Tests.XUnit.Deception
{
public class PhantomExceptionTest
{
private static readonly IPhantomException P... | he-dev/Reusable | Reusable.Tests.XUnit/src/Deception/PhantomExceptionTest.cs | https://github.com/he-dev/Reusable/blob/HEAD/Reusable.Tests.XUnit/src/Deception/PhantomExceptionTest.cs | ghcode:00000:78169b19a205 | mit | codeparrot/github-code | 78169b19a205546febc4085e1dcfd1b463fc462ad9f7ec0e9646897f84a83163 | 0.85 | testing_debugging_repair_refactoring | 413 | false | 2026-07-17 |
using NQuery.Symbols;
namespace NQuery.Tests
{
public partial class ExpressionTests
{
private static object EvaluateUnary(string op, Type argumentType, object argument)
{
var variable = new VariableSymbol("arg", argumentType, argument);
var dataContext = DataContext.Def... | terrajobst/nquery-vnext | src/NQuery.Tests/ExpressionTests.Operators.Unary.cs | https://github.com/terrajobst/nquery-vnext/blob/HEAD/src/NQuery.Tests/ExpressionTests.Operators.Unary.cs | ghcode:00000:ed1dde583fe1 | mit | codeparrot/github-code | ed1dde583fe18b2dac3e55efe7d162c1ac0ef18d3e4479b9aeb96f2dc4127bd2 | 0.7 | testing_debugging_repair_refactoring | 975 | false | 2026-07-17 |
namespace RubySharp.Core.Tests.Language
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RubySharp.Core.Language;
[TestClass]
public class FloatClassTests
{
private ... | ajlopez/RubySharp | Src/RubySharp.Core.Tests/Language/FloatClassTests.cs | https://github.com/ajlopez/RubySharp/blob/HEAD/Src/RubySharp.Core.Tests/Language/FloatClassTests.cs | ghcode:00000:277b7e527d90 | mit | codeparrot/github-code | 277b7e527d90b44b31020af3c270043f3cca8994071d550a58045c16716f6e8f | 0.75 | testing_debugging_repair_refactoring | 187 | false | 2026-07-17 |
using System;
using DotNet.Basics.Sys;
using DotNet.Basics.IO;
using FluentAssertions;
using Newtonsoft.Json;
using Xunit;
namespace DotNet.Basics.Tests.Sys
{
public class DirPathTests
{
private const string _path = "c:/mypath";
private const string _segment = "segment";
... | rzmoz/DotNet.Basics | DotNet.Basics.Tests/Sys/DirPathTests.cs | https://github.com/rzmoz/DotNet.Basics/blob/HEAD/DotNet.Basics.Tests/Sys/DirPathTests.cs | ghcode:00000:98c7aaf6b978 | mit | codeparrot/github-code | 98c7aaf6b97833be04d9b4c7dc284158cc73053f143e93b179b0cce4eaa4be31 | 0.85 | testing_debugging_repair_refactoring | 754 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Zenject;
using NUnit.Framework;
using System.Linq;
using ModestTree;
using Assert=ModestTree.Assert;
namespace Zenject.Tests.Conditions
{
[TestFixture]
public class TestConditionsIdentifier : ZenjectUnitTestFixture
{
class Test0
{
... | skahal/Buildron-Classic-Mods | src/Solution/Zenject/OptionalExtras/UnitTests/Editor/Conditions/TestConditionsIdentifier.cs | https://github.com/skahal/Buildron-Classic-Mods/blob/HEAD/src/Solution/Zenject/OptionalExtras/UnitTests/Editor/Conditions/TestConditionsIdentifier.cs | ghcode:00000:f9afece2c558 | mit | codeparrot/github-code | f9afece2c558d44fc5d6b3232a19c83c567f5bc9b4d8ce347d972d1ddb4abb61 | 0.75 | testing_debugging_repair_refactoring | 885 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// Copyright (c) Lead Pipe Software. All rights reserved.
// Licensed under the MIT License. Please see the LICENSE file in the project root for full license information.
// --------------------------... | LeadPipeSoftware/LeadPipe.Net | src/LeadPipe.Net.Tests/StringExtensionsTests/ToFriendlyNameShould.cs | https://github.com/LeadPipeSoftware/LeadPipe.Net/blob/HEAD/src/LeadPipe.Net.Tests/StringExtensionsTests/ToFriendlyNameShould.cs | ghcode:00000:b5dabd4f77eb | mit | codeparrot/github-code | b5dabd4f77eb382530061e5fe49f8dafb15b89327f8ef5802cd75460655a3ca7 | 0.7 | testing_debugging_repair_refactoring | 220 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Titanium.Test.EvaluateTests
{
[TestClass]
public class ImpliedMultiplicationTests
{
[TestMethod]
public void OperatorParenthesesOperator()
{
Common.EvaluateAndAssert("2(3)", "6");
}
[TestMethod]
public void ParenthesesOpera... | andrewsarnold/Titanium | Titanium.Test/EvaluateTests/ImpliedMultiplicationTests.cs | https://github.com/andrewsarnold/Titanium/blob/HEAD/Titanium.Test/EvaluateTests/ImpliedMultiplicationTests.cs | ghcode:00000:3791f0da7b88 | mit | codeparrot/github-code | 3791f0da7b8803772e371211b17c79849588a6ad8422e9e231068dee6c832bf6 | 0.75 | testing_debugging_repair_refactoring | 196 | false | 2026-07-17 |
// <copyright file="When_Unflattening_MemberNames_To_MemberInfos.cs" company="million miles per hour ltd">
// Copyright (c) 2013-2014 All Right Reserved
//
// This source is subject to the MIT License.
// Please see the License.txt file for more information.
// All other rights reserved.
//
// THIS CODE AND INFORMATI... | DanHarman/KodeKandy | Source/Core.Tests/ExpressionHelpersTests/When_Unflattening_MemberNames_To_MemberInfos.cs | https://github.com/DanHarman/KodeKandy/blob/HEAD/Source/Core.Tests/ExpressionHelpersTests/When_Unflattening_MemberNames_To_MemberInfos.cs | ghcode:00000:fbd54095001d | mit | codeparrot/github-code | fbd54095001df97fec38a7d0dae4e8f11b9ab9daffd6c02148f994951b34b4e8 | 0.7 | testing_debugging_repair_refactoring | 637 | false | 2026-07-17 |
#region LGPL License
/*
Axiom Game Engine Library
Copyright (C) 2003 Axiom Project Team
The overall design, and a majority of the core engine and rendering code
contained within this library is a derivative of the open source Object Oriented
Graphics Engine OGRE, which can be found at http://ogre.sourceforge.net. ... | longde123/MultiversePlatform | axiom/Engine/Graphics/HardwareBufferManager.cs | https://github.com/longde123/MultiversePlatform/blob/HEAD/axiom/Engine/Graphics/HardwareBufferManager.cs | ghcode:00000:0694fc3183f7 | mit | codeparrot/github-code | 0694fc3183f70ed0815504f159e8bdd31e32109d06159a4f7c1473f2a6e6a52f | 0.7 | testing_debugging_repair_refactoring | 5,236 | false | 2026-07-17 |
using System;
using Wilcommerce.Catalog.Events.Product;
using Xunit;
namespace Wilcommerce.Catalog.Test.Events.Product
{
public class ProductAttributeRemovedEventTest
{
[Fact]
public void ProductAttributeRemovedEvent_Ctor_Should_Set_Arguments_Correctly()
{
Guid productId = ... | wilcommerce/Wilcommerce.Catalog | Wilcommerce.Catalog.Test/Events/Product/ProductAttributeRemovedEventTest.cs | https://github.com/wilcommerce/Wilcommerce.Catalog/blob/HEAD/Wilcommerce.Catalog.Test/Events/Product/ProductAttributeRemovedEventTest.cs | ghcode:00000:e47a8e91ee14 | mit | codeparrot/github-code | e47a8e91ee14ed3627fa54e43cfe288195e8b6ab587db71f5adba76c73af5ffb | 0.6 | testing_debugging_repair_refactoring | 141 | false | 2026-07-17 |
namespace AjSharpure.Tests
{
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using AjSharpure;
using AjSharpure.Compiler;
using AjSharpure.Expressions;
using AjSharpure.Language;
using Microsoft.Visua... | ajlopez/AjSharpure | Src/AjSharpure.Tests/MachineTests.cs | https://github.com/ajlopez/AjSharpure/blob/HEAD/Src/AjSharpure.Tests/MachineTests.cs | ghcode:00000:92aec6b3b12b | mit | codeparrot/github-code | 92aec6b3b12bdf5650f7cd9e98e0f5e7a950129ddfbb1d389f099a3165a472e9 | 0.75 | testing_debugging_repair_refactoring | 9,526 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Requests.Base
{
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Traits;
using TraktApiSharp.Requests.Base;
using TraktApiSharp.Requests.Interfaces... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Requests/Base/APutRequest'1_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Requests/Base/APutRequest'1_Tests.cs | ghcode:00000:1c55557d5bbd | mit | codeparrot/github-code | 1c55557d5bbde10f256cc4c9855e9de2451691a22b86141cc0c42a367908fca6 | 0.85 | testing_debugging_repair_refactoring | 361 | false | 2026-07-17 |
using FluentAssertions;
using Jaco.Notes;
using Xunit;
namespace JacoTests.Notes
{
public class NoteShould
{
public static TheoryData<Note, string> NoteNames
=> new TheoryData<Note, string>
{
{Note.C, "C"},
{Note.CSharp, "C#"},
{N... | pedromsantos/Jaco | JacoTests/Notes/NoteShould.cs | https://github.com/pedromsantos/Jaco/blob/HEAD/JacoTests/Notes/NoteShould.cs | ghcode:00000:215c10e66aef | mit | codeparrot/github-code | 215c10e66aefa58960d4c5071d27bc982b06a25fb7adfa80cc97ce18a2b49e74 | 0.6 | testing_debugging_repair_refactoring | 1,439 | false | 2026-07-17 |
namespace Basic.Tests.Statements
{
using System.Linq;
using Basic.Runtime;
using Basic.Runtime.Statements;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class ListTests : BaseTests
{
[TestMethod]
public void Execute_OfList_PrintsIncludedLines()
... | markshevchenko/learningbasic | Basic.Tests/RunTime/Statements/ListTests.cs | https://github.com/markshevchenko/learningbasic/blob/HEAD/Basic.Tests/RunTime/Statements/ListTests.cs | ghcode:00000:4ffb3f7e9bc2 | unlicense | codeparrot/github-code | 4ffb3f7e9bc2f490c834d32511d9065cd1f2311d5a404a5867ee0296c6135cca | 0.68 | testing_debugging_repair_refactoring | 268 | false | 2026-07-17 |
// <copyright file="PrintStatements.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
namespace GWBas2CS.Test
{
using FluentAssertions;
using Xunit;
public sealed class PrintStatements
{
[Fact]
public void Empty()
{
cons... | brian-dot-net/writeasync | projects/AdventureSample/test/GWBas2CS.Test/PrintStatements.cs | https://github.com/brian-dot-net/writeasync/blob/HEAD/projects/AdventureSample/test/GWBas2CS.Test/PrintStatements.cs | ghcode:00000:0c07d4438be6 | unlicense | codeparrot/github-code | 0c07d4438be6b2e32443a978128e9631d5c68a69f79d85503148837d39ffdb61 | 0.88 | testing_debugging_repair_refactoring | 590 | false | 2026-07-17 |
using IronText.Algorithm;
using NUnit.Framework;
namespace IronText.Tests.Algorithm
{
[TestFixture]
public class UnicodeIntSetTypeTest
{
UnicodeIntSetType Unicode = UnicodeIntSetType.Instance;
UnicodeIntSetType Ascii = UnicodeIntSetType.Instance;
[Test]
public void digit_s... | sucaba/IronTextLibrary | Src/IronText.Core.Tests/Algorithm/UnicodeIntSetTypeTest.cs | https://github.com/sucaba/IronTextLibrary/blob/HEAD/Src/IronText.Core.Tests/Algorithm/UnicodeIntSetTypeTest.cs | ghcode:00000:7bd31d245456 | apache-2.0 | codeparrot/github-code | 7bd31d2454564572c97196830c75fe505a78d2dfe0ade4bf92e330a47473db67 | 0.6 | testing_debugging_repair_refactoring | 322 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using TSQL;
namespace Tests
{
public class CharactersTests
{
[Test]
public void Characters_InTrue()
{
Assert.IsTrue(TSQLCharacters.Comma.In(
TSQLCharacters.Comma,... | bruce-dunwiddie/tsql-parser | TSQL_Parser/Tests/CharactersTests.cs | https://github.com/bruce-dunwiddie/tsql-parser/blob/HEAD/TSQL_Parser/Tests/CharactersTests.cs | ghcode:00000:9eda619cadc2 | apache-2.0 | codeparrot/github-code | 9eda619cadc25001a33b8731aab494d2c407684f4e3c439f73b76857ac848ae9 | 0.85 | testing_debugging_repair_refactoring | 399 | 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 disable
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
namespace Microsoft.AspNetCore.Routing.Tree
{
internal struct TreeEnumer... | aspnet/AspNetCore | src/Http/Routing/src/Tree/TreeEnumerator.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Http/Routing/src/Tree/TreeEnumerator.cs | ghcode:00000:b1bf23cd9c94 | apache-2.0 | codeparrot/github-code | b1bf23cd9c948b5821e5e78e82393c5d132e980880d86fb05fceb9de5aee9356 | 0.95 | testing_debugging_repair_refactoring | 597 | false | 2026-07-17 |
// [[[[INFO>
// Copyright 2015 Epicycle (http://epicycle.org, https://github.com/open-epicycle)
//
// 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... | open-epicycle/Epicycle.Commons-cs | projects/Epicycle.Commons_cs-Test/Collections/ReadOnlyListWrapperTest.cs | https://github.com/open-epicycle/Epicycle.Commons-cs/blob/HEAD/projects/Epicycle.Commons_cs-Test/Collections/ReadOnlyListWrapperTest.cs | ghcode:00000:2c51718fece1 | apache-2.0 | codeparrot/github-code | 2c51718fece1c4941579da3e8a3b90644424fdb8eb9b5d29f541b785f42ea068 | 0.7 | testing_debugging_repair_refactoring | 747 | false | 2026-07-17 |
using Lucene.Net.Store;
using Lucene.Net.Support;
using System;
using System.Diagnostics;
namespace Lucene.Net.Util.Packed
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for addit... | NikolayXHD/Lucene.Net.Contrib | Lucene.Net/Util/Packed/MonotonicBlockPackedReader.cs | https://github.com/NikolayXHD/Lucene.Net.Contrib/blob/HEAD/Lucene.Net/Util/Packed/MonotonicBlockPackedReader.cs | ghcode:00000:61651453a851 | apache-2.0 | codeparrot/github-code | 61651453a85160c42eb9f4cb2e3e5906cf15d700b9de4f74493194a3fcf79d73 | 0.7 | testing_debugging_repair_refactoring | 1,038 | false | 2026-07-17 |
using Okra.Routing;
using Xunit;
namespace Okra.Tests.Routing
{
public class ViewInfoFixture
{
[Fact]
public void Constructor_SetsView()
{
var view = new object();
var viewInfo = new ViewInfo(view);
Assert.Equal(view, viewInfo.View);
Asse... | OkraFramework/Okra.Core | test/Okra.Core.Tests/Routing/ViewInfoFixture.cs | https://github.com/OkraFramework/Okra.Core/blob/HEAD/test/Okra.Core.Tests/Routing/ViewInfoFixture.cs | ghcode:00000:d6485ad9877a | apache-2.0 | codeparrot/github-code | d6485ad9877a09651256e9bf3f6daa1765f53efa904a2cda169e54af6aff4b41 | 0.6 | testing_debugging_repair_refactoring | 276 | false | 2026-07-17 |
// ${KIND:Unity.EventFunctions}
using UnityEngine;
class A : StateMachineBehaviour
{
{caret}
}
| JetBrains/resharper-unity | resharper/resharper-unity/test/data/Unity/CSharp/Generate/ListElements19.cs | https://github.com/JetBrains/resharper-unity/blob/HEAD/resharper/resharper-unity/test/data/Unity/CSharp/Generate/ListElements19.cs | ghcode:00000:522a9e02a406 | apache-2.0 | codeparrot/github-code | 522a9e02a40672fd0847f2259880ffc0ab71baf4cbdade39bd86b580e98dc94b | 0.45 | testing_debugging_repair_refactoring | 25 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace addressbook_web_tests.tests
{
class TestDetailedContactInfo
{
}
}
| Toliar/csharp_training | addressbook-web-tests/addressbook-web-tests/tests/TestDetailedContactInfo.cs | https://github.com/Toliar/csharp_training/blob/HEAD/addressbook-web-tests/addressbook-web-tests/tests/TestDetailedContactInfo.cs | ghcode:00000:a214753065c6 | apache-2.0 | codeparrot/github-code | a214753065c6bcb8433f5ed43625f417c8432b27eae0be751d086db654edaf00 | 0.85 | testing_debugging_repair_refactoring | 41 | false | 2026-07-17 |
using FileCurator.HelperMethods;
using FileCurator.Tests.BaseClasses;
using Mecha.xUnit;
using System.ComponentModel.DataAnnotations;
using Xunit;
namespace FileCurator.Tests.HelperMethods
{
public class InternalHttpClientFactoryTests : TestBaseClass<InternalHttpClientFactory>
{
public InternalHttpCli... | JaCraig/FileCurator | test/FileCurator.Tests/HelperMethods/InternalHttpClientFactoryTests.cs | https://github.com/JaCraig/FileCurator/blob/HEAD/test/FileCurator.Tests/HelperMethods/InternalHttpClientFactoryTests.cs | ghcode:00000:ebedd4c1b5d2 | apache-2.0 | codeparrot/github-code | ebedd4c1b5d2d40b8897577f69c28228480f91a7dea47cb8d795c140452169c1 | 0.75 | testing_debugging_repair_refactoring | 244 | false | 2026-07-17 |
using System;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.UI.Tweens;
using System.Collections;
public class Test_Fill : MonoBehaviour {
public Image imageComponent;
public float Duration = 5f;
public TweenEasing Easing = TweenEasing.InOutQuint;
// Tween controls
[NonSerialized] pr... | cocos-Jammy/RealProjectTBS | Assets/Dark Age UI for UGUI/Scripts/Test Scripts/Test_Fill.cs | https://github.com/cocos-Jammy/RealProjectTBS/blob/HEAD/Assets/Dark Age UI for UGUI/Scripts/Test Scripts/Test_Fill.cs | ghcode:00000:61f2a028de40 | apache-2.0 | codeparrot/github-code | 61f2a028de40554bacf7b7c9158214286ee46f4fd19fd205a0ad5cafaa1b9f34 | 0.85 | testing_debugging_repair_refactoring | 381 | false | 2026-07-17 |
using Jal.Router.Impl;
using Jal.Router.Interface;
using Jal.Router.Model;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Shouldly;
namespace Jal.Router.Tests
{
[TestClass]
public class ListenerContextLoaderTests
{
[TestMethod]
public void Add_With_ShouldBeAdded()
... | raulnq/Jal.Router | Jal.Router.Tests/Infrastructure/ListenerContextLoaderTests.cs | https://github.com/raulnq/Jal.Router/blob/HEAD/Jal.Router.Tests/Infrastructure/ListenerContextLoaderTests.cs | ghcode:00000:8064f8a85caa | apache-2.0 | codeparrot/github-code | 8064f8a85caa8c15203bdd0396c9df1fac322e5659c29b40320e84ddd3987e0c | 0.75 | testing_debugging_repair_refactoring | 203 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Threading.Tasks;
using Hudl.Mjolnir.Metrics;
using Hudl.Mjolnir.Tests.Helper;
using Xunit;
namespace Hudl.Mjolnir.Tests.Metrics
{
public class InterlockingLongCounterTests : TestFixture
{
[Fact]
public void Increment_Increments()
{
... | hudl/Mjolnir | tests/unit/Hudl.Mjolnir.Tests/Metrics/InterlockingLongCounterTests.cs | https://github.com/hudl/Mjolnir/blob/HEAD/tests/unit/Hudl.Mjolnir.Tests/Metrics/InterlockingLongCounterTests.cs | ghcode:00000:098d7b4fd1ca | apache-2.0 | codeparrot/github-code | 098d7b4fd1cada7155494e13082f2bbc91c9c2eb88ce096aabe814504d320c30 | 0.85 | testing_debugging_repair_refactoring | 231 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using AltBeaconOrg.BoundBeacon;
using AltBeaconOrg.BoundBeacon.Service.Scanner;
using NUnit.Framework;
namespace AndroidAltBeaconLibrary.UnitTests
{
[TestFixture]
public class ScanFilterUtilsTest
{
[Test]
public void testGetAltBeaconScanFilt... | chrisriesgo/Android-AltBeacon-Library | AndroidAltBeaconLibrary/AndroidAltBeaconLibrary.UnitTests/Tests/Beacon/Service/Scanner/ScanFilterUtilsTest.cs | https://github.com/chrisriesgo/Android-AltBeacon-Library/blob/HEAD/AndroidAltBeaconLibrary/AndroidAltBeaconLibrary.UnitTests/Tests/Beacon/Service/Scanner/ScanFilterUtilsTest.cs | ghcode:00000:f4530d9ad4e1 | apache-2.0 | codeparrot/github-code | f4530d9ad4e1b2cad33ee6f5aa9375c23565d236e86ce38038924f00ae14e2b0 | 0.95 | testing_debugging_repair_refactoring | 918 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using Foundation;
namespace GigyaSDK.iOS.Tests
{
[TestFixture]
public class GSSessionTests
{
readonly GSSession session = new GSSession("token", "secret");
[Test]
public void Constructor()
{
try
{
var s = new GSSession("token", "secret")... | ScoreBig/XamarinBindings | GigyaSDK.iOS/GigyaSDK.iOS.Tests/GSSessionTests.cs | https://github.com/ScoreBig/XamarinBindings/blob/HEAD/GigyaSDK.iOS/GigyaSDK.iOS.Tests/GSSessionTests.cs | ghcode:00000:75ff705c0702 | apache-2.0 | codeparrot/github-code | 75ff705c070221a6285cb40d0cce7958aab4074d86c76468a26dee8bacbc825a | 0.75 | testing_debugging_repair_refactoring | 408 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Kleinware.LikeType
{
[TestClass]
public class LikeEnumerableTypeTests
{
private Foo _foo1;
private Foo _foo2;
private FooE... | mattklein999/LikeType | Kleinware.LikeType.Tests/LikeEnumerableTypeTests.cs | https://github.com/mattklein999/LikeType/blob/HEAD/Kleinware.LikeType.Tests/LikeEnumerableTypeTests.cs | ghcode:00000:2933e2f0a02a | apache-2.0 | codeparrot/github-code | 2933e2f0a02ae4a3a5ab10d977da4e0645c32e3ca3cdb0025f63c99e1c6acca0 | 0.75 | testing_debugging_repair_refactoring | 2,018 | 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... | f7753/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/CacheConfigurationTest.cs | https://github.com/f7753/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/CacheConfigurationTest.cs | ghcode:00000:4523aa5df3b4 | apache-2.0 | codeparrot/github-code | 4523aa5df3b4d1a7966e284378e2eceef6ee22f5b17be980239444582e9004a0 | 0.7 | testing_debugging_repair_refactoring | 5,331 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Microsoft.Azure.WebJobs.Host.UnitTests.Blobs
{
internal class AsyncCompletionSource
{
private CompletingAsyncResult _result;
public IAsyncResult AsyncResult
{
... | markcowl/azure-sdk-for-net | sdk/storage/Azure.Storage.Webjobs.Extensions.Blobs/tests/AsyncCompletionSource.cs | https://github.com/markcowl/azure-sdk-for-net/blob/HEAD/sdk/storage/Azure.Storage.Webjobs.Extensions.Blobs/tests/AsyncCompletionSource.cs | ghcode:00000:9010d0d76a10 | apache-2.0 | codeparrot/github-code | 9010d0d76a10ce2b8674183979007db41723484e5bcf0c57bf2e6b3b381fd1f9 | 0.85 | testing_debugging_repair_refactoring | 153 | false | 2026-07-17 |
// <copyright file="OwinRequestTests.cs" company="Microsoft Open Technologies, Inc.">
// Copyright 2013 Microsoft Open Technologies, 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 c... | owin/museum-piece-owin-hosting | src/test/Owin.Types.Tests/OwinRequestTests.cs | https://github.com/owin/museum-piece-owin-hosting/blob/HEAD/src/test/Owin.Types.Tests/OwinRequestTests.cs | ghcode:00000:e89116e53537 | apache-2.0 | codeparrot/github-code | e89116e5353750ab436fc3359ee3d12df1b214f635e1f3aabe90c224412495d8 | 0.95 | testing_debugging_repair_refactoring | 1,687 | false | 2026-07-17 |
using System.Globalization;
using System.Linq;
using NLog;
using NUnit.Framework;
namespace Rikrop.Core.Logging.NLog.Test
{
[TestFixture]
public class NFormatterTest
{
[Test]
[TestCase(300, 100)]
[TestCase(1, 5)]
public void ShouldCutMessageTextIfMaxLogSizeIsSet(int message... | rikrop/Rikrop.Core.Logging.NLog | Rikrop.Core.Logging.NLog.Test/NFormatterTest.cs | https://github.com/rikrop/Rikrop.Core.Logging.NLog/blob/HEAD/Rikrop.Core.Logging.NLog.Test/NFormatterTest.cs | ghcode:00000:dabcc2a7f609 | apache-2.0 | codeparrot/github-code | dabcc2a7f609b9df99e61f5ab16bae1cebad07969f1469bc86a3ac678633f4ee | 0.6 | testing_debugging_repair_refactoring | 166 | false | 2026-07-17 |
//
// Copyright 2019 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/Events/System/InstanceManagerHaltForRestartEvent.cs | https://github.com/GoogleCloudPlatform/iap-desktop/blob/HEAD/sources/Google.Solutions.IapDesktop.Extensions.Activity/Events/System/InstanceManagerHaltForRestartEvent.cs | ghcode:00000:22d1d698855d | apache-2.0 | codeparrot/github-code | 22d1d698855d4930ca1f9e52c6d9c3ffd5fc3e536d3be59b013fd9f20e997ae1 | 0.7 | testing_debugging_repair_refactoring | 383 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using StructureMap.Pipeline;
using StructureMap.Testing;
using StructureMap.Testing.Widget;
namespace StructureMap.Web.Testing
{
[TestFixture]
public class ThreadLocalStorageLifecycleTester... | HenrikDK/structuremap | src/StructureMap.Web.Testing/ThreadLocalStorageLifecycleTester_with_nested_containers.cs | https://github.com/HenrikDK/structuremap/blob/HEAD/src/StructureMap.Web.Testing/ThreadLocalStorageLifecycleTester_with_nested_containers.cs | ghcode:00000:20ccf3e31451 | apache-2.0 | codeparrot/github-code | 20ccf3e3145154b7de5d4db53a7958fef9dddf534e1c9db12eddb7e9d6e7e592 | 0.6 | testing_debugging_repair_refactoring | 315 | false | 2026-07-17 |
using Pchp.Core;
using Pchp.Core.Reflection;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace Pchp.Library.Reflection
{
[PhpType(PhpTypeAttribute.InheritName), PhpExtension(ReflectionUtils.ExtensionName)]
publ... | iolevel/peachpie | src/Peachpie.Library/Reflection/ReflectionMethod.cs | https://github.com/iolevel/peachpie/blob/HEAD/src/Peachpie.Library/Reflection/ReflectionMethod.cs | ghcode:00000:ecc3a9b6c286 | apache-2.0 | codeparrot/github-code | ecc3a9b6c286ea973b7ce15e71a99b3036c9be44892d1f6df3187de88272a34d | 0.7 | testing_debugging_repair_refactoring | 1,586 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | dulems/azure-powershell | src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs | https://github.com/dulems/azure-powershell/blob/HEAD/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs | ghcode:00000:75b97beccdb1 | apache-2.0 | codeparrot/github-code | 75b97beccdb13af1784085b1ef65a4062e2fbeef038204f6f69be600937472af | 0.7 | testing_debugging_repair_refactoring | 4,218 | false | 2026-07-17 |
using System;
using System.IO;
using MSBuild.Community.Tasks.Subversion;
using NUnit.Framework;
namespace MSBuild.Community.Tasks.Tests.Subversion
{
/// <summary>
/// Summary description for SvnExportTest
/// </summary>
[TestFixture]
public class SvnExportTest
{
private string testDir... | loresoft/msbuildtasks | Source/MSBuild.Community.Tasks.Tests/Subversion/SvnExportTest.cs | https://github.com/loresoft/msbuildtasks/blob/HEAD/Source/MSBuild.Community.Tasks.Tests/Subversion/SvnExportTest.cs | ghcode:00000:4e5cd227cb07 | bsd-2-clause | codeparrot/github-code | 4e5cd227cb076852444f5e441031295091606ac6010102a88f4dcac80f0e021a | 0.63 | testing_debugging_repair_refactoring | 627 | false | 2026-07-17 |
using System;
using LZ4.Tests.Helpers;
using System.Xml.Serialization;
using System.IO;
using System.IO.Compression;
#if !X64
using LZOHelper;
#endif
namespace LZ4.Tests.Continuous
{
// ReSharper disable InconsistentNaming
class Program
{
#region Main
static void Main(string[] args)
{
try
{
if (... | MiloszKrajewski/lz4net | src/misc/LZ4.Tests.Continuous/Program.cs | https://github.com/MiloszKrajewski/lz4net/blob/HEAD/src/misc/LZ4.Tests.Continuous/Program.cs | ghcode:00000:7c41584a9ebe | bsd-2-clause | codeparrot/github-code | 7c41584a9ebe9734eaf743b84f29b35c5cd72839013bdcf87603812bba1954c1 | 0.78 | testing_debugging_repair_refactoring | 5,500 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Messaging;
using Autofac.Core;
using Rhino.ServiceBus.Exceptions;
using Rhino.ServiceBus.Impl;
using Rhino.ServiceBus.Internal;
using Rhino.ServiceBus.LoadBalancer;
using Rhino.ServiceBus.MessageModules;
using Autofac;
using Rhino.ServiceBus.Msmq;
using Xunit;
u... | hibernating-rhinos/rhino-esb | Rhino.ServiceBus.Tests/Containers/Autofac/ContainerTests.cs | https://github.com/hibernating-rhinos/rhino-esb/blob/HEAD/Rhino.ServiceBus.Tests/Containers/Autofac/ContainerTests.cs | ghcode:00000:597eacc7dcf1 | bsd-3-clause | codeparrot/github-code | 597eacc7dcf1cccbcc67a35b5fbfaa41e42e07024038194c46611c5815917ae1 | 0.75 | testing_debugging_repair_refactoring | 1,090 | false | 2026-07-17 |
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD, and Contributors.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System;
using System.Diagnostics;
namespace Moq.Matchers
{
internal sealed class AnyMatcher : IMatcher
{
public static AnyMatche... | Moq/moq4 | src/Moq/Matchers/AnyMatcher.cs | https://github.com/Moq/moq4/blob/HEAD/src/Moq/Matchers/AnyMatcher.cs | ghcode:00000:475aced8b50e | bsd-3-clause | codeparrot/github-code | 475aced8b50e3a769bed7cdabb714b0bb394eba58cd238c53c01db7563d1236d | 0.6 | testing_debugging_repair_refactoring | 144 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NMoneys.Support;
using NUnit.Framework;
namespace NMoneys.Tests
{
// PlatformAttribute is not present in NUnits netstandard build, but since the tests marked
// as platform-dependent cannot happen in a core runtime (they apply to old .NET 2 versions),
// they... | dgg/nmoneys | src/NMoneys.Tests/CurrencyTester.Code.net.cs | https://github.com/dgg/nmoneys/blob/HEAD/src/NMoneys.Tests/CurrencyTester.Code.net.cs | ghcode:00000:b5b3e5911957 | bsd-3-clause | codeparrot/github-code | b5b3e59119579f074328e1b06b612b4a2c64270d2dc756324cdfd6f24abc180e | 0.7 | testing_debugging_repair_refactoring | 313 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NSubstitute;
using Octokit;
using Xunit;
public class CommitsClientTests
{
public class TheGetMethod
{
[Fact]
public async Task RequestsCorrectUrl()
{
var connection = Sub... | octokit/octokit.net | Octokit.Tests/Clients/CommitsClientTests.cs | https://github.com/octokit/octokit.net/blob/HEAD/Octokit.Tests/Clients/CommitsClientTests.cs | ghcode:00000:42b7ee9223d0 | mit | codeparrot/github-code | 42b7ee9223d08c65e9d9c79f3662a781f99dfd03a1d55221af454cf31c752b17 | 0.75 | testing_debugging_repair_refactoring | 905 | false | 2026-07-17 |
namespace Microsoft.ApplicationInsights.Tests
{
using System;
using System.Collections.Generic;
using System.Globalization;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.ApplicationInsights.Extensibility.Filtering;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/... | pharring/ApplicationInsights-dotnet | WEB/Src/PerformanceCollector/Perf.Tests/Filtering/FilterTests.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/WEB/Src/PerformanceCollector/Perf.Tests/Filtering/FilterTests.cs | ghcode:00000:93a9e350df18 | mit | codeparrot/github-code | 93a9e350df18d1447c457cbaf023848f194d1e4d2d4c5b96ac1dd5bca8024eec | 0.82 | testing_debugging_repair_refactoring | 17,751 | false | 2026-07-17 |
using System.Text;
using Xunit;
namespace WixSharp.Test
{
public class RegFileTest
{
[Fact]
public void Should_Create_RegValue_From_String()
{
object value;
value = RegFileImporter.Deserialize(@"""\""[INSTALLDIR]7zFM.exe\"" \""%1\""""", Encoding.Unicode);
... | Eun/TestRepo | src/WixSharp.Test/RegFileTest.cs | https://github.com/Eun/TestRepo/blob/HEAD/src/WixSharp.Test/RegFileTest.cs | ghcode:00000:e3f9cfe97917 | mit | codeparrot/github-code | e3f9cfe97917d0b2497bb0a86969eb4144e1bc7980dd81c1485402f9359160bb | 0.6 | testing_debugging_repair_refactoring | 376 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using System.Threading.Tasks;
using FluentAssertions;
using Moq;
using Ploeh.AutoFixture.Xunit2;
using Xunit;
namespace ReactiveMvvm.Tests
{
[Collection("Using Stream<User, string>... | justinyoo/ReactiveMvvm | src/ReactiveMvvm/ReactiveMvvm.Tests/StreamTest.cs | https://github.com/justinyoo/ReactiveMvvm/blob/HEAD/src/ReactiveMvvm/ReactiveMvvm.Tests/StreamTest.cs | ghcode:00000:ade7466e2a41 | mit | codeparrot/github-code | ade7466e2a41852f8de0cb0ce1c00b29d5b7cbaa6565e409c1389acb9c2ff200 | 0.6 | testing_debugging_repair_refactoring | 864 | false | 2026-07-17 |
using NUnit.Framework;
using OpenQA.Selenium;
namespace Atata.Tests
{
public class PressTriggerTests : UITestFixture
{
private ScrollablePage _page;
protected override void OnSetUp()
{
_page = Go.To<ScrollablePage>();
}
[Test]
public void PressEndA... | YevgeniyShunevych/Atata | test/Atata.Tests/PressTriggerTests.cs | https://github.com/YevgeniyShunevych/Atata/blob/HEAD/test/Atata.Tests/PressTriggerTests.cs | ghcode:00000:aec30f920d5f | mit | codeparrot/github-code | aec30f920d5f529c759357c352a6eea9550416b86b9655832102ac3b2cd29e70 | 0.75 | testing_debugging_repair_refactoring | 194 | false | 2026-07-17 |
// ****************************************************************
// This is free software licensed under the NUnit license. You
// may obtain a copy of the license as well as information regarding
// copyright ownership at http://nunit.org.
// ****************************************************************
u... | continuoustests/AutoTest.Net | lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitCore/tests/SetUpTest.cs | https://github.com/continuoustests/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitCore/tests/SetUpTest.cs | ghcode:00000:6d2fb03bcb63 | mit | codeparrot/github-code | 6d2fb03bcb633361ae68ca71aac9010e508f9fd5802f7123bac7c1a614979a39 | 0.95 | testing_debugging_repair_refactoring | 1,132 | false | 2026-07-17 |
namespace Glass.Tests
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Core;
using Xunit;
public class DependencyResolverTest
{
[Fact]
public void SortTest()
{
var a = new Node("A");
... | SuperJMN/Glass-Legacy | Glass.Core.Tests/DependencyResolverTest.cs | https://github.com/SuperJMN/Glass-Legacy/blob/HEAD/Glass.Core.Tests/DependencyResolverTest.cs | ghcode:00000:0e599702bc73 | mit | codeparrot/github-code | 0e599702bc73c625fd14014a1384f655f9e7f8cdf4268841a7a2b72c6a8342c8 | 0.6 | testing_debugging_repair_refactoring | 782 | false | 2026-07-17 |
namespace Incoding.MSpecContrib
{
#region << Using >>
using System;
using Incoding.Block.Caching;
using Incoding.Extensions;
using Machine.Specifications;
using Moq;
#endregion
public static class CachingFactoryTestEx
{
#region Factory constructors
public static ... | IncodingSoftware/Incoding-Framework | src/Incoding.MSpecContrib/Extensions/CachingFactoryTestEx.cs | https://github.com/IncodingSoftware/Incoding-Framework/blob/HEAD/src/Incoding.MSpecContrib/Extensions/CachingFactoryTestEx.cs | ghcode:00000:ae6eb18d3039 | apache-2.0 | codeparrot/github-code | ae6eb18d30395b7c3d84162cee05c73687530144fd963a0f1ddcbfa95fb9d5e3 | 0.7 | testing_debugging_repair_refactoring | 636 | false | 2026-07-17 |
namespace GreenPipes.Tests
{
using System;
using System.Linq;
using System.Threading.Tasks;
using Filters;
using NUnit.Framework;
[TestFixture]
public class Dispatch_Specs
{
[Test]
public async Task Dispatching_a_pipe_by_type()
{
IPipe<IInputContext... | MassTransit/GreenPipes | tests/GreenPipes.Tests/Dispatch_Specs.cs | https://github.com/MassTransit/GreenPipes/blob/HEAD/tests/GreenPipes.Tests/Dispatch_Specs.cs | ghcode:00000:bfe8e47c0873 | apache-2.0 | codeparrot/github-code | bfe8e47c087335d41ec645de201356d6f1ccbff2b978dc9b598ba97d829c1ae0 | 0.6 | testing_debugging_repair_refactoring | 640 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
using Project.UnitOfWorkProject.Entities;
using Project.UnitOfWorkProject.Services;
using System;
using System.Threading.Tasks;
namespace Project.TestingProject.RepositoriesTests.UsuarioServiceTests
{
[TestClass]
pu... | TaigoSantos/Visual-Studio-Architecture | provas-de-conceitos/unit-tests/Project.TestingProject/ServicesTests/UsuarioServiceTests/AddAsyncShould.cs | https://github.com/TaigoSantos/Visual-Studio-Architecture/blob/HEAD/provas-de-conceitos/unit-tests/Project.TestingProject/ServicesTests/UsuarioServiceTests/AddAsyncShould.cs | ghcode:00000:422ad8089562 | apache-2.0 | codeparrot/github-code | 422ad808956252c72808796ea8bd2928841992718f59a9ce9ccf8d21aa0140b0 | 0.7 | testing_debugging_repair_refactoring | 408 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ReceiveTimeoutSpec.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... | trbngr/akka.net | src/core/Akka.Tests/Actor/ReceiveTimeoutSpec.cs | https://github.com/trbngr/akka.net/blob/HEAD/src/core/Akka.Tests/Actor/ReceiveTimeoutSpec.cs | ghcode:00000:c96e7617ca2d | apache-2.0 | codeparrot/github-code | c96e7617ca2d5201abd1a6072f0602059a13bf2df781df3835c05b67be647ca5 | 0.85 | testing_debugging_repair_refactoring | 845 | false | 2026-07-17 |
using System;
using Xunit;
namespace NuGet.Test
{
public static class ExceptionAssert
{
private const string ArgumentExceptionMessageFormat = "{0}\r\nParameter name: {1}";
public static void Throws<TException>(Assert.ThrowsDelegate act) where TException : Exception
{
... | xero-github/Nuget | test/Test.Utility/ExceptionAssert.cs | https://github.com/xero-github/Nuget/blob/HEAD/test/Test.Utility/ExceptionAssert.cs | ghcode:00000:d625dbaf606a | apache-2.0 | codeparrot/github-code | d625dbaf606aa19e06d77fb77e0dd5c3b60e76f57e93bca9e71ba0e4c411ec86 | 0.6 | testing_debugging_repair_refactoring | 637 | false | 2026-07-17 |
namespace NArrange.Tests.Core
{
using System;
using System.CodeDom.Compiler;
using System.Collections.ObjectModel;
using System.IO;
using NArrange.Core;
using NArrange.Core.CodeElements;
using NArrange.Core.Configuration;
using NUnit.Framework;
/// <summary>
/// Base test fixt... | adgistics/Adgistics.Build | NArrange/src/NArrange.Tests.Core/WriteArrangedTests.cs | https://github.com/adgistics/Adgistics.Build/blob/HEAD/NArrange/src/NArrange.Tests.Core/WriteArrangedTests.cs | ghcode:00000:b956933ba093 | apache-2.0 | codeparrot/github-code | b956933ba0930f9144fa3abe1c97bc08ffd54cb42cabf2578e7bd748acd609af | 0.95 | testing_debugging_repair_refactoring | 780 | false | 2026-07-17 |
#region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. 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
//
// ... | Agbar/MoreLINQ | MoreLinq.Test/PrependTest.cs | https://github.com/Agbar/MoreLINQ/blob/HEAD/MoreLinq.Test/PrependTest.cs | ghcode:00000:b9af042dcb74 | apache-2.0 | codeparrot/github-code | b9af042dcb74607269ea22925ffeec934b9e007917121ddea36f930556167088 | 0.7 | testing_debugging_repair_refactoring | 425 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.