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 Microsoft.VisualStudio.TestTools.UnitTesting;
using ArkNet.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ArkNet.Utils.Enum;
using ArkNet.Model.Account;
using ArkNet.Model.Delegate;
using ArkNet.Model.Block;
using ArkNet.Utils;
u... | kristjank/ark-net | ark-netTests/Service/Block/BlockServiceTestsBase.cs | https://github.com/kristjank/ark-net/blob/HEAD/ark-netTests/Service/Block/BlockServiceTestsBase.cs | ghcode:00173:dbe1cc3c2fdc | mit | codeparrot/github-code | dbe1cc3c2fdc0306358b2633a082d59208ebaff32524bad2ef30db97b326d8ef | 0.75 | testing_debugging_repair_refactoring | 715 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using Newtonsoft.Json;
using Newtonsoft.Json.Schema;
using Roslyn.Compilers.CSharp;
using TerrificNet.Test.Common;
using TerrificNet.ViewEngine;
using Xunit;
namespace TerrificNet.Generator.Test
{
public class JsonSchemaCodeG... | TerrificNet/TerrificNet | TerrificNet.Generator.Test/JsonSchemaCodeGeneratorTest.cs | https://github.com/TerrificNet/TerrificNet/blob/HEAD/TerrificNet.Generator.Test/JsonSchemaCodeGeneratorTest.cs | ghcode:00173:2bbe0254165f | mit | codeparrot/github-code | 2bbe0254165f418a5882f40193e4b456ac72d43ae514c77063158e73afdac960 | 0.75 | testing_debugging_repair_refactoring | 1,112 | false | 2026-07-17 |
#pragma warning disable CS1720 // Expression will always cause a System.NullReferenceException because the type's default value is null
#pragma warning disable xUnit1013 // Public method should be marked as test
using Xunit;
using MonoMod.RuntimeDetour;
using System;
using System.Reflection;
using System.Runtime.Comp... | AngelDE98/MonoMod | MonoMod.UnitTest/RuntimeDetour/JitHookRegressionTest.cs | https://github.com/AngelDE98/MonoMod/blob/HEAD/MonoMod.UnitTest/RuntimeDetour/JitHookRegressionTest.cs | ghcode:00173:16e5c3f17bba | mit | codeparrot/github-code | 16e5c3f17bba243fce93c4208a8dece83da7717f35829963cea1e117bfa602f9 | 0.7 | testing_debugging_repair_refactoring | 624 | false | 2026-07-17 |
using NUnit.Framework;
namespace XunitContrib.Runner.ReSharper.Tests.AcceptanceTests.Runner
{
[TestFixture("xunit1", Category = "xunit1")]
[TestFixture("xunit2", Category = "xunit2")]
public class OrderedFactGoldTests : XunitTaskRunnerTestBase
{
public OrderedFactGoldTests(string environmentId)... | derigel23/resharper-xunit | resharper/test/src/tests/AcceptanceTests/Runner/OrderedFactGoldTests.cs | https://github.com/derigel23/resharper-xunit/blob/HEAD/resharper/test/src/tests/AcceptanceTests/Runner/OrderedFactGoldTests.cs | ghcode:00173:fa4e418189df | apache-2.0 | codeparrot/github-code | fa4e418189df2799c24b97b292b29ef0787f1ab01d4bf81596b36fceb630ee8b | 0.85 | testing_debugging_repair_refactoring | 443 | false | 2026-07-17 |
using J2N.Collections.Generic.Extensions;
using J2N.Threading.Atomic;
using Lucene.Net.Diagnostics;
using Lucene.Net.Index.Extensions;
using Lucene.Net.Support;
using Lucene.Net.Util.Automaton;
using NUnit.Framework;
using RandomizedTesting.Generators;
using System;
using System.Collections.Generic;
using System.Globa... | apache/lucenenet | src/Lucene.Net.Tests/Util/Fst/TestFSTs.cs | https://github.com/apache/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Util/Fst/TestFSTs.cs | ghcode:00173:e885b1ef9f4e | apache-2.0 | codeparrot/github-code | e885b1ef9f4ea3ee338d2aedf29a20dc6b2a271529de34f1b0b7c2bf8ff32c22 | 0.72 | testing_debugging_repair_refactoring | 16,938 | false | 2026-07-17 |
namespace Incoding.UnitTest
{
#region << Using >>
using System;
using Incoding.CQRS;
using Incoding.Data;
using Incoding.MSpecContrib;
using Machine.Specifications;
using Moq;
using It = Machine.Specifications.It;
#endregion
[Subject(typeof(DefaultDispatcher))]
... | IncodingSoftware/Incoding-Framework | src/Incoding.UnitTest/CQRSGroup/Dispatcher/When_default_dispatcher_push_with_throw_exception_and_re_throw_in_event.cs | https://github.com/IncodingSoftware/Incoding-Framework/blob/HEAD/src/Incoding.UnitTest/CQRSGroup/Dispatcher/When_default_dispatcher_push_with_throw_exception_and_re_throw_in_event.cs | ghcode:00173:c0e1db17f1db | apache-2.0 | codeparrot/github-code | c0e1db17f1db2dab43db4522060092e047386c8d42406148b50db2347a648a78 | 0.6 | testing_debugging_repair_refactoring | 259 | false | 2026-07-17 |
using System;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using P23.MetaTrader4.Manager.Contracts;
using P23.MetaTrader4.Manager.Tests.Helpers;
namespace P23.MetaTrader4.Manager.Tests
{
[TestClass]
public class SymbolCommandsTests
{
[TestMethod]
public void ... | li0803/MetaTrader4.Manager.Wrapper | src/P23.MetaTrader4.Manager.Tests/SymbolCommandsTests.cs | https://github.com/li0803/MetaTrader4.Manager.Wrapper/blob/HEAD/src/P23.MetaTrader4.Manager.Tests/SymbolCommandsTests.cs | ghcode:00173:b11534099ad8 | mit | codeparrot/github-code | b11534099ad8d75aa3458309a56b25c7945e3a755a114e247ab9e0deba7447bc | 0.75 | testing_debugging_repair_refactoring | 177 | false | 2026-07-17 |
//---------------------------------------------------------------------------
//
// File: HtmlSchema.cs
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
// Description: Static information about HTML structure
//
//---------------------------------------------------------------------------
namespace... | leacoleaco/LeaSearch | libs/HtmlToXamlConverter/HtmlSchema.cs | https://github.com/leacoleaco/LeaSearch/blob/HEAD/libs/HtmlToXamlConverter/HtmlSchema.cs | ghcode:00173:7fd0fb27b1c8 | apache-2.0 | codeparrot/github-code | 7fd0fb27b1c82277649a4904bb90b143cca6a2a62695cf323d59d432b4727aba | 0.7 | testing_debugging_repair_refactoring | 8,346 | false | 2026-07-17 |
/*
Copyright (c) 2005-2006 Ladislav Prosek.
The use and distribution terms for this software are contained in the file named License.txt,
which can be found in the root of the Phalanger distribution. By using this software
in any fashion, you are agreeing to be bound by the terms of this license.
You... | kendallb/Phalanger | Source/ClassLibrary/PhpFormatter.CLR.cs | https://github.com/kendallb/Phalanger/blob/HEAD/Source/ClassLibrary/PhpFormatter.CLR.cs | ghcode:00173:b8fc7c088b65 | apache-2.0 | codeparrot/github-code | b8fc7c088b65575903f2a15bb7f1ab2955f5c4b4014dba484bb4663af32f7bc7 | 0.85 | testing_debugging_repair_refactoring | 12,126 | false | 2026-07-17 |
using System;
using System.Reflection;
using System.Reflection.Emit;
namespace BenchmarkDotNet.Helpers.Reflection.Emit
{
internal static class IlGeneratorStatementExtensions
{
public static void EmitCallBaseParameterlessCtor(this ILGenerator ilGenerator, ConstructorBuilder constructorBuilder)
... | alinasmirnova/BenchmarkDotNet | src/BenchmarkDotNet/Helpers/Reflection.Emit/IlGeneratorStatementExtensions.cs | https://github.com/alinasmirnova/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Helpers/Reflection.Emit/IlGeneratorStatementExtensions.cs | ghcode:00173:e2e614059bb2 | mit | codeparrot/github-code | e2e614059bb2601becbaa1ef2cffbca1c44a21b5fc5dd25f83b5f590f89444ce | 0.85 | testing_debugging_repair_refactoring | 1,378 | false | 2026-07-17 |
//
// This file was auto-generated using the ChilliConnect SDK Generator.
//
// The MIT License (MIT)
//
// Copyright (c) 2015 Tag Games Ltd
//
// 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... | ChilliConnect/Samples | UnitySamples/TicTacToeRealtime/Assets/ChilliConnect/GeneratedSource/Objects/TestGroupDetails.cs | https://github.com/ChilliConnect/Samples/blob/HEAD/UnitySamples/TicTacToeRealtime/Assets/ChilliConnect/GeneratedSource/Objects/TestGroupDetails.cs | ghcode:00173:3cfed7c0e89a | mit | codeparrot/github-code | 3cfed7c0e89a315caabea8a8926b8547af8592642ebb981ddc6432183db92bab | 0.85 | testing_debugging_repair_refactoring | 907 | false | 2026-07-17 |
// Copyright © 2007 by Initial Force AS. All rights reserved.
// https://github.com/InitialForce/UnitsNet
//
// 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, includi... | Tirael/UnitsNet | UnitsNet.Tests/InterUnitConversionTests.cs | https://github.com/Tirael/UnitsNet/blob/HEAD/UnitsNet.Tests/InterUnitConversionTests.cs | ghcode:00173:761cd923cc65 | mit | codeparrot/github-code | 761cd923cc65097ef1a4ef2ffbbc670b8e68ead2ebb35cceb5bffe108f2b62bc | 0.85 | testing_debugging_repair_refactoring | 401 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | samaitra/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/ClientFeaturesTest.cs | https://github.com/samaitra/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/ClientFeaturesTest.cs | ghcode:00173:4f04ca9de570 | apache-2.0 | codeparrot/github-code | 4f04ca9de57013c68d5380ea874eb67bd61a7d2d0e42abc3fcabeda25e08ff6f | 0.85 | testing_debugging_repair_refactoring | 702 | false | 2026-07-17 |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// 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 abov... | hibernating-rhinos/rhino-mocks | Rhino.Mocks.Tests/StubTest.cs | https://github.com/hibernating-rhinos/rhino-mocks/blob/HEAD/Rhino.Mocks.Tests/StubTest.cs | ghcode:00173:2171ffbb5d27 | bsd-3-clause | codeparrot/github-code | 2171ffbb5d276d1af87e68d48414fef6546d640aee32d386cbc460cd4e6f46d6 | 0.85 | testing_debugging_repair_refactoring | 1,081 | false | 2026-07-17 |
#region Using clause
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Microsoft.Xna.Framework;
using System.Threading.Tasks;
using CocosSharp;
#endregion Using clause
namespace tests
{
/// <summary>
/// IME keyboard implementaion for ... | haithemaraissia/CocosSharp | tests/tests/classes/tests/TextInputTest/CustomIME/UppercaseIMEKeyboardImpl.cs | https://github.com/haithemaraissia/CocosSharp/blob/HEAD/tests/tests/classes/tests/TextInputTest/CustomIME/UppercaseIMEKeyboardImpl.cs | ghcode:00173:19fa7af7af5a | mit | codeparrot/github-code | 19fa7af7af5ae63b0a612d005c2c21b28b892fae9f05ad214709b385dcc816b8 | 0.95 | testing_debugging_repair_refactoring | 3,421 | false | 2026-07-17 |
// This file is part of YamlDotNet - A .NET library for YAML.
// Copyright (c) Antoine Aubry and contributors
// 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, inc... | angrifel/mdlgen | src/YamlDotNet/Core/Parser.cs | https://github.com/angrifel/mdlgen/blob/HEAD/src/YamlDotNet/Core/Parser.cs | ghcode:00173:a4d0712dcea9 | mit | codeparrot/github-code | a4d0712dcea96b9d0b59fa756da5008c9b72cde7f4e21b82eab086a2acdc1256 | 0.85 | testing_debugging_repair_refactoring | 5,975 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using System.Net;
using Cdn.Tests.Helpers;
using Microsoft.Azure.Management.Cdn;
using Microsoft.Azure.Manag... | ayeletshpigelman/azure-sdk-for-net | sdk/cdn/Microsoft.Azure.Management.Cdn/tests/ScenarioTests/AFDEndpointTest.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/cdn/Microsoft.Azure.Management.Cdn/tests/ScenarioTests/AFDEndpointTest.cs | ghcode:00173:8423081c664b | mit | codeparrot/github-code | 8423081c664b861b32c0b785db19fac2d5d637f84fa3eb71655cf968897f1178 | 0.95 | testing_debugging_repair_refactoring | 3,631 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.Azure.Test.HttpRecorder;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
namespace Microso... | Azure/azure-sdk-for-net | sdk/quantum/Microsoft.Azure.Management.Quantum/tests/Helpers/QuantumMockContext.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/quantum/Microsoft.Azure.Management.Quantum/tests/Helpers/QuantumMockContext.cs | ghcode:00173:7b99cd4af523 | mit | codeparrot/github-code | 7b99cd4af523b14ff9859f0095b83e0f3f4b781657546d8fa5f2766038f35dbc | 0.95 | testing_debugging_repair_refactoring | 803 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System... | bartdesmet/roslyn | src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/Binders/EEMethodBinder.cs | https://github.com/bartdesmet/roslyn/blob/HEAD/src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/Binders/EEMethodBinder.cs | ghcode:00173:3b61ed50cc44 | mit | codeparrot/github-code | 3b61ed50cc44c5c13fb6d7217867b5d226202be76bc4c9a1da28479f5f2e47d1 | 0.85 | testing_debugging_repair_refactoring | 838 | 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 Microsoft.Build.Construction;
using Xunit;
namespace Microsoft.Build.UnitTests.Construction
{
/// <summary>
/// Tests f... | sean-gilliam/msbuild | src/Build.UnitTests/Construction/ProjectRootElement_Tests.cs | https://github.com/sean-gilliam/msbuild/blob/HEAD/src/Build.UnitTests/Construction/ProjectRootElement_Tests.cs | ghcode:00173:3bdf19d7a180 | mit | codeparrot/github-code | 3bdf19d7a1804693c9573b2a3613cf047af21e54fb7c00422102061cac46a8fb | 0.85 | testing_debugging_repair_refactoring | 1,034 | 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... | tetrodoxin/NLog | tests/NLog.UnitTests/LayoutRenderers/LongDateTests.cs | https://github.com/tetrodoxin/NLog/blob/HEAD/tests/NLog.UnitTests/LayoutRenderers/LongDateTests.cs | ghcode:00173:4e193d56e2d0 | bsd-3-clause | codeparrot/github-code | 4e193d56e2d0b5da1ba734fc6431d2e4e61f9d11f73f6c3c703ac54bd72887f4 | 0.85 | testing_debugging_repair_refactoring | 1,289 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | juvchan/azure-powershell | src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationConnectionTypeTest.cs | https://github.com/juvchan/azure-powershell/blob/HEAD/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationConnectionTypeTest.cs | ghcode:00173:6bd87d89cf34 | apache-2.0 | codeparrot/github-code | 6bd87d89cf341cd513139896883a0c74c6475f0a806911db4fe8a8f0fcc840bb | 0.85 | testing_debugging_repair_refactoring | 471 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Umbraco.Core.Models;
using Umbraco.Core.Persistence.Repositories;
using Umbraco.Tests.TestHelpers;
using Umbraco.Tests.Testing;
using Umbraco.Core;
using Umbraco.Core.Composing;
namespace Umbraco.Tests.Persistence.Reposito... | leekelleher/Umbraco-CMS | src/Umbraco.Tests/Persistence/Repositories/DictionaryRepositoryTest.cs | https://github.com/leekelleher/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Persistence/Repositories/DictionaryRepositoryTest.cs | ghcode:00173:57ca0940b763 | mit | codeparrot/github-code | 57ca0940b763a92f545a158f1a6f2021806132342d62eb65ab553162d81ab64c | 0.85 | testing_debugging_repair_refactoring | 2,457 | false | 2026-07-17 |
using System;
using System.Data.SqlServerCe;
using System.IO;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Configuration;
using Umbraco.Core.ObjectResolution;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.SqlSyntax;
using Umbraco.Core.Persistence.UnitOfWork;
using Umbraco.Co... | tomfulton/Umbraco-CMS | src/Umbraco.Tests/Persistence/SqlCeTableByTableTest.cs | https://github.com/tomfulton/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Persistence/SqlCeTableByTableTest.cs | ghcode:00173:2db0ae6bc2fd | mit | codeparrot/github-code | 2db0ae6bc2fd070b4153498c15947df2a602d30bff924212a7ed1820c415dea7 | 0.75 | testing_debugging_repair_refactoring | 330 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
using S... | DavidKarlas/roslyn | src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_IfStatement.cs | https://github.com/DavidKarlas/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_IfStatement.cs | ghcode:00173:0a0ae2c8f29c | apache-2.0 | codeparrot/github-code | 0a0ae2c8f29ce6daca7239f590c09b9f616429480e5e26307b74e2ec10c5ea8f | 0.85 | testing_debugging_repair_refactoring | 595 | false | 2026-07-17 |
namespace Nancy.Tests.Unit
{
using System;
using System.Linq;
using System.Threading.Tasks;
using Nancy.Tests.Fakes;
using Xunit;
public class NancyModuleFixture
{
private readonly NancyModule module;
public NancyModuleFixture()
{
this.modu... | sloncho/Nancy | test/Nancy.Tests/Unit/NancyModuleFixture.cs | https://github.com/sloncho/Nancy/blob/HEAD/test/Nancy.Tests/Unit/NancyModuleFixture.cs | ghcode:00173:048234828066 | mit | codeparrot/github-code | 048234828066465f3224a2cd437620faa437bf22f85bccd1f00da5bc2f2dacb8 | 0.85 | testing_debugging_repair_refactoring | 1,385 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using ... | balazssimon/meta-cs | src/Main/MetaDslx.CodeAnalysis.CSharp/BoundTree/BoundNodeExtensions.cs | https://github.com/balazssimon/meta-cs/blob/HEAD/src/Main/MetaDslx.CodeAnalysis.CSharp/BoundTree/BoundNodeExtensions.cs | ghcode:00173:4a871dfb1d51 | apache-2.0 | codeparrot/github-code | 4a871dfb1d51b2ce8de8ff152766e71f0cafc2aac3e426f6d28a762303b66001 | 0.85 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.Contracts;
using System.Diagnostics;
namespace System.IO.Compression
{
internal class WrappedStream : Stream
{
#region fields
... | destinyclown/corefx | src/System.IO.Compression/src/System/IO/Compression/ZipCustomStreams.cs | https://github.com/destinyclown/corefx/blob/HEAD/src/System.IO.Compression/src/System/IO/Compression/ZipCustomStreams.cs | ghcode:00173:517b60aec3f2 | mit | codeparrot/github-code | 517b60aec3f2f7d195a57811352004cab1f23272fba228e03ed3940abf4e5fa0 | 0.95 | testing_debugging_repair_refactoring | 2,787 | 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 System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.CommandHandlers;
using Microsoft.CodeAnalysis.Ed... | bbarry/roslyn | src/EditorFeatures/TestUtilities/GoToAdjacentMember/AbstractGoToAdjacentMemberTests.cs | https://github.com/bbarry/roslyn/blob/HEAD/src/EditorFeatures/TestUtilities/GoToAdjacentMember/AbstractGoToAdjacentMemberTests.cs | ghcode:00173:1f7f22445c08 | apache-2.0 | codeparrot/github-code | 1f7f22445c086264d572e55b438669b3888bd01c07c5b91a2c1fd12ac74e3c17 | 0.75 | testing_debugging_repair_refactoring | 465 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Linq;
using Xunit;
namespace Microsoft.Win32.RegistryTests
{
public class RegistryKey_OpenSubKey_str : RegistryTestsBase
{
[... | dkorolev/corefx | src/Microsoft.Win32.Registry/tests/RegistryKey/RegistryKey_OpenSubKey_str.cs | https://github.com/dkorolev/corefx/blob/HEAD/src/Microsoft.Win32.Registry/tests/RegistryKey/RegistryKey_OpenSubKey_str.cs | ghcode:00173:78fe32cc8603 | mit | codeparrot/github-code | 78fe32cc8603dbc5752a35a3b83680f1477e5304250a01cd365319955538c21d | 0.95 | testing_debugging_repair_refactoring | 510 | 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.Tracing;
using System.Linq;
using Xunit;
namespace System.Collections.Concurrent.Tests
{
... | dhoehna/corefx | src/System.Collections.Concurrent/tests/EtwTests.cs | https://github.com/dhoehna/corefx/blob/HEAD/src/System.Collections.Concurrent/tests/EtwTests.cs | ghcode:00173:67b0efdf3f76 | mit | codeparrot/github-code | 67b0efdf3f7623b276f8f18861e234bc2ae0139f481e27752f4cfaf7c83e9bb8 | 0.95 | testing_debugging_repair_refactoring | 400 | false | 2026-07-17 |
using FluentAssertions;
using FluentMetacritic.Domain;
using System;
using Xunit;
using Xunit.Extensions;
namespace FluentMetacritic.UnitTests.Domain
{
[Trait("Category", "UnitTest")]
public class EntityTests
{
[Theory, InlineData(null), InlineData(""), InlineData(" ")]
public void GivenAn... | lewishenson/FluentMetacritic | FluentMetacritic.UnitTests/Domain/EntityTests.cs | https://github.com/lewishenson/FluentMetacritic/blob/HEAD/FluentMetacritic.UnitTests/Domain/EntityTests.cs | ghcode:00173:03ed169b27f5 | mit | codeparrot/github-code | 03ed169b27f57bb5c6a88f96604b4db4dd2a429923ef346fa079e53f4cead617 | 0.75 | testing_debugging_repair_refactoring | 207 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Xunit.Abstractions;
using Xunit.Sdk;
namespace DragonSpark.Application.Hosting.xUnit;
sealed class TestMethodRunner : XunitTestMethodRunner
{
readonly object[] _constructorArguments;
readonly IMessageSink _diagnosticM... | DragonSpark/Framework | DragonSpark.Application.Hosting.xUnit/TestMethodRunner.cs | https://github.com/DragonSpark/Framework/blob/HEAD/DragonSpark.Application.Hosting.xUnit/TestMethodRunner.cs | ghcode:00173:e3f4c9741e7b | mit | codeparrot/github-code | e3f4c9741e7b4639cbb940bb6e20b8eaf568b7a95ff8cb0ecc27a1044b81b8f7 | 0.75 | testing_debugging_repair_refactoring | 370 | false | 2026-07-17 |
using System;
using System.IO;
using NAudio.Wave.SampleProviders;
using NAudio.Utils;
// ReSharper disable once CheckNamespace
namespace NAudio.Wave
{
/// <summary>
/// This class writes WAV data to a .wav file on disk
/// </summary>
public class WaveFileWriter : Stream
{
private Stream out... | skor98/DtWPF | speechKit/NAudio-master/NAudio/Wave/WaveOutputs/WaveFileWriter.cs | https://github.com/skor98/DtWPF/blob/HEAD/speechKit/NAudio-master/NAudio/Wave/WaveOutputs/WaveFileWriter.cs | ghcode:00173:a2264affdd8d | mit | codeparrot/github-code | a2264affdd8d46ce4bce36e1ea4d206bf7cea5a0c6d465457e369d749aa271e5 | 0.85 | testing_debugging_repair_refactoring | 3,443 | false | 2026-07-17 |
using AdventOfCode.Day01;
using NUnit.Framework;
namespace AdventOfCodeTests
{
[TestFixture]
public class Day01Tests
{
private static object[] floors = new[]
{
new object[] {"", 0},
new object[] {"(", 1},
new object[] {")", -1},
new object[]... | vatioz/AdventOfCode | AdventOfCodeTests/Day01Tests.cs | https://github.com/vatioz/AdventOfCode/blob/HEAD/AdventOfCodeTests/Day01Tests.cs | ghcode:00173:687a24391d23 | mit | codeparrot/github-code | 687a24391d23db1b548a36d2c82055be233892436e36bc295bdec9f9df67b038 | 0.75 | testing_debugging_repair_refactoring | 191 | false | 2026-07-17 |
using System.Collections.Generic;
using KitchenResponsibleService.Model;
using Xunit;
namespace KitchenResponsibleServiceTests.Model
{
public class ResponsibleForWeekTests
{
[Fact]
public void Parse_StringToList() {
const string WeeksAndResponsibles = "37;U1TBU8336;Runar Ovesen ... | Sankra/KitchenResponsible | src/KitchenResponsibleServiceTests/Model/ResponsibleForWeekTests.cs | https://github.com/Sankra/KitchenResponsible/blob/HEAD/src/KitchenResponsibleServiceTests/Model/ResponsibleForWeekTests.cs | ghcode:00173:4b9a20693fb8 | mit | codeparrot/github-code | 4b9a20693fb892da315b089ff52a29858766f02230c764b4ed22303de6e504b0 | 0.75 | testing_debugging_repair_refactoring | 559 | false | 2026-07-17 |
namespace FluentUri.Test
{
static class TestData
{
public static readonly string Uri =
"http://user:password@example.com:888/path/to?somekey=some%2bvalue&otherkey=some%2bvalue#fragment";
}
}
| balazsbotond/FluentUriBuilder | FluentUriBuilder.Test/TestData.cs | https://github.com/balazsbotond/FluentUriBuilder/blob/HEAD/FluentUriBuilder.Test/TestData.cs | ghcode:00173:9eb9ac21556d | mit | codeparrot/github-code | 9eb9ac21556d3ae8f18d16880e80907573c2a437026938a8214d0d370ab1a0c9 | 0.75 | testing_debugging_repair_refactoring | 60 | false | 2026-07-17 |
using Moq;
using Xunit;
namespace Binance.Tests.Account.Orders
{
public class MarketOrderTest
{
[Fact]
public void Properties()
{
var user = new Mock<IBinanceApiUser>().Object;
var clientOrder = new MarketOrder(user);
Assert.Equal(OrderType.Market,... | sonvister/Binance | test/Binance.Tests/Account/Orders/MarketOrderTest.cs | https://github.com/sonvister/Binance/blob/HEAD/test/Binance.Tests/Account/Orders/MarketOrderTest.cs | ghcode:00173:17f265f444db | mit | codeparrot/github-code | 17f265f444dbba35e20adae126a5c4b9c2d3dc5c697ef91bbe7d1ef982cf161b | 0.75 | testing_debugging_repair_refactoring | 76 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using hsb.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace hsb.Utilities.Tests
{
#region 【Test Class】
[TestClass()]
public class AddressUtilTests
{
#regio... | osamu-nomura/hsb | hsbTests/Utilities/AddressUtilTests.cs | https://github.com/osamu-nomura/hsb/blob/HEAD/hsbTests/Utilities/AddressUtilTests.cs | ghcode:00173:f9e257464b8f | mit | codeparrot/github-code | f9e257464b8f3891dd40a0cd23d3776a51eafd95b6d97068700ed41304ff1fa2 | 0.85 | testing_debugging_repair_refactoring | 520 | false | 2026-07-17 |
// BitOperatorTests.cs (c) 2004 Kari Laitinen
// www.naturalprogramming.com
using System ;
class BitOperatorTests
{
static void print_in_binary_form( int given_integer )
{
uint bit_mask = 0x80000000 ;
uint one_bit_in_given_integer ;
for ( int bit_counter = 0 ;
... | Mitali-Sodhi/CodeLingo | Dataset/cs/BitOperatorTests.cs | https://github.com/Mitali-Sodhi/CodeLingo/blob/HEAD/Dataset/cs/BitOperatorTests.cs | ghcode:00173:25ed3aa2d330 | mit | codeparrot/github-code | 25ed3aa2d330343d7dadce229389f7b3ab863199a87c2879ddbfc288a6f682b6 | 0.85 | testing_debugging_repair_refactoring | 1,072 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NSpec;
using NSpec.Domain;
using NSpecSpecs.describe_RunningSpecs;
using NUnit.Framework;
namespace NSpecSpecs.WhenRunningSpecs
{
[TestFixture]
public class when_running_specs
{
[SetUp]
public void InitializeRunnerInv... | BrainCrumbz/NSpec.NetCore | sln/test/NSpecSpecs/describe_RunningSpecs/when_running_specs.cs | https://github.com/BrainCrumbz/NSpec.NetCore/blob/HEAD/sln/test/NSpecSpecs/describe_RunningSpecs/when_running_specs.cs | ghcode:00173:99f03a606a81 | mit | codeparrot/github-code | 99f03a606a8139439d9f2d8d4e650acf1323908f4bcaacc666ee9e05fcadf865 | 0.85 | testing_debugging_repair_refactoring | 550 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Xunit;
using System.Reactive.Linq;
using System.Runtime.CompilerServices;
namespace Ocelog.Formatting.Logstash.Test
{
public class LogstashJsonFormatterTests
{
[Fact]
public void should_add_ver... | Ocelog/Ocelog | test/Ocelog.Formatting.Logstash.Test/LogstashJsonFormatterTests.cs | https://github.com/Ocelog/Ocelog/blob/HEAD/test/Ocelog.Formatting.Logstash.Test/LogstashJsonFormatterTests.cs | ghcode:00173:4efb2bfbe5d3 | mit | codeparrot/github-code | 4efb2bfbe5d31b0f3a1e69f934b9620e9a4152268d7431d7e4fd307bf00386f5 | 0.75 | testing_debugging_repair_refactoring | 1,866 | false | 2026-07-17 |
// <copyright file="EnabledComparerFixture.cs">
// Copyright © 2013 Dan Piessens All rights reserved.
// </copyright>
namespace SpecBind.Tests.Validation
{
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using SpecBind.Pages;
using SpecBind.Val... | Nels-P-Olsen/specbind | src/SpecBind.Tests/Validation/EnabledComparerFixture.cs | https://github.com/Nels-P-Olsen/specbind/blob/HEAD/src/SpecBind.Tests/Validation/EnabledComparerFixture.cs | ghcode:00173:ec7163b3900e | mit | codeparrot/github-code | ec7163b3900e35a49864154263f1a67e5be7880d9bed0225cd58f67798148e58 | 0.7 | testing_debugging_repair_refactoring | 425 | false | 2026-07-17 |
using Cake.Common.Tests.Fixtures.Tools.NuGet;
using Cake.Common.Tools.NuGet;
using Cake.Core.IO;
using NSubstitute;
using Xunit;
namespace Cake.Common.Tests.Unit.Tools.NuGet.Install
{
public sealed class NuGetInstallerTests
{
public sealed class TheInstallMethod
{
[Fact]
... | Invenietis/cake | src/Cake.Common.Tests/Unit/Tools/NuGet/Install/NuGetInstallerTests.cs | https://github.com/Invenietis/cake/blob/HEAD/src/Cake.Common.Tests/Unit/Tools/NuGet/Install/NuGetInstallerTests.cs | ghcode:00173:b5d5b1e3f429 | mit | codeparrot/github-code | b5d5b1e3f4296470c62ae9b5e1784efc0d61bbd89f1656b1dd09dbe77f62e498 | 0.85 | testing_debugging_repair_refactoring | 3,256 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Core.TestFramework;
using Azure.ResourceManager.Resources;
using Azure.ResourceManager.Resources.Models;
using NUn... | Azure/azure-sdk-for-net | sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/TaggableResourceTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/TaggableResourceTests.cs | ghcode:00173:cfdc51e953fe | mit | codeparrot/github-code | cfdc51e953fef1d3cec1a57e1d5b7ea17fe21ae144a0f2653bb997c1db937002 | 0.95 | testing_debugging_repair_refactoring | 884 | false | 2026-07-17 |
using System;
using Bedrock.Events;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bedrock.Tests.Events
{
[TestClass]
class MockDelegateReference : IDelegateReference
{
public Delegate Target { get; set; }
public MockDelegateReference()
{
}
public M... | jackhuclan/bedrock | source/Bedrock/Bedrock.Tests/Events/MockDelegateReference.cs | https://github.com/jackhuclan/bedrock/blob/HEAD/source/Bedrock/Bedrock.Tests/Events/MockDelegateReference.cs | ghcode:00173:044f7aa2a349 | mit | codeparrot/github-code | 044f7aa2a349d93c99baa96024a1a1f5d6f8b72d4dd2cdbdd8668f099891f601 | 0.6 | testing_debugging_repair_refactoring | 78 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace nunit.v3.Issue1394
{
public interface IFoo
{
string Description { get; }
}
public class ImplicitFoo : IFoo
{
public ... | rprouse/nunit-tests | nunit-v3/Issue1394/HasPropertyTestCase.cs | https://github.com/rprouse/nunit-tests/blob/HEAD/nunit-v3/Issue1394/HasPropertyTestCase.cs | ghcode:00173:72a459cca840 | mit | codeparrot/github-code | 72a459cca840ab1ceac261c5f0b2aa9c97fd87dc0db0fb9d254d8e3b6ef0c38d | 0.75 | testing_debugging_repair_refactoring | 181 | false | 2026-07-17 |
using System.Collections;
using NQuery.Iterators;
namespace NQuery.Tests.Iterators
{
public class DistinctSortIteratorTests : IteratorTests
{
[Fact]
public void Iterators_DistinctSort_ForwardsProperly()
{
var rows = new object[] { 1, 2 };
var expected = rows;
... | terrajobst/nquery-vnext | src/NQuery.Tests/Iterators/DistinctSortIteratorTests.cs | https://github.com/terrajobst/nquery-vnext/blob/HEAD/src/NQuery.Tests/Iterators/DistinctSortIteratorTests.cs | ghcode:00173:3b0e916d89ec | mit | codeparrot/github-code | 3b0e916d89ec6bd02794aefd1852ef67cdcda093e181d38f2a900e60bc42016c | 0.75 | testing_debugging_repair_refactoring | 754 | false | 2026-07-17 |
namespace Microsoft.Protocols.TestSuites.MS_ASEMAIL
{
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using Microsoft.Protocols.TestSuites.Common;
using Microsoft.Protocols.TestSuites.Common.DataStructures;
using Microsoft.Protocols.TestTool... | XinwLi/Interop-TestSuites-1 | ExchangeActiveSync/Source/MS-ASEMAIL/TestSuite/S04_MeetingRequest.cs | https://github.com/XinwLi/Interop-TestSuites-1/blob/HEAD/ExchangeActiveSync/Source/MS-ASEMAIL/TestSuite/S04_MeetingRequest.cs | ghcode:00173:89a9911aa4b7 | mit | codeparrot/github-code | 89a9911aa4b750a42e1df6a091f854ed29d089f3eb089f8413bf01ca4bf07857 | 0.72 | testing_debugging_repair_refactoring | 23,271 | false | 2026-07-17 |
// <copyright file="TestableMethodContainer.cs" company="Adrian Mos">
// Copyright (c) Adrian Mos with all rights reserved. Part of the IX Framework.
// </copyright>
using System;
using System.Collections.Generic;
namespace IX.UnitTests.IX.Retry
{
internal static class TestableMethodContainer
{
public... | adimosh/ix.framework | src/IX.UnitTests/IX.Retry/TestableMethodContainer.cs | https://github.com/adimosh/ix.framework/blob/HEAD/src/IX.UnitTests/IX.Retry/TestableMethodContainer.cs | ghcode:00173:2960f42cd336 | mit | codeparrot/github-code | 2960f42cd3366c443cd3afb9a0b2d33922fc2f979c94c318becd1058b3fb21cf | 0.85 | testing_debugging_repair_refactoring | 183 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace XperiCode.SimpleCache.Tests.Internal
{
[TestClass]
public class CacheLockTests
{
}
}
| mwijnands/SimpleCache | SimpleCache.Tests/Internal/CacheLockTests.cs | https://github.com/mwijnands/SimpleCache/blob/HEAD/SimpleCache.Tests/Internal/CacheLockTests.cs | ghcode:00173:12a984c9e22d | mit | codeparrot/github-code | 12a984c9e22d789351de925418c7621d79ee595366ef3d178505f04d05943eac | 0.5 | testing_debugging_repair_refactoring | 35 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BakeryController : MonoBehaviour
{
public GameObject G_Clock;
private EggTimerController mTimer;
public bool Inventory;
// Use this for initialization
private void Start()
... | randonia/ld37 | Unity/ld37/Assets/BakeryController.cs | https://github.com/randonia/ld37/blob/HEAD/Unity/ld37/Assets/BakeryController.cs | ghcode:00173:d141ca8c52d1 | mit | codeparrot/github-code | d141ca8c52d11f3c07b3e8749e72cb97359be6b65f0931cfc1cd11decdd94402 | 0.6 | testing_debugging_repair_refactoring | 217 | false | 2026-07-17 |
using System.Globalization;
using NUnit.Framework;
using RockyWood.Resources;
namespace RockyWoodTests.Resources
{
[TestFixture]
public class ResourceFileWrapperTests
{
private ResourceFileWrapper<Resource1> _wrapper;
[SetUp]
public void Setup() => _wrapper = new ResourceFileWrapp... | DavidArno/RockyWood | RockyWoodTests/Resources/ResourceFileWrapperTests.cs | https://github.com/DavidArno/RockyWood/blob/HEAD/RockyWoodTests/Resources/ResourceFileWrapperTests.cs | ghcode:00173:58fafcebf5ba | mit | codeparrot/github-code | 58fafcebf5baac3a6996658df45eb1dd11129b1b65de6ab48d567fbca5e57485 | 0.75 | testing_debugging_repair_refactoring | 361 | false | 2026-07-17 |
namespace SparkSharp.Core.Tests.Datasets
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SparkSharp.Core.Datasets;
[TestClass]
[DeploymentItem("Fil... | ajlopez/SparkSharp | Src/SparkSharp.Core.Tests/Datasets/TextFileDatasetTests.cs | https://github.com/ajlopez/SparkSharp/blob/HEAD/Src/SparkSharp.Core.Tests/Datasets/TextFileDatasetTests.cs | ghcode:00173:26fb7e0556c6 | mit | codeparrot/github-code | 26fb7e0556c69e9ff5305d9dfdf5dcf662c51d3249501cb32e9f8bcd45fd2855 | 0.75 | testing_debugging_repair_refactoring | 737 | false | 2026-07-17 |
namespace RealLocate.Services.Web.Tests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ReaLocate.Services.Web;
[TestClass]
public class IdentifierProviderTests
{
[TestMethod]
public void EncodingAndDecodingDoesntChangeTheId()
{
const int Id = 1337;
... | MichaelaIvanova/ReaLocate | ReaLocate.Source/Tests/RealLocate.Services.Web.Tests/IdentifierProviderTests.cs | https://github.com/MichaelaIvanova/ReaLocate/blob/HEAD/ReaLocate.Source/Tests/RealLocate.Services.Web.Tests/IdentifierProviderTests.cs | ghcode:00173:16f8d990f24f | mit | codeparrot/github-code | 16f8d990f24f8553fbe9737eeebb03df9f1d7dc457260c8388ab54491d27a927 | 0.85 | testing_debugging_repair_refactoring | 108 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Scratch.Hierarchical
{
[TestFixture]
public class HierarchicalDataUsingClosure
{
public static Func<string, dynamic> Pair(int x, Func<string, dynamic> y)
{
Func<string, dynamic> pair =
(a) =>
{
if (a == "con") return x;
if (a == ... | handcraftsman/Scratch | src/Scratch/Hierarchical/HierarchicalDataUsingClosure.cs | https://github.com/handcraftsman/Scratch/blob/HEAD/src/Scratch/Hierarchical/HierarchicalDataUsingClosure.cs | ghcode:00173:e1bc03761342 | mit | codeparrot/github-code | e1bc03761342f8315ffac8a86d6b66665237fd9cf01285ac14c43d5b6e66fb0f | 0.75 | testing_debugging_repair_refactoring | 244 | false | 2026-07-17 |
using Treenumerable.Tests.TreeBuilder;
namespace Treenumerable.Tests
{
public static class TestTreeFactory
{
public static Node<int> GetSimpleTree()
{
return
Node.Create(0).AddChildren(
Node.Create(1).AddChildren(
Node.Cre... | jasonmcboyd/Treenumerable | Source/Treenumerable.Tests/TestTreeFactory.cs | https://github.com/jasonmcboyd/Treenumerable/blob/HEAD/Source/Treenumerable.Tests/TestTreeFactory.cs | ghcode:00173:fef75149f282 | mit | codeparrot/github-code | fef75149f2829b069d335f720cfc1a51eee43fc133853e76a675ccf66ed2cd39 | 0.75 | testing_debugging_repair_refactoring | 101 | false | 2026-07-17 |
namespace Tests
{
using System;
using System.Diagnostics;
using System.IO;
using System.Text.RegularExpressions;
using NUnit.Framework;
public static class Verifier
{
public static void Verify(string beforeAssemblyPath, string afterAssemblyPath)
{
var before = Va... | TrekkingForCharity/divulge | Tests/Verifier.cs | https://github.com/TrekkingForCharity/divulge/blob/HEAD/Tests/Verifier.cs | ghcode:00173:922e3fc4eed1 | mit | codeparrot/github-code | 922e3fc4eed12e705d84573a45225bd065078938b0a7b4a65e3c0d0267370fc3 | 0.6 | testing_debugging_repair_refactoring | 379 | false | 2026-07-17 |
using System;
using Xunit;
using FluentAssertions;
using Moq;
namespace NanoBuilder.UnitTests
{
public class NSubstituteMapperTests
{
[Fact]
public void CreateForInstance_NSubstituteAssemblyNotPresent_ThrowsTypeMapperException()
{
const string mockType = "NSubstitute.Substitute,NSubst... | NanoBuilder/NanoBuilder | src/NanoBuilder/NanoBuilder.UnitTests/NSubstituteMapperTests.cs | https://github.com/NanoBuilder/NanoBuilder/blob/HEAD/src/NanoBuilder/NanoBuilder.UnitTests/NSubstituteMapperTests.cs | ghcode:00173:b8556dd0e3ac | mit | codeparrot/github-code | b8556dd0e3ac7acc13a17375ed5078e7a081319c3843ac92a6c8908f3cc7c745 | 0.75 | testing_debugging_repair_refactoring | 153 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Billing.Tests.Helpers;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using System.Net;
using Xunit;
using Microsoft.Azure.Management.Billing;
usi... | hyonholee/azure-sdk-for-net | sdk/billing/Microsoft.Azure.Management.Billing/tests/ScenarioTests/BillingPropertyOperationsTest.cs | https://github.com/hyonholee/azure-sdk-for-net/blob/HEAD/sdk/billing/Microsoft.Azure.Management.Billing/tests/ScenarioTests/BillingPropertyOperationsTest.cs | ghcode:00173:715b2415aea4 | mit | codeparrot/github-code | 715b2415aea4c6dd8a4558b2be03289c5b9318229a64c3d01f2efd4526ec708a | 0.95 | testing_debugging_repair_refactoring | 382 | false | 2026-07-17 |
// Copyright (c) 2017 Trevor Redfern
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
using System;
using Xunit;
using System.Linq;
using System.Collections.Generic;
using SilverNeedle.Utility;
namespace Tests.Utility
{
public class WeightedOptionTableTests
{
... | shortlegstudio/silverneedle-web | silverneedle-tests/Utility/WeightedOptionTableTests.cs | https://github.com/shortlegstudio/silverneedle-web/blob/HEAD/silverneedle-tests/Utility/WeightedOptionTableTests.cs | ghcode:00173:890c7c750c16 | mit | codeparrot/github-code | 890c7c750c167c33ad40104aefce41c9e4a7ab82189147e0d12bd670ad7c9389 | 0.85 | testing_debugging_repair_refactoring | 1,029 | false | 2026-07-17 |
using System;
using System.Net.Http.Formatting;
using Microsoft.Extensions.Logging;
using Microsoft.Practices.ServiceLocation;
using Moq;
using Yarm.Functions.Formatters;
using Yarm.Functions.FunctionFactories;
using Yarm.Models.Settings;
using Yarm.Services;
namespace Yarm.Functions.Tests.Fixtures
{
/// <summ... | aliencube/yarm | test/Yarm.Functions.Tests/Fixtures/FunctionFixture.cs | https://github.com/aliencube/yarm/blob/HEAD/test/Yarm.Functions.Tests/Fixtures/FunctionFixture.cs | ghcode:00173:931f230d8c76 | mit | codeparrot/github-code | 931f230d8c76c9a8bdfc0db00f8f00a0186137e5aa974eb590feef235c87b653 | 0.85 | testing_debugging_repair_refactoring | 1,454 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace vm.Aspects.Security.Cryptography.Ciphers.Tests
{
[TestClass]
public class NullHasherTest : GenericHasherTest<NullHasher>
{
public override IHasherTasks GetHasher() => new NullHasher();
public override IHasherTask... | vmelamed/vm | Aspects/Security/Cryptography/Ciphers/tests/NullHasherTest.cs | https://github.com/vmelamed/vm/blob/HEAD/Aspects/Security/Cryptography/Ciphers/tests/NullHasherTest.cs | ghcode:00173:7624024c1af4 | mit | codeparrot/github-code | 7624024c1af41c8744941550eb84ba98262091bae3fa44b275b1b6cf7ef21393 | 0.85 | testing_debugging_repair_refactoring | 188 | false | 2026-07-17 |
namespace Khala.EventSourcing.Sql
{
using System;
using FluentAssertions;
using Khala.FakeDomain.Events;
using Khala.Messaging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoMoq;
using Ploeh.AutoFixture.Idioms;
[TestClass]
... | Reacture/Khala.EventSourcing | source/Khala.EventSourcing.Tests/EventSourcing/Sql/PendingEvent_specs.cs | https://github.com/Reacture/Khala.EventSourcing/blob/HEAD/source/Khala.EventSourcing.Tests/EventSourcing/Sql/PendingEvent_specs.cs | ghcode:00173:e7b7eb404f55 | mit | codeparrot/github-code | e7b7eb404f5562b04fa8de9e508b8f2b2bfecacbb8d99f13d007078516f35fda | 0.75 | testing_debugging_repair_refactoring | 806 | false | 2026-07-17 |
using Newtonsoft.Json;
using NUnit.Framework;
using System;
namespace RiotNet.Tests.Converters
{
[TestFixture]
public class EpochDateTimeConverterTests
{
private static JsonSerializerSettings jsonSettings = RiotClient.JsonSettings;
[Test]
public void ShouldDeserializeInt()
... | aj-r/RiotNet | RiotNet.Tests/Converters/EpochDateTimeConverterTests.cs | https://github.com/aj-r/RiotNet/blob/HEAD/RiotNet.Tests/Converters/EpochDateTimeConverterTests.cs | ghcode:00173:0e0567a5d039 | mit | codeparrot/github-code | 0e0567a5d0390a5d7331997612ec028f52dbb64a3ea42f4f2561a4eab2bf07c3 | 0.75 | testing_debugging_repair_refactoring | 830 | false | 2026-07-17 |
#region [R# naming]
// ReSharper disable ArrangeTypeModifiers
// ReSharper disable UnusedMember.Local
// ReSharper disable FieldCanBeMadeReadOnly.Local
// ReSharper disable ArrangeTypeMemberModifiers
// ReSharper disable InconsistentNaming
#endregion
using NSpectator;
using FluentAssertions;
using FluentAssertions;
... | nspectator/NSpectator | test/SampleSpecs/Demo/Describe_a_finished_TicTacToeGame.cs | https://github.com/nspectator/NSpectator/blob/HEAD/test/SampleSpecs/Demo/Describe_a_finished_TicTacToeGame.cs | ghcode:00173:fd17f7aba0a6 | mit | codeparrot/github-code | fd17f7aba0a6bc79b58fe7b3a581177baeaf75d87cab6ffce472dc8f4d840f55 | 0.7 | testing_debugging_repair_refactoring | 604 | false | 2026-07-17 |
// Copyright (c) 2016 Framefield. All rights reserved.
// Released under the MIT license. (see LICENSE.txt)
using System;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Framefield.Core;
namespace CoreTests
{
[TestClass]
public class SettingsTests
{
[Test... | framefield/tooll | CoreTests/SettingsTests.cs | https://github.com/framefield/tooll/blob/HEAD/CoreTests/SettingsTests.cs | ghcode:00173:2af6bac1a24a | mit | codeparrot/github-code | 2af6bac1a24ac524f773e4693f483d022507bd120d4d6acbc576339bc44d6330 | 0.75 | testing_debugging_repair_refactoring | 406 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataGen.Cryptography.UnitTests
{
[TestFixture]
public class StringExtensionsTests
{
#region AES
[TestCase("Some text to encrypt", "key")]
... | DataGenSoftware/DataGen.Extensions | DataGen.Extensions/DataGen.Cryptography.UnitTests/StringExtensionsTests.cs | https://github.com/DataGenSoftware/DataGen.Extensions/blob/HEAD/DataGen.Extensions/DataGen.Cryptography.UnitTests/StringExtensionsTests.cs | ghcode:00173:ae2c1bec30de | mit | codeparrot/github-code | ae2c1bec30de875fb9997061fdc401de0b63e480b6bc28e8929166eed052ff2f | 0.75 | testing_debugging_repair_refactoring | 1,665 | false | 2026-07-17 |
using Nancy;
using Nancy.Authentication.Forms;
using Nancy.Bootstrapper;
using Nancy.Responses.Negotiation;
using Nancy.Testing;
using Newtonsoft.Json;
using NSubstitute;
using NUnit.Framework;
using Stateless.WorkflowEngine.WebConsole.BLL.Data.Models;
using Stateless.WorkflowEngine.WebConsole.BLL.Data.Stores;
using S... | mrsalmon1976/Stateless.WorkflowEngine | source/Test.Stateless.WorkflowEngine.WebConsole/Modules/LoginModuleTest.cs | https://github.com/mrsalmon1976/Stateless.WorkflowEngine/blob/HEAD/source/Test.Stateless.WorkflowEngine.WebConsole/Modules/LoginModuleTest.cs | ghcode:00173:c2e273a9438c | mit | codeparrot/github-code | c2e273a9438cf6d1104ea4e70575c0fd0090cd5bede82766d9e83d8b04078749 | 0.7 | testing_debugging_repair_refactoring | 1,737 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Objects.Get.Calendars.Json.Reader
{
using FluentAssertions;
using Newtonsoft.Json;
using System;
using System.IO;
using System.Threading.Tasks;
using Traits;
using TraktApiSharp.Objects.Get.Calendars.Json.Reader;
using Xunit;
[Category("Objects.Get.Cal... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Get/Calendars/Json/Reader/CalendarShowObjectJsonReader/CalendarShowObjectJsonReader_Reader_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Objects/Get/Calendars/Json/Reader/CalendarShowObjectJsonReader/CalendarShowObjectJsonReader_Reader_Tests.cs | ghcode:00173:62026da74056 | mit | codeparrot/github-code | 62026da740563601cbc3f3854a2fdbc7924f0a74c458676cdc63cee94db5a077 | 0.85 | testing_debugging_repair_refactoring | 4,170 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SolutionThatShouldBuildWithWarnings
{
public class Class1
{
private void FunctionThatGeneratesAWarning()
{
return;
int unreachableCodeAndUnusedVariableWarningGeneratorLine = ... | deadlydog/Invoke-MsBuild | src/Tests/Solution That Should Build Successfully With Warnings/SolutionThatShouldBuildWithWarnings/Class1.cs | https://github.com/deadlydog/Invoke-MsBuild/blob/HEAD/src/Tests/Solution That Should Build Successfully With Warnings/SolutionThatShouldBuildWithWarnings/Class1.cs | ghcode:00173:087b07a5a5f8 | mit | codeparrot/github-code | 087b07a5a5f862e66d2675b892a680d1894761288ba2b6fc13b1695927cab566 | 0.85 | testing_debugging_repair_refactoring | 74 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="When_creating_chemicals.cs" company="Gary Ewan Park">
// Copyright (c) Gary Ewan Park, 2014, All rights reserved.
// </copyright>
// <summary>
// Defines the When_creating_che... | gep13/WebApiSample | Tests/Gep13.Sample.Service.Tests/When_creating_chemicals.cs | https://github.com/gep13/WebApiSample/blob/HEAD/Tests/Gep13.Sample.Service.Tests/When_creating_chemicals.cs | ghcode:00173:1ff0d8df314a | mit | codeparrot/github-code | 1ff0d8df314a2be125160d41eca558ba291151fd954e51dfa8c7401ef2c6a016 | 0.7 | testing_debugging_repair_refactoring | 359 | false | 2026-07-17 |
namespace MAF.FeaturesFlipping.Extensions.DependencyInjection.Configuration
{
public partial class FeaturesFlippingBuilderConfigurationExtensionsTests
{
}
} | maf-dosi/featuresflipping | tests/MAF.FeaturesFlipping.UnitTests/MAF.FeaturesFlipping.Extensions.DependencyInjection.Configuration/FeaturesFlippingBuilderConfigurationExtensionsTests.cs | https://github.com/maf-dosi/featuresflipping/blob/HEAD/tests/MAF.FeaturesFlipping.UnitTests/MAF.FeaturesFlipping.Extensions.DependencyInjection.Configuration/FeaturesFlippingBuilderConfigurationExtensionsTests.cs | ghcode:00173:e2aaa4cf8bb0 | mit | codeparrot/github-code | e2aaa4cf8bb051c597acf45d58dec77f8dc0363e02aa2d75c380a12d204bdd97 | 0.35 | testing_debugging_repair_refactoring | 28 | false | 2026-07-17 |
using Knight.Common.Exceptions.IO;
using NUnit.Framework;
using System;
using System.IO;
using System.Runtime.Serialization;
namespace Knight.Common.IO.Persistance
{
[Microsoft.VisualStudio.TestTools.UnitTesting.TestClass]
public class BinaryFileSerializerTest
{
string tempFilePath = Pa... | KnightAtSpace/chaos | dotnet/Test/Unit/Common/Knight.Common.Test/IO/Persistance/BinaryFileSerializerTest.cs | https://github.com/KnightAtSpace/chaos/blob/HEAD/dotnet/Test/Unit/Common/Knight.Common.Test/IO/Persistance/BinaryFileSerializerTest.cs | ghcode:00173:c1cee4f74666 | unlicense | codeparrot/github-code | c1cee4f74666c8107d409692b0fd08abd20664e4ea8055c767d29320f6051f74 | 0.78 | testing_debugging_repair_refactoring | 331 | false | 2026-07-17 |
// -----------------------------------------------------------------------------------------
// <copyright file="TableSasFunctionalTests.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except i... | erezvani1529/azure-storage-net | Test/WindowsRuntime/Table/SAS/TableSasFunctionalTests.cs | https://github.com/erezvani1529/azure-storage-net/blob/HEAD/Test/WindowsRuntime/Table/SAS/TableSasFunctionalTests.cs | ghcode:00173:fffc21218470 | apache-2.0 | codeparrot/github-code | fffc2121847032436b5ef1b2d4dbb42ad682fb690f67bddb390fd4be128af29b | 0.85 | testing_debugging_repair_refactoring | 1,689 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Chutzpah.Models;
namespace Chutzpah.Extensions
{
public static class TestingModeExtensions
{
public static Dictionary<TestingMode, List<string>> ExtensionMap { get; private set; }
static TestingModeExtensions... | mmanela/chutzpah | Chutzpah/Extensions/TestingModeExtensions.cs | https://github.com/mmanela/chutzpah/blob/HEAD/Chutzpah/Extensions/TestingModeExtensions.cs | ghcode:00173:6eb4a259d2a1 | apache-2.0 | codeparrot/github-code | 6eb4a259d2a171670b49519bd85875c3a72834f6d91c590d385c3103a15911bd | 0.75 | testing_debugging_repair_refactoring | 297 | false | 2026-07-17 |
using System;
using System.Threading;
using System.Threading.Tasks;
using Hudl.Mjolnir.Command;
using Hudl.Mjolnir.Key;
using Hudl.Mjolnir.Tests.Helper;
using Xunit;
namespace Hudl.Mjolnir.Tests.Command
{
public class CommandGroupKeyTests : TestFixture
{
[Fact]
public void Construct_WithIsolat... | courtneyklatt/Mjolnir | Hudl.Mjolnir.Tests/Command/CommandGroupKeyTests.cs | https://github.com/courtneyklatt/Mjolnir/blob/HEAD/Hudl.Mjolnir.Tests/Command/CommandGroupKeyTests.cs | ghcode:00173:a3977a8a0308 | apache-2.0 | codeparrot/github-code | a3977a8a030850920d27e1241e8dc445a35ca294cec700969424fc94fba60837 | 0.75 | testing_debugging_repair_refactoring | 371 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ivony.Web.Test
{
public class TestResultException : TestResult
{
public TestResultException( TestInfo info, Exception exception )
: base( info )
{
Exception = exception;
}
public Excepti... | Ivony/WebTest | Ivony.Web.Test/TestResultException.cs | https://github.com/Ivony/WebTest/blob/HEAD/Ivony.Web.Test/TestResultException.cs | ghcode:00173:3080f81c64ad | apache-2.0 | codeparrot/github-code | 3080f81c64ad23e1343cac9683f1276a0418e2b0a8c6a9963c66b5ef82676deb | 0.75 | testing_debugging_repair_refactoring | 155 | 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.Linq;
using Microsoft.Build.Framework;
using Microsoft.CodeAnalysis.BuildTasks;
using Xunit;
using Moq;
namespace Microsoft.CodeA... | garryforreg/roslyn | src/Compilers/Core/MSBuildTaskTests/CscTests.cs | https://github.com/garryforreg/roslyn/blob/HEAD/src/Compilers/Core/MSBuildTaskTests/CscTests.cs | ghcode:00173:31041662a13d | apache-2.0 | codeparrot/github-code | 31041662a13d12e466f25060b6e194e62586e60a5d394962db1bb619f083fb3b | 0.75 | testing_debugging_repair_refactoring | 532 | false | 2026-07-17 |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Threading.Tasks;
using IdentityServer4.Models;
using IdentityServer4.Services;
namespace IdentityServer.UnitTests.Endpoints.End... | IdentityServer/IdentityServer4 | src/IdentityServer4/test/IdentityServer.UnitTests/Endpoints/EndSession/StubBackChannelLogoutClient.cs | https://github.com/IdentityServer/IdentityServer4/blob/HEAD/src/IdentityServer4/test/IdentityServer.UnitTests/Endpoints/EndSession/StubBackChannelLogoutClient.cs | ghcode:00173:01fe7935109a | apache-2.0 | codeparrot/github-code | 01fe7935109a0b42a8d64447426d9b94e99f77307eaf1ce4137a0b829c7c3cad | 0.85 | testing_debugging_repair_refactoring | 134 | 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.Authentication.Tests;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Security.Claims;
using Sy... | aspnet/AspNetCore | src/Security/Authentication/test/SharedAuthenticationTests.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Security/Authentication/test/SharedAuthenticationTests.cs | ghcode:00173:c049cc8c6adc | apache-2.0 | codeparrot/github-code | c049cc8c6adc59196767e2253704c17add08481440c3f71710703cc33b3c882d | 0.85 | testing_debugging_repair_refactoring | 3,787 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using Bjd.ctrl;
using Bjd.net;
using Bjd.option;
using Bjd.util;
using BjdTest.test;
using DnsServer;
using NUnit.Framework;
namespace DnsServerTest{
public cla... | furuya02/bjd5 | DnsServerTest/RrDbTest.cs | https://github.com/furuya02/bjd5/blob/HEAD/DnsServerTest/RrDbTest.cs | ghcode:00173:929c30494336 | apache-2.0 | codeparrot/github-code | 929c30494336d2b0c3cae829243e45f09c83d15ef4076620c2c80a748d5aa6ba | 0.7 | testing_debugging_repair_refactoring | 2,533 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace Assignements
{
[TestClass]
public class CounterInversions
{
[TestMethod]
... | xunilrj/sandbox | courses/coursera-princeton-algorithms-1/csharp/Assignements/CounterInversions.cs | https://github.com/xunilrj/sandbox/blob/HEAD/courses/coursera-princeton-algorithms-1/csharp/Assignements/CounterInversions.cs | ghcode:00173:110f6ed3059d | apache-2.0 | codeparrot/github-code | 110f6ed3059dc6218f672cc39b0c36ac0ff5ffa282258cb4ba6c955f210f50c3 | 0.7 | testing_debugging_repair_refactoring | 1,002 | false | 2026-07-17 |
namespace CloudFlare.NET.Serialization.ZoneGetParametersSpec
{
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Net.Http;
using Machine.Specifications;
using Newtonsoft.Json.Linq;
using Ploeh.AutoFixture;
[Subject... | JSkimming/CloudFlare.NET | src/Tests/CloudFlare.NET.Tests/Serialization/ZoneGetParametersSpec.cs | https://github.com/JSkimming/CloudFlare.NET/blob/HEAD/src/Tests/CloudFlare.NET.Tests/Serialization/ZoneGetParametersSpec.cs | ghcode:00173:5b48913df7c0 | apache-2.0 | codeparrot/github-code | 5b48913df7c043c6fde69ff55e9c32c64d74179e31637125abd1d46829e7b301 | 0.95 | testing_debugging_repair_refactoring | 1,032 | false | 2026-07-17 |
#if !NET45
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.Extensions.Primitives;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Senparc.CO2NET.HttpUtility;
using Senparc.NeuChar.Entities;
using Senparc.Weixin.Entities;
using Senparc.Weixin.MP.Entities.Request;
usi... | lishewen/WeiXinMPSDK | src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/Middleware/MessageHandlerMiddlewareTests.cs | https://github.com/lishewen/WeiXinMPSDK/blob/HEAD/src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/Middleware/MessageHandlerMiddlewareTests.cs | ghcode:00173:e507c373037d | apache-2.0 | codeparrot/github-code | e507c373037d029392eae2833109aae679851fa4edf00e607d62f8f3e656c719 | 0.85 | testing_debugging_repair_refactoring | 1,279 | false | 2026-07-17 |
// Copyright 2020 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | GoogleCloudPlatform/dotnet-docs-samples | spanner/api/Spanner.Samples.Tests/ListDatabaseOperationsTest.cs | https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/HEAD/spanner/api/Spanner.Samples.Tests/ListDatabaseOperationsTest.cs | ghcode:00173:d8914de904bf | apache-2.0 | codeparrot/github-code | d8914de904bfff1b1111e0d68979fdd809fbf3fecae580a59c55a39f700f6606 | 0.85 | testing_debugging_repair_refactoring | 256 | false | 2026-07-17 |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.a... | citizenmatt/gallio | src/Extensions/Icarus/Gallio.Icarus.Tests/Commands/OpenReportCommandTest.cs | https://github.com/citizenmatt/gallio/blob/HEAD/src/Extensions/Icarus/Gallio.Icarus.Tests/Commands/OpenReportCommandTest.cs | ghcode:00173:8399aad1ae2c | apache-2.0 | codeparrot/github-code | 8399aad1ae2c1b0c5740019326005876fffef9edc6e1832bfe297b2dc37957cd | 0.85 | testing_debugging_repair_refactoring | 412 | 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/PythonTools/PythonTools/Intellisense/CompletionAnalysis.cs | https://github.com/DinoV/PTVS/blob/HEAD/Python/Product/PythonTools/PythonTools/Intellisense/CompletionAnalysis.cs | ghcode:00173:1c5bf87af868 | apache-2.0 | codeparrot/github-code | 1c5bf87af8687131cc1c0b02651ad4517d1b7bdbeb3cb3f6c29fbdc78489f913 | 0.85 | testing_debugging_repair_refactoring | 1,606 | 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 ResourceGroups.Tests
{
using Microsoft.Azure.Management.ResourceManager;
using Microsoft.Azure.Management.ResourceManager.Models;
using Mic... | stankovski/azure-sdk-for-net | sdk/resources/Microsoft.Azure.Management.Resource/tests/InMemoryTests/DeploymentWhatIfTests.InMemory.cs | https://github.com/stankovski/azure-sdk-for-net/blob/HEAD/sdk/resources/Microsoft.Azure.Management.Resource/tests/InMemoryTests/DeploymentWhatIfTests.InMemory.cs | ghcode:00173:f1590decad9a | apache-2.0 | codeparrot/github-code | f1590decad9af957d8aa846a5b61cb62a438c90f462be86888c68f291b84841b | 0.95 | testing_debugging_repair_refactoring | 3,386 | false | 2026-07-17 |
/*
* Copyright 2012-2016 The Pkcs11Interop Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | thearkhelist/Pkcs11Interop | src/Pkcs11Interop/Pkcs11InteropTests/LowLevelAPI40/_02_GetInfoTest.cs | https://github.com/thearkhelist/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop/Pkcs11InteropTests/LowLevelAPI40/_02_GetInfoTest.cs | ghcode:00173:b05c249fac5e | apache-2.0 | codeparrot/github-code | b05c249fac5eff638c8289b3b22955187d46e87f279c087b912f9c8a035f43ce | 0.85 | testing_debugging_repair_refactoring | 532 | false | 2026-07-17 |
using CavemanTools.Infrastructure;
using CavemanTools.Logging;
using DomainBus;
using DomainBus.Processing;
using DomainBus.Processing.Internals;
using NSubstitute;
namespace Tests.Processing.Saga
{
public abstract class BaseSagaTests
{
protected IHandlerTypeInvoker _invoker;
protected ... | DomainBus/DomainBus | src/Tests/Processing/Saga/BaseSagaTests.cs | https://github.com/DomainBus/DomainBus/blob/HEAD/src/Tests/Processing/Saga/BaseSagaTests.cs | ghcode:00173:5222d054f4dc | apache-2.0 | codeparrot/github-code | 5222d054f4dc8295ae82c6f6a4b39e007b31d4f8326c2e08a4e22694684676f2 | 0.85 | testing_debugging_repair_refactoring | 287 | 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
//... | Microsoft/PTVS | Python/Tests/Core/PathUtilsTests.cs | https://github.com/Microsoft/PTVS/blob/HEAD/Python/Tests/Core/PathUtilsTests.cs | ghcode:00173:8a6e3df3626c | apache-2.0 | codeparrot/github-code | 8a6e3df3626c3051361c39898b69ba7858e80908cc32f71a6db258e11623388f | 0.95 | testing_debugging_repair_refactoring | 8,907 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// Symbooglix
//
//
// Copyright 2014-2017 Daniel Liew
//
// This file is licensed under the MIT license.
// See LICENSE.txt for details.
//------------------------------------------------------------------... | symbooglix/symbooglix | src/Symbooglix/Executor/StateSchedulers/UntilTerminationBFSStateScheduler.cs | https://github.com/symbooglix/symbooglix/blob/HEAD/src/Symbooglix/Executor/StateSchedulers/UntilTerminationBFSStateScheduler.cs | ghcode:00173:d94b5f922b92 | bsd-2-clause | codeparrot/github-code | d94b5f922b9270581accad8e5a025f5300573705507fb1ec887b42aa11c3071c | 0.78 | testing_debugging_repair_refactoring | 334 | false | 2026-07-17 |
using System.Net;
using Application.BusinessLogic.Contracts;
using Application.Models;
using ServiceStack.Common;
using ServiceStack.Common.Web;
using ServiceStack.ServiceHost;
using ServiceStack.ServiceInterface;
namespace Application.Web.RestServices
{
public class TestRestService
{
[Route("/Tests",... | manuelnelson/BoilerPlateMVC | src/Application.Web/RestServices/TestRestService.cs | https://github.com/manuelnelson/BoilerPlateMVC/blob/HEAD/src/Application.Web/RestServices/TestRestService.cs | ghcode:00173:b672f59d40bb | bsd-2-clause | codeparrot/github-code | b672f59d40bb01faadb90145d1213c48ac71c356a137d158424d84a4ae34390b | 0.68 | testing_debugging_repair_refactoring | 359 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using AgentRalph.CloneCandidateDetection;
using ICSharpCode.NRefactory;
using NUnit.Framework;
namespace AgentRalph.Tests.CloneCandidateDetectionTests
{
[TestFixture]
public class OtherCloneFinderTests
... | jbuedel/AgentRalphPlugin | Ralph.Core.Tests/CloneCandidateDetectionTests/OtherCloneFinderTests.cs | https://github.com/jbuedel/AgentRalphPlugin/blob/HEAD/Ralph.Core.Tests/CloneCandidateDetectionTests/OtherCloneFinderTests.cs | ghcode:00173:26f90e289564 | bsd-3-clause | codeparrot/github-code | 26f90e289564478255c5d058760495a6fe11d40b6af9db854b5396670207374d | 0.85 | testing_debugging_repair_refactoring | 2,119 | false | 2026-07-17 |
using System;
using Aranasoft.Cobweb.Data;
using Iesi.Collections.Generic;
namespace Aranasoft.Cobweb.NHibernate.Tests.Entities {
public class CarEntity : Entity<CarEntity, Guid>, IEquatable<CarEntity> {
public virtual string Name { get; set; }
public virtual PersonEntity Owner { get; set; }
}... | aranasoft/cobweb | src/nhibernate/test/nhibernate3.tests/Entities/Entities.cs | https://github.com/aranasoft/cobweb/blob/HEAD/src/nhibernate/test/nhibernate3.tests/Entities/Entities.cs | ghcode:00173:e9a6793505c2 | bsd-3-clause | codeparrot/github-code | e9a6793505c2b9c17625e4e45ce4c9ad08ba61f62fefe29c36e0e6de26513a9c | 0.85 | testing_debugging_repair_refactoring | 463 | false | 2026-07-17 |
using System.IO;
using Common.Logging;
using Common.Logging.Simple;
using NMultiTool.Library.Infrastructure;
using NMultiTool.Library.Module.Commands.ConvertAllSvgToIco;
using NMultiTool.Library.Module.Commands.ConvertSvgToIco;
using NUnit.Framework;
namespace NMultiTool.Tests.Module.Commands.ConvertSvgToIco
{
[T... | trondr/NMultiTool | src/NMultiTool.Tests/Module/Commands/ConvertSvgToIco/LibraryImageMagicProviderTests.cs | https://github.com/trondr/NMultiTool/blob/HEAD/src/NMultiTool.Tests/Module/Commands/ConvertSvgToIco/LibraryImageMagicProviderTests.cs | ghcode:00173:7b93c18bdc68 | bsd-3-clause | codeparrot/github-code | 7b93c18bdc681673095e3483291d07f03b524438a8d6eea57670ffeba70ab5fc | 0.75 | testing_debugging_repair_refactoring | 308 | false | 2026-07-17 |
using System;
using System.Text;
using NUnit.Framework;
using Raksha.Crypto;
using Raksha.Crypto.Parameters;
using Raksha.Crypto.Digests;
using Raksha.Crypto.Macs;
using Raksha.Utilities;
using Raksha.Utilities.Encoders;
using Raksha.Tests.Utilities;
namespace Raksha.Tests.Crypto
{
/// <summary> SHA224 HMac Test... | Taggersoft/Raksha | src/Raksha.Tests (net45)/Crypto/SHA224HMacTest.cs | https://github.com/Taggersoft/Raksha/blob/HEAD/src/Raksha.Tests (net45)/Crypto/SHA224HMacTest.cs | ghcode:00173:d7bf1520b1ce | mit | codeparrot/github-code | d7bf1520b1ce9ea158e9fb0bfd00989023a2656762a013e62201d01315fbc230 | 0.85 | testing_debugging_repair_refactoring | 1,360 | false | 2026-07-17 |
using NUnit.Framework;
namespace Atata.Tests
{
using _ = WaitingOnInitPage;
[Url(Url)]
public class WaitingOnInitPage : Page<_>
{
public const string Url = "waitingoninit";
public enum WaitKind
{
None,
WaitForElementVisible,
WaitForVisible,... | YevgeniyShunevych/Atata | test/Atata.Tests/Components/WaitingOnInitPage.cs | https://github.com/YevgeniyShunevych/Atata/blob/HEAD/test/Atata.Tests/Components/WaitingOnInitPage.cs | ghcode:00173:7400d6ddfebe | mit | codeparrot/github-code | 7400d6ddfebed3e11a06cedc1c1f9dc9c71e26b24f93f00e8063403c661c73f2 | 0.75 | testing_debugging_repair_refactoring | 289 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Whois.Parsers;
namespace Whois.Parsing.Whois.Nic.Co.Co
{
[TestFixture]
public class CoParsingTests : ParsingTests
{
private WhoisParser parser;
[SetUp]
public void SetUp()
{
SerilogConfig.Init();
parser = n... | flipbit/whois | Whois.Tests/Parsing/whois.nic.co/co/CoParsingTests.cs | https://github.com/flipbit/whois/blob/HEAD/Whois.Tests/Parsing/whois.nic.co/co/CoParsingTests.cs | ghcode:00173:60d0e26fe539 | mit | codeparrot/github-code | 60d0e26fe539d30f5c33972cc5435063f84884ce34ea7eb78b7a2f7031496e01 | 0.85 | testing_debugging_repair_refactoring | 1,697 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.