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;
namespace Xunit.Sdk
{
/// <summary>
/// Exception thrown when code unexpectedly throws an exception.
/// </summary>
public class DoesNotThrowException : AssertActualExpectedException
{
readonly string stackTrace;
/// <summary>
/// Creates a new ins... | tectronics/moq | Lib/xUnit/XunitLight.Silverlight/Source/Xunit/Sdk/Exceptions/DoesNotThrowException.cs | https://github.com/tectronics/moq/blob/HEAD/Lib/xUnit/XunitLight.Silverlight/Source/Xunit/Sdk/Exceptions/DoesNotThrowException.cs | ghcode:00005:24eebe91c6b6 | bsd-3-clause | codeparrot/github-code | 24eebe91c6b6f76d0d5d23304a3c308f721ab8f8344e70c8d6cd5c5856b4f56a | 0.7 | testing_debugging_repair_refactoring | 236 | 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 System.Linq;
using System.Security.AccessControl;
using Xunit;
namespace Micro... | marksmeltzer/corefx | src/Microsoft.Win32.Registry/tests/RegistryKey/RegistryKey_CreateSubKey_str_rkpc.cs | https://github.com/marksmeltzer/corefx/blob/HEAD/src/Microsoft.Win32.Registry/tests/RegistryKey/RegistryKey_CreateSubKey_str_rkpc.cs | ghcode:00005:30136341c264 | mit | codeparrot/github-code | 30136341c264089957d52392ccf5fc3f53037ee4a5b37b964423e714bb7d9a9d | 0.95 | testing_debugging_repair_refactoring | 2,473 | false | 2026-07-17 |
using System.Collections.Generic;
using BenchmarkDotNet.Reports;
namespace BenchmarkDotNet.Engines
{
internal class EngineWarmupStage : EngineStage
{
private readonly IEngine engine;
public EngineWarmupStage(IEngine engine) : base(engine) => this.engine = engine;
public void RunOverh... | ig-sinicyn/BenchmarkDotNet | src/BenchmarkDotNet/Engines/EngineWarmupStage.cs | https://github.com/ig-sinicyn/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Engines/EngineWarmupStage.cs | ghcode:00005:bf7c40522d3b | mit | codeparrot/github-code | bf7c40522d3b62365bd258a201189990f47d0878f512f2003fa55ed6b71481c5 | 0.75 | testing_debugging_repair_refactoring | 222 | false | 2026-07-17 |
using NUnit.Framework;
using Workbench.Core.Parsers;
namespace Workbench.Core.Tests.Unit.Parsers
{
public class PropertyValueExpressionParserShould
{
[TestCase("")]
[TestCase("<x>")]
[TestCase("<x,1>")]
public void ParseWithValidPropertyUpdateExpressionReturnsStatusSuccess(stri... | dyna-project/dyna | tests/Workbench.Core.Tests.Unit/Parsers/PropertyValueExpressionParserShould.cs | https://github.com/dyna-project/dyna/blob/HEAD/tests/Workbench.Core.Tests.Unit/Parsers/PropertyValueExpressionParserShould.cs | ghcode:00005:be3191d7093a | bsd-2-clause | codeparrot/github-code | be3191d7093a3f2eb2f9f55eeecf3c107e181c2eb9e17eb06dcc3f56002510b5 | 0.68 | testing_debugging_repair_refactoring | 131 | false | 2026-07-17 |
// This code was written for the OpenTK library and has been released
// to the Public Domain.
// It is provided "as is" without express or implied warranty of any kind.
using System;
using System.Diagnostics;
using System.Reflection;
using OpenTK;
#pragma warning disable 0649 // Do not warn about unitialized fields,... | diclogic/cocktailvm | src/SDKs/opentk/Source/Examples/OpenTK/Test/BlittableValueTypes.cs | https://github.com/diclogic/cocktailvm/blob/HEAD/src/SDKs/opentk/Source/Examples/OpenTK/Test/BlittableValueTypes.cs | ghcode:00005:a024434df4d5 | mit | codeparrot/github-code | a024434df4d59d166e03a897171039bcedf358f0a30d2dd4f318e3cd2efa8afd | 0.95 | testing_debugging_repair_refactoring | 579 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Octokit;
using Octokit.Tests.Integration;
using Octokit.Tests.Integration.Helpers;
using Xunit;
public class PullRequestReviewCommentsClientTests : IDisposable
{
private readonly IGitHubClient _github;
priva... | eriawan/octokit.net | Octokit.Tests.Integration/Clients/PullRequestReviewCommentsClientTests.cs | https://github.com/eriawan/octokit.net/blob/HEAD/Octokit.Tests.Integration/Clients/PullRequestReviewCommentsClientTests.cs | ghcode:00005:dc35bda85a93 | mit | codeparrot/github-code | dc35bda85a9308dc75148e70f402cf62831f29480cf708ea83901243d4202568 | 0.85 | testing_debugging_repair_refactoring | 7,957 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace OneBoxDeployment.IntegrationTests
{
/// <summary>
/// A handler to systematically test the presence of security headers in HTTP(S) responses.
/// </summary>
/// <remarks>This h... | benjaminpetit/orleans | samples/OneBoxDeployment/test/OneBoxDeployment.IntegrationTests/SecurityHeaderTestMessageHandler.cs | https://github.com/benjaminpetit/orleans/blob/HEAD/samples/OneBoxDeployment/test/OneBoxDeployment.IntegrationTests/SecurityHeaderTestMessageHandler.cs | ghcode:00005:c8d71a9499a2 | mit | codeparrot/github-code | c8d71a9499a2e6eb12724c73e9808b6586219b5eca784df6fe6d34f200e91b2e | 0.95 | testing_debugging_repair_refactoring | 387 | false | 2026-07-17 |
#if net40
using System;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Shouldly.Tests.ShouldNotThrow
{
[TestFixture]
public class TaskWithTimeoutScenario
{
[Test]
public void ShouldThrowAWobbly()
{
var task = Task.Factory.StartNew(... | yannisgu/shouldly | src/Shouldly.Tests/ShouldNotThrow/TaskWithTimeoutScenario.cs | https://github.com/yannisgu/shouldly/blob/HEAD/src/Shouldly.Tests/ShouldNotThrow/TaskWithTimeoutScenario.cs | ghcode:00005:03de3d8533c4 | bsd-3-clause | codeparrot/github-code | 03de3d8533c4334eecfbb9cc6ebf9cbb2980abceeca305533a187316746794ea | 0.6 | testing_debugging_repair_refactoring | 258 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Linq.Expressions.Tests
{
public static class DebugInfoExpressionTests
{
... | shmao/corefx | src/System.Linq.Expressions/tests/DebugInfo/DebugInfoExpressionTests.cs | https://github.com/shmao/corefx/blob/HEAD/src/System.Linq.Expressions/tests/DebugInfo/DebugInfoExpressionTests.cs | ghcode:00005:26f2e6c1e2e2 | mit | codeparrot/github-code | 26f2e6c1e2e258ef2cbfd129f1d8b408bfb5a21f3a7ba35885a44835e36c7ed9 | 0.95 | testing_debugging_repair_refactoring | 768 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
using ... | amcasey/roslyn | src/Compilers/CSharp/Test/Semantic/FlowAnalysis/StructTests.cs | https://github.com/amcasey/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/FlowAnalysis/StructTests.cs | ghcode:00005:48922bdff646 | apache-2.0 | codeparrot/github-code | 48922bdff646ba3dbeb0ef4b87a748e2813fcfa02940ebc51eb07c9945716a3b | 0.95 | testing_debugging_repair_refactoring | 3,173 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// <copyright file="SqlAeadAes256CbcHmac256Factory.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="true">balnee</owner>
// <owner current="true" ... | esdrubal/referencesource | System.Data/System/Data/SqlClient/SqlAes256CbcFactory.cs | https://github.com/esdrubal/referencesource/blob/HEAD/System.Data/System/Data/SqlClient/SqlAes256CbcFactory.cs | ghcode:00005:05ca2b0e8364 | mit | codeparrot/github-code | 05ca2b0e836498f84bc4e6cb12b445a2dce09021abf04245decd4b2e55833671 | 0.7 | testing_debugging_repair_refactoring | 904 | 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.Text;
using Xunit;
namespace System.Text.EncodingTests
{
// GetByteCount(System.Char[],System.Int32,System.Int32,System.Boolean)
pub... | shiftkey-tester/corefx | src/System.Text.Encoding/tests/Encoder/EncoderGetByteCount2.cs | https://github.com/shiftkey-tester/corefx/blob/HEAD/src/System.Text.Encoding/tests/Encoder/EncoderGetByteCount2.cs | ghcode:00005:77ab2e3e9351 | mit | codeparrot/github-code | 77ab2e3e9351dc7ee422551a13b8b2f3fdb270653d3b460acdb200b44411e671 | 0.95 | testing_debugging_repair_refactoring | 1,761 | false | 2026-07-17 |
namespace StorSimple1200Series.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Azure.Management.StorSimple1200Series;
using Microsoft.Azure.Management.StorSimple1200Series.Models;
using Microsoft.Rest;
using Xunit;
using Xunit.Abstractions;
... | Azure/azure-sdk-for-net | sdk/storsimple/Microsoft.Azure.Management.StorSimple/tests/Tests/DeviceSettingsTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/storsimple/Microsoft.Azure.Management.StorSimple/tests/Tests/DeviceSettingsTests.cs | ghcode:00005:1dee27d44caf | mit | codeparrot/github-code | 1dee27d44caf8e97d691580bd019b9c4208f91267cc8a4aa804931814dc73944 | 0.95 | testing_debugging_repair_refactoring | 1,087 | 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 Xunit;
using Xunit.Abstractions;
namespace Microsoft.CodeAnalysis.CSharp.UnitTests
{
public class AwaitParsingTests : ParsingTests
{
p... | weltkante/roslyn | src/Compilers/CSharp/Test/Syntax/Parsing/AwaitParsingTests.cs | https://github.com/weltkante/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Syntax/Parsing/AwaitParsingTests.cs | ghcode:00005:48d92d861e93 | apache-2.0 | codeparrot/github-code | 48d92d861e9316bbb79ca928d8bff05ac45d64dde9af70db1ea8cd7110be56e4 | 0.72 | testing_debugging_repair_refactoring | 9,055 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace System.Coll... | 690486439/corefx | src/System.Collections.Concurrent/tests/ConcurrentQueueTests.cs | https://github.com/690486439/corefx/blob/HEAD/src/System.Collections.Concurrent/tests/ConcurrentQueueTests.cs | ghcode:00005:ffe507859d97 | mit | codeparrot/github-code | ffe507859d978c549a2b1f3566d0a4e6515f4664228a8042cdaaef65c6e71384 | 0.95 | testing_debugging_repair_refactoring | 3,114 | 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.Diagnostics.CodeAnalysis;
using System.Text;
using System.Threading;
using Sy... | BrennanConroy/corefx | src/Common/src/CoreLib/System/IO/StreamReader.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/Common/src/CoreLib/System/IO/StreamReader.cs | ghcode:00005:ec278b2fc124 | mit | codeparrot/github-code | ec278b2fc124b9247f5a7994298793229604db181e361b38c7bd1ad0887a012f | 0.95 | testing_debugging_repair_refactoring | 10,370 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Threading;
using Internal.Runtime.Com... | BrennanConroy/corefx | src/System.Memory/src/System/Buffers/SequenceReader.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Memory/src/System/Buffers/SequenceReader.cs | ghcode:00005:6b753615e865 | mit | codeparrot/github-code | 6b753615e865ade1afe2136815eb20921b8d5caa8153900e51f2efe6ad007f2b | 0.95 | testing_debugging_repair_refactoring | 2,517 | false | 2026-07-17 |
#region CopyrightHeader
//
// Copyright by 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.txt
//
// Unless requ... | luisibanez/MDWS-To-Be-Deleted | mdo/mdo-test/src/TestObjects.cs | https://github.com/luisibanez/MDWS-To-Be-Deleted/blob/HEAD/mdo/mdo-test/src/TestObjects.cs | ghcode:00005:6d2fc13dfb73 | apache-2.0 | codeparrot/github-code | 6d2fc13dfb73dcabdfcb6f82c0f481783ced4317e98b40fa0f86a099f6ba15db | 0.95 | testing_debugging_repair_refactoring | 698 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="Helper.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//
// @owner [....]
// @backupOwner [....]
//--------------------------------------------------------------... | sekcheong/referencesource | System.Data.Entity/System/Data/Metadata/Helper.cs | https://github.com/sekcheong/referencesource/blob/HEAD/System.Data.Entity/System/Data/Metadata/Helper.cs | ghcode:00005:54a67fe5129d | mit | codeparrot/github-code | 54a67fe5129df110c237e4ea3526b72e4b88afddf404de9e420de4fb3a27128f | 0.7 | testing_debugging_repair_refactoring | 4,559 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Cake.Common.Tools.InnoSetup;
using Cake.Core;
using NSubstitute;
using Xunit;
namespace Cake.Common.Tests.Un... | phenixdotnet/cake | src/Cake.Common.Tests/Unit/Tools/InnoSetup/InnoSetupAliasesTests.cs | https://github.com/phenixdotnet/cake/blob/HEAD/src/Cake.Common.Tests/Unit/Tools/InnoSetup/InnoSetupAliasesTests.cs | ghcode:00005:3690ca6f93d4 | mit | codeparrot/github-code | 3690ca6f93d4d0b1a9cd2f075b668f4206c4dcf96b30487723ebd06e5f048d69 | 0.85 | testing_debugging_repair_refactoring | 238 | 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.Buffers;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace System.IO.Pipelin... | BrennanConroy/corefx | src/System.IO.Pipelines/src/System/IO/Pipelines/BufferSegment.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.IO.Pipelines/src/System/IO/Pipelines/BufferSegment.cs | ghcode:00005:65a189a97cd8 | mit | codeparrot/github-code | 65a189a97cd8300492318890b76f2458e730e6e28b0352ed7ea598d77b3813aa | 0.95 | testing_debugging_repair_refactoring | 868 | 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 OLEDB.Test.ModuleCore;
namespace System.Xml.Tests
{
public partial class TCElement : XmlWriterTestCaseBase
{
// Type is System.Xml.Tests.TCElemen... | heXelium/corefx | src/System.Xml.ReaderWriter/tests/Writers/XmlWriterApi/TCElement.cs | https://github.com/heXelium/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/Writers/XmlWriterApi/TCElement.cs | ghcode:00005:41d95534c0a0 | mit | codeparrot/github-code | 41d95534c0a0b6e906d8468b7ae90ebc2eb54d6e5a3ec9784033f08be129e798 | 0.95 | testing_debugging_repair_refactoring | 1,301 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Reflection;
using System.Reflection.Emit;
using System.Globalization;
using Xunit;
names... | ellismg/corefx | src/System.Reflection.Emit.Lightweight/tests/DynamicMethodToString.cs | https://github.com/ellismg/corefx/blob/HEAD/src/System.Reflection.Emit.Lightweight/tests/DynamicMethodToString.cs | ghcode:00005:ba05d67d099d | mit | codeparrot/github-code | ba05d67d099d2ea56f2607250e15671add9124ae01deceed13e5e73589a43bd0 | 0.95 | testing_debugging_repair_refactoring | 389 | 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;
using System.Diagnostics;
namespace System.Xml.Xsl.Qil
{
/// <summary>
... | dotnet-bot/corefx | src/System.Private.Xml/src/System/Xml/Xsl/QIL/SubstitutionList.cs | https://github.com/dotnet-bot/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/Xsl/QIL/SubstitutionList.cs | ghcode:00005:9bdfe76fbf9a | mit | codeparrot/github-code | 9bdfe76fbf9abe149d7fde6cfd2832526df18f6605099493d327e1cdf4544fbb | 0.95 | testing_debugging_repair_refactoring | 417 | 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.Xml;
using Xunit;
namespace XmlDocumentTests.XmlAttributeCollectionTests
{
public class InsertBeforeTests
{
private XmlDocu... | dkorolev/corefx | src/System.Xml.XmlDocument/tests/XmlAttributeCollectionTests/InsertBeforeTests.cs | https://github.com/dkorolev/corefx/blob/HEAD/src/System.Xml.XmlDocument/tests/XmlAttributeCollectionTests/InsertBeforeTests.cs | ghcode:00005:2f8c1a3ea6f8 | mit | codeparrot/github-code | 2f8c1a3ea6f8cefb216d74dd0bbe142fe606f6c8013fcd6f3877fb77f9090938 | 0.95 | testing_debugging_repair_refactoring | 1,965 | 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.ComponentModel.Composition.Factories;
using System.ComponentModel.Composition.Hosting;
using Xunit;
na... | BrennanConroy/corefx | src/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/AttributedModel/AllowNonPublicCompositionTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/AttributedModel/AllowNonPublicCompositionTests.cs | ghcode:00005:7c3d7b6e11d5 | mit | codeparrot/github-code | 7c3d7b6e11d5bbf6477eb7cbb17a02260db32b449d6eeb04b4c83cbb7bddc00b | 0.95 | testing_debugging_repair_refactoring | 2,160 | 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.IO;
using System.Reflection;
using System.... | DnlHarvey/corefx | src/System.Private.Xml/tests/XmlSerializer/Performance/XsPerformanceTest.cs | https://github.com/DnlHarvey/corefx/blob/HEAD/src/System.Private.Xml/tests/XmlSerializer/Performance/XsPerformanceTest.cs | ghcode:00005:26baf21183a3 | mit | codeparrot/github-code | 26baf21183a3d90fd849a0faae7606938e301082d17b70a4cf1e818b16c2498d | 0.95 | testing_debugging_repair_refactoring | 622 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Micr... | KevinRansom/roslyn | src/Debugging/Microsoft.DiaSymReader.PortablePdb/Utilities/BlobWriter.cs | https://github.com/KevinRansom/roslyn/blob/HEAD/src/Debugging/Microsoft.DiaSymReader.PortablePdb/Utilities/BlobWriter.cs | ghcode:00005:8da46be7e315 | apache-2.0 | codeparrot/github-code | 8da46be7e315c92e311671d8b7a0a1c44cfa296e0fba8e87050192325f831b41 | 0.75 | testing_debugging_repair_refactoring | 599 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Composition.Hosting;
using System.Linq;
using System.Te... | iamjasonp/corefx | src/System.Composition/tests/CustomerReportedMetadataBug.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Composition/tests/CustomerReportedMetadataBug.cs | ghcode:00005:19c09e9ea841 | mit | codeparrot/github-code | 19c09e9ea841f7ace2a3a9967199f42daccb8ce62200fbe9166a135548dc6db4 | 0.95 | testing_debugging_repair_refactoring | 261 | false | 2026-07-17 |
using System.Collections.Generic;
using Cocos2D;
namespace tests
{
public class ConvertToNode : TestCocosNodeDemo
{
public ConvertToNode()
{
TouchEnabled = true;
CCSize s = CCDirector.SharedDirector.WinSize;
CCRotateBy rotate = new CCRotateBy (10, 360);
... | mono/cocos2d-xna | tests/tests/classes/tests/NodeTest/ConvertToNode.cs | https://github.com/mono/cocos2d-xna/blob/HEAD/tests/tests/classes/tests/NodeTest/ConvertToNode.cs | ghcode:00005:81968ec76084 | mit | codeparrot/github-code | 81968ec7608474883b7903251fe341ca20885b914c508ea33df35623019850c7 | 0.85 | testing_debugging_repair_refactoring | 388 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using DomainCQRS.Common;
using DomainCQRS.Persister;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using StoryQ;
namespace DomainCQRS.Test.Publisher
{
[TestClass]
public class EventPublisherTest
{
[Test... | chrispday/DomainCQRS | DomainCQRS/DomainCQRS.Test/Publisher/EventPublisherTest.cs | https://github.com/chrispday/DomainCQRS/blob/HEAD/DomainCQRS/DomainCQRS.Test/Publisher/EventPublisherTest.cs | ghcode:00005:e90fe9259b57 | mit | codeparrot/github-code | e90fe9259b5778ae783df53730be743f4ff645e41513d8639d2382261ba8ce7f | 0.6 | testing_debugging_repair_refactoring | 1,533 | false | 2026-07-17 |
namespace ContosoUniversity.Domain.AppServices.Tests.InstructorApplicationService
{
using System;
using System.Linq;
using ContosoUniversity.Core.Domain.ContextualValidation;
using NRepository.TestKit;
using NUnit.Framework;
using TestKit.Factories;
using Core.Behaviours.InstructorApplicatio... | NRepository/ContosoUniversity | src/_Tests/ContosoUniversity.Domain.AppServices.Tests/_ToBeImplemented/InstructorApplicationService/DeleteInstructorHandlerTests.cs | https://github.com/NRepository/ContosoUniversity/blob/HEAD/src/_Tests/ContosoUniversity.Domain.AppServices.Tests/_ToBeImplemented/InstructorApplicationService/DeleteInstructorHandlerTests.cs | ghcode:00005:da5b3d1747ee | mit | codeparrot/github-code | da5b3d1747ee230a3bb96ff8a4c6b24f90cfee74198d06d1b47aa2754138f01a | 0.85 | testing_debugging_repair_refactoring | 381 | 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.
#if FEATURE_INTERPRET
using System;
using System.Reflection;
using Xunit;
namespace System.Linq.Expressions.Tests
{
public static partial class InterpreterTests
... | mellinoe/corefx | src/System.Linq.Expressions/tests/Interpreter/InterpreterTests.Address.cs | https://github.com/mellinoe/corefx/blob/HEAD/src/System.Linq.Expressions/tests/Interpreter/InterpreterTests.Address.cs | ghcode:00005:83cc68b77918 | mit | codeparrot/github-code | 83cc68b779184486d8ce9cb6943e6e05fbf7f6d409f486b17db51992868fcb55 | 0.95 | testing_debugging_repair_refactoring | 468 | false | 2026-07-17 |
namespace Tavis.PrivateCache.Sterling.Test
{
using System.Collections.Generic;
using Wintellect.Sterling.Core;
internal static class TestHelper
{
public static ISterlingDatabaseInstance CreateDatabase()
{
var engine = new SterlingEngine(new SterlingPlatformAdapter());
... | rollingthunder/Tavis.PrivateCache.Sterling | test/Tavis.PrivateCache.Sterling.Test/TestHelper.cs | https://github.com/rollingthunder/Tavis.PrivateCache.Sterling/blob/HEAD/test/Tavis.PrivateCache.Sterling.Test/TestHelper.cs | ghcode:00005:e6e44ec669ab | mit | codeparrot/github-code | e6e44ec669abef014a736f0a877fe16b6e16158e39dba1a071d06e14bbd37184 | 0.75 | testing_debugging_repair_refactoring | 203 | false | 2026-07-17 |
using CarsSystem.Data.Models;
using CarsSystem.Data.Repositories;
using Moq;
using NUnit.Framework;
using System.Collections.Generic;
namespace CarsSystem.Tests.Data.CarsSystem.Data.EfGenericRepositoryTests
{
[TestFixture]
public class All
{
[Test]
public void ShouldReturnCollectionOfUsers... | todor-enikov/Cars-System-ASP.NET-MVC-Project | Source/Tests/CarsSystem.Tests/Data/CarsSystem.Data/EfGenericRepositoryTests/All.cs | https://github.com/todor-enikov/Cars-System-ASP.NET-MVC-Project/blob/HEAD/Source/Tests/CarsSystem.Tests/Data/CarsSystem.Data/EfGenericRepositoryTests/All.cs | ghcode:00005:c79a679bb04f | mit | codeparrot/github-code | c79a679bb04fd2db7a005133988122eacbf18fd20a2c02e92562b4b65f730a4e | 0.95 | testing_debugging_repair_refactoring | 240 | false | 2026-07-17 |
using System;
using System.Linq;
using Linq2Acad;
using Autodesk.AutoCAD.DatabaseServices;
using AcadTestRunner;
namespace Linq2Acad.Tests
{
public class SectionViewStyleContainerTests
{
[AcadTest]
public void TestCreateSectionViewStyle()
{
var newId = ObjectId.Null;
using (var db = AcadD... | wtertinek/Linq2Acad | src/Sources/Linq2Acad.Tests/ContainerTests/SectionViewStyleContainerTests.cs | https://github.com/wtertinek/Linq2Acad/blob/HEAD/src/Sources/Linq2Acad.Tests/ContainerTests/SectionViewStyleContainerTests.cs | ghcode:00005:2f849bde6f57 | mit | codeparrot/github-code | 2f849bde6f573594bb234aa929ce381a3f59d2a49f7583490a9fa3f55bf2a07a | 0.75 | testing_debugging_repair_refactoring | 145 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Text.RegularExpressions;
// ReSharper disable CheckNamespace
namespace hw.Helper;
/// <summary>
/// This Class implements the Difference Algorithm published in
/// "An O(ND) Difference Algorithm and its Variations" by Eugene Myers
/// Algorithmica Vol. ... | hahoyer/reni.cs | src/Reni/hw/Helper/Diff.cs | https://github.com/hahoyer/reni.cs/blob/HEAD/src/Reni/hw/Helper/Diff.cs | ghcode:00005:24f9bb15b7da | mit | codeparrot/github-code | 24f9bb15b7da81b7568fc636da237465cdbd34b61a7ebf3e32182d4ead712d11 | 0.85 | testing_debugging_repair_refactoring | 5,944 | false | 2026-07-17 |
#region Using Directives
using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using NUnit.Framework;
using Pharmatechnik.Nav.Language;
#endregion
namespace Nav.Language.Tests {
[TestFixture]
public class DiagnosticTes... | IInspectable/Nav.Language.Extensions | Nav.Language.Tests/Diagnostics/DiagnosticTests.cs | https://github.com/IInspectable/Nav.Language.Extensions/blob/HEAD/Nav.Language.Tests/Diagnostics/DiagnosticTests.cs | ghcode:00005:331f09f74ffe | mit | codeparrot/github-code | 331f09f74ffe50254beeffb05369a06a1bf14455bb8892424630491a3481fb44 | 0.85 | testing_debugging_repair_refactoring | 2,060 | false | 2026-07-17 |
using System.Linq;
using FakeItEasy;
using Nancy;
using Nancy.Testing;
using playNET.App;
using playNET.Tests.Helpers;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoFakeItEasy;
using Shouldly;
namespace playNET.Tests
{
public class PlayerModuleTests
{
private readonly IFixture fix... | vorou/play.NET | Src/playNET.Tests/PlayerModuleTests.cs | https://github.com/vorou/play.NET/blob/HEAD/Src/playNET.Tests/PlayerModuleTests.cs | ghcode:00005:b272967af9eb | mit | codeparrot/github-code | b272967af9eb422a5f2fe3c9b642e63a57f2fa3a47b27a017954b33a34957686 | 0.75 | testing_debugging_repair_refactoring | 810 | false | 2026-07-17 |
// Copyright (c) 2015-2016 jyuch
// Released under the MIT license
// https://github.com/jyuch/ReflectionToStringBuilder/blob/master/LICENSE
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Jyuch.ReflectionToStringBuilder.Tests
{
[TestClass]
public... | jyuch/ReflectionToStringBuilder | src/ReflectionToStringBuilder.Tests/ExpandIEnumerableTests.cs | https://github.com/jyuch/ReflectionToStringBuilder/blob/HEAD/src/ReflectionToStringBuilder.Tests/ExpandIEnumerableTests.cs | ghcode:00005:fc4b2368ee1a | mit | codeparrot/github-code | fc4b2368ee1aa15878afb9ce81c0cc6bc343b9d31f5117cca5e56c93ae523d58 | 0.85 | testing_debugging_repair_refactoring | 366 | false | 2026-07-17 |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using ReactiveDomain.Messaging;
using ReactiveDomain.Messaging.Bus;
namespace ReactiveDomain.Testing
{
/// <summary>
/// Has a ConcurrentMessageQueue that subscribes to all messages ... | PKI-InVivo/reactive-domain | src/ReactiveDomain.Testing/Specifications/TestQueue.cs | https://github.com/PKI-InVivo/reactive-domain/blob/HEAD/src/ReactiveDomain.Testing/Specifications/TestQueue.cs | ghcode:00005:3889f60b5f67 | mit | codeparrot/github-code | 3889f60b5f670acefcae110cb011f7f3db737d7fe1c54975ba027a9e65bda55e | 0.85 | testing_debugging_repair_refactoring | 1,875 | false | 2026-07-17 |
using Csla;
using Csla.Core;
using System;
using System.Threading.Tasks;
[Serializable]
public class ExpressionBodiedMember
: BusinessBase<ExpressionBodiedMember>
{
public static readonly PropertyInfo<int> ResourceIdProperty = RegisterProperty<int>(c => c.ResourceId);
public int ResourceId => ReadProperty(Resou... | BrettJaner/csla | Source/Csla.Analyzers/Csla.Analyzers.IntegrationTests/Csla.Analyzers.IntegrationTests/AnalyzerTests.cs | https://github.com/BrettJaner/csla/blob/HEAD/Source/Csla.Analyzers/Csla.Analyzers.IntegrationTests/Csla.Analyzers.IntegrationTests/AnalyzerTests.cs | ghcode:00005:0cf2cd19f87e | mit | codeparrot/github-code | 0cf2cd19f87eaa06139dc6d8ab7a99ecaed3a3e08123c8dc5732850d1237fd24 | 0.85 | testing_debugging_repair_refactoring | 819 | false | 2026-07-17 |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | Squidex/squidex | backend/tests/Squidex.Domain.Apps.Entities.Tests/Schemas/DomainObject/Guards/FieldProperties/NumberFieldPropertiesTests.cs | https://github.com/Squidex/squidex/blob/HEAD/backend/tests/Squidex.Domain.Apps.Entities.Tests/Schemas/DomainObject/Guards/FieldProperties/NumberFieldPropertiesTests.cs | ghcode:00005:f59cd4f4810c | mit | codeparrot/github-code | f59cd4f4810c1ede20ed2e3bd606d9dc9fcc57142c9be5b7f3017d6486d5fecb | 0.95 | testing_debugging_repair_refactoring | 692 | false | 2026-07-17 |
using NUnit.Framework;
namespace SJP.Schematic.Core.Tests
{
[TestFixture]
internal static class DatabaseSynonymTests
{
[Test]
public static void Ctor_GivenNullName_ThrowsArgNullException()
{
Assert.That(() => new DatabaseSynonym(null, "test"), Throws.ArgumentNullExcepti... | sjp/SJP.Schema | src/SJP.Schematic.Core.Tests/DatabaseSynonymTests.cs | https://github.com/sjp/SJP.Schema/blob/HEAD/src/SJP.Schematic.Core.Tests/DatabaseSynonymTests.cs | ghcode:00005:02e4fb866be1 | mit | codeparrot/github-code | 02e4fb866be17ba1073521218bfd52c2d506c6f6b0c7d7780fd4966eded25dbb | 0.75 | testing_debugging_repair_refactoring | 258 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Qwack.Paths;
using Qwack.Paths.Payoffs;
using Qwack.Paths.Processes;
using Qwack.Options.VolSurfaces;
using Qwack.Math.Extensions;
using Qwack.Math.Interpolation;
using Qwack.Options;
us... | cetusfinance/qwack | test/Qwack.MonteCarlo.Test/MCTurboSkewFacts.cs | https://github.com/cetusfinance/qwack/blob/HEAD/test/Qwack.MonteCarlo.Test/MCTurboSkewFacts.cs | ghcode:00005:f85a84c634b7 | mit | codeparrot/github-code | f85a84c634b766367cec5aeab210958ecd959b45d6c5846e919a39601d7c1a4a | 0.6 | testing_debugging_repair_refactoring | 774 | false | 2026-07-17 |
/*
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HTLib2.Bioinfo
{
public partial class Topol
{
public class ListImpr
{
readonly List<string> _lines = new List<string>();
readonly List<string> Center = new List<string>();
readonly List<stri... | htna/HCsbLib | HCsbLib/HCsbLib/HTLib2.Bioinfo/[obsolete]/Topol/Topol.ListImpr.cs | https://github.com/htna/HCsbLib/blob/HEAD/HCsbLib/HCsbLib/HTLib2.Bioinfo/[obsolete]/Topol/Topol.ListImpr.cs | ghcode:00005:e478538ae744 | mit | codeparrot/github-code | e478538ae7442e62fb9ee6d67ea54212c4aca39632c14f63dae18d648ebca028 | 0.6 | testing_debugging_repair_refactoring | 325 | false | 2026-07-17 |
namespace Ocelot.AcceptanceTests
{
using Ocelot.Configuration.File;
using System;
using System.Collections.Generic;
using System.Net;
using TestStack.BDDfy;
using Xunit;
public class ReturnsErrorTests : IDisposable
{
private readonly Steps _steps;
private rea... | geffzhang/Ocelot | test/Ocelot.AcceptanceTests/ReturnsErrorTests.cs | https://github.com/geffzhang/Ocelot/blob/HEAD/test/Ocelot.AcceptanceTests/ReturnsErrorTests.cs | ghcode:00005:43deefe0c48b | mit | codeparrot/github-code | 43deefe0c48b7dd5ed4efd4c21d0dc573a96a4d30b9ab605c6717eca212eac07 | 0.75 | testing_debugging_repair_refactoring | 641 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading;
using Stratis.Bitcoin.Configuration.Logging;
using Stratis.Bitcoin.Features.PoA.Voting;
using Stratis.Bitcoin.Tests.Common;
using Stratis.Bitcoin.Utilities;
using Xunit;
namespace Stratis.Bitcoin.Features.PoA.Tests
{
public class PollsRepositoryTests
{
... | bokobza/StratisBitcoinFullNode | src/Stratis.Bitcoin.Features.PoA.Tests/PollsRepositoryTests.cs | https://github.com/bokobza/StratisBitcoinFullNode/blob/HEAD/src/Stratis.Bitcoin.Features.PoA.Tests/PollsRepositoryTests.cs | ghcode:00005:8fee82d1f728 | mit | codeparrot/github-code | 8fee82d1f7284d62fb8aa96c9d3a49b5207ff3a8f5897f5db63a168a70c0fb97 | 0.75 | testing_debugging_repair_refactoring | 644 | false | 2026-07-17 |
namespace DotIni.Test
{
using System;
using System.Collections.Generic;
using DotIni;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
[TestClass]
public class IniFileTests
{
[TestMethod]
public void SectionsAreReadCorrectly()
{
I... | SaqibS/DotIni | DotIni.Test/IniFileTests.cs | https://github.com/SaqibS/DotIni/blob/HEAD/DotIni.Test/IniFileTests.cs | ghcode:00005:c1835e9b8681 | mit | codeparrot/github-code | c1835e9b8681cd230bf8e078e198a6f126f28ca5e39ecf3aa51e12d5d7780aec | 0.75 | testing_debugging_repair_refactoring | 1,437 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Text.RegularExpressions;
using Test;
using System.Collections.Generic;
using System.Text;
using OTransport.Test.Utilities;
namespace OTransport.tests
{
[TestClass]
public class ObjectTransport_Send
{
[TestMethod]
... | RhynoVDS/ObjectTransport | ObjectTransport.tests/ObjectTransport_Send.tests.cs | https://github.com/RhynoVDS/ObjectTransport/blob/HEAD/ObjectTransport.tests/ObjectTransport_Send.tests.cs | ghcode:00005:1494575217c7 | mit | codeparrot/github-code | 1494575217c76de03c9778b50e379bc73c247a4edc2b2d4318391eaf6ba8202f | 0.85 | testing_debugging_repair_refactoring | 1,519 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CollectionExtensionsTests.cs" company="Bijectiv">
// The MIT License (MIT)
//
// Copyright (c) 2014 Brian Tyler
//
// Permission is hereby granted, free of charge, to ... | briantyler/bijectiv | Sources/Bijectiv.Tests/Utilities/CollectionExtensionsTests.cs | https://github.com/briantyler/bijectiv/blob/HEAD/Sources/Bijectiv.Tests/Utilities/CollectionExtensionsTests.cs | ghcode:00005:b694794fe1c5 | mit | codeparrot/github-code | b694794fe1c555d86aa34974c01a4306038f513ea70ccfb91a2ddcaca749492c | 0.85 | testing_debugging_repair_refactoring | 599 | false | 2026-07-17 |
using System;
namespace System {
public class Test {
public static int Main() {
double d = 5.0;
object o = d;
double e = (double) o;
if (e != d)
return 1;
return 0;
}
}
}
| jbatonnet/system | Source/[Libraries]/Mono/mono/tests/double-cast.cs | https://github.com/jbatonnet/system/blob/HEAD/Source/[Libraries]/Mono/mono/tests/double-cast.cs | ghcode:00005:8227ea96e18d | mit | codeparrot/github-code | 8227ea96e18d5f3a8f66cc00cffdcbfc1461be0410c44c8eea20fba7edb7ecae | 0.6 | testing_debugging_repair_refactoring | 65 | false | 2026-07-17 |
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace NScrape.Test {
public class NScrapeExtensionTests {
[Fact]
public async Task GetEncodingTest() {
var request = System.Net.WebRequest.Create( "https://www.wikipedia.org/" );
var response = await request.GetResponseAsyn... | darrylwhitmore/NScrape | NScrape.Test.Common/NScrapeExtensionTests.cs | https://github.com/darrylwhitmore/NScrape/blob/HEAD/NScrape.Test.Common/NScrapeExtensionTests.cs | ghcode:00005:b005086094d7 | mit | codeparrot/github-code | b005086094d7290a80abb0a3a7a08cf1bcbad128d482d180f725a5e1e3efb364 | 0.85 | testing_debugging_repair_refactoring | 655 | false | 2026-07-17 |
using System.Net;
using System.Net.Http;
using FluentAssertions;
using Microsoft.Extensions.Logging;
using Moq;
using Xunit;
using Yarm.FunctionApp.Tests.Fixtures;
using Yarm.Functions;
namespace Yarm.FunctionApp.Tests
{
/// <summary>
/// This represents the test entity for the <see cref="GetArmTemplateH... | aliencube/yarm | test/Yarm.FunctionApp.Tests/GetArmTemplateHttpTriggerTests.cs | https://github.com/aliencube/yarm/blob/HEAD/test/Yarm.FunctionApp.Tests/GetArmTemplateHttpTriggerTests.cs | ghcode:00005:1fadbb39cffb | mit | codeparrot/github-code | 1fadbb39cffbc9c5ac14eecc90bfb4d2e1f073e3afe6a370446b94b37cc8b52c | 0.85 | testing_debugging_repair_refactoring | 405 | false | 2026-07-17 |
using Academy.Models;
using NUnit.Framework;
using System;
namespace Academy.NewTests.Models.CourseTests
{
[TestFixture]
public class LecturesPerWeek_Should
{
public const string name = "George";
public const int lecturesPerWeek = 5;
public readonly DateTime start = new DateTime(20... | VVoev/Telerik-Academy | 07.Unit Testing with C#/05. Workshop (Students)/Academy/Workshop/Academy.NewTests/Models/CourseTests/LecturesPerWeek_Should.cs | https://github.com/VVoev/Telerik-Academy/blob/HEAD/07.Unit Testing with C#/05. Workshop (Students)/Academy/Workshop/Academy.NewTests/Models/CourseTests/LecturesPerWeek_Should.cs | ghcode:00005:8131fdf0c16f | mit | codeparrot/github-code | 8131fdf0c16f14b7c57fd8902e4cc10cbaf1207c023b64bfd650476ee141db39 | 0.7 | testing_debugging_repair_refactoring | 348 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using GitReleaseManager.Core;
using GitReleaseManager.Core.Provider;
using NUnit.Framework;
using Octokit;
using Serilog;
using Shouldly;
using Issue = GitReleaseManager.Core.Model.Issue;
using Milestone = GitReleaseManager.Core.Model.Mile... | GitTools/GitReleaseManager | src/GitReleaseManager.IntegrationTests/GitHubProviderIntegrationTests.cs | https://github.com/GitTools/GitReleaseManager/blob/HEAD/src/GitReleaseManager.IntegrationTests/GitHubProviderIntegrationTests.cs | ghcode:00005:3432fd6f624f | mit | codeparrot/github-code | 3432fd6f624f44ece8173a6908835d7d4f27291f6a7fa10f3602e75c34020c39 | 0.75 | testing_debugging_repair_refactoring | 744 | false | 2026-07-17 |
using Challenges.Challenges.Arrays;
using Machine.Specifications;
namespace Challenges.Tests.Arrays
{
[Subject( typeof ( SwapBlocksUnsafe ) )]
class SwapBlocksUnsafeSpec
{
Because _of = () =>
{
_joeCameron = SwapBlocksUnsafe.Swap( "JoeCameron", 3 );
_james... | a4099181/Challenges | Challenges/Tests/Arrays/SwapBlocksUnsafeSpec.cs | https://github.com/a4099181/Challenges/blob/HEAD/Challenges/Tests/Arrays/SwapBlocksUnsafeSpec.cs | ghcode:00005:11ca24f54e98 | mit | codeparrot/github-code | 11ca24f54e98dd59f51534fd7cb07cd6b5f06fa369dcd83372d0c59ef37c1005 | 0.85 | testing_debugging_repair_refactoring | 343 | false | 2026-07-17 |
using System;
using NuSelfUpdate.Tests.Helpers;
using Shouldly;
namespace NuSelfUpdate.Tests.InstalledUpdateBehaviour
{
public class CreateWithNewVersionLessThanOld : BddifyTest
{
Version _oldVersion;
Version _newVersion;
Exception _exception;
void GivenAnOldVersio... | caleb-vear/NuSelfUpdate | src/Tests/InstalledUpdateBehaviour/CreateWithNewVersionLessThanOld.cs | https://github.com/caleb-vear/NuSelfUpdate/blob/HEAD/src/Tests/InstalledUpdateBehaviour/CreateWithNewVersionLessThanOld.cs | ghcode:00005:818bb7c0e907 | mit | codeparrot/github-code | 818bb7c0e907c734780ef480190b9768fdc99bdd2da1fb9aba46d34ee8a18769 | 0.85 | testing_debugging_repair_refactoring | 229 | 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.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.Cod... | genlu/roslyn | src/Compilers/CSharp/Test/IOperation/IOperation/IOperationTests_IForEachLoopStatement.cs | https://github.com/genlu/roslyn/blob/HEAD/src/Compilers/CSharp/Test/IOperation/IOperation/IOperationTests_IForEachLoopStatement.cs | ghcode:00005:23442215021a | mit | codeparrot/github-code | 23442215021a110cff77ebc1f8357a8340a176732b2d61b2f9db06c62c868a73 | 0.75 | testing_debugging_repair_refactoring | 65,226 | false | 2026-07-17 |
using System;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SmartMeter.Business.Extractor;
namespace SmartMeter.Business.Tests {
[TestClass]
public class FileWriterTests {
[TestInitialize]
public void CleanOutputDirectory() {
string outputDirectory = Path.Combin... | jeroen-corsius/smart-meter | SmartMeter.Business.Tests/FileWriterTests.cs | https://github.com/jeroen-corsius/smart-meter/blob/HEAD/SmartMeter.Business.Tests/FileWriterTests.cs | ghcode:00005:20e1c171a0b8 | mit | codeparrot/github-code | 20e1c171a0b871b50240d3287206357a73586741a925ca116305bd0390e3a70d | 0.75 | testing_debugging_repair_refactoring | 386 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Demo.Selenium
{
using Clix.QA.Selenium;
using OpenQA.Selenium;
using pages;
[TestClass]
public class PackagePageTests
{
private static readonly Guid DriverToken = Guid.NewGuid();
private static IWebDriver driver;
[ClassInitia... | MinjetTech/Clix | QA.Library/help/Demo.Selenium/PackagePageTests.cs | https://github.com/MinjetTech/Clix/blob/HEAD/QA.Library/help/Demo.Selenium/PackagePageTests.cs | ghcode:00005:1d007b14b5a4 | mit | codeparrot/github-code | 1d007b14b5a4e03cc311a2c84f119e6147327edde3bb72a5111f9af4b2a5b711 | 0.75 | testing_debugging_repair_refactoring | 302 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Ghpr.Core.Common;
using Ghpr.Core.Interfaces;
namespace Ghpr.Core.Utils
{
public class TestRunsRepository : ITestRunsRepository
{
private List<TestRunDto> _currentTests;
public void OnRunStarted()
{
_... | GHPReporter/Ghpr.Core | Ghpr.Core.Core/Utils/TestRunsRepository.cs | https://github.com/GHPReporter/Ghpr.Core/blob/HEAD/Ghpr.Core.Core/Utils/TestRunsRepository.cs | ghcode:00005:941c75d7c01a | mit | codeparrot/github-code | 941c75d7c01afe0da258099a7e325e2173f0303050d774c3d0297d89a3e03bf7 | 0.75 | testing_debugging_repair_refactoring | 274 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
namespace Configuration.Tests
{
[TestClass]
public class Test_ConfigFile : TestBase
{
[TestMethod]
public void TestSavingAndLoading()
{
var cfg = new ConfigFile() { FileName =... | ConfigIO/ConfigIO_Net | source/ConfigIO_UnitTests/Test_ConfigFile.cs | https://github.com/ConfigIO/ConfigIO_Net/blob/HEAD/source/ConfigIO_UnitTests/Test_ConfigFile.cs | ghcode:00005:ced2b10d53a1 | mit | codeparrot/github-code | ced2b10d53a1ce3f4354675105d9f5924e3d33c7aa314b34d08aeaf4ef025129 | 0.75 | testing_debugging_repair_refactoring | 179 | false | 2026-07-17 |
/**************************************
* FILE: NGinModuleConfig.cs
* DATE: 05.01.2010 10:13:42
* AUTHOR: Raphael B. Estrada
* AUTHOR URL: http://www.galaktor.net
* AUTHOR E-MAIL: galaktor@gmx.de
*
* The MIT License
*
* Copyright (c) 2010 Raphael B. Estrada
* Author UR... | galaktor/ngin | src/ngin.core/Configuration/NGinModuleConfig.cs | https://github.com/galaktor/ngin/blob/HEAD/src/ngin.core/Configuration/NGinModuleConfig.cs | ghcode:00005:d2550257dd83 | mit | codeparrot/github-code | d2550257dd839e648becf27668275b89e4006809f7701c6ec905aaaa870a7af1 | 0.7 | testing_debugging_repair_refactoring | 1,475 | false | 2026-07-17 |
using System;
using System.Security.Policy;
using Moq;
using NUnit.Framework;
using OrionLib.Subscribe;
using OrionLib.Subscribe.Creation;
namespace OrionLib.Tests.Subscribing
{
public class OrionSubscriptionBuilderTests
{
private OrionSubscriptionBuilder<IOrionSubscription> BuildSubscription(Url noti... | bt-skyrise/OrionLib | Source/OrionLib.Tests/Subscribing/OrionSubscriptionBuilderTests.cs | https://github.com/bt-skyrise/OrionLib/blob/HEAD/Source/OrionLib.Tests/Subscribing/OrionSubscriptionBuilderTests.cs | ghcode:00005:65ba3f6935c9 | mit | codeparrot/github-code | 65ba3f6935c971be504516c9646a042b9c4aa39cd0dbe2595e51133dcfc8b466 | 0.75 | testing_debugging_repair_refactoring | 261 | false | 2026-07-17 |
using System.Text;
using NUnit.Framework;
namespace ProgrammingTests.StringConcatenationProfiling
{
public class StringProfiler
{
private const string FirstName = "hello";
private const string LastName = "There";
[Test]
public void Method_Scenario_Result()
... | Foxpips/ProgrammingCSharp | ProgrammingTests/StringConcatenationProfiling/StringProfiler.cs | https://github.com/Foxpips/ProgrammingCSharp/blob/HEAD/ProgrammingTests/StringConcatenationProfiling/StringProfiler.cs | ghcode:00005:400ab5e0acc7 | mit | codeparrot/github-code | 400ab5e0acc753e8c0f6ec4d731c0bc6f4ffbdea674f07500fcb8a9d6b2a564c | 0.6 | testing_debugging_repair_refactoring | 141 | false | 2026-07-17 |
using calc1.oneOper;
using calc1.twoOper;
using NUnit.Framework;
namespace calc1.Tests.oneOper
{
[TestFixture]
public class SinTests
{
[TestCase(1, 0.84147)]
[TestCase(5, -0.95892)]
public void SinTest(double first, double expected)
{
ISingleCalculator calculate... | rozamurzabekova/calc | calc1.Tests/oneOper/SinTests.cs | https://github.com/rozamurzabekova/calc/blob/HEAD/calc1.Tests/oneOper/SinTests.cs | ghcode:00005:956d36ca71b1 | mit | codeparrot/github-code | 956d36ca71b185f20f86f4ae8fc27328c93287f65c037de1eb4ab6aae414fc97 | 0.75 | testing_debugging_repair_refactoring | 118 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections;
using System.Linq;
using Xunit;
namespace System.Diagnostics.Tests
{
public class Pro... | yizhang82/corefx | src/System.Diagnostics.Process/tests/ProcessCollectionTests.cs | https://github.com/yizhang82/corefx/blob/HEAD/src/System.Diagnostics.Process/tests/ProcessCollectionTests.cs | ghcode:00005:16bd79e1d1e3 | mit | codeparrot/github-code | 16bd79e1d1e326fd95754b3498502bf8ab0e60374af3bc2a19566c237808ffb6 | 0.95 | testing_debugging_repair_refactoring | 1,085 | false | 2026-07-17 |
using GoogleApi.Entities.Maps.Geocoding.PlusCode.Request;
using NUnit.Framework;
namespace GoogleApi.UnitTests.Maps.Geocoding.PlusCode
{
[TestFixture]
public class GlobalCodeTests
{
[Test]
public void ConstructorDefaultTest()
{
var globalCode = new GlobalCode("code");
... | vivet/GoogleApi | .tests/GoogleApi.UnitTests/Maps/Geocoding/PlusCode/GlobalCodeTests.cs | https://github.com/vivet/GoogleApi/blob/HEAD/.tests/GoogleApi.UnitTests/Maps/Geocoding/PlusCode/GlobalCodeTests.cs | ghcode:00005:0c5767a465ac | mit | codeparrot/github-code | 0c5767a465ac4e47a35609490a7488e7c68bbb97821224c4ffcb9fa8e0b48178 | 0.75 | testing_debugging_repair_refactoring | 127 | false | 2026-07-17 |
using NUnit.Framework;
using Spectrum.Framework;
using Spectrum.Framework.Entities;
using Spectrum.Framework.Physics.Collision;
using Spectrum.Framework.Physics.Collision.Shapes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SpectrumTest
... | alex-sherman/Spectrum | Test/PhysicsTests.cs | https://github.com/alex-sherman/Spectrum/blob/HEAD/Test/PhysicsTests.cs | ghcode:00005:be83c4b83da7 | mit | codeparrot/github-code | be83c4b83da7058818e412adbbbbc9bb9d38624b5d094b80f34f14caa7585e71 | 0.75 | testing_debugging_repair_refactoring | 1,336 | 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 DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Validation.Schema;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
... | ThomasBarnekow/Open-XML-SDK | src/DocumentFormat.OpenXml/Validation/DocumentValidator.cs | https://github.com/ThomasBarnekow/Open-XML-SDK/blob/HEAD/src/DocumentFormat.OpenXml/Validation/DocumentValidator.cs | ghcode:00005:290bf800018a | mit | codeparrot/github-code | 290bf800018a423be23250949f152162836d283f7c0def85488216eb13291139 | 0.7 | testing_debugging_repair_refactoring | 1,731 | false | 2026-07-17 |
#region PDFsharp - A .NET library for processing PDF
//
// Authors:
// Stefan Lange (mailto:Stefan.Lange@pdfsharp.com)
//
// Copyright (c) 2005-2009 empira Software GmbH, Cologne (Germany)
//
// http://www.pdfsharp.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is hereby granted, free of charge, to ... | sebfia/PDFSharp_ios | PdfSharp/PdfSharp.Pdf.IO/Parser.cs | https://github.com/sebfia/PDFSharp_ios/blob/HEAD/PdfSharp/PdfSharp.Pdf.IO/Parser.cs | ghcode:00005:d05a4dba2752 | mit | codeparrot/github-code | d05a4dba27520ac8158a7507e388aa1bf5aaa069544c7a3693de409f2c89c17c | 0.7 | testing_debugging_repair_refactoring | 8,490 | false | 2026-07-17 |
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Service.Tests.TestRepositoreis;
using Service.Controllers;
using Core;
namespace Service.Tests
{
[TestClass]
public class LecturePlanControllerUnitTest
{
private ILecturePlanRepository testRepo;
private LecturePla... | jona8690/Project-Web | Code/Service/Service.Tests/LecturePlanControllerUnitTest.cs | https://github.com/jona8690/Project-Web/blob/HEAD/Code/Service/Service.Tests/LecturePlanControllerUnitTest.cs | ghcode:00005:c107012a05da | mit | codeparrot/github-code | c107012a05dabfbf147f7a099a15d32dc7c6c574d805d5754430e09eb4c0b3a7 | 0.6 | testing_debugging_repair_refactoring | 357 | false | 2026-07-17 |
/*
* John Hall <john.hall@camtechconsultants.com>
* Copyright (c) Cambridge Technology Consultants Ltd. All rights reserved.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Rhino.Mocks;
namespace CTC.CvsntGitImporter.TestCo... | CamTechConsultants/CvsntGitImporter | CvsGitTest/ManualBranchResolverTest.cs | https://github.com/CamTechConsultants/CvsntGitImporter/blob/HEAD/CvsGitTest/ManualBranchResolverTest.cs | ghcode:00005:298edea04386 | mit | codeparrot/github-code | 298edea043865abc71b7c462ea311fb1a7ce2d04449cb633a0b80f7271697913 | 0.7 | testing_debugging_repair_refactoring | 1,166 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using Moq;
using NUnit.Framework;
using Umbraco.Core.Models;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Tests.TestHelpers;
namespace Umbraco.Tests.PublishedContent
{
[TestFix... | lars-erik/Umbraco-CMS | src/Umbraco.Tests/PublishedContent/PublishedRouterTests.cs | https://github.com/lars-erik/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/PublishedContent/PublishedRouterTests.cs | ghcode:00005:0d56f3e38bcc | mit | codeparrot/github-code | 0d56f3e38bcc0436e4efd79cd2f99038808c48729f69f78466f0aa990c4c89a1 | 0.75 | testing_debugging_repair_refactoring | 561 | false | 2026-07-17 |
#region Copyright (c) 2006 Ian Davis and James Carlyle
/*------------------------------------------------------------------------------
COPYRIGHT AND PERMISSION NOTICE
Copyright (c) 2006 Ian Davis and James Carlyle
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software a... | iand/spiralrdf | src/SemPlan.Spiral.Tests.Utility/KnowledgeBaseTest.cs | https://github.com/iand/spiralrdf/blob/HEAD/src/SemPlan.Spiral.Tests.Utility/KnowledgeBaseTest.cs | ghcode:00005:7bd80d4902f0 | mit | codeparrot/github-code | 7bd80d4902f0e5448d0a86e8f10b4d4c85cdbec1d73caba8bd0c593b989dafb5 | 0.72 | testing_debugging_repair_refactoring | 18,649 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace GarbageCollection
{
[TestClass]
public class Cleaning
{
[TestMethod]
public void TestGarbageCollection()
{
for (var i = 0; i < 10000... | MartinChavez/CSharp | SchoolOfCSharp/GarbageCollection/Cleaning.cs | https://github.com/MartinChavez/CSharp/blob/HEAD/SchoolOfCSharp/GarbageCollection/Cleaning.cs | ghcode:00005:1d7835b07a20 | mit | codeparrot/github-code | 1d7835b07a200aced51bd5273dd4f53d70d79928de459b506ac95345f8776786 | 0.7 | testing_debugging_repair_refactoring | 452 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Wilcommerce.Catalog.Events.CustomAttribute;
using Xunit;
namespace Wilcommerce.Catalog.Test.Events.CustomAttribute
{
public class CustomAttributeUpdatedEventTest
{
[Fact]
public void CustomAttributeUpdatedEvent_Ctor_Should_Set_Arguments_Cor... | wilcommerce/Wilcommerce.Catalog | Wilcommerce.Catalog.Test/Events/CustomAttribute/CustomAttributeUpdatedEventTest.cs | https://github.com/wilcommerce/Wilcommerce.Catalog/blob/HEAD/Wilcommerce.Catalog.Test/Events/CustomAttribute/CustomAttributeUpdatedEventTest.cs | ghcode:00005:07832c874c8c | mit | codeparrot/github-code | 07832c874c8c364d33769651fe932e59e8c4ad559068842bda222281666bd13a | 0.6 | testing_debugging_repair_refactoring | 240 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SimilarDetails.Model;
namespace TestProject
{
[TestClass]
public class TestDetailsComparer
{
[TestMethod]
public void TestTheSameDetails()
{
string name = "Boch";
string article = "0 450... | isupovs/SimilarDetails | TestProject/TestDetailsComparer.cs | https://github.com/isupovs/SimilarDetails/blob/HEAD/TestProject/TestDetailsComparer.cs | ghcode:00005:be49136438bc | unlicense | codeparrot/github-code | be49136438bcc9345abcd9708934c4c43ca91996f45afd68f777f1df7c06a040 | 0.68 | testing_debugging_repair_refactoring | 491 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotVVM.Samples.Tests.Base;
using DotVVM.Testing.Abstractions;
using Riganti.Selenium.Core;
using Xunit;
using Xunit.Abstractions;
namespace DotVVM.Samples.Tests.Control
{
public class Template... | riganti/dotvvm | src/Samples/Tests/Tests/Control/TemplateHostTests.cs | https://github.com/riganti/dotvvm/blob/HEAD/src/Samples/Tests/Tests/Control/TemplateHostTests.cs | ghcode:00005:6db18202392b | apache-2.0 | codeparrot/github-code | 6db18202392b26a86854cb98a9f067a837635ebb44aea66a9b5b6622d3cd7ec2 | 0.95 | testing_debugging_repair_refactoring | 371 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ConfOrm;
using ConfOrm.NH;
using Biz.Model;
using NUnit.Framework;
using Biz.Extensions;
using NHibernate.Tool.hbm2ddl;
using Castle.DynamicProxy;
using Castle.Windsor;
using Castle.Windsor.Installer;
using Castle.MicroKernel.R... | yyitsz/myjavastudio | MyFirstMvcApp/Biz.Test/TestContainer.cs | https://github.com/yyitsz/myjavastudio/blob/HEAD/MyFirstMvcApp/Biz.Test/TestContainer.cs | ghcode:00005:e5415abca530 | apache-2.0 | codeparrot/github-code | e5415abca530d70e00211c74c0d82deb55c83dc37372799963326af96c77fbbe | 0.85 | testing_debugging_repair_refactoring | 3,210 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using PlayFab.Json;
using PlayFab.UUnit;
namespace JenkinsConsoleUtility.Util
{
public static class TestTitleDataLoader
{
private static TestTitleData testTitleData = null;
public static TestTitleData Load(Dictionary<string, stri... | PlayFab/SDKGenerator | JenkinsConsoleUtility/jcuSrc/Util/TestTitleDataLoader.cs | https://github.com/PlayFab/SDKGenerator/blob/HEAD/JenkinsConsoleUtility/jcuSrc/Util/TestTitleDataLoader.cs | ghcode:00005:aa207dde81ec | apache-2.0 | codeparrot/github-code | aa207dde81ec43af95b1f40b653835b0a7c14876c547e17a18b805ce46a39b9c | 0.75 | testing_debugging_repair_refactoring | 543 | 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.Buffers;
using System.Net.Http;
using System.Net.Quic;
using System.Text;
using Microsoft.AspNetCore.Connections;
using Microsoft.AspNetCore.Connections.Features;
using ... | aspnet/AspNetCore | src/Servers/Kestrel/Transport.Quic/test/QuicConnectionContextTests.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionContextTests.cs | ghcode:00005:670889e55e36 | apache-2.0 | codeparrot/github-code | 670889e55e36d8108a5f3eabf72ba8612c2919932460616ed013199e3318d682 | 0.95 | testing_debugging_repair_refactoring | 5,793 | false | 2026-07-17 |
// Copyright 2016 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 applic... | benwulfe/google-cloud-dotnet | apis/Google.Cloud.Diagnostics.Common/Google.Cloud.Diagnostics.Common.Tests/Trace/SimpleManagedTracerTest.cs | https://github.com/benwulfe/google-cloud-dotnet/blob/HEAD/apis/Google.Cloud.Diagnostics.Common/Google.Cloud.Diagnostics.Common.Tests/Trace/SimpleManagedTracerTest.cs | ghcode:00005:9f1b932b8fa3 | apache-2.0 | codeparrot/github-code | 9f1b932b8fa39c4274049bbbe02423bf607bf7c07d5556ddb880da76cf7c79b5 | 0.85 | testing_debugging_repair_refactoring | 5,731 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Shared.Extensions.ContextQuery;
using Microsoft.CodeAnalysis.CSharp.Extensions.ContextQuery;
using Microsoft.CodeAnalysis.Editing;
using Microsoft.Cod... | zooba/roslyn | src/EditorFeatures/CSharpTest/Completion/CompletionProviders/DeclarationNameCompletionProviderTests_NameDeclarationInfoTests.cs | https://github.com/zooba/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Completion/CompletionProviders/DeclarationNameCompletionProviderTests_NameDeclarationInfoTests.cs | ghcode:00005:ec35bd6c8ced | apache-2.0 | codeparrot/github-code | ec35bd6c8cedfcad51255cd3dffd579608eacf50c88046893d1e2380a6807994 | 0.75 | testing_debugging_repair_refactoring | 2,808 | false | 2026-07-17 |
// <copyright file="CommandLineParsingTests.cs" company="Microsoft Open Technologies, Inc.">
// Copyright 2011-2013 Microsoft Open Technologies, 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 ma... | monkeysquare/katana | tests/Katana.WebDev.WebServer40.Tests/CommandLineParsingTests.cs | https://github.com/monkeysquare/katana/blob/HEAD/tests/Katana.WebDev.WebServer40.Tests/CommandLineParsingTests.cs | ghcode:00005:812b0c6dc43c | apache-2.0 | codeparrot/github-code | 812b0c6dc43c87583ee3357244914ca5c2a351600366adf922f2e2d530175893 | 0.85 | testing_debugging_repair_refactoring | 668 | false | 2026-07-17 |
using NDatabase.Api;
namespace Test.NDatabase.Odb.Test.Oid
{
public class ClassWithOid
{
private string name;
private OID oid;
public ClassWithOid(string name, OID oid)
{
this.name = name;
this.oid = oid;
}
public virtua... | WaltChen/NDatabase | tests/NDatabase.Old.UnitTests/NDatabase/Odb/Test/Oid/ClassWithOid.cs | https://github.com/WaltChen/NDatabase/blob/HEAD/tests/NDatabase.Old.UnitTests/NDatabase/Odb/Test/Oid/ClassWithOid.cs | ghcode:00005:b32c562ed39a | apache-2.0 | codeparrot/github-code | b32c562ed39a9b577a2bf93964eff7d969f07604d639acdcc6dd0879dfadfb4b | 0.85 | testing_debugging_repair_refactoring | 139 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace NMF.Expressions.Test
{
[TestClass]
public class IndexExpressionTests
{
[TestMethod]
public void Indexer_NoObservableSource_NoUpdates()
... | mlessmann/NMF | Expressions/Tests/Expressions.Test/IndexExpressionTests.cs | https://github.com/mlessmann/NMF/blob/HEAD/Expressions/Tests/Expressions.Test/IndexExpressionTests.cs | ghcode:00005:ac2c56f89390 | apache-2.0 | codeparrot/github-code | ac2c56f89390ab5211f49f79a53bf08512b2d78064bd803685e408bac70dce9c | 0.85 | testing_debugging_repair_refactoring | 2,369 | false | 2026-07-17 |
// Copyright 2015 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... | evildour/google-cloud-dotnet | apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.IntegrationTests/DownloadObjectTest.cs | https://github.com/evildour/google-cloud-dotnet/blob/HEAD/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.IntegrationTests/DownloadObjectTest.cs | ghcode:00005:58c8b8fca489 | apache-2.0 | codeparrot/github-code | 58c8b8fca489e75a236c107914ba6c48cd56e034f8029f94c22768c6c4e785e1 | 0.85 | testing_debugging_repair_refactoring | 2,718 | false | 2026-07-17 |
using System;
using Inforigami.Regalo.Core;
using Inforigami.Regalo.EventSourcing;
namespace Inforigami.Regalo.RavenDB.Tests.Unit.DomainModel.Customers
{
public class AccountManager : AggregateRoot
{
private DateTime _startDate;
public void Employ(DateTime startDate)
{
/... | nbarnwell/Inforigami.Regalo | Inforigami.Regalo.RavenDB.Tests.Unit/DomainModel/Customers/AccountManager.cs | https://github.com/nbarnwell/Inforigami.Regalo/blob/HEAD/Inforigami.Regalo.RavenDB.Tests.Unit/DomainModel/Customers/AccountManager.cs | ghcode:00005:0ec410ad632f | apache-2.0 | codeparrot/github-code | 0ec410ad632f7dd1de8a43d491477007e49f1e8c141a0c6b381ca172cc2b77d8 | 0.75 | testing_debugging_repair_refactoring | 120 | false | 2026-07-17 |
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requi... | NakedObjectsGroup/NakedObjectsFramework | NakedFramework/NakedFramework.Rest.Test.Data/WithCollectionViewModel.cs | https://github.com/NakedObjectsGroup/NakedObjectsFramework/blob/HEAD/NakedFramework/NakedFramework.Rest.Test.Data/WithCollectionViewModel.cs | ghcode:00005:24ac3362276c | apache-2.0 | codeparrot/github-code | 24ac3362276c477d6f0a042fe0d4b41c5a7b8abc882e4bad23ebf93a85a1af6b | 0.85 | testing_debugging_repair_refactoring | 829 | false | 2026-07-17 |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If
... | paweljasinski/ironpython3 | Src/IronPython/Runtime/Operations/PythonTypeOps.cs | https://github.com/paweljasinski/ironpython3/blob/HEAD/Src/IronPython/Runtime/Operations/PythonTypeOps.cs | ghcode:00005:91ef623cbb96 | apache-2.0 | codeparrot/github-code | 91ef623cbb96f8a403144bec81f8fa9889fce5c39bfd7c99bf80045d980753fe | 0.7 | testing_debugging_repair_refactoring | 7,479 | false | 2026-07-17 |
/*
* REST API Documentation for the MOTI Hired Equipment Tracking System (HETS) Application
*
* The Hired Equipment Program is for owners/operators who have a dump truck, bulldozer, backhoe or other piece of equipment they want to hire out to the transportation ministry for day labour and emergency projects. The ... | plavoieBC/hets | Server/test/Models/DistrictTests.cs | https://github.com/plavoieBC/hets/blob/HEAD/Server/test/Models/DistrictTests.cs | ghcode:00005:4a58e81c7368 | apache-2.0 | codeparrot/github-code | 4a58e81c73684cd62eb13d760457f480d161aedd4b2e039001236df035ec7c7c | 0.95 | testing_debugging_repair_refactoring | 598 | false | 2026-07-17 |
/*
* Copyright 2020 Sage Intacct, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "LICENSE" file accompanying t... | Intacct/intacct-sdk-net | Intacct.SDK.Tests/Functions/Common/Query/Logical/AndConditionTest.cs | https://github.com/Intacct/intacct-sdk-net/blob/HEAD/Intacct.SDK.Tests/Functions/Common/Query/Logical/AndConditionTest.cs | ghcode:00005:a2cb9c320840 | apache-2.0 | codeparrot/github-code | a2cb9c32084084084f596704d67da3fea8a6fcd28bad59eeddeeec1e4b5039a5 | 0.6 | testing_debugging_repair_refactoring | 473 | false | 2026-07-17 |
using Dacs7.ReadWrite;
using Xunit;
namespace Dacs7.Tests
{
public class ExtensionsTests
{
[Fact]
public void GetReadItemMaxLengthForPdu120Test()
{
ushort pdu = 240;
var max = pdu - 18;
var client = new Dacs7Client("120.0.0.1") { PduSize = pdu };
... | proemmer/dacs7 | dacs7/test/Dacs7Tests/ExtensionsTests.cs | https://github.com/proemmer/dacs7/blob/HEAD/dacs7/test/Dacs7Tests/ExtensionsTests.cs | ghcode:00005:f85952599ece | apache-2.0 | codeparrot/github-code | f85952599ecefe9192abfd3e1702e4965c05539f2873f3a3af1eb89272fdd393 | 0.85 | testing_debugging_repair_refactoring | 934 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace LZ4Sharp
{
/// <summary>
/// Class for decompressing an LZ4 compressed byte array.
/// </summary>
public unsafe class LZ4Decompressor32 : ILZ4Decompressor
... | stangelandcl/LZ4Sharp | LZ4Sharp/LZ4Decompressor32.cs | https://github.com/stangelandcl/LZ4Sharp/blob/HEAD/LZ4Sharp/LZ4Decompressor32.cs | ghcode:00005:0a7a6fca2e83 | bsd-2-clause | codeparrot/github-code | 0a7a6fca2e83a2453f33c2b22a346b8d57e44688929359461dc29def2df8c0a0 | 0.63 | testing_debugging_repair_refactoring | 2,491 | false | 2026-07-17 |
using NUnit.Framework;
using LeanCloud;
using LeanCloud.Core.Internal;
using System;
using System.Linq;
using System.Collections.Generic;
namespace ParseTest {
[TestFixture]
public class ObjectStateTests {
[Test]
public void TestDefault() {
IObjectState state = new MutableObjectState();
Assert.... | wujun4code/Parse-SDK-dotNET | LeanCloud.Core/Test/ObjectStateTests.cs | https://github.com/wujun4code/Parse-SDK-dotNET/blob/HEAD/LeanCloud.Core/Test/ObjectStateTests.cs | ghcode:00005:74113b9610a7 | bsd-3-clause | codeparrot/github-code | 74113b9610a7bbc354e12b47a5bbf67e51d1698be296f9cb0f5ca550ff5c5c48 | 0.85 | testing_debugging_repair_refactoring | 1,039 | false | 2026-07-17 |
using Xunit;
namespace NJsonSchema.Tests.Generation
{
public class ShouldSerializeTests
{
public class Test
{
public string Name { get; set; }
public bool ShouldSerializeName()
{
return !string.IsNullOrEmpty(Name);
}
}
... | NJsonSchema/NJsonSchema | src/NJsonSchema.Tests/Generation/ShouldSerializeTests.cs | https://github.com/NJsonSchema/NJsonSchema/blob/HEAD/src/NJsonSchema.Tests/Generation/ShouldSerializeTests.cs | ghcode:00005:609a07bd8472 | mit | codeparrot/github-code | 609a07bd8472153f387ddbbfbbc4418f4cfa393e26ea77599a792735e3e2eef1 | 0.85 | testing_debugging_repair_refactoring | 109 | false | 2026-07-17 |
using Xunit;
using static LanguageExt.Prelude;
namespace LanguageExt.Tests.Transformer.Traverse.OptionAsyncT.Collections
{
public class SeqOptionAsync
{
[Fact]
public async void EmptyIsSomeEmpty_Parallel()
{
var ma = Seq<OptionAsync<int>>();
var mb = ma.Sequence... | StanJav/language-ext | LanguageExt.Tests/Transformer/Traverse/OptionAsync/Collections/Seq.cs | https://github.com/StanJav/language-ext/blob/HEAD/LanguageExt.Tests/Transformer/Traverse/OptionAsync/Collections/Seq.cs | ghcode:00005:8a216099ac69 | mit | codeparrot/github-code | 8a216099ac69103e45c9208f99cf2abf1a1f0e2c96ef44bed6fc41ed673a58f2 | 0.6 | testing_debugging_repair_refactoring | 422 | false | 2026-07-17 |
namespace AdaptiveTriggerLibrary.UnitTestApp.Tests.ConditionModifierTests
{
using System;
using Windows.UI.ViewManagement;
using ConditionModifiers;
using ConditionModifiers.GenericModifiers;
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
[TestClass]
public class EqualsModifi... | Herdo/AdaptiveTriggerLibrary | AdaptiveTriggerLibrary.UnitTestApp/Tests/ConditionModifierTests/EqualsModifierTest.cs | https://github.com/Herdo/AdaptiveTriggerLibrary/blob/HEAD/AdaptiveTriggerLibrary.UnitTestApp/Tests/ConditionModifierTests/EqualsModifierTest.cs | ghcode:00005:c18aeedd0288 | mit | codeparrot/github-code | c18aeedd0288f87e9941614c7aedbd8ac3f60952ae518ff45a6aed8de5bec29c | 0.95 | testing_debugging_repair_refactoring | 408 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.