text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
using System.Runtime.CompilerServices;
namespace System.Buffers.Tests
{
public class SliceReadOnlyBufferTests
{
[Fact]
public stati... | Vedin/corefxlab | tests/System.Buffers.Primitives.Tests/SliceReadOnlyBufferTests.cs | https://github.com/Vedin/corefxlab/blob/HEAD/tests/System.Buffers.Primitives.Tests/SliceReadOnlyBufferTests.cs | ghcode:00009:e1ef4b6bc4d2 | mit | codeparrot/github-code | e1ef4b6bc4d2947841f38350ee901485a9294640925e053b6b6c445bde487a00 | 0.75 | testing_debugging_repair_refactoring | 874 | false | 2026-07-17 |
// Description: C# Extension Methods | Enhance the .NET Framework and .NET Core with over 1000 extension methods.
// Website & Documentation: https://csharp-extension.com/
// Issues: https://github.com/zzzprojects/Z.ExtensionMethods/issues
// License (MIT): https://github.com/zzzprojects/Z.ExtensionMethods/blob/master/... | zzzprojects/Z.ExtensionMethods | test/Z.Reflection.Test/GetSignature/Method/ProtectedInternalMethod.cs | https://github.com/zzzprojects/Z.ExtensionMethods/blob/HEAD/test/Z.Reflection.Test/GetSignature/Method/ProtectedInternalMethod.cs | ghcode:00009:e096424d8acd | mit | codeparrot/github-code | e096424d8acd52e13620818b19703a52c6991fbaac64f6a5776453cc77aff650 | 0.7 | testing_debugging_repair_refactoring | 213 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="FetchAndShareLatestTopicStatusReportsMessageHandlerTests.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
// </copyright>
// ---------------... | NaosProject/Naos.MessageBus | Naos.MessageBus.Test/FetchAndShareLatestTopicStatusReportsMessageHandlerTests.cs | https://github.com/NaosProject/Naos.MessageBus/blob/HEAD/Naos.MessageBus.Test/FetchAndShareLatestTopicStatusReportsMessageHandlerTests.cs | ghcode:00009:aff2619107a8 | mit | codeparrot/github-code | aff2619107a850dd6bd9e1b55a3c0d7d33951778afb55c376caa186204030bf6 | 0.85 | testing_debugging_repair_refactoring | 365 | false | 2026-07-17 |
using System;
using System.Runtime.Serialization;
using Newtonsoft.Json.Linq;
using SyncTool.FileSystem;
using SyncTool.FileSystem.Versioning;
using Xunit;
namespace SyncTool.Synchronization.SyncActions
{
/// <summary>
/// Tests for <see cref="SyncActionSerializer"/>
/// </summary>
public class SyncAc... | ap0llo/SyncTool | src/SyncTool.Synchronization/test/Synchronization/SyncActions/SyncActionSerializerTest.cs | https://github.com/ap0llo/SyncTool/blob/HEAD/src/SyncTool.Synchronization/test/Synchronization/SyncActions/SyncActionSerializerTest.cs | ghcode:00009:0f2142103a76 | mit | codeparrot/github-code | 0f2142103a7687ce92ca489b5ee345f1c2d0e6e2ef9179f36cb1792a9c29d1f5 | 0.95 | testing_debugging_repair_refactoring | 1,681 | false | 2026-07-17 |
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using Ssn.Utils.Misc;
namespace Ssn.Utils.Tests {
public class BooleanWaitEventTests
{
[Test]
public void Works() {
var sut = new BooleanWaitEvent();
Assert.IsTrue(sut.IsFalse);
sut.S... | snielsson/Ssn | Ssn.Utils.Tests/BooleanWaitEventTests.cs | https://github.com/snielsson/Ssn/blob/HEAD/Ssn.Utils.Tests/BooleanWaitEventTests.cs | ghcode:00009:476719963955 | mit | codeparrot/github-code | 476719963955b0d47576f269def8a8bacce607b275cb531d96b20f7e07efb540 | 0.75 | testing_debugging_repair_refactoring | 224 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using KGP.Serialization.Body;
using KGP.Tests.Fakes;
using Microsoft.Kinect;
using KGP.Processors;
using System.Collections.Generic;
namespace KGP.Tests
{
[TestClass]
public class BodyTrackingProcessorTests
{
[TestMethod]
pu... | mrvux/kgp | tests/KGP.Tests/Processors/BodyTrackingProcessorTests.cs | https://github.com/mrvux/kgp/blob/HEAD/tests/KGP.Tests/Processors/BodyTrackingProcessorTests.cs | ghcode:00009:a1b34e8b21ed | mit | codeparrot/github-code | a1b34e8b21ed75c60fe165482f32178b95ed43de435535f8a71bd6f59ee4d308 | 0.85 | testing_debugging_repair_refactoring | 983 | false | 2026-07-17 |
using System.Diagnostics.CodeAnalysis;
namespace Physics.Test
{
[SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>")]
public abstract class GivenSiSystem
{
protected IUnitSystem System { get; private set; }
#region Incoherent units
/// <summary>
... | Tsjunne/Physics | src/Test/GivenSiSystem.cs | https://github.com/Tsjunne/Physics/blob/HEAD/src/Test/GivenSiSystem.cs | ghcode:00009:a2bb534ad60d | mit | codeparrot/github-code | a2bb534ad60d4b75a4be89abf3fcbcc1e9d27bbc40b6ae7b1cf26583a54028a6 | 0.95 | testing_debugging_repair_refactoring | 1,242 | false | 2026-07-17 |
using System;
using NExtra.Date;
using NUnit.Framework;
namespace NExtra.Tests.Date
{
[TestFixture]
public class Iso8601WeekResolverBehavior
{
private IWeekResolver _resolver;
[SetUp]
public void SetUp()
{
_resolver = new Iso8601WeekResolver();
... | danielsaidi/nextra | NExtra.Tests/Date/Iso8601WeekResolverBehavior.cs | https://github.com/danielsaidi/nextra/blob/HEAD/NExtra.Tests/Date/Iso8601WeekResolverBehavior.cs | ghcode:00009:67a8858ca08a | mit | codeparrot/github-code | 67a8858ca08a881bd474dd2efa540ddbd1dbb1c046494c8dd20a9c358cf09121 | 0.6 | testing_debugging_repair_refactoring | 1,486 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using NWheels.Kernel.Api.Exceptions;
using NWheels.Kernel.Api.Primitives;
using NWheels.Testability;
using Xunit;
namespace NWheels.Kernel.UnitTest... | felix-b/NWheels | Source/Core/Kernel/NWheels.Kernel.UnitTests/Api/Primitives/SafeLockTests.cs | https://github.com/felix-b/NWheels/blob/HEAD/Source/Core/Kernel/NWheels.Kernel.UnitTests/Api/Primitives/SafeLockTests.cs | ghcode:00009:638cd3569192 | mit | codeparrot/github-code | 638cd3569192c95eb6b2217530407e641211997e0ce91ea269e83f940ad92972 | 0.85 | testing_debugging_repair_refactoring | 832 | false | 2026-07-17 |
namespace FakeItEasy.Specs
{
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using FakeItEasy.Core;
using FakeItEasy.Tests.TestHelpers;
usin... | blairconrad/FakeItEasy | tests/FakeItEasy.Specs/DummyCreationSpecs.cs | https://github.com/blairconrad/FakeItEasy/blob/HEAD/tests/FakeItEasy.Specs/DummyCreationSpecs.cs | ghcode:00009:6f10d63c7ce2 | mit | codeparrot/github-code | 6f10d63c7ce2243d9dd41646eb6536940c2a3d2f0d04af0b2ba3ad985bae7920 | 0.7 | testing_debugging_repair_refactoring | 7,136 | false | 2026-07-17 |
namespace SafeMapper.Tests
{
using System;
using System.Globalization;
using EmitMapper;
using NUnit.Framework;
using SafeMapper.Profiler;
using SafeMapper.Tests.Model.Person;
[Ignore]
[TestFixture]
public class PerformanceTests
{
[Test]
public void IntToStri... | unger/SafeMapper | SafeMapper.Tests/PerformanceTests.cs | https://github.com/unger/SafeMapper/blob/HEAD/SafeMapper.Tests/PerformanceTests.cs | ghcode:00009:1b07b8aa195c | mit | codeparrot/github-code | 1b07b8aa195c6f55a1f3db40150819badee7b2cf1f7867899c86c97ae0bb61ec | 0.75 | testing_debugging_repair_refactoring | 1,086 | false | 2026-07-17 |
using Xunit;
namespace NeinLinq.Tests;
public class RewriteEntityQueryProviderTest
{
[Fact]
public void Ctor_NullArgument_Throws()
{
var provider = new TestQueryProvider();
var rewriter = new TestExpressionVisitor();
var providerError = Assert.Throws<ArgumentNullException>(()
... | axelheer/nein-linq | test/NeinLinq.EntityFrameworkCore.Tests/RewriteEntityQueryProviderTest.cs | https://github.com/axelheer/nein-linq/blob/HEAD/test/NeinLinq.EntityFrameworkCore.Tests/RewriteEntityQueryProviderTest.cs | ghcode:00009:ca881b73ec2e | mit | codeparrot/github-code | ca881b73ec2e7d49b27db33280c6e372b930d3afba1dce752c90219d32670019 | 0.6 | testing_debugging_repair_refactoring | 750 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ArgumentParser
{
[TestClass]
[TestCategory("Argument.OptionSuffix")]
public class OptionSuffixTests
{
[TestMethod]
public void EqualsPlusn()
{
var doubleHyphen = OptionSuffix.Plus;
... | Good-man/Argument-Parser | ArgumentParser.Tests/Argument.Properties/OptionSuffixTests.cs | https://github.com/Good-man/Argument-Parser/blob/HEAD/ArgumentParser.Tests/Argument.Properties/OptionSuffixTests.cs | ghcode:00009:0a021efa70ea | mit | codeparrot/github-code | 0a021efa70ea94a68717ea0dd671ff9f98c30c1a04cdd8c6a45488de9dc2f987 | 0.75 | testing_debugging_repair_refactoring | 160 | false | 2026-07-17 |
using System.Threading;
using FluentAssertions;
using Monad;
using Xunit;
namespace Reactive.Relationships.Tests.ManyToMaybeOne
{
public class Tests
{
public Tests()
{
if (SynchronizationContext.Current == null)
SynchronizationContext.SetSynchronizationContext(new S... | ApocalypticOctopus/Apocalyptic.Utilities.Net | Reactive.Relationships.Tests/ManyToMaybeOne/Tests.cs | https://github.com/ApocalypticOctopus/Apocalyptic.Utilities.Net/blob/HEAD/Reactive.Relationships.Tests/ManyToMaybeOne/Tests.cs | ghcode:00009:fe49da99cb4c | mit | codeparrot/github-code | fe49da99cb4cbf66ebe06674f5c6d303f1d0446822faabb2eab472a1e177cb8d | 0.75 | testing_debugging_repair_refactoring | 217 | false | 2026-07-17 |
using System.Xml.Linq;
using FluentAssertions;
using Nerdle.AutoConfig.Mapping.Mappers;
using NUnit.Framework;
namespace Nerdle.AutoConfig.Tests.Unit.Mappers.RecursingMapperTests
{
[TestFixture]
public class When_mapping_a_complex_type
{
readonly IMapper _sut = new RecursingMapper();
[Tes... | edpollitt/Nerdle.AutoConfig | Nerdle.AutoConfig.Tests.Unit/Mappers/RecursingMapperTests/When_mapping_a_complex_type.cs | https://github.com/edpollitt/Nerdle.AutoConfig/blob/HEAD/Nerdle.AutoConfig.Tests.Unit/Mappers/RecursingMapperTests/When_mapping_a_complex_type.cs | ghcode:00009:a1f4fa74c820 | mit | codeparrot/github-code | a1f4fa74c820f9b63c98a44b19796a24a40e756f3ad6021f961a14b3379c70d3 | 0.75 | testing_debugging_repair_refactoring | 235 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using Utilities.Core.DateTime;
namespace Utilities.Tests.Core.DateTime
{
[TestFixture]
[Category("DateTime")]
public class LastDayOfWeekTests
{
[Test]
public void LastDayOfWeek_DateTime_ReturnsDateTime()
{
// Arrange
... | DJMelonz/Utilities | Utilities.Tests/Core/DateTime/LastDayOfWeekTests.cs | https://github.com/DJMelonz/Utilities/blob/HEAD/Utilities.Tests/Core/DateTime/LastDayOfWeekTests.cs | ghcode:00009:dbf8a4db89c1 | mit | codeparrot/github-code | dbf8a4db89c107c7af9fce28c92e803ab1206b3ea15a9487fb2a7eeee1d92252 | 0.85 | testing_debugging_repair_refactoring | 402 | false | 2026-07-17 |
#region Licence
/****************************************************************************
Copyright 1999-2016 Vincent J. Jacquet. All rights reserved.
Permission is granted to anyone to use this software for any purpose on
any computer system, and to alter it and redistribute it, subject
t... | vjacquet/WmcSoft | WmcSoft.Core/Collections/Graphs/Graph.cs | https://github.com/vjacquet/WmcSoft/blob/HEAD/WmcSoft.Core/Collections/Graphs/Graph.cs | ghcode:00009:9fb83953352e | mit | codeparrot/github-code | 9fb83953352ecbe4121842fdc4ce05b6937cdccda2a477e835b786c41f613e74 | 0.85 | testing_debugging_repair_refactoring | 1,014 | false | 2026-07-17 |
using System;
using System.Linq;
using FluentAssertions;
using NUnit.Framework;
namespace MyInfluxDbClient.UnitTests
{
[TestFixture]
public class MinutesResolutionTests : UnitTestsOf<MinuteResolution>
{
public MinutesResolutionTests()
{
SUT = new MinuteResolution();
}
... | danielwertheim/myinfluxdbclient | src/tests/MyInfluxDbClient.UnitTests/MinutesResolutionTests.cs | https://github.com/danielwertheim/myinfluxdbclient/blob/HEAD/src/tests/MyInfluxDbClient.UnitTests/MinutesResolutionTests.cs | ghcode:00009:b1ae71a0602f | mit | codeparrot/github-code | b1ae71a0602f9e68137e30f89464c51098a3a2202644f09912e10508b79b2e0c | 0.85 | testing_debugging_repair_refactoring | 282 | 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... | sharwell/CodeContracts | Foxtrot/Tests/TestDriver.cs | https://github.com/sharwell/CodeContracts/blob/HEAD/Foxtrot/Tests/TestDriver.cs | ghcode:00009:4e69b154ade1 | mit | codeparrot/github-code | 4e69b154ade19a658d5eaf152c3e2e4a0466012996605fb65a3443c4ac1e859e | 0.95 | testing_debugging_repair_refactoring | 3,481 | 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.Globalization;
using Xunit;
namespace System.Globalization.Tests
{
public class Regi... | mafiya69/corefx | src/System.Globalization/tests/RegionInfo/regioninfo/RegionInfoIsMetric.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/System.Globalization/tests/RegionInfo/regioninfo/RegionInfoIsMetric.cs | ghcode:00009:9ddee524a8fc | mit | codeparrot/github-code | 9ddee524a8fc3b54d485ddb36a1d2c0b499f876e83a08dc64fb483024f1fdf00 | 0.95 | testing_debugging_repair_refactoring | 178 | false | 2026-07-17 |
namespace NetCreditHub.Text
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Extensions;
using Formatting;
/// <summary>
/// This class is used to extract dynamic values from a formatted string.
/// It works as reverse of <see cref... | netcredit/NetCreditHub | src/NetCreditHub.Kernel/Text/FormattedStringValueExtracter.cs | https://github.com/netcredit/NetCreditHub/blob/HEAD/src/NetCreditHub.Kernel/Text/FormattedStringValueExtracter.cs | ghcode:00009:9e4526e54689 | mit | codeparrot/github-code | 9e4526e546896efa77b1d5d4fd20d474d9e4a668a8ba5ade3a2312598598090a | 0.7 | testing_debugging_repair_refactoring | 899 | false | 2026-07-17 |
using System;
using WorkflowCore.Interface;
using WorkflowCore.Models;
using Xunit;
using FluentAssertions;
using System.Threading;
using WorkflowCore.Testing;
namespace WorkflowCore.IntegrationTests.Scenarios
{
public class WhenScenario : WorkflowTest<WhenScenario.WhenWorkflow, WhenScenario.MyDataClass>
{
... | danielgerlag/workflow-core | test/WorkflowCore.IntegrationTests/Scenarios/WhenScenario.cs | https://github.com/danielgerlag/workflow-core/blob/HEAD/test/WorkflowCore.IntegrationTests/Scenarios/WhenScenario.cs | ghcode:00009:75076595408c | mit | codeparrot/github-code | 75076595408c6b419b243342b681b32c20a54e1306772dac9b10ea0ba8ff78ef | 0.6 | testing_debugging_repair_refactoring | 496 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using StankinsInterfaces;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Transformers;
namespace StankinsTests
{
[TestClass]
public class TestTransformerRemoveColumn
{
[TestMetho... | ignatandrei/stankins | stankinsV1/StankinsTests/TestTransformerRemoveField.cs | https://github.com/ignatandrei/stankins/blob/HEAD/stankinsV1/StankinsTests/TestTransformerRemoveField.cs | ghcode:00009:80aba858bcc2 | mit | codeparrot/github-code | 80aba858bcc220dc59f6b16de0884360f18b3437caa5d371d0ffbcfb41048115 | 0.75 | testing_debugging_repair_refactoring | 306 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Bandwidth.Net.Api;
using LightMock;
using Xunit;
namespace Bandwidth.Net.Test.Api
{
public class CallTests
{
[Fact]
public void TestList()
{
var response = new HttpResponseMessage
... | bandwidthcom/csharp-bandwidth | test/Bandwidth.Net.Test/Api/CallTests.cs | https://github.com/bandwidthcom/csharp-bandwidth/blob/HEAD/test/Bandwidth.Net.Test/Api/CallTests.cs | ghcode:00009:7db3542d00ba | mit | codeparrot/github-code | 7db3542d00ba46e2481c81ff337de3f4da3d7ea0e0dc18628413d9113ba77620 | 0.85 | testing_debugging_repair_refactoring | 3,107 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading;
using Chocolatey.Explorer.Model;
using Chocolatey.Explorer.Services;
using Chocolatey.Explorer.Services.PackagesService;
using Chocolatey.Explorer.Test.Extensions;
using NUnit.Framework;
using Rhino.Mocks;
using StructureMap.AutoMocking;
namespac... | mwrock/ChocolateyGUI | Chocolatey.Explorer.Test/Services/TestInstalledPackagesService.cs | https://github.com/mwrock/ChocolateyGUI/blob/HEAD/Chocolatey.Explorer.Test/Services/TestInstalledPackagesService.cs | ghcode:00009:9b4a4d654098 | apache-2.0 | codeparrot/github-code | 9b4a4d654098bbfcda94c8818976a62de1a3377e17af2cd52051fd3e84d2b0e7 | 0.75 | testing_debugging_repair_refactoring | 417 | false | 2026-07-17 |
using System;
using System.ComponentModel.Design;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.OLE.Interop;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.Shell;
using Microsoft.VsSDK.IntegrationTestLibrary;
using Microsoft.VSSDK.Tools.VsIdeTesting;
namesp... | adasescu/cf-vs-extension-wpf | src/CloudFoundry.VisualStudio.IntegrationTests/ToolWindowTest.cs | https://github.com/adasescu/cf-vs-extension-wpf/blob/HEAD/src/CloudFoundry.VisualStudio.IntegrationTests/ToolWindowTest.cs | ghcode:00009:110f3ef05f4f | apache-2.0 | codeparrot/github-code | 110f3ef05f4f52aa9b49b797383673e14fe42483995e176eab15aa270c1bde9b | 0.7 | testing_debugging_repair_refactoring | 312 | false | 2026-07-17 |
/**
Copyright 2010 FAV ZCU
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 writing, software
distr... | SpaceTrafficDevelopers/SpaceTraffic | Core.Tests/Data/GalaxyMapLoaderTests.cs | https://github.com/SpaceTrafficDevelopers/SpaceTraffic/blob/HEAD/Core.Tests/Data/GalaxyMapLoaderTests.cs | ghcode:00009:a7a80fbc608f | apache-2.0 | codeparrot/github-code | a7a80fbc608f5ad438936b73d7776e1180eaf49cddd961ca68dce8c998f363e1 | 0.85 | testing_debugging_repair_refactoring | 595 | false | 2026-07-17 |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace EasyRbac.Test
{
public class SnowflakeTest
{
[Fact]
public void Snowflake_Generate_test_success()
{
for (int index = 0; index < ... | uliian/easyRBAC | easyRBAC/src/EasyRbac.Test/SnowflakeTest.cs | https://github.com/uliian/easyRBAC/blob/HEAD/easyRBAC/src/EasyRbac.Test/SnowflakeTest.cs | ghcode:00009:99fc517144ee | apache-2.0 | codeparrot/github-code | 99fc517144eeda71d89dc0c138caafc0e8d1de59af8357ea94a338abcdad88be | 0.7 | testing_debugging_repair_refactoring | 191 | false | 2026-07-17 |
using System;
using Zirpl.AppEngine.Testing;
using Zirpl.Examples.CodeGeneration.VS2013.Commerce.Model.Orders;
namespace Zirpl.Examples.CodeGeneration.VS2013.Commerce.Tests.Orders
{
public partial class OrderItemEntityWrapper : EntityWrapper<OrderItem>
{
}
}
| zirplsoftware/ZAppEngine | Zirpl.Examples.CodeGeneration.VS2013.Commerce.Tests.Common/_auto/Orders/OrderItemEntityWrapper.auto.cs | https://github.com/zirplsoftware/ZAppEngine/blob/HEAD/Zirpl.Examples.CodeGeneration.VS2013.Commerce.Tests.Common/_auto/Orders/OrderItemEntityWrapper.auto.cs | ghcode:00009:316f8e87fb01 | apache-2.0 | codeparrot/github-code | 316f8e87fb014b2ee5887c994c30f9cf279c7afe39bf8e744df52cda522436e1 | 0.75 | testing_debugging_repair_refactoring | 69 | false | 2026-07-17 |
using System;
using System.Diagnostics;
namespace Snappy.Sharp
{
public class SnappyCompressor
{
private const int BlockLog = 15;
private const int BlockSize = 1 << BlockLog;
private const int InputMarginBytes = 15;
private const int MaxHashTableBits = 14;
private con... | r-ralph/LevelDB.Standard | Common/Snappy.Sharp/SnappyCompressor.cs | https://github.com/r-ralph/LevelDB.Standard/blob/HEAD/Common/Snappy.Sharp/SnappyCompressor.cs | ghcode:00009:283b33f0c9f5 | apache-2.0 | codeparrot/github-code | 283b33f0c9f564a160895da142a70e932375e414cff502bc6e768e054b7fdc95 | 0.7 | testing_debugging_repair_refactoring | 4,148 | false | 2026-07-17 |
using System;
using FluentAssertions;
using TestableFileSystem.Fakes.Builders;
using TestableFileSystem.Interfaces;
using Xunit;
namespace TestableFileSystem.Fakes.Tests.Specs.FakePath
{
public sealed class PathGetFullPathSpecs
{
[Fact]
private void When_getting_full_path_for_null_it_must_fail... | bkoelman/TestableFileSystem | src/Fakes.Tests/Specs/FakePath/PathGetFullPathSpecs.cs | https://github.com/bkoelman/TestableFileSystem/blob/HEAD/src/Fakes.Tests/Specs/FakePath/PathGetFullPathSpecs.cs | ghcode:00009:c48a0c370abd | apache-2.0 | codeparrot/github-code | c48a0c370abd120bfecdc586355f61adf7c3628fec98e50bc1c5b14eae056a66 | 0.7 | testing_debugging_repair_refactoring | 2,529 | false | 2026-07-17 |
// ****************************************************************
// This is free software licensed under the NUnit license. You
// may obtain a copy of the license as well as information regarding
// copyright ownership at http://nunit.org/?p=license&r=2.4.
// ****************************************************... | vimaier/conqat | org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/NUnitCore/tests/NamespaceAssemblyTests.cs | https://github.com/vimaier/conqat/blob/HEAD/org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/NUnitCore/tests/NamespaceAssemblyTests.cs | ghcode:00009:035f7691d25f | apache-2.0 | codeparrot/github-code | 035f7691d25fffcc7996c926f977dff229362777e11cdc89a82d491a88470f3f | 0.95 | testing_debugging_repair_refactoring | 739 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.ResourceManager.Compute.Models;
using Azure.ResourceManager.Resources;
using NUnit.Framework;
namespace Azure.ResourceManager.Compute.Tests
{
[... | markcowl/azure-sdk-for-net | sdk/compute/Azure.ResourceManager.Compute/tests/ScenarioTests/VMDiskEncryptionTests.cs | https://github.com/markcowl/azure-sdk-for-net/blob/HEAD/sdk/compute/Azure.ResourceManager.Compute/tests/ScenarioTests/VMDiskEncryptionTests.cs | ghcode:00009:f915dfe30f9a | apache-2.0 | codeparrot/github-code | f915dfe30f9af279ebf33d483367c8b802ec6bdd0e8700ca4c8d49e6e479ab9f | 0.95 | testing_debugging_repair_refactoring | 623 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using QuantConnect.Brokerages.Bitfinex;
using NUnit.Framework;
using WebSocketSharp;
using Microsoft.QualityTools.Testing.Fakes;
using Newtonsoft.Json;
using System.Reflection;
namespace QuantConnect.Bro... | RicksonByArmbar/Lean | Tests/Brokerages/Bitfinex/BitfinexWebsocketsBrokerageTests.cs | https://github.com/RicksonByArmbar/Lean/blob/HEAD/Tests/Brokerages/Bitfinex/BitfinexWebsocketsBrokerageTests.cs | ghcode:00009:90e3dff3c55a | apache-2.0 | codeparrot/github-code | 90e3dff3c55a400882af14e733e183a72f6d0b7ad56e1205e953f4bf461c9cad | 0.75 | testing_debugging_repair_refactoring | 866 | false | 2026-07-17 |
using MeTLLib;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace MeTLLibTests
{
/// <summary>
///This is a test class for ClientConnection_QuizQuestionAvailableEventArgsTest and is intended
///to contain all ClientConnection_QuizQuestionAvailableEventArgsTest ... | StackableRegiments/metl2011 | MeTLMeeting/MeTLLibTests/ClientConnection_QuizQuestionAvailableEventArgsTest.cs | https://github.com/StackableRegiments/metl2011/blob/HEAD/MeTLMeeting/MeTLLibTests/ClientConnection_QuizQuestionAvailableEventArgsTest.cs | ghcode:00009:6f4bdeb9bf16 | apache-2.0 | codeparrot/github-code | 6f4bdeb9bf16dabdc9d290531e7672adb1a70e222b6a8fa291df9a7f1b7facb7 | 0.7 | testing_debugging_repair_refactoring | 424 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE;
using Microsoft.CodeAnalysis.PooledObjects;
using System.C... | reaction1989/roslyn | src/Compilers/CSharp/Portable/Symbols/Source/CustomModifierUtils.cs | https://github.com/reaction1989/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Source/CustomModifierUtils.cs | ghcode:00009:5b5ac9be0cb4 | apache-2.0 | codeparrot/github-code | 5b5ac9be0cb4384ffb7ec32d078735b54bc89279c2bbae35297a24eb7e8d8628 | 0.85 | testing_debugging_repair_refactoring | 1,747 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using System.Collections.Generic;
namespace addressbook_tests_white
{
[TestFixture]
public class ContactCreateonTests : TestBase
{
[Test]
public void ContactCreateonTest()
{
List<ContactData> oldContacts = app.Contacts.GetCon... | zaslavskayaeg/csharp_training | addressbook_tests_white/addressbook_tests_white/tests/ContactCreateonTests.cs | https://github.com/zaslavskayaeg/csharp_training/blob/HEAD/addressbook_tests_white/addressbook_tests_white/tests/ContactCreateonTests.cs | ghcode:00009:421ff48ab335 | apache-2.0 | codeparrot/github-code | 421ff48ab3351293545c86313d436befe1711403e20a69e224c5fccb32829550 | 0.85 | testing_debugging_repair_refactoring | 165 | false | 2026-07-17 |
/*
* Copyright 2012-2021 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... | Pkcs11Interop/Pkcs11Interop | src/Pkcs11Interop.Tests/LowLevelAPI81/Helpers.cs | https://github.com/Pkcs11Interop/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop.Tests/LowLevelAPI81/Helpers.cs | ghcode:00009:67b33f072a7b | apache-2.0 | codeparrot/github-code | 67b33f072a7b61b56b4603fc8b5b0e0a207f50f8b8ed9218cf1760721caaf9fc | 0.7 | testing_debugging_repair_refactoring | 2,682 | false | 2026-07-17 |
//
// Copyright 2013 PclUnit Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | jbtule/PclUnit | PclUnit/TestAttribute.cs | https://github.com/jbtule/PclUnit/blob/HEAD/PclUnit/TestAttribute.cs | ghcode:00009:cc0d6c534d64 | apache-2.0 | codeparrot/github-code | cc0d6c534d6436f09dd6a53e32e73ca744ca9e49e5493826b1b3cbb311a82f3b | 0.85 | testing_debugging_repair_refactoring | 522 | false | 2026-07-17 |
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2021 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | mc7246/WeiXinMPSDK | src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/Helpers/DateTimeHelperTest.cs | https://github.com/mc7246/WeiXinMPSDK/blob/HEAD/src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/Helpers/DateTimeHelperTest.cs | ghcode:00009:ebff34a1504f | apache-2.0 | codeparrot/github-code | ebff34a1504fa4124183b8da278609f8789df07e33b3977b7fb04ab40c316437 | 0.7 | testing_debugging_repair_refactoring | 467 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ValueReaderTests.cs" company="Genesys Source">
// Copyright (c) Genesys Source. All rights reserved.
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. Se... | GenesysSource/Foundation | src/Test/Framework.Test.Full/Repository/ValueReaderTests.cs | https://github.com/GenesysSource/Foundation/blob/HEAD/src/Test/Framework.Test.Full/Repository/ValueReaderTests.cs | ghcode:00009:5a7ea9cd4eaa | apache-2.0 | codeparrot/github-code | 5a7ea9cd4eaa694ff26f5af5fff94ebb0e6c39759303eef268070a2be6515cc0 | 0.95 | testing_debugging_repair_refactoring | 973 | false | 2026-07-17 |
/*
* MSR Tools - tools for mining software repositories
*
* Copyright (C) 2010 Semyon Kirnosenko
*/
using System;
using System.Linq;
using NUnit.Framework;
using SharpTestsEx;
using Rhino.Mocks;
using MSR.Data.VersionControl;
using MSR.Data.Entities.DSL.Mapping;
namespace MSR.Data.Entities.Mappi... | kirnosenko/msr-tools | src/MSR.Tests/Data/Entities/Mapping/BugFixMapperTest.cs | https://github.com/kirnosenko/msr-tools/blob/HEAD/src/MSR.Tests/Data/Entities/Mapping/BugFixMapperTest.cs | ghcode:00009:a6fa93ec00bd | bsd-3-clause | codeparrot/github-code | a6fa93ec00bdaab2c9c924093ddc3cc03e28f31ba5a766a14483afbcea235a9d | 0.6 | testing_debugging_repair_refactoring | 329 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using NExpect;
using NUnit.Framework;
using PeanutButter.Utils.Dictionaries;
using static NExpect.Expectations;
using static PeanutButter.RandomGenerators.RandomValueGen;
using static PeanutButter.Utils.PyLike;
namespace PeanutButter.Util... | fluffynuts/PeanutButter | source/Utils/PeanutButter.Utils.Tests/Dictionaries/TestDictionaryWrappingConnectionStringCollection.cs | https://github.com/fluffynuts/PeanutButter/blob/HEAD/source/Utils/PeanutButter.Utils.Tests/Dictionaries/TestDictionaryWrappingConnectionStringCollection.cs | ghcode:00009:004c79e718d7 | bsd-3-clause | codeparrot/github-code | 004c79e718d770707bca72783fe15edf16a22bed616b9f266bd46f5224b2739a | 0.85 | testing_debugging_repair_refactoring | 2,665 | false | 2026-07-17 |
// Copyright © 2010 onwards, Andrew Whewell
// All rights reserved.
//
// Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright notice, this l... | VincentFortuneDeng/VirtualRadarSource2.0.2 | Test/Test.VirtualRadar.Library/ExternalIPAddressServiceTests.cs | https://github.com/VincentFortuneDeng/VirtualRadarSource2.0.2/blob/HEAD/Test/Test.VirtualRadar.Library/ExternalIPAddressServiceTests.cs | ghcode:00009:14e475fd9b6a | bsd-3-clause | codeparrot/github-code | 14e475fd9b6a400b9609b29a023edde99162f4ad852058b155dd20f655dd8e42 | 0.85 | testing_debugging_repair_refactoring | 857 | false | 2026-07-17 |
using NUnit.Framework;
namespace ServiceStack.OrmLite.SqlServerTests.Expressions
{
public class EqualityExpressionsTest : ExpressionsTestBase
{
#region int tests
[Test]
public void Can_select_equals_constant_int_expression()
{
var expected = new TestType()
... | telerik/ServiceStack.OrmLite | src/ServiceStack.OrmLite.SqlServerTests/Expressions/EqualityExpressionsTest.cs | https://github.com/telerik/ServiceStack.OrmLite/blob/HEAD/src/ServiceStack.OrmLite.SqlServerTests/Expressions/EqualityExpressionsTest.cs | ghcode:00009:af33098af546 | bsd-3-clause | codeparrot/github-code | af33098af546b453837185407a2d247da96b14a02c24ee4272969b012f9122ec | 0.85 | testing_debugging_repair_refactoring | 1,475 | false | 2026-07-17 |
#region Copyright
//
// DotNetNuke® - https://www.dnnsoftware.com
// Copyright (c) 2002-2018
// by DotNetNuke Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restri... | RichardHowells/Dnn.Platform | DNN Platform/Tests/DotNetNuke.Tests.Core/Services/Mobile/PreviewProfileControllerTests.cs | https://github.com/RichardHowells/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DotNetNuke.Tests.Core/Services/Mobile/PreviewProfileControllerTests.cs | ghcode:00009:ca1b23afeeb0 | mit | codeparrot/github-code | ca1b23afeeb03197a23e5e671a0b9165af34655ff48cc774f0b453675269e2dd | 0.95 | testing_debugging_repair_refactoring | 1,558 | false | 2026-07-17 |
namespace Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.Implementation.TransmissionPolicy
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
... | pharring/ApplicationInsights-dotnet | BASE/Test/ServerTelemetryChannel.Test/TelemetryChannel.Tests/Implementation/TransmissionPolicy/TransmissionPolicyCollectionTests.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/BASE/Test/ServerTelemetryChannel.Test/TelemetryChannel.Tests/Implementation/TransmissionPolicy/TransmissionPolicyCollectionTests.cs | ghcode:00009:c4124fb48872 | mit | codeparrot/github-code | c4124fb48872559eb93a10d76235184ac4974d112789001b17c00da34bff4842 | 0.95 | testing_debugging_repair_refactoring | 438 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Extensions;
using JetBrains.Annotations;
namespace BenchmarkDotNet.ConsoleArguments
{
public class CorrectionsSuggester
{
// note This is a heuristic value, we suppose that user c... | alinasmirnova/BenchmarkDotNet | src/BenchmarkDotNet/ConsoleArguments/CorrectionsSuggester.cs | https://github.com/alinasmirnova/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/ConsoleArguments/CorrectionsSuggester.cs | ghcode:00009:b9abd7657f4a | mit | codeparrot/github-code | b9abd7657f4af4b2c42939d729771266be9b7a35eae5b09380d5f63a8e1d0ce3 | 0.6 | testing_debugging_repair_refactoring | 458 | 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 EditorBrowsableState = System.ComponentModel.... | fgreinacher/corefx | src/System.Memory/src/System/Span.cs | https://github.com/fgreinacher/corefx/blob/HEAD/src/System.Memory/src/System/Span.cs | ghcode:00009:41d39efabd73 | mit | codeparrot/github-code | 41d39efabd739693d5e5181991aaeb64d3e76e7e8faecff9d07f663cc8a4cba6 | 0.8 | testing_debugging_repair_refactoring | 4,469 | false | 2026-07-17 |
using FizzWare.NBuilder.Generators;
using Scoreboard.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Scoreboard.Tests.DataBuilder
{
public class PlayerBuilder
{
private PlayerBuilder()
{
}... | billycauvier/BeachVolleyballKit | scr/Scoreboard.Tests.DataBuilder/PlayerBuilder.cs | https://github.com/billycauvier/BeachVolleyballKit/blob/HEAD/scr/Scoreboard.Tests.DataBuilder/PlayerBuilder.cs | ghcode:00009:21e516d04862 | mit | codeparrot/github-code | 21e516d0486239c647352ff80ccca135bd4e24e6d518559e61f3cebc20652c48 | 0.75 | testing_debugging_repair_refactoring | 131 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.Shared.Utilities;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Test.Utilities;
usin... | abock/roslyn | src/Workspaces/CoreTest/UtilityTest/DocumentationCommentTests.cs | https://github.com/abock/roslyn/blob/HEAD/src/Workspaces/CoreTest/UtilityTest/DocumentationCommentTests.cs | ghcode:00009:b44f82db2f13 | mit | codeparrot/github-code | b44f82db2f13d1ca268004ece0dd02b3c33c270360e99e4cc0713e6a94dfc047 | 0.85 | testing_debugging_repair_refactoring | 2,422 | false | 2026-07-17 |
using System.IO;
using Cogworks.ExamineFileIndexer;
using Cogworks.ExamineFileIndexerTests.Helper;
using NUnit.Framework;
namespace Cogworks.ExamineFileIndexerTests
{
[TestFixture]
public class ExamineFileIndexerTests
{
[Test]
public void Given_Valid_File_ExpectExtractedContent()
{... | mzajkowski/examinefileindexer | src/Cogworks.ExamineFileIndexerTests/ExamineFileIndexerTests.cs | https://github.com/mzajkowski/examinefileindexer/blob/HEAD/src/Cogworks.ExamineFileIndexerTests/ExamineFileIndexerTests.cs | ghcode:00009:83f432bc1c9e | mit | codeparrot/github-code | 83f432bc1c9e90c831da0cf89064e410cd44e9d003524df5be4b0684d5308da3 | 0.85 | testing_debugging_repair_refactoring | 442 | false | 2026-07-17 |
namespace Gu.State
{
using System.Collections.Generic;
using System.Diagnostics;
internal static partial class EnumerableExt
{
internal static bool IsIncreasing(this IEnumerable<int> source)
{
var previous = 0;
var first = true;
foreach (var element ... | JohanLarsson/Gu.ChangeTracking | Gu.State/Internals/Extensions/EnumerableExt.cs | https://github.com/JohanLarsson/Gu.ChangeTracking/blob/HEAD/Gu.State/Internals/Extensions/EnumerableExt.cs | ghcode:00009:bfbd718f2364 | mit | codeparrot/github-code | bfbd718f2364e1ebf0378e258ad7cbe97f54c951601f1ebdf97f18cd8b0f9160 | 0.75 | testing_debugging_repair_refactoring | 388 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | SomeFire/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/ClusterMetricsParityTest.cs | https://github.com/SomeFire/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/ClusterMetricsParityTest.cs | ghcode:00009:5ab141b0edad | apache-2.0 | codeparrot/github-code | 5ab141b0edadd71013b6edcd7a04cd73a79762c6e167b64fc55b0eb302099825 | 0.7 | testing_debugging_repair_refactoring | 378 | false | 2026-07-17 |
/*
* Copyright 2004,2006 The Poderosa Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* $Id: MRUPlugin.cs,v 1.4 2011/10/27 23:21:59 kzmi Exp $
*/
using System;
using System.Collections.Generic;
using System.Text;
... | ArsenShnurkov/poderosa | Usability/MRUPlugin.cs | https://github.com/ArsenShnurkov/poderosa/blob/HEAD/Usability/MRUPlugin.cs | ghcode:00009:aa32564a7dc1 | apache-2.0 | codeparrot/github-code | aa32564a7dc1440756fa53f0aa819ab19b5a4a510ae110670249b8052fe188ac | 0.7 | testing_debugging_repair_refactoring | 4,516 | false | 2026-07-17 |
using J2N;
using J2N.Collections.Generic.Extensions;
using Lucene.Net.Diagnostics;
using Lucene.Net.Index.Extensions;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Assert = Lucene.Net.TestFramework.Assert;
using Console = Lucene.Net.U... | sisve/lucenenet | src/Lucene.Net.Tests/Index/TestBackwardsCompatibility.cs | https://github.com/sisve/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Index/TestBackwardsCompatibility.cs | ghcode:00009:3e4f99f34d87 | apache-2.0 | codeparrot/github-code | 3e4f99f34d87d6d64558aaa85a2580cf8f691c2d425f0658a3556c096210bd6c | 0.85 | testing_debugging_repair_refactoring | 9,887 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AWSSDK_DotNet35.UnitTests.TestTools
{
/// <summary>
/// This class instantiates an object... | rafd123/aws-sdk-net | sdk/test/UnitTests/Custom/TestTools/InstantiateClassGenerator.cs | https://github.com/rafd123/aws-sdk-net/blob/HEAD/sdk/test/UnitTests/Custom/TestTools/InstantiateClassGenerator.cs | ghcode:00009:6d77e07ff38a | apache-2.0 | codeparrot/github-code | 6d77e07ff38af8c184932a347aef1a895c9be6554eeb7e95f447a12a138f1c85 | 0.95 | testing_debugging_repair_refactoring | 1,899 | false | 2026-07-17 |
// Copyright (c) 2012, Event Store LLP
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// Redistributions of source code must retain the above copyright notice,
// this list of condi... | msbahrul/EventStore | src/EventStore/EventStore.Core.Tests/TransactionLog/when_having_scavenged_tfchunk_with_all_records_removed.cs | https://github.com/msbahrul/EventStore/blob/HEAD/src/EventStore/EventStore.Core.Tests/TransactionLog/when_having_scavenged_tfchunk_with_all_records_removed.cs | ghcode:00009:bd861b8a5591 | bsd-3-clause | codeparrot/github-code | bd861b8a55915de32de5236ee633b1c1eac01d04a5407ff65423c02d261253bc | 0.7 | testing_debugging_repair_refactoring | 1,608 | false | 2026-07-17 |
using System;
using Xunit;
namespace SolrNet.Tests {
public class SolrQueryByDistanceTests {
[Fact]
public void NullField_should_throw() {
Assert.Throws<ArgumentNullException>(() => new SolrQueryByDistance(null, 45.15, -93.85, 5));
}
[Fact]
public void N... | mausch/SolrNet | SolrNet.Tests/SolrQueryByDistanceTests.cs | https://github.com/mausch/SolrNet/blob/HEAD/SolrNet.Tests/SolrQueryByDistanceTests.cs | ghcode:00009:d2f20050020b | apache-2.0 | codeparrot/github-code | d2f20050020b4e679c90a1bf02751c0f1b19b26640bf27417228b6d52f458d79 | 0.75 | testing_debugging_repair_refactoring | 340 | false | 2026-07-17 |
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Testing;
using Microsoft.CodeAnalysis.Testing.Verifiers;
using Microsoft.CodeAnalysis.VisualBasic.Testing;
namespace NFluent.Analyzer.Test
{
public static part... | dupdob/NFluent | code/tests/NFluent.Analyzer.Test/Verifiers/VisualBasicAnalyzerVerifier`1.cs | https://github.com/dupdob/NFluent/blob/HEAD/code/tests/NFluent.Analyzer.Test/Verifiers/VisualBasicAnalyzerVerifier`1.cs | ghcode:00009:3c6a22d41b82 | apache-2.0 | codeparrot/github-code | 3c6a22d41b825a3d7cc245e7aae77c531454eae36699bcd8e9a07f96635141b6 | 0.95 | testing_debugging_repair_refactoring | 303 | 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.Immutable;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeAc... | jmarolf/roslyn | src/EditorFeatures/CSharpTest/Diagnostics/SpellCheck/SpellCheckTests.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/SpellCheck/SpellCheckTests.cs | ghcode:00009:2ae5997ba4ce | mit | codeparrot/github-code | 2ae5997ba4ce1bd4241cb0bd41000e94d896593ca22cea81eb0afb75b12cdfe7 | 0.85 | testing_debugging_repair_refactoring | 3,371 | 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/Runtime/Formatting/IntegerFormattingRuleTest.cs | https://github.com/xJom/mbunit-v3/blob/HEAD/src/Gallio/Gallio.Tests/Runtime/Formatting/IntegerFormattingRuleTest.cs | ghcode:00009:d069e36617b1 | apache-2.0 | codeparrot/github-code | d069e36617b159e1c054dd2863809f78f982d85eaa97326226160b855d4b6742 | 0.85 | testing_debugging_repair_refactoring | 496 | 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.ResourceManager;
using Microsoft.Azure.Management.ResourceManager.Models;
using Microsoft.Azure.Management.Sql;
using Microsoft.... | shahabhijeet/azure-sdk-for-net | src/SDKs/SqlManagement/Sql.Tests/DatabaseCopyScenarioTests.cs | https://github.com/shahabhijeet/azure-sdk-for-net/blob/HEAD/src/SDKs/SqlManagement/Sql.Tests/DatabaseCopyScenarioTests.cs | ghcode:00009:5d8502f14dce | mit | codeparrot/github-code | 5d8502f14dcea6c16d1f2f5ffd2d7f672e07f655fd503285c89c5d3ed86bdca1 | 0.85 | testing_debugging_repair_refactoring | 414 | false | 2026-07-17 |
using System.IO;
using Cassette.IO;
using Should;
using Xunit;
using IsolatedStorageFile = System.IO.IsolatedStorage.IsolatedStorageFile;
#if NET35
using Cassette.Utilities;
#endif
namespace Cassette
{
public class IsolatedStorageFileSystem_Tests
{
[Fact]
public void IsolatedSt... | BluewireTechnologies/cassette | src/Cassette.IntegrationTests/IsolatedStorageFileSystem.cs | https://github.com/BluewireTechnologies/cassette/blob/HEAD/src/Cassette.IntegrationTests/IsolatedStorageFileSystem.cs | ghcode:00009:e32ca2a369d4 | mit | codeparrot/github-code | e32ca2a369d40d5b3c85bcb1b8f7ed9ff02d65a0d7a858ad79fe71f029745eb0 | 0.6 | testing_debugging_repair_refactoring | 221 | false | 2026-07-17 |
namespace UnitTest.Convert
{
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using Bond;
using Bond.IO.Safe;
using Bond.Protocols;
using NUnit.Framework;
[global::Bond.Schema]
public class Dates
{
[global::Bond.Id(0), globa... | chwarr/bond | cs/test/core/ConvertTests.cs | https://github.com/chwarr/bond/blob/HEAD/cs/test/core/ConvertTests.cs | ghcode:00009:602ee3e44b89 | mit | codeparrot/github-code | 602ee3e44b89da2b499c90de9d28483b55a0dcceecd068194ca2a5be0bb5fa3c | 0.85 | testing_debugging_repair_refactoring | 4,223 | false | 2026-07-17 |
/* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice... | MihaelaStoica/xenadmin | XenAdminTests/CommandTests/CrossPoolMigrateCommandTests.cs | https://github.com/MihaelaStoica/xenadmin/blob/HEAD/XenAdminTests/CommandTests/CrossPoolMigrateCommandTests.cs | ghcode:00009:1b2a791073a7 | bsd-2-clause | codeparrot/github-code | 1b2a791073a71eebbfd2b4b0d54d71a46e7864a33bf2f652af0e1e34dc345096 | 0.78 | testing_debugging_repair_refactoring | 1,520 | false | 2026-07-17 |
using System;
#if !LEGACY
using ExcelDataReader.Portable.Core;
#else
using Excel.Core;
#endif
using Microsoft.VisualStudio.TestTools.UnitTesting;
#if LEGACY
namespace Excel.Tests
#else
namespace ExcelDataReader.Tests
#endif
{
[TestClass]
class FormatReaderTest
{
[TestMethod]
public void Test_... | foufure/ExcelDataReader | Excel.Tests/FormatReaderTest.cs | https://github.com/foufure/ExcelDataReader/blob/HEAD/Excel.Tests/FormatReaderTest.cs | ghcode:00009:e757bd75187e | mit | codeparrot/github-code | e757bd75187e12509f97d986d30b3f6c06425d13f39ec88095188d4a85f16595 | 0.6 | testing_debugging_repair_refactoring | 463 | 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.Threading;
using Xunit;
public partial class ThreadPoolBoundHandleTests
{
[Fact]
... | Petermarcu/corefx | src/System.Threading.Overlapped/tests/ThreadPoolBoundHandle_FreeNativeOverlappedTests.cs | https://github.com/Petermarcu/corefx/blob/HEAD/src/System.Threading.Overlapped/tests/ThreadPoolBoundHandle_FreeNativeOverlappedTests.cs | ghcode:00009:0e77f5d09193 | mit | codeparrot/github-code | 0e77f5d09193e93645d5d172b2bd981abd6644817c6c4f5ba581aefd6082facd | 0.95 | testing_debugging_repair_refactoring | 358 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="PrimitiveValuesRoundtripVerboseJsonTests.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.TDD.Tests/Roundtripping/VerboseJson/PrimitiveValuesRoundtripVerboseJsonTests.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Tests/OData.TDD.Tests/Roundtripping/VerboseJson/PrimitiveValuesRoundtripVerboseJsonTests.cs | ghcode:00009:adb114cc092a | mit | codeparrot/github-code | adb114cc092a0df99e659956d7664a2893d86e55f4e9f1c97c2f6a1f4dd8d2aa | 0.95 | testing_debugging_repair_refactoring | 2,211 | 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.
#if XMLSERIALIZERGENERATOR
namespace Microsoft.XmlSerializer.Generator
#else
namespace System.Xml.Serialization
#end... | jlin177/corefx | src/System.Private.Xml/src/System/Xml/Serialization/XmlReflectionImporter.cs | https://github.com/jlin177/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/Serialization/XmlReflectionImporter.cs | ghcode:00009:686c6d8ed249 | mit | codeparrot/github-code | 686c6d8ed24955f48c33a7704a9571e346605981b499a0239d786e80ca9d51a9 | 0.82 | testing_debugging_repair_refactoring | 20,599 | 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.Linq.Expressions;
namespace Tests.Expressions
{
partial class ExpressionCatalog
... | Yanjing123/corefx | src/System.Linq.Expressions/tests/Catalog/ExpressionCatalog.Array.cs | https://github.com/Yanjing123/corefx/blob/HEAD/src/System.Linq.Expressions/tests/Catalog/ExpressionCatalog.Array.cs | ghcode:00009:d71df0e663e4 | mit | codeparrot/github-code | d71df0e663e4c171b189c8a9c9604d8dfcc37ff8a33123a97662771cd007142b | 0.85 | testing_debugging_repair_refactoring | 1,835 | 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 Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.ExpressionEvaluator;
using Microsoft.CodeAnalysis.Test.Utiliti... | OmarTawfik/roslyn | src/ExpressionEvaluator/CSharp/Test/ResultProvider/ResultsViewTests.cs | https://github.com/OmarTawfik/roslyn/blob/HEAD/src/ExpressionEvaluator/CSharp/Test/ResultProvider/ResultsViewTests.cs | ghcode:00009:74adb612b058 | apache-2.0 | codeparrot/github-code | 74adb612b0587d148c8757ad5ccd2b7529356062d5b4f9f71a95b9b38db36074 | 0.82 | testing_debugging_repair_refactoring | 13,766 | 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,... | PaulKolozsvari/Figlut-Suite | source/trunk/Windows/SDK/Json70r1/Source/Src/Newtonsoft.Json.Tests/Linq/MergeTests.cs | https://github.com/PaulKolozsvari/Figlut-Suite/blob/HEAD/source/trunk/Windows/SDK/Json70r1/Source/Src/Newtonsoft.Json.Tests/Linq/MergeTests.cs | ghcode:00009:f26b97816437 | mit | codeparrot/github-code | f26b97816437c36eb7c2596702475f15e5c6dbcfb04e4558b15d00138d559442 | 0.95 | testing_debugging_repair_refactoring | 2,990 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.ComponentModel.Tests
{
public partial class Def... | BrennanConroy/corefx | src/System.Runtime/tests/System/ComponentModel/DefaultValueAttributeTests.netcoreapp.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Runtime/tests/System/ComponentModel/DefaultValueAttributeTests.netcoreapp.cs | ghcode:00009:30ca023458f7 | mit | codeparrot/github-code | 30ca023458f7d20d67e994e764bc16b1a760e5dce455cc78084b75f8c28f2ae8 | 0.95 | testing_debugging_repair_refactoring | 170 | 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.Reflection;
using System.Reflection.Emit;
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class ConstructorBuilderAttribute... | vs-team/corefx | src/System.Reflection.Emit/tests/ConstructorBuilder/ConstructorBuilderAttributes.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Reflection.Emit/tests/ConstructorBuilder/ConstructorBuilderAttributes.cs | ghcode:00009:54348e3555be | mit | codeparrot/github-code | 54348e3555be1838061df21b38d16a30762774eeedad242a0806c063c314d41d | 0.85 | testing_debugging_repair_refactoring | 347 | 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;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Test.Utilities;
using Roslyn.Test.Utilities.Parallel;
using Xunit;
namespace M... | zmaruo/roslyn | src/EditorFeatures/CSharpTest/Recommendations/NullKeywordRecommenderTests.cs | https://github.com/zmaruo/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Recommendations/NullKeywordRecommenderTests.cs | ghcode:00009:7568538b5b51 | apache-2.0 | codeparrot/github-code | 7568538b5b51930edbf2f8608b08c07238d824a970ac4b863095161f1be04a19 | 0.85 | testing_debugging_repair_refactoring | 1,882 | false | 2026-07-17 |
using NUnit.Framework;
namespace IuguClientAPI.Tests.Serialization
{
[TestFixture]
public class NewtonsoftJsonSerializerTest
{
[Test]
public void TestMethod()
{
var jsonSerializer = NewtonsoftJsonSerializer.Instance;
jsonSerializer.DateFormat = "dd/MM/yyyy";... | fortesinformatica/IuguClient | src/IuguClient.Tests/Serialization/NewtonsoftJsonSerializerTest.cs | https://github.com/fortesinformatica/IuguClient/blob/HEAD/src/IuguClient.Tests/Serialization/NewtonsoftJsonSerializerTest.cs | ghcode:00009:d2bcdfd52931 | mit | codeparrot/github-code | d2bcdfd52931d835f02766b6191ad4ac7746f42b779eda307521183971f5c96c | 0.6 | testing_debugging_repair_refactoring | 125 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using NUnit.Framework;
using Uncas.BuildPipeline.Models;
using Uncas.BuildPipeline.Repositories;
using Uncas.Core.Data;
namespace Uncas.BuildPipeline.Tests.Integration.Repositories
{
[TestFixture]
public cla... | uncas/BuildPipeline | test/Uncas.BuildPipeline.Tests.Integration/Repositories/DeploymentRepositoryTests.cs | https://github.com/uncas/BuildPipeline/blob/HEAD/test/Uncas.BuildPipeline.Tests.Integration/Repositories/DeploymentRepositoryTests.cs | ghcode:00009:e05d523b90ef | mit | codeparrot/github-code | e05d523b90ef970694bed19bb4888b632618600370ec28717329a04798168d64 | 0.75 | testing_debugging_repair_refactoring | 388 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LeetCode.Test
{
[TestClass]
public class _022_GenerateParentheses_Test
{
[TestMethod]
public void GenerateParenthesisTest()
{
var solution = new _022_GenerateParentheses();
var result = solution.G... | BigEgg/LeetCode | CSharp/LeetCode.Test/001-050/022-GenerateParentheses-Test.cs | https://github.com/BigEgg/LeetCode/blob/HEAD/CSharp/LeetCode.Test/001-050/022-GenerateParentheses-Test.cs | ghcode:00009:4845b286e65f | mit | codeparrot/github-code | 4845b286e65f89e37a6197761aae48e9c5eda1ce0df39c819df4a790448931db | 0.6 | testing_debugging_repair_refactoring | 402 | false | 2026-07-17 |
namespace RemoveAllNegativeNumberFromASequenceTests
{
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RemoveAllNegativeNumberFromASequence;
[TestClass]
public class RemoveAllNegativeNumberFromASequenceTests
{
[TestMethod]
... | d-georgiev-91/TelerikAcademy | Programming/CSharp/DataStructuresAndAlgorithms/LinearDataStructures/RemoveAllNegativeNumberFromASequenceTests/RemoveAllNegativeNumberFromASequenceTests.cs | https://github.com/d-georgiev-91/TelerikAcademy/blob/HEAD/Programming/CSharp/DataStructuresAndAlgorithms/LinearDataStructures/RemoveAllNegativeNumberFromASequenceTests/RemoveAllNegativeNumberFromASequenceTests.cs | ghcode:00009:71d80891706a | mit | codeparrot/github-code | 71d80891706a0eb7c36410fbc5b27e9b40df57aafdc214bad8440ea09420d919 | 0.75 | testing_debugging_repair_refactoring | 465 | false | 2026-07-17 |
using System;
using System.IO;
using System.Threading;
class Test {
static int sum = 0;
static void async_callback (IAsyncResult ar)
{
byte [] buf = (byte [])ar.AsyncState;
sum += buf [0];
}
static int Main () {
byte [] buf = new byte [1];
AsyncCallback ac = new AsyncCallback (async_callback);
IAsyn... | jbatonnet/system | Source/[Libraries]/Mono/mono/tests/async_read.cs | https://github.com/jbatonnet/system/blob/HEAD/Source/[Libraries]/Mono/mono/tests/async_read.cs | ghcode:00009:9f2de9e852c9 | mit | codeparrot/github-code | 9f2de9e852c94f0147f93eeefd34f0a3c08b4bd82f9e9f15c9a1cd4a49f35515 | 0.85 | testing_debugging_repair_refactoring | 260 | false | 2026-07-17 |
using Newtonsoft.Json;
using NUnit.Framework;
using RiotNet.Converters;
using RiotNet.Models;
using System.Collections.Generic;
namespace RiotNet.Tests.Converters
{
[TestFixture]
public class RangeConverterTests
{
private static JsonSerializerSettings jsonSettings = new JsonSerializerSettings
... | aj-r/RiotNet | RiotNet.Tests/Converters/RangeConverterTests.cs | https://github.com/aj-r/RiotNet/blob/HEAD/RiotNet.Tests/Converters/RangeConverterTests.cs | ghcode:00009:8ea62a73c864 | mit | codeparrot/github-code | 8ea62a73c864cac6b688a77dc4d6ebadcfb89b5d99a897ff8a63503ac341e899 | 0.75 | testing_debugging_repair_refactoring | 316 | false | 2026-07-17 |
using Songhay.Extensions;
using Songhay.Models;
using System;
using System.IO;
using System.Text.Json;
using Xunit;
using Xunit.Abstractions;
namespace Songhay.Tests.Extensions
{
public class ProgramArgsExtensionsTests
{
public ProgramArgsExtensionsTests(ITestOutputHelper helper)
{
... | BryanWilhite/SonghayCore | SonghayCore.Tests/Extensions/ProgramArgsExtensionsTests.cs | https://github.com/BryanWilhite/SonghayCore/blob/HEAD/SonghayCore.Tests/Extensions/ProgramArgsExtensionsTests.cs | ghcode:00009:ccdbc19fa5b0 | mit | codeparrot/github-code | ccdbc19fa5b0f5dbd2de7722c0332d66ae3961f29ded0a980d253477c3e034d0 | 0.75 | testing_debugging_repair_refactoring | 755 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Jison;
namespace Sheet
{
public class Expression : ParserValue
{
public bool ValueSet = false;
public string Type;
public bool BoolValue;
public double DoubleValue;
public List<Expression> Children;
public Expression()
{
... | Bovid/Bovid.CSharp | Jison/Test/Expression.cs | https://github.com/Bovid/Bovid.CSharp/blob/HEAD/Jison/Test/Expression.cs | ghcode:00009:002db827ddbf | mit | codeparrot/github-code | 002db827ddbf2f595e78d4d672e4f4b976f584e87f6d4059935cb99cc99a899d | 0.85 | testing_debugging_repair_refactoring | 730 | false | 2026-07-17 |
using Xunit;
namespace StakHappy.Core.UnitTest.Data.Model.Currency.Currency
{
public class SetCurrencyFixture
{
[Fact]
public void GreaterThanOneDollar()
{
var currency = new Core.Data.Model.Currency.Currency(23456);
Assert.Equal(234.56, currency.Value);
... | aarce77/StakeHappy-Core | StakHappy.Core.UnitTest/Data/Model/Currency/Currency/SetCurrencyFixture.cs | https://github.com/aarce77/StakeHappy-Core/blob/HEAD/StakHappy.Core.UnitTest/Data/Model/Currency/Currency/SetCurrencyFixture.cs | ghcode:00009:ecf7c8cf3399 | mit | codeparrot/github-code | ecf7c8cf3399fbd42d83b6034c0aee78d271892ef6125967771ce854aed0cc32 | 0.6 | testing_debugging_repair_refactoring | 265 | false | 2026-07-17 |
using System;
using System.IO;
using System.Xml.Schema;
using ExtraStandard.Extra14;
using ExtraStandard.DrvKomServer.Validation.Extra14.Dsv;
using ExtraStandard.Validation;
using Xunit;
namespace ExtraStandard.Tests.Extra14
{
public class TestDrvDsvMessages
{
[Theory]
[InlineData("01-reques... | dataline-gmbh/ExtraStandard | test/Dataline.ExtraStandard.Tests/Extra14/TestDrvDsvMessages.cs | https://github.com/dataline-gmbh/ExtraStandard/blob/HEAD/test/Dataline.ExtraStandard.Tests/Extra14/TestDrvDsvMessages.cs | ghcode:00009:3ca3f625078c | mit | codeparrot/github-code | 3ca3f625078c1898e3b4101da2bf29f90ad4bf72129dc49a8c384085429b1b6b | 0.75 | testing_debugging_repair_refactoring | 495 | false | 2026-07-17 |
using System.Collections;
using ModestTree;
using UnityEngine;
using UnityEngine.TestTools;
using Zenject.Tests.Factories.PrefabFactory;
namespace Zenject.Tests.Factories
{
public class TestPrefabFactory : ZenjectIntegrationTestFixture
{
string FooPrefabResourcePath
{
get { return ... | modesttree/Zenject | UnityProject/Assets/Plugins/Zenject/OptionalExtras/IntegrationTests/Tests/Factories/PrefabFactory/TestPrefabFactory.cs | https://github.com/modesttree/Zenject/blob/HEAD/UnityProject/Assets/Plugins/Zenject/OptionalExtras/IntegrationTests/Tests/Factories/PrefabFactory/TestPrefabFactory.cs | ghcode:00009:a73bfcca49fa | mit | codeparrot/github-code | a73bfcca49fa091167e80558a5b52bc67ddb3fc4e3a1fd2aba8afdbf7dbf0baf | 0.85 | testing_debugging_repair_refactoring | 839 | false | 2026-07-17 |
using NUnit.Framework;
[TestFixture]
public class BinarySearchTest
{
[Test]
public void Should_return_minus_one_when_an_empty_array_is_searched()
{
var input = new int[0];
Assert.That(BinarySearch.Search(input, 6), Is.EqualTo(-1));
}
[Test]
public void Should_be_able_to_find_a... | Zero-man/exercism | csharp/binary-search/BinarySearchTest.cs | https://github.com/Zero-man/exercism/blob/HEAD/csharp/binary-search/BinarySearchTest.cs | ghcode:00009:8d133cce0931 | mit | codeparrot/github-code | 8d133cce0931be756663c22c62851ab34aa0fbfb54b794e72a4cf6b94daba3ba | 0.6 | testing_debugging_repair_refactoring | 737 | false | 2026-07-17 |
//
// PKCS1MaskGenerationMethodTest.cs - NUnit Test Cases for PKCS1MaskGenerationMethod
//
// Author:
// Sebastien Pouliot (sebastien@ximian.com)
//
// (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com)
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of char... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Security.Cryptography/PKCS1MaskGenerationMethodTest.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Security.Cryptography/PKCS1MaskGenerationMethodTest.cs | ghcode:00009:4ab739287cdd | mit | codeparrot/github-code | 4ab739287cdd2ed669c9488f559932e27265cb87357d149728b950e4fde54359 | 0.95 | testing_debugging_repair_refactoring | 2,637 | false | 2026-07-17 |
using System;
using System.Data;
using System.IO;
using LinqToDB;
using LinqToDB.Data;
using LinqToDB.DataProvider.Access;
using NUnit.Framework;
namespace Tests.Create
{
using Model;
[TestFixture]
public class CreateData : TestBase
{
static void RunScript(string configString, string divider, string name, Ac... | MarcoRosenberger/linq2dbCrud | Tests/Linq/Create/CreateData.cs | https://github.com/MarcoRosenberger/linq2dbCrud/blob/HEAD/Tests/Linq/Create/CreateData.cs | ghcode:00009:700337a63111 | mit | codeparrot/github-code | 700337a631118b290ffc199343f83fd63454ab8a314e075404e56fae1752f163 | 0.6 | testing_debugging_repair_refactoring | 4,451 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Algorithms.RobertSedgewick.Fundamentals.DataStructures;
using Xunit;
namespace UnitTests.RobertSedgewick.DataStructures
{
public sealed class DepthFirstPathsTests
{
[Fact]
public void PathTo()
{
Gra... | GSerjo/Algorithms | Source/UnitTests/RobertSedgewick/DataStructures/DepthFirstPathsTests.cs | https://github.com/GSerjo/Algorithms/blob/HEAD/Source/UnitTests/RobertSedgewick/DataStructures/DepthFirstPathsTests.cs | ghcode:00009:d35c5e7c2c4d | mit | codeparrot/github-code | d35c5e7c2c4d62736d006d221a4dea17ce030d4e6685f4428bcec0f792ea5ead | 0.75 | testing_debugging_repair_refactoring | 222 | false | 2026-07-17 |
//
// Unit tests for the dependency injection.
//
// Authors:
// Néstor Salceda <nestor.salceda@gmail.com>
//
// (C) 2009 Néstor Salceda
//
// 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 th... | nestorsalceda/babuine-componentmodel | src/Babuine.ComponentModel/Test/UniqueInstanceInstancedInjectionTest.cs | https://github.com/nestorsalceda/babuine-componentmodel/blob/HEAD/src/Babuine.ComponentModel/Test/UniqueInstanceInstancedInjectionTest.cs | ghcode:00009:f26b68e9e9e4 | mit | codeparrot/github-code | f26b68e9e9e49955a6efdbc4ad9baedbaded2ab0226638eee1016eacb70d459a | 0.95 | testing_debugging_repair_refactoring | 831 | 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.Diagnostics;
namespace System.Xml
{
internal class BinHexDecoder : IncrementalReadDe... | mafiya69/corefx | src/System.Xml.ReaderWriter/src/System/Xml/BinHexDecoder.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/System.Xml.ReaderWriter/src/System/Xml/BinHexDecoder.cs | ghcode:00009:4af83494cb5b | mit | codeparrot/github-code | 4af83494cb5b138660e5defef4131e1c4f0fa9af388c7a8e4911c98b381ca1c4 | 0.95 | testing_debugging_repair_refactoring | 1,539 | false | 2026-07-17 |
using System.Collections.Generic;
using ImperialArmy.Common.Soldier;
using ImperialArmy.Military.Soldier;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TypeAsserter;
namespace ImperialArmy.Military.UnitTests
{
[TestClass]
public class MilitaryImperialComplexUnitTests
{
[TestMethod]
... | nCubed/Katas-ImperialArmy | ImperialArmy/ImperialArmy.Military.UnitTests/MilitaryImperialComplexUnitTests.cs | https://github.com/nCubed/Katas-ImperialArmy/blob/HEAD/ImperialArmy/ImperialArmy.Military.UnitTests/MilitaryImperialComplexUnitTests.cs | ghcode:00009:8ba79a79862a | mit | codeparrot/github-code | 8ba79a79862aad1a7d41ba37b15ceff292a1d1b6ba49e8e5d75625d411ee71b7 | 0.75 | testing_debugging_repair_refactoring | 595 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework;
using Plivo.Http;
using Plivo.Resource;
using Plivo.Resource.Medis;
using Plivo.Utilities;
namespace Plivo.Test.Resources
{
[TestFixture]
public class TestMedia : BaseTestCase
{
[Test]
public void TestMediaList()
{
... | plivo/plivo-dotnet | tests/Plivo.Test/Resources/TestMedia.cs | https://github.com/plivo/plivo-dotnet/blob/HEAD/tests/Plivo.Test/Resources/TestMedia.cs | ghcode:00009:c424959e7236 | mit | codeparrot/github-code | c424959e7236037b6d9e1d7a50dbeb25e0703fded57b136850f6b0ccabb44c26 | 0.75 | testing_debugging_repair_refactoring | 305 | false | 2026-07-17 |
using Shouldly;
namespace Tests.Caliburn.Actions
{
using System;
using System.Linq;
using System.Reflection;
using global::Caliburn.Core.Invocation;
using global::Caliburn.Core.InversionOfControl;
using global::Caliburn.PresentationFramework.Actions;
using global::Caliburn.Presen... | CaliburnFx/Caliburn | src/Tests.Caliburn/Actions/The_default_action_locator.cs | https://github.com/CaliburnFx/Caliburn/blob/HEAD/src/Tests.Caliburn/Actions/The_default_action_locator.cs | ghcode:00009:85095f61669e | mit | codeparrot/github-code | 85095f61669e70f86327f3505ba1ced5b58a544f587fff24508eaa81a3fbcd53 | 0.6 | testing_debugging_repair_refactoring | 709 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using aaatest.framework;
namespace aaatest.executor
{
public class TestClassCrawler
{
private readonly ITracer _tracer;
private readonly Type _type;
public TestClassCrawler(ITracer tracer, Type ... | nothrow/aaatest | src/aaatest.executor/TestClassCrawler.cs | https://github.com/nothrow/aaatest/blob/HEAD/src/aaatest.executor/TestClassCrawler.cs | ghcode:00009:41f810a04ce5 | mit | codeparrot/github-code | 41f810a04ce528a5f0b1f9e9cc541d2e2ccec2e1323344aa80324a0c5a81a680 | 0.85 | testing_debugging_repair_refactoring | 577 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Moq;
using NUnit.Framework;
[TestFixture]
public class NoWeaversConfiguredInstanceLinkerTests
{
[Test]
public void Simple()
{
var mock = new Mock<Processor>();
mock.Setup(x => x.WeaverProjectContainsType("ModuleWeaver"))
... | shanselman/Fody | Fody.Tests/InstanceLinker/NoWeaversConfiguredInstanceLinkerTests.cs | https://github.com/shanselman/Fody/blob/HEAD/Fody.Tests/InstanceLinker/NoWeaversConfiguredInstanceLinkerTests.cs | ghcode:00009:f88eb254624e | mit | codeparrot/github-code | f88eb254624e7c376163c83d31e260274b5ba430983c34b834d66838973551f1 | 0.75 | testing_debugging_repair_refactoring | 186 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using... | diryboy/roslyn | src/Compilers/CSharp/Portable/Symbols/Source/SourceMemberContainerSymbol_ImplementationChecks.cs | https://github.com/diryboy/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Source/SourceMemberContainerSymbol_ImplementationChecks.cs | ghcode:00009:caf8adda2c61 | mit | codeparrot/github-code | caf8adda2c6193cf9165f45f5e800fee3253d9ec062bdb77b3057bb3529d2ef4 | 0.72 | testing_debugging_repair_refactoring | 13,696 | false | 2026-07-17 |
using SAHB.GraphQL.Client.Introspection.Validation;
using SAHB.GraphQL.Client.Testserver.Tests.Schemas.CatOrDog;
using SAHB.GraphQL.Client.TestServer;
using SAHB.GraphQLClient;
using SAHB.GraphQLClient.FieldBuilder;
using SAHB.GraphQLClient.FieldBuilder.Attributes;
using SAHB.GraphQLClient.Introspection;
using System.... | sahb1239/SAHB.GraphQLClient | tests/SAHB.GraphQL.Client.Integration.Tests/Introspection/Interface/ValidationInterfaceWithInterfaceType.cs | https://github.com/sahb1239/SAHB.GraphQLClient/blob/HEAD/tests/SAHB.GraphQL.Client.Integration.Tests/Introspection/Interface/ValidationInterfaceWithInterfaceType.cs | ghcode:00009:d5f1cfc316bb | mit | codeparrot/github-code | d5f1cfc316bbb11269bb0ad351f0172e7b06caec33b02d146baef8ed6fd40260 | 0.7 | testing_debugging_repair_refactoring | 700 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.