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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// 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.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using IdentityServer4.Configuration;
using IdentityServer4.Endpoints;... | chrisowhite/IdentityServer4 | test/IdentityServer.UnitTests/Endpoints/EndSession/EndSessionCallbackResultTests.cs | https://github.com/chrisowhite/IdentityServer4/blob/HEAD/test/IdentityServer.UnitTests/Endpoints/EndSession/EndSessionCallbackResultTests.cs | ghcode:00172:d27ab5e54494 | apache-2.0 | codeparrot/github-code | d27ab5e54494a55fb90b6926252da934c7f5154984295184e0ab0464d93f2397 | 0.85 | testing_debugging_repair_refactoring | 412 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Diagnostics;
using Microsoft.VisualStudio.Debugger;
using Microsoft.VisualStudio.Debugger.CallStack;
using Microsoft.VisualStudio.D... | Felorati/roslyn | src/ExpressionEvaluator/Core/Source/ExpressionCompiler/FrameDecoder.cs | https://github.com/Felorati/roslyn/blob/HEAD/src/ExpressionEvaluator/Core/Source/ExpressionCompiler/FrameDecoder.cs | ghcode:00172:ab284c85bde7 | apache-2.0 | codeparrot/github-code | ab284c85bde71de07146f12a3b958db00b76d434d030aa991e473714438f6e6f | 0.85 | testing_debugging_repair_refactoring | 1,045 | false | 2026-07-17 |
// Copyright (c) 2002-2019 "Neo4j,"
// Neo4j Sweden AB [http://neo4j.com]
//
// This file is part of Neo4j.
//
// 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.... | ali-ince/neo4j-dotnet-driver | Neo4j.Driver/Neo4j.Driver.Tests/SessionOptionsTests.cs | https://github.com/ali-ince/neo4j-dotnet-driver/blob/HEAD/Neo4j.Driver/Neo4j.Driver.Tests/SessionOptionsTests.cs | ghcode:00172:6f75dfaffbb6 | apache-2.0 | codeparrot/github-code | 6f75dfaffbb652f09e79b5f81b6a90b2ef87eb228f07a36ea28c018683214b03 | 0.85 | testing_debugging_repair_refactoring | 307 | false | 2026-07-17 |
namespace HashDiff.Core.UnitTests
{
using System.IO;
using System.Linq;
using HashDiff.Core.Output;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class DifferenceCalculatorTests
{
const string TestHashes_A1 = "test-hashes-a1.md5";
const string TestHashes_A1_Changed = "test-hashes-a... | leekelleher/HashDiff | src/HashDiff.Core.UnitTests/DifferenceCalculatorTests.cs | https://github.com/leekelleher/HashDiff/blob/HEAD/src/HashDiff.Core.UnitTests/DifferenceCalculatorTests.cs | ghcode:00172:57bebdf09434 | apache-2.0 | codeparrot/github-code | 57bebdf09434a9f1b775bea01cacf665c0e10ea10b5a330d3b12aac1343b7dd7 | 0.75 | testing_debugging_repair_refactoring | 2,336 | false | 2026-07-17 |
using System;
using System.Globalization;
using System.IO;
using System.Text;
using Backendless.Test;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BackendlessAPI.Test.FileService.AsyncTests
{
[TestClass]
public class TestsFrame : IAsyncTest
{
protected readonly Random Random = n... | Backendless/.NET-SDK | Projects/Backendless.Test/FileService/AsyncTests/TestsFrame.cs | https://github.com/Backendless/.NET-SDK/blob/HEAD/Projects/Backendless.Test/FileService/AsyncTests/TestsFrame.cs | ghcode:00172:4a53c2f265bb | apache-2.0 | codeparrot/github-code | 4a53c2f265bbbde1c7989d6c679380a4dca99690adea482d677e972370f7b44c | 0.75 | testing_debugging_repair_refactoring | 218 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using SilentHunter.Testing.FluentAssertions;
using Xunit;
namespace SilentHunter.FileFormats.Dat.Chunks
{
public class MaterialChunkTests
{
[Fact]
public void Should_support_id()
{
ulong id = unchecked((... | skwasjer/SilentHunter | test/SilentHunter.FileFormats.Tests/Dat/Chunks/MaterialChunkTests.cs | https://github.com/skwasjer/SilentHunter/blob/HEAD/test/SilentHunter.FileFormats.Tests/Dat/Chunks/MaterialChunkTests.cs | ghcode:00172:177bc29b53fd | apache-2.0 | codeparrot/github-code | 177bc29b53fd5e195fcb818aae065d6ca4601ed1a6c3b9fd9fbde107762fc922 | 0.85 | testing_debugging_repair_refactoring | 2,603 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TRL.Common.Data;
using TRL.Common.Models;
using TRL.Common.Test.Mocks;
using TRL.Common.Extensions.Data;
using TRL.Emulation;
using TRL.Common.Collections;
using TRL.Common.Ha... | wouldyougo/TRx | TRL.Common.Test/Handlers/TrailStopOnTickTests.cs | https://github.com/wouldyougo/TRx/blob/HEAD/TRL.Common.Test/Handlers/TrailStopOnTickTests.cs | ghcode:00172:9e2e9ab6f2f2 | apache-2.0 | codeparrot/github-code | 9e2e9ab6f2f2af6f63ef662a14d0e0c30423226d2dfb796ed5bd503aae8b9444 | 0.75 | testing_debugging_repair_refactoring | 815 | false | 2026-07-17 |
using System;
using Newtonsoft.Json.Linq;
namespace DevLab.JmesPath.Functions
{
public class FloorFunction : JmesPathFunction
{
public FloorFunction()
: base("floor", 1)
{
}
public override void Validate(params JmesPathFunctionArgument[] args)
{... | jdevillard/JmesPath.Net | src/jmespath.net/Functions/FloorFunction.cs | https://github.com/jdevillard/JmesPath.Net/blob/HEAD/src/jmespath.net/Functions/FloorFunction.cs | ghcode:00172:dd0a580458a7 | apache-2.0 | codeparrot/github-code | dd0a580458a7baba5e9da6a8913ad1989aab9f794c63e7711bfdc777ba6b7a09 | 0.6 | testing_debugging_repair_refactoring | 153 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnicornHack.Utils.DataStructures;
using Xunit;
namespace UnicornHack
{
public static class TestAssert
{
public static void Equal(IEnumerable<Point> expected, IEnumerable<Point> actual, string message)
{
... | AndriySvyryd/UnicornHack | test/UnicornHack.Core.Tests/TestAssert.cs | https://github.com/AndriySvyryd/UnicornHack/blob/HEAD/test/UnicornHack.Core.Tests/TestAssert.cs | ghcode:00172:4f2dafacc95e | apache-2.0 | codeparrot/github-code | 4f2dafacc95efe89aac3d4b98f5b8efcccd89b63a09cc36a817bdef2befadf3e | 0.75 | testing_debugging_repair_refactoring | 532 | false | 2026-07-17 |
using NUnit.Framework;
namespace Google.GData.Client.UnitTests.Core
{
/// <summary>
///This is a test class for AtomIdTest and is intended
///to contain all AtomIdTest Unit Tests
///</summary>
[TestFixture]
[Category("CoreClient")]
public class AtomIdTest
{
/// <summary>
... | jonny-novikov/google-gdata | src/unittests/core/AtomIdTest.cs | https://github.com/jonny-novikov/google-gdata/blob/HEAD/src/unittests/core/AtomIdTest.cs | ghcode:00172:56fb444523b2 | apache-2.0 | codeparrot/github-code | 56fb444523b2fee17ab5429caebe1b795d634caeb1de97a46891c13eb8d72e30 | 0.85 | testing_debugging_repair_refactoring | 801 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Security;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Linq;
using Microsoft.CodeAnaly... | bbarry/roslyn | src/EditorFeatures/CSharpTest/QuickInfo/SemanticQuickInfoSourceTests.cs | https://github.com/bbarry/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/QuickInfo/SemanticQuickInfoSourceTests.cs | ghcode:00172:597b44b306a8 | apache-2.0 | codeparrot/github-code | 597b44b306a81dbd7320711f6053dd88b40edd281994b787994a7b7438a537e2 | 0.72 | testing_debugging_repair_refactoring | 33,283 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Tests.Framework.MockData;
using Tests.Framew... | CSGOpenSource/elasticsearch-net | src/Tests/Search/MultiSearch/MultiSearchApiTests.cs | https://github.com/CSGOpenSource/elasticsearch-net/blob/HEAD/src/Tests/Search/MultiSearch/MultiSearchApiTests.cs | ghcode:00172:55e68d651b55 | apache-2.0 | codeparrot/github-code | 55e68d651b557a260f40cda2b3d61d18ff2d3b2d82a244be29e46e079f5dadb3 | 0.85 | testing_debugging_repair_refactoring | 1,474 | false | 2026-07-17 |
using System.Management.Automation;
namespace XmlDoc2CmdletDoc.TestModule.Maml
{
/// <summary xmlns:maml="http://schemas.microsoft.com/maml/2004/10">
/// Example dummy comdlet. This text shouldn't appear in the cmdlet help.
/// <maml:description type="synopsis">
/// <maml:para>This is the Test-MamlE... | modulexcite/XmlDoc2CmdletDoc | XmlDoc2CmdletDoc.TestModule/Maml/TestMamlElementsCommand.cs | https://github.com/modulexcite/XmlDoc2CmdletDoc/blob/HEAD/XmlDoc2CmdletDoc.TestModule/Maml/TestMamlElementsCommand.cs | ghcode:00172:768653acde8e | bsd-3-clause | codeparrot/github-code | 768653acde8e2a5645d8aa742f9562b1148d96d71986da21933f5c14444fcf9a | 0.85 | testing_debugging_repair_refactoring | 501 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace FasterTests.Tests.NunitTestAssembly
{
public class TestWhichThrowsAnException
{
[Test]
public void Method()
{
throw new Exception();
}
}
} | devoyster/FasterTests | Source/Tests.NunitTestAssembly/TestWhichThrowsAnException.cs | https://github.com/devoyster/FasterTests/blob/HEAD/Source/Tests.NunitTestAssembly/TestWhichThrowsAnException.cs | ghcode:00172:313517639a2d | bsd-3-clause | codeparrot/github-code | 313517639a2d5ab9d668d75de59768bd59528a0a06edc13777fbcd512dbe5d3e | 0.75 | testing_debugging_repair_refactoring | 49 | false | 2026-07-17 |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
using Mosa.Compiler.Framework.CIL;
using Mosa.Compiler.Framework.IR;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
namespace Mosa.Compiler.Framework.Stages
{
/// <summary>
///
/// </summary>
public sealed c... | kiootic/MOSA-Project | Source/Mosa.Compiler.Framework/Stages/OperandAssignmentStage.cs | https://github.com/kiootic/MOSA-Project/blob/HEAD/Source/Mosa.Compiler.Framework/Stages/OperandAssignmentStage.cs | ghcode:00172:79107175683e | bsd-3-clause | codeparrot/github-code | 79107175683eb49abd4a85c3c9e9fa858284adf7baf5066a9216a02fa27780da | 0.85 | testing_debugging_repair_refactoring | 2,274 | false | 2026-07-17 |
using System;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using NUnit.Framework;
using Netco.Logging;
namespace TrueShipAccessTests.Orders
{
[ TestFixture ]
public class OrdersTests : TestBase
{
[ Test ]
public void GetOrders()
{
var orders = _commonService.GetOrdersAsync... | agileharbor/trueShipAccess | src/TrueShipAccessTests/Orders/OrdersTests.cs | https://github.com/agileharbor/trueShipAccess/blob/HEAD/src/TrueShipAccessTests/Orders/OrdersTests.cs | ghcode:00172:e0dcb781c86b | bsd-3-clause | codeparrot/github-code | e0dcb781c86b67470d269fd51faddea7c4892feebc49f509f3a20299c856d77e | 0.75 | testing_debugging_repair_refactoring | 245 | false | 2026-07-17 |
using System;
using System.IO;
using Castle.Windsor;
using Rhino.ServiceBus.Hosting;
using Rhino.ServiceBus.Impl;
using Xunit;
using Rhino.ServiceBus.RhinoQueues;
namespace Rhino.ServiceBus.Tests.RhinoQueues
{
public class UsingOneWayBusWithBusNameSpecified : WithDebugging, IDisposable
{
p... | hibernating-rhinos/rhino-esb | Rhino.ServiceBus.Tests/RhinoQueues/UsingOneWayBusWithBusNameSpecified.cs | https://github.com/hibernating-rhinos/rhino-esb/blob/HEAD/Rhino.ServiceBus.Tests/RhinoQueues/UsingOneWayBusWithBusNameSpecified.cs | ghcode:00172:74d7f22d7fd6 | bsd-3-clause | codeparrot/github-code | 74d7f22d7fd61ff305c7f372848fb252b1766bee8f27508a280c7b55f7e965ea | 0.75 | testing_debugging_repair_refactoring | 466 | 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-framework/master/LICENCE
using OpenTK;
using OpenTK.Graphics;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Fram... | Nabile-Rahmani/osu-framework | osu.Framework.Tests/Visual/TestCaseDrawSizePreservingFillContainer.cs | https://github.com/Nabile-Rahmani/osu-framework/blob/HEAD/osu.Framework.Tests/Visual/TestCaseDrawSizePreservingFillContainer.cs | ghcode:00172:c43b62460d47 | mit | codeparrot/github-code | c43b62460d47291917d7fd1b16a1b02b579b3ef5c867825f5c333fa2d3f4a00a | 0.85 | testing_debugging_repair_refactoring | 456 | false | 2026-07-17 |
using Xunit;
[assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly, MaxParallelThreads =1)] | studio-nine/Nine.Graphics | test/CollectionBehavior.cs | https://github.com/studio-nine/Nine.Graphics/blob/HEAD/test/CollectionBehavior.cs | ghcode:00172:818f8fd8fa9b | mit | codeparrot/github-code | 818f8fd8fa9bd5a15fa8bb1e42867944ce931755031c99ae7cdf74e346f4c418 | 0.2 | testing_debugging_repair_refactoring | 19 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Linq.Expressions;
using Xunit;
namespace NonFactors.Mvc.Grid.Tests.Unit
{
public class StringContainsFilterTests
{
[Theory]
[InlineData("")]
[InlineData(null)]
public void Apply_NullOrEmptyValue_ReturnsNull(String value)
{
... | NonFactors/MVC5.Grid | test/Mvc.Grid.Tests/Unit/Core/Filtering/Text/StringContainsFilterTests.cs | https://github.com/NonFactors/MVC5.Grid/blob/HEAD/test/Mvc.Grid.Tests/Unit/Core/Filtering/Text/StringContainsFilterTests.cs | ghcode:00172:7dd62a0a2b73 | mit | codeparrot/github-code | 7dd62a0a2b7309c0ae0f95f7334b1e8babd26cf9b1ea6253f487868ffcb22e5d | 0.75 | testing_debugging_repair_refactoring | 339 | false | 2026-07-17 |
using System;
using System.Collections.Specialized;
using AutoMapper.Mappers;
using Shouldly;
using Xunit;
namespace AutoMapper.UnitTests.Mappers
{
public class NameValueCollectionMapperTests
{
public class IsMatch
{
[Fact]
public void ReturnsTrueWhenBothSourceAndDestin... | lbargaoanu/AutoMapper | src/UnitTests/Mappers/NameValueCollectionMapperTests.cs | https://github.com/lbargaoanu/AutoMapper/blob/HEAD/src/UnitTests/Mappers/NameValueCollectionMapperTests.cs | ghcode:00172:0122c741fe55 | mit | codeparrot/github-code | 0122c741fe55174c2119cded5dbdb6bbbe7470ef98f2343d59fc2924d5d70e70 | 0.75 | testing_debugging_repair_refactoring | 473 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
namespace LiteDB.Tests
{
[TestClass]
public class DictionaryTest
{
[TestMethod]
public void Dictionary_Test()
{
var mapper = new BsonM... | masterdidoo/LiteDB | LiteDB.Tests/Mapper/DictionaryTest.cs | https://github.com/masterdidoo/LiteDB/blob/HEAD/LiteDB.Tests/Mapper/DictionaryTest.cs | ghcode:00172:8c4e0fc3d806 | mit | codeparrot/github-code | 8c4e0fc3d806578a11d2dbfbc39eb43c3f0ba19055c11216143576afb8291d6e | 0.6 | testing_debugging_repair_refactoring | 285 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using NSubstitute;
using Octokit.Internal;
using Octokit.Tests.Helpers;
using Xunit;
namespace Octokit.Tests
{
public class TreesClientTests
{
public class TheGetMethod
{
[Fact]
public void RequestsCorrectUrl()
{
... | senlinsky/octokit.net | Octokit.Tests/Clients/TreesClientTests.cs | https://github.com/senlinsky/octokit.net/blob/HEAD/Octokit.Tests/Clients/TreesClientTests.cs | ghcode:00172:1c201110f27d | mit | codeparrot/github-code | 1c201110f27db820af60ab4d294347ea2760e33e787ba10335cdf709df76559c | 0.85 | testing_debugging_repair_refactoring | 1,447 | false | 2026-07-17 |
using J2N.Threading;
using J2N.Threading.Atomic;
using Lucene.Net.Diagnostics;
using Lucene.Net.Index.Extensions;
using Lucene.Net.Support;
using Lucene.Net.Util;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Threading... | jeme/lucenenet | src/Lucene.Net.Tests/Search/TestFieldCache.cs | https://github.com/jeme/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Search/TestFieldCache.cs | ghcode:00172:a0f1daee82ae | apache-2.0 | codeparrot/github-code | a0f1daee82ae11a1f9886e7c9d34441b92e887be938e6ff0a9b6bd3047a57284 | 0.85 | testing_debugging_repair_refactoring | 9,072 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FakeItEasy;
using Machine.Specifications;
using System.Linq;
using FluentAssertions;
using Mixpanel.NET.Events;
namespace Mixpanel.NET.Specs.Unit {
public class tracker_context {
Establish that = () => {
FakeHttp = A.Fake<IMixpanelHttp>();
... | Homesnap/Mixpanel.NET | src/Mixpanel.NET.specs/Unit/TrackerSpecs.cs | https://github.com/Homesnap/Mixpanel.NET/blob/HEAD/src/Mixpanel.NET.specs/Unit/TrackerSpecs.cs | ghcode:00172:bb4368bd939f | apache-2.0 | codeparrot/github-code | bb4368bd939f12ace24e61f64302f354202a135561f0b3fb60a37007989c51fa | 0.6 | testing_debugging_repair_refactoring | 1,570 | false | 2026-07-17 |
using System.Collections.Generic;
using FluentAssertions;
using WireMock.Admin.Mappings;
using WireMock.Serialization;
using WireMock.Types;
using Xunit;
namespace WireMock.Net.Tests.Serialization
{
public class WebhookMapperTests
{
[Fact]
public void WebhookMapper_Map_Model_BodyAs... | StefH/WireMock.Net | test/WireMock.Net.Tests/Serialization/WebhookMapperTests.cs | https://github.com/StefH/WireMock.Net/blob/HEAD/test/WireMock.Net.Tests/Serialization/WebhookMapperTests.cs | ghcode:00172:40393fd5e74b | apache-2.0 | codeparrot/github-code | 40393fd5e74bd06cd77d51244ebc9fecf20d1e138fe4409728bda49632b846d6 | 0.85 | testing_debugging_repair_refactoring | 652 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NMF.Transformations.Tests;
using NMF.Transformations;
using NMF.Tests;
using NMF.Utilities;
using System.Collections.Generic;
using NMF.Transformations.Core;
namespace NMF.Transformations.Tests.UnitTests
{
internal class Ot... | georghinkel/NMF | Transformations/Transformations.Tests/UnitTests/TransformationRuleT2Test.cs | https://github.com/georghinkel/NMF/blob/HEAD/Transformations/Transformations.Tests/UnitTests/TransformationRuleT2Test.cs | ghcode:00172:9dd9b19f0860 | apache-2.0 | codeparrot/github-code | 9dd9b19f0860f0acd54b4573888e77558e8aa6e990a2a2be3633398996003b16 | 0.62 | testing_debugging_repair_refactoring | 21,716 | false | 2026-07-17 |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If
... | huoxudong125/dlr | Src/Microsoft.Scripting/Hosting/ScriptRuntime.cs | https://github.com/huoxudong125/dlr/blob/HEAD/Src/Microsoft.Scripting/Hosting/ScriptRuntime.cs | ghcode:00172:34c5c875cbbe | apache-2.0 | codeparrot/github-code | 34c5c875cbbe66435d82b9eb3cb094739f110e14c3ade9074a164e865b1e00ee | 0.7 | testing_debugging_repair_refactoring | 2,918 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using Microsoft.Azure.WebJobs.Script.WebHost;
using Microsoft.Azure.WebJobs.Script.WebHost.F... | Azure/azure-webjobs-sdk-script | test/WebJobs.Script.Tests.Integration/Controllers/Keys/DeleteHostFunctionKeysScenario.cs | https://github.com/Azure/azure-webjobs-sdk-script/blob/HEAD/test/WebJobs.Script.Tests.Integration/Controllers/Keys/DeleteHostFunctionKeysScenario.cs | ghcode:00172:6113228645a1 | mit | codeparrot/github-code | 6113228645a191b5830d283b63790face44539078993738c2806fb94c56a7265 | 0.85 | testing_debugging_repair_refactoring | 426 | 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.
// The worker functions in this file was optimized for performance. If you make changes
// you should use care to co... | sandreenko/corert | src/System.Private.CoreLib/src/System/Text/UTF8Encoding.cs | https://github.com/sandreenko/corert/blob/HEAD/src/System.Private.CoreLib/src/System/Text/UTF8Encoding.cs | ghcode:00172:27485742b35f | mit | codeparrot/github-code | 27485742b35fa5295c2401707f309fd82560dc0ec048d0177fdde018d3ee253a | 0.82 | testing_debugging_repair_refactoring | 19,247 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
... | heejaechang/roslyn | src/Compilers/CSharp/Portable/Symbols/Source/SourceOrdinaryMethodSymbol.cs | https://github.com/heejaechang/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Source/SourceOrdinaryMethodSymbol.cs | ghcode:00172:fd01da15ec8c | apache-2.0 | codeparrot/github-code | fd01da15ec8cf540cbe582e7692ea60d66aa984f549dfaf1d844f0f61c2ba6b9 | 0.85 | testing_debugging_repair_refactoring | 5,898 | false | 2026-07-17 |
namespace Selenium.WebDriver.Extensions.Tests.Shared
{
public static partial class Trait
{
public const string INTEGRATION = "Integration";
public const string UNIT = "Unit";
}
}
| Softlr/selenium-webdriver-extensions | test/Selenium.WebDriver.Extensions.Tests.Shared/Trait.Category.cs | https://github.com/Softlr/selenium-webdriver-extensions/blob/HEAD/test/Selenium.WebDriver.Extensions.Tests.Shared/Trait.Category.cs | ghcode:00172:4d588b60fd92 | apache-2.0 | codeparrot/github-code | 4d588b60fd92ba033cc6f4882a455fa033084d662a6fdf37457bca904beb1b19 | 0.75 | testing_debugging_repair_refactoring | 40 | false | 2026-07-17 |
//
// Copyright (c) 2004-2016 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... | kevindaub/NLog | tests/NLog.UnitTests/Config/ExtensionTests.cs | https://github.com/kevindaub/NLog/blob/HEAD/tests/NLog.UnitTests/Config/ExtensionTests.cs | ghcode:00172:87e4cbc878e1 | bsd-3-clause | codeparrot/github-code | 87e4cbc878e1b9e211d9140868a6c5e575914d61b92fb7a40f48425747970a8a | 0.85 | testing_debugging_repair_refactoring | 3,037 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using Autofac;
using Lucene.Services;
using NUnit.Framework;
using Orchard.Environment.Configuration;
using Orchard.FileSystems.AppData;
using Orchard.Indexing;
using Orchard.Tests.FileSystems.AppData;
namespace Orchard.Tests.Modules.Indexing {
public class Lucene... | leonhaft/LearnOrchard | src/Orchard.Tests.Modules/Indexing/LuceneSearchBuilderTests.cs | https://github.com/leonhaft/LearnOrchard/blob/HEAD/src/Orchard.Tests.Modules/Indexing/LuceneSearchBuilderTests.cs | ghcode:00172:faa55211cf5f | bsd-3-clause | codeparrot/github-code | faa55211cf5fa2a9e282ce88f900b505e6dec0b99cb7d43f7ca67ceaeb854b5e | 0.85 | testing_debugging_repair_refactoring | 8,655 | false | 2026-07-17 |
using System;
using Should;
using Xunit;
namespace AutoMapper.UnitTests
{
namespace Indexers
{
public class When_mapping_to_a_destination_with_an_indexer_property : AutoMapperSpecBase
{
private Destination _result;
public class Source
{
public string Value { get; set; }
}
pu... | jbogard/AutoMapper | src/UnitTests/Indexers.cs | https://github.com/jbogard/AutoMapper/blob/HEAD/src/UnitTests/Indexers.cs | ghcode:00172:a6ddc2d085b3 | mit | codeparrot/github-code | a6ddc2d085b388742a84e79aee608673b7c23e77fd2bb8a8d7cf023a2c715fe7 | 0.75 | testing_debugging_repair_refactoring | 270 | 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 ... | StefanoRaggi/Lean | Tests/Common/Data/IdentityDataConsolidatorTests.cs | https://github.com/StefanoRaggi/Lean/blob/HEAD/Tests/Common/Data/IdentityDataConsolidatorTests.cs | ghcode:00172:af9ea1763fe7 | apache-2.0 | codeparrot/github-code | af9ea1763fe741f2cdd65d1e56daf820ffea2fa141f11fb3d809bee592bff8be | 0.75 | testing_debugging_repair_refactoring | 600 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostic... | davkean/roslyn | src/VisualStudio/Core/Def/Implementation/ProjectSystem/Extensions/ProjectExtensions.cs | https://github.com/davkean/roslyn/blob/HEAD/src/VisualStudio/Core/Def/Implementation/ProjectSystem/Extensions/ProjectExtensions.cs | ghcode:00172:b398c77764f4 | apache-2.0 | codeparrot/github-code | b398c77764f40b7e0df5c3f8f173e37b6be09c55b68544bd5d25eead1a714167 | 0.85 | testing_debugging_repair_refactoring | 579 | false | 2026-07-17 |
using NUnit.Framework;
using Primes;
namespace Tests.EvaluationEngine
{
[TestFixture]
public class When_Candidate_Is_One
{
[Test]
public void Can_Reject_Candidate()
{
var primeEvaluationEngine = new PrimeEvaluationEngine();
Assert.IsFalse(primeEvaluationEngi... | dreamofei/spring-net | examples/Spring/Spring.CodeConfig.Migration/test/Primes.Tests/Primes/EvaluationEngine/When_Candidate_Is_One.cs | https://github.com/dreamofei/spring-net/blob/HEAD/examples/Spring/Spring.CodeConfig.Migration/test/Primes.Tests/Primes/EvaluationEngine/When_Candidate_Is_One.cs | ghcode:00172:f34f43c2b199 | apache-2.0 | codeparrot/github-code | f34f43c2b1992b15e7eedd9c54c8bd101783cb14c25acb138d65a31cd63d83e3 | 0.85 | testing_debugging_repair_refactoring | 73 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="CsdlSemanticsOperationTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-------------------------... | hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataEdmLib/TDD/Csdl/CsdlSemanticsOperationTests.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataEdmLib/TDD/Csdl/CsdlSemanticsOperationTests.cs | ghcode:00172:6d12c15eb435 | mit | codeparrot/github-code | 6d12c15eb435b0e6b7703fc010d85338639f096a182b71d5a1fa0ca34a5df387 | 0.95 | testing_debugging_repair_refactoring | 864 | false | 2026-07-17 |
using System;
using System.Collections.Concurrent;
using System.Linq.Expressions;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Diagnosers;
using Moq;
using Umbraco.Core.Models;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.Mappers;
using Umbraco.Core.Persistence.Querying;
using Umbraco.Core... | rasmuseeg/Umbraco-CMS | src/Umbraco.Tests.Benchmarks/ModelToSqlExpressionHelperBenchmarks.cs | https://github.com/rasmuseeg/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests.Benchmarks/ModelToSqlExpressionHelperBenchmarks.cs | ghcode:00172:0f2771216073 | mit | codeparrot/github-code | 0f27712160731ac89e92da61b0109fe1645bc01ed7e77ee23ea181702c029e6b | 0.75 | testing_debugging_repair_refactoring | 580 | false | 2026-07-17 |
using NUnit.Framework;
using RefactoringEssentials.CSharp.Diagnostics;
namespace RefactoringEssentials.Tests.CSharp.Diagnostics
{
[TestFixture]
public class SealedMemberInSealedClassTests : CSharpDiagnosticTestBase
{
[Test]
public void TestBasicCase()
{
Analyze<SealedMem... | vcsjones/RefactoringEssentials | Tests/CSharp/Diagnostics/SealedMemberInSealedClassTests.cs | https://github.com/vcsjones/RefactoringEssentials/blob/HEAD/Tests/CSharp/Diagnostics/SealedMemberInSealedClassTests.cs | ghcode:00172:9ce20e5dd458 | mit | codeparrot/github-code | 9ce20e5dd4582acc66b6c57cd5e13462ceb05c68cdda5274f4d3fab8cdc271a2 | 0.75 | testing_debugging_repair_refactoring | 290 | 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 Microsoft.CodeAnalysis.Emit;
using System.Collections.Immutable;
using System.Diagnostics;
namespace Microsoft.CodeAnalysis.CodeGen
{
/// <summary... | robinsedlaczek/roslyn | src/Compilers/Core/Portable/CodeGen/ReferenceDependencyWalker.cs | https://github.com/robinsedlaczek/roslyn/blob/HEAD/src/Compilers/Core/Portable/CodeGen/ReferenceDependencyWalker.cs | ghcode:00172:40d3cab0a56f | apache-2.0 | codeparrot/github-code | 40d3cab0a56fb6aff3762cf6af11c25b571199b6ba0144a28276715f55a72db9 | 0.85 | testing_debugging_repair_refactoring | 1,122 | false | 2026-07-17 |
using System.Linq;
using System.Net.Http.Headers;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Octokit.Reactive;
using Xunit;
namespace Octokit.Tests.Integration
{
public class ObservableMilestonesClientTests
{
public class TheGetMethod
{
[IntegrationTest]
... | shiftkey-tester/octokit.net | Octokit.Tests.Integration/Reactive/ObservableMilestonesClientTests.cs | https://github.com/shiftkey-tester/octokit.net/blob/HEAD/Octokit.Tests.Integration/Reactive/ObservableMilestonesClientTests.cs | ghcode:00172:1f8db9fd046f | mit | codeparrot/github-code | 1f8db9fd046f3c6c549e01a2a124fda266f7326673bbe8f5f7eb86afef58429a | 0.75 | testing_debugging_repair_refactoring | 263 | false | 2026-07-17 |
using FluentMigrator.Exceptions;
using FluentMigrator.Runner.Generators.Oracle;
using NUnit.Framework;
using NUnit.Should;
namespace FluentMigrator.Tests.Unit.Generators.Oracle
{
[TestFixture]
public class OracleColumnTests : BaseColumnTests
{
protected OracleGenerator Generator;
[SetUp]
... | wolfascu/fluentmigrator | src/FluentMigrator.Tests/Unit/Generators/Oracle/OracleColumnTests.cs | https://github.com/wolfascu/fluentmigrator/blob/HEAD/src/FluentMigrator.Tests/Unit/Generators/Oracle/OracleColumnTests.cs | ghcode:00172:5061bf0bc7f7 | apache-2.0 | codeparrot/github-code | 5061bf0bc7f7259c989bafab4f454d38327cf0e8402b046e358bae4239c47712 | 0.75 | testing_debugging_repair_refactoring | 1,392 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using Xunit;
namespace System.Linq.Tests
{
public class ExceptTests : EnumerableTests
{
// Class which ... | Alcaro/corefx | src/System.Linq/tests/ExceptTests.cs | https://github.com/Alcaro/corefx/blob/HEAD/src/System.Linq/tests/ExceptTests.cs | ghcode:00172:f08ce3564bfe | mit | codeparrot/github-code | f08ce3564bfeb50a9bf8024cfdba1085531c6fbdc728ec39b474f00fc0cec0f5 | 0.95 | testing_debugging_repair_refactoring | 1,451 | 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.Globalization;
using System.Net.Mime;
using System.Text;
namespace System.Ne... | Ermiar/corefx | src/System.Net.Mail/src/System/Net/Mail/MailAddress.cs | https://github.com/Ermiar/corefx/blob/HEAD/src/System.Net.Mail/src/System/Net/Mail/MailAddress.cs | ghcode:00172:8134ce2c661a | mit | codeparrot/github-code | 8134ce2c661a675d9246274b6f1331901b7d6fd31cd5f68541c3702ce6121971 | 0.95 | testing_debugging_repair_refactoring | 1,618 | false | 2026-07-17 |
using NDepend.Test;
using NUnit.Framework;
namespace NDepend.Path {
[TestFixture]
public class Test_TryGetPathMethods {
[SetUp]
public void SetUp() {
TestHelper.SetUpTests();
}
[TestCase(@"C:", PathMode.Absolute)]
[TestCase(@"\\Server\Share", PathMode.Absolute)]
... | psmacchia/NDepend.Path | NDepend.Path.Tests/Unit/Test_TryGetPathMethods.cs | https://github.com/psmacchia/NDepend.Path/blob/HEAD/NDepend.Path.Tests/Unit/Test_TryGetPathMethods.cs | ghcode:00172:abdd6eb58c4f | mit | codeparrot/github-code | abdd6eb58c4f555a99eb4ad666c814a1e8cde16c3847daf2d3bf51620ea79fcd | 0.75 | testing_debugging_repair_refactoring | 1,364 | false | 2026-07-17 |
using System;
using JsonWebTokenTests;
using Jwt4Net;
using Jwt4Net.Claims;
using Jwt4Net.Configuration.Fluent;
using Jwt4Net.Consumer.Validation;
using Jwt4Net.Signing;
using Machine.Specifications;
namespace JsonWebTokenTests
{
public class HmacContext
{
protected static ITokenIssuer Iss... | bobthemighty/Jwt4Net | src/JsonWebTokenTests/HmacTests.cs | https://github.com/bobthemighty/Jwt4Net/blob/HEAD/src/JsonWebTokenTests/HmacTests.cs | ghcode:00172:829f1f84aa14 | mit | codeparrot/github-code | 829f1f84aa141cfde5ea4a92956c6e0dbbc311fe51c95afe81e5cf3c9c6ae929 | 0.75 | testing_debugging_repair_refactoring | 454 | 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.Data.NHibernate.Tests/TestModelQueries.cs | https://github.com/LeadPipeSoftware/LeadPipe.Net/blob/HEAD/src/LeadPipe.Net.Data.NHibernate.Tests/TestModelQueries.cs | ghcode:00172:9502a1f3d4a0 | mit | codeparrot/github-code | 9502a1f3d4a0f4ff3ca6a3dcce410171d1add66788574737a630b6b32bb3346b | 0.85 | testing_debugging_repair_refactoring | 249 | false | 2026-07-17 |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | Squidex/squidex | backend/tests/Squidex.Infrastructure.Tests/EventSourcing/EnvelopeHeadersTests.cs | https://github.com/Squidex/squidex/blob/HEAD/backend/tests/Squidex.Infrastructure.Tests/EventSourcing/EnvelopeHeadersTests.cs | ghcode:00172:31b701e04b7f | mit | codeparrot/github-code | 31b701e04b7fb67f06a9febf1847574a7f5bebe9d0401e823a6b13ebe7124fa2 | 0.95 | testing_debugging_repair_refactoring | 348 | false | 2026-07-17 |
using FluentAssertions;
using Stankins.FileOps;
using Stankins.Interfaces;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Xbehave;
using Xunit;
using static System.Environment;
namespace StankinsTestXUnit
{
[Trait("ReceiverCSV", "")]
[Tra... | ignatandrei/stankins | stankinsv2/solution/StankinsV2/StankinsTestXUnit/TestReceiverCSVText.cs | https://github.com/ignatandrei/stankins/blob/HEAD/stankinsv2/solution/StankinsV2/StankinsTestXUnit/TestReceiverCSVText.cs | ghcode:00172:052fdcc3c7c5 | mit | codeparrot/github-code | 052fdcc3c7c505ceafef90ca9962d2069ae1635f1a2067409e34980dd20972d1 | 0.75 | testing_debugging_repair_refactoring | 318 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Alluvial.Fluent;
using NUnit.Framework;
namespace Alluvial.Tests
{
[TestFixture]
public class StreamBuilderTests
{
[Test]
public async Task StreamBuilder_examples()
{
IPartitionedStream<string, int, Gui... | jonsequitur/Alluvial | Alluvial.Tests/StreamBuilderTests.cs | https://github.com/jonsequitur/Alluvial/blob/HEAD/Alluvial.Tests/StreamBuilderTests.cs | ghcode:00172:6b9e1ce420e9 | mit | codeparrot/github-code | 6b9e1ce420e95720a922afa5f4d98b68d656536b91775def7250bcd997633a27 | 0.75 | testing_debugging_repair_refactoring | 390 | false | 2026-07-17 |
using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace Xunit.ConsoleClient
{
public class Program
{
volatile static bool cancel;
static bool failed;
... | dsplaisted/buildtools | src/xunit.console.netcore/Program.cs | https://github.com/dsplaisted/buildtools/blob/HEAD/src/xunit.console.netcore/Program.cs | ghcode:00172:9fa307916df8 | mit | codeparrot/github-code | 9fa307916df81728f35ed708dc2b96b87d9fc6c85a8b93f750348566a66bcacf | 0.6 | testing_debugging_repair_refactoring | 2,819 | 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.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
public cla... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1112CSharp9UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1112CSharp9UnitTests.cs | ghcode:00172:9de545cf499a | mit | codeparrot/github-code | 9de545cf499a408145b0599352180688b64ea064932c7cae180fe090c1ebb461 | 0.75 | testing_debugging_repair_refactoring | 96 | false | 2026-07-17 |
using CharacterGen.Alignments;
using CharacterGen.CharacterClasses;
using CharacterGen.Domain.Tables;
using CharacterGen.Races;
using NUnit.Framework;
namespace CharacterGen.Tests.Integration.Tables.Races.Metaraces.Good
{
[TestFixture]
public class GoodAdeptMetaracesTests : PercentileTests
{
prote... | DnDGen/CharacterGen | CharacterGen.Tests.Integration.Tables/Races/Metaraces/Good/GoodAdeptMetaracesTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Integration.Tables/Races/Metaraces/Good/GoodAdeptMetaracesTests.cs | ghcode:00172:0f33b33166b2 | mit | codeparrot/github-code | 0f33b33166b262eaf6e95dc3fe606775bc1930eb776ea1bd96162050a1dec79b | 0.75 | testing_debugging_repair_refactoring | 183 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CertificateServices;
namespace CertificateManager.UnitTests
{
[TestClass]
public class Win32CertificateProviderTests
{
[TestMethod]
[ExpectedException(typeof(AlgorithmNotSupportedByProviderException))]
public v... | corymurphy/CertificateManager | CertificateManager.UnitTests/Win32CertificateProviderTests.cs | https://github.com/corymurphy/CertificateManager/blob/HEAD/CertificateManager.UnitTests/Win32CertificateProviderTests.cs | ghcode:00172:f46dc0e2a778 | mit | codeparrot/github-code | f46dc0e2a7783f3b16479a96434a914d3ce46c9e5d68e779bceaf57cda14eae3 | 0.75 | testing_debugging_repair_refactoring | 321 | false | 2026-07-17 |
using NServiceBus;
using NUnit.Framework;
[TestFixture]
public class When_sending_from_send_only_endpoint_SqlServer : When_sending_from_send_only_endpoint<SqlServerTransport>
{
protected override void SetupTransport(TransportExtensions<SqlServerTransport> extensions)
{
extensions.ConfigureSql();
}... | SzymonPobiega/NServiceBus.Raw | src/AcceptanceTests.SqlServer/When_sending_from_send_only_endpoint_SqlServer.cs | https://github.com/SzymonPobiega/NServiceBus.Raw/blob/HEAD/src/AcceptanceTests.SqlServer/When_sending_from_send_only_endpoint_SqlServer.cs | ghcode:00172:0f6e5dc7b025 | mit | codeparrot/github-code | 0f6e5dc7b0250f65bcffecf7ef4494076523f2b02ef4a04a1460e2cc478ccff9 | 0.6 | testing_debugging_repair_refactoring | 62 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Reflection;
namespace Moq.Proxy.Templates
{
partial class CsInterfaceProxy
{
public CsInterfaceProxy (string targetNamespace, string className,
TypeInfo baseType, IEnumerable<TypeInfo> implementedInterfaces)
: base (targetNamespace, className, baseType, impleme... | moq/moq.proxy | src/Moq.Proxy.Static/Templates/Templates.cs | https://github.com/moq/moq.proxy/blob/HEAD/src/Moq.Proxy.Static/Templates/Templates.cs | ghcode:00172:ed74e356bc43 | mit | codeparrot/github-code | ed74e356bc43c8bb17ec365e234b28cc6d0893b12bd23dd2d8415442e1739e41 | 0.75 | testing_debugging_repair_refactoring | 138 | false | 2026-07-17 |
using System;
using System.Linq;
using Baseline;
using Marten.Schema;
using Marten.Testing.Documents;
using Shouldly;
using Xunit;
namespace Marten.Testing
{
public class MartenRegistryTests
{
private readonly DocumentSchema theSchema;
public MartenRegistryTests()
{
... | jamesfarrer/marten | src/Marten.Testing/MartenRegistryTests.cs | https://github.com/jamesfarrer/marten/blob/HEAD/src/Marten.Testing/MartenRegistryTests.cs | ghcode:00172:c73c34e571b4 | mit | codeparrot/github-code | c73c34e571b4f2afd01cf6eee2785abef218844feb9ae5fa31dae51f7c0074c6 | 0.75 | testing_debugging_repair_refactoring | 828 | false | 2026-07-17 |
// -----------------------------------------------------------------------
// <copyright file="PrecisionTest.cs" company="Phoenix Game Studios, LLC">
// Copyright (c) 2017 Phoenix Game Studios, LLC. All rights reserved.
// Licensed under the MIT License.
// See https://github.com/PhoenixGameStudios/Da... | PhoenixGameStudios/DangrLib | src/Dangr.Math.Test/Math/PrecisionTest.cs | https://github.com/PhoenixGameStudios/DangrLib/blob/HEAD/src/Dangr.Math.Test/Math/PrecisionTest.cs | ghcode:00172:45ca48644cb0 | mit | codeparrot/github-code | 45ca48644cb04b78afe74a782cf979366ec65a0b96c14203c0a1129170a2a261 | 0.85 | testing_debugging_repair_refactoring | 933 | false | 2026-07-17 |
namespace ContracsReSharperInterop.Test
{
using Xunit;
public class CombinedTests : NotNullForContractCodeFixVerifier
{
[Fact]
public void AllInOne()
{
const string originalCode = @"
using System.Collections.Generic;
using System.Diagnostics.Contracts;
namespace Test
{... | tom-englert/ContracsReSharperInterop | ContracsReSharperInterop.Test/CombinedTests.cs | https://github.com/tom-englert/ContracsReSharperInterop/blob/HEAD/ContracsReSharperInterop.Test/CombinedTests.cs | ghcode:00172:c7ab771c2e97 | mit | codeparrot/github-code | c7ab771c2e97e56aa6d45a08f4c499a619ed0863e006a365081e6cbf95259fff | 0.75 | testing_debugging_repair_refactoring | 533 | false | 2026-07-17 |
using NUnit.Framework;
using Raven.Client.Embedded;
namespace WebNoteTests.ExplorativeTests.RavenDb
{
[TestFixture]
public class EmbeddedModeRavenDb
{
[Test]
public void DoSomeActions()
{
using (var documentStore = new EmbeddableDocumentStore{ RunInMemory = t... | JohannesHoppe/WebNoteNoSQL | WebNoteNoSQL/WebNoteTests/ExplorativeTests/RavenDb/EmbeddedModeRavenDb.cs | https://github.com/JohannesHoppe/WebNoteNoSQL/blob/HEAD/WebNoteNoSQL/WebNoteTests/ExplorativeTests/RavenDb/EmbeddedModeRavenDb.cs | ghcode:00172:047c528da83c | mit | codeparrot/github-code | 047c528da83cd1cd97c5a1f99ccd4304d0c0dfd3afa08f6d7a42f64bf4efefb8 | 0.6 | testing_debugging_repair_refactoring | 105 | false | 2026-07-17 |
using aoc.csharp._2017;
using Xunit;
namespace aoc.csharp.tests._2017
{
public class Day02Tests
{
[Fact]
public void Answer()
{
using var input = Input.Get(2017, 02);
var (part1, part2) = Day02.GetAnswer(input);
Assert.Equal("45158", part1);
... | zivkan/CodingForFun | AdventOfCode/aoc.csharp.tests/2017/Day02Tests.cs | https://github.com/zivkan/CodingForFun/blob/HEAD/AdventOfCode/aoc.csharp.tests/2017/Day02Tests.cs | ghcode:00172:013acc641f49 | mit | codeparrot/github-code | 013acc641f4989f7109ddd5260ec3623a7eeb4ab50e9c3238a8422216bf5d4cd | 0.75 | testing_debugging_repair_refactoring | 240 | false | 2026-07-17 |
using System;
using System.Globalization;
using System.IO;
using System.Linq;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.ConsoleArguments;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Engines;
using BenchmarkDotNet.Environments;
usin... | ig-sinicyn/BenchmarkDotNet | tests/BenchmarkDotNet.Tests/ConfigParserTests.cs | https://github.com/ig-sinicyn/BenchmarkDotNet/blob/HEAD/tests/BenchmarkDotNet.Tests/ConfigParserTests.cs | ghcode:00172:9865bc438da2 | mit | codeparrot/github-code | 9865bc438da2acee43906c0313c1e8f4dcb8c945c3581c5fa8b6783788eb1b75 | 0.85 | testing_debugging_repair_refactoring | 3,856 | false | 2026-07-17 |
using FluentAssertions;
using Recurly.Configuration;
using Xunit;
using AccountState = Recurly.Account.AccountState;
namespace Recurly.Test
{
public class AccountListTest : BaseTest
{
[RecurlyFact(TestEnvironment.Type.Integration)]
public void List()
{
var accounts = Accoun... | cgerrior/recurly-client-net | Test/List/AccountListTest.cs | https://github.com/cgerrior/recurly-client-net/blob/HEAD/Test/List/AccountListTest.cs | ghcode:00172:74a809042bd1 | mit | codeparrot/github-code | 74a809042bd1d778909e9b8cb5e3e13d2050bdf4cd93b6c4ac88a8007d623997 | 0.6 | testing_debugging_repair_refactoring | 393 | false | 2026-07-17 |
using Moq;
using AutoMoq;
namespace ControllerTest
{
public class TestContext<T> where T : class
{
private readonly AutoMoqer mocker;
private readonly MockRepository repository;
private readonly T controller;
protected TestContext()
{
this.repo... | sebastian-ilari/Photography | Photography/WebSite/ControllerTest/TestContext.cs | https://github.com/sebastian-ilari/Photography/blob/HEAD/Photography/WebSite/ControllerTest/TestContext.cs | ghcode:00172:ed3ae7fc30bc | mit | codeparrot/github-code | ed3ae7fc30bc9e2d84e91b6496424bea8eaa827036bab1edd706773b14d91dae | 0.75 | testing_debugging_repair_refactoring | 132 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using LibGit2Sharp;
using Moq;
namespace GitNStats.Core.Tests
{
public static class Fakes
{
public static Mock<Commit> Commit()
{
var guid = Guid.NewGuid().ToString();
var comm... | rubberduck203/GitNStats | tests/gitnstats.core.tests/Fakes.cs | https://github.com/rubberduck203/GitNStats/blob/HEAD/tests/gitnstats.core.tests/Fakes.cs | ghcode:00172:927d1da26ee8 | mit | codeparrot/github-code | 927d1da26ee8171babfe845e23fa89f9d79760caadc9e03d2bb7f1ced5bb227c | 0.85 | testing_debugging_repair_refactoring | 654 | false | 2026-07-17 |
//Copyright (c) 2017 Jan Pluskal
//
//Permission is hereby granted, free of charge, to any person
//obtaining a copy of this software and associated documentation
//files (the "Software"), to deal in the Software without
//restriction, including without limitation the rights to use,
//copy, modify, merge, publish, dis... | pluskal/AppIdent | src/AppIdent.Tests/Features/Bases/MinPacketLengthBaseTests.cs | https://github.com/pluskal/AppIdent/blob/HEAD/src/AppIdent.Tests/Features/Bases/MinPacketLengthBaseTests.cs | ghcode:00172:f473503fb699 | mit | codeparrot/github-code | f473503fb69979e1fc3f138f7b3f3dbed41208d1f9ec09eb49e885bb4550bca6 | 0.85 | testing_debugging_repair_refactoring | 682 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml;
using EnvDTE;
using Microsoft.VisualStudio.Shell.Interop;
using System.Diagnostics;
using Microsoft.VisualStudio.Shell;
namespace TypeSql.VisualStudio
{
internal static class VsHe... | mjrichardson/TypeSql | TypeSql.VisualStudio/VsHelper.cs | https://github.com/mjrichardson/TypeSql/blob/HEAD/TypeSql.VisualStudio/VsHelper.cs | ghcode:00172:b0255f0905ef | mit | codeparrot/github-code | b0255f0905ef6385cb6eec5eee628f50ad891db1e24704911bd7e3d73d008e77 | 0.7 | testing_debugging_repair_refactoring | 941 | false | 2026-07-17 |
namespace RubySharp.Core.Tests.Functions
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RubySharp.Core.Expressions;
using RubySharp.Core.Functions;
[TestCl... | ajlopez/RubySharp | Src/RubySharp.Core.Tests/Functions/DefinedFunctionTests.cs | https://github.com/ajlopez/RubySharp/blob/HEAD/Src/RubySharp.Core.Tests/Functions/DefinedFunctionTests.cs | ghcode:00172:e8ec30e6dbb1 | mit | codeparrot/github-code | e8ec30e6dbb1eaa035d79bd621565de9697ca64bc50054899ee5a3ba34d185d5 | 0.75 | testing_debugging_repair_refactoring | 296 | false | 2026-07-17 |
using System;
using System.Linq.Expressions;
using FluentAssertions;
namespace Altruistic.Tests
{
public class UtilityTests
{
public class GetMethodTests
{
public void GivenAMethodCallExpression_ShouldExtractMethodFromTheExpression()
{
// Arrange
... | ashrafMageed/Altruistic | src/Altruistic.Tests/UtilityTests.cs | https://github.com/ashrafMageed/Altruistic/blob/HEAD/src/Altruistic.Tests/UtilityTests.cs | ghcode:00172:18f036d0a471 | mit | codeparrot/github-code | 18f036d0a471f28b7b62d2ac8198990e08aee81a42991de6c2d654ae9df34885 | 0.85 | testing_debugging_repair_refactoring | 246 | 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 Microsoft.Diagnostics.Tracing.Parsers;
using Microsoft.Xunit.Performance.Sdk;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace... | Microsoft/xunit-performance | src/xunit.performance.metrics/InstructionsRetiredMetric.cs | https://github.com/Microsoft/xunit-performance/blob/HEAD/src/xunit.performance.metrics/InstructionsRetiredMetric.cs | ghcode:00172:8ddc458093b6 | mit | codeparrot/github-code | 8ddc458093b6fdcca3f2e73dd56c29c9205f254e3b7a6977937d51ecd3d6fc4a | 0.7 | testing_debugging_repair_refactoring | 482 | false | 2026-07-17 |
using Ibra.Polymorphic.Covariant;
using System;
using Xunit;
namespace IbraTests.Polymorphic.Covariant
{
internal class TestException : Exception { }
internal class TestException2 : Exception { }
public class TryTests
{
[Fact]
public void Success_Basic()
{
Success<s... | Eyas/Ibra | IbraLib/test/IbraTests/Polymorphic/Covariant/TryTests.cs | https://github.com/Eyas/Ibra/blob/HEAD/IbraLib/test/IbraTests/Polymorphic/Covariant/TryTests.cs | ghcode:00172:1dd28bae22ba | mit | codeparrot/github-code | 1dd28bae22baecd10ac9293d17ad6385a51c9a34381454855f25a3b6bd6976d4 | 0.85 | testing_debugging_repair_refactoring | 497 | false | 2026-07-17 |
using UnityEngine;
using System.Collections;
using NG;
using NG.Easing;
public class MultiLerp_Test : MonoBehaviour
{
public Vector3[] waypoints;
[Range(0,1)]
public float ratio = 0f;
void Start()
{
/*
float totalDistance = waypoints.MultiDistance();
Debug.LogFormat("t... | Naphier/NGTools | Assets/NGTools/Tests/MultiLerp_Test.cs | https://github.com/Naphier/NGTools/blob/HEAD/Assets/NGTools/Tests/MultiLerp_Test.cs | ghcode:00172:f91cce93a1c1 | mit | codeparrot/github-code | f91cce93a1c16e3a5e29ea9a9f0a7daab2b612b0dc6b148171a5c15aefd4d9d5 | 0.95 | testing_debugging_repair_refactoring | 529 | false | 2026-07-17 |
using BDSA2017.Lecture08.Models.Animals;
using Moq;
using Xunit;
namespace BDSA2017.Lecture08.Models.Tests.Services
{
public class AnimalServiceTests
{
[Fact]
public void Speak_calls_animal_Hello()
{
var mock = new Mock<IAnimal>();
var service = new AnimalServi... | ondfisk/BDSA2017 | BDSA2017.Lecture08.Models.Tests/Services/AnimalServiceTests.cs | https://github.com/ondfisk/BDSA2017/blob/HEAD/BDSA2017.Lecture08.Models.Tests/Services/AnimalServiceTests.cs | ghcode:00172:c7c81397e45f | mit | codeparrot/github-code | c7c81397e45fa1b1d41a3b97e7e0822a72ec460e7bac8599134fad38ed93ab95 | 0.75 | testing_debugging_repair_refactoring | 104 | 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.Nl2Br.cs | https://github.com/zzzprojects/Z.ExtensionMethods/blob/HEAD/test/Z.Core.Test/System.String/String.Nl2Br.cs | ghcode:00172:b29b5dd730fb | mit | codeparrot/github-code | b29b5dd730fb65dfa749a094f652ff5a95138f5016fd6d1936ac6b783ad5a646 | 0.7 | testing_debugging_repair_refactoring | 209 | false | 2026-07-17 |
using Akka.Actor;
using AkkaPingPong.ActorSystemLib;
using AkkaPingPong.AkkaTestBase;
using AkkaPingPong.ASLTestKit.Mocks;
using Autofac;
using FakeItEasy;
using System;
using Xunit;
namespace AkkaPingPong.TDDSample
{
/// <summary>
/// Pass
/// </summary>
public class When_an_email_req... | contactsamie/AkkaPingPong | AkkaPingPong.TDDSample/When_an_email_request_comes_in_9_5.cs | https://github.com/contactsamie/AkkaPingPong/blob/HEAD/AkkaPingPong.TDDSample/When_an_email_request_comes_in_9_5.cs | ghcode:00172:9994b07f699a | mit | codeparrot/github-code | 9994b07f699a27953aa31ffd427edcfbf30188c9eaf1110628d1d5683d0475c7 | 0.7 | testing_debugging_repair_refactoring | 729 | false | 2026-07-17 |
using System;
using Clang2Sharp.Contracts;
using Clang2Sharp.Core;
using NUnit.Framework;
namespace Clang2Sharp.Tests
{
[TestFixture]
public static class IndexTests
{
[Test]
public static void GlobalOptionsTest()
{
Assert.AreEqual(8, IntPtr.Size);
using (var... | mxpv/Clang2Sharp | Clang2Sharp.Tests/IndexTests.cs | https://github.com/mxpv/Clang2Sharp/blob/HEAD/Clang2Sharp.Tests/IndexTests.cs | ghcode:00172:59dfd10887b8 | mit | codeparrot/github-code | 59dfd10887b8a55ab62a745992c8a424b54f33a37c9b68007549b903c2807ce1 | 0.75 | testing_debugging_repair_refactoring | 120 | false | 2026-07-17 |
using System.IO;
using System.Net.Http;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FilePro... | Wyamio/Wyam | tests/core/Wyam.Hosting.Tests/Middleware/VirtualDirectoryMiddlewareTests.cs | https://github.com/Wyamio/Wyam/blob/HEAD/tests/core/Wyam.Hosting.Tests/Middleware/VirtualDirectoryMiddlewareTests.cs | ghcode:00172:433d9ca82db3 | mit | codeparrot/github-code | 433d9ca82db3f85ff62b47887e1e67b0d307e686a30225887163af89a3ab2cfe | 0.85 | testing_debugging_repair_refactoring | 454 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace Platibus.IntegrationTests
{
[Trait("Category", "LoadTests")]
public abstract class SendAndReplyLoadTests
{
protected readonly ITestOutput... | sweetlandj/Platibus | Source/Platibus.IntegrationTests/SendAndReplyLoadTests.cs | https://github.com/sweetlandj/Platibus/blob/HEAD/Source/Platibus.IntegrationTests/SendAndReplyLoadTests.cs | ghcode:00172:47afbaaa34d2 | mit | codeparrot/github-code | 47afbaaa34d29ec7a8982188f54e02041efda2ba460a9306334dabf79fc5e4b6 | 0.75 | testing_debugging_repair_refactoring | 726 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SharpExtensions.UnitTest
{
public partial class StringExtensionsTest
{
[TestMethod]
public void Compress_WithNullSource_ReturnsNull()
{
var source = (string) null;
Assert.IsNull(source.Co... | howej/SharpExtensions | SharpExtensions.UnitTest/StringExtensionsTest.Compress.cs | https://github.com/howej/SharpExtensions/blob/HEAD/SharpExtensions.UnitTest/StringExtensionsTest.Compress.cs | ghcode:00172:54c4bb9377a1 | mit | codeparrot/github-code | 54c4bb9377a1233660ce82af3bd5dee175d1fea0656169efdae984f04c18251c | 0.6 | testing_debugging_repair_refactoring | 102 | false | 2026-07-17 |
using Xunit;
using ASPWiki.Model;
using System.Collections.Generic;
namespace ASPWiki.Tests
{
public class WikiPageTest
{
[Fact]
public void Parent_Should_Return_EmptyString_If_No_Parent()
{
WikiPage wikiPage = new WikiPage("This");
wikiPage.SetPath(null);
... | Kasperki/ASPWiki | test/Model/WikiPageTest.cs | https://github.com/Kasperki/ASPWiki/blob/HEAD/test/Model/WikiPageTest.cs | ghcode:00172:37eb822d3a4c | mit | codeparrot/github-code | 37eb822d3a4c094b197677eacbfb5a75c2d0c105e4939e0c49c93d5eb69c1b73 | 0.6 | testing_debugging_repair_refactoring | 1,117 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Autofac;
using Autofac.Core;
using ChatterBox.Core.Extensions;
namespace ChatterBox.Core.Tests.IoC.Conventions
{
public class AutofacContainerAssertion : AutofacBaseAssertion
{
private readonly Func<Type, bool> _filter;
p... | gertjvr/ChatterBox | src/Tests/ChatterBox.Core.Tests/IoC/Conventions/AutofacContainerAssertion.cs | https://github.com/gertjvr/ChatterBox/blob/HEAD/src/Tests/ChatterBox.Core.Tests/IoC/Conventions/AutofacContainerAssertion.cs | ghcode:00172:6fbdc0dec5f0 | mit | codeparrot/github-code | 6fbdc0dec5f014230c639bbd54e09dc3f41e767f18a66b0d06e6b9492b9347dd | 0.85 | testing_debugging_repair_refactoring | 424 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using NUnit.Framework;
using SIL.Xml;
namespace SIL.Scripture.Tests
{
/// <summary>
/// Text fixture for testing the VerseRef class
/// </summary>
[TestFixture]
public class Verse... | gmartin7/libpalaso | SIL.Scripture.Tests/VerseRefTests.cs | https://github.com/gmartin7/libpalaso/blob/HEAD/SIL.Scripture.Tests/VerseRefTests.cs | ghcode:00172:26bbd9049d5d | mit | codeparrot/github-code | 26bbd9049d5df9074692efcbb5ad0cb365c24621823bed519333c3d72fd23011 | 0.72 | testing_debugging_repair_refactoring | 24,282 | false | 2026-07-17 |
namespace Headless.UnitTests
{
using System;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/// <summary>
/// The <see cref="DynamicHtmlPageTests" />
/// class tests the <see cref="DynamicHtmlPage" /> class.
/// </summary>
[TestClass]
public cla... | roryprimrose/Headless | Headless.UnitTests/DynamicHtmlPageTests.cs | https://github.com/roryprimrose/Headless/blob/HEAD/Headless.UnitTests/DynamicHtmlPageTests.cs | ghcode:00172:b31e9bd700b8 | mit | codeparrot/github-code | b31e9bd700b8e6711a45ace00ac34ea4f9cc55c6b16493f83b3c7015cba98cd9 | 0.85 | testing_debugging_repair_refactoring | 523 | false | 2026-07-17 |
using Nop.Tests;
using NUnit.Framework;
namespace Nop.Data.Tests.Directory
{
[TestFixture]
public class MeasureDimensionPersistenceTests : PersistenceTest
{
[Test]
public void Can_save_and_load_measureDimension()
{
var measureDimension = this.GetTestMeasureDimension();
... | Anovative/Nop39 | Tests/Nop.Data.Tests/Directory/MeasureDimensionPersistenceTests.cs | https://github.com/Anovative/Nop39/blob/HEAD/Tests/Nop.Data.Tests/Directory/MeasureDimensionPersistenceTests.cs | ghcode:00172:ab0c339df1cc | mit | codeparrot/github-code | ab0c339df1ccb9ac31cbe1c4e855d68e890f9476f89da295e9454a06e3b711d3 | 0.75 | testing_debugging_repair_refactoring | 98 | 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.
/*============================================================
**
**
**
** Purpose: The contract class allows for e... | neurospeech/coreclr | src/mscorlib/src/System/Diagnostics/Contracts/Contracts.cs | https://github.com/neurospeech/coreclr/blob/HEAD/src/mscorlib/src/System/Diagnostics/Contracts/Contracts.cs | ghcode:00172:15b97a406b8d | mit | codeparrot/github-code | 15b97a406b8d02777d66b556e2fcc59c235efd5c610d143b37561fe848ed235c | 0.8 | testing_debugging_repair_refactoring | 8,797 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using SharpOptimization.Numeric;
namespace SharpOptimization.UnitTests
{
[TestFixture]
public class MatrixTest
{
... | renehernandez/SharpOptimization | Code/SharpOptimization.UnitTests/MatrixTest.cs | https://github.com/renehernandez/SharpOptimization/blob/HEAD/Code/SharpOptimization.UnitTests/MatrixTest.cs | ghcode:00172:03ddf3461b3e | mit | codeparrot/github-code | 03ddf3461b3e7a18c74cb5c86d074e3ba51aae2de00dbd796da2e139c0767722 | 0.6 | testing_debugging_repair_refactoring | 665 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DropCore.Module.Tests
{
[TestClass]
public class ModuleTypeManagerImplTest
{
[TestMethod]
public void ModuleTypeManagerImpl_Can_Get_Entry_Point_Type_For_Assembly()
{
var manager = new ModuleTypeManagerImpl();... | dropcore/dropcore | DropCore.Module.Tests/ModuleTypeManagerImplTest.cs | https://github.com/dropcore/dropcore/blob/HEAD/DropCore.Module.Tests/ModuleTypeManagerImplTest.cs | ghcode:00172:63e97c398af1 | mit | codeparrot/github-code | 63e97c398af114c78c64a9305f5eb6c223b2173de71dee87b380c4d53e824461 | 0.6 | testing_debugging_repair_refactoring | 82 | false | 2026-07-17 |
using IniParser;
using IniParser.Model;
using NUnit.Framework;
namespace IniParser.Tests.Unit.Model
{
[TestFixture]
public class IniDataCaseInsensitiveTests
{
[Test, Description("Test for Issue 76: https://github.com/rickyah/ini-parser/issues/76")]
public void resolve_case_insensitive_names... | rickyah/ini-parser | src/IniParser.Tests/Unit/Model/IniDataCaseInsensitiveTests.cs | https://github.com/rickyah/ini-parser/blob/HEAD/src/IniParser.Tests/Unit/Model/IniDataCaseInsensitiveTests.cs | ghcode:00172:7ca300c96106 | mit | codeparrot/github-code | 7ca300c96106441c487c58ab5ef33b75944c361da6c3e7e0f8c5812acb45a3eb | 0.75 | testing_debugging_repair_refactoring | 529 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Threading;
usin... | balazssimon/meta-cs | src/Main/MetaDslx.CodeAnalysis.Meta/CodeAnalysis/Compilation/SyntaxTreeSemanticModel.cs | https://github.com/balazssimon/meta-cs/blob/HEAD/src/Main/MetaDslx.CodeAnalysis.Meta/CodeAnalysis/Compilation/SyntaxTreeSemanticModel.cs | ghcode:00172:30fd2e20544e | apache-2.0 | codeparrot/github-code | 30fd2e20544e984957b958288867a253472050ba6d882c171e667de20e701afc | 0.85 | testing_debugging_repair_refactoring | 6,245 | false | 2026-07-17 |
using System;
using System.IO;
using System.Reflection;
using ToolKit.Cryptography;
using Xunit;
namespace UnitTests.Cryptography
{
[System.Diagnostics.CodeAnalysis.SuppressMessage(
"StyleCop.CSharp.DocumentationRules",
"SA1600:ElementsMustBeDocumented",
Justification = "Test Suites do not ... | dcjulian29/toolkit | UnitTests/Cryptography/MD5Tests.cs | https://github.com/dcjulian29/toolkit/blob/HEAD/UnitTests/Cryptography/MD5Tests.cs | ghcode:00172:be6190a5a2f6 | apache-2.0 | codeparrot/github-code | be6190a5a2f6517c8a5b2eee7ae65fac9607051996be47cbffecfae8a565b505 | 0.85 | testing_debugging_repair_refactoring | 1,643 | false | 2026-07-17 |
/*
JustMock Lite
Copyright © 2019 Progress Software 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.apache.org/licenses/LICENSE-2.0
Unless required by appli... | telerik/JustMockLite | Telerik.JustMock.Tests/AfterAllFixture.cs | https://github.com/telerik/JustMockLite/blob/HEAD/Telerik.JustMock.Tests/AfterAllFixture.cs | ghcode:00172:d4edf73e3a70 | apache-2.0 | codeparrot/github-code | d4edf73e3a707535bdc72bc6627075edd26dae268af90f3b00c05b7576997d2f | 0.75 | testing_debugging_repair_refactoring | 1,214 | false | 2026-07-17 |
#region License
/*
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | MaferYangPointJun/Spring.net | test/Spring/Spring.Template.Velocity.Tests/Template/Velocity/Config/TemplateNamespaceParserTests.cs | https://github.com/MaferYangPointJun/Spring.net/blob/HEAD/test/Spring/Spring.Template.Velocity.Tests/Template/Velocity/Config/TemplateNamespaceParserTests.cs | ghcode:00172:b1ceae55a44d | apache-2.0 | codeparrot/github-code | b1ceae55a44d3e1fcf6b01159a701d95c576da1709184570c4785c19ba2660d0 | 0.85 | testing_debugging_repair_refactoring | 2,024 | false | 2026-07-17 |
// Copyright 2014 The Rector & Visitors of the University of Virginia
//
// 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 re... | wesbonelli/sensus | Sensus.Android.Tests/Tests/Exceptions/InsightsInitializerTests.cs | https://github.com/wesbonelli/sensus/blob/HEAD/Sensus.Android.Tests/Tests/Exceptions/InsightsInitializerTests.cs | ghcode:00172:630367c5ac88 | apache-2.0 | codeparrot/github-code | 630367c5ac88187757321df7cca9cb4b3b9e7d122afaef4588ffda079edf45b5 | 0.95 | testing_debugging_repair_refactoring | 201 | false | 2026-07-17 |
using NUnit.Framework;
using numl.Math.LinearAlgebra;
namespace numl.Tests.MathTests
{
[TestFixture, Category("Math")]
public class EvdTests
{
[TestCase(1)]
[TestCase(2)]
[TestCase(3)]
[TestCase(5)]
[TestCase(10)]
[TestCase(20)]
[TestCase(30)]
... | nesfit/NetfoxDetective | Misc/Numl/numl.Tests/MathTests/EvdTests.cs | https://github.com/nesfit/NetfoxDetective/blob/HEAD/Misc/Numl/numl.Tests/MathTests/EvdTests.cs | ghcode:00172:c97fcf1a65e3 | apache-2.0 | codeparrot/github-code | c97fcf1a65e36682df8d63551dcc525aa3e135415ab154b1e050e4e388253c26 | 0.85 | testing_debugging_repair_refactoring | 282 | false | 2026-07-17 |
// Copyright 2015 Tosho Toshev
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | cracker4o/elm327lib | ElmCommunicator/ElmCommunicatorTests/Responses/ObdIIResponses/ShowCurrentData/SupportedPidsResponseTests.cs | https://github.com/cracker4o/elm327lib/blob/HEAD/ElmCommunicator/ElmCommunicatorTests/Responses/ObdIIResponses/ShowCurrentData/SupportedPidsResponseTests.cs | ghcode:00172:a10bdf924db0 | apache-2.0 | codeparrot/github-code | a10bdf924db031f82a8b1f045ab46b4045937b31e43bfe7d09e09b9898f97081 | 0.85 | testing_debugging_repair_refactoring | 407 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Reflection;
namespace Spyder.Client.Images
{
[TestClass]
public class ThumbnailImageBaseTests
{
[TestMethod]
public void GetSmallImageTest()
{
GetImageTest(ImageSize.Small, (image) => image.S... | dsmithson/SpyderClientLibrary | src/SpyderClientLibraryTests/Images/ThumbnailImageBaseTests.cs | https://github.com/dsmithson/SpyderClientLibrary/blob/HEAD/src/SpyderClientLibraryTests/Images/ThumbnailImageBaseTests.cs | ghcode:00172:702902d84a72 | apache-2.0 | codeparrot/github-code | 702902d84a72aec0a57ba34f70435bdca4dfc01d8bf0d07ef69de04ac0894842 | 0.75 | testing_debugging_repair_refactoring | 701 | false | 2026-07-17 |
using System.Linq;
using KeyValueStorage.Utility.Data;
namespace KeyValueStorage.Git.Tests
{
public class Test
{
public Test()
{
}
}
} | Metal10k/KeyValueStorage | Git/KeyValueStorage.Git/Test.cs | https://github.com/Metal10k/KeyValueStorage/blob/HEAD/Git/KeyValueStorage.Git/Test.cs | ghcode:00172:e51707c43363 | apache-2.0 | codeparrot/github-code | e51707c4336395bb9467e25d0be76bb8d0175810fecef3e6c9098c07cfbba587 | 0.5 | testing_debugging_repair_refactoring | 37 | false | 2026-07-17 |
#nullable enable
using System.Threading;
using System.Threading.Tasks;
using ClusterTest.Messages;
using FluentAssertions;
using Proto.Cluster.Identity;
using Proto.Cluster.Metrics;
using Xunit;
namespace Proto.Cluster.Tests
{
public class DummyIdentityLookup : IIdentityLookup
{
private readonly PID _p... | AsynkronIT/protoactor-dotnet | tests/Proto.Cluster.Tests/PidCacheTests.cs | https://github.com/AsynkronIT/protoactor-dotnet/blob/HEAD/tests/Proto.Cluster.Tests/PidCacheTests.cs | ghcode:00172:86faa84195b1 | apache-2.0 | codeparrot/github-code | 86faa84195b18064b057e55c2e40bcf2e68fb1c419dbe8dc0e987807e9033383 | 0.75 | testing_debugging_repair_refactoring | 450 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.