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 Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test... | CaptainHayashi/roslyn | src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_ISymbolInitializer.cs | https://github.com/CaptainHayashi/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_ISymbolInitializer.cs | ghcode:00165:eddb5c939a9d | apache-2.0 | codeparrot/github-code | eddb5c939a9d23386df9b5794662440f991ba2f04ba1d1f1964055b9485b930b | 0.95 | testing_debugging_repair_refactoring | 4,289 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Moq;
using NuGet;
using NuGetGallery.Packaging;
using Xunit;
namespace NuGetGallery.Commands
{
public class AutomaticallyCuratePackageCommandFacts
{
public class TestableAutomaticallyCuratePackageCommand : AutomaticallyCuratePack... | mtian/SiteExtensionGallery | tests/NuGetGallery.Facts/Commands/AutomaticallyCuratePackageCommandFacts.cs | https://github.com/mtian/SiteExtensionGallery/blob/HEAD/tests/NuGetGallery.Facts/Commands/AutomaticallyCuratePackageCommandFacts.cs | ghcode:00165:b771f24fa65b | apache-2.0 | codeparrot/github-code | b771f24fa65bf11986030ad8fd0523c220108940627d5958264e4bbc78eedd91 | 0.6 | testing_debugging_repair_refactoring | 374 | false | 2026-07-17 |
#region Copyright © 2006 Andy Johns. All rights reserved.
/*
Copyright © 2006 Andy Johns. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyrig... | jricke/msbuildtasks | Source/MSBuild.Community.Tasks.Tests/Solution/GetSolutionProjectsTest.cs | https://github.com/jricke/msbuildtasks/blob/HEAD/Source/MSBuild.Community.Tasks.Tests/Solution/GetSolutionProjectsTest.cs | ghcode:00165:d7762a42ce60 | bsd-2-clause | codeparrot/github-code | d7762a42ce60cae99728ea25295dfa9a7ce1ebb8edbc218b66ecef324c44b6bf | 0.63 | testing_debugging_repair_refactoring | 1,293 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="ODataNavigationLink.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//----------------------------------... | abkmr/odata.net | src/Microsoft.OData.Core/ODataNavigationLink.cs | https://github.com/abkmr/odata.net/blob/HEAD/src/Microsoft.OData.Core/ODataNavigationLink.cs | ghcode:00165:7e51466c2095 | mit | codeparrot/github-code | 7e51466c2095ebef288478b8c4964d7089536151bb234da025a25feced09108a | 0.85 | testing_debugging_repair_refactoring | 818 | false | 2026-07-17 |
using System.Xml;
using Xunit;
namespace XmlDocumentTests.XmlAttributeCollectionTests
{
public class RemoveTests
{
private XmlDocument CreateDocumentWithElement()
{
var doc = new XmlDocument();
doc.AppendChild(doc.CreateElement("root"));
return doc;
... | Winsto/corefx | src/System.Xml.XmlDocument/tests/XmlAttributeCollectionTests/RemoveTests.cs | https://github.com/Winsto/corefx/blob/HEAD/src/System.Xml.XmlDocument/tests/XmlAttributeCollectionTests/RemoveTests.cs | ghcode:00165:1209b1b2bb28 | mit | codeparrot/github-code | 1209b1b2bb28141b0233ab7d3d682f4e8854a18cc5e1d61b7cf07a520aa8c31d | 0.85 | testing_debugging_repair_refactoring | 693 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="NewRemoteActorSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyrig... | alexpantyukhin/akka.net | src/core/Akka.Remote.Tests.MultiNode/NewRemoteActorSpec.cs | https://github.com/alexpantyukhin/akka.net/blob/HEAD/src/core/Akka.Remote.Tests.MultiNode/NewRemoteActorSpec.cs | ghcode:00165:cee28aec5b78 | apache-2.0 | codeparrot/github-code | cee28aec5b785dd5463bde7165543a62ad2acb86947f4fddd2588a0eb4f807d0 | 0.85 | testing_debugging_repair_refactoring | 1,313 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.SharePoint.Client;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OfficeDevPnP.Core.Framework.ObjectHandlers;
using OfficeDevPnP.Core.Framework.Provisioning.Model;
using Office... | baldswede/PnP | OfficeDevPnP.Core/OfficeDevPnP.Core.Tests/Framework/ObjectHandlers/ObjectCustomActionsTests.cs | https://github.com/baldswede/PnP/blob/HEAD/OfficeDevPnP.Core/OfficeDevPnP.Core.Tests/Framework/ObjectHandlers/ObjectCustomActionsTests.cs | ghcode:00165:5e037d82ce73 | apache-2.0 | codeparrot/github-code | 5e037d82ce73efd29af31ec9928e8b229427ef15acdf33411846438c077ee6e4 | 0.75 | testing_debugging_repair_refactoring | 460 | 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.ObjectModel;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.S... | AlekseyTs/roslyn | src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/CSharpCompileResult.cs | https://github.com/AlekseyTs/roslyn/blob/HEAD/src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/CSharpCompileResult.cs | ghcode:00165:5928201feed5 | mit | codeparrot/github-code | 5928201feed5cd601052853436efcadfefa4d2242d73a5cef931b56792ba7d9f | 0.85 | testing_debugging_repair_refactoring | 217 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Text;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.Co... | bbarry/roslyn | src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/CSharpInstructionDecoder.cs | https://github.com/bbarry/roslyn/blob/HEAD/src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/CSharpInstructionDecoder.cs | ghcode:00165:578bcc742cb8 | apache-2.0 | codeparrot/github-code | 578bcc742cb80347ef1cdb82a504470b4f72a5b755e45ae57dd22c51b7c42f9a | 0.85 | testing_debugging_repair_refactoring | 1,273 | 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;
namespace System.IO.Compression
{
internal sealed class FastEncoderWindow
{
... | krytarowski/corefx | src/System.IO.Compression/src/System/IO/Compression/DeflateManaged/FastEncoderWindow.cs | https://github.com/krytarowski/corefx/blob/HEAD/src/System.IO.Compression/src/System/IO/Compression/DeflateManaged/FastEncoderWindow.cs | ghcode:00165:0a24ca8527a8 | mit | codeparrot/github-code | 0a24ca8527a82dcd090b43ebac6567cf870318800e83a4dd7890920442c2ab34 | 0.95 | testing_debugging_repair_refactoring | 3,607 | 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.
namespace ExtendedLocation.Tests.ScenarioTests
{
/// <summary>
/// Class that represents the Cluster
/// </summary>
public class CustomLocationTes... | Azure/azure-sdk-for-net | sdk/extendedlocation/Microsoft.Azure.Management.ExtendedLocation/tests/ScenarioTests/CustomLocationTestData.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/extendedlocation/Microsoft.Azure.Management.ExtendedLocation/tests/ScenarioTests/CustomLocationTestData.cs | ghcode:00165:9d52833cd4f0 | mit | codeparrot/github-code | 9d52833cd4f0052861a894f8600c1ba47f7821ba43c3154b164f9deaae2988cc | 0.95 | testing_debugging_repair_refactoring | 349 | false | 2026-07-17 |
using MongoCms.Data.Entity;
using MongoDB.Bson;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MongoCms.Data.Test.Entity
{
[TestFixture]
public class RentalTests : AssertionHelper
{
[Test]
... | nrock/MongoCms | Source/MongoCms.Data.Test/Entity/RentalTest.cs | https://github.com/nrock/MongoCms/blob/HEAD/Source/MongoCms.Data.Test/Entity/RentalTest.cs | ghcode:00165:61fec56bfe65 | mit | codeparrot/github-code | 61fec56bfe65d3b5bb045197fc2cb1e2e210aef35fe8daf595bfbd6cbcb9e7f8 | 0.6 | testing_debugging_repair_refactoring | 199 | false | 2026-07-17 |
#region Usings
using System;
using System.Globalization;
using FluentAssertions;
using Xunit;
#endregion
namespace Extend.Testing
{
public partial class ObjectExTest
{
[Fact]
public void ToInt64FormatProviderNullTest()
{
const Int64 expected = 666;
var value =... | DaveSenn/Extend | .Src/Extend.Testing/System.Object/Convert/Object.ToInt64.Test.cs | https://github.com/DaveSenn/Extend/blob/HEAD/.Src/Extend.Testing/System.Object/Convert/Object.ToInt64.Test.cs | ghcode:00165:a52c94cc6725 | mit | codeparrot/github-code | a52c94cc6725cf4604accc80d5103277a4a36b2ed5da1b7c1889286baa02004b | 0.85 | testing_debugging_repair_refactoring | 905 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using html = SudokuSolver.Repositories.Input.HTML;
namespace SudokuSolverTests.Repositories.Input.HTML
{
[TestFixture]
public class HTMLFakeTests
{
[Test]
[TestCase("http://show.websudoku.com/?level=3")]
public void HTMLFake_GetHTML_Success(stri... | Fraham/SudokuSolver | SudokuSolver/SudokuSolverTests/Repositories/Input/HTML/HTMLFakeTests.cs | https://github.com/Fraham/SudokuSolver/blob/HEAD/SudokuSolver/SudokuSolverTests/Repositories/Input/HTML/HTMLFakeTests.cs | ghcode:00165:98339e2014ab | mit | codeparrot/github-code | 98339e2014abb113f0c0171be23c2fb65055283629e3ebf37bb3efaa82ff7bad | 0.85 | testing_debugging_repair_refactoring | 265 | false | 2026-07-17 |
using IdSharp.Common.Events;
using NUnit.Framework;
namespace IdSharp.Common.Tests.Events
{
[TestFixture]
public class InvalidDataEventArgsTest
{
[Test]
public void Test_Ctors()
{
var x = new InvalidDataEventArgs("propertyName", "message");
Assert.AreEqual("... | judwhite/IdSharp | Tests/IdSharp.Common.Tests/Events/InvalidDataEventArgsTest.cs | https://github.com/judwhite/IdSharp/blob/HEAD/Tests/IdSharp.Common.Tests/Events/InvalidDataEventArgsTest.cs | ghcode:00165:4cb9be7a9bef | mit | codeparrot/github-code | 4cb9be7a9bef997f5f221f45e397561bf6e68bc7f05c6aec4eeaa71d4f88a1c2 | 0.6 | testing_debugging_repair_refactoring | 185 | 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/Contents/ContentChangedTriggerHandlerTests.cs | https://github.com/Squidex/squidex/blob/HEAD/backend/tests/Squidex.Domain.Apps.Entities.Tests/Contents/ContentChangedTriggerHandlerTests.cs | ghcode:00165:3e2ac24cdfea | mit | codeparrot/github-code | 3e2ac24cdfeaedb975119a957322c2feb5836b9cd63eae84ab4d2c6f24289b00 | 0.95 | testing_debugging_repair_refactoring | 2,905 | false | 2026-07-17 |
using Xunit;
namespace Microsoft.TemplateEngine.Cli.UnitTests
{
public class FileRenameTests : EndToEndTestBase
{
[Theory(DisplayName = nameof(VerifyTemplateContentRenames))]
[InlineData("TestAssets.TemplateWithRenames --foo baz", "FileRenamesTest.json")]
[InlineData("TestAssets.Templat... | mlorbetske/templating | test/Microsoft.TemplateEngine.Cli.UnitTests/FileRenameTests.cs | https://github.com/mlorbetske/templating/blob/HEAD/test/Microsoft.TemplateEngine.Cli.UnitTests/FileRenameTests.cs | ghcode:00165:1ce6e0966ab6 | mit | codeparrot/github-code | 1ce6e0966ab689c92e9abdd7a618405426ab0a850874a7130230b8acae228db3 | 0.75 | testing_debugging_repair_refactoring | 469 | false | 2026-07-17 |
namespace King.Mapper.Tests.Models
{
using System;
public class TestActionNames
{
[ActionName("MyIdentifier", ActionFlags.Execute)]
public int Id
{
get;
set;
}
[ActionName("CheckBandDude")]
public string Band
{
ge... | jefking/King.Mapper | King.Mapper.Tests/Unit/Models/TestActionNames.cs | https://github.com/jefking/King.Mapper/blob/HEAD/King.Mapper.Tests/Unit/Models/TestActionNames.cs | ghcode:00165:0a7e8769e159 | mit | codeparrot/github-code | 0a7e8769e159889619ad43cea62b3ace74670f63c7a467049856404dc1e4a75d | 0.75 | testing_debugging_repair_refactoring | 113 | false | 2026-07-17 |
//---------------------------------------------------------------------------
//
// File: HtmlFromXamlConverter.cs
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
// Description: Prototype for Xaml - Html conversion
//
//---------------------------------------------------------------------------
... | bzquan/GherkinEditor | GherkinEditor/GherkinEditor/Model/HtmlConverter/HtmlFromXamlConverter.cs | https://github.com/bzquan/GherkinEditor/blob/HEAD/GherkinEditor/GherkinEditor/Model/HtmlConverter/HtmlFromXamlConverter.cs | ghcode:00165:4fe3d0612746 | mit | codeparrot/github-code | 4fe3d0612746ffe96053838e9ac8a638ca3fe2bc444b5d200c9d60c797ab9b4b | 0.7 | testing_debugging_repair_refactoring | 3,886 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Azure.AI.TextAnalytics.Samples
{
public partial class TextAnalyticsSamples
{
[Test]
public void R... | Azure/azure-sdk-for-net | sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatchConvenience.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatchConvenience.cs | ghcode:00165:16f1370d3e8d | mit | codeparrot/github-code | 16f1370d3e8dc6482c8e1475eeaf8953e7cd361c2d11bcac24dc4a9ee9f13b23 | 0.95 | testing_debugging_repair_refactoring | 718 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Data.DbClient.Fluent.Enums;
using Data.DbClient.Fluent.Extensions;
using Data.DbClient.Fluent.Model;
using Data.DbClient.Fluent.Select;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json.Linq;
namespace BasicTests.Data
{
[TestClass]
... | JohnPKosh/IODataBlock | IODataBlock/BasicTests/Data/MsSqlQueryBuilderTests.cs | https://github.com/JohnPKosh/IODataBlock/blob/HEAD/IODataBlock/BasicTests/Data/MsSqlQueryBuilderTests.cs | ghcode:00165:81b61c77b85d | mit | codeparrot/github-code | 81b61c77b85d03997b99df5dba531f47fd40f667d6cc10a40b4ab669e27a51c2 | 0.85 | testing_debugging_repair_refactoring | 3,487 | false | 2026-07-17 |
using Autofac;
using Cogito.Autofac;
namespace Cogito.ServiceFabric.Test.Http.TestService
{
public class AssemblyModule : ModuleBase
{
protected override void Register(ContainerBuilder builder)
{
builder.RegisterFromAttributes(typeof(AssemblyModule).Assembly);
}
}
... | wasabii/Cogito.ServiceFabric | Cogito.ServiceFabric.Test.Http.TestService/AssemblyModule.cs | https://github.com/wasabii/Cogito.ServiceFabric/blob/HEAD/Cogito.ServiceFabric.Test.Http.TestService/AssemblyModule.cs | ghcode:00165:73a7a3cfe02e | mit | codeparrot/github-code | 73a7a3cfe02ef2ad514f8229aa6ba5499982b661adeb34084587561e126f33a2 | 0.75 | testing_debugging_repair_refactoring | 64 | false | 2026-07-17 |
using System.Collections.Generic;
using CsMerge.Core;
using CsMerge.Resolvers;
using Integration;
using LibGit2Sharp;
using NUnit.Framework;
using Reference = Project.Reference;
namespace PackagesMerge.Test {
[TestFixture]
public class GitMergeToolResolverTest {
[Test, Explicit]
public void Resolve... | configit-open-source/csmerge | PackagesMerge.Test/GitMergeToolResolverTest.cs | https://github.com/configit-open-source/csmerge/blob/HEAD/PackagesMerge.Test/GitMergeToolResolverTest.cs | ghcode:00165:fc030f88470f | mit | codeparrot/github-code | fc030f88470fe57e14c81f391c65657c669ff61d3e31f94cafaab73d780cd363 | 0.6 | testing_debugging_repair_refactoring | 512 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Duracellko.PlanningPoker.Client.Service;
using Duracellko.PlanningPoker.Service;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace Duracellko.PlanningPoker.Client.Test.Service
{
[Test... | duracellko/planningpoker4azure | test/Duracellko.PlanningPoker.Client.Test/Service/ServiceTimeProviderTest.cs | https://github.com/duracellko/planningpoker4azure/blob/HEAD/test/Duracellko.PlanningPoker.Client.Test/Service/ServiceTimeProviderTest.cs | ghcode:00165:89a03de84a64 | mit | codeparrot/github-code | 89a03de84a641030644794e2166ea2c78dfe68b8559a6dd3c13ae174319471f2 | 0.6 | testing_debugging_repair_refactoring | 1,980 | false | 2026-07-17 |
//
// ConstructorBuilderTest.cs - NUnit Test Cases for the ConstructorBuilder class
//
// Zoltan Varga (vargaz@freemail.hu)
//
// (C) Ximian, Inc. http://www.ximian.com
// TODO:
// - implement 'Signature' (what the hell it does???) and test it
// - implement Equals and test it
using System;
using Syste... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Reflection.Emit/ConstructorBuilderTest.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Reflection.Emit/ConstructorBuilderTest.cs | ghcode:00165:a7561cea19f6 | mit | codeparrot/github-code | a7561cea19f66ec1292a2c13546ca1fda51a43660be0a2aff369bd9af7e1c8dc | 0.95 | testing_debugging_repair_refactoring | 2,511 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Clif.Abstract;
using Moq;
using Xunit;
namespace Clif.Tests
{
public class DefaultCommandResolverTests
{
[Fact]
public void Should_resolve_command()
{
var mockCommand = new Mock<ICommand>();
var mockCommandCa... | rlgnak/Clif | test/Clif.Tests/DefaultCommandResolverTests.cs | https://github.com/rlgnak/Clif/blob/HEAD/test/Clif.Tests/DefaultCommandResolverTests.cs | ghcode:00165:aea0f80f1b07 | mit | codeparrot/github-code | aea0f80f1b07d8b9f2301637d4ff0412c360dcafa9b09b768306b2f857a7b051 | 0.75 | testing_debugging_repair_refactoring | 333 | 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/Backup/BackupCompatibilityTests.cs | https://github.com/Squidex/squidex/blob/HEAD/backend/tests/Squidex.Domain.Apps.Entities.Tests/Backup/BackupCompatibilityTests.cs | ghcode:00165:528a2379d81f | mit | codeparrot/github-code | 528a2379d81f8cdeae12193875796f444bedba9299d2bce113ee36ee4fdb18d0 | 0.95 | testing_debugging_repair_refactoring | 398 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using System;
using System.Collections.Generic;
namespace NUnit.Framework.Constraints
{
[TestFixture(TestOf = typeof(PropertyConstraint))]
public class PropertyConstraintTypeHierarchyTests
{
[Test]
p... | nunit/nunit | src/NUnitFramework/tests/Constraints/PropertyConstraintTypeHierarchyTests.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/tests/Constraints/PropertyConstraintTypeHierarchyTests.cs | ghcode:00165:d7c7e769db72 | mit | codeparrot/github-code | d7c7e769db72ac681b2caeddcfe8f05b88a63a7defad08fb82591b15126014e9 | 0.85 | testing_debugging_repair_refactoring | 674 | false | 2026-07-17 |
#region Licence
/* The MIT License (MIT)
Copyright © 2015 Ian Cooper <ian_hammond_cooper@yahoo.co.uk>
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 limita... | BrighterCommand/Brighter | tests/Paramore.Brighter.Core.Tests/CommandProcessors/When_Posting_A_Message_And_There_Is_No_Message_Store_Async.cs | https://github.com/BrighterCommand/Brighter/blob/HEAD/tests/Paramore.Brighter.Core.Tests/CommandProcessors/When_Posting_A_Message_And_There_Is_No_Message_Store_Async.cs | ghcode:00165:6005252f97b9 | mit | codeparrot/github-code | 6005252f97b9a805e9f2026bb08cf6a491e639d96c5b2c03668da5701458552b | 0.75 | testing_debugging_repair_refactoring | 659 | false | 2026-07-17 |
// Copyright (c) 2015 ZZZ Projects. All rights reserved
// Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
// Website: http://www.zzzprojects.com/
// Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927
// All ZZZ Projects products: Entity Framework ... | huoxudong125/Z.ExtensionMethods | test/Z.Reflection.Test/GetSignature/Method/ParamsParameterMethod.cs | https://github.com/huoxudong125/Z.ExtensionMethods/blob/HEAD/test/Z.Reflection.Test/GetSignature/Method/ParamsParameterMethod.cs | ghcode:00165:006114615aaf | mit | codeparrot/github-code | 006114615aafa0707030f0c595f7a452b1be4fa8fa147fcbea8d8cba4e51c610 | 0.7 | testing_debugging_repair_refactoring | 211 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace XperiCode.PluploadMvc.Tests
{
[TestClass]
public class CleanupFilesAttributeTests
{
// TODO
}
}
| mwijnands/PluploadMvc | PluploadMvc.Tests/CleanupFilesAttributeTests.cs | https://github.com/mwijnands/PluploadMvc/blob/HEAD/PluploadMvc.Tests/CleanupFilesAttributeTests.cs | ghcode:00165:a4169528724b | mit | codeparrot/github-code | a4169528724bf255fae716aa137f5a56880e9414a1de52c3c8eeea84e4b5c8c1 | 0.5 | testing_debugging_repair_refactoring | 40 | false | 2026-07-17 |
using System.Data;
using LanguageExt;
using Microsoft.Extensions.Configuration;
using NUnit.Framework;
using SJP.Schematic.Core;
using SJP.Schematic.Core.Extensions;
using SJP.Schematic.Tests.Utilities;
namespace SJP.Schematic.PostgreSql.Tests.Integration.Versions.V11
{
internal static class Config11
{
... | sjp/SJP.Schema | src/SJP.Schematic.PostgreSql.Tests/Integration/Versions/V11/PostgreSql11Test.cs | https://github.com/sjp/SJP.Schema/blob/HEAD/src/SJP.Schematic.PostgreSql.Tests/Integration/Versions/V11/PostgreSql11Test.cs | ghcode:00165:74740c642db6 | mit | codeparrot/github-code | 74740c642db6a04dbd2767a9f61bb844ab5accd9ba28b4561f9343e88835d03c | 0.75 | testing_debugging_repair_refactoring | 331 | false | 2026-07-17 |
using System;
using System.Net.Http;
using System.Threading.Tasks;
using NetFusion.Rest.Client;
using NetFusion.Rest.Client.Settings;
using NetFusion.Web.Mvc.Metadata;
using WebTests.Hosting;
using WebTests.Rest.ApiMetadata.Server;
using WebTests.Rest.Setup;
namespace WebTests.Rest.ApiMetadata.Setup
{
public stati... | grecosoft/NetFusion | netfusion/test/WebTests/Rest/ApiMetadata/Setup/TestWebHostSetup.cs | https://github.com/grecosoft/NetFusion/blob/HEAD/netfusion/test/WebTests/Rest/ApiMetadata/Setup/TestWebHostSetup.cs | ghcode:00165:9958b373fdd9 | mit | codeparrot/github-code | 9958b373fdd9546dcc7c1286e0fc4f0d887b79fcaef923dcd29c51c4b19fe428 | 0.95 | testing_debugging_repair_refactoring | 253 | false | 2026-07-17 |
using DNX.Helpers.Exceptions;
using NUnit.Framework;
using Shouldly;
namespace Test.DNX.Helpers.Exceptions
{
[TestFixture]
public class ConversionExceptionTests
{
[Test]
public void Test_ConversionException_constructor_value_message()
{
// Arrange
var value ... | martinsmith1968/DNX.Helpers | Test.DNX.Helpers/Exceptions/ConversionExceptionTests.cs | https://github.com/martinsmith1968/DNX.Helpers/blob/HEAD/Test.DNX.Helpers/Exceptions/ConversionExceptionTests.cs | ghcode:00165:891e728ca4ba | mit | codeparrot/github-code | 891e728ca4bab82eead763e665b20c414f71a93a0459c310441bfe676046d4b1 | 0.85 | testing_debugging_repair_refactoring | 246 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Gaucho.Forms.Core.FileSystem;
using Gaucho.Forms.Core.Services;
using Gaucho.Forms.iOS.Services;
using NUnit.Framework;
namespace Gaucho.Forms.iOS.UnitTests {
[TestFixture]
public class TestFileService {
private TestFileSystem _testFileSystem;
... | tboogh/Gaucho.Forms | UnitTests/Gaucho.Forms.iOS.UnitTests/TestFileService.cs | https://github.com/tboogh/Gaucho.Forms/blob/HEAD/UnitTests/Gaucho.Forms.iOS.UnitTests/TestFileService.cs | ghcode:00165:c61c9a21781f | mit | codeparrot/github-code | c61c9a21781f1db7a70f582b5713ea3a85d812987b5884bcb5e04fcc4221c6ee | 0.75 | testing_debugging_repair_refactoring | 1,154 | false | 2026-07-17 |
using System.Threading;
using System.Threading.Tasks;
using AutoFixture;
using MediatR;
using Moq;
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Application.Commands.ApproveCohort;
using SFA.DAS.CommitmentsV2.Domain.Interfaces;
namespace SFA.DAS.CommitmentsV2.UnitTests.Application.Commands
{
[TestFixture]
... | SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Application/Commands/ApproveCohortCommandHandlerTests.cs | https://github.com/SkillsFundingAgency/das-commitments/blob/HEAD/src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Application/Commands/ApproveCohortCommandHandlerTests.cs | ghcode:00165:50f82df596fd | mit | codeparrot/github-code | 50f82df596fd0a882a7f9763e71a799116a73c87eb68dbc47e8875944edca185 | 0.75 | testing_debugging_repair_refactoring | 363 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Manatee.Trello.Json;
using Manatee.Trello.Tests.Common;
using NUnit.Framework;
namespace Manatee.Trello.IntegrationTests
{
[TestFixture]
[Ignore("These tests are here for posterity, but the... | gregsdennis/Manatee.Trello | Manatee.Trello.IntegrationTests/ClientTestsOfAntiquity.cs | https://github.com/gregsdennis/Manatee.Trello/blob/HEAD/Manatee.Trello.IntegrationTests/ClientTestsOfAntiquity.cs | ghcode:00165:0512672ec895 | mit | codeparrot/github-code | 0512672ec895c7cde659b7fdbb8d4355af5520c303e2c231d9a31e42c05dbdfd | 0.85 | testing_debugging_repair_refactoring | 2,943 | false | 2026-07-17 |
using DnDGen.RollGen.Expressions;
using DnDGen.RollGen.PartialRolls;
using Moq;
using NUnit.Framework;
using System;
using System.Linq;
namespace DnDGen.RollGen.Tests.Unit.PartialRolls
{
[TestFixture]
public class DomainPartialRollTests
{
private PartialRoll partialRoll;
private Mock<Expre... | DnDGen/RollGen | DnDGen.RollGen.Tests.Unit/PartialRolls/DomainPartialRollTests.cs | https://github.com/DnDGen/RollGen/blob/HEAD/DnDGen.RollGen.Tests.Unit/PartialRolls/DomainPartialRollTests.cs | ghcode:00165:6c74f524ea91 | mit | codeparrot/github-code | 6c74f524ea915764ddda2917849e19261c053819efa043811338a97e16dba14f | 0.72 | testing_debugging_repair_refactoring | 28,616 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using CroquetAustralia.QueueProcessor.Email;
using CroquetAustralia.QueueProcessor.Email.EmailGenerators;
using CroquetAustralia.QueueProcessor.UnitTests.TestHelpers;
using FluentAssertions;
using Xunit;
namespace CroquetAustralia.QueueProcessor.UnitT... | croquet-australia/api.croquet-australia.com.au | tests/CroquetAustralia.QueueProcessor.UnitTests/ServiceProvider_Tests.cs | https://github.com/croquet-australia/api.croquet-australia.com.au/blob/HEAD/tests/CroquetAustralia.QueueProcessor.UnitTests/ServiceProvider_Tests.cs | ghcode:00165:1168ced3946e | mit | codeparrot/github-code | 1168ced3946ed2870b3a2906b200772d56a4a7873cfe9633e6a44efb6ca9e1bc | 0.75 | testing_debugging_repair_refactoring | 282 | false | 2026-07-17 |
//
// GenericIdentityTest.cs - NUnit Test Cases for GenericIdentity
//
// Author:
// Sebastien Pouliot (spouliot@motus.com)
//
// (C) 2003 Motus Technologies Inc. (http://www.motus.com)
//
using NUnit.Framework;
using System;
using System.Security.Principal;
namespace MonoTests.System.Security.Principal {
[TestFixt... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Security.Principal/GenericIdentityTest.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.Principal/GenericIdentityTest.cs | ghcode:00165:8edd36341a66 | mit | codeparrot/github-code | 8edd36341a6657a18e0114a7bb4016faf09670aaaadebee4133cce5913c1a007 | 0.95 | testing_debugging_repair_refactoring | 390 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace JoshuaKearney.Measurements.UnitTests {
public class VolumeTests {
[Fact]
public void TestInitialization() {
var a = Volume.Provider.Zero;
... | Blue0500/JoshuaKearney.Measurements | src/JoshuaKearney.Measurements.UnitTests/VolumeTests.cs | https://github.com/Blue0500/JoshuaKearney.Measurements/blob/HEAD/src/JoshuaKearney.Measurements.UnitTests/VolumeTests.cs | ghcode:00165:d7b9c3e79f9d | mit | codeparrot/github-code | d7b9c3e79f9dd756f8f80439df8d98c19eae210eb7f675e0538daf411f294720 | 0.75 | testing_debugging_repair_refactoring | 84 | false | 2026-07-17 |
using NUnit.Framework;
using DnDGen.TreasureGen.Coins;
using DnDGen.TreasureGen.Tables;
namespace DnDGen.TreasureGen.Tests.Integration.Tables.Coins
{
[TestFixture]
public class Level4CoinsTests : TypeAndAmountPercentileTests
{
protected override string tableName
{
get { return ... | DnDGen/TreasureGen | DnDGen.TreasureGen.Tests.Integration.Tables/Coins/Level4CoinsTests.cs | https://github.com/DnDGen/TreasureGen/blob/HEAD/DnDGen.TreasureGen.Tests.Integration.Tables/Coins/Level4CoinsTests.cs | ghcode:00165:b37d2cb1dd2d | mit | codeparrot/github-code | b37d2cb1dd2d707cad72095500261982fd63faa374ed48f3eab4183891fe328c | 0.75 | testing_debugging_repair_refactoring | 346 | false | 2026-07-17 |
using NUnit.Framework;
namespace Day09
{
[TestFixture]
public class DecompressorVersion1Tests
{
[Test]
public void NoMarkers_Test()
{
// 1. Arrange
const string input = "ADVENT";
// 2. Act
var decompressor = new DecompressorVersion1(... | SirCAS/Advent-of-Code-2016 | Day09/DotNet/DecompressorVersion1Test.cs | https://github.com/SirCAS/Advent-of-Code-2016/blob/HEAD/Day09/DotNet/DecompressorVersion1Test.cs | ghcode:00165:1a7a80dbea20 | mit | codeparrot/github-code | 1a7a80dbea20a63c08ea61299d28158b8535ae25d6c76cd584b22ac948f352f2 | 0.7 | testing_debugging_repair_refactoring | 562 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="RuntimeTypeInfoTest.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the pr... | quartz-software/kephas | src/Tests/Kephas.Core.Tests/Runtime/RuntimeTypeInfoTest.cs | https://github.com/quartz-software/kephas/blob/HEAD/src/Tests/Kephas.Core.Tests/Runtime/RuntimeTypeInfoTest.cs | ghcode:00165:1cbe0a3d7555 | mit | codeparrot/github-code | 1cbe0a3d75551372607633c03b5a8d23774abd8343ea81279a6bee3c7dcd899d | 0.95 | testing_debugging_repair_refactoring | 4,501 | 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.Core.Test/System.Enum/Enum.In.cs | https://github.com/zzzprojects/Z.ExtensionMethods/blob/HEAD/test/Z.Core.Test/System.Enum/Enum.In.cs | ghcode:00165:b6e42fd862b3 | mit | codeparrot/github-code | b6e42fd862b3325c895d07ff87113b3d65e20911f3324d6e534346f9a19b8269 | 0.7 | testing_debugging_repair_refactoring | 226 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nucleo.Web.Tags;
namespace Nucleo.Extensions
{
[TestClass]
public class TagElementExtensionsTest
{
[TestMethod]
public void AddingAttributesWorksOK()
{
var el =... | brianmains/Nucleo.NET | src/Nucleo.UnitTests.40.MS/Extensions/TagElementExtensionsTest.cs | https://github.com/brianmains/Nucleo.NET/blob/HEAD/src/Nucleo.UnitTests.40.MS/Extensions/TagElementExtensionsTest.cs | ghcode:00165:11133d5d54fe | mit | codeparrot/github-code | 11133d5d54fe5a3364dfa4733dd5fec3007482c4749bd710bd623cf60ecdcaf1 | 0.75 | testing_debugging_repair_refactoring | 310 | false | 2026-07-17 |
using System.IO;
using NUnit.Framework;
namespace SemanticVersionEnforcer.Tests
{
[SetUpFixture]
public class TestFixtureSetup
{
public const string TestDllDir = "TestData/AutoGen";
[SetUp]
public void RunBeforeAnyTests()
{
Directory.CreateD... | mcgin/SemanticVersionEnforcer | SemanticVersionEnforcer.Tests/TestFixtureSetup.cs | https://github.com/mcgin/SemanticVersionEnforcer/blob/HEAD/SemanticVersionEnforcer.Tests/TestFixtureSetup.cs | ghcode:00165:8aaf2b5bc90d | mit | codeparrot/github-code | 8aaf2b5bc90d15e8f7a2deac2b4869e959f61f3dac597de1a81e3bc52f9127e3 | 0.75 | testing_debugging_repair_refactoring | 98 | false | 2026-07-17 |
using NUnit.Framework;
namespace Cake.Hg.Tests
{
[TestFixture, Parallelizable(ParallelScope.Self)]
class HgExtensionsTests: RepositoryTestsBase
{
[Test]
public void Changeset_AllowsNavigateToParentRevision()
{
Repository.Init();
WriteTextAndCommit("ff.txt", ... | vCipher/Cake.Hg | src/Cake.Hg.Tests/HgExtensions.ChangesetTests.cs | https://github.com/vCipher/Cake.Hg/blob/HEAD/src/Cake.Hg.Tests/HgExtensions.ChangesetTests.cs | ghcode:00165:2c9d5c7ed8bc | mit | codeparrot/github-code | 2c9d5c7ed8bc91396fdaced6b01f2f9de6271a0b3aea561a763f2b3d02d829bc | 0.75 | testing_debugging_repair_refactoring | 161 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Solitaire.Lib.FunctionalModels.Stacks.Impl;
using System.Collections.Generic;
using Solitaire.Lib.Models;
namespace Solitaire.Lib.Tests.FunctionalModelsTest
{
[TestClass]
public class TableauTests
{
public TableauTests()
... | sebastian88/Solitaire | Tests/Solitaire.Lib.Tests/Solitaire.Lib.Tests/FunctionalModelsTest/TableauTests.cs | https://github.com/sebastian88/Solitaire/blob/HEAD/Tests/Solitaire.Lib.Tests/Solitaire.Lib.Tests/FunctionalModelsTest/TableauTests.cs | ghcode:00165:8a02f4799e26 | cc0-1.0 | codeparrot/github-code | 8a02f4799e26f9845c2560cc4aaf4d0826a6b55f25b2c872035ac26f84b92e4b | 0.68 | testing_debugging_repair_refactoring | 1,221 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using DotVVM.Framework.Runtime;
using DotVVM.Framework.Testing;
using DotVVM.Framework.ViewModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DotVVM.Framework.Tests.ViewModel
{
[TestClass]
public class ParameterBindingTests
... | riganti/dotvvm | src/Tests/ViewModel/ParameterBindingTests.cs | https://github.com/riganti/dotvvm/blob/HEAD/src/Tests/ViewModel/ParameterBindingTests.cs | ghcode:00165:3658b7d1894f | apache-2.0 | codeparrot/github-code | 3658b7d1894f7c54ead19fb20e83f14752b5b80a06a07c89d4b12f7c446fbf3a | 0.85 | testing_debugging_repair_refactoring | 988 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Deveel.Data.Serialization;
using Moq;
using Xunit;
namespace Deveel.Data.Sql.Statements {
public class NullStatementTests {
private IContext context;
public NullStatementTests() {
var mock = new Mock<IContext>();
context = mock.Object;
}
[Fact]
p... | deveel/deveeldb.core | test/DeveelDb.Core.Tests/Data/Sql/Statements/NullStatementTests.cs | https://github.com/deveel/deveeldb.core/blob/HEAD/test/DeveelDb.Core.Tests/Data/Sql/Statements/NullStatementTests.cs | ghcode:00165:fcb75fcf07bc | apache-2.0 | codeparrot/github-code | fcb75fcf07bc63090669734ffeada94c8994339cfdf6901fa77b7729eb48d160 | 0.75 | testing_debugging_repair_refactoring | 180 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace RazorPagesClassLibrary
{
/// <summary>
/// Empty Startup for testing a Startup... | aspnet/AspNetCore | src/Mvc/test/WebSites/RazorPagesClassLibrary/ClassLibraryStartup.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/WebSites/RazorPagesClassLibrary/ClassLibraryStartup.cs | ghcode:00165:ac4b177666b9 | apache-2.0 | codeparrot/github-code | ac4b177666b9c56e7e9133968304c6ac368b43b027cb5394635ad41eae19618e | 0.95 | testing_debugging_repair_refactoring | 104 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Orleankka.Features.Actor_behaviors
{
using Behaviors;
namespace Reusing_handlers_via_traits
{
[TestFixture]
class Tests
{
class X { }
class Y { }
c... | pkese/Orleankka | Source/Orleankka.Tests/Features/Actor_behaviors/Reusing_handlers_via_traits.cs | https://github.com/pkese/Orleankka/blob/HEAD/Source/Orleankka.Tests/Features/Actor_behaviors/Reusing_handlers_via_traits.cs | ghcode:00165:59c2161f141a | apache-2.0 | codeparrot/github-code | 59c2161f141ab385c760057ba67a558b94e13fb64211e6c35ad4a5789c942044 | 0.75 | testing_debugging_repair_refactoring | 292 | false | 2026-07-17 |
//
// FilteredEvent.cs
//
// Copyright (c) 2017 Couchbase, 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... | couchbase/couchbase-lite-net | src/Couchbase.Lite.Shared/Util/FilteredEvent.cs | https://github.com/couchbase/couchbase-lite-net/blob/HEAD/src/Couchbase.Lite.Shared/Util/FilteredEvent.cs | ghcode:00165:1f2f0de296a1 | apache-2.0 | codeparrot/github-code | 1f2f0de296a149484e00278c4a3be4fe1eefcef70c3ed1d56cb9cb22a48b8b1a | 0.85 | testing_debugging_repair_refactoring | 1,473 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace TypeProviderInCSharp
{
class ArtificalEventInfo : EventInfo
{
string _Name;
Type _DeclaringType;
pu... | chkn/fsharp | tests/fsharpqa/Source/TypeProviders/Generics/TestTP/ArtificalEventInfo.cs | https://github.com/chkn/fsharp/blob/HEAD/tests/fsharpqa/Source/TypeProviders/Generics/TestTP/ArtificalEventInfo.cs | ghcode:00165:6f75e3efff2a | apache-2.0 | codeparrot/github-code | 6f75e3efff2a2c88cb2bfc7f82cf0ec4f9c3ee75b64c97fcf1b6f703f80270df | 0.6 | testing_debugging_repair_refactoring | 442 | false | 2026-07-17 |
// -----------------------------------------------------------------------------------------
// <copyright file="BlobEncryptionTests.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in co... | MatthewSteeples/azure-storage-net | Test/ClassLibraryCommon/Blob/BlobEncryptionTests.cs | https://github.com/MatthewSteeples/azure-storage-net/blob/HEAD/Test/ClassLibraryCommon/Blob/BlobEncryptionTests.cs | ghcode:00165:2d479e33a937 | apache-2.0 | codeparrot/github-code | 2d479e33a937fd27954b636553bb6071ed1c186fde87d5f3cb816e76fe743af3 | 0.72 | testing_debugging_repair_refactoring | 12,543 | false | 2026-07-17 |
using NUnit.Framework;
namespace Google.GData.Client.UnitTests.Core
{
/// <summary>
///This is a test class for ServiceUnavailableExceptionTest and is intended
///to contain all ServiceUnavailableExceptionTest Unit Tests
///</summary>
[TestFixture]
[Category("CoreClient")]
public class Se... | jonny-novikov/google-gdata | src/unittests/core/ServiceUnavailableExceptionTest.cs | https://github.com/jonny-novikov/google-gdata/blob/HEAD/src/unittests/core/ServiceUnavailableExceptionTest.cs | ghcode:00165:d2bae122e28e | apache-2.0 | codeparrot/github-code | d2bae122e28e5cdfbd6b5cef0974567b8443b77b7c9d4ca7cebef2fcff46f4df | 0.85 | testing_debugging_repair_refactoring | 417 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TRL.Common.Data;
using TRL.Common.Extensions.Data;
using TRL.Common.Collections;
using TRL.Common.Models;
using System.Collections.Generic;
//using TRL.Common.Extensions;
using TRL.Emulation;
using TRL.Common;
using TRL.Logging;
namespace TRx.Han... | wouldyougo/TRx | TRx.Handlers.Test/StopLossOnBarTests.cs | https://github.com/wouldyougo/TRx/blob/HEAD/TRx.Handlers.Test/StopLossOnBarTests.cs | ghcode:00165:220d5e350740 | apache-2.0 | codeparrot/github-code | 220d5e3507405b68b11790024d2f22ec4e355e4048afa828fa1f32fa1e0650e3 | 0.75 | testing_debugging_repair_refactoring | 2,026 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TRL.Common.Data;
using TRL.Common.Models;
using TRL.Common.TimeHelpers;
using TRL.Common.Test;
namespace TRL.Transaction.Test
{
[TestClass]
public class ImportSignals... | wouldyougo/TRx | TRL.Common.Test/Transaction/ImportSignalsTransactionTests.cs | https://github.com/wouldyougo/TRx/blob/HEAD/TRL.Common.Test/Transaction/ImportSignalsTransactionTests.cs | ghcode:00165:6a9c62541469 | apache-2.0 | codeparrot/github-code | 6a9c625414693ed4684851440109f6f5d83fffd42fa86b44463f9a310907e68c | 0.75 | testing_debugging_repair_refactoring | 533 | false | 2026-07-17 |
using System;
using System.IO;
using NUnit.Framework;
namespace LessStupidPath.Unit.Tests
{
[TestFixture]
public class ExtensionTests
{
[Test]
[TestCase(@"c:\yourmum.txt", "txt" )]
[TestCase(@"c:\yourmum.TXT", "txt" )]
[TestCase(@"c:\yourmum.recent\something.exe", "exe" )]
[TestCase(@"/yourm... | i-e-b/LessStupidPath | src/LessSrupidPath.Unit.Tests/ExtensionTests.cs | https://github.com/i-e-b/LessStupidPath/blob/HEAD/src/LessSrupidPath.Unit.Tests/ExtensionTests.cs | ghcode:00166:fdd072b20469 | bsd-2-clause | codeparrot/github-code | fdd072b20469bf0d09a37f30d804521fb26f0e969227a3a1fc7d6d08ddc43d46 | 0.68 | testing_debugging_repair_refactoring | 310 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Specialized;
using Spark.Service;
using Hl7.Fhir.Support;
namespace SparkTests
{
[TestClass]
public class TestDotNetFeatures
{
[TestMet... | Ravenheart/spark | Spark.Tests/TestDotNetFeatures.cs | https://github.com/Ravenheart/spark/blob/HEAD/Spark.Tests/TestDotNetFeatures.cs | ghcode:00166:0b232d072e66 | bsd-3-clause | codeparrot/github-code | 0b232d072e664155784414acbc3c9eba006d52cb52941f71dc7969fc38d5eadd | 0.85 | testing_debugging_repair_refactoring | 552 | false | 2026-07-17 |
#region License
// Copyright (c) 2010-2019, Mark Final
// 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
// ... | markfinal/BuildAMation | tests/Test6/bam/Scripts/Test6.cs | https://github.com/markfinal/BuildAMation/blob/HEAD/tests/Test6/bam/Scripts/Test6.cs | ghcode:00166:ae4029169074 | bsd-3-clause | codeparrot/github-code | ae40291690746dab1c43204f917082edbf5324efe00f2526b51889f42710f46d | 0.85 | testing_debugging_repair_refactoring | 615 | false | 2026-07-17 |
//
// Copyright (c) 2004-2016 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// 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 s... | bjornbouetsmith/NLog | tests/NLog.UnitTests/Targets/FileTargetTests.cs | https://github.com/bjornbouetsmith/NLog/blob/HEAD/tests/NLog.UnitTests/Targets/FileTargetTests.cs | ghcode:00166:f069cad29098 | bsd-3-clause | codeparrot/github-code | f069cad2909870eb3fc63e294112a939c8e2696224541088b8333b93d7d54381 | 0.72 | testing_debugging_repair_refactoring | 22,032 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace Moq.Tests
{
public class ExtensionsFixture
{
#region Public Methods
[Fact]
public void IsMockeableReturnsFalseForValueType()
{
Assert.False(typeof(int).IsMo... | AhmedAssaf/moq4 | UnitTests/ExtensionsFixture.cs | https://github.com/AhmedAssaf/moq4/blob/HEAD/UnitTests/ExtensionsFixture.cs | ghcode:00166:7f09844d82ea | bsd-3-clause | codeparrot/github-code | 7f09844d82ea8a076c04346d71d059171ad95e40aad732ed585862cf870df5d0 | 0.6 | testing_debugging_repair_refactoring | 185 | false | 2026-07-17 |
// Copyright (c) André N. Klingsheim. See License.txt in the project root for license information.
using System;
using Moq;
using NWebsec.AspNetCore.Mvc.Csp.Internals;
using Xunit;
namespace NWebsec.AspNetCore.Mvc.Tests.Csp.Internals
{
public class CspPluginTypesAttributeBaseTests
{
[Fact]
p... | NWebsec/NWebsec | test/NWebsec.AspNetCore.Mvc.Tests/Csp/Internals/CspPluginTypesAttributeBaseTests.cs | https://github.com/NWebsec/NWebsec/blob/HEAD/test/NWebsec.AspNetCore.Mvc.Tests/Csp/Internals/CspPluginTypesAttributeBaseTests.cs | ghcode:00166:6d1fe00b3e89 | bsd-3-clause | codeparrot/github-code | 6d1fe00b3e89f301ccb54fd227f5ec972c33185d9eda9c36f154ad0a8917c45e | 0.75 | testing_debugging_repair_refactoring | 282 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using NiL.JS.BaseLibrary;
using NiL.JS.Core;
using NiL.JS.Core.Interop;
using NiL.JS.Extensions;
namespace NiL.JS.Expressions
{
#if !(PORTABLE || NETCORE)
[Serializable]
#endif
public sealed class MemberDe... | nilproject/NiL.JS | NiL.JS/Expressions/ClassDefinition.cs | https://github.com/nilproject/NiL.JS/blob/HEAD/NiL.JS/Expressions/ClassDefinition.cs | ghcode:00166:6e19a7e4b590 | bsd-3-clause | codeparrot/github-code | 6e19a7e4b590abf4ce64e407bc56f4f361f6af449dcf7af247a71eaf8e8e255b | 0.75 | testing_debugging_repair_refactoring | 4,590 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Vertica.Utilities.Tests
{
[TestFixture]
public class EnumeratedTester
{
#region subjects
class EnumeratedSubject : Enumerated<EnumeratedSubject>
{
private EnumeratedSubject(string name) : base(name) { }
public static readonly EnumeratedSubject One = new ... | vertica-as/Vertica.Utilities | src/Vertica.Utilities.Tests/EnumeratedTester.cs | https://github.com/vertica-as/Vertica.Utilities/blob/HEAD/src/Vertica.Utilities.Tests/EnumeratedTester.cs | ghcode:00166:7eb4a4b4774c | bsd-3-clause | codeparrot/github-code | 7eb4a4b4774cd3ecd96210e8a95a973c6027bc2cce5c4e311f202533b0757421 | 0.6 | testing_debugging_repair_refactoring | 834 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
using UnityTest.IntegrationTests;
namespace UnityTest
{
public static partial class Batch
{
private const string testScenesParam = "-testscenes=";
... | jenkinsci/unity3d-plugin | src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testExpectADifferentExitCode/jobs/test_unity3d/workspace/Assets/UnityTestTools/IntegrationTestsFramework/TestRunner/Editor/Batch.cs | https://github.com/jenkinsci/unity3d-plugin/blob/HEAD/src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testExpectADifferentExitCode/jobs/test_unity3d/workspace/Assets/UnityTestTools/IntegrationTestsFramework/TestRunner/Editor/Batch.cs | ghcode:00166:cce4e4f2c13a | mit | codeparrot/github-code | cce4e4f2c13a23fadb9da9574436119e3f1b425e7c75289755b4b1da687de953 | 0.85 | testing_debugging_repair_refactoring | 1,092 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2014-2017, Institute for Software & Systems Engineering
//
// 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 wi... | maul-esel/ssharp | SafetySharpTests/Serialization/Compaction/two bytes.cs | https://github.com/maul-esel/ssharp/blob/HEAD/SafetySharpTests/Serialization/Compaction/two bytes.cs | ghcode:00166:ecef3b63039c | mit | codeparrot/github-code | ecef3b63039ce11b9d3969ec8768aa45a441e424cbffeba656c6f7cf81d48b1e | 0.85 | testing_debugging_repair_refactoring | 450 | 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.Net.Http.Headers;
using Xunit;
namespace System.Net.Http.Unit.Tests
{
public class RangeItemHeaderValueTest
{
... | shiftkey-tester/corefx | src/System.Net.Http/tests/UnitTests/Headers/RangeItemHeaderValueTest.cs | https://github.com/shiftkey-tester/corefx/blob/HEAD/src/System.Net.Http/tests/UnitTests/Headers/RangeItemHeaderValueTest.cs | ghcode:00166:7d51a89ef20c | mit | codeparrot/github-code | 7d51a89ef20c8158bcdd0cd9508fbe6c4441e3351badbf307ac3beaa9d79df56 | 0.95 | testing_debugging_repair_refactoring | 2,257 | false | 2026-07-17 |
using ExactOnline.Client.Models.CRM;
using ExactOnline.Client.Models.Financial;
using ExactOnline.Client.Models.SalesInvoice;
using ExactOnline.Client.Sdk.Controllers;
using ExactOnline.Client.Sdk.Helpers;
using ExactOnline.Client.Sdk.Interfaces;
using ExactOnline.Client.Sdk.UnitTests.MockObjects;
using Microsoft.Visu... | exactonline/exactonline-api-dotnet-client | test/ExactOnline.Client.Sdk.UnitTests/ControllerTest.cs | https://github.com/exactonline/exactonline-api-dotnet-client/blob/HEAD/test/ExactOnline.Client.Sdk.UnitTests/ControllerTest.cs | ghcode:00166:f40a509fe031 | mit | codeparrot/github-code | f40a509fe03194d18b55ed72cd519816fe4fcf1cedb2bf63efe21ad74f0bf8db | 0.7 | testing_debugging_repair_refactoring | 1,626 | false | 2026-07-17 |
// Copyright (c) Aspose 2002-2021. All Rights Reserved.
using Aspose.Words;
using NUnit.Framework;
namespace AsposeWordsVSOpenXML.AsposeWords_features
{
[TestFixture]
public class RemoveSectionBreaks : TestUtil
{
[Test]
public void RemoveAllSectionBreaks()
{
Document d... | asposewords/Aspose_Words_NET | Plugins/Aspose.Words Vs OpenXML Words/Aspose.Words VS OpenXML/AsposeWords/AsposeWords features/Remove section breaks.cs | https://github.com/asposewords/Aspose_Words_NET/blob/HEAD/Plugins/Aspose.Words Vs OpenXML Words/Aspose.Words VS OpenXML/AsposeWords/AsposeWords features/Remove section breaks.cs | ghcode:00166:632a34175f1f | mit | codeparrot/github-code | 632a34175f1f1de275cc03ccab7f58ebfe981a30d0f5a64f9c539f3c4003d65f | 0.7 | testing_debugging_repair_refactoring | 194 | false | 2026-07-17 |
using NUnit.Framework;
using Semver;
namespace UnityEditor.PackageManager.UI.Tests
{
internal class PackageInfoTests : PackageBaseTests
{
[Test]
public void HasTag_WhenPreReleasePackageVersionTagWithPreReleaseName_ReturnsTrue()
{
var tag = PackageTag.preview.ToString();
... | JackToaster/ToasterSim | ToasterSimVr/Library/PackageCache/com.unity.package-manager-ui@2.0.3/Tests/Editor/Services/Packages/PackageInfoTests.cs | https://github.com/JackToaster/ToasterSim/blob/HEAD/ToasterSimVr/Library/PackageCache/com.unity.package-manager-ui@2.0.3/Tests/Editor/Services/Packages/PackageInfoTests.cs | ghcode:00166:111969a7fc40 | mit | codeparrot/github-code | 111969a7fc409067c691480a198f66cd5b94a2e2813d1f0121fdba69bf8b1970 | 0.85 | testing_debugging_repair_refactoring | 356 | false | 2026-07-17 |
using System.Linq;
using GraphQL.Language.AST;
using GraphQL.SystemTextJson;
using GraphQL.Types;
using Shouldly;
using Xunit;
namespace GraphQL.Tests.Bugs
{
public class Issue1874 : QueryTestBase<Issue1874Schema>
{
[Fact]
public void byte_array_should_work()
{
var query = @... | graphql-dotnet/graphql-dotnet | src/GraphQL.Tests/Bugs/Issue1874.cs | https://github.com/graphql-dotnet/graphql-dotnet/blob/HEAD/src/GraphQL.Tests/Bugs/Issue1874.cs | ghcode:00166:bfe953ccfd0a | mit | codeparrot/github-code | bfe953ccfd0a0ff9ab803626c3af21a654e15afc5200869ddaadaace64006c1f | 0.75 | testing_debugging_repair_refactoring | 1,066 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using JetBrains.Annotatio... | ppy/osu | osu.Game.Tests/Online/TestSceneOnlinePlayBeatmapAvailabilityTracker.cs | https://github.com/ppy/osu/blob/HEAD/osu.Game.Tests/Online/TestSceneOnlinePlayBeatmapAvailabilityTracker.cs | ghcode:00166:1ac50e3884db | mit | codeparrot/github-code | 1ac50e3884db31239985781134cca08ce8b6d354477e178f3658075c0f0ac340 | 0.75 | testing_debugging_repair_refactoring | 2,255 | false | 2026-07-17 |
using System;
namespace ExpressMapper.Tests.Model.Models
{
public class Size
{
public Guid Id { get; set; }
public string Name { get; set; }
public string Alias { get; set; }
public int? NotNullable { get; set; }
public int Nullable { get; set; }
public int ... | Excommunicated/ExpressMapper | ExpressMapper.Tests.Model/Models/Size.cs | https://github.com/Excommunicated/ExpressMapper/blob/HEAD/ExpressMapper.Tests.Model/Models/Size.cs | ghcode:00166:c8913f04cf92 | apache-2.0 | codeparrot/github-code | c8913f04cf929b388cbf952f821202a0eb3179b0384e072dca2f8450004e2b00 | 0.75 | testing_debugging_repair_refactoring | 95 | false | 2026-07-17 |
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//... | DinoV/PTVS | Python/Product/Analyzer/Intellisense/OutOfProcMethodExtractor.cs | https://github.com/DinoV/PTVS/blob/HEAD/Python/Product/Analyzer/Intellisense/OutOfProcMethodExtractor.cs | ghcode:00166:c50418b45983 | apache-2.0 | codeparrot/github-code | c50418b45983c049222b35ec4360925a669797b77b2e31d0970762a2d654975d | 0.85 | testing_debugging_repair_refactoring | 5,306 | 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;
using System.Collections.Generic;
using Xunit;
namespace Analyzer.Utilities.Extensions
{
public class IEnumerabl... | mavasani/roslyn-analyzers | src/Utilities.UnitTests/Extensions/IEnumerableExensionsTests.cs | https://github.com/mavasani/roslyn-analyzers/blob/HEAD/src/Utilities.UnitTests/Extensions/IEnumerableExensionsTests.cs | ghcode:00166:7847a059a71a | apache-2.0 | codeparrot/github-code | 7847a059a71a9f9062c1d412ac8e40a661c85ba87f645d04d41cfb2852453997 | 0.85 | testing_debugging_repair_refactoring | 1,092 | 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.Composition;
using Microsoft.CodeAnalysis.Formatting.Rules;
using Microsoft.CodeAnalysis.Host;
u... | aelij/roslyn | src/EditorFeatures/TestUtilities/Workspaces/TestFormattingRuleFactoryServiceFactory.cs | https://github.com/aelij/roslyn/blob/HEAD/src/EditorFeatures/TestUtilities/Workspaces/TestFormattingRuleFactoryServiceFactory.cs | ghcode:00166:90948cc25282 | apache-2.0 | codeparrot/github-code | 90948cc25282b4bb9adca5c346d7c8847a17ebff59040f308ea3ed5fd0d707ed | 0.75 | testing_debugging_repair_refactoring | 372 | 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"); yo... | Anomalous-Software/Lucene.NET | src/core/Index/FreqProxTermsWriter.cs | https://github.com/Anomalous-Software/Lucene.NET/blob/HEAD/src/core/Index/FreqProxTermsWriter.cs | ghcode:00166:a9cd63896ceb | apache-2.0 | codeparrot/github-code | a9cd63896ceb35405123af779c0cc66a775a477dfd083bd599cb80254a1d3b74 | 0.85 | testing_debugging_repair_refactoring | 2,432 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Biggy;
using Biggy.SqlCe;
namespace Biggy.SqlCe.Tests {
[Trait("Biggy List with SQL Server", "")]
public class BiggyListWithSQL
{
string _connectionStringName = "chinook";
... | OdeToCode/biggy | Biggy.SqlCe.Tests/BiggyListWithSQL.cs | https://github.com/OdeToCode/biggy/blob/HEAD/Biggy.SqlCe.Tests/BiggyListWithSQL.cs | ghcode:00166:2ab5afa97eb1 | bsd-3-clause | codeparrot/github-code | 2ab5afa97eb16c9d655c29b751fe5446b6611e366d0603a3e4d1600d555c8a43 | 0.7 | testing_debugging_repair_refactoring | 1,425 | false | 2026-07-17 |
/*
Copyright © 2002, The KPD-Team
All rights reserved.
http://www.mentalis.org/
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
... | titanium007/Titanium | src/Titanium.Web.Proxy/ProxySocket/Socks4Handler.cs | https://github.com/titanium007/Titanium/blob/HEAD/src/Titanium.Web.Proxy/ProxySocket/Socks4Handler.cs | ghcode:00166:8eb41b5961e0 | mit | codeparrot/github-code | 8eb41b5961e0469ae0dd8acdffa417de16ca1bf600bacda575065d68a04a2b71 | 0.85 | testing_debugging_repair_refactoring | 2,710 | false | 2026-07-17 |
using NUnit.Framework;
using Rhino.Mocks;
using Shouldly;
using StructureMap.Building;
using StructureMap.Building.Interception;
using StructureMap.Diagnostics;
using StructureMap.Testing.Pipeline;
namespace StructureMap.Testing.Building.Interception
{
[TestFixture]
public class InterceptionPlanTes... | NightOwl888/structuremap | src/StructureMap.Testing/Building/Interception/InterceptionPlanTester.cs | https://github.com/NightOwl888/structuremap/blob/HEAD/src/StructureMap.Testing/Building/Interception/InterceptionPlanTester.cs | ghcode:00166:5e639e1c28ee | apache-2.0 | codeparrot/github-code | 5e639e1c28ee772f79f48057aa2e7f1ce783c2a0d6244f977353c9793a4785bb | 0.75 | testing_debugging_repair_refactoring | 2,131 | 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;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace Microsoft.Build.Shared
{
/// <summary>
/// ... | mono/msbuild | src/Shared/QuotingUtilities.cs | https://github.com/mono/msbuild/blob/HEAD/src/Shared/QuotingUtilities.cs | ghcode:00166:c12ec6001080 | mit | codeparrot/github-code | c12ec6001080002ffd89af09ed29f0e975584b0266324ffc079cd4ed071334c6 | 0.85 | testing_debugging_repair_refactoring | 1,906 | false | 2026-07-17 |
#region Copyright
//
// DotNetNuke® - http://www.dnnsoftware.com
// Copyright (c) 2002-2018
// by DNN 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 restriction, i... | RichardHowells/Dnn.Platform | DNN Platform/Tests/DotNetNuke.Tests.Core/Entities/Tabs/TabControllerTests.cs | https://github.com/RichardHowells/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DotNetNuke.Tests.Core/Entities/Tabs/TabControllerTests.cs | ghcode:00166:8004c30427ab | mit | codeparrot/github-code | 8004c30427abfaeccffdcfb4735c0bd8d2d443190b4ddb0f3f8f33d676d884ee | 0.95 | testing_debugging_repair_refactoring | 858 | false | 2026-07-17 |
using System;
using System.Threading;
using Akka.Actor;
using Akka.Event;
using Akka.TestKit.NUnit;
using NUnit.Framework;
namespace TestKitSample.Examples
{
class Lifecycle
{
public class InvalidData { }
public class InvalidDataException : Exception { }
/// <summary>
/// Acto... | petabridge/akkadotnet-code-samples | TestKit/src/Examples/Lifecycle.cs | https://github.com/petabridge/akkadotnet-code-samples/blob/HEAD/TestKit/src/Examples/Lifecycle.cs | ghcode:00166:5d5f8c8ee47c | apache-2.0 | codeparrot/github-code | 5d5f8c8ee47ce8c03a1b19f7298a1060f78a69fb3e367daa3eb15190025cad7a | 0.8 | testing_debugging_repair_refactoring | 378 | 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.IO;
using System.Security.Authentication;
using System.Security.Authentication.ExtendedProtection;
usin... | Ermiar/corefx | src/System.Net.Security/tests/UnitTests/Fakes/FakeSslState.cs | https://github.com/Ermiar/corefx/blob/HEAD/src/System.Net.Security/tests/UnitTests/Fakes/FakeSslState.cs | ghcode:00166:9b5fa6eff140 | mit | codeparrot/github-code | 9b5fa6eff140f16da2218bb5abb5c72fba12a06ba394a69546bd495169b09189 | 0.95 | testing_debugging_repair_refactoring | 1,229 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading;
using Microsoft.Code... | DavidKarlas/roslyn | src/ExpressionEvaluator/CSharp/Test/ExpressionCompiler/ExpressionCompilerTests.cs | https://github.com/DavidKarlas/roslyn/blob/HEAD/src/ExpressionEvaluator/CSharp/Test/ExpressionCompiler/ExpressionCompilerTests.cs | ghcode:00166:58ee958ba67c | apache-2.0 | codeparrot/github-code | 58ee958ba67c7aba9c556863f8329aef6e86b0b5a1b69e16d73223f8c6ec7e21 | 0.75 | testing_debugging_repair_refactoring | 49,831 | 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.
namespace EventHub.Tests.ScenarioTests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.T... | ayeletshpigelman/azure-sdk-for-net | sdk/eventhub/Microsoft.Azure.Management.EventHub/tests/Tests/ScenarioTests.DedicatedClusters.CRUD.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/eventhub/Microsoft.Azure.Management.EventHub/tests/Tests/ScenarioTests.DedicatedClusters.CRUD.cs | ghcode:00166:9f929c012830 | mit | codeparrot/github-code | 9f929c0128304966180c4bdfcc823a2c870df421e422cc1e2f07b4998da4b03c | 0.95 | testing_debugging_repair_refactoring | 578 | 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.Net.Sockets;
using System.Net.Test.Common;
using System.Net.Tests;
us... | Priya91/corefx-1 | src/System.Net.Security/tests/FunctionalTests/ServerAsyncAuthenticateTest.cs | https://github.com/Priya91/corefx-1/blob/HEAD/src/System.Net.Security/tests/FunctionalTests/ServerAsyncAuthenticateTest.cs | ghcode:00166:74c4158f2541 | mit | codeparrot/github-code | 74c4158f2541b609109a5c56a36d706becb4476872b8102b0b1d8ee96600f0d8 | 0.95 | testing_debugging_repair_refactoring | 1,527 | false | 2026-07-17 |
// ------------------------------------------------------------------------------
// Copyright (c) 2014 Microsoft 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 ... | nachmore/unBand | src/Microsoft.Live.Desktop/Common/UnitTests/Stubs/TestWebRequestFactory.cs | https://github.com/nachmore/unBand/blob/HEAD/src/Microsoft.Live.Desktop/Common/UnitTests/Stubs/TestWebRequestFactory.cs | ghcode:00166:2bb2f3e1ef0e | mit | codeparrot/github-code | 2bb2f3e1ef0e82afb815d7c7e7c3d36076316b10136b9dc953097fa53a6b058b | 0.85 | testing_debugging_repair_refactoring | 326 | 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;
using System.Reflection;
using Roslyn.Utilities;
namespace Microsoft.CodeA... | jmarolf/roslyn | src/Scripting/Core/Hosting/AssemblyLoader/AssemblyAndLocation.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Scripting/Core/Hosting/AssemblyLoader/AssemblyAndLocation.cs | ghcode:00166:a0aca8331ace | mit | codeparrot/github-code | a0aca8331ace85b951c9516ca5b62e3db6fe94cf0e9d9ebf3c1e23dff73b78c5 | 0.85 | testing_debugging_repair_refactoring | 279 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
#if !OLD_MSTEST
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
#else
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endif
namespace FluentAssertions.Specs
{
[TestClass]
... | msackton/FluentAssertions | Tests/FluentAssertions.Shared.Specs/DictionaryEquivalencySpecs.cs | https://github.com/msackton/FluentAssertions/blob/HEAD/Tests/FluentAssertions.Shared.Specs/DictionaryEquivalencySpecs.cs | ghcode:00166:34acd3cc5590 | apache-2.0 | codeparrot/github-code | 34acd3cc5590f4c4a1c60c6c29b92db721374118a15d3bfe8729f67832ae2105 | 0.7 | testing_debugging_repair_refactoring | 5,659 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
using Object = UnityEngine.Object;
namespace UnityTest
{
[CanEditMultipleObjects]
[CustomEditor(typeof(TestComponent))]
public class TestComponentEditor : Editor
{
private SerializedProperty... | SavantCat/UNODE | unodeV1.1/Assets/UnityTestTools/IntegrationTestsFramework/TestRunner/Editor/TestComponentEditor.cs | https://github.com/SavantCat/UNODE/blob/HEAD/unodeV1.1/Assets/UnityTestTools/IntegrationTestsFramework/TestRunner/Editor/TestComponentEditor.cs | ghcode:00166:a85c4d0db1ad | mit | codeparrot/github-code | a85c4d0db1ad66d2639ba6365cdb649df5720138941f67a11f8b18a23c15d1bb | 0.75 | testing_debugging_repair_refactoring | 1,054 | false | 2026-07-17 |
// -----------------------------------------------------------------------------------------
// <copyright file="TestBase.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance wi... | sandorfr/azure-storage-net | Test/AspNet/Microsoft.WindowsAzure.Storage.Test/TestBase.cs | https://github.com/sandorfr/azure-storage-net/blob/HEAD/Test/AspNet/Microsoft.WindowsAzure.Storage.Test/TestBase.cs | ghcode:00166:abd58addfddc | apache-2.0 | codeparrot/github-code | abd58addfddc69f41c435c3f9d79d57f8094f84511046bc10294b17f164a4199 | 0.85 | testing_debugging_repair_refactoring | 306 | 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.Collections.Generic;
using System.Collections.Immutable;
using... | AmadeusW/roslyn | src/Workspaces/Core/Portable/Options/SerializableOptionSet.cs | https://github.com/AmadeusW/roslyn/blob/HEAD/src/Workspaces/Core/Portable/Options/SerializableOptionSet.cs | ghcode:00166:05542cdd8781 | apache-2.0 | codeparrot/github-code | 05542cdd8781b0f079aeb1ccf79b33d82b389cf464569fbce5bb70b812f30679 | 0.85 | testing_debugging_repair_refactoring | 3,390 | false | 2026-07-17 |
using Xunit;
namespace Jint.Tests.Ecma
{
public class Test_15_10_2_8 : EcmaTest
{
[Fact]
[Trait("Category", "15.10.2.8")]
public void TheFormDisjunctionSpecifiesAZeroWidthPositiveLookaheadInOrderForItToSucceedThePatternInsideDisjunctionMustMatchAtTheCurrentPositionButTheCurrentPositionI... | mgentile/jint | Jint.Tests.Ecma/Ecma/15.10.2.8.cs | https://github.com/mgentile/jint/blob/HEAD/Jint.Tests.Ecma/Ecma/15.10.2.8.cs | ghcode:00166:bf85a32e76e1 | bsd-2-clause | codeparrot/github-code | bf85a32e76e15eddb75b5dac279b97fe173a30138fa0c35ddf46cd6955039a4c | 0.68 | testing_debugging_repair_refactoring | 8,244 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Threading;
usin... | mafiya69/corefx | src/System.Reflection.Emit/tests/PropertyBuilder/PropertyBuilderSetCustomAttribute1.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/System.Reflection.Emit/tests/PropertyBuilder/PropertyBuilderSetCustomAttribute1.cs | ghcode:00166:f14bdf796517 | mit | codeparrot/github-code | f14bdf796517b949ed2103518751709ebe00e22900823e7704156fdb39c2e893 | 0.95 | testing_debugging_repair_refactoring | 1,220 | 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 Xunit;
namespace System.Text.Tests
{
public class EncodingUnicode
{
#region Positive Test Cases
// PosTest1: Verify property Unicode
... | comdiv/corefx | src/System.Text.Encoding/tests/Encoding/EncodingUnicode.cs | https://github.com/comdiv/corefx/blob/HEAD/src/System.Text.Encoding/tests/Encoding/EncodingUnicode.cs | ghcode:00166:90a9acd1831f | mit | codeparrot/github-code | 90a9acd1831f271232f5946be596215df45267181e08f908fc11ee240028154f | 0.95 | testing_debugging_repair_refactoring | 98 | 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 Microsoft.CodeAnalysis.Syntax.InternalSyntax
{
internal clas... | AlekseyTs/roslyn | src/Compilers/Core/Portable/Syntax/InternalSyntax/SyntaxListBuilder.cs | https://github.com/AlekseyTs/roslyn/blob/HEAD/src/Compilers/Core/Portable/Syntax/InternalSyntax/SyntaxListBuilder.cs | ghcode:00166:24291555f857 | mit | codeparrot/github-code | 24291555f8576161e482a879aa05c2a72cfd80b0fbdd729233ca83d23a0ff6a3 | 0.85 | testing_debugging_repair_refactoring | 1,112 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.