text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using System;
using Ghpr.Core.Core.Common;
using NUnit.Framework;
namespace Ghpr.Tests.Core.Common
{
[TestFixture]
public class TestCaseFullDtoTests
{
[Test]
public void Init()
{
var t = new TestCaseFullDto();
Assert.AreEqual("", t.ParentId);
Ass... | GHPReporter/Ghpr.Core | Ghpr.Tests/Core/Common/TestCaseFullDtoTests.cs | https://github.com/GHPReporter/Ghpr.Core/blob/HEAD/Ghpr.Tests/Core/Common/TestCaseFullDtoTests.cs | ghcode:00162:d41bfe343923 | mit | codeparrot/github-code | d41bfe3439231b5a08863b4e81ed4201fb40bf656dff8a02cf4b11a60e962439 | 0.75 | testing_debugging_repair_refactoring | 182 | false | 2026-07-17 |
using Jsonics;
using NUnit.Framework;
namespace JsonicsTests.FromJsonTests
{
[TestFixture]
public class LongTests
{
IJsonConverter<LongClass> _propertyFactory;
IJsonConverter<long> _valueFactory;
public class LongClass
{
public long Property
... | trampster/Jsonics | JsonicsTest/FromJsonTests/LongTests.cs | https://github.com/trampster/Jsonics/blob/HEAD/JsonicsTest/FromJsonTests/LongTests.cs | ghcode:00162:0c37fbc558f5 | mit | codeparrot/github-code | 0c37fbc558f599f1699385b699eb30b1c61d08958b1e9d70549a7b3feb122330 | 0.85 | testing_debugging_repair_refactoring | 297 | false | 2026-07-17 |
//
// SiteIdentityPermissionAttributeTest.cs -
// NUnit Test Cases for SiteIdentityPermissionAttribute
//
// Author:
// Sebastien Pouliot <sebastien@ximian.com>
//
// (C) 2003 Motus Technologies Inc. (http://www.motus.com)
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, f... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Security.Permissions/SiteIdentityPermissionAttributeTest.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Security.Permissions/SiteIdentityPermissionAttributeTest.cs | ghcode:00162:33f0f57a6df0 | mit | codeparrot/github-code | 33f0f57a6df08f4fd89c98e7c4709dcc777f296b7e1f1a97a23434f753ac240e | 0.95 | testing_debugging_repair_refactoring | 1,337 | false | 2026-07-17 |
// * **************************************************************************
// * Copyright (c) McCreary, Veselka, Bragg & Allen, P.C.
// * This source code is subject to terms and conditions of the MIT License.
// * A copy of the license can be found in the License.txt file
// * at the root of this distributio... | mvbalaw/FluentWebControls | src/FluentWebControls.Tests/ButtonDataTest.cs | https://github.com/mvbalaw/FluentWebControls/blob/HEAD/src/FluentWebControls.Tests/ButtonDataTest.cs | ghcode:00162:7e96835856a3 | mit | codeparrot/github-code | 7e96835856a37ccbea5870da3fb670578c97f667f51fa5ca4d58e307af6cc03c | 0.7 | testing_debugging_repair_refactoring | 2,961 | false | 2026-07-17 |
// This file was auto-generated based on version 1.2.0 of the canonical data.
using System;
using Xunit;
public class CircularBufferTests
{
[Fact]
public void Reading_empty_buffer_should_fail()
{
var buffer = new CircularBuffer<int>(capacity: 1);
Assert.Throws<InvalidOperationException>(()... | robkeim/xcsharp | exercises/circular-buffer/CircularBufferTests.cs | https://github.com/robkeim/xcsharp/blob/HEAD/exercises/circular-buffer/CircularBufferTests.cs | ghcode:00162:0dc1e290c1b7 | mit | codeparrot/github-code | 0dc1e290c1b72a553b02d653ce77e2d1acaaa5353d588e18c38a2d690c4535d6 | 0.75 | testing_debugging_repair_refactoring | 1,070 | false | 2026-07-17 |
using System.Threading;
using L4p.Common.Extensions;
using NUnit.Framework;
namespace L4p.Common.Schedulers._nunit
{
[TestFixture]
class DeferredCallTests
{
[Test, Explicit]
public void should_be_delayed()
{
bool done = false;
DeferredCall.Start(200.Millisec... | Kidify/L4p | L4p.Common/Schedulers/_nunit/DeferredCallTests.cs | https://github.com/Kidify/L4p/blob/HEAD/L4p.Common/Schedulers/_nunit/DeferredCallTests.cs | ghcode:00162:144b55c9f9f8 | mit | codeparrot/github-code | 144b55c9f9f8d93dc44a4a4d5c77028e165eeb527cf116f6df6ba92c3805b305 | 0.75 | testing_debugging_repair_refactoring | 122 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Json5.Tests.Stringifying
{
[TestClass]
public class NumberTests
{
[TestMethod]
public void NumbersTest()
{
var s = Json5.Stringify(-1.2);
Assert.AreEqual("-1.2", s);
}
[TestMethod]... | json5/json5-dotnet | Json5.Tests/Stringifying/NumberTests.cs | https://github.com/json5/json5-dotnet/blob/HEAD/Json5.Tests/Stringifying/NumberTests.cs | ghcode:00162:a42f79521a37 | mit | codeparrot/github-code | a42f79521a37af360051c6ca318bb4c8b4ac630b440b2cfcb28990dfadacffac | 0.75 | testing_debugging_repair_refactoring | 119 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FluentAssertions;
using NSaga;
using Xunit;
using System.Reflection;
namespace Tests.Composition
{
public class InternalContainerWireupTests
{
[Theory]
[InlineData(typeof(ISagaMediator), typeof(SagaMediator))]
[InlineData(typeof(ISa... | AMVSoftware/NSaga | src/Tests/Composition/InternalContainerWireupTests.cs | https://github.com/AMVSoftware/NSaga/blob/HEAD/src/Tests/Composition/InternalContainerWireupTests.cs | ghcode:00162:68f24ae3de80 | mit | codeparrot/github-code | 68f24ae3de80d58a28d726b5cf5d8eb1cc374cf6f45999183c4677eaccbc4176 | 0.95 | testing_debugging_repair_refactoring | 828 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using SME;
using SME.Components;
using SME.VHDL;
namespace ExternalComponent
{
public class SimpleDualPortBlockRamTester<TData> : SimulationProcess
{
private readonly SimpleDualPortMemory<TData> m_bram;
private readonly TDa... | kenkendk/sme | src/Examples/ExternalComponent/SimpleDualPortBlockRamTester.cs | https://github.com/kenkendk/sme/blob/HEAD/src/Examples/ExternalComponent/SimpleDualPortBlockRamTester.cs | ghcode:00162:a89bde8f9916 | mit | codeparrot/github-code | a89bde8f991661daaedc0b367ff5c8ae1519c0e2928ebbc79e320fc87f10ec7e | 0.85 | testing_debugging_repair_refactoring | 863 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics.CodeAnalysis;
namespace NBenchmarker.Tests
{
[TestClass]
public class BenchmarkResultTests
{
Trial trial;
BenchmarkResult result;
[TestInitialize]
public void TestInitialize()
... | rvernagus/NBenchmarker | src/NBenchmarker/NBenchmarker.Tests/BenchmarkResultTests.cs | https://github.com/rvernagus/NBenchmarker/blob/HEAD/src/NBenchmarker/NBenchmarker.Tests/BenchmarkResultTests.cs | ghcode:00162:c70bbe80252d | mit | codeparrot/github-code | c70bbe80252de5f673b7979289387e986e62bf36725f502b0047ca41f76f5105 | 0.85 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Serialization;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Configgy.Coercion;
namespace Configgy.Tests.Coercion
{
[TestClass]
[ExcludeFromCodeCoverage]
public class JsonCoercerTests
{
[T... | bungeemonkee/Configgy | Configgy.Tests/Coercion/JsonCoercerTests.cs | https://github.com/bungeemonkee/Configgy/blob/HEAD/Configgy.Tests/Coercion/JsonCoercerTests.cs | ghcode:00162:a664d48ca709 | mit | codeparrot/github-code | a664d48ca709bcb7469339bd8ae6a1dd2e0b2616f5e8110ca3fa88bcc90a2c29 | 0.75 | testing_debugging_repair_refactoring | 482 | false | 2026-07-17 |
using DnDGen.TreasureGen.Items;
using DnDGen.TreasureGen.Tables;
using NUnit.Framework;
namespace DnDGen.TreasureGen.Tests.Integration.Tables.Items.Levels
{
[TestFixture]
public class Level26ItemsTests : TypeAndAmountPercentileTests
{
protected override string tableName
{
get {... | DnDGen/TreasureGen | DnDGen.TreasureGen.Tests.Integration.Tables/Items/Levels/Level26ItemsTests.cs | https://github.com/DnDGen/TreasureGen/blob/HEAD/DnDGen.TreasureGen.Tests.Integration.Tables/Items/Levels/Level26ItemsTests.cs | ghcode:00162:216512220d98 | mit | codeparrot/github-code | 216512220d98f10039aa234184b4ff6c5839e4b0877ce5a1cd70cebb96fe9a71 | 0.85 | testing_debugging_repair_refactoring | 282 | false | 2026-07-17 |
namespace Microsoft.Protocols.TestSuites.MS_SITESS
{
using System;
using Microsoft.Protocols.TestSuites.Common;
using Microsoft.Protocols.TestTools;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/// <summary>
/// The partial test class contains test case definitions related to Get... | OfficeDev/Interop-TestSuites | SharePoint/Source/MS-SITESS/TestSuite/S06_GetSite.cs | https://github.com/OfficeDev/Interop-TestSuites/blob/HEAD/SharePoint/Source/MS-SITESS/TestSuite/S06_GetSite.cs | ghcode:00162:3e0054d28765 | mit | codeparrot/github-code | 3e0054d287653675759781a02c332b057cee52cd48b48913377b9dfdb5d9a0f3 | 0.85 | testing_debugging_repair_refactoring | 2,379 | false | 2026-07-17 |
using DnDGen.TreasureGen.Coins;
using DnDGen.TreasureGen.Generators;
using DnDGen.TreasureGen.Generators.Items;
using DnDGen.TreasureGen.Generators.Items.Magical;
using DnDGen.TreasureGen.Generators.Items.Mundane;
using DnDGen.TreasureGen.Goods;
using DnDGen.TreasureGen.Items;
using DnDGen.TreasureGen.Items.Magical;
u... | DnDGen/TreasureGen | DnDGen.TreasureGen.Tests.Integration.IoC/Modules/GeneratorsModuleTests.cs | https://github.com/DnDGen/TreasureGen/blob/HEAD/DnDGen.TreasureGen.Tests.Integration.IoC/Modules/GeneratorsModuleTests.cs | ghcode:00162:fc6a11ae2ad7 | mit | codeparrot/github-code | fc6a11ae2ad70e907415dda6610263737baa52b1fabc1ce8bccd8387b839af7a | 0.75 | testing_debugging_repair_refactoring | 904 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TestObjectBuilder
{
/// <summary>
/// An ordered list of TestObjectConstructorArguments.
/// </summary>
public class TestObjectConstructorArgumentList : System.Collections.CollectionBase
{
/// <... | tdpreece/TestObjectBuilderCsharp | TestObjectBuilder/TestObjectConstructorArgumentList.cs | https://github.com/tdpreece/TestObjectBuilderCsharp/blob/HEAD/TestObjectBuilder/TestObjectConstructorArgumentList.cs | ghcode:00162:a3c54b2b71a5 | mit | codeparrot/github-code | a3c54b2b71a5af6630f458372d28d1c0e6990268b2a939485be277b8f512d245 | 0.85 | testing_debugging_repair_refactoring | 192 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 James Newton-King
//
// 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,... | jlvaquero/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/Utilities/ConvertUtilsTests.cs | https://github.com/jlvaquero/Newtonsoft.Json/blob/HEAD/Src/Newtonsoft.Json.Tests/Utilities/ConvertUtilsTests.cs | ghcode:00162:4a54dc10a583 | mit | codeparrot/github-code | 4a54dc10a5834fcced485d95b868f22f6fc7b2710191f62e53e937b79302f4bc | 0.85 | testing_debugging_repair_refactoring | 3,871 | false | 2026-07-17 |
using System.Data.Entity;
using System.Data.Entity.SqlServer;
namespace SEV.Samples.DAL
{
public class TestDbConfiguration : DbConfiguration
{
public TestDbConfiguration()
{
SetExecutionStrategy("System.Data.SqlClient", () => new SqlAzureExecutionStrategy());
}
}
} | sev15/SEVFramework | Tests/SEV.FWK.Service.Tests/TestDbConfiguration.cs | https://github.com/sev15/SEVFramework/blob/HEAD/Tests/SEV.FWK.Service.Tests/TestDbConfiguration.cs | ghcode:00162:4c003fb08fdc | mit | codeparrot/github-code | 4c003fb08fdc204c633cb0f0fed0c985517003594d350ec8c6274c15c1391602 | 0.75 | testing_debugging_repair_refactoring | 62 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Text.Json;
using Azure.Security.KeyVault.Tests;
using NUnit.Framework;
namespace Azure.Security.KeyVault.Certificates.Tests
{
public class CertificateIssuerTests
{
[Test]
... | hyonholee/azure-sdk-for-net | sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/CertificateIssuerTests.cs | https://github.com/hyonholee/azure-sdk-for-net/blob/HEAD/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/CertificateIssuerTests.cs | ghcode:00162:372688b33c51 | mit | codeparrot/github-code | 372688b33c513aeb9265805416964db40be75a18dd1af20f84fccca6aaac6241 | 0.85 | testing_debugging_repair_refactoring | 472 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.ApplicationInsights.Metrics;
//using Microsoft.ApplicationInsights.Metrics.Extensibility;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.ApplicationInsights.Metrics.Extensibility... | Microsoft/ApplicationInsights-SDK-Labs | Metrics/Tests/Microsoft.ApplicationInsights.Metrics.Core.Test/UnitTest1.cs | https://github.com/Microsoft/ApplicationInsights-SDK-Labs/blob/HEAD/Metrics/Tests/Microsoft.ApplicationInsights.Metrics.Core.Test/UnitTest1.cs | ghcode:00162:d6ac32e7b9fa | mit | codeparrot/github-code | d6ac32e7b9fa4523f4bc3e1de97e7ecaf445b65ec9de3252da7bd79acf384b6e | 0.95 | testing_debugging_repair_refactoring | 732 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace adrilight.Tests
{
[TestClass]
public class UserSettingsManagerTests
{
[TestMethod]
public void Save_and_Load_work()
{
var manager = new UserSettingsManager();
var settings = manager... | fabsenet/adrilight | adrilight.Tests/UserSettingsManagerTests.cs | https://github.com/fabsenet/adrilight/blob/HEAD/adrilight.Tests/UserSettingsManagerTests.cs | ghcode:00162:71ea1d19419b | mit | codeparrot/github-code | 71ea1d19419bd1f9dad956e1c8a14c0a1600a60b5a41cecceea704e6b13c396b | 0.75 | testing_debugging_repair_refactoring | 162 | false | 2026-07-17 |
using System;
using System.Linq;
using Castle.Windsor;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using vlko.BlogModule.RavenDB.Repository;
using vlko.core.InversionOfControl;
using vlko.core.Repository;
using vlko.BlogModule.Action;
using vlko.BlogModule.Roots;
namespace vlko.BlogModule.RavenDB.Tests.Model
... | vlko/jobs | vlko.BlogModule.RavenDB.Tests/Model/TwitterStatusActionsTest.cs | https://github.com/vlko/jobs/blob/HEAD/vlko.BlogModule.RavenDB.Tests/Model/TwitterStatusActionsTest.cs | ghcode:00162:6e60cd4409cb | mit | codeparrot/github-code | 6e60cd4409cb7ee85505d2d101f47ff4973dac203bc1d6616e8dfd8c28dd434a | 0.6 | testing_debugging_repair_refactoring | 1,481 | false | 2026-07-17 |
// Author(s): Sébastien Lorion
using NLight.IO.Text;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
namespace NLight.Tests.Unit.IO.Text.DelimitedRecordReaderTests
{
public class IDataReaderTests
: NLight.Tests.Unit.BCL.Data.IDataReaderTests
{
public v... | slorion/nlight | src/NLight.Tests.Unit/IO/Text/DelimitedRecordReaderTests/IDataReaderTests.cs | https://github.com/slorion/nlight/blob/HEAD/src/NLight.Tests.Unit/IO/Text/DelimitedRecordReaderTests/IDataReaderTests.cs | ghcode:00162:2bfc2c141ef0 | mit | codeparrot/github-code | 2bfc2c141ef0b74497b9cd040f55a4a585691348046eb798e617607a1a86a34f | 0.75 | testing_debugging_repair_refactoring | 429 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using Shouldly;
using Xunit;
namespace AutoMapper.UnitTests.Mappers
{
namespace ReadOnlyCollections
{
public class When_mapping_to_interface_readonly_collection : AutoMapperSpecB... | AutoMapper/AutoMapper | src/UnitTests/Mappers/ReadOnlyCollectionMapperTests.cs | https://github.com/AutoMapper/AutoMapper/blob/HEAD/src/UnitTests/Mappers/ReadOnlyCollectionMapperTests.cs | ghcode:00162:be1696eb3d64 | mit | codeparrot/github-code | be1696eb3d64ccca26027d41a964fb565217141bf3b6febca97188a2bfc8a4ac | 0.75 | testing_debugging_repair_refactoring | 1,839 | false | 2026-07-17 |
using Microsoft.SharePoint.Client;
using Microsoft.SharePoint.Client.Taxonomy;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OfficeDevPnP.Core.Enums;
using OfficeDevPnP.Core.Framework.Provisioning.Model;
using OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers;
using OfficeDevPnP.Core.Framework.Provis... | phillipharding/PnP-Sites-Core | Core/OfficeDevPnP.Core.Tests/Framework/Functional/TermGroupTests.cs | https://github.com/phillipharding/PnP-Sites-Core/blob/HEAD/Core/OfficeDevPnP.Core.Tests/Framework/Functional/TermGroupTests.cs | ghcode:00162:5cac798e7e83 | mit | codeparrot/github-code | 5cac798e7e83e1dc3c6f2c15f6382377c5bc6c90500c18047185010c27d7fb7f | 0.85 | testing_debugging_repair_refactoring | 1,471 | false | 2026-07-17 |
using UnityEngine.Rendering;
using System;
namespace UnityEngine.Experimental.Rendering.HDPipeline
{
public class SharedRTManager
{
// The render target used when we do not support MSAA
RTHandleSystem.RTHandle m_NormalRT = null;
RTHandleSystem.RTHandle m_MotionVectorsRT = null;
... | Unity-Technologies/ScriptableRenderLoop | com.unity.render-pipelines.high-definition/Runtime/Material/SharedRTManager.cs | https://github.com/Unity-Technologies/ScriptableRenderLoop/blob/HEAD/com.unity.render-pipelines.high-definition/Runtime/Material/SharedRTManager.cs | ghcode:00162:8b837655e261 | mit | codeparrot/github-code | 8b837655e261cdab7f3003a21e4279cb1745f713830ebe3c928c5fcf843c6617 | 0.85 | testing_debugging_repair_refactoring | 3,474 | false | 2026-07-17 |
using NUnit.Framework;
using System.Threading.Tasks;
namespace SFA.DAS.CommitmentsV2.UnitTests.Services.EditValidation
{
public class CostValidationTests
{
[Test]
public async Task Cost_Should_Not_Be_Empty()
{
var fixture = new EditApprenticeshipValidationServiceTestsFixtur... | SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Services/EditValidation/CostValidationTests.cs | https://github.com/SkillsFundingAgency/das-commitments/blob/HEAD/src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Services/EditValidation/CostValidationTests.cs | ghcode:00162:edc7f451d19e | mit | codeparrot/github-code | edc7f451d19e36d2398514b573b349737fb0f2cbb1b00c0daf92af291090bc82 | 0.75 | testing_debugging_repair_refactoring | 614 | false | 2026-07-17 |
using System.ComponentModel;
using Moq;
using NUnit.Framework;
namespace CompiledValidators.Tests
{
[TestFixture]
public class DataErrorInfoValidationExpressionConverterTests
{
private DataErrorInfoValidationExpressionConverter _sut;
[TestFixtureSetUp]
public void SetUp()
... | danielmoore/CompiledValidators | CompiledValidators.Tests/DataErrorInfoValidationExpressionConverterTests.cs | https://github.com/danielmoore/CompiledValidators/blob/HEAD/CompiledValidators.Tests/DataErrorInfoValidationExpressionConverterTests.cs | ghcode:00162:dd406685680e | mit | codeparrot/github-code | dd406685680ea86bf507f0b96ed9dd9b32240e9bbe7a21e37f90e9b4509d8886 | 0.75 | testing_debugging_repair_refactoring | 197 | false | 2026-07-17 |
namespace Hangman.Tests
{
using Logic.Utils;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class WordInitializerTests
{
[TestMethod]
public void WordIsCreatedRandomly()
{
var wordOne = new WordInitializer();
var w... | YaneYosifov/Hangman-Game-Teamwork | src/Hangman.Tests/Utils/WordInitializerTests.cs | https://github.com/YaneYosifov/Hangman-Game-Teamwork/blob/HEAD/src/Hangman.Tests/Utils/WordInitializerTests.cs | ghcode:00162:9f1b3484bcc5 | mit | codeparrot/github-code | 9f1b3484bcc51c643e071c01b4e5d2c4d6e7f921e7357d4bd3c4e29a48d8b1e6 | 0.75 | testing_debugging_repair_refactoring | 153 | false | 2026-07-17 |
using EC.SystemExtensions;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EC.SystemExtensionsTest
{
[TestClass]
public class HasImplemented
{
public interface IAnimal { }
public abstract class Mammal : IAnimal
{
}
public cla... | gBritz/Extensions-Contrib | ExtensionsContrib/EC.SystemExtensionsTest/HasImplemented.cs | https://github.com/gBritz/Extensions-Contrib/blob/HEAD/ExtensionsContrib/EC.SystemExtensionsTest/HasImplemented.cs | ghcode:00162:fe1525f97178 | unlicense | codeparrot/github-code | fe1525f97178b8ceeebed2a64ccbec1170dfb529bd21cd8a44dd5d20113ffe2b | 0.53 | testing_debugging_repair_refactoring | 176 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Threading.Tasks;
using RazorLight.Razor;
using System.Linq;
namespace RazorLight.Tests.Razor
{
public class TestRazorProject : RazorLightProject
{
public RazorLightProjectItem Value { get; set; }
public override Task<IEnumerable<RazorLightProjectItem>> GetImportsA... | toddams/RazorLight | tests/RazorLight.Tests/Razor/TestRazorProjectItem.cs | https://github.com/toddams/RazorLight/blob/HEAD/tests/RazorLight.Tests/Razor/TestRazorProjectItem.cs | ghcode:00162:78cb421f2b7e | apache-2.0 | codeparrot/github-code | 78cb421f2b7e4f77d840c2923b8f30ac53911487020c3ec0d6136d287662e776 | 0.75 | testing_debugging_repair_refactoring | 123 | false | 2026-07-17 |
namespace NServiceBus.Transport.Kafka.Tests
{
using System.Threading.Tasks;
using Extensibility;
using NUnit.Framework;
using Transport;
using Transport.Kafka.Tests;
using System;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
using Sys... | pablocastilla/NServiceBus.Kafka | src/NServiceBus.Kafka.Tests/When_subscribed_to_a_event.cs | https://github.com/pablocastilla/NServiceBus.Kafka/blob/HEAD/src/NServiceBus.Kafka.Tests/When_subscribed_to_a_event.cs | ghcode:00162:49446e505d1c | apache-2.0 | codeparrot/github-code | 49446e505d1cf52621bd3bd69c9815b6acc63f67af4102f59fb3bfe70145419d | 0.7 | testing_debugging_repair_refactoring | 2,048 | false | 2026-07-17 |
using System.IO;
using System.Runtime.CompilerServices;
namespace NppGist.Tests
{
public static class TestUtils
{
public static string ProjectDir { get; private set; }
static TestUtils()
{
InitProjectDir();
}
public static string ReadDataFile(string fileNa... | KvanTTT/NppGist | NppGist.Tests/TestUtils.cs | https://github.com/KvanTTT/NppGist/blob/HEAD/NppGist.Tests/TestUtils.cs | ghcode:00162:8bdfab36bf57 | apache-2.0 | codeparrot/github-code | 8bdfab36bf5766a0d6287e24053214e5946c85b51e288aead79ebf9d7dbe4e55 | 0.75 | testing_debugging_repair_refactoring | 112 | false | 2026-07-17 |
using BenchmarkDotNet.Running;
using System;
namespace Aardvark.Base.Benchmarks
{
public class Program
{
public static void Main(string[] args)
{
//BenchmarkRunner.Run<V4fLength>();
//BenchmarkRunner.Run<V3fLeng
//BenchmarkRunner.Run<V2fLength>();
... | vrvis/aardvark.base | src/Tests/Aardvark.Base.Benchmarks/Program.cs | https://github.com/vrvis/aardvark.base/blob/HEAD/src/Tests/Aardvark.Base.Benchmarks/Program.cs | ghcode:00162:fbacc5ed67ce | apache-2.0 | codeparrot/github-code | fbacc5ed67cecbf4dbf9ce6d2fa1ea9c9770144ef807db73c1fafc4b5fc576f5 | 0.95 | testing_debugging_repair_refactoring | 600 | false | 2026-07-17 |
// Copyright 2021 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... | googleapis/dotnet-spanner-nhibernate | Google.Cloud.Spanner.NHibernate.IntegrationTests/VersioningTests.cs | https://github.com/googleapis/dotnet-spanner-nhibernate/blob/HEAD/Google.Cloud.Spanner.NHibernate.IntegrationTests/VersioningTests.cs | ghcode:00162:7c387617cb16 | apache-2.0 | codeparrot/github-code | 7c387617cb1665f3d0a001ce864fd3dff73630b13a2f6c934bba020dae3f85a6 | 0.85 | testing_debugging_repair_refactoring | 1,656 | false | 2026-07-17 |
using System;
using OpenADK.Library;
using OpenADK.Library.us.Infrastructure;
using OpenADK.Library.us.Common;
using OpenADK.Library.Impl;
using OpenADK.Library.Infra;
using OpenADK.Library.us.Student;
using OpenADK.Library.Global;
using OpenADK.Library.Tools.XPath;
using NUnit.Framework;
using Library.UnitTesting.Fram... | open-adk/OpenADK-csharp | nunit/us/src/OpenADK/SifResponseSenderTests.cs | https://github.com/open-adk/OpenADK-csharp/blob/HEAD/nunit/us/src/OpenADK/SifResponseSenderTests.cs | ghcode:00162:412fb8400bbb | apache-2.0 | codeparrot/github-code | 412fb8400bbb8cb2f31a87eef96796a1d33964332220cfaae8b078f510d0908b | 0.95 | testing_debugging_repair_refactoring | 3,320 | false | 2026-07-17 |
using UnityEngine;
public class NotAvailableDueToNoNonAllocTest : MonoBehaviour
{
public void Method()
{
Physics.Raycast(new Ray(Vector3.zero, Vector3.back));
}
}
| JetBrains/resharper-unity | resharper/resharper-unity/test/data/Unity/CSharp/Intentions/QuickFixes/PreferNonAllocApi/Availability/NotAvailableDueToNoNonAllocTest02.cs | https://github.com/JetBrains/resharper-unity/blob/HEAD/resharper/resharper-unity/test/data/Unity/CSharp/Intentions/QuickFixes/PreferNonAllocApi/Availability/NotAvailableDueToNoNonAllocTest02.cs | ghcode:00162:08d2fa432f2f | apache-2.0 | codeparrot/github-code | 08d2fa432f2fe697aa68205a188be01366acb46a993ff3d5368d42bebfc5a903 | 0.6 | testing_debugging_repair_refactoring | 40 | false | 2026-07-17 |
// <copyright file="IncomingRequestsCollectionsIsAccordingToTheSpecTests.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry 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 L... | open-telemetry/opentelemetry-dotnet | test/OpenTelemetry.Instrumentation.AspNetCore.Tests/IncomingRequestsCollectionsIsAccordingToTheSpecTests.cs | https://github.com/open-telemetry/opentelemetry-dotnet/blob/HEAD/test/OpenTelemetry.Instrumentation.AspNetCore.Tests/IncomingRequestsCollectionsIsAccordingToTheSpecTests.cs | ghcode:00162:e82f8e1fca14 | apache-2.0 | codeparrot/github-code | e82f8e1fca14e503793656e5d4da19b4e77e16872263a26e9f92eb69599fcda8 | 0.85 | testing_debugging_repair_refactoring | 1,292 | false | 2026-07-17 |
/**
* Copyright 2016 d-fens GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | dfensgmbh/biz.dfch.CS.Commons | src/biz.dfch.CS.Commons.Tests/Converters/EnvironmentVariableBaseDtoTest.cs | https://github.com/dfensgmbh/biz.dfch.CS.Commons/blob/HEAD/src/biz.dfch.CS.Commons.Tests/Converters/EnvironmentVariableBaseDtoTest.cs | ghcode:00162:ce36d270cbb3 | apache-2.0 | codeparrot/github-code | ce36d270cbb39f4ed25a80f5fc3c1b673b8a88131bba271fda73b5b28fa84258 | 0.7 | testing_debugging_repair_refactoring | 989 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using Xunit;
using Xunit.Abstractions;
using Xunit.Sdk;
/// <summary>
/// This class represents utility methods needed to supplement the
/// reflection capabilities provided by the CLR
/// </summary>
pu... | cuteant/xunit-v2-net40-fork | xunit.execution/Extensions/ReflectionAbstractionExtensions.cs | https://github.com/cuteant/xunit-v2-net40-fork/blob/HEAD/xunit.execution/Extensions/ReflectionAbstractionExtensions.cs | ghcode:00162:13cf34c706db | apache-2.0 | codeparrot/github-code | 13cf34c706dba75b4000f3564eb90c9b5f02829d8df6abe2c8f06f575537d07f | 0.85 | testing_debugging_repair_refactoring | 1,599 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Mvc;
namespace TestServer.Controllers
{
[Route("api/[controller]/[action]")]
public class GreetingController : Controller
{
[HttpGet]... | aspnet/AspNetCore | src/Components/test/testassets/TestServer/Controllers/GreetingController.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Components/test/testassets/TestServer/Controllers/GreetingController.cs | ghcode:00162:67fd323d83f4 | apache-2.0 | codeparrot/github-code | 67fd323d83f45999878ce9b80f1afe8a1a23d5a9e9af61959d0fe46a423b7676 | 0.85 | testing_debugging_repair_refactoring | 78 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Diagnostics;
using System.Reflection.Metadata;
namespace Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE
... | VSadov/roslyn | src/Compilers/CSharp/Portable/Symbols/Metadata/PE/NullableTypeDecoder.cs | https://github.com/VSadov/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Metadata/PE/NullableTypeDecoder.cs | ghcode:00162:c7df88db4435 | apache-2.0 | codeparrot/github-code | c7df88db4435657aad27ccab2a30d2c650b4fd83b4e225aee801545a5de79ff2 | 0.85 | testing_debugging_repair_refactoring | 503 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using bv.common.Configuration;
using bv.model.BLToolkit;
using bv.model.Model.Core;
using eidss.model.Core;
using eidss.model.Core.Security;
namespace bv.tests.Core
{
... | EIDSS/EIDSS-Legacy | EIDSS v6.1/bv.tests/tests.Core/TestsEnvironment.cs | https://github.com/EIDSS/EIDSS-Legacy/blob/HEAD/EIDSS v6.1/bv.tests/tests.Core/TestsEnvironment.cs | ghcode:00162:b6c6322efcb5 | bsd-2-clause | codeparrot/github-code | b6c6322efcb582557ce2ca1eebfcf8caa1e0cafa1f40943c9e14e88ea3784ef1 | 0.68 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
using System;
using GeneticSharp.Domain.Randomizations;
using GeneticSharp.Infrastructure.Framework.Reflection;
using NUnit.Framework;
using TestSharp;
namespace GeneticSharp.Infrastructure.Framework.UnitTests.Reflection
{
[TestFixture()]
public class TypeHelperTest
{
[Test()]
public void GetD... | rfrerebe/GeneticSharp | src/GeneticSharp.Infrastructure.Framework.UnitTests/Reflection/TypeHelperTest.cs | https://github.com/rfrerebe/GeneticSharp/blob/HEAD/src/GeneticSharp.Infrastructure.Framework.UnitTests/Reflection/TypeHelperTest.cs | ghcode:00162:f7ccec1296e3 | mit | codeparrot/github-code | f7ccec1296e34ea9b86eee4e3a994a2e859f17061302f5e13d36485fbe6eca71 | 0.6 | testing_debugging_repair_refactoring | 120 | false | 2026-07-17 |
namespace Gu.State.Tests.Internals
{
using System;
using Moq;
using NUnit.Framework;
public class RefcounterTests
{
[Test]
public void DisposingDecrements()
{
var disposableMock = new Mock<IDisposable>(MockBehavior.Strict);
Assert.AreEqual(true, di... | JohanLarsson/Gu.ChangeTracking | Gu.State.Tests/Internals/RefcounterTests.cs | https://github.com/JohanLarsson/Gu.ChangeTracking/blob/HEAD/Gu.State.Tests/Internals/RefcounterTests.cs | ghcode:00162:a27f475b76f7 | mit | codeparrot/github-code | a27f475b76f7a836e0ffb44331ea97261598c4083c129d40ac2b32fa44c4b69b | 0.75 | testing_debugging_repair_refactoring | 296 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.Media;
using Microsoft.Azure.Management.Media.Models;
using Microsoft.Azure.Management.Resources;
using Microsoft.Rest.ClientRunt... | Azure/azure-sdk-for-net | sdk/mediaservices/Microsoft.Azure.Management.Media/tests/ScenarioTests/LiveOutputTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/mediaservices/Microsoft.Azure.Management.Media/tests/ScenarioTests/LiveOutputTests.cs | ghcode:00162:96fbd339df29 | mit | codeparrot/github-code | 96fbd339df29567c1680cf0b938f8d1c7503fbb50b3a1643c1c0489c177bfd6d | 0.95 | testing_debugging_repair_refactoring | 905 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2007-2015 Charlie Poole, Rob Prouse
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without r... | ggeurts/nunit | src/NUnitFramework/framework/Internal/Filters/OrFilter.cs | https://github.com/ggeurts/nunit/blob/HEAD/src/NUnitFramework/framework/Internal/Filters/OrFilter.cs | ghcode:00162:cef0c8af4aeb | mit | codeparrot/github-code | cef0c8af4aeb24e3566006bef644316c8f3580ceaef09fd25d79064b3672f3d6 | 0.85 | testing_debugging_repair_refactoring | 769 | false | 2026-07-17 |
using J2N.Threading;
using Lucene.Net.Documents;
using Lucene.Net.Index.Extensions;
using Lucene.Net.Search;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using JCG = J2N.Collections.Generic;
using Assert = Lucene.Net.TestFramework.Assert;
using Console... | apache/lucenenet | src/Lucene.Net.Tests/Index/TestDocValuesWithThreads.cs | https://github.com/apache/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Index/TestDocValuesWithThreads.cs | ghcode:00162:b2b49b6f48fd | apache-2.0 | codeparrot/github-code | b2b49b6f48fda5ae18afc293f0e7aea7f4178ed38c47aa6491369e4b3c3316b5 | 0.85 | testing_debugging_repair_refactoring | 2,474 | false | 2026-07-17 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); y... | Mpdreamz/lucene.net | test/core/Search/TestCachingSpanFilter.cs | https://github.com/Mpdreamz/lucene.net/blob/HEAD/test/core/Search/TestCachingSpanFilter.cs | ghcode:00162:17fc323b5f42 | apache-2.0 | codeparrot/github-code | 17fc323b5f4227ebb5b420f21f3c1c0bf52f9c84261b5563b5346f54707cfc35 | 0.85 | testing_debugging_repair_refactoring | 1,101 | 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.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.UnitTests;
using Xunit;
namespace Microsoft.Ap... | srivatsn/roslyn-analyzers | src/Microsoft.ApiDesignGuidelines.Analyzers/UnitTests/ParameterNamesShouldMatchBaseDeclarationTests.Fixer.cs | https://github.com/srivatsn/roslyn-analyzers/blob/HEAD/src/Microsoft.ApiDesignGuidelines.Analyzers/UnitTests/ParameterNamesShouldMatchBaseDeclarationTests.Fixer.cs | ghcode:00162:d26e168e3298 | apache-2.0 | codeparrot/github-code | d26e168e3298432656e6c8826430f9cf8c6e823da533a3575c889885b49bd84c | 0.75 | testing_debugging_repair_refactoring | 3,579 | false | 2026-07-17 |
/*
* REST API Documentation for the MOTI Hired Equipment Tracking System (HETS) Application
*
* The Hired Equipment Program is for owners/operators who have a dump truck, bulldozer, backhoe or other piece of equipment they want to hire out to the transportation ministry for day labour and emergency projects. The ... | plavoieBC/hets | APISpec/gen/test/Models/RentalAgreementTests.cs | https://github.com/plavoieBC/hets/blob/HEAD/APISpec/gen/test/Models/RentalAgreementTests.cs | ghcode:00162:257ff1655841 | apache-2.0 | codeparrot/github-code | 257ff1655841092955111054bd9422fa3190700fa264b527acd85b5622ff449b | 0.95 | testing_debugging_repair_refactoring | 1,098 | false | 2026-07-17 |
using EPiServer.Commerce.Order;
using EPiServer.Reference.Commerce.Site.Features.Warehouse.Models;
using EPiServer.Reference.Commerce.Site.Features.Warehouse.Services;
using Mediachase.Commerce.Inventory;
using Mediachase.Commerce.InventoryService;
using Moq;
using System.Collections.Generic;
using System.Linq;
using ... | Sebbe/Quicksilver | Sources/EPiServer.Reference.Commerce.Site.Tests/Features/Warehouse/Services/WarehouseServiceTests.cs | https://github.com/Sebbe/Quicksilver/blob/HEAD/Sources/EPiServer.Reference.Commerce.Site.Tests/Features/Warehouse/Services/WarehouseServiceTests.cs | ghcode:00162:c604ba363754 | apache-2.0 | codeparrot/github-code | c604ba3637548f48a312ebc9fc550a474e4a4bfab8e11b309022c0a7ba62e39a | 0.75 | testing_debugging_repair_refactoring | 524 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace FluentAssertions.Events
{
internal class FilteredEventRecording : IEventRecording
{
private readonly OccurredEvent[] occurredEvents;
public FilteredEventRecording(IEventRecording eventRecord... | fluentassertions/fluentassertions | Src/FluentAssertions/Events/FilteredEventRecording.cs | https://github.com/fluentassertions/fluentassertions/blob/HEAD/Src/FluentAssertions/Events/FilteredEventRecording.cs | ghcode:00162:294e63d7cfb2 | apache-2.0 | codeparrot/github-code | 294e63d7cfb284e16c027666248a2b3808e2ebed1dae35f8d7d54bd556a43710 | 0.75 | testing_debugging_repair_refactoring | 208 | 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 Microsoft.Build.Framework;
using Microsoft.Build.Tasks;
using Microsoft.Build.Utilities;
using Microsoft.Build.Shared;
using System.IO;
using Xunit;... | Microsoft/msbuild | src/Tasks.UnitTests/SGen_Tests.cs | https://github.com/Microsoft/msbuild/blob/HEAD/src/Tasks.UnitTests/SGen_Tests.cs | ghcode:00162:99ca34f58eeb | mit | codeparrot/github-code | 99ca34f58eebb43690bd8523cec4bc158332ca5cd3a9dac63046e599421ffd94 | 0.85 | testing_debugging_repair_refactoring | 2,244 | 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.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
using System.Text.Unicode;
namespace System.Text.Encodings.Web
{
public static c... | arronei/corefx | src/System.Text.Encodings.Web/src/System/Text/Encodings/Web/TextEncoderExtensions.cs | https://github.com/arronei/corefx/blob/HEAD/src/System.Text.Encodings.Web/src/System/Text/Encodings/Web/TextEncoderExtensions.cs | ghcode:00162:e89f03b522ff | mit | codeparrot/github-code | e89f03b522ffc18afa19dae77b0d51230009e39601017811fd58cb4dbb53b72a | 0.95 | testing_debugging_repair_refactoring | 2,148 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
[TestFixture]
public class Test30
{
//Enumerator
[TestCase]
public void Enumerator_ShouldReturn_ProductsInInsertionOrder_After_Adding_Multiple()
{
//Arrange
IProductStock stock = new Instock();
... | NikiStanchev/SoftUni | DataStructures/Exam_11.03.2018/Instock - Skeleton C#/INStock.Tests/Correctness/Test30.cs | https://github.com/NikiStanchev/SoftUni/blob/HEAD/DataStructures/Exam_11.03.2018/Instock - Skeleton C#/INStock.Tests/Correctness/Test30.cs | ghcode:00162:8693b0eb1786 | mit | codeparrot/github-code | 8693b0eb1786c5c83ce083f371a861b4c3c79127f71b6b31978811426a77092c | 0.85 | testing_debugging_repair_refactoring | 339 | false | 2026-07-17 |
/*
* Copyright 2014 Splunk, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"): you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | splunk/splunk-sdk-csharp-pcl | test/unit-tests/TestApplicationCollection.cs | https://github.com/splunk/splunk-sdk-csharp-pcl/blob/HEAD/test/unit-tests/TestApplicationCollection.cs | ghcode:00162:91b1b8198d76 | apache-2.0 | codeparrot/github-code | 91b1b8198d76071f370ed431d4cd8c3a9782af059f93546de25687d4af82535a | 0.75 | testing_debugging_repair_refactoring | 780 | 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 System.Collections.Specialized;
using System.Text;
using Xunit;
namespace ... | alphonsekurian/corefx | src/Common/tests/System/Collections/ICollection.NonGeneric.Tests.cs | https://github.com/alphonsekurian/corefx/blob/HEAD/src/Common/tests/System/Collections/ICollection.NonGeneric.Tests.cs | ghcode:00162:4a1f92c7817d | mit | codeparrot/github-code | 4a1f92c7817d3a7c86ac137b9d6f76fd8f554c9e8368892fc256d7a6705dcfc1 | 0.95 | testing_debugging_repair_refactoring | 2,828 | false | 2026-07-17 |
using System;
using Microsoft.Extensions.DependencyInjection;
using NBitcoin;
using Stratis.Bitcoin.Base;
using Stratis.Bitcoin.Builder;
using Stratis.Bitcoin.Configuration;
using Stratis.Bitcoin.Connection;
using Stratis.Bitcoin.Consensus;
using Stratis.Bitcoin.Features.BlockStore;
using Stratis.Bitcoin.Features.Cons... | Neurosploit/StratisBitcoinFullNode | src/Stratis.Bitcoin.Features.MemoryPool.Tests/FullNodeBuilderTest.cs | https://github.com/Neurosploit/StratisBitcoinFullNode/blob/HEAD/src/Stratis.Bitcoin.Features.MemoryPool.Tests/FullNodeBuilderTest.cs | ghcode:00162:489f49c8c36c | mit | codeparrot/github-code | 489f49c8c36c692cbb8021a3b95d0e272dc62c3c3a09a60fdfddf6beff324fa1 | 0.75 | testing_debugging_repair_refactoring | 427 | false | 2026-07-17 |
// Visual Studio Shared Project
// 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 | Common/Tests/Utilities/SessionHolder.cs | https://github.com/Microsoft/PTVS/blob/HEAD/Common/Tests/Utilities/SessionHolder.cs | ghcode:00162:a7ab31ed8d42 | apache-2.0 | codeparrot/github-code | a7ab31ed8d4228dfba010ecd1968b56291faefc1e91097bc58bd3c2f816bd8d3 | 0.95 | testing_debugging_repair_refactoring | 290 | false | 2026-07-17 |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | justasabc/opensim76 | OpenSim/Tests/Common/Mock/MockScriptEngine.cs | https://github.com/justasabc/opensim76/blob/HEAD/OpenSim/Tests/Common/Mock/MockScriptEngine.cs | ghcode:00162:9e91dbc5b7c2 | apache-2.0 | codeparrot/github-code | 9e91dbc5b7c2b51a56a21ae8d9614e53d6f5321667e161b9d15229e536f9723a | 0.95 | testing_debugging_repair_refactoring | 1,637 | false | 2026-07-17 |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http:... | xJom/mbunit-v3 | src/Gallio/Gallio.Tests/Model/Filters/OrFilterTest.cs | https://github.com/xJom/mbunit-v3/blob/HEAD/src/Gallio/Gallio.Tests/Model/Filters/OrFilterTest.cs | ghcode:00162:8f53a000fe6e | apache-2.0 | codeparrot/github-code | 8f53a000fe6e692f85ee3aa796dc2b40a0754e2b05bd7c5039c3a9a935b6e0cb | 0.85 | testing_debugging_repair_refactoring | 476 | 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.Diagnostics;
using System.Threading;
namespace appMpower.Memory
{
internal static class CacheEntryHelper
{
private static readonly AsyncLocal<CacheEntry> _c... | jamming/FrameworkBenchmarks | frameworks/CSharp/appmpower/src/Memory/CacheEntryHelper.cs | https://github.com/jamming/FrameworkBenchmarks/blob/HEAD/frameworks/CSharp/appmpower/src/Memory/CacheEntryHelper.cs | ghcode:00162:b450a179c777 | bsd-3-clause | codeparrot/github-code | b450a179c777f3a47f57715b814a49190f2955616e6feda1919d5624c29df80a | 0.7 | testing_debugging_repair_refactoring | 174 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using ... | CyrusNajmabadi/roslyn | src/EditorFeatures/CSharpTest/StringIndentation/StringIndentationTests.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/StringIndentation/StringIndentationTests.cs | ghcode:00162:b5f05367ee6f | mit | codeparrot/github-code | b5f05367ee6f0dc10ef2724bfd2c80b7a8d4db075d14763493e3697f5d963195 | 0.85 | testing_debugging_repair_refactoring | 3,132 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using AllReady.Areas.Admin.Features.Tasks;
using AllReady.Areas.Admin.ViewModels.VolunteerTask;
using AllReady.Models;
using Xunit;
namespace AllReady.UnitTest.Areas.Admin.Features.Tasks
{
public class EditVolunteerTaskQueryHandlerSho... | VishalMadhvani/allReady | AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Tasks/EditVolunteerTaskQueryHandlerShould.cs | https://github.com/VishalMadhvani/allReady/blob/HEAD/AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Tasks/EditVolunteerTaskQueryHandlerShould.cs | ghcode:00162:2e8dfc63000f | mit | codeparrot/github-code | 2e8dfc63000f09d789038fbab95d305a3eb1161b515444db6d6fd71a17bedf9d | 0.75 | testing_debugging_repair_refactoring | 539 | 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.
//
// This file is a line by line port of callingconvention.h from the desktop CLR. See reference source in the Ref... | botaberg/corert | src/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/CallingConventions.cs | https://github.com/botaberg/corert/blob/HEAD/src/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/CallingConventions.cs | ghcode:00162:69f7eef04053 | mit | codeparrot/github-code | 69f7eef040532f258e0e9f2103e3b323caf0f517328de01dfaf0ade68c6d4b32 | 0.82 | testing_debugging_repair_refactoring | 13,282 | false | 2026-07-17 |
// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus).
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine;
namespace Fungus
{
/// <summary>
/// Checks if ... | XY1996/MindStroy | Fungus/Assets/Tests/Signals/WriterSignalsTester.cs | https://github.com/XY1996/MindStroy/blob/HEAD/Fungus/Assets/Tests/Signals/WriterSignalsTester.cs | ghcode:00162:34b1af6532f5 | mit | codeparrot/github-code | 34b1af6532f5bd7a64ec0e1323ce3fce59710940b27378aeedcc425bf9227989 | 0.95 | testing_debugging_repair_refactoring | 585 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SpecsFor.Mvc;
using Bonobo.Git.Server.Controllers;
using System.Threading;
using Bonobo.Git.Server.Models;
using Bonobo.Git.Server.Test.IntegrationTests.Helpers;
namespace Bonobo.Git.Server.Test.IntegrationTests
{
using TC = TestCategories;
... | braegelno5/Bonobo-Git-Server | Bonobo.Git.Server.Test/IntegrationTests/MiscTests.cs | https://github.com/braegelno5/Bonobo-Git-Server/blob/HEAD/Bonobo.Git.Server.Test/IntegrationTests/MiscTests.cs | ghcode:00162:6de8ff6c34c6 | mit | codeparrot/github-code | 6de8ff6c34c6c15570ebab7c18a596f6bee19c9be35fcdb586b6b627071eddd0 | 0.85 | testing_debugging_repair_refactoring | 775 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | StefanoRaggi/Lean | Tests/Common/Securities/Options/OptionChainProviderTests.cs | https://github.com/StefanoRaggi/Lean/blob/HEAD/Tests/Common/Securities/Options/OptionChainProviderTests.cs | ghcode:00162:86b44cb011c2 | apache-2.0 | codeparrot/github-code | 86b44cb011c2893b65bafdaaf1b3a8c35fe15f355359b0497f623de307a3e330 | 0.85 | testing_debugging_repair_refactoring | 2,132 | 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;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using Moq.Language.Flow;
namespace Microsoft.Azure.WebJobs.Host.UnitTes... | brendankowitz/azure-webjobs-sdk | test/Microsoft.Azure.WebJobs.Host.UnitTests/Blobs/Bindings/ReturnsThrowsOfCloudBlobStreamICancellableAsyncResultExtensions.cs | https://github.com/brendankowitz/azure-webjobs-sdk/blob/HEAD/test/Microsoft.Azure.WebJobs.Host.UnitTests/Blobs/Bindings/ReturnsThrowsOfCloudBlobStreamICancellableAsyncResultExtensions.cs | ghcode:00162:829f5f9af6bc | mit | codeparrot/github-code | 829f5f9af6bc2292eab2e02a59fa9dd87440b687a9b0e52d4c1ba944dc33cb71 | 0.75 | testing_debugging_repair_refactoring | 225 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using System.Collections;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml;
using OpenLiveWriter.BlogClient... | MitchMilam/OpenLiveWriter | src/managed/OpenLiveWriter.PostEditor/PostEditorFile.cs | https://github.com/MitchMilam/OpenLiveWriter/blob/HEAD/src/managed/OpenLiveWriter.PostEditor/PostEditorFile.cs | ghcode:00162:f2c54b4532c8 | mit | codeparrot/github-code | f2c54b4532c82bd706b32fb30541e8d9ef036c779e6dbef35aba528ffcf0f61e | 0.57 | testing_debugging_repair_refactoring | 15,673 | false | 2026-07-17 |
using FluentMigrator.Runner.Generators.Oracle;
using NUnit.Framework;
using Shouldly;
namespace FluentMigrator.Tests.Unit.Generators.OracleWithQuotedIdentifier
{
[TestFixture]
public class OracleSequenceTests : BaseSequenceTests
{
protected OracleGenerator Generator;
[SetUp]
publ... | schambers/fluentmigrator | test/FluentMigrator.Tests/Unit/Generators/OracleWithQuotedIdentifier/OracleSequenceTests.cs | https://github.com/schambers/fluentmigrator/blob/HEAD/test/FluentMigrator.Tests/Unit/Generators/OracleWithQuotedIdentifier/OracleSequenceTests.cs | ghcode:00162:994b21019dba | apache-2.0 | codeparrot/github-code | 994b21019dba1097542db7a58ae9019c1d1a49e4ce8e0df29838b992983ded53 | 0.75 | testing_debugging_repair_refactoring | 367 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Chill;
using FluentAssertions.Equivalency;
#if !OLD_MSTEST
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
#else
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endif
namespace FluentAssertions.Specs
{
... | jeroenpot/FluentAssertions | Tests/FluentAssertions.Shared.Specs/ExtensibilityRelatedEquivalencySpecs.cs | https://github.com/jeroenpot/FluentAssertions/blob/HEAD/Tests/FluentAssertions.Shared.Specs/ExtensibilityRelatedEquivalencySpecs.cs | ghcode:00162:e9cd3d7b1f37 | apache-2.0 | codeparrot/github-code | e9cd3d7b1f371034d6e615e4eca9bddd4986314f11e421a9afafbcef9125a11f | 0.7 | testing_debugging_repair_refactoring | 3,930 | false | 2026-07-17 |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using Microsoft.DotNet.Cli.Utils;
using NuGet.Frameworks;
namespace Microsoft.DotNet.Tools.Test.Utilities
{
public sealed ... | svick/cli | test/Microsoft.DotNet.Tools.Tests.Utilities/Commands/BuildCommand.cs | https://github.com/svick/cli/blob/HEAD/test/Microsoft.DotNet.Tools.Tests.Utilities/Commands/BuildCommand.cs | ghcode:00162:fb80b155db2e | mit | codeparrot/github-code | fb80b155db2ef1940c45281c54e07e0fa25bab5941d9ad5e1c424f449e13cf7c | 0.75 | testing_debugging_repair_refactoring | 729 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.CompilerServices;
using QUnit;
namespace CoreLib.TestScript.Exceptions {
[TestFixture]
public class NullReferenceExceptionTests {
[Test]
public void TypePropertiesAreCorrect() {
Assert.AreEqual(typeof(N... | ayo10/SaltarelleCompiler | Runtime/CoreLib.TestScript/Exceptions/NullReferenceExceptionTests.cs | https://github.com/ayo10/SaltarelleCompiler/blob/HEAD/Runtime/CoreLib.TestScript/Exceptions/NullReferenceExceptionTests.cs | ghcode:00162:6c87c1d25788 | apache-2.0 | codeparrot/github-code | 6c87c1d257880519172dc6fb0da41d7b63a487eb8247d43f1d622a694384c3fb | 0.75 | testing_debugging_repair_refactoring | 549 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Xun... | shimingsg/corefx | src/System.Runtime.Extensions/tests/System/StringComparer.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Runtime.Extensions/tests/System/StringComparer.cs | ghcode:00162:3c882b7e19c2 | mit | codeparrot/github-code | 3c882b7e19c2d6ffcf7ee96502cdcae6016bc7cef82b5ca71cf92a4a74ce4fe4 | 0.95 | testing_debugging_repair_refactoring | 2,559 | false | 2026-07-17 |
// <copyright file="UserDefinedVectorTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
// Copyright (c) 2009-2010 Math.NET
// Permission is hereby granted, free of charge... | grovesNL/mathnet-numerics | src/UnitTests/LinearAlgebraTests/Complex32/UserDefinedVectorTests.cs | https://github.com/grovesNL/mathnet-numerics/blob/HEAD/src/UnitTests/LinearAlgebraTests/Complex32/UserDefinedVectorTests.cs | ghcode:00162:77c0ea834705 | mit | codeparrot/github-code | 77c0ea8347050e044372b95c0984905a5251da9ba799afc003578441dd86a7f5 | 0.85 | testing_debugging_repair_refactoring | 612 | false | 2026-07-17 |
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,... | zhoffice/nodejstools | Nodejs/Product/Analysis/Analysis/AnalysisHashSet.cs | https://github.com/zhoffice/nodejstools/blob/HEAD/Nodejs/Product/Analysis/Analysis/AnalysisHashSet.cs | ghcode:00162:9c49a51cecf8 | apache-2.0 | codeparrot/github-code | 9c49a51cecf857eff6c34c924e6616e4b115d91006771a7aaaaa5ed4717d9589 | 0.85 | testing_debugging_repair_refactoring | 2,590 | 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 OLEDB.Test.ModuleCore;
using System;
using System.Collections;
using System.Collections.Generic;
using System.... | shimingsg/corefx | src/System.Private.Xml/tests/Xslt/XsltCompiler/XsltCommon.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Private.Xml/tests/Xslt/XsltCompiler/XsltCommon.cs | ghcode:00162:f78db06853da | mit | codeparrot/github-code | f78db06853dace5447280c80d6e94d56ac047e88b0a544ee3ece22d22b6c5b49 | 0.95 | testing_debugging_repair_refactoring | 5,450 | 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.Reflection;
using System.Reflection.Emit;
using System.Threading;
using Xunit;
namespace... | jcme/corefx | src/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderMakeByRefType.cs | https://github.com/jcme/corefx/blob/HEAD/src/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderMakeByRefType.cs | ghcode:00162:85f693a9f04d | mit | codeparrot/github-code | 85f693a9f04d941cb71248bcb14525f4ddbbde8785cec6151c84a1bd040e9d4d | 0.95 | testing_debugging_repair_refactoring | 345 | 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.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Task... | ViktorHofer/corefx | src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/RedirectHandler.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/RedirectHandler.cs | ghcode:00162:0ad9511f48d4 | mit | codeparrot/github-code | 0ad9511f48d4e755f16015b820ba96ca8e5278c9d0292a49edb246844ddc5243 | 0.95 | testing_debugging_repair_refactoring | 1,149 | 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.Linq.Expressions;
using Xunit;
namespace System.Linq.Tests
{
public class MaxTests : EnumerableBas... | nbarbettini/corefx | src/System.Linq.Queryable/tests/MaxTests.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Linq.Queryable/tests/MaxTests.cs | ghcode:00162:6f7c2ec5fcb3 | mit | codeparrot/github-code | 6f7c2ec5fcb348b4934b26c737580bf1cddb1ecc97b5013ce1e5faba4c6c32b3 | 0.95 | testing_debugging_repair_refactoring | 4,120 | false | 2026-07-17 |
using System;
using System.Linq;
using Moq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Cache;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Core.Persistence.Dtos;
using Umbraco.Core.Persistence.Repositories;
using Umbraco.Core.Persistence.Repositories.Implement;
using Umbraco.... | rasmuseeg/Umbraco-CMS | src/Umbraco.Tests/Persistence/Repositories/RelationTypeRepositoryTest.cs | https://github.com/rasmuseeg/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Persistence/Repositories/RelationTypeRepositoryTest.cs | ghcode:00162:dfecc55306e4 | mit | codeparrot/github-code | dfecc55306e48a9b3fa9b1eb9ccdb6ce7ed4bbbfbce19f3c6e03639577fef5e0 | 0.85 | testing_debugging_repair_refactoring | 1,657 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using Codestellation.Pulsar.Cron;
using NUnit.Framework;
namespace Codestellation.Pulsar.Tests.Cron
{
[TestFixture]
public class CronExpressionTests
{
[TestCase("0 0 10 * * ?")]
[TestCase("1-10 30 * 1,11,21 3,4-8 L 2000-2100")]
public void Sh... | Codestellation/Pulsar | src/Tests/Cron/CronExpressionTests.cs | https://github.com/Codestellation/Pulsar/blob/HEAD/src/Tests/Cron/CronExpressionTests.cs | ghcode:00162:0e57c7e1c101 | mit | codeparrot/github-code | 0e57c7e1c1013fbd3d248307b16b3a096c951e94ed3f37326de188b73b0c41de | 0.85 | testing_debugging_repair_refactoring | 1,348 | false | 2026-07-17 |
namespace Nancy.Tests.Functional.Tests
{
using System.Threading.Tasks;
using Nancy.Testing;
using Xunit;
public class BasicRouteInvocationsFixture
{
private readonly Browser browser;
public BasicRouteInvocationsFixture()
{
this.browser = new Brows... | grumpydev/Nancy | src/Nancy.Tests.Functional/Tests/BasicRouteInvocationsFixture.cs | https://github.com/grumpydev/Nancy/blob/HEAD/src/Nancy.Tests.Functional/Tests/BasicRouteInvocationsFixture.cs | ghcode:00162:5458b30d1459 | mit | codeparrot/github-code | 5458b30d14599f1dc46034c827fd7a30088a7a53621d76e3bea5413fb7cc147e | 0.95 | testing_debugging_repair_refactoring | 1,095 | false | 2026-07-17 |
using AllReady.Areas.Admin.Controllers;
using AllReady.Areas.Admin.Features.Campaigns;
using AllReady.Areas.Admin.Features.Events;
using AllReady.Areas.Admin.Features.Requests;
using AllReady.Areas.Admin.ViewModels.Campaign;
using AllReady.Areas.Admin.ViewModels.Event;
using AllReady.Areas.Admin.ViewModels.Valida... | GProulx/allReady | AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Controllers/EventAdminControllerTests.cs | https://github.com/GProulx/allReady/blob/HEAD/AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Controllers/EventAdminControllerTests.cs | ghcode:00162:500afa9e1a6a | mit | codeparrot/github-code | 500afa9e1a6a222171ce35a894adfd69af00d602cf2bb94f981b6bb95758a5eb | 0.85 | testing_debugging_repair_refactoring | 9,543 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using Microsoft.Rest.Generator;
using Microsoft.Rest.Genera... | matt-gibbs/AutoRest | AutoRest/Modelers/Swagger.Tests/SwaggerModelerTests.cs | https://github.com/matt-gibbs/AutoRest/blob/HEAD/AutoRest/Modelers/Swagger.Tests/SwaggerModelerTests.cs | ghcode:00162:b8d54860cd39 | mit | codeparrot/github-code | b8d54860cd399c2d799343b5275c6f370011854d6d2360445dada3d64fa244ec | 0.85 | testing_debugging_repair_refactoring | 5,401 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Moq;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using Score.ContentSearch.Algolia.Abstract;
using Sitecore.ContentSearch;
using Sitecore.ContentSearch.Linq.Common;
namespace Score.ContentSearch.Algolia.Tests
{
[TestFixture]
public class Algoli... | dharnitski/Sitecore.Algolia | Score.ContentSearch.Algolia.Tests/AlgoliaUpdateContextTests.cs | https://github.com/dharnitski/Sitecore.Algolia/blob/HEAD/Score.ContentSearch.Algolia.Tests/AlgoliaUpdateContextTests.cs | ghcode:00162:e8a0410790f8 | mit | codeparrot/github-code | e8a0410790f81f865f03d88861c1aaef8e04a62fa70ebf5067ff7997493f799b | 0.85 | testing_debugging_repair_refactoring | 247 | false | 2026-07-17 |
/*
Copyright(c) 2009, Stefan Simek
Copyright(c) 2016, Vladyslav Taranov
MIT License
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... | smartcaveman/runsharp | RunSharp.TestsShared/Tests/14_ExplicitImplementation.cs | https://github.com/smartcaveman/runsharp/blob/HEAD/RunSharp.TestsShared/Tests/14_ExplicitImplementation.cs | ghcode:00162:daef3ad36f99 | mit | codeparrot/github-code | daef3ad36f999fb0311065335eb46dd10aa50b3d83dc7b1b2161e785c04a24f2 | 0.95 | testing_debugging_repair_refactoring | 1,067 | false | 2026-07-17 |
using System;
using System.IO;
using System.Text;
using Microsoft.TemplateEngine.Abstractions;
using Microsoft.TemplateEngine.Core.Contracts;
using Microsoft.TemplateEngine.TestHelper;
using Microsoft.TemplateEngine.Utils;
using Xunit;
using Microsoft.TemplateEngine.Mocks;
namespace Microsoft.TemplateEngine.Core.Unit... | rschiefer/templating | test/Microsoft.TemplateEngine.Core.UnitTests/TestBase.cs | https://github.com/rschiefer/templating/blob/HEAD/test/Microsoft.TemplateEngine.Core.UnitTests/TestBase.cs | ghcode:00162:4ff9e0f1f295 | mit | codeparrot/github-code | 4ff9e0f1f295c0dc68b5f0ae30f4f83989fa9d7be9ce3cfb9155224c5276f33f | 0.75 | testing_debugging_repair_refactoring | 422 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.IO;
using Microsoft.Rest.Generator.ClientModel;
using Microsoft.Rest.Generator.Extensibility;
using Microsoft.Rest.Generator.Logging;
... | vasanthangel4/autorest | AutoRest/AutoRest.Core.Tests/ExtensionsLoaderTests.cs | https://github.com/vasanthangel4/autorest/blob/HEAD/AutoRest/AutoRest.Core.Tests/ExtensionsLoaderTests.cs | ghcode:00162:5864db680466 | mit | codeparrot/github-code | 5864db680466712ca52f6d4fa640b302974998060c6a0b322a0b93692d6a186f | 0.75 | testing_debugging_repair_refactoring | 1,168 | 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.Globalization;
using Xunit;
public static class Decima... | shahid-pk/corefx | src/System.Runtime/tests/System/Decimal.cs | https://github.com/shahid-pk/corefx/blob/HEAD/src/System.Runtime/tests/System/Decimal.cs | ghcode:00162:e1f73aaa0d27 | mit | codeparrot/github-code | e1f73aaa0d274b9bb3e14892627b502ca498c545b7aa56975d45bf7e1d7ac8e4 | 0.95 | testing_debugging_repair_refactoring | 21,496 | false | 2026-07-17 |
using System;
using System.Data.Odbc;
using System.Threading.Tasks;
using Nvents.Services;
using Xunit;
namespace Nvents.Tests
{
public class CombinationServiceNetworkTests
{
private readonly CombinationService service;
[Fact]
public void CanFilterDuplicateEventWhenSuppressAll()
{
... | loraderon/nvents | Nvents.Tests/CombinationServiceNetworkTests.cs | https://github.com/loraderon/nvents/blob/HEAD/Nvents.Tests/CombinationServiceNetworkTests.cs | ghcode:00162:4c2fce3331d7 | mit | codeparrot/github-code | 4c2fce3331d7a77155f518b6d4a08735bdf84eeba556149170c91d00f395ace4 | 0.75 | testing_debugging_repair_refactoring | 306 | false | 2026-07-17 |
using System;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
namespace MongoDB.Context.Tests
{
[TestFixture]
public class ContextSubmitTests : ContextTestBase
{
[Test]
public void Should_Fail_WhenSubmitCalledAndAlreadySubmitting()
{
var testEntities = GetTestEntities();
us... | cadams93/MongoDB.Context | MongoDB.Context.Tests/ContextSubmitTests.cs | https://github.com/cadams93/MongoDB.Context/blob/HEAD/MongoDB.Context.Tests/ContextSubmitTests.cs | ghcode:00162:161e739cf50b | mit | codeparrot/github-code | 161e739cf50bad68eb262927bd716998350bb31c967d9a6c042d8d0d4849ecd1 | 0.75 | testing_debugging_repair_refactoring | 210 | false | 2026-07-17 |
namespace ImGui
{
// Helper: Manually clip large list of items.
// If you are displaying thousands of even spaced items and you have a random access to the list, you can perform clipping yourself to save on CPU.
// Usage:
// ImGuiListClipper clipper(count, ImGui::GetTextLineHeightWithSpacing());
... | xposure/ImGuiSharp | ImGuiSharp.Shared/ImGui.h/ImGuiListClipper.cs | https://github.com/xposure/ImGuiSharp/blob/HEAD/ImGuiSharp.Shared/ImGui.h/ImGuiListClipper.cs | ghcode:00162:e7939b855dad | mit | codeparrot/github-code | e7939b855dadf7db1877d6fa63a42279af66eb9011f784dc4214ffe697ee681f | 0.7 | testing_debugging_repair_refactoring | 435 | false | 2026-07-17 |
namespace Sitecore.FakeDb.Tests.Data.Engines.DataCommands.Prototypes
{
using FluentAssertions;
using Sitecore.FakeDb.Data.Engines;
using Sitecore.FakeDb.Data.Engines.DataCommands;
using Sitecore.FakeDb.Data.Engines.DataCommands.Prototypes;
using Sitecore.Reflection;
using Xunit;
public clas... | sergeyshushlyapin/Sitecore.FakeDb | test/Sitecore.FakeDb.Tests/Data/Engines/DataCommands/Prototypes/GetItemCommandPrototypeTest.cs | https://github.com/sergeyshushlyapin/Sitecore.FakeDb/blob/HEAD/test/Sitecore.FakeDb.Tests/Data/Engines/DataCommands/Prototypes/GetItemCommandPrototypeTest.cs | ghcode:00162:5690924695f7 | mit | codeparrot/github-code | 5690924695f744ca686859bbe38af20b7b55cf551131d60d612b562f4cc9bd17 | 0.6 | testing_debugging_repair_refactoring | 156 | false | 2026-07-17 |
namespace Runic.Cucumber.UnitTest.TestUtility
{
public class TestBase
{
protected TestEnvironment TestEnvironment { get; set; }
public TestBase()
{
TestEnvironment = new TestEnvironment();
}
}
}
| joshuagenders/Runic | Agent/src/Runic.Cucumber.UnitTest/TestUtility/TestBase.cs | https://github.com/joshuagenders/Runic/blob/HEAD/Agent/src/Runic.Cucumber.UnitTest/TestUtility/TestBase.cs | ghcode:00162:5d0d9d8cb3ae | mit | codeparrot/github-code | 5d0d9d8cb3ae6b81cbbf0d5562bb11243c4c843ad162142bbcc6a874b1adb8dd | 0.85 | testing_debugging_repair_refactoring | 51 | false | 2026-07-17 |
using System.Threading.Tasks;
using Comsec.SqlPrune.Logging;
using Comsec.SqlPrune.Providers;
using Moq;
using NUnit.Framework;
namespace Comsec.SqlPrune.Services.Providers
{
[TestFixture]
public class LocalFilesystemProviderTest
{
private LocalFileSystemProvider provider;
[SetUp]
... | comsechq/sql-prune | SqlPrune.Core.Test/Services/Providers/LocalFilesystemProviderTest.cs | https://github.com/comsechq/sql-prune/blob/HEAD/SqlPrune.Core.Test/Services/Providers/LocalFilesystemProviderTest.cs | ghcode:00162:3b1ca5015d92 | mit | codeparrot/github-code | 3b1ca5015d92bd2a32b70961f0115f7d9f54e55f5c79889b7b34067ff869eda7 | 0.7 | testing_debugging_repair_refactoring | 333 | false | 2026-07-17 |
using System;
using System.Text;
using Xunit;
namespace HtmlGenerator.Tests
{
public static class Helpers
{
public static void SerializeIgnoringFormatting(HtmlElement element, string expected)
{
expected = expected.Replace("\r\n", "\n").Replace("\n", Environment.NewLine);
... | hughbe/html-generator | tests/Helpers.cs | https://github.com/hughbe/html-generator/blob/HEAD/tests/Helpers.cs | ghcode:00162:2780ce158d00 | mit | codeparrot/github-code | 2780ce158d0002cb659cf152c946db38ee477f1d51ca04c9885d2335204ca598 | 0.6 | testing_debugging_repair_refactoring | 142 | false | 2026-07-17 |
using System.ComponentModel.Composition;
using System.Threading.Tasks;
using OpenWeatherMap;
using Xunit;
namespace OpenWeatherMapSpecs.Specs
{
[Export]
public sealed class TheWeatherByCityNameActions
{
[Import]
public OpenWeatherMapService OpenWeatherMapService { get; set; }
publ... | kolbasik/NBDD | src/V2/OpenWeatherMapSpecs/Specs/TheWeatherByCityNameActions.cs | https://github.com/kolbasik/NBDD/blob/HEAD/src/V2/OpenWeatherMapSpecs/Specs/TheWeatherByCityNameActions.cs | ghcode:00162:3778f2a29425 | mit | codeparrot/github-code | 3778f2a294250083437dd4464387fa95e47384f97f6cbf8ca4888ee60ffcae4f | 0.75 | testing_debugging_repair_refactoring | 264 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. 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.Linq;
using Microsoft.Framework.DependencyInjection.Tests.Fakes;
using Xunit;
namespace Mi... | zmaruo/Autofac | test/Autofac.Framework.DependencyInjection.Test/Specification/AllContainerTestsBase.cs | https://github.com/zmaruo/Autofac/blob/HEAD/test/Autofac.Framework.DependencyInjection.Test/Specification/AllContainerTestsBase.cs | ghcode:00162:f8faf1a201ee | mit | codeparrot/github-code | f8faf1a201ee1f5c40a7eaf749faa3f9115075aae27cda181ef40285e5ffbc30 | 0.7 | testing_debugging_repair_refactoring | 764 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.