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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
namespace StripeTests
{
using Newtonsoft.Json;
using Stripe;
using Xunit;
public class ChargeTest : BaseStripeTest
{
public ChargeTest(StripeMockFixture stripeMockFixture)
: base(stripeMockFixture)
{
}
[Fact]
public void Deserialize()
{
... | richardlawley/stripe.net | src/StripeTests/Entities/Charges/ChargeTest.cs | https://github.com/richardlawley/stripe.net/blob/HEAD/src/StripeTests/Entities/Charges/ChargeTest.cs | ghcode:00176:bf0983852f3c | apache-2.0 | codeparrot/github-code | bf0983852f3cc76ff2bddbcf467951326294d24c9951e7030027f3b2ac2deb04 | 0.75 | testing_debugging_repair_refactoring | 468 | false | 2026-07-17 |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Smartling.Api.CloudLog;
using Smartling.Api.Model;
namespace Smartling.ApiTests.CloudLog
{
using Buff... | Smartling/api-sdk-net | Smartling.APITests/CloudLog/SmartlingCloudLoggerTests.cs | https://github.com/Smartling/api-sdk-net/blob/HEAD/Smartling.APITests/CloudLog/SmartlingCloudLoggerTests.cs | ghcode:00176:314df448b938 | apache-2.0 | codeparrot/github-code | 314df448b938a8e13364fd5b1a5e0a5b6bad95e9ba026daabfee12c3d79b2048 | 0.85 | testing_debugging_repair_refactoring | 1,382 | 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()
{
... | courtneyklatt/Mjolnir | Hudl.Mjolnir.Tests/Metrics/InterlockingLongCounterTests.cs | https://github.com/courtneyklatt/Mjolnir/blob/HEAD/Hudl.Mjolnir.Tests/Metrics/InterlockingLongCounterTests.cs | ghcode:00176:4eed1c32e58b | apache-2.0 | codeparrot/github-code | 4eed1c32e58b00909c424dcf140091c8486e35f70c27302123cb3ec38aebc3f7 | 0.75 | testing_debugging_repair_refactoring | 207 | false | 2026-07-17 |
#region License
//
// Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com>
//
// 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
/... | yanpearson/fluentmigrator | src/FluentMigrator.Tests/Unit/Runners/ProcessorFactoryTests.cs | https://github.com/yanpearson/fluentmigrator/blob/HEAD/src/FluentMigrator.Tests/Unit/Runners/ProcessorFactoryTests.cs | ghcode:00176:f08a9ea6693f | apache-2.0 | codeparrot/github-code | f08a9ea6693f4a011520bf9acab10f033dc9e86a6c6a79d0bd66482c3766ae75 | 0.85 | testing_debugging_repair_refactoring | 606 | false | 2026-07-17 |
// Copyright 2015 Adamantworks. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | Adamantworks/Amazon.DynamoDB | DynamoDB.Tests/DynamoDBValues/DynamoDBBinaryTests.cs | https://github.com/Adamantworks/Amazon.DynamoDB/blob/HEAD/DynamoDB.Tests/DynamoDBValues/DynamoDBBinaryTests.cs | ghcode:00176:fa5a8a5be505 | apache-2.0 | codeparrot/github-code | fa5a8a5be505ed253e872d81411a50cd3db850f726efd971e7055b9628401a3d | 0.85 | testing_debugging_repair_refactoring | 746 | false | 2026-07-17 |
using System;
namespace Earlz.Btcd.Test
{
public class TestBtcd
{
public TestBtcd ()
{
}
}
}
| Earlz/btcd.net | Btcd.Test/TestBtcd.cs | https://github.com/Earlz/btcd.net/blob/HEAD/Btcd.Test/TestBtcd.cs | ghcode:00176:3ed2e5b580a2 | bsd-2-clause | codeparrot/github-code | 3ed2e5b580a20a6cce433105639a0bb247ef9394d5debec0043fabccd0996a8c | 0.43 | testing_debugging_repair_refactoring | 36 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
namespace AggregateSource.Testing
{
#if NUNIT
/// <summary>
/// NUnit specific extension methods for asserting aggregate query behavior.
/// </summary>
public static class NUnitExtensionsForQueryScenario
#elif XUNIT
/// <summary>
/// Xunit spec... | yreynhout/AggregateSource | src/Testing/AggregateSource.Testing.NUnit/ExtensionsForQueryScenario.cs | https://github.com/yreynhout/AggregateSource/blob/HEAD/src/Testing/AggregateSource.Testing.NUnit/ExtensionsForQueryScenario.cs | ghcode:00176:ed7807d4a03d | bsd-3-clause | codeparrot/github-code | ed7807d4a03db6f4144521aabed15d4f0cf1bf1c0dac191c2dbfc81e3f304126 | 0.85 | testing_debugging_repair_refactoring | 1,108 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.Composition;
using VVVV.PluginInterfaces.V2;
using VVVV.PluginInterfaces.V1;
using VVVV.DX11;
using SlimDXMatrix = SlimDX.Matrix;
using FeralTic.DX11.Resources;
using FeralTic.DX11;
using Cr... | tebjan/CraftLie | src/GetDrawDescriptionDataNode.cs | https://github.com/tebjan/CraftLie/blob/HEAD/src/GetDrawDescriptionDataNode.cs | ghcode:00176:e442390cfdc1 | bsd-3-clause | codeparrot/github-code | e442390cfdc17769d2d76701d7929a3bf0b8789de71bda64ea9dac4ff0d62c00 | 0.7 | testing_debugging_repair_refactoring | 6,689 | false | 2026-07-17 |
using System;
using LinqToTwitter;
using LinqToTwitterXUnitTests.Common;
using LitJson;
using Xunit;
namespace LinqToTwitterXUnitTests.FavoritesTests
{
public class FavoritesCtorTests
{
public FavoritesCtorTests()
{
TestCulture.SetCulture();
}
[Fact]
pu... | JoeMayo/LinqToTwitter | src/LinqToTwitter3/Tests/LinqToTwitterXUnitTests/FavoritesTests/FavoritesCtorTests.cs | https://github.com/JoeMayo/LinqToTwitter/blob/HEAD/src/LinqToTwitter3/Tests/LinqToTwitterXUnitTests/FavoritesTests/FavoritesCtorTests.cs | ghcode:00176:0b3eba0184e3 | mit | codeparrot/github-code | 0b3eba0184e3dc60cee22e579ea8fa9a562edbe0f930222d477f27f10a8a0b6b | 0.85 | testing_debugging_repair_refactoring | 846 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2014 Charlie Poole, Rob Prouse
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restri... | agray/nunit | src/NUnitFramework/tests/Internal/WorkItemQueueTests.cs | https://github.com/agray/nunit/blob/HEAD/src/NUnitFramework/tests/Internal/WorkItemQueueTests.cs | ghcode:00176:fea7c5b50a94 | mit | codeparrot/github-code | fea7c5b50a94cffb6b889eeb0947196040ae1ee881490d3e6d86658f9e6cebc6 | 0.95 | testing_debugging_repair_refactoring | 1,335 | false | 2026-07-17 |
using System.Threading.Tasks;
using NLog.Config;
using NLog.Targets;
using NUnit.Framework;
namespace NLog.Owin.Logging.Tests
{
[TestFixture]
public class OwinDisabledLoggerTest : OwinLoggerTestBase
{
private DebugTarget _debugTargetOnlyFatal;
[OneTimeSetUp]
public void InitConfig(... | NLog/NLog.Owin.Logging | NLog.Owin.Logging.Tests/OwinDisabledLoggerTest.cs | https://github.com/NLog/NLog.Owin.Logging/blob/HEAD/NLog.Owin.Logging.Tests/OwinDisabledLoggerTest.cs | ghcode:00176:44c488e6ee07 | mit | codeparrot/github-code | 44c488e6ee070a353d6c34a16bd3502605fbb63519d55c45909317506ff37d23 | 0.7 | testing_debugging_repair_refactoring | 327 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Xunit;
using static LanguageExt.Prelude;
namespace LanguageExt.Tests.Transformer.Traverse.IEnumerableT.Collections
{
public class HashSetIEnumerable
{
[Fact]
public void EmptyEmptyIsEmptyEmpty()
{
HashSet<IEnumerable... | StanJav/language-ext | LanguageExt.Tests/Transformer/Traverse/IEnumerable/Collections/HashSet.cs | https://github.com/StanJav/language-ext/blob/HEAD/LanguageExt.Tests/Transformer/Traverse/IEnumerable/Collections/HashSet.cs | ghcode:00176:1efcea3d0d04 | mit | codeparrot/github-code | 1efcea3d0d04165c72da21bf48b7f77401fa5957bdd5c4f7a63586bd5c3af62a | 0.75 | testing_debugging_repair_refactoring | 365 | false | 2026-07-17 |
//
// TransparentBinding.cs
//
// Author:
// Chris Howie <me@chrishowie.com>
//
// Copyright (c) 2013 Chris Howie
//
// 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 restricti... | cdhowie/Eluant | Eluant.Tests/TransparentBinding.cs | https://github.com/cdhowie/Eluant/blob/HEAD/Eluant.Tests/TransparentBinding.cs | ghcode:00176:348f7e5dc3b6 | mit | codeparrot/github-code | 348f7e5dc3b60a5a1afebd1b82f4b2f2ad75fc844cc24302a2a2e0753560778d | 0.7 | testing_debugging_repair_refactoring | 668 | 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... | acken/AutoTest.Net | lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitCore/core/TestRunnerThread.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitCore/core/TestRunnerThread.cs | ghcode:00176:60bfe418236d | mit | codeparrot/github-code | 60bfe418236d7aec20c201a1c07047f99be033bc880c2ea50213eda0ae57f85b | 0.95 | testing_debugging_repair_refactoring | 792 | false | 2026-07-17 |
namespace Microsoft.Protocols.TestSuites.MS_WOPI
{
using Microsoft.Protocols.TestSuites.SharedTestSuite;
using Microsoft.Protocols.TestTools;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/// <summary>
/// A class which contains test cases used to capture the requirements related with ServerT... | XinwLi/Interop-TestSuites-1 | FileSyncandWOPI/Source/MS-WOPI/TestSuite/MS-WOPI_S06_ServerTime.cs | https://github.com/XinwLi/Interop-TestSuites-1/blob/HEAD/FileSyncandWOPI/Source/MS-WOPI/TestSuite/MS-WOPI_S06_ServerTime.cs | ghcode:00176:d0788935c50e | mit | codeparrot/github-code | d0788935c50e6481de97f258afbd68d220a41ca5ec6334b875070efc3fa125ef | 0.85 | testing_debugging_repair_refactoring | 844 | 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 System.Text;
using System.Diagnostics;
using System.Threading.Tasks;
using MICore;
using System.Globalization;
n... | wiktork/MIEngine | src/MIDebugEngine/Engine.Impl/Breakpoints.cs | https://github.com/wiktork/MIEngine/blob/HEAD/src/MIDebugEngine/Engine.Impl/Breakpoints.cs | ghcode:00176:698c6d03a57c | mit | codeparrot/github-code | 698c6d03a57c4244c9ffd6c21d76a5448d94bf0222f7633763127952e0766a8c | 0.7 | testing_debugging_repair_refactoring | 2,257 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ActorSelectionSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright... | nvivo/akka.net | src/core/Akka.Tests/Actor/ActorSelectionSpec.cs | https://github.com/nvivo/akka.net/blob/HEAD/src/core/Akka.Tests/Actor/ActorSelectionSpec.cs | ghcode:00176:cbb6a1dc29e7 | apache-2.0 | codeparrot/github-code | cbb6a1dc29e7f103c08a13e292f2e35e8818463ed092a0c41052a64b0cfebc1b | 0.85 | testing_debugging_repair_refactoring | 892 | 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.Diagnostics;
using System.Linq;
namespace Microsoft.CodeAnalysis.Options
{
/// <summary>
... | nguerrera/roslyn | src/Workspaces/Core/Portable/Options/EditorConfig/EditorConfigStorageLocation`1.cs | https://github.com/nguerrera/roslyn/blob/HEAD/src/Workspaces/Core/Portable/Options/EditorConfig/EditorConfigStorageLocation`1.cs | ghcode:00176:1ee89c7b43f5 | apache-2.0 | codeparrot/github-code | 1ee89c7b43f5e523c790df268593cc3590c9c511926ad390c114b9a38cff290e | 0.85 | testing_debugging_repair_refactoring | 758 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Prism.Events;
using Xunit;
namespace Prism.Tests.Events
{
public class EventSubscriptionFixture
{
[Fact]
public void NullTargetInActionThrows()
{
Assert.Throws<ArgumentException>(() =>
{
var ac... | karlfl/Prism | tests/Prism.Core.Tests/Events/EventSubscriptionFixture.cs | https://github.com/karlfl/Prism/blob/HEAD/tests/Prism.Core.Tests/Events/EventSubscriptionFixture.cs | ghcode:00176:1af6f3c79b02 | apache-2.0 | codeparrot/github-code | 1af6f3c79b02a9b5cc7d58cb9505d4a911b0d63805e42b40fae68e6e13d1f044 | 0.75 | testing_debugging_repair_refactoring | 1,768 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OSS.Common.Plugs.CachePlug;
namespace OSS.Common.Tests
{
[TestClass]
public class CacheTests
{
[TestMethod]
public void XmlSerializeTest()
{
var id = CacheUtil.Get<long>("sssss");
}
}
}
| KevinWG/OSS.Common | OSS.Common.Tests/CacheTests.cs | https://github.com/KevinWG/OSS.Common/blob/HEAD/OSS.Common.Tests/CacheTests.cs | ghcode:00176:69d528faeb59 | apache-2.0 | codeparrot/github-code | 69d528faeb59057da02b989457f182aaa7510400329743e3ee7e1af1f5989fa8 | 0.75 | testing_debugging_repair_refactoring | 62 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.IO.IsolatedStorage
{
[SkipOnTargetFramework(TargetFrameworkMonikers.UapAot, "#18... | Petermarcu/corefx | src/System.IO.IsolatedStorage/tests/System/IO/IsolatedStorage/DeleteDirectoryTests.cs | https://github.com/Petermarcu/corefx/blob/HEAD/src/System.IO.IsolatedStorage/tests/System/IO/IsolatedStorage/DeleteDirectoryTests.cs | ghcode:00176:93b02fd269ae | mit | codeparrot/github-code | 93b02fd269ae21163f4c675296eb9377ef27262f4a65a07fa4f7d2ffba1a82c3 | 0.95 | testing_debugging_repair_refactoring | 854 | 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... | zhencui/azure-powershell | src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ThreatDetectionTests.cs | https://github.com/zhencui/azure-powershell/blob/HEAD/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ThreatDetectionTests.cs | ghcode:00176:3f3842395902 | apache-2.0 | codeparrot/github-code | 3f38423959025d9a0d445eda39676d1d91d669b29bf432856b03e04b22ecad28 | 0.85 | testing_debugging_repair_refactoring | 633 | false | 2026-07-17 |
/*
* Farseer Physics Engine:
* Copyright (c) 2012 Ian Qvist
*
* Original source Box2D:
* Copyright (c) 2006-2011 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 t... | Blucky87/Nez | Nez.FarseerPhysics/Farseer/Dynamics/Joints/FixedMouseJoint.cs | https://github.com/Blucky87/Nez/blob/HEAD/Nez.FarseerPhysics/Farseer/Dynamics/Joints/FixedMouseJoint.cs | ghcode:00176:8e2bb5345ae4 | mit | codeparrot/github-code | 8e2bb5345ae41055eecea89db2b4752f62a66783ff1a0e7892627f7571b42476 | 0.7 | testing_debugging_repair_refactoring | 2,201 | false | 2026-07-17 |
#region License
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
... | robertdale/tinkerpop | gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/PParameter.cs | https://github.com/robertdale/tinkerpop/blob/HEAD/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/PParameter.cs | ghcode:00176:c19fffa8d92e | apache-2.0 | codeparrot/github-code | c19fffa8d92e3a5f4718f862206d74230b29921e5349e0172e16c8448b4f5479 | 0.95 | testing_debugging_repair_refactoring | 625 | 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... | yadavbdev/azure-sdk-for-net | src/Authentication/Common.Authentication.Tests/ClientFactoryTests.cs | https://github.com/yadavbdev/azure-sdk-for-net/blob/HEAD/src/Authentication/Common.Authentication.Tests/ClientFactoryTests.cs | ghcode:00176:321a11014d1d | apache-2.0 | codeparrot/github-code | 321a11014d1d351df31e8d1ea5b73de730995cd979d741f9a2929b5d11abf049 | 0.85 | testing_debugging_repair_refactoring | 685 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Funq;
using NUnit.Framework;
using NServiceKit.Common;
using NServiceKit.ServiceClient.Web;
using NServiceKit.ServiceHost;
using NServiceKit.ServiceInterface;
using NServiceKit.WebHost.Endpoints;
namespace NewApi.Todos
{
/// <summary>An application host.<... | NServiceKit/NServiceKit | tests/NServiceKit.WebHost.Endpoints.Tests/NewApiTodos.cs | https://github.com/NServiceKit/NServiceKit/blob/HEAD/tests/NServiceKit.WebHost.Endpoints.Tests/NewApiTodos.cs | ghcode:00176:5306f203ba68 | bsd-3-clause | codeparrot/github-code | 5306f203ba6804e5128b2caebf6034910a4c4759ebef372003c2a7ab7b7c41a8 | 0.85 | testing_debugging_repair_refactoring | 1,426 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.Xml;
using System.IO;
using PdfSharp.Xps.XpsModel;
namespace PdfSharp.Xps.Parsing
{
partial class XpsParser
{
/// <summary>
/// Parses a DocumentReference element.
/// ... | tifa/exammaker | PdfSharp.Xps/PdfSharp.Xps.Parsing/XpsParser.DocumentReference.cs | https://github.com/tifa/exammaker/blob/HEAD/PdfSharp.Xps/PdfSharp.Xps.Parsing/XpsParser.DocumentReference.cs | ghcode:00176:2d97568b8a51 | mit | codeparrot/github-code | 2d97568b8a514664c174c920253018f0172080c9a31a0794c30b517ee1f65cbd | 0.7 | testing_debugging_repair_refactoring | 182 | 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;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
u... | CyrusNajmabadi/roslyn | src/Compilers/CSharp/Portable/FlowAnalysis/NullableWalker_Patterns.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/FlowAnalysis/NullableWalker_Patterns.cs | ghcode:00176:2f93305d4a4e | mit | codeparrot/github-code | 2f93305d4a4ec05dac872dc59ac2dd878583ec3d6b9e634fb2192523bf59ff1c | 0.85 | testing_debugging_repair_refactoring | 8,469 | false | 2026-07-17 |
using Abp.Application.Features;
using Abp.Dependency;
using Abp.UI.Inputs;
namespace Abp.Zero.SampleApp.Features
{
public class AppFeatureProvider : FeatureProvider
{
public const string MyBoolFeature = "MyBoolFeature";
public const string MyNumericFeature = "MyNumericFeature";
... | daywrite/module-zero | src/Tests/Abp.Zero.SampleApp/Features/AppFeatureProvider.cs | https://github.com/daywrite/module-zero/blob/HEAD/src/Tests/Abp.Zero.SampleApp/Features/AppFeatureProvider.cs | ghcode:00176:edc102a645b3 | mit | codeparrot/github-code | edc102a645b30cf8c22ddc8ed14f0f20fd08b60e90e47d86a06f7d322c9d590d | 0.85 | testing_debugging_repair_refactoring | 167 | false | 2026-07-17 |
using Abot.Core;
using NUnit.Framework;
using System;
namespace Abot.Tests.Unit.Core
{
[TestFixture]
public class HapHyperLinkParserTest : HyperLinkParserTest
{
protected override HyperLinkParser GetInstance(bool isRespectMetaRobotsNoFollowEnabled, bool isRespectAnchorRelNoFollowEnabled, Func<stri... | mingzhengshi/abot | Abot.Tests.Unit/Core/HapHyperLinkParserTest.cs | https://github.com/mingzhengshi/abot/blob/HEAD/Abot.Tests.Unit/Core/HapHyperLinkParserTest.cs | ghcode:00176:6fba284e9882 | apache-2.0 | codeparrot/github-code | 6fba284e98825bece9433765c97fb593d4bde2b186bc784398ca3ffb2f57007e | 0.75 | testing_debugging_repair_refactoring | 140 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Abp.Json;
using Abp.Timing;
using Newtonsoft.Json;
using Shouldly;
using Xunit;
namespace Abp.Web.Api.Tests.Controllers.Dynamic
{
public class AbpApiDateTimeConverter_Tests
{
[Theory]
[InlineData("2016-04-13T08:58:10.526Z")]
[Inline... | Tobyee/aspnetboilerplate | test/Abp.Web.Api.Tests/Controllers/Dynamic/AbpApiDateTimeConverter_Tests.cs | https://github.com/Tobyee/aspnetboilerplate/blob/HEAD/test/Abp.Web.Api.Tests/Controllers/Dynamic/AbpApiDateTimeConverter_Tests.cs | ghcode:00176:90a8834b3bad | mit | codeparrot/github-code | 90a8834b3bad9761c12993d6db5bbb1246b6c845e26813436b38c205152b014a | 0.75 | testing_debugging_repair_refactoring | 933 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Cake.Common.Tests.Fixtures.Build;
using Xunit;
namespace Cake.Common.Tests.Unit.Build.TravisCI
{
public ... | gep13/cake | src/Cake.Common.Tests/Unit/Build/TravisCI/TravisCIEnvironmentInfoTests.cs | https://github.com/gep13/cake/blob/HEAD/src/Cake.Common.Tests/Unit/Build/TravisCI/TravisCIEnvironmentInfoTests.cs | ghcode:00176:03313e2f92af | mit | codeparrot/github-code | 03313e2f92afaab82dd52766f92d6a9b8f128602e0feeb25c1657ac966fb5d22 | 0.85 | testing_debugging_repair_refactoring | 289 | 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.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.UnitTests;
usi... | weltkante/roslyn | src/EditorFeatures/CSharpTest/EditAndContinue/RudeEditTopLevelTests.cs | https://github.com/weltkante/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/EditAndContinue/RudeEditTopLevelTests.cs | ghcode:00176:676cf243371f | apache-2.0 | codeparrot/github-code | 676cf243371f027c5afcc80bd51781cff6b18bba95e334da5f5b3a33b7804dda | 0.65 | testing_debugging_repair_refactoring | 56,486 | 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.Immutable;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using System.Reflection;
usi... | jbhensley/roslyn | src/Scripting/Core/ScriptState.cs | https://github.com/jbhensley/roslyn/blob/HEAD/src/Scripting/Core/ScriptState.cs | ghcode:00176:f5d3733ab637 | apache-2.0 | codeparrot/github-code | f5d3733ab63716b1896e6d0b3d1a2e72d213dec5d728d3175b64781f54cd65c3 | 0.85 | testing_debugging_repair_refactoring | 1,472 | false | 2026-07-17 |
using System;
namespace Shouldly.Tests.TestHelpers
{
public class Widget
{
public bool Enabled { get; set; }
public string Name { get; set; }
public override string ToString()
{
return String.Format("Name({0}) Enabled({1})", Name, Enabled);
}
}
} | MitjaBezensek/shouldly | src/Shouldly.Tests/TestHelpers/Widget.cs | https://github.com/MitjaBezensek/shouldly/blob/HEAD/src/Shouldly.Tests/TestHelpers/Widget.cs | ghcode:00176:82d3acd34648 | bsd-3-clause | codeparrot/github-code | 82d3acd34648c22374388e89bed60be91abd710f5786b3f7e32f403479cc9950 | 0.75 | testing_debugging_repair_refactoring | 69 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.CompilerServices;
using Xunit;
public static class RuntimeHelpersTests
{
[F... | mokchhya/corefx | src/System.Runtime/tests/System/Runtime/CompilerServices/RuntimeHelpers.cs | https://github.com/mokchhya/corefx/blob/HEAD/src/System.Runtime/tests/System/Runtime/CompilerServices/RuntimeHelpers.cs | ghcode:00176:a377366a3647 | mit | codeparrot/github-code | a377366a36473359e5e8d7afe54f4eed82ccd296f30d5eb9bb3676418347cb22 | 0.95 | testing_debugging_repair_refactoring | 746 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CodeGen;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using System.Diagnostics;
using Roslyn... | vslsnap/roslyn | src/Compilers/CSharp/Portable/Lowering/LambdaRewriter/SynthesizedLambdaMethod.cs | https://github.com/vslsnap/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/LambdaRewriter/SynthesizedLambdaMethod.cs | ghcode:00176:4f53f29976ea | apache-2.0 | codeparrot/github-code | 4f53f29976ea31e565ebcdd106c8352564737fec65e97c7b6d6af26935983922 | 0.85 | testing_debugging_repair_refactoring | 1,337 | 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.Collections.Generic;
using System.IO;
using Xunit;
namespace System.Security.Cryptography.X509Certificates.Tests
{
public static class ChainTests
... | vidhya-bv/corefx-sorting | src/System.Security.Cryptography.X509Certificates/tests/ChainTests.cs | https://github.com/vidhya-bv/corefx-sorting/blob/HEAD/src/System.Security.Cryptography.X509Certificates/tests/ChainTests.cs | ghcode:00176:c36c0800e509 | mit | codeparrot/github-code | c36c0800e50961038aa1b0f852a8ec13ab11fb8bd8af0ee9c2bfb4fe83e0ab7e | 0.95 | testing_debugging_repair_refactoring | 1,593 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using... | AmadeusW/roslyn | src/Workspaces/Core/Portable/Shared/Utilities/AsyncBatchingWorkQueue.cs | https://github.com/AmadeusW/roslyn/blob/HEAD/src/Workspaces/Core/Portable/Shared/Utilities/AsyncBatchingWorkQueue.cs | ghcode:00176:528df78284ce | apache-2.0 | codeparrot/github-code | 528df78284ce0f198daada2eb32567617520c3bee685223704021da4987a7c79 | 0.85 | testing_debugging_repair_refactoring | 1,515 | 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.
#region Assembly Microsoft.VisualStudio.Debugger.Engine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// References\Debugger\v2.0\Microsof... | bbarry/roslyn | src/ExpressionEvaluator/Core/Test/ResultProvider/Debugger/Engine/DkmEvaluationResultEnumContext.cs | https://github.com/bbarry/roslyn/blob/HEAD/src/ExpressionEvaluator/Core/Test/ResultProvider/Debugger/Engine/DkmEvaluationResultEnumContext.cs | ghcode:00176:05bdd6044156 | apache-2.0 | codeparrot/github-code | 05bdd6044156101cd1c85009783aae7c19bbe8544bdb22d79d0e273407b7a360 | 0.85 | testing_debugging_repair_refactoring | 370 | 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 DefaultIfEmptyTests : EnumerableTests
{
[Fact]
... | gregg-miskelly/corefx | src/System.Linq/tests/DefaultIfEmptyTests.cs | https://github.com/gregg-miskelly/corefx/blob/HEAD/src/System.Linq/tests/DefaultIfEmptyTests.cs | ghcode:00176:3af091ec33ef | mit | codeparrot/github-code | 3af091ec33ef4f93df9eabe743021bec849d39b3bfcbf3227aac172f69e84665 | 0.95 | testing_debugging_repair_refactoring | 734 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.MemoryTests
{
public static partial class ReadOnlyMemoryTests
{
[Fact... | shimingsg/corefx | src/System.Memory/tests/ReadOnlyMemory/ImplicitConversion.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Memory/tests/ReadOnlyMemory/ImplicitConversion.cs | ghcode:00176:ecb263685050 | mit | codeparrot/github-code | ecb2636850500cbd7c463673cfb92fc006edd87818ff60ca2c9cef766723f870 | 0.95 | testing_debugging_repair_refactoring | 715 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
namespace System.Text.Json.Serialization.Tests
{
public static class TestDat... | shimingsg/corefx | src/System.Text.Json/tests/Serialization/TestData.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Text.Json/tests/Serialization/TestData.cs | ghcode:00176:0a9bd5620eac | mit | codeparrot/github-code | 0a9bd5620eac8744413ca975ba3d6108585ac81d396141c67256a2a07b4cac83 | 0.95 | testing_debugging_repair_refactoring | 1,553 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Text.Tests
{
public class UTF8EncodingDecode
... | BrennanConroy/corefx | src/System.Text.Encoding/tests/UTF8Encoding/UTF8EncodingDecode.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Text.Encoding/tests/UTF8Encoding/UTF8EncodingDecode.cs | ghcode:00176:7f4f81be17c9 | mit | codeparrot/github-code | 7f4f81be17c98eefc2d0bff7bece454f515060bea5eddf33d85aa6ac4f0adcf6 | 0.95 | testing_debugging_repair_refactoring | 17,280 | 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.Text;
using System.Threading;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Extension... | cybernet14/roslyn | src/VisualStudio/CSharp/Test/Debugging/ProximityExpressionsGetterTests.cs | https://github.com/cybernet14/roslyn/blob/HEAD/src/VisualStudio/CSharp/Test/Debugging/ProximityExpressionsGetterTests.cs | ghcode:00176:0ce1ccd6a7f1 | apache-2.0 | codeparrot/github-code | 0ce1ccd6a7f13a31b09b00a4d8fbd55776d6887a4f09d8f357375fd1de37704f | 0.95 | testing_debugging_repair_refactoring | 6,244 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Xunit;
using static Interop;
namespace Microsoft.Win32.SystemEventsTests
{
public class Se... | BrennanConroy/corefx | src/Microsoft.Win32.SystemEvents/tests/SystemEvents.SessionEnded.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/Microsoft.Win32.SystemEvents/tests/SystemEvents.SessionEnded.cs | ghcode:00176:36548e4c977a | mit | codeparrot/github-code | 36548e4c977aedd3c0ef74ef271cda41af4dfc1cd75ed2c4c3eab317c0fdc0b5 | 0.95 | testing_debugging_repair_refactoring | 538 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using Azure.AI.Language.QuestionAnswering.Models;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.AI.Language.QuestionAnswering.Tests.Samples
{
public... | AsrOneSdk/azure-sdk-for-net | sdk/cognitivelanguage/Azure.AI.Language.QuestionAnswering/tests/Samples/Sample1_QueryKnowledgeBase.cs | https://github.com/AsrOneSdk/azure-sdk-for-net/blob/HEAD/sdk/cognitivelanguage/Azure.AI.Language.QuestionAnswering/tests/Samples/Sample1_QueryKnowledgeBase.cs | ghcode:00176:444e44a3b1a4 | mit | codeparrot/github-code | 444e44a3b1a4446d843022269200d55d57e32dfa53439af0e2361968790a009b | 0.85 | testing_debugging_repair_refactoring | 474 | false | 2026-07-17 |
using System;
using System.Diagnostics;
namespace SeleniumExamples.Fixtures
{
/// <summary>
/// Starts an IIS Express instance to run the ExampleWebApp.
///
/// Code heavily borrowed from Michael Whelan's blog post and Seleno (MIT license).
/// - Michael Whelan's blog post http://www.michael-whel... | matthewrwilton/SeleniumExamples | SeleniumExamples/Fixtures/WebAppFixture.cs | https://github.com/matthewrwilton/SeleniumExamples/blob/HEAD/SeleniumExamples/Fixtures/WebAppFixture.cs | ghcode:00176:249a905372bf | mit | codeparrot/github-code | 249a905372bfec40aef8e74d839094d75b0d42d8833cce3dc7b4afc68d875ba9 | 0.7 | testing_debugging_repair_refactoring | 386 | false | 2026-07-17 |
using BenchmarkDotNet.Attributes;
using System.IO;
using System.Threading.Tasks;
namespace HttpMultipartParser.Benchmark
{
[MemoryDiagnoser]
[HtmlExporter]
[JsonExporter]
[MarkdownExporter]
public class MultipartFormDataParserBenchmark
{
private readonly Stream small;
private re... | Vodurden/Http-Multipart-Data-Parser | Source/HttpMultipartParser.Benchmark/MultipartFormDataParserBenchmark.cs | https://github.com/Vodurden/Http-Multipart-Data-Parser/blob/HEAD/Source/HttpMultipartParser.Benchmark/MultipartFormDataParserBenchmark.cs | ghcode:00176:78240334baa9 | mit | codeparrot/github-code | 78240334baa98cd40ae5a042b808016ceb44411b135f4d779430ba75daad11c8 | 0.75 | testing_debugging_repair_refactoring | 308 | false | 2026-07-17 |
// Copyright(c) 2007 Andreas Gullberg Larsen
// https://github.com/angularsen/UnitsNet
//
// 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 limitatio... | BrandonLWhite/UnitsNet | UnitsNet.Tests/InterUnitConversionTests.cs | https://github.com/BrandonLWhite/UnitsNet/blob/HEAD/UnitsNet.Tests/InterUnitConversionTests.cs | ghcode:00176:c125bf4683e6 | mit | codeparrot/github-code | c125bf4683e6d2f599d26f867a37dbc06f73c0405874aba17eba1636590e0aca | 0.85 | testing_debugging_repair_refactoring | 393 | 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.Diagnostics;
namespace SlidePuzzleDemo
{
internal class PuzzleLogic
{
public PuzzleLogic(int numRows)
{
... | Microsoft/WPF-Samples | Sample Applications/SlidePuzzleDemo/PuzzleLogic.cs | https://github.com/Microsoft/WPF-Samples/blob/HEAD/Sample Applications/SlidePuzzleDemo/PuzzleLogic.cs | ghcode:00176:98b5e6275958 | mit | codeparrot/github-code | 98b5e6275958dfcabbfbce49622e4d27a878551155abc107e27c1c06d3581aba | 0.7 | testing_debugging_repair_refactoring | 1,227 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using NUnit.Framework;
using SynoDuplicateFolders.Data;
using SynoDuplicateFolders.Data.Core;
using System.Data.Linq;
namespace SynoDuplicateFolders.Test
{
[TestFixture]
public class TestSynoReports
{
#region Input files
private readonly ... | biocoder-frodo/SynoDuplicateFolders | SynoDuplicateFolders.Test/TestSynoReports.cs | https://github.com/biocoder-frodo/SynoDuplicateFolders/blob/HEAD/SynoDuplicateFolders.Test/TestSynoReports.cs | ghcode:00176:b924ef502248 | mit | codeparrot/github-code | b924ef5022481b57f88a8221b65dd0467e336ffc02ee8b8aa401b1e25ba3d0d3 | 0.75 | testing_debugging_repair_refactoring | 2,379 | false | 2026-07-17 |
/*
* SonarScanner for MSBuild
* Copyright (C) 2016-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 o... | duncanpMS/sonar-msbuild-runner | Tests/SonarScanner.MSBuild.Common.UnitTests/AnalysisConfig/AnalysisConfigTests.cs | https://github.com/duncanpMS/sonar-msbuild-runner/blob/HEAD/Tests/SonarScanner.MSBuild.Common.UnitTests/AnalysisConfig/AnalysisConfigTests.cs | ghcode:00176:1642277a3e3c | mit | codeparrot/github-code | 1642277a3e3cb3b04ddced362eda5ef0f815c910ff0d5775edecb115a772cc42 | 0.85 | testing_debugging_repair_refactoring | 2,728 | false | 2026-07-17 |
namespace ExistsForAll.Shepherd.SimpleInjector.UnitTests.Subjects
{
public interface ISingleImplService
{
}
}
| existall/Shepherd | src/tests/ExistsForAll.Shepherd.SimpleInjector.UnitTests.Subjects/ISingleImplService.cs | https://github.com/existall/Shepherd/blob/HEAD/src/tests/ExistsForAll.Shepherd.SimpleInjector.UnitTests.Subjects/ISingleImplService.cs | ghcode:00176:07cc007c6956 | mit | codeparrot/github-code | 07cc007c6956fb312e6ea6997d47caf05d29a0e0cd77be0d8702a567677469f1 | 0.45 | testing_debugging_repair_refactoring | 26 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
#if !FEATURE_EVENTWAITHANDLE_DISPOSE
using Renci.SshNet.Common;
#endif // !FEATURE_EVENTWAITHANDLE_DISPOSE
using Renci.SshNet.Abstractions;
using Renci.SshNet.Sftp;
using System;
using System.Diagnostics;
using System.Threading;
using BufferedRead = Renci.... | Bloomcredit/SSH.NET | src/Renci.SshNet.Tests/Classes/Sftp/SftpFileReaderTest_DisposeShouldUnblockReadAndReadAhead.cs | https://github.com/Bloomcredit/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileReaderTest_DisposeShouldUnblockReadAndReadAhead.cs | ghcode:00176:4c124a8087d1 | mit | codeparrot/github-code | 4c124a8087d129d742d1f753eed66beeaa931ff11b9ba129ed749032ca164e01 | 0.7 | testing_debugging_repair_refactoring | 1,125 | false | 2026-07-17 |
// PolygonTest.cs, 07.11.2019
// Copyright (C) Dominic Beger 07.11.2019
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SharpMath.Geometry;
namespace SharpMath.Tests
{
[TestClass]
public class PolygonTest
{
[TestMethod]
public void CanCalculateArea()
{
... | ProgTrade/SharpMath | SharpMath.Tests/PolygonTest.cs | https://github.com/ProgTrade/SharpMath/blob/HEAD/SharpMath.Tests/PolygonTest.cs | ghcode:00176:9fe1c4c13b70 | mit | codeparrot/github-code | 9fe1c4c13b7012dc82e6b2a8aea69f9c4807e1ffbe37e495148141bdd7d4eab9 | 0.6 | testing_debugging_repair_refactoring | 469 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2012-2015 Charlie Poole
//
// 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, ... | danielmarbach/nunit | src/NUnitFramework/framework/Internal/Tests/Test.cs | https://github.com/danielmarbach/nunit/blob/HEAD/src/NUnitFramework/framework/Internal/Tests/Test.cs | ghcode:00176:8ea0e9353927 | mit | codeparrot/github-code | 8ea0e9353927269631b78c9de29ca5d2489aed3c32e2d2f94fd45bd13437a033 | 0.95 | testing_debugging_repair_refactoring | 2,911 | false | 2026-07-17 |
namespace Oxide.Ext.BriansMod.Tests
{
using Moq;
using Services;
using Services.Contracts;
using Xunit;
public class InjuriesTests
{
[Fact]
public void should_work()
{
}
private class Factory
{
public readonly Mock<ILogger> LoggerMock;
public readonly Mock<IPlayers> PlayersMock;
public rea... | bgourlie/BriansMod | Oxide.Ext.BriansMod.Tests/InjuriesTests.cs | https://github.com/bgourlie/BriansMod/blob/HEAD/Oxide.Ext.BriansMod.Tests/InjuriesTests.cs | ghcode:00176:e29e30593570 | mit | codeparrot/github-code | e29e305935709e1fc2e6cb4b024935a889baa2e74102881b845f01df925437bb | 0.75 | testing_debugging_repair_refactoring | 171 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2007 Charlie Poole
//
// 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, ... | zoon/nunit-unity3d | Assets/Plugins/NUnitLite/NUnitLite-0.7.0/Constraints/ExactTypeConstraint.cs | https://github.com/zoon/nunit-unity3d/blob/HEAD/Assets/Plugins/NUnitLite/NUnitLite-0.7.0/Constraints/ExactTypeConstraint.cs | ghcode:00176:d67f6f9f9afa | mit | codeparrot/github-code | d67f6f9f9afa2bfdff1afde959544ea2bd36c89a2f018d53f715e4fc50cf4c82 | 0.85 | testing_debugging_repair_refactoring | 517 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Sugar.Tests
{
[TestFixture, Category("Unit Test")]
public class StaticRequireTests
{
private readonly object _concern = new object();
[Test]
public void ThatMethodThrowsExceptionWithFalseCondition()
{
... | TylerKendrick/Sugar.Core | Sugar.Tests/StaticRequireTests.cs | https://github.com/TylerKendrick/Sugar.Core/blob/HEAD/Sugar.Tests/StaticRequireTests.cs | ghcode:00176:18ae35c9557d | mit | codeparrot/github-code | 18ae35c9557d5409323bd011ed374fac9f16346a49eb6df5cddbfe534267000e | 0.75 | testing_debugging_repair_refactoring | 192 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace MsTestToXunitConverter.xUnit
{
class TestClass
{
public void TestIsNull()
{
int? x = null;
Assert.Null(x);
}
}
} | jschneidereit/MsTestToXunitConverter | MsTestToXunitConverter.xUnit/Resources/AssertInvocations/TestIsNull.out.cs | https://github.com/jschneidereit/MsTestToXunitConverter/blob/HEAD/MsTestToXunitConverter.xUnit/Resources/AssertInvocations/TestIsNull.out.cs | ghcode:00176:48fe5b3ec6c5 | mit | codeparrot/github-code | 48fe5b3ec6c529892247553a8c32fc92c033dcd117677c872edfdc464d74289d | 0.75 | testing_debugging_repair_refactoring | 67 | false | 2026-07-17 |
using System;
using System.Data;
using System.Linq;
using AdventureWorks.Dal.EntityClasses;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AdventureWorks.Web.Tests._01_Predicates
{
[TestClass]
public class TransactionsTests : BaseUnitTest
{
[TestMethod]
public void UpdateEmp... | net-industry/llblgen-training | AdventureWorks.Web.Tests/08-TransactionsUnitOfWork/TransactionsTests.cs | https://github.com/net-industry/llblgen-training/blob/HEAD/AdventureWorks.Web.Tests/08-TransactionsUnitOfWork/TransactionsTests.cs | ghcode:00176:af53394f598c | mit | codeparrot/github-code | af53394f598ca3005a87850357332984f30677efcbe327dcfa2aba41019d4eb1 | 0.75 | testing_debugging_repair_refactoring | 216 | false | 2026-07-17 |
using NUnit.Framework;
using Vanara.PInvoke;
namespace Vanara.InteropServices.Tests
{
[TestFixture()]
public class SafeNativeArrayTests
{
[Test()]
public void Test()
{
var a1 = new SafeNativeArray<RECT>(20);
Assert.That(a1.Count, Is.EqualTo(20));
Assert.That(a1[5], Is.EqualTo(new RECT()));
a1.Add... | dahall/vanara | UnitTests/PInvoke/Shared/InteropServices/SafeNativeArrayTests.cs | https://github.com/dahall/vanara/blob/HEAD/UnitTests/PInvoke/Shared/InteropServices/SafeNativeArrayTests.cs | ghcode:00176:f4c2e2f0521c | mit | codeparrot/github-code | f4c2e2f0521c4ac6924bdefec281328fe074c2278434169a9e3382e8de82b91e | 0.75 | testing_debugging_repair_refactoring | 315 | false | 2026-07-17 |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#if NET5_0 || NETCOREAPP2_1... | karolz-ms/diagnostics-eventflow | test/Microsoft.Diagnostics.EventFlow.Inputs.Tests/ActivitySourceInputTests.cs | https://github.com/karolz-ms/diagnostics-eventflow/blob/HEAD/test/Microsoft.Diagnostics.EventFlow.Inputs.Tests/ActivitySourceInputTests.cs | ghcode:00176:387848e9f9e6 | mit | codeparrot/github-code | 387848e9f9e62f414e4995d08287f6dc96e8f5e45df0132a3c04211a0878d54a | 0.85 | testing_debugging_repair_refactoring | 7,595 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading;
using Contentful.Core.Models;
using Contentful.Core.Search;
using FluentAssertions;
using Moq;
using StockportContentApi.Config;
using StockportContentApi.Model;
using StockportContentApi.Repositories;
using Xunit;
using Sto... | smbc-digital/iag-contentapi | test/StockportContentApiTests/Unit/Repositories/ContactUsAreaRepositoryTest.cs | https://github.com/smbc-digital/iag-contentapi/blob/HEAD/test/StockportContentApiTests/Unit/Repositories/ContactUsAreaRepositoryTest.cs | ghcode:00176:cc1b99ac88af | mit | codeparrot/github-code | cc1b99ac88af1751d1ab54aee789f813d86e86628618c4f9576ff5803d17140e | 0.85 | testing_debugging_repair_refactoring | 963 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using FluentAssertions;
using NUnit.Framework;
namespace Workshell.PE.Tests
{
[TestFixture]
public sealed class GeneralTests
{
[Test]
public void IsValid_With_Text_File_Returns_False()
... | Workshell/pe | tests/Workshell.PE.Tests/GeneralTests.cs | https://github.com/Workshell/pe/blob/HEAD/tests/Workshell.PE.Tests/GeneralTests.cs | ghcode:00176:2b221e5e2719 | mit | codeparrot/github-code | 2b221e5e2719ea40f23ecac024ad7252b48b29b96ee94817e3555a0f8db27f06 | 0.75 | testing_debugging_repair_refactoring | 830 | false | 2026-07-17 |
using System.IO;
using System.Linq;
using BackupSharp.Sources;
using NUnit.Framework;
using TestSharp;
namespace BackupSharp.FunctionalTests
{
[TestFixture()]
[Category("Functional")]
public class LocalFolderBackupSourceTest
{
#region Fields
private LocalFolderBackupSource... | giacomelli/BackupSharp | src/BackupSharp.FunctionalTests/Sources/LocalFolderBackupSourceTest.cs | https://github.com/giacomelli/BackupSharp/blob/HEAD/src/BackupSharp.FunctionalTests/Sources/LocalFolderBackupSourceTest.cs | ghcode:00176:3ed3cc5f95ab | mit | codeparrot/github-code | 3ed3cc5f95abedb302f74a471e0491eaaab238c88fbb119325b5957195577cb9 | 0.6 | testing_debugging_repair_refactoring | 320 | false | 2026-07-17 |
namespace ExRam.Gremlinq.Tests.Entities
{
public abstract class Edge
{
public object? Id { get; set; }
public string? Label { get; set; }
}
}
| ExRam/ExRam.Gremlinq | test/ExRam.Gremlinq.Tests.Entities/Edges/Edge.cs | https://github.com/ExRam/ExRam.Gremlinq/blob/HEAD/test/ExRam.Gremlinq.Tests.Entities/Edges/Edge.cs | ghcode:00176:87a79d6ca988 | mit | codeparrot/github-code | 87a79d6ca988504bfaa2efc01dc416a0e1cc4d2c797fb88fc8164a7a52df71a7 | 0.5 | testing_debugging_repair_refactoring | 44 | false | 2026-07-17 |
using System;
using System.Threading;
using System.Threading.Tasks;
using ComposableAsync.Concurrent.Collections;
using ComposableAsync.Concurrent.Fibers;
using ComposableAsync.Concurrent.WorkItems;
using FluentAssertions;
using Xunit;
using Xunit.Abstractions;
namespace ComposableAsync.Concurrent.Test.Fibers
{
p... | David-Desmaisons/EasyActor | Tests/ComposableAsync.Concurrent.Test/Fibers/MonoThreadedFiberTest.cs | https://github.com/David-Desmaisons/EasyActor/blob/HEAD/Tests/ComposableAsync.Concurrent.Test/Fibers/MonoThreadedFiberTest.cs | ghcode:00176:dcbebdf46f0f | mit | codeparrot/github-code | dcbebdf46f0f5e4aebce8ff18c026e65ce011e778ca06f6347f5598f12e5d0b3 | 0.6 | testing_debugging_repair_refactoring | 218 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using InstallerLib;
using dotNetUnitTestsRunner;
using System.IO;
namespace dotNetInstallerUnitTests
{
[TestFixture]
public class SelectionUnitTests
{
[Test]
public void TestDefaultSelect... | baSSiLL/dotnetinstaller | UnitTests/dotNetInstallerUnitTests/SelectionUnitTests.cs | https://github.com/baSSiLL/dotnetinstaller/blob/HEAD/UnitTests/dotNetInstallerUnitTests/SelectionUnitTests.cs | ghcode:00176:df0213ce81d9 | mit | codeparrot/github-code | df0213ce81d9679e71fa8cc58b566510dfc33aec7f9875bc3edc36a55079364c | 0.85 | testing_debugging_repair_refactoring | 775 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using RestSharp;
using System.Collections.Generic;
using System.Linq;
using System.Net;
namespace TempoDB.Tests
{
public static class TestCommon
{
public static TempoDB GetClient(RestClient restClient)
{
return new TempoDB(new Database("id"), new C... | tempodb/tempodb-net | TempoDB.Tests/src/TestCommon.cs | https://github.com/tempodb/tempodb-net/blob/HEAD/TempoDB.Tests/src/TestCommon.cs | ghcode:00176:d1b0eaedb060 | mit | codeparrot/github-code | d1b0eaedb06045e41bb5db42a0f897dfd6f1d8e699e48682c5558e480f827d62 | 0.85 | testing_debugging_repair_refactoring | 339 | false | 2026-07-17 |
/*
* Box2D.XNA port of Box2D:
* Copyright (c) 2009 Brandon Furtwangler, Nathan Furtwangler
*
* Original source Box2D:
* Copyright (c) 2006-2009 Erin Catto http://www.gphysics.com
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable fo... | GretelF/squircle | thirdparty/Box2D/Box2D.XNA.TestBed/Tests/Bridge.cs | https://github.com/GretelF/squircle/blob/HEAD/thirdparty/Box2D/Box2D.XNA.TestBed/Tests/Bridge.cs | ghcode:00176:7889627df31d | mit | codeparrot/github-code | 7889627df31d5be2d3d6be10575f5bd39dc1cd1b439b9a17d7c9f02d221fd7c3 | 0.85 | testing_debugging_repair_refactoring | 1,045 | false | 2026-07-17 |
#pragma warning disable CS0618
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Exceptions;
using DSharpPlus.Entities;
using DSharpPlus.EventAr... | Emzi0767/DSharpPlus | DSharpPlus.Test/TestBot.cs | https://github.com/Emzi0767/DSharpPlus/blob/HEAD/DSharpPlus.Test/TestBot.cs | ghcode:00176:ad8220ba9a8a | mit | codeparrot/github-code | ad8220ba9a8a7ce7b160c5aec3e992aca42aeb08f5252835bfe9e7378c12e13f | 0.85 | testing_debugging_repair_refactoring | 1,967 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using NSubstitute;
using Xunit;
namespace Octokit.Tests.Clients
{
public class IssuesEventsClientTests
{
public class TheCtor
{
[Fact]
public void EnsuresNonNullArguments()
{
Assert.Throws<ArgumentN... | devkhan/octokit.net | Octokit.Tests/Clients/IssuesEventsClientTests.cs | https://github.com/devkhan/octokit.net/blob/HEAD/Octokit.Tests/Clients/IssuesEventsClientTests.cs | ghcode:00176:5de3cd3f0ab3 | mit | codeparrot/github-code | 5de3cd3f0ab33a30ad63c04d745e32ea3870fc5329c10abd935ffedcca680750 | 0.75 | testing_debugging_repair_refactoring | 969 | false | 2026-07-17 |
using System;
using System.IO;
using System.Collections.Generic;
using System.Text;
using System.Xml;
//using Axiom.Core;
//using Axiom.Serialization;
using System.Diagnostics;
using Microsoft.Win32;
namespace Multiverse.AssetRepository
{
public enum AssetTypeEnum {
None = 0,
Mesh,
Material,
SpeedTree,
... | longde123/MultiversePlatform | lib/AssetRepository/AssetRepository.cs | https://github.com/longde123/MultiversePlatform/blob/HEAD/lib/AssetRepository/AssetRepository.cs | ghcode:00176:df3e673adcac | mit | codeparrot/github-code | df3e673adcac1fdab5ca398d74ba0a921f6bcd8f5bd7fb9cc86c6bc6218abc81 | 0.72 | testing_debugging_repair_refactoring | 18,882 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Kontur.Courses.Testing.Patterns.Exercise
{
[TestFixture]
public class TextDocumentTests
{
private const string DefaultText = "hello world";
private TextDocument doc;
[SetUp]
public void SetUp()
{
doc = new TextDocument(DefaultText);
}
[Test]
publi... | xoposhiy/testing-course | Patterns/Exercise/TextDocumentTests.cs | https://github.com/xoposhiy/testing-course/blob/HEAD/Patterns/Exercise/TextDocumentTests.cs | ghcode:00176:74161fdbea5d | cc0-1.0 | codeparrot/github-code | 74161fdbea5d03f109afdc04d5e43550be37c0c88755df7391b3aa6c12903bad | 0.68 | testing_debugging_repair_refactoring | 281 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using Akka.TestKit.Internal;
namespace Akka.TestKit
{
public abstract partial class TestKitBase
{
/// <summary>
/// Receives messages until <paramref ... | forki/akka.net | src/core/Akka.TestKit/TestKitBase_Receive.cs | https://github.com/forki/akka.net/blob/HEAD/src/core/Akka.TestKit/TestKitBase_Receive.cs | ghcode:00176:26f1ede1687c | apache-2.0 | codeparrot/github-code | 26f1ede1687cae21f0b7ed8f781d9759cc3fbfabd6ef4491fce17f79ec7dd775 | 0.85 | testing_debugging_repair_refactoring | 3,012 | false | 2026-07-17 |
#region License
/*
* Copyright © 2002-2011 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... | spring-projects/spring-net | test/Spring/Spring.Aop.Tests/Aspects/Cache/CacheResultAdviceTests.cs | https://github.com/spring-projects/spring-net/blob/HEAD/test/Spring/Spring.Aop.Tests/Aspects/Cache/CacheResultAdviceTests.cs | ghcode:00176:f27ffe4f77f3 | apache-2.0 | codeparrot/github-code | f27ffe4f77f3bb14fd147deee61d52b144fd1379a72cb1cd018b90d8a3454191 | 0.85 | testing_debugging_repair_refactoring | 4,301 | false | 2026-07-17 |
using System.Collections.Generic;
using Inforigami.Regalo.Messaging;
namespace Inforigami.Regalo.Core.Tests.Unit
{
public class CommandHandledByMultipleHandlers
{
public readonly IList<object> HandlersThatHandledThisMessage = new List<object>();
}
} | nbarnwell/Inforigami.Regalo | Inforigami.Regalo.Core.Tests.Unit/CommandHandledByMultipleHandlers.cs | https://github.com/nbarnwell/Inforigami.Regalo/blob/HEAD/Inforigami.Regalo.Core.Tests.Unit/CommandHandledByMultipleHandlers.cs | ghcode:00176:75202b755988 | apache-2.0 | codeparrot/github-code | 75202b7559883c185a94c1577e22a821181138959e3d0b1ca9806bbee1707eec | 0.75 | testing_debugging_repair_refactoring | 56 | 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/Connector/CachingResolverTests.cs | https://github.com/ali-ince/neo4j-dotnet-driver/blob/HEAD/Neo4j.Driver/Neo4j.Driver.Tests/Connector/CachingResolverTests.cs | ghcode:00176:cd5ae6b59d7d | apache-2.0 | codeparrot/github-code | cd5ae6b59d7d1f62fbcac25acb74309cca6f41a658ac7bb8d60c051bcc7b768c | 0.85 | testing_debugging_repair_refactoring | 860 | false | 2026-07-17 |
#region Apache License Notice
// Copyright © 2014, Silverlake Software LLC
//
// 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
//
// ... | ProxyFoo/ProxyFoo | source/ProxyFoo.Tests/Subjects/ProperyStoreSubjectTests.cs | https://github.com/ProxyFoo/ProxyFoo/blob/HEAD/source/ProxyFoo.Tests/Subjects/ProperyStoreSubjectTests.cs | ghcode:00176:9bbe5db1035f | apache-2.0 | codeparrot/github-code | 9bbe5db1035f5b945eb6cfb81559ef108ac28b3937adf12e0b87ef0b58c4928d | 0.85 | testing_debugging_repair_refactoring | 324 | false | 2026-07-17 |
// SampSharp
// Copyright 2017 Tim Potze
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... | Seprum/SampSharp | src/SampSharp.UnitTests/SAMP/Commands/CommandPathTest.cs | https://github.com/Seprum/SampSharp/blob/HEAD/src/SampSharp.UnitTests/SAMP/Commands/CommandPathTest.cs | ghcode:00176:05bbccad3aef | apache-2.0 | codeparrot/github-code | 05bbccad3aef2d1f3111f15162bce4d8d4f7c106efeb66affd8fc93f77b1474f | 0.85 | testing_debugging_repair_refactoring | 329 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Reactive.Streams;
using NUnit.Framework;
namespace Reactive4.NET.Test.Tck
{
[TestFixture]
class FlowableTimeout1Tck : FlowableVerification<int>
{
public override IPublisher<int... | akarnokd/Reactive4.NET | Reactive4.NET.Test/tck/FlowableTimeout1Tck.cs | https://github.com/akarnokd/Reactive4.NET/blob/HEAD/Reactive4.NET.Test/tck/FlowableTimeout1Tck.cs | ghcode:00176:9e74606d27be | apache-2.0 | codeparrot/github-code | 9e74606d27beaea03e9f86894eaeb0c8d5e55f5b5a8c840d81acef7d6638c746 | 0.6 | testing_debugging_repair_refactoring | 98 | false | 2026-07-17 |
/*
Copyright (c) 2003-2016 Niels Kokholm, Peter Sestoft, and Rasmus Lystrøm
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... | laimis/lucenenet | src/Lucene.Net.Tests/Support/C5/Events.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Support/C5/Events.cs | ghcode:00176:5691a887cc54 | apache-2.0 | codeparrot/github-code | 5691a887cc544573c0e771ffb191118f6c4468646cf654687e272ebf5f6c4a68 | 0.85 | testing_debugging_repair_refactoring | 8,815 | false | 2026-07-17 |
using System;
using Serilog.Sinks.MSSqlServer.Platform;
using Serilog.Sinks.MSSqlServer.Tests.TestUtils;
using Xunit;
namespace Serilog.Sinks.MSSqlServer.Tests.Platform
{
[Trait(TestCategory.TraitName, TestCategory.Unit)]
public class AzureManagedServiceAuthenticatorTests
{
[Fact]
public v... | serilog/serilog-sinks-mssqlserver | test/Serilog.Sinks.MSSqlServer.Tests/Sinks/MSSqlServer/Platform/AzureManagedServiceAuthenticatorStubTests.cs | https://github.com/serilog/serilog-sinks-mssqlserver/blob/HEAD/test/Serilog.Sinks.MSSqlServer.Tests/Sinks/MSSqlServer/Platform/AzureManagedServiceAuthenticatorStubTests.cs | ghcode:00176:b69efbfc0f45 | apache-2.0 | codeparrot/github-code | b69efbfc0f45b03fae3aeb03bbab798a469acd77439e1e87bfd45cfb3eb3f64e | 0.75 | testing_debugging_repair_refactoring | 173 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="AssociateEntitiesActivityFixture.cs" company="Rare Crowds Inc">
// Copyright 2012-2013 Rare Crowds, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in co... | chinnurtb/OpenAdStack-1 | EntityActivities/EntityActivitiesUnitTests/AssociateEntitiesActivityFixture.cs | https://github.com/chinnurtb/OpenAdStack-1/blob/HEAD/EntityActivities/EntityActivitiesUnitTests/AssociateEntitiesActivityFixture.cs | ghcode:00176:20916dc06a0a | apache-2.0 | codeparrot/github-code | 20916dc06a0ae6ff2594554090523bb8099b26b170fa1a3de52bd706d432b6a0 | 0.85 | testing_debugging_repair_refactoring | 888 | false | 2026-07-17 |
using DevLab.JmesPath.Expressions;
namespace jmespath.net.tests.Expressions
{
using FactAttribute = Xunit.FactAttribute;
public class JmesPathPipeExpressionTest : JmesPathExpressionsTestBase
{
/*
* http://jmespath.org/specification.html#pipe-expressions
*
* s... | jdevillard/JmesPath.Net | tests/jmespathnet.tests/Expressions/JmesPathPipeExpressionTest.cs | https://github.com/jdevillard/JmesPath.Net/blob/HEAD/tests/jmespathnet.tests/Expressions/JmesPathPipeExpressionTest.cs | ghcode:00176:81875faf599e | apache-2.0 | codeparrot/github-code | 81875faf599ee66f5958a0f05ccc39c8c70bfc397ff071f0cedebf9b31c899c2 | 0.6 | testing_debugging_repair_refactoring | 529 | false | 2026-07-17 |
using Nest;
using Tests.Framework.Integration;
using Tests.Framework.MockData;
namespace Tests.QueryDsl.Geo.DistanceRange
{
public class GeoDistanceRangeUsageTests : QueryDslUsageTestsBase
{
public GeoDistanceRangeUsageTests(ReadOnlyCluster i, EndpointUsage usage) : base(i, usage) { }
protected override object... | TheFireCookie/elasticsearch-net | src/Tests/QueryDsl/Geo/DistanceRange/GeoDistanceRangeQueryUsageTests.cs | https://github.com/TheFireCookie/elasticsearch-net/blob/HEAD/src/Tests/QueryDsl/Geo/DistanceRange/GeoDistanceRangeQueryUsageTests.cs | ghcode:00176:53bf74193c11 | apache-2.0 | codeparrot/github-code | 53bf74193c11f6c2468b16f0637bb21713f2836cac4fbb4fc74e525b1d0290de | 0.85 | testing_debugging_repair_refactoring | 631 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Net.Http.Headers;
using Xun... | aspnet/AspNetCore | src/Mvc/test/Mvc.FunctionalTests/TempDataPropertyTest.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/Mvc.FunctionalTests/TempDataPropertyTest.cs | ghcode:00176:2b4421a1bfbf | apache-2.0 | codeparrot/github-code | 2b4421a1bfbfd80336850c6234594a85b1d9752b17026448954db2fa73b9211c | 0.95 | testing_debugging_repair_refactoring | 1,246 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Stripe.Client.Sdk.Clients;
using Stripe.Client.Sdk.Models.Filters;
using System;
using System.Linq;
namespace Stripe.Client.Sdk.Tests.Models.Filters
{
[TestClass]
public class OrderListFilterTests
{
private OrderListF... | smiggleworth/Stripe.Client | src/Stripe.Client.Sdk.Tests/Models/Filters/OrderListFilterTests.cs | https://github.com/smiggleworth/Stripe.Client/blob/HEAD/src/Stripe.Client.Sdk.Tests/Models/Filters/OrderListFilterTests.cs | ghcode:00176:1b3231c4e744 | apache-2.0 | codeparrot/github-code | 1b3231c4e744e42ea4e38f1cc9106163d14853cc5e908af275dff6b32f810459 | 0.85 | testing_debugging_repair_refactoring | 1,970 | false | 2026-07-17 |
namespace Elders.Cronus.Migration.Middleware.Tests.TestModel.Bar
{
public class TestAggregateRootStateBar : AggregateRootState<TestAggregateRootBar, BarId>
{
public string UpdatableField { get; private set; }
public override BarId Id { get; set; }
public void When(TestCreateEventBar e... | Elders/Cronus | src/Elders.Cronus.Tests/Migrations/TestModel/Bar/TestAggregateRootStateBar.cs | https://github.com/Elders/Cronus/blob/HEAD/src/Elders.Cronus.Tests/Migrations/TestModel/Bar/TestAggregateRootStateBar.cs | ghcode:00176:1bb951ac6352 | apache-2.0 | codeparrot/github-code | 1bb951ac635262f590cf4fd3b653fee032e1c759f7acd034c8501375162e8b9e | 0.75 | testing_debugging_repair_refactoring | 110 | false | 2026-07-17 |
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//... | Microsoft/PTVS | Python/Tests/DjangoTests/DjangoTemplateParserTests.cs | https://github.com/Microsoft/PTVS/blob/HEAD/Python/Tests/DjangoTests/DjangoTemplateParserTests.cs | ghcode:00176:c9ec525d2190 | apache-2.0 | codeparrot/github-code | c9ec525d21901014c841f03c9664a1f3ea5c724f3869bed104e5963e7be00c57 | 0.95 | testing_debugging_repair_refactoring | 7,634 | false | 2026-07-17 |
//Copyright (c) 2007. Clarius Consulting, Manas Technology Solutions, InSTEDD
//http://code.google.com/p/moq/
//All rights reserved.
//Redistribution and use in source and binary forms,
//with or without modification, are permitted provided
//that the following conditions are met:
// * Redistributions of source... | mbrit/MoqForWinRT | Source/Mock.cs | https://github.com/mbrit/MoqForWinRT/blob/HEAD/Source/Mock.cs | ghcode:00176:3988e8e673ef | bsd-3-clause | codeparrot/github-code | 3988e8e673ef63e4c1ac965773211f3e4d560584dafdccab7a6cafabfa3d6958 | 0.85 | testing_debugging_repair_refactoring | 7,051 | false | 2026-07-17 |
using System.Diagnostics.Contracts;
[ContractClass(typeof(SampleAbstractClassContract))]
internal abstract class SampleAbstractClass{off}
{
public abstract void MethodWithPrecondition(string s);
public abstract string MethodWithPostcondition();
public abstract string PropertyWithPostcondition { get; }
}
[... | Diagonactic/ReSharperContractExtensions | ReSharper.ContractExtensions.Tests/test/data/Intentions/ContextActions/ContractFor/04_UnavailableOnAbstractClass.cs | https://github.com/Diagonactic/ReSharperContractExtensions/blob/HEAD/ReSharper.ContractExtensions.Tests/test/data/Intentions/ContextActions/ContractFor/04_UnavailableOnAbstractClass.cs | ghcode:00176:d7937cae1ec5 | mit | codeparrot/github-code | d7937cae1ec52a563195880c20856aa8a4e347c671446635313794704ab1b89d | 0.85 | testing_debugging_repair_refactoring | 152 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Melanchall.DryWetMidi.Core;
using Melanchall.DryWetMidi.Interaction;
using NUnit.Framework;
namespace Melanchall.DryWetMidi.Tests.Interaction
{
internal static class TimeSpanTestUtilities
{
#region Nested classes
private sealed class Metri... | melanchall/drywetmidi | DryWetMidi.Tests/Interaction/TimeSpan/TimeSpanTestUtilities.cs | https://github.com/melanchall/drywetmidi/blob/HEAD/DryWetMidi.Tests/Interaction/TimeSpan/TimeSpanTestUtilities.cs | ghcode:00176:1782f1e40c0e | mit | codeparrot/github-code | 1782f1e40c0ec3c4abc682e8dd2d989e4cc27a0e5989d0e6311d0a9fb7d63d0d | 0.85 | testing_debugging_repair_refactoring | 3,113 | false | 2026-07-17 |
using TrafficCop.Core;
namespace TrafficCop.Tests
{
public class TestRegistration : TrafficCopRegistration
{
}
} | JosephWoodward/TrafficCop | TrafficCop.Tests/TestRegistration.cs | https://github.com/JosephWoodward/TrafficCop/blob/HEAD/TrafficCop.Tests/TestRegistration.cs | ghcode:00176:fdf4b0e66ad6 | mit | codeparrot/github-code | fdf4b0e66ad673a1946a9779694bc4a34fb2e283d756fd657ca124868ee1793c | 0.35 | testing_debugging_repair_refactoring | 26 | false | 2026-07-17 |
#region Copyright Preamble
//
// Copyright © 2015 NCode Group
//
// 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
//
/... | NCodeGroup/NCode.Scanners | src/NCode.Scanners.Test/AppDomainTests.cs | https://github.com/NCodeGroup/NCode.Scanners/blob/HEAD/src/NCode.Scanners.Test/AppDomainTests.cs | ghcode:00176:825ddafd6325 | apache-2.0 | codeparrot/github-code | 825ddafd63253ecc7f9ef79b727f3a7a108bcc458b3148a98513402b10e1021a | 0.85 | testing_debugging_repair_refactoring | 679 | false | 2026-07-17 |
/* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice... | xenserver/xenadmin | XenAdminTests/ArchiveTests/ThirdPartyArchiveWriterTests.cs | https://github.com/xenserver/xenadmin/blob/HEAD/XenAdminTests/ArchiveTests/ThirdPartyArchiveWriterTests.cs | ghcode:00176:37bb48e594d6 | bsd-2-clause | codeparrot/github-code | 37bb48e594d676c2f8b822cca7a7c9fd2c5b56cf57becc823676837e22392123 | 0.78 | testing_debugging_repair_refactoring | 1,008 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2017 Charlie Poole, Rob Prouse
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restri... | jadarnel27/nunit | src/NUnitFramework/tests/Internal/ParamAttributeTypeConversionTests.cs | https://github.com/jadarnel27/nunit/blob/HEAD/src/NUnitFramework/tests/Internal/ParamAttributeTypeConversionTests.cs | ghcode:00176:6dde178d3baf | mit | codeparrot/github-code | 6dde178d3baf41516353194aa9286c0cf619cd79c824095f54aff2e77b88bfda | 0.95 | testing_debugging_repair_refactoring | 780 | false | 2026-07-17 |
// Copyright (c) DNN Software. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using Dnn.DynamicContent;
using DotNetNuke.Tests.Utilities;
using Moq;
using NUnit.Framework;
namespace Dn... | raphael-m/Dnn.Platform | DNN Platform/Tests/Dnn.Tests.DynamicContent.UnitTests/DynamicContentTypeTests.cs | https://github.com/raphael-m/Dnn.Platform/blob/HEAD/DNN Platform/Tests/Dnn.Tests.DynamicContent.UnitTests/DynamicContentTypeTests.cs | ghcode:00176:2e98cb421665 | mit | codeparrot/github-code | 2e98cb421665dd30d96ad6e431c7b525b2f079bbcc28fe6dd4e8254503cfedac | 0.95 | testing_debugging_repair_refactoring | 1,183 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.