text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CocosSharp;
namespace tests
{
public class FadeOutTRTilesDemo
{
public static CCFiniteTimeAction ActionWithDuration(float t)
{
CCFadeOutTRTiles fadeout = new CCFadeOutTRTiles(t, new CCGridSize(16, 12)... | haithemaraissia/CocosSharp | tests/tests/classes/tests/EffectsTest/FadeOutTRTilesDemo.cs | https://github.com/haithemaraissia/CocosSharp/blob/HEAD/tests/tests/classes/tests/EffectsTest/FadeOutTRTilesDemo.cs | ghcode:00174:6f66376212ab | mit | codeparrot/github-code | 6f66376212ab7f91b6fd5303228575085e85c2aa2d85179993ff6a2085353a20 | 0.85 | testing_debugging_repair_refactoring | 125 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="ElementValueTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-----------------------------------... | hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataOData/Tests/OData.Reader.Tests/Atom/ElementValueTests.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Tests/OData.Reader.Tests/Atom/ElementValueTests.cs | ghcode:00174:26b070afeecd | mit | codeparrot/github-code | 26b070afeecdad930796a593b3c3c8e6c5c9e569a9aa802dd09c2325d780bb4c | 0.95 | testing_debugging_repair_refactoring | 1,710 | false | 2026-07-17 |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// 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 wit... | Microsoft/CodeContracts | System.Compiler/FastFileIO.cs | https://github.com/Microsoft/CodeContracts/blob/HEAD/System.Compiler/FastFileIO.cs | ghcode:00174:f3c3caff5e31 | mit | codeparrot/github-code | f3c3caff5e31970526d9b5f741f197491000251bd07ab5c81bd9e3358b3c6898 | 0.85 | testing_debugging_repair_refactoring | 4,804 | 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.ApiManagement;
using Microsoft.Azure.Management.ApiManagement.Models;
using Microsoft.Azure.Management.ResourceManager;
u... | SiddharthChatrolaMs/azure-sdk-for-net | src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/CreateListDeleteTests.cs | https://github.com/SiddharthChatrolaMs/azure-sdk-for-net/blob/HEAD/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/CreateListDeleteTests.cs | ghcode:00174:c2d94239e67f | apache-2.0 | codeparrot/github-code | c2d94239e67f6026b736cae68537a79459fcbe06230bacaedb6190190970ee49 | 0.85 | testing_debugging_repair_refactoring | 587 | 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.Composition;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System... | pdelvo/roslyn | src/Workspaces/CSharp/Portable/Recommendations/CSharpRecommendationService.cs | https://github.com/pdelvo/roslyn/blob/HEAD/src/Workspaces/CSharp/Portable/Recommendations/CSharpRecommendationService.cs | ghcode:00174:240d50e3ad80 | apache-2.0 | codeparrot/github-code | 240d50e3ad8099ec71a74bd93d1ab5f49715b06f84e64e9bc0a4d1fefb78451e | 0.85 | testing_debugging_repair_refactoring | 4,507 | 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;
using Xunit;
namespace System.Globalization.Tests
{
public class RegionInfoPropertyTests
... | alphonsekurian/corefx | src/System.Globalization/tests/RegionInfo/RegionInfoTests.Properties.cs | https://github.com/alphonsekurian/corefx/blob/HEAD/src/System.Globalization/tests/RegionInfo/RegionInfoTests.Properties.cs | ghcode:00174:095a06348200 | mit | codeparrot/github-code | 095a063482007953e8917ddc46509c139284386438d1445992f203dceec72201 | 0.95 | testing_debugging_repair_refactoring | 719 | false | 2026-07-17 |
using System.Linq;
using FluentAssertions;
using Nest.Tests.MockData;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
namespace Nest.Tests.Integration.Aggregations
{
[TestFixture]
public class SingleBucketAggregationTests : IntegrationTests
{
[Test]
public void Missing()
{
var results = this.Clie... | junlapong/elasticsearch-net | src/Tests/Nest.Tests.Integration/Aggregations/SingleBucketAggregationTests.cs | https://github.com/junlapong/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Integration/Aggregations/SingleBucketAggregationTests.cs | ghcode:00174:e4df34ef7585 | apache-2.0 | codeparrot/github-code | e4df34ef758550cf81f634dab5db881cdd4c82d3e633a043ce3c4678461e3d5d | 0.85 | testing_debugging_repair_refactoring | 1,141 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Test_NUnit;
using nwind;
// test ns Linq_101_Samples
#if MYSQL
namespace Test_NUnit_MySql.Linq_101_Samples
#elif ORACLE && ODP
namespace Test_NUnit_OracleODP.Linq_101_Samples
#elif... | vinodvar/dblinq | src/DbLinq/Test/Providers/Linq_101_Samples/Join.cs | https://github.com/vinodvar/dblinq/blob/HEAD/src/DbLinq/Test/Providers/Linq_101_Samples/Join.cs | ghcode:00174:ac2d642e0c04 | mit | codeparrot/github-code | ac2d642e0c04ac0f1a4469bdede0f6fd888fd6dee12167d472374a3f8a5ad21b | 0.95 | testing_debugging_repair_refactoring | 1,924 | 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.Diagnostics;
using Microsoft.CSharp.RuntimeBinder.Error... | ViktorHofer/corefx | src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/MemberLookup.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/MemberLookup.cs | ghcode:00174:bde26f838743 | mit | codeparrot/github-code | bde26f838743c54c1915dd7259d91b207f44327886056c1391076ec8676a314f | 0.95 | testing_debugging_repair_refactoring | 5,388 | 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.Globalization;
using System.Diagnostics;
namespace System.Reflection.Emit
{
internal sealed class ... | krk/coreclr | src/System.Private.CoreLib/src/System/Reflection/Emit/XXXOnTypeBuilderInstantiation.cs | https://github.com/krk/coreclr/blob/HEAD/src/System.Private.CoreLib/src/System/Reflection/Emit/XXXOnTypeBuilderInstantiation.cs | ghcode:00174:da299da30496 | mit | codeparrot/github-code | da299da304966901305bcbe27b10ec5dffecd1cfd5f8e9d5bc25611d089b475a | 0.95 | testing_debugging_repair_refactoring | 2,040 | 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.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Threading;
using Xunit;
namespace System.Reflection.Emit.Tests
{
... | Alcaro/corefx | src/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderDefineDefaultConstructor.cs | https://github.com/Alcaro/corefx/blob/HEAD/src/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderDefineDefaultConstructor.cs | ghcode:00174:a1d3fa4aa7a6 | mit | codeparrot/github-code | a1d3fa4aa7a6f76226654957c5cf15a1aced6a172df7fe2beb258b41e61fc95f | 0.85 | testing_debugging_repair_refactoring | 1,886 | 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 Microsoft.CSharp.RuntimeBinder.Syntax;
namespace Microsoft.CSharp.RuntimeBinder.Semantics
{
// Encapsulates all logic about convert... | vs-team/corefx | src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Conversions.cs | https://github.com/vs-team/corefx/blob/HEAD/src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Conversions.cs | ghcode:00174:c927a70647f8 | mit | codeparrot/github-code | c927a70647f81ff1567e6f1fbbcc3e6004270079b3928214599012498c4d9876 | 0.95 | testing_debugging_repair_refactoring | 3,872 | 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.Generic;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSha... | REALTOBIZ/roslyn | src/Compilers/CSharp/Portable/FlowAnalysis/AlwaysAssignedWalker.cs | https://github.com/REALTOBIZ/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/FlowAnalysis/AlwaysAssignedWalker.cs | ghcode:00174:c31cc391dede | apache-2.0 | codeparrot/github-code | c31cc391deded92d220d84cc47f70f6793b1fe25ef28b162fcf57e43c581b6e7 | 0.85 | testing_debugging_repair_refactoring | 944 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Net.Http;
using CoddoTech.Portable.RestClient.Client;
using CoddoTech.Portable.RestClient.Models;
using Xunit;
namespace Implementation.Tests.Models
{
public class ApiEndpointTests
{
[Fact]
public void Test_Instantiate_ThrowsArgument... | coddo/PortableRestClient | test/Implementation.Tests/Models/ApiEndpointTests.cs | https://github.com/coddo/PortableRestClient/blob/HEAD/test/Implementation.Tests/Models/ApiEndpointTests.cs | ghcode:00174:7087622385b8 | mit | codeparrot/github-code | 7087622385b8bfd0b8a05a67629aa0b441f2de7a93390f4ec73f2ef0b628bd82 | 0.85 | testing_debugging_repair_refactoring | 1,264 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Collections.Generic;
using FluentAssertions;
using LiteDB.Engine;
using Xunit;
namespace LiteDB.Internals
{
public class Cache_Tests
{
[Fact]
public void Cache_Read_Write()
{
var m = new MemoryCache(new int[] { 10 });
... | mbdavid/LiteDB | LiteDB.Tests/Internals/Cache_Tests.cs | https://github.com/mbdavid/LiteDB/blob/HEAD/LiteDB.Tests/Internals/Cache_Tests.cs | ghcode:00174:1c1dd1f77d45 | mit | codeparrot/github-code | 1c1dd1f77d45cfbdcec6dd512aee2467f1302b4d30c7341d4c82a8f6c1598ed5 | 0.85 | testing_debugging_repair_refactoring | 1,178 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using ProjectionSystem.ModelsForTest;
namespace ProjectionSystem.States {
[TestFixture]
public class ValidStateTimeoutProviderTests {
TimeSpan _timeout;
ValidStateTimeoutProvider<Department> _sut;
[SetUp]
public void SetUp() {
_timeout = TimeSpan.FromMin... | DavidLievrouw/ProjectionSystem | src/ProjectionSystem.Tests/States/ValidStateTimeoutProviderTests.cs | https://github.com/DavidLievrouw/ProjectionSystem/blob/HEAD/src/ProjectionSystem.Tests/States/ValidStateTimeoutProviderTests.cs | ghcode:00174:0b27a6511029 | mit | codeparrot/github-code | 0b27a65110294d692d0a3bd02f90b693f5a3be74de0b7f7008f620dba1403c77 | 0.75 | testing_debugging_repair_refactoring | 225 | false | 2026-07-17 |
// -----------------------------------------------------------------------
// <copyright file="SelectableMixinTests.cs" company="Steven Kirk">
// Copyright 2015 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspe... | sagamors/Perspex | Tests/Perspex.Controls.UnitTests/Mixins/SelectableMixinTests.cs | https://github.com/sagamors/Perspex/blob/HEAD/Tests/Perspex.Controls.UnitTests/Mixins/SelectableMixinTests.cs | ghcode:00174:db57edd48bfd | mit | codeparrot/github-code | db57edd48bfd5054cdad7c31fbdeeacd13d7bf1581100c21a2897151ecc1e462 | 0.85 | testing_debugging_repair_refactoring | 398 | false | 2026-07-17 |
using Common.Logging;
using Hepsi.CommandProcessor.Handlers;
namespace Hepsi.CommandProcessor.UnitTests.TestSupport.Handlers
{
internal class TestCommandHandler : RequestHandler<TestCommand>
{
private static TestCommand command;
public TestCommandHandler(ILog logger)
: base(logger... | hepsiburada/HepsiCommandProcessor | src/tests/Hepsi.CommandProcessor.UnitTests/TestSupport/Handlers/TestCommandHandler.cs | https://github.com/hepsiburada/HepsiCommandProcessor/blob/HEAD/src/tests/Hepsi.CommandProcessor.UnitTests/TestSupport/Handlers/TestCommandHandler.cs | ghcode:00174:8e79e940ea30 | mit | codeparrot/github-code | 8e79e940ea30f48fd388e9daede2bc163c99e4bd22a9c8432825b10fb24650a7 | 0.85 | testing_debugging_repair_refactoring | 148 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using Blitzy.Model;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Blitzy.Tests.Model
{
[TestClass]
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
public class Folder_Tests : TestBase
{
[TestMethod, TestCategory( "Model" )]
public voi... | TheSylence/Blitzy_old | Blitzy.Tests/Tests/Model/Folder_Tests.cs | https://github.com/TheSylence/Blitzy_old/blob/HEAD/Blitzy.Tests/Tests/Model/Folder_Tests.cs | ghcode:00174:a45468f26d5a | mit | codeparrot/github-code | a45468f26d5ae9207e85965a4f35de1188950201439767c0aab6e6440c40b1cb | 0.85 | testing_debugging_repair_refactoring | 1,247 | false | 2026-07-17 |
namespace OJS.Workers.Compilers.Tests
{
using System;
using NUnit.Framework;
using OJS.Common.Extensions;
[TestFixture]
public class MsBuildCompilerTests
{
private const string MsBuildCompilerPath = @"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe";
[Test]
... | hackohackob/OpenJudgeSystem | Open Judge System/Tests/OJS.Workers.Compilers.Tests/MsBuildCompilerTests.cs | https://github.com/hackohackob/OpenJudgeSystem/blob/HEAD/Open Judge System/Tests/OJS.Workers.Compilers.Tests/MsBuildCompilerTests.cs | ghcode:00174:e28ae660906b | mit | codeparrot/github-code | e28ae660906bba5d6f89cc7e4bc5e31b717485fc59c6c0c0ac9c125ce87debc8 | 0.85 | testing_debugging_repair_refactoring | 8,705 | false | 2026-07-17 |
using System;
using Gst.Plugins.Base;
using Gst.Plugins.Core;
using Gst.Plugins.Good;
using NUnit.Framework;
namespace Gst.Tests
{
[TestFixture]
public class GstFileSinkTest : BaseTest
{
[TestCase]
public void Test1()
{
var pipeline = new GstPipeline();
var ... | ismaildurmaz/gstreamer-sharp | src/gstreamer-sharp/Tests/GstFileSinkTest.cs | https://github.com/ismaildurmaz/gstreamer-sharp/blob/HEAD/src/gstreamer-sharp/Tests/GstFileSinkTest.cs | ghcode:00174:c7d831b4e275 | mit | codeparrot/github-code | c7d831b4e2750391f9f54d597f5233ddfe81261a3056006b8cd670e15ee6d184 | 0.95 | testing_debugging_repair_refactoring | 253 | false | 2026-07-17 |
namespace AngleSharp.Js.Tests
{
using NUnit.Framework;
using System.Threading.Tasks;
[TestFixture]
public class PseudoPropertiesTests
{
[Test]
public async Task GetScrollLeftOfDiv()
{
var result = await "document.createElement('div').scrollLeft".EvalScriptAsync()... | AngleSharp/AngleSharp.Scripting | src/AngleSharp.Js.Tests/PseudoPropertiesTests.cs | https://github.com/AngleSharp/AngleSharp.Scripting/blob/HEAD/src/AngleSharp.Js.Tests/PseudoPropertiesTests.cs | ghcode:00174:4aa546e6b7b2 | mit | codeparrot/github-code | 4aa546e6b7b2687e5c19dd01e5ba0ba7370aa1650f6eb906f3fec8ab402ffcea | 0.75 | testing_debugging_repair_refactoring | 291 | false | 2026-07-17 |
using FluentCache.RuntimeCaching;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FluentCache.Test.Nuget
{
[TestClass]
public class RuntimeCacheNugetTests
{
[TestMetho... | cordialgerm/FluentCache | FluentCache.Test.Nuget/RuntimeCacheNugetTests.cs | https://github.com/cordialgerm/FluentCache/blob/HEAD/FluentCache.Test.Nuget/RuntimeCacheNugetTests.cs | ghcode:00174:0f2367039e98 | mit | codeparrot/github-code | 0f2367039e985f107d1eca10e73732c35948d9ea204f1f3fadf7f7b868e9a55c | 0.75 | testing_debugging_repair_refactoring | 129 | 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.Diagnostics;
using System.Diagnostics.CodeAnalysis;
usi... | marksmeltzer/corefx | src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/CSharpUnaryOperationBinder.cs | https://github.com/marksmeltzer/corefx/blob/HEAD/src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/CSharpUnaryOperationBinder.cs | ghcode:00174:62ab068471a3 | mit | codeparrot/github-code | 62ab068471a35148799648092fdca190b58c1f08a1926deb539c502432692e06 | 0.95 | testing_debugging_repair_refactoring | 711 | false | 2026-07-17 |
//
// AmpachePlayerFixture.cs
//
// Author:
// John Moore <jcwmoore@gmail.com>
//
// Copyright (c) 2012 John Moore
//
// 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 withou... | jcwmoore/ampache-net | JohnMoore.AmpacheNet.Logic.Tests/BackgroundFixture.cs | https://github.com/jcwmoore/ampache-net/blob/HEAD/JohnMoore.AmpacheNet.Logic.Tests/BackgroundFixture.cs | ghcode:00174:422dc21da969 | mit | codeparrot/github-code | 422dc21da96988c0837bd92090f51dc4d8470950a62cbfed8129841e049c76f4 | 0.7 | testing_debugging_repair_refactoring | 2,860 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace BrightcoveOS.NET_MAPI_Wrapper.Tests.IntegrationTests.AudioTrackPlaylistWrite
{
[TestFixture]
public class DeleteAudioTrackPlaylistTests : AudioTrackPlaylistWriteTestBase
{
[Test]
public void D... | EMPIR/brightcove | tests/BrightcoveOS .NET-MAPI-Wrapper.Tests/IntegrationTests/AudioTrackPlaylistWrite/DeleteAudioTrackPlaylistTests.cs | https://github.com/EMPIR/brightcove/blob/HEAD/tests/BrightcoveOS .NET-MAPI-Wrapper.Tests/IntegrationTests/AudioTrackPlaylistWrite/DeleteAudioTrackPlaylistTests.cs | ghcode:00174:f64b716cf791 | mit | codeparrot/github-code | f64b716cf791c5f8d9b239e3281b1291cbf17ee0dcfc4896e86a8a6d1969778d | 0.75 | testing_debugging_repair_refactoring | 166 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Arebis.Types;
namespace Arebis.Extensions.Tests.Arebis.Types
{
[TestClass()]
public class UnitAmountRange
{
[TestMethod()]
public void AmountRange01Test()
{
Range<Amoun... | codetuner/Arebis.Common | Test.Arebis.Extensions/Tests/Arebis.Types/UnitAmountRange.cs | https://github.com/codetuner/Arebis.Common/blob/HEAD/Test.Arebis.Extensions/Tests/Arebis.Types/UnitAmountRange.cs | ghcode:00174:0ae71f0d4d75 | mit | codeparrot/github-code | 0ae71f0d4d754800333ae89d878202e4032de60a21fcd2baef31604797b77c95 | 0.85 | testing_debugging_repair_refactoring | 208 | false | 2026-07-17 |
using System;
using System.Linq;
using GalaSoft.MvvmLight.Ioc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ouranos.RedArmory.Models.Services;
namespace RedArmory.Test.Models
{
[TestClass]
public class MySqlConnectorService
{
[TestMethod]
public void GetEnumerations()
... | takuya-takeuchi/RedArmory | source/Test/RedArmory.Test/Models/MySqlConnectorService.cs | https://github.com/takuya-takeuchi/RedArmory/blob/HEAD/source/Test/RedArmory.Test/Models/MySqlConnectorService.cs | ghcode:00174:0eb2b5dc26f3 | mit | codeparrot/github-code | 0eb2b5dc26f3894ee8b0255255bfce6157742638b11587d8c5c8530383c3bb12 | 0.85 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using uWebshop.Common;
using uWebshop.Common.Interfaces;
using uWebshop.Domain;
using uWebshop.Domain.Businesslogic;
using uWebshop.Domain.OrderDTO;
using uWebshop.Test.SharedFunctionality;
namespace uWebshop.... | uWebshop/uWebshop-Releases | Tests/uWebshop.Test/Domain/Domain classes/OrderDiscounts/DiscountApplication.cs | https://github.com/uWebshop/uWebshop-Releases/blob/HEAD/Tests/uWebshop.Test/Domain/Domain classes/OrderDiscounts/DiscountApplication.cs | ghcode:00174:20dee0b49d9c | mit | codeparrot/github-code | 20dee0b49d9c85fc6badf1c3c51ca1e20c56705ff7a81bae2a4b9f0d48189934 | 0.75 | testing_debugging_repair_refactoring | 348 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Azure.VSO.PaaSEstimator.LoadTestPlugIn.PaaSResources;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Azure.VSO.PaaSEstimator.LoadTestPlugIn.PaaSResources.Tests
{
[TestClass()]
... | tonysurma/paasestimator | Azure.VSO.PaaSEstimator.LoadTestPlugInTests/PaaSResources/ResourceGroupGatewayTests.cs | https://github.com/tonysurma/paasestimator/blob/HEAD/Azure.VSO.PaaSEstimator.LoadTestPlugInTests/PaaSResources/ResourceGroupGatewayTests.cs | ghcode:00174:c8f675b4f20c | mit | codeparrot/github-code | c8f675b4f20c2cde740f74ddf9f45e5d16d7abadb94e58f28aa0beab2f920b5d | 0.85 | testing_debugging_repair_refactoring | 487 | false | 2026-07-17 |
using Xunit;
namespace Algorithms101.RedTeam
{
[Trait("Category", "Red Team")]
public class Task3PiggyBank
{
}
} | tim-f/Education | src/Algorithms/Algorithms101/RedTeam/Task-3-Piggy-Bank.cs | https://github.com/tim-f/Education/blob/HEAD/src/Algorithms/Algorithms101/RedTeam/Task-3-Piggy-Bank.cs | ghcode:00174:e01aabc5225a | mit | codeparrot/github-code | e01aabc5225a55b98a386968520bf02658599e672954f1fefae2aef4a1ac15e6 | 0.35 | testing_debugging_repair_refactoring | 38 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Threading;
using Delimited.Data.Attributes;
using Delimited.Data.Exceptions;
using Delimited.Data.Specializations;
using NUnit.Framework;
namespace Delimited.Data.Tests
{
[ExcludeFromCodeCoverage]
pu... | putridparrot/Delimited.Data | Delimited.Data.Tests/CsvSerializerTests.cs | https://github.com/putridparrot/Delimited.Data/blob/HEAD/Delimited.Data.Tests/CsvSerializerTests.cs | ghcode:00174:52cf3c1b054a | mit | codeparrot/github-code | 52cf3c1b054a988bdd41645e69b4687813f1c554e1bdd131eddfd4e08409a4cf | 0.75 | testing_debugging_repair_refactoring | 2,107 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CallrApi.Services.Client;
using CallrApi.Objects.App;
using CallrApi.Objects.RealTime;
using CallrApi.Enums;
using CallrApi.Exception;
using System.Collections.Generic;
using CallrApi.Objects.Misc;
namespace CallrApiTest
{
/// <summary>
/... | THECALLR/sdk-dotnet | sources/CallrApi/CallrApiTest/DialrServiceTest.cs | https://github.com/THECALLR/sdk-dotnet/blob/HEAD/sources/CallrApi/CallrApiTest/DialrServiceTest.cs | ghcode:00174:c1fd3faff571 | mit | codeparrot/github-code | c1fd3faff571e4648da8aa3d17a50fb034343eff79eec85e0ae9aa5c692346ff | 0.7 | testing_debugging_repair_refactoring | 1,412 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Helpful.BDD;
using Helpful.CircuitBreaker;
using Helpful.CircuitBreaker.Config;
using Helpful.CircuitBreaker.Exceptions;
using NUnit.Framework;
namespace when_executing_async_code_via_the_breaker.when_breaker_state_is_open.wh... | RokitSalad/Helpful.CircuitBreaker | Helpful.CircuitBreaker.Test.Unit/when_executing_async_code_via_the_breaker/when_breaker_state_is_open/when_trying_to_close/when_configured_not_to_use_timeout/when_receiving_a_blacklisted_exception.cs | https://github.com/RokitSalad/Helpful.CircuitBreaker/blob/HEAD/Helpful.CircuitBreaker.Test.Unit/when_executing_async_code_via_the_breaker/when_breaker_state_is_open/when_trying_to_close/when_configured_not_to_use_timeout/when_receiving_a_blacklisted_exception.cs | ghcode:00174:8182576d8813 | mit | codeparrot/github-code | 8182576d8813a89864d573368c0d7b8a87b39737303fab231aee13195852ff4d | 0.75 | testing_debugging_repair_refactoring | 639 | false | 2026-07-17 |
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2021 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 ... | SonarSource-VisualStudio/sonarlint-visualstudio | src/Core.UnitTests/RuleSettingsSerializerTests.cs | https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/blob/HEAD/src/Core.UnitTests/RuleSettingsSerializerTests.cs | ghcode:00174:0921b58d503e | mit | codeparrot/github-code | 0921b58d503e31108b4bf5ba0f963d7e2165ace5b324251feaefabad9c6f22ad | 0.85 | testing_debugging_repair_refactoring | 2,853 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ProductsManagement.Domain.Factories;
namespace ProductsManagement.Domain.Test
{
[TestClass]
public class ProductEntityTest
{
[TestMethod]
public void WhenTheProductWasCreatedEntityTest()
{
... | adrianomota/product-management | src/ProductsManagement.Domain.Test/ProductEntityTest.cs | https://github.com/adrianomota/product-management/blob/HEAD/src/ProductsManagement.Domain.Test/ProductEntityTest.cs | ghcode:00174:862bf52d8867 | mit | codeparrot/github-code | 862bf52d8867d92e1eaf5558d8ff086926cdbc7256978bda22e444402c1ffcb7 | 0.7 | testing_debugging_repair_refactoring | 201 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FakeItEasy;
using NUnit.Framework;
namespace Akka.Configuration.Builders.Tests
{
[TestFixture]
public class ActorSystemBuilderTests
{
[Test]
public void Should_create_a... | philiplaureano/akka.configuration.builders | Akka.Configuration.Builders.Tests/ActorSystemBuilderTests.cs | https://github.com/philiplaureano/akka.configuration.builders/blob/HEAD/Akka.Configuration.Builders.Tests/ActorSystemBuilderTests.cs | ghcode:00174:66e71bd4daaf | mit | codeparrot/github-code | 66e71bd4daafed01633b106d4522b125687d2e80e335eede157a060957533630 | 0.75 | testing_debugging_repair_refactoring | 211 | false | 2026-07-17 |
using System;
using SysCommand.ConsoleApp;
using System.IO;
using SysCommand.ConsoleApp.Commands;
using Xunit;
using SysCommand.Tests.UnitTests.Common;
namespace SysCommand.Tests.UnitTests
{
public class TestMagicMethods
{
public TestMagicMethods()
{
TestHelper.Setup();
... | juniorgasparotto/SysCommand | src/SysCommand.Tests.UnitTests.DotNetCore/MagicMethods/TestMagicMethods.cs | https://github.com/juniorgasparotto/SysCommand/blob/HEAD/src/SysCommand.Tests.UnitTests.DotNetCore/MagicMethods/TestMagicMethods.cs | ghcode:00174:ee124b3a1022 | mit | codeparrot/github-code | ee124b3a102225aaff4b045a90154d25be0b25f1a2291e8e8b5d7c5da731c62d | 0.75 | testing_debugging_repair_refactoring | 411 | false | 2026-07-17 |
using System.Collections;
using System.Collections.Generic;
using Aspose.Words;
using Aspose.Words.MailMerging;
using NUnit.Framework;
namespace DocsExamples.Mail_Merge_and_Reporting.Custom_examples
{
class NestedMailMergeCustom : DocsExamplesBase
{
[Test]
public void CustomMailMerge()
... | asposewords/Aspose_Words_NET | Examples/DocsExamples/DocsExamples/Mail Merge and Reporting/Complex examples and helpers/Nested MailMerge custom.cs | https://github.com/asposewords/Aspose_Words_NET/blob/HEAD/Examples/DocsExamples/DocsExamples/Mail Merge and Reporting/Complex examples and helpers/Nested MailMerge custom.cs | ghcode:00174:32a438886314 | mit | codeparrot/github-code | 32a4388863149cbb10144a895ef33aa5dc59d60c964fe20290c052d6a35f9c77 | 0.7 | testing_debugging_repair_refactoring | 1,404 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using SendGridSharp.Core;
using Xunit;
namespace SendGridSharp.Core.Tests
{
public class SendGridClientRetryTest
{
... | arichika/SendGridSharp.Core | src/SendGridSharp.Core.Tests/SendGridClientRetryTest.cs | https://github.com/arichika/SendGridSharp.Core/blob/HEAD/src/SendGridSharp.Core.Tests/SendGridClientRetryTest.cs | ghcode:00174:821f9d135f11 | mit | codeparrot/github-code | 821f9d135f11c7f8f03d18df2584aed49b440ed286720e8240251cd294ac43ca | 0.7 | testing_debugging_repair_refactoring | 727 | false | 2026-07-17 |
using System.Linq;
using System.Threading.Tasks;
using DataGenerator;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using MongoDB.Abstracts.Tests.Models;
using MongoDB.Abstracts.Tests.Profiles;
using Xunit;
using Xunit.Abstractions;
namespace MongoDB.Abstracts.Tests
{
public class Comme... | loresoft/MongoDB.Abstracts | test/MongoDB.Abstracts.Tests/CommentRepositoryTest.cs | https://github.com/loresoft/MongoDB.Abstracts/blob/HEAD/test/MongoDB.Abstracts.Tests/CommentRepositoryTest.cs | ghcode:00174:e08b545c5468 | mit | codeparrot/github-code | e08b545c546861a4928e3587141189fc07da82dd1868353596e6dabac18be38a | 0.7 | testing_debugging_repair_refactoring | 690 | false | 2026-07-17 |
namespace seesharp.moqingbirt
{
using System;
public class MockException : Exception
{
public MockException(string message)
: base(message)
{
}
}
} | salfab/moqingbiRT | seesharp.moqingbirt/Mocks/MockException.cs | https://github.com/salfab/moqingbiRT/blob/HEAD/seesharp.moqingbirt/Mocks/MockException.cs | ghcode:00174:8104ef09d679 | mit | codeparrot/github-code | 8104ef09d679d6e0bc5bba3da5e841a6b0692d26590851bda4e8af65d298399c | 0.6 | testing_debugging_repair_refactoring | 44 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using UnityEngine;
namespace HoloToolkit.Unity
{
/// <summary>
/// Changes the VR viewport to correlate to the requested quality, trying to maintain ... | out-of-pixel/HoloToolkit-Unity | Assets/HoloToolkit/Utilities/Scripts/AdaptiveQuality/AdaptiveViewport.cs | https://github.com/out-of-pixel/HoloToolkit-Unity/blob/HEAD/Assets/HoloToolkit/Utilities/Scripts/AdaptiveQuality/AdaptiveViewport.cs | ghcode:00174:4751bd203eac | mit | codeparrot/github-code | 4751bd203eac1c9b50632d6b79803f2933da9381e6611ec531f5c3867e35fb1c | 0.7 | testing_debugging_repair_refactoring | 603 | false | 2026-07-17 |
using System;
using DediLib.Collections;
using NUnit.Framework;
namespace DediLib.Tests.Collections
{
[TestFixture]
public class DistinctConcurrentQueueTests
{
private DistinctConcurrentQueue<string> _queue;
[SetUp]
public void SetUp()
{
_queue = new DistinctCo... | hanswolff/dedilib | src/test/DediLib.Tests/Collections/TestDistinctConcurrentQueue.cs | https://github.com/hanswolff/dedilib/blob/HEAD/src/test/DediLib.Tests/Collections/TestDistinctConcurrentQueue.cs | ghcode:00174:2d62f24666f3 | mit | codeparrot/github-code | 2d62f24666f319f3ec2df13834fed34fed8a0c025e95d59642d421db99d36e45 | 0.85 | testing_debugging_repair_refactoring | 483 | false | 2026-07-17 |
using DotNetEngine.Engine.Enums;
using DotNetEngine.Engine.Helpers;
using DotNetEngine.Engine.Objects;
using NUnit.Framework;
using System.Linq;
namespace DotNetEngine.Test.MoveGenerationTests
{
public class KnightMoveGenerationTests
{
private readonly MoveData _moveData = new MoveData();
priv... | aaronmell/dotnetchess | DotNetEngine.Test/MoveGenerationTests/KnightMoveGenerationTests.cs | https://github.com/aaronmell/dotnetchess/blob/HEAD/DotNetEngine.Test/MoveGenerationTests/KnightMoveGenerationTests.cs | ghcode:00174:34e696ad77b2 | mit | codeparrot/github-code | 34e696ad77b29c7f185c76389428787c3b9477c219fdafe5bd4539f07a6336ab | 0.75 | testing_debugging_repair_refactoring | 3,526 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Numerics;
namespace Dirichlet.Numerics
{
public struct UInt128 : IFormattable, IComparable, IComparable<UInt128>, IEquatable<UInt128>
{
private struct UInt256
{
public ulong s0;
... | crea7or/EulerPowersConjecture | EulerSharp/EulerTest/UInt128.cs | https://github.com/crea7or/EulerPowersConjecture/blob/HEAD/EulerSharp/EulerTest/UInt128.cs | ghcode:00174:44bd1ea03285 | mit | codeparrot/github-code | 44bd1ea032858ca2515ac1c6c5f57eb64900a192e86cd03dc28187ff67103533 | 0.57 | testing_debugging_repair_refactoring | 21,080 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using RememBeer.Services;
namespace RememBeer.Tests.Services.BeerReviewServiceTests
{
[TestFixture]
public class Ctor_Should
{
[Test]
public void ThrowArgumentNullException_WhenRepositoryIsNull()
{
// Act & assert
Asser... | J0hnyBG/RememBeerMeMvc | src/RememBeer.Tests/Services/BeerReviewServiceTests/Ctor_Should.cs | https://github.com/J0hnyBG/RememBeerMeMvc/blob/HEAD/src/RememBeer.Tests/Services/BeerReviewServiceTests/Ctor_Should.cs | ghcode:00174:8dfbf5baabf7 | mit | codeparrot/github-code | 8dfbf5baabf7adb0aca745cabb9210d95c1b4bf515a6d935167135e70e2e48e5 | 0.75 | testing_debugging_repair_refactoring | 80 | false | 2026-07-17 |
/*
* Created by SharpDevelop.
* User: lextm
* Date: 2010/12/5
* Time: 15:33
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using NUnit.Framework;
namespace Lextm.SharpSnmpLib.Security.Tests
{
[TestFixture]
[Category("Default")]
public class Defau... | yonglehou/sharpsnmplib | Tests/Security/Tests/DefaultPrivacyProviderTestFixture.cs | https://github.com/yonglehou/sharpsnmplib/blob/HEAD/Tests/Security/Tests/DefaultPrivacyProviderTestFixture.cs | ghcode:00174:7c2a4eace39c | mit | codeparrot/github-code | 7c2a4eace39c486471674d9c3a3a72208b23d20f296426e9d54519b08b7315d7 | 0.85 | testing_debugging_repair_refactoring | 268 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Ninject;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using WebCalendar.Domain.Aggregate.Event;
using WebCalendar.Domain.Aggregate.Notification;
using WebCalendar.Domain.Exceptions;
namesp... | inqueez/students-web-calendar | WebCalendar/WebCalendar.Tests/Services/NotificationService/NotificationServiceTests.cs | https://github.com/inqueez/students-web-calendar/blob/HEAD/WebCalendar/WebCalendar.Tests/Services/NotificationService/NotificationServiceTests.cs | ghcode:00174:1d4f1531161e | unlicense | codeparrot/github-code | 1d4f1531161e436450c10f0388494756ba2de50cb22866af2d69d9e6ef869626 | 0.78 | testing_debugging_repair_refactoring | 1,556 | false | 2026-07-17 |
using System;
using UnityEngine;
namespace AGXUnity
{
/// <summary>
/// Deprecated - use AttachmentPair instead.
/// </summary>
[DoNotGenerateCustomEditor]
public class ConstraintAttachmentPair : ScriptAsset
{
#pragma warning disable 0618
[SerializeField]
private Frame m_referenceFrame = null;
... | Algoryx/agxUnity | AGXUnity/ConstraintAttachmentPair.cs | https://github.com/Algoryx/agxUnity/blob/HEAD/AGXUnity/ConstraintAttachmentPair.cs | ghcode:00174:ca48898218b0 | apache-2.0 | codeparrot/github-code | ca48898218b074078359d6c64114c6fcb712ae6e3294747a24e1d5a58308af45 | 0.7 | testing_debugging_repair_refactoring | 250 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.RemoveConfus... | davkean/roslyn | src/Analyzers/CSharp/Tests/RemoveConfusingSuppression/RemoveConfusingSuppressionTests.cs | https://github.com/davkean/roslyn/blob/HEAD/src/Analyzers/CSharp/Tests/RemoveConfusingSuppression/RemoveConfusingSuppressionTests.cs | ghcode:00174:eac1ca080dac | apache-2.0 | codeparrot/github-code | eac1ca080dac85f2e899f73dbdf4c0d3a7663d36250552ad4539de9495b6e515 | 0.95 | testing_debugging_repair_refactoring | 1,786 | false | 2026-07-17 |
using System;
using FluentAssertions;
using NUnit.Framework;
using Tracer.Fody.Tests.MockLoggers;
namespace Tracer.Fody.Tests.TraceTests
{
[TestFixture]
public class ParamsNoRetvalTests : TestBase
{
[Test]
public void Test_Static_ReadOnlySpan_Param_Method()
{
string cod... | csnemes/tracer | Tracer.Fody.Tests/TraceTests/ParamsNoRetvalTests.cs | https://github.com/csnemes/tracer/blob/HEAD/Tracer.Fody.Tests/TraceTests/ParamsNoRetvalTests.cs | ghcode:00174:3fa0a6a5ddae | apache-2.0 | codeparrot/github-code | 3fa0a6a5ddae709d8dead30f1200550df23d6d2174d1e6a35993c8260002f089 | 0.75 | testing_debugging_repair_refactoring | 2,096 | false | 2026-07-17 |
using EPiServer.Commerce.Order;
using EPiServer.Commerce.Order.Internal;
using EPiServer.Core;
using EPiServer.Reference.Commerce.Site.Features.Cart.ViewModelFactories;
using EPiServer.Reference.Commerce.Site.Features.Cart.ViewModels;
using EPiServer.Reference.Commerce.Site.Features.Market.Services;
using EPiServer.Ref... | episerver/SocialQuicksilver | Sources/EPiServer.Reference.Commerce.Site.Tests/Features/Cart/ViewModelFactories/CartViewModelFactoryTests.cs | https://github.com/episerver/SocialQuicksilver/blob/HEAD/Sources/EPiServer.Reference.Commerce.Site.Tests/Features/Cart/ViewModelFactories/CartViewModelFactoryTests.cs | ghcode:00174:4b461a382034 | apache-2.0 | codeparrot/github-code | 4b461a382034215462af42441d3f6c933a92d9a2051abf65788a2146e1c19ee8 | 0.75 | testing_debugging_repair_refactoring | 1,522 | false | 2026-07-17 |
using BigBook.Tests.BaseClasses;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace BigBook.Tests.ExtensionMethods
{
public class IDictionaryExtensionsTests : TestBaseClass
{
protected override System.Type ObjectType { get; set; } = typeof(IDictionaryExtensions);
... | JaCraig/BigBookOfDataTypes | test/BigBook.Tests/ExtensionMethods/IDictionaryExtensions.cs | https://github.com/JaCraig/BigBookOfDataTypes/blob/HEAD/test/BigBook.Tests/ExtensionMethods/IDictionaryExtensions.cs | ghcode:00174:9dcfa889c741 | apache-2.0 | codeparrot/github-code | 9dcfa889c7411bb0d82c509e83fd42b011b40edc8488868afae57f9421c46bf0 | 0.75 | testing_debugging_repair_refactoring | 612 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace BasicWebSite.Controllers.ContentNegotiation
{
public class NoContentController : Controller
{
... | aspnet/AspNetCore | src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoContentController.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoContentController.cs | ghcode:00174:44b415f445f2 | apache-2.0 | codeparrot/github-code | 44b415f445f2816d458ca38ff4bc9a118a227ea095b86fc19bd0cbd7b8b369d8 | 0.85 | testing_debugging_repair_refactoring | 170 | false | 2026-07-17 |
/*
Copyright 2014 Chris Hannon
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 wri... | Norhaven/FluentBoilerplate | DotNet/FluentBoilerplate.Tests/Runtime/FunctionGeneratorTests/CreateAction_TryCatchBlockProvider.cs | https://github.com/Norhaven/FluentBoilerplate/blob/HEAD/DotNet/FluentBoilerplate.Tests/Runtime/FunctionGeneratorTests/CreateAction_TryCatchBlockProvider.cs | ghcode:00174:d96c157d28f7 | apache-2.0 | codeparrot/github-code | d96c157d28f77b6baa74691d893297d10039e391da1c47b6a00c7c1f4aedf367 | 0.75 | testing_debugging_repair_refactoring | 376 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MedivhUnitTest
{
[TestClass]
public class DatetimeUnitTest1
{
[TestMethod]
public void TestMethod1()
{
}
}
}
| larrymshi/medivh.client-csharp | src/MedivhUnitTest/datetimeUnitTest1.cs | https://github.com/larrymshi/medivh.client-csharp/blob/HEAD/src/MedivhUnitTest/datetimeUnitTest1.cs | ghcode:00174:c66f8fae79cf | apache-2.0 | codeparrot/github-code | c66f8fae79cff648ebff6e730e990fbd69ab4664043f2862c6786bab66cfaddc | 0.6 | testing_debugging_repair_refactoring | 48 | false | 2026-07-17 |
/*
* Copyright 2012-2016 The Pkcs11Interop Project
*
* 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 app... | thearkhelist/Pkcs11Interop | src/Pkcs11Interop/Pkcs11InteropTests/HighLevelAPI/_12_DigestTest.cs | https://github.com/thearkhelist/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop/Pkcs11InteropTests/HighLevelAPI/_12_DigestTest.cs | ghcode:00174:6dc1d9d6191f | apache-2.0 | codeparrot/github-code | 6dc1d9d6191f214991a8d61fb37f18d9a9072f269b804e61eef533de3e05e97b | 0.85 | testing_debugging_repair_refactoring | 1,001 | false | 2026-07-17 |
/*
* Copyright 2012-2016 The Pkcs11Interop Project
*
* 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 app... | thearkhelist/Pkcs11Interop | src/Pkcs11Interop/Pkcs11InteropTests/LowLevelAPI81/Helpers.cs | https://github.com/thearkhelist/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop/Pkcs11InteropTests/LowLevelAPI81/Helpers.cs | ghcode:00174:a3383bb82022 | apache-2.0 | codeparrot/github-code | a3383bb82022e12760ab0adbb528a4bb2c23858511fd354d05a61982e8e64275 | 0.85 | testing_debugging_repair_refactoring | 2,528 | false | 2026-07-17 |
namespace NServiceBus.AcceptanceTests.Tx
{
using System.Threading.Tasks;
using System.Transactions;
using AcceptanceTesting;
using EndpointTemplates;
using NUnit.Framework;
using ScenarioDescriptors;
public class Issue_2481 : NServiceBusAcceptanceTest
{
[Test]
public Ta... | pablocastilla/NServiceBus.Kafka | src/NServiceBus.Kafka.AcceptanceTests/App_Packages/NSB.AcceptanceTests.6.1.3/Tx/Issue_2481.cs | https://github.com/pablocastilla/NServiceBus.Kafka/blob/HEAD/src/NServiceBus.Kafka.AcceptanceTests/App_Packages/NSB.AcceptanceTests.6.1.3/Tx/Issue_2481.cs | ghcode:00174:e57288a84aa6 | apache-2.0 | codeparrot/github-code | e57288a84aa6c77321a8f1c3222a4c36c487c1c7511829747644c5773365fa98 | 0.6 | testing_debugging_repair_refactoring | 371 | false | 2026-07-17 |
/*
* Copyright 2013-2018 Guardtime, Inc.
*
* This file is part of the Guardtime client SDK.
*
* 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/licens... | GuardTime/ksi-net-sdk | ksi-net-api-test/Signature/Verification/Rule/ExtendedSignatureCalendarChainInputHashRuleTests.cs | https://github.com/GuardTime/ksi-net-sdk/blob/HEAD/ksi-net-api-test/Signature/Verification/Rule/ExtendedSignatureCalendarChainInputHashRuleTests.cs | ghcode:00174:51f41c9ce49c | apache-2.0 | codeparrot/github-code | 51f41c9ce49ce99af14a5a2468ed89e89a7dcc670c47d192d5b6b4d59066ad6c | 0.85 | testing_debugging_repair_refactoring | 1,125 | 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 Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.EditAndCo... | shyamnamboodiripad/roslyn | src/EditorFeatures/CSharpTest/EditAndContinue/ActiveStatementTests.cs | https://github.com/shyamnamboodiripad/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/EditAndContinue/ActiveStatementTests.cs | ghcode:00174:49dc2f01edd3 | apache-2.0 | codeparrot/github-code | 49dc2f01edd3b9820f0961e18845d93537daf6cebf795d6a276b827e5b008703 | 0.65 | testing_debugging_repair_refactoring | 62,530 | 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
//... | int19h/PTVS | Python/Product/Debugger.Concord/Proxies/Structs/PyIntObject.cs | https://github.com/int19h/PTVS/blob/HEAD/Python/Product/Debugger.Concord/Proxies/Structs/PyIntObject.cs | ghcode:00174:169d8f490f30 | apache-2.0 | codeparrot/github-code | 169d8f490f304cae6205801cc9349183200dab05d94de2b1ba3caddedc8cbf5a | 0.85 | testing_debugging_repair_refactoring | 462 | 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.Generic;
using System.Collections.Immutable;
using System... | brettfo/roslyn | src/Analyzers/Core/Analyzers/RemoveUnusedMembers/AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs | https://github.com/brettfo/roslyn/blob/HEAD/src/Analyzers/Core/Analyzers/RemoveUnusedMembers/AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs | ghcode:00174:eb08270ef57f | apache-2.0 | codeparrot/github-code | eb08270ef57f500cd08673d83354b783f5957a44a3c289d9fee3d4185217f14e | 0.85 | testing_debugging_repair_refactoring | 6,375 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace Hyperstore.Modeling.Scopes
{
class Entry<T> where T : class, IDomainModel
{
public T Domain { get; private set; }
private int _startSess... | Hyperstore/Hyperstore.Core | Hyperstore/DomainModel/Impl/Scopes/V2/Entry.cs | https://github.com/Hyperstore/Hyperstore.Core/blob/HEAD/Hyperstore/DomainModel/Impl/Scopes/V2/Entry.cs | ghcode:00174:22d5b699f94e | apache-2.0 | codeparrot/github-code | 22d5b699f94e37ec86c0f89ffa157b5ec85dece3f5690c614f6b9208c209aaf2 | 0.85 | testing_debugging_repair_refactoring | 980 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Golem.Tests.PageObjects.Google;
using Golem.WebDriver;
namespace Golem.Tests
{
class TestComponent : WebDriverTestBase
{
[Test]
public void TestBaseComponentActsLikeElement()
... | ProtoTest/ProtoTest.Golem | ProtoTest.Golem/Tests/TestComponent.cs | https://github.com/ProtoTest/ProtoTest.Golem/blob/HEAD/ProtoTest.Golem/Tests/TestComponent.cs | ghcode:00174:1d5ef4b03707 | apache-2.0 | codeparrot/github-code | 1d5ef4b0370764fc8556612ca9cf28bff22648935a1c15abc83c6056448261a2 | 0.95 | testing_debugging_repair_refactoring | 249 | false | 2026-07-17 |
using System.Globalization;
using NMoneys;
using NMoneys.Extensions;
using NUnit.Framework;
[TestFixture]
public class Formatting_Money
{
[Test]
public void moneys_are_to_be_displayed()
{
Assert.That(10.536m.Eur().ToString(), Is.EqualTo("10,54 €"),
"default currency formatting according to instance's currency... | dgg/NMoneys.Web | src/Web/Content/src/CodeProject/11.Formatting_Money.cs | https://github.com/dgg/NMoneys.Web/blob/HEAD/src/Web/Content/src/CodeProject/11.Formatting_Money.cs | ghcode:00174:bc5962318715 | bsd-2-clause | codeparrot/github-code | bc596231871552a620055336ea6085b98ad78e9a2ef16ebfca94b1c05195a0fb | 0.78 | testing_debugging_repair_refactoring | 380 | false | 2026-07-17 |
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Globalization;
using Moq.Properties;
namespace Moq
{
/// <summary>
/// ... | ocoanet/moq4 | src/Moq/Times.cs | https://github.com/ocoanet/moq4/blob/HEAD/src/Moq/Times.cs | ghcode:00174:605fdd2ccfb9 | bsd-3-clause | codeparrot/github-code | 605fdd2ccfb9511e166bf4371638688f1632353e290f0b12e97ed5a1b7eb573e | 0.7 | testing_debugging_repair_refactoring | 2,445 | false | 2026-07-17 |
using Blade.Testing.Mocking;
using Maui.Trading.Binding;
using Maui.Trading.Binding.Decorators;
using Maui.Trading.UnitTests.Fakes;
using NUnit.Framework;
namespace Maui.Trading.UnitTests.Binding.Decorators
{
[TestFixture]
public class CachingSingleDataSourceTests : MockingTestBase
{
[T... | bg0jr/Maui | src/Trading/Maui.Trading_uTest/Binding/Decorators/CachingSingleDataSourceTests.cs | https://github.com/bg0jr/Maui/blob/HEAD/src/Trading/Maui.Trading_uTest/Binding/Decorators/CachingSingleDataSourceTests.cs | ghcode:00174:8f02556c5c9f | bsd-3-clause | codeparrot/github-code | 8f02556c5c9f229b88a24bd92ba626ee071ac0159f9522eebff17dfdcc9cd5ab | 0.75 | testing_debugging_repair_refactoring | 314 | false | 2026-07-17 |
using System;
using System.Reflection;
using Mozart.Helpers;
using Mozart.Tests.Model;
using Xunit;
namespace Mozart.Tests
{
public class ReflectionTest
{
[Fact]
public void CanMakeGenericExport()
{
Compose<IAnimal>.Exports.Clear();
//Register
... | codeplanner/Mozart | src/Mozart.Tests/ReflectionTest.cs | https://github.com/codeplanner/Mozart/blob/HEAD/src/Mozart.Tests/ReflectionTest.cs | ghcode:00174:83fd4b838e1c | mit | codeparrot/github-code | 83fd4b838e1c155aed8abfefc97806210f84358cbc2f8d204992b79b033a0b2c | 0.7 | testing_debugging_repair_refactoring | 678 | 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 DataFactory.Tests.Utils;
using Microsoft.Azure.Management.DataFactory;
using Microsoft.Azure.Management.DataFactory.Models;
using Microsoft.Rest.Azure;
... | DheerendraRathor/azure-sdk-for-net | src/SDKs/DataFactory/DataFactory.Tests/UnitTests/ExamplesUnitTest.cs | https://github.com/DheerendraRathor/azure-sdk-for-net/blob/HEAD/src/SDKs/DataFactory/DataFactory.Tests/UnitTests/ExamplesUnitTest.cs | ghcode:00174:5d36d414c57a | mit | codeparrot/github-code | 5d36d414c57aa8a754fdcfb90307e3fe7a2051a7354727bc9211cae77bbda002 | 0.85 | testing_debugging_repair_refactoring | 5,514 | false | 2026-07-17 |
using MbUnit.Framework;
using NHamcrest.Core;
using Assert = NHamcrest.Tests.Internal.Assert;
namespace NHamcrest.Tests.Core
{
public class StringEndsWithTests
{
[Test]
public void Match_if_string_ends_with_substring()
{
Assert.That("the cat sat on the mat", Ends.... | libil/NHamcrest | NHamcrest.Tests/Core/StringEndsWithTests.cs | https://github.com/libil/NHamcrest/blob/HEAD/NHamcrest.Tests/Core/StringEndsWithTests.cs | ghcode:00174:2d0bf73ba466 | mit | codeparrot/github-code | 2d0bf73ba4663af5cc5600d898afe59069985bd97d9b60a44b9de462c9af034f | 0.75 | testing_debugging_repair_refactoring | 293 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Collections.Generic;
using Algorithms.Graphs;
using DataStructures.Graphs;
using DataStructures.Lists;
using Xunit;
namespace UnitTest.AlgorithmsTests
{
public static class GraphsTopologicalSorterTest
{
[Fact]
public static void DoTest()
... | aalhour/C-Sharp-Algorithms | UnitTest/AlgorithmsTests/GraphsTopologicalSorterTest.cs | https://github.com/aalhour/C-Sharp-Algorithms/blob/HEAD/UnitTest/AlgorithmsTests/GraphsTopologicalSorterTest.cs | ghcode:00174:a6c66cf6dd2b | mit | codeparrot/github-code | a6c66cf6dd2b3e721ac149a69106cdbd2f11f21e4a64caa874e170c0d91a82a9 | 0.85 | testing_debugging_repair_refactoring | 588 | false | 2026-07-17 |
/*
MIT License
Copyright(c) 2014-2018 Infragistics, Inc.
Copyright 2018 Google LLC
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 ... | evildour/google-cloud-dotnet | third_party/BreakingChangesDetector/BreakingChangesDetector.UnitTests/BreakingChangesTests/TestTypes.cs | https://github.com/evildour/google-cloud-dotnet/blob/HEAD/third_party/BreakingChangesDetector/BreakingChangesDetector.UnitTests/BreakingChangesTests/TestTypes.cs | ghcode:00174:7eaa5b11b23c | apache-2.0 | codeparrot/github-code | 7eaa5b11b23ccda9689970b5bd18e62084aaabb9b7305af5bc307733ce33a51a | 0.75 | testing_debugging_repair_refactoring | 2,090 | false | 2026-07-17 |
using System.Collections.Generic;
using FluentAssertions.Execution;
namespace FluentAssertions.Equivalency.Execution
{
/// <summary>
/// Keeps track of objects and their location within an object graph so that cyclic references can be detected
/// and handled upon.
/// </summary>
internal class Cyc... | jnyrup/fluentassertions | Src/FluentAssertions/Equivalency/Execution/CyclicReferenceDetector.cs | https://github.com/jnyrup/fluentassertions/blob/HEAD/Src/FluentAssertions/Equivalency/Execution/CyclicReferenceDetector.cs | ghcode:00174:76aaccf6fe08 | apache-2.0 | codeparrot/github-code | 76aaccf6fe08660f4419faacc6a0159c0f6306ed6e849388c5d62bc1964bc2f1 | 0.7 | testing_debugging_repair_refactoring | 368 | false | 2026-07-17 |
using System;
using System.Net.NetworkInformation;
using System.Threading;
using Riganti.Selenium.Core.Configuration;
using Riganti.Selenium.Core.Abstractions;
namespace Riganti.Selenium.Core
{
public class TestContextAccessor
{
private readonly ThreadLocal<ITestInstanceContext> testContextStore = ne... | riganti/selenium-utils | src/Core/Riganti.Selenium.Core/TestContextAccessor.cs | https://github.com/riganti/selenium-utils/blob/HEAD/src/Core/Riganti.Selenium.Core/TestContextAccessor.cs | ghcode:00174:019d11eae642 | apache-2.0 | codeparrot/github-code | 019d11eae642c25f87e871825cf2ff93d04f8c772c925d37551f7441ffba7021 | 0.75 | testing_debugging_repair_refactoring | 185 | false | 2026-07-17 |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
... | MatkovIvan/azure-mobile-apps-net-client | e2etest/E2ETestFramework/Framework/TestHarness.cs | https://github.com/MatkovIvan/azure-mobile-apps-net-client/blob/HEAD/e2etest/E2ETestFramework/Framework/TestHarness.cs | ghcode:00174:c57d72036d15 | apache-2.0 | codeparrot/github-code | c57d72036d15504d0cc9c8caa991ce6a91f359da83625ff42937b038e3c4548c | 0.85 | testing_debugging_repair_refactoring | 3,274 | 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.IO;
using System.Reflection;
using Roslyn.Test.Utilities;
using Roslyn.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.T... | swaroop-sridhar/roslyn | src/Test/Utilities/Portable/Metadata/IlasmUtilities.cs | https://github.com/swaroop-sridhar/roslyn/blob/HEAD/src/Test/Utilities/Portable/Metadata/IlasmUtilities.cs | ghcode:00174:b24c0b599f6e | apache-2.0 | codeparrot/github-code | b24c0b599f6eb9a55d181a999224d3af9858b0380038695857715451d00ccaad | 0.85 | testing_debugging_repair_refactoring | 802 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Thinktecture.Relay.Server.Security
{
[TestClass]
public class PasswordComplexityValidatorTests
{
[TestMethod]
public void ValidatePassword_validates_a_good_password()
{
var sut = new PasswordComplexityValidator();
var... | jasminsehic/relayserver | Thinktecture.Relay.Server.Test/Security/PasswordComplexityValidatorTests.cs | https://github.com/jasminsehic/relayserver/blob/HEAD/Thinktecture.Relay.Server.Test/Security/PasswordComplexityValidatorTests.cs | ghcode:00174:e9174d631465 | bsd-3-clause | codeparrot/github-code | e9174d631465be37e620cc2b482557f740fa9107f731dddc5a9bb27a107d93d6 | 0.75 | testing_debugging_repair_refactoring | 582 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace Shouldly
{
public static partial class ShouldBeTestExtensions
{
public static void ShouldBeGreaterThan<T>([AllowNull] this T actual, [AllowNull] T expected, IComparer<T> comparer, string? customMessage = n... | JoeMighty/shouldly | src/Shouldly/ShouldlyExtensionMethods/ShouldBeGtLtTestExtensions.cs | https://github.com/JoeMighty/shouldly/blob/HEAD/src/Shouldly/ShouldlyExtensionMethods/ShouldBeGtLtTestExtensions.cs | ghcode:00174:b12786f6de16 | bsd-3-clause | codeparrot/github-code | b12786f6de163fe2677c7afc694ae4f8884f288e8cbf0d5108d6ed3eea8c009b | 0.75 | testing_debugging_repair_refactoring | 583 | false | 2026-07-17 |
namespace Unosquare.Labs.EmbedIO.Tests.TestObjects
{
using System;
using System.Collections.Concurrent;
public class TestConsoleLog : Unosquare.Labs.EmbedIO.Log.ILog
{
public static ConcurrentBag<string> Data = new ConcurrentBag<string>();
public void Info(object message)
{
... | IRlyDontKnow/embedio | Unosquare.Labs.EmbedIO.Tests/TestObjects/TestConsoleLog.cs | https://github.com/IRlyDontKnow/embedio/blob/HEAD/Unosquare.Labs.EmbedIO.Tests/TestObjects/TestConsoleLog.cs | ghcode:00174:aed953857815 | mit | codeparrot/github-code | aed953857815ad969d896e5e8134a7f01260c5d940d5e864932f77d93968a595 | 0.75 | testing_debugging_repair_refactoring | 224 | false | 2026-07-17 |
// Authors:
// Rafael Mizrahi <rafim@mainsoft.com>
// Erez Lotan <erezl@mainsoft.com>
// Oren Gurfinkel <oreng@mainsoft.com>
// Ofer Borstein
//
// Copyright (c) 2004 Mainsoft Co.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated do... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.Data/Test/System.Data.Tests.Mainsoft/System.Data/DataTable/DataTable_OnRemoveColumn_D.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.Data/Test/System.Data.Tests.Mainsoft/System.Data/DataTable/DataTable_OnRemoveColumn_D.cs | ghcode:00174:0c9b49b0f9d3 | mit | codeparrot/github-code | 0c9b49b0f9d3ded4f2c4e7598141484b8a930d179ac2c3838ad95a9498bdb119 | 0.95 | testing_debugging_repair_refactoring | 769 | false | 2026-07-17 |
/*
* Farseer Physics Engine based on Box2D.XNA port:
* Copyright (c) 2010 Ian Qvist
*
* 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', witho... | nadams810/axiosengine | axios/Dynamics/Joints/FixedDistanceJoint.cs | https://github.com/nadams810/axiosengine/blob/HEAD/axios/Dynamics/Joints/FixedDistanceJoint.cs | ghcode:00174:aaf9f6297aaf | apache-2.0 | codeparrot/github-code | aaf9f6297aaf49afa28f4fe91cde1c0302a5daa9fb0950ce48a128d38aa3bf69 | 0.7 | testing_debugging_repair_refactoring | 2,122 | false | 2026-07-17 |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System.IO;
using ... | ClareMSYanGit/Open-XML-SDK | DocumentFormat.OpenXml.Tests/ConformanceTest/WebExtension/WebExtensionTest.cs | https://github.com/ClareMSYanGit/Open-XML-SDK/blob/HEAD/DocumentFormat.OpenXml.Tests/ConformanceTest/WebExtension/WebExtensionTest.cs | ghcode:00174:db474872eefe | apache-2.0 | codeparrot/github-code | db474872eefe138a3717aa24d50d951b549c220747ec52f262a5f5cef26b345d | 0.7 | testing_debugging_repair_refactoring | 4,059 | false | 2026-07-17 |
using Xunit;
namespace Shouldly.Tests.Strings.DetailedDifference.CaseInsensitive.LongStrings.MultipleDiffs
{
public class DiffsCloseToEachOtherAreConsolidated
{
[Fact]
public void DiffsCloseToEachOtherAreConsolidatedShouldFail()
{
var str = "1a,1b,1c,1d,1e,1f,1g,1h,1i,1j,1k... | JoeMighty/shouldly | src/Shouldly.Tests/Strings/DetailedDifference/CaseInsensitive/LongStrings/MultipleDiffs/DiffsCloseToEachOtherAreConsolidated.cs | https://github.com/JoeMighty/shouldly/blob/HEAD/src/Shouldly.Tests/Strings/DetailedDifference/CaseInsensitive/LongStrings/MultipleDiffs/DiffsCloseToEachOtherAreConsolidated.cs | ghcode:00174:b7187b83a2cf | bsd-3-clause | codeparrot/github-code | b7187b83a2cf6a49bb76986b817aebc739708ee851254163ff69bd1d0131e776 | 0.75 | testing_debugging_repair_refactoring | 2,309 | 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.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
namespace Microsoft.CodeAnalysis.CSharp
{
/// <summary>
/// Information to be... | balazssimon/meta-cs | src/Main/MetaDslx.CodeAnalysis.CSharp/Binder/ForEachEnumeratorInfo.cs | https://github.com/balazssimon/meta-cs/blob/HEAD/src/Main/MetaDslx.CodeAnalysis.CSharp/Binder/ForEachEnumeratorInfo.cs | ghcode:00174:c308d8cbcc18 | apache-2.0 | codeparrot/github-code | c308d8cbcc18091381bbf7ea78267465334ab017a08111e037de81a0c7f7250c | 0.85 | testing_debugging_repair_refactoring | 1,032 | 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... | devigned/azure-powershell | src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Test/ScenarioTests/IaasVm/JobTests.cs | https://github.com/devigned/azure-powershell/blob/HEAD/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Test/ScenarioTests/IaasVm/JobTests.cs | ghcode:00174:912011d4eaab | apache-2.0 | codeparrot/github-code | 912011d4eaab98e8f227ddbc510196eeb87870be0c6c9a1a17bf5d5903abbaa4 | 0.85 | testing_debugging_repair_refactoring | 515 | false | 2026-07-17 |
/********************************************************************************************
Copyright (c) Microsoft Corporation
All rights reserved.
Microsoft Public License:
This license governs use of the accompanying software. If you use the software, you
accept this license. If you do not accept the licens... | trivalik/Cosmos | source/MPF/12.0/ProjectDesignerDocumentManager.cs | https://github.com/trivalik/Cosmos/blob/HEAD/source/MPF/12.0/ProjectDesignerDocumentManager.cs | ghcode:00174:79addce07bf6 | bsd-3-clause | codeparrot/github-code | 79addce07bf661d9f05eefdde2b8c06add68ca82bfea9fd6c5163bbdbc20dc95 | 0.75 | testing_debugging_repair_refactoring | 1,103 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Colour;
using osu.Framework.Graphics.Containers;
using osu.Fram... | huoyaoyuan/osu-framework | osu.Framework.Tests/Visual/Drawables/TestSceneComplexBlending.cs | https://github.com/huoyaoyuan/osu-framework/blob/HEAD/osu.Framework.Tests/Visual/Drawables/TestSceneComplexBlending.cs | ghcode:00174:ce4c9e0c7630 | mit | codeparrot/github-code | ce4c9e0c7630a8714ef7a6b40d1c4dc508917cbe860115e6dec567d5725318b9 | 0.85 | testing_debugging_repair_refactoring | 2,279 | 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.IO;
using Xunit;
public class NegativeTesting
{
[ConditionalFact(typeof(PlatformDete... | krk/corefx | src/System.Console/tests/NegativeTesting.cs | https://github.com/krk/corefx/blob/HEAD/src/System.Console/tests/NegativeTesting.cs | ghcode:00174:1657cbf77668 | mit | codeparrot/github-code | 1657cbf776683856d1a3fdecbc17191ae78c9ccbc670c2b35de1e1a4c5dad4cc | 0.95 | testing_debugging_repair_refactoring | 530 | false | 2026-07-17 |
// Copyright 2017 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/google-cloud-dotnet | apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.Tests/CreateNotificationOptionsTest.cs | https://github.com/googleapis/google-cloud-dotnet/blob/HEAD/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.Tests/CreateNotificationOptionsTest.cs | ghcode:00174:16d55bcdd662 | apache-2.0 | codeparrot/github-code | 16d55bcdd662989643c6734293df10422e9c66e89343328894122cda7aa3bc7c | 0.85 | testing_debugging_repair_refactoring | 299 | false | 2026-07-17 |
/*
Copyright 2012 Michael Edwards
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 ag... | acastr7/Glass.Mapper | Tests/Unit Tests/Glass.Mapper.Umb.Tests/Configuration/Attributes/UmbracoChildrenAttributeFixture.cs | https://github.com/acastr7/Glass.Mapper/blob/HEAD/Tests/Unit Tests/Glass.Mapper.Umb.Tests/Configuration/Attributes/UmbracoChildrenAttributeFixture.cs | ghcode:00174:c72649fa8ce7 | apache-2.0 | codeparrot/github-code | c72649fa8ce7c4a42e51bd0a5dcee5db40727dd55405ed14963c1e32fc655d68 | 0.7 | testing_debugging_repair_refactoring | 533 | false | 2026-07-17 |
using NUnit.Framework;
namespace NSubstitute.Acceptance.Specs.FieldReports
{
public class Issue170_MultidimensionalArray
{
public interface ITest
{
bool[,] Method();
}
[Test]
public void Method_Works()
{
var test = Substitute.For<ITest>(... | huoxudong125/NSubstitute | Source/NSubstitute.Acceptance.Specs/FieldReports/Issue170_MultidimensionalArray.cs | https://github.com/huoxudong125/NSubstitute/blob/HEAD/Source/NSubstitute.Acceptance.Specs/FieldReports/Issue170_MultidimensionalArray.cs | ghcode:00174:b4a53d1d3242 | bsd-3-clause | codeparrot/github-code | b4a53d1d3242c69946cbd93f12968f627d1758c9c7e5d93f5b26ca8a09fc6239 | 0.6 | testing_debugging_repair_refactoring | 78 | 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.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using System.Diagnostics.Tracing;
usin... | 690486439/corefx | src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsEventSourceLifetime.cs | https://github.com/690486439/corefx/blob/HEAD/src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsEventSourceLifetime.cs | ghcode:00174:b3838e1d40a4 | mit | codeparrot/github-code | b3838e1d40a431d29f2c0f56dbb99434d71c8fbc7030e35dfac500098e0c1093 | 0.95 | testing_debugging_repair_refactoring | 412 | 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.Linq;
using System.Threading;
using System.Threading.Tasks;
using Sys... | ptoonen/corefx | src/System.Threading.Tasks/tests/System.Runtime.CompilerServices/ConfiguredCancelableAsyncEnumerableTests.netcoreapp.cs | https://github.com/ptoonen/corefx/blob/HEAD/src/System.Threading.Tasks/tests/System.Runtime.CompilerServices/ConfiguredCancelableAsyncEnumerableTests.netcoreapp.cs | ghcode:00174:88a02f092c7e | mit | codeparrot/github-code | 88a02f092c7e3ba915ffb103440d59ed66a3efc3719d495a13da9bded1abe484 | 0.95 | testing_debugging_repair_refactoring | 1,755 | 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.Diagnostics;
using System.Linq;
using Xunit;
namespace System.Collec... | nbarbettini/corefx | src/System.Collections.Immutable/tests/ImmutableQueueTest.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Collections.Immutable/tests/ImmutableQueueTest.cs | ghcode:00174:d8bdb451484c | mit | codeparrot/github-code | d8bdb451484c36cc9e6a22f9365508f699e4e650c5ad6328aeebc3abe2eae572 | 0.95 | testing_debugging_repair_refactoring | 1,998 | 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.Reflection;
using System.Threading;
using Xunit;
namespace System.Di... | krk/corefx | src/System.Diagnostics.Process/tests/ProcessTestBase.cs | https://github.com/krk/corefx/blob/HEAD/src/System.Diagnostics.Process/tests/ProcessTestBase.cs | ghcode:00174:28c05e65c81c | mit | codeparrot/github-code | 28c05e65c81c0367484a41edfd9dd45fc9b4fb3066d87441ae38bf75b34dc63a | 0.95 | testing_debugging_repair_refactoring | 411 | false | 2026-07-17 |
using System;
using System.Configuration;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using NUnit.Framework;
namespace Orchard.Azure.Tests {
public abstract class AzureVirtualEnvironmentTest {
private Proces... | bedegaming-aleksej/Orchard | src/Orchard.Azure.Tests/AzureVirtualEnvironmentTest.cs | https://github.com/bedegaming-aleksej/Orchard/blob/HEAD/src/Orchard.Azure.Tests/AzureVirtualEnvironmentTest.cs | ghcode:00174:f37233ac167a | bsd-3-clause | codeparrot/github-code | f37233ac167aeef0f753e7c140e92577e3dc89ba4fbdd0896bd40ecb9c0a3bda | 0.75 | testing_debugging_repair_refactoring | 509 | 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.Text;
namespace System.IO
{
/// <summary>Contains internal path helpers ... | Petermarcu/corefx | src/Common/src/System/IO/PathInternal.Unix.cs | https://github.com/Petermarcu/corefx/blob/HEAD/src/Common/src/System/IO/PathInternal.Unix.cs | ghcode:00174:9e1abbc02bd2 | mit | codeparrot/github-code | 9e1abbc02bd212901a5b5ada5e63c3861bee30ad6c828878914688bf2619f5ff | 0.95 | testing_debugging_repair_refactoring | 755 | 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;
using System.Collections.Generic;
using Xunit;
using SortedDictionaryTests.SortedDictionary_SortedDictionary_ValueCollection;
us... | vs-team/corefx | src/System.Collections/tests/Generic/SortedDictionary/SortedDictionary_ValueCollection.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Collections/tests/Generic/SortedDictionary/SortedDictionary_ValueCollection.cs | ghcode:00174:77175b2a476b | mit | codeparrot/github-code | 77175b2a476b52d20092baa7af4624ce1c9c452a934976d3529eea2854fb61db | 0.95 | testing_debugging_repair_refactoring | 4,013 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.