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 System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.UnitTests.Works... | vslsnap/roslyn | src/VisualStudio/CSharp/Test/Debugging/NameResolverTests.cs | https://github.com/vslsnap/roslyn/blob/HEAD/src/VisualStudio/CSharp/Test/Debugging/NameResolverTests.cs | ghcode:00011:088f0278dea9 | apache-2.0 | codeparrot/github-code | 088f0278dea9a746fad20a87970a87f65b0f81eb222c6d3ff4ce308cd82f95e9 | 0.95 | testing_debugging_repair_refactoring | 5,042 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Globalization.CalendarsTests
{
public class JapaneseCalendarMaxSupportedDateTime
... | mokchhya/corefx | src/System.Globalization.Calendars/tests/JapaneseCalendar/JapaneseCalendarMaxSupportedDateTime.cs | https://github.com/mokchhya/corefx/blob/HEAD/src/System.Globalization.Calendars/tests/JapaneseCalendar/JapaneseCalendarMaxSupportedDateTime.cs | ghcode:00011:c4d65416aa2b | mit | codeparrot/github-code | c4d65416aa2b97978f9c7418f2263dc515b40d47d2f030e4fccaa6453fe85491 | 0.95 | testing_debugging_repair_refactoring | 96 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Xunit;
namespace System.Collec... | kkurni/corefx | src/System.Collections/tests/Generic/List/List.Generic.Tests.Remove.cs | https://github.com/kkurni/corefx/blob/HEAD/src/System.Collections/tests/Generic/List/List.Generic.Tests.Remove.cs | ghcode:00011:050211aecf1d | mit | codeparrot/github-code | 050211aecf1d9f031fc33d5e81bea64702e53ac9a4c4afccaa43f0f1c71dafc3 | 0.95 | testing_debugging_repair_refactoring | 1,174 | 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... | mlorbetske/azure-sdk-tools | WindowsAzurePowershell/src/Management.ScenarioTest/ServiceBusTests/ServiceBusNamespaceTests.cs | https://github.com/mlorbetske/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.ScenarioTest/ServiceBusTests/ServiceBusNamespaceTests.cs | ghcode:00011:2a4aa69b354c | apache-2.0 | codeparrot/github-code | 2a4aa69b354c385bb37c51eb0f1b13655de64e67a8d162564eb7b08cf6ad4641 | 0.95 | testing_debugging_repair_refactoring | 1,823 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Diagnostics;
using System.Linq;
using Xunit;
using System.Collections.Generic;
using System.Reflection;
namespace Octokit.Tests.Conventions
{
public class ModelTests
{
[Theory]
[MemberData("ModelTypes")]
public void AllModelsHaveDebu... | SmithAndr/octokit.net | Octokit.Tests.Conventions/ModelTests.cs | https://github.com/SmithAndr/octokit.net/blob/HEAD/Octokit.Tests.Conventions/ModelTests.cs | ghcode:00011:21d7f0789a3e | mit | codeparrot/github-code | 21d7f0789a3ed958b82f551605dbe566e9d9bbe9f38339b46a0fedb1b8c7de8b | 0.85 | testing_debugging_repair_refactoring | 1,177 | 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 Microsoft.Azure.Search.Tests
{
using System;
using System.Linq;
using Common;
using Newtonsoft.Json;
using Spatial;
public ... | ayeletshpigelman/azure-sdk-for-net | sdk/search/Microsoft.Azure.Search/tests/Tests/Models/LoudHotel.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/search/Microsoft.Azure.Search/tests/Tests/Models/LoudHotel.cs | ghcode:00011:58464e5946b9 | mit | codeparrot/github-code | 58464e5946b9e4afe0865654a63a3fc5c7cf213eea97cb3f57cafd932155e0fb | 0.95 | testing_debugging_repair_refactoring | 1,626 | 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 Y... | stuartwmurray/npoi | testcases/main/HSSF/UserModel/TestFormulaEvaluatorBugs.cs | https://github.com/stuartwmurray/npoi/blob/HEAD/testcases/main/HSSF/UserModel/TestFormulaEvaluatorBugs.cs | ghcode:00011:0e8b043238f6 | apache-2.0 | codeparrot/github-code | 0e8b043238f6a4a6d09f935ed751ed81f298b44bb953eaf44aec61293b941acb | 0.85 | testing_debugging_repair_refactoring | 4,137 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="FakeParseMethods.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//------------------------------------... | hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataOData/Tests/OData.Query.TDD.Tests/TestUtilities/FakeParseMethods.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Tests/OData.Query.TDD.Tests/TestUtilities/FakeParseMethods.cs | ghcode:00011:5d219df8bdf7 | mit | codeparrot/github-code | 5d219df8bdf7a5299c5e9a22a9f6c24b36cecd5c5243193b38b021a632e4e08b | 0.95 | testing_debugging_repair_refactoring | 214 | false | 2026-07-17 |
using System;
using System.Diagnostics;
namespace ExactOnline.Client.Sdk.PerformanceTests.Helpers
{
public class TestTimer
{
public static TimeSpan Time(Action toTime)
{
var timer = Stopwatch.StartNew();
toTime();
timer.Stop();
return timer.Elapsed;
}
}
}
| Threetwosevensixseven/exactonline-api-dotnet-client | test/ExactOnline.Client.Sdk.PerformanceTests/Helpers/TestTimer.cs | https://github.com/Threetwosevensixseven/exactonline-api-dotnet-client/blob/HEAD/test/ExactOnline.Client.Sdk.PerformanceTests/Helpers/TestTimer.cs | ghcode:00011:520da69b06c8 | mit | codeparrot/github-code | 520da69b06c8b115157a042d53f26cd3c8572753b5e7ba5171d427de4f6ac950 | 0.75 | testing_debugging_repair_refactoring | 64 | 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 Y... | antony-liu/npoi | testcases/main/SS/Formula/Functions/TestSumproduct.cs | https://github.com/antony-liu/npoi/blob/HEAD/testcases/main/SS/Formula/Functions/TestSumproduct.cs | ghcode:00011:e303a410b80e | apache-2.0 | codeparrot/github-code | e303a410b80e29bd1b7ad14513441e0508af6c11e1fdcf852f66798e6f35a05e | 0.85 | testing_debugging_repair_refactoring | 935 | false | 2026-07-17 |
// <copyright file="BinomialTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009-2014 Math.NET
//
// Permission is hereby granted, free of charge, t... | grovesNL/mathnet-numerics | src/UnitTests/DistributionTests/Discrete/BinomialTests.cs | https://github.com/grovesNL/mathnet-numerics/blob/HEAD/src/UnitTests/DistributionTests/Discrete/BinomialTests.cs | ghcode:00011:527fa783cfce | mit | codeparrot/github-code | 527fa783cfcea100bdd4453b692187fe141024a82a76edaa8da1e3e0c622c3e6 | 0.85 | testing_debugging_repair_refactoring | 3,827 | 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... | physhi/roslyn | src/VisualStudio/Core/Test.Next/Services/SolutionAssetCacheTests.cs | https://github.com/physhi/roslyn/blob/HEAD/src/VisualStudio/Core/Test.Next/Services/SolutionAssetCacheTests.cs | ghcode:00011:68ca0a0b9e67 | apache-2.0 | codeparrot/github-code | 68ca0a0b9e67ce4208fcebfa6fdaae28454b014c01f63c8458c7b70f6bb1c572 | 0.85 | testing_debugging_repair_refactoring | 388 | false | 2026-07-17 |
using System;
using System.Data;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Simple.Data.Mocking.Test
{
[TestFixture]
public class MockConnectionSchemaTest
{
[Test]
public void TestMethod1()
{
}
... | erdincay/Simple.Data | Simple.Data.Mocking.Test/MockConnectionSchemaTest.cs | https://github.com/erdincay/Simple.Data/blob/HEAD/Simple.Data.Mocking.Test/MockConnectionSchemaTest.cs | ghcode:00011:6a00c71821fc | mit | codeparrot/github-code | 6a00c71821fc89208691f301f2b9a9f7f29fa77cea599d9f8bdfd0392792d682 | 0.75 | testing_debugging_repair_refactoring | 64 | false | 2026-07-17 |
using System;
using System.IO;
using Elasticsearch.Net.Connection;
using Elasticsearch.Net.Connection.Configuration;
namespace Elasticsearch.Net.Tests.Unit.Failover.Concurrent
{
/// <summary>
/// This simulates a super flakey elasticsearch cluster.
/// - if random 1-9 is a muliple of 3 throw a 503
/// - never thro... | joehmchan/elasticsearch-net | src/Tests/Elasticsearch.Net.Tests.Unit/Failover/Concurrent/ConcurrencyTestConnection.cs | https://github.com/joehmchan/elasticsearch-net/blob/HEAD/src/Tests/Elasticsearch.Net.Tests.Unit/Failover/Concurrent/ConcurrencyTestConnection.cs | ghcode:00011:2e8948def003 | apache-2.0 | codeparrot/github-code | 2e8948def0036681caf33ac31304f9d7ecf6e770860e4696ef364dc7f196fe32 | 0.95 | testing_debugging_repair_refactoring | 317 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.CSharp.KeywordHi... | physhi/roslyn | src/EditorFeatures/CSharpTest/KeywordHighlighting/AsyncLocalFunctionHighlighterTests.cs | https://github.com/physhi/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/KeywordHighlighting/AsyncLocalFunctionHighlighterTests.cs | ghcode:00011:a0d4e53d2a5e | apache-2.0 | codeparrot/github-code | a0d4e53d2a5e9d76458878141864fb16189e15d1266e5e4e4e66ffbdf9df79de | 0.85 | testing_debugging_repair_refactoring | 268 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class EventBuilderSetAddOnMethod
{
pub... | iamjasonp/corefx | src/System.Reflection.Emit/tests/EventBuilder/EventBuilderSetAddOnMethod.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Reflection.Emit/tests/EventBuilder/EventBuilderSetAddOnMethod.cs | ghcode:00011:d594884ba450 | mit | codeparrot/github-code | d594884ba450f4221077ec8fb30ce0775a8f566fb53dc85c8819c886a2654f7d | 0.95 | testing_debugging_repair_refactoring | 842 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2008 Charlie Poole
//
// 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, incl... | msgpack/msgpack-cli | test/NUnitLite/NUnitFramework/framework/Attributes/TimeoutAttribute.cs | https://github.com/msgpack/msgpack-cli/blob/HEAD/test/NUnitLite/NUnitFramework/framework/Attributes/TimeoutAttribute.cs | ghcode:00011:96cd3e22172d | apache-2.0 | codeparrot/github-code | 96cd3e22172dd246591e4c306bb3b585a33a589ef092ca16a6ecc09dec88db1f | 0.7 | testing_debugging_repair_refactoring | 495 | 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
#if NETCOREAPP
using System;
using System.Collections.Generic;
using Roslyn.Test.Utilities;
na... | brettfo/roslyn | src/Test/Utilities/Portable/Platform/CoreClr/CoreCLRRuntimeEnvironmentFactory.cs | https://github.com/brettfo/roslyn/blob/HEAD/src/Test/Utilities/Portable/Platform/CoreClr/CoreCLRRuntimeEnvironmentFactory.cs | ghcode:00011:8fe7944ad23a | apache-2.0 | codeparrot/github-code | 8fe7944ad23a6a808a4fdc98e774a61d1bc260f0441fe45e50276c647b075c06 | 0.95 | testing_debugging_repair_refactoring | 122 | 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.Immutable;
using System.Linq;
using Microsoft.CodeAnalysi... | physhi/roslyn | src/Workspaces/CoreTest/SolutionTests/ProjectInfoTests.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Workspaces/CoreTest/SolutionTests/ProjectInfoTests.cs | ghcode:00011:0a105ebbff72 | apache-2.0 | codeparrot/github-code | 0a105ebbff72ec706cd667de17456a9e355bb6b3fbf9fb18f240dff3831a2155 | 0.85 | testing_debugging_repair_refactoring | 2,751 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using Xunit;
namespace System.Linq.Tests
{
public class Sequenc... | benpye/corefx | src/System.Linq.Queryable/tests/SequenceEqualTests.cs | https://github.com/benpye/corefx/blob/HEAD/src/System.Linq.Queryable/tests/SequenceEqualTests.cs | ghcode:00011:84a554a782c6 | mit | codeparrot/github-code | 84a554a782c609b51c25745db8e27b0480e2fb1743ea58f331d94abf5da1fa39 | 0.95 | testing_debugging_repair_refactoring | 526 | 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.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System... | shimingsg/corefx | src/System.ComponentModel.Composition/tests/System/Integration/RecompositionTests.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.ComponentModel.Composition/tests/System/Integration/RecompositionTests.cs | ghcode:00011:e0e908b975b3 | mit | codeparrot/github-code | e0e908b975b39d315e5bea8389b1504530708d97859193182d7ee512b1135e0c | 0.95 | testing_debugging_repair_refactoring | 3,509 | 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... | zhencui/azure-powershell | src/Common/Commands.Common.Authentication.Test/ConversionUtilitiesTests.cs | https://github.com/zhencui/azure-powershell/blob/HEAD/src/Common/Commands.Common.Authentication.Test/ConversionUtilitiesTests.cs | ghcode:00011:652b251f4ab5 | apache-2.0 | codeparrot/github-code | 652b251f4ab519ae95c78fd026b13b16c49df6ba28d3c0fc0d6902d6e28345b1 | 0.85 | testing_debugging_repair_refactoring | 772 | 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.Reflection;
using System.Reflection.Metadata;
using Roslyn.Test.Ut... | ManishJayaswal/roslyn | src/Compilers/Core/CodeAnalysisTest/MetadataReferences/AssemblyIdentityTests.cs | https://github.com/ManishJayaswal/roslyn/blob/HEAD/src/Compilers/Core/CodeAnalysisTest/MetadataReferences/AssemblyIdentityTests.cs | ghcode:00011:1305a86530bd | apache-2.0 | codeparrot/github-code | 1305a86530bdaf22352851690d5776b57d7186869783edd2a961182d07cfb3bd | 0.85 | testing_debugging_repair_refactoring | 3,970 | 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 Xunit;
public class ConvertToUInt32Tests : ConvertTestBase<UInt32>
{
[Fact]
public void FromBoolean()
{
Boolean[] testValues = ... | erpframework/corefx | src/System.Runtime.Extensions/tests/System/Convert.ToUInt32.cs | https://github.com/erpframework/corefx/blob/HEAD/src/System.Runtime.Extensions/tests/System/Convert.ToUInt32.cs | ghcode:00011:4a45c16d1f12 | mit | codeparrot/github-code | 4a45c16d1f1220f6779cdfef15275b9b49b742151d4986471f93eaea49ffd63a | 0.85 | testing_debugging_repair_refactoring | 2,388 | 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.IO;
using System.Text;
using System.Collections;
using Xunit;
namespace System.Security.Cryptography.Encoding.Tests
{
public class OidCollectionTests
... | vs-team/corefx | src/System.Security.Cryptography.Encoding/tests/OidCollection.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Security.Cryptography.Encoding/tests/OidCollection.cs | ghcode:00011:7eb142a34f67 | mit | codeparrot/github-code | 7eb142a34f673462e872254ce23271ecc15722947c08b62e05247e4d14f8a527 | 0.95 | testing_debugging_repair_refactoring | 818 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.ComponentModel.Composition
{
public class PartMetadataAttributeTests
{
... | BrennanConroy/corefx | src/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/PartMetadataAttributeTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/PartMetadataAttributeTests.cs | ghcode:00011:7c56fdaf2e3a | mit | codeparrot/github-code | 7c56fdaf2e3a1dd791fc1377ef7494480751ba0c9bbd4a92845eb11316be858a | 0.95 | testing_debugging_repair_refactoring | 240 | 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 System.Reflection;
namespace Roslyn.Test.Utilities
{
public static class ReflectionAssert
{
public st... | droyad/roslyn | src/Test/Utilities/ReflectionAssert.cs | https://github.com/droyad/roslyn/blob/HEAD/src/Test/Utilities/ReflectionAssert.cs | ghcode:00011:0c10b4233faa | apache-2.0 | codeparrot/github-code | 0c10b4233faa4dac19a0008de0a71aeea370ea881cce13926848417c2563aa07 | 0.85 | testing_debugging_repair_refactoring | 216 | 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.
namespace MS.Internal.Xml.XPath
{
using System;
using System.Xml;
using System.Xml.XPath;
using Syst... | nbarbettini/corefx | src/System.Private.Xml/src/System/Xml/XPath/Internal/XPathMultyIterator.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/XPath/Internal/XPathMultyIterator.cs | ghcode:00011:4e2bd2d5081a | mit | codeparrot/github-code | 4e2bd2d5081a7bcc664a3e2632bf17e94af993a95a6dfbb0e4cbb803d67fea66 | 0.95 | testing_debugging_repair_refactoring | 1,113 | false | 2026-07-17 |
using System.Diagnostics.Contracts;
using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using NUnit.Framework;
using ReSharper.ContractExtensions.ContextActions.Requires;
namespace ReSharper.ContractExtensions.Tests.Preconditions
{
[TestFixture]
public class ComboMethodRequiresContextActionExecuteTest... | SergeyTeplyakov/ReSharperContractExtensions | ReSharper.ContractExtensions.Tests/src/Requires/ComboMethodRequiresContextActionExecuteTest.cs | https://github.com/SergeyTeplyakov/ReSharperContractExtensions/blob/HEAD/ReSharper.ContractExtensions.Tests/src/Requires/ComboMethodRequiresContextActionExecuteTest.cs | ghcode:00011:9d6d3d2c489d | mit | codeparrot/github-code | 9d6d3d2c489d7b9d103c5b29ea0861407ef10f6069c1e2127a65b971bf5e752d | 0.85 | testing_debugging_repair_refactoring | 194 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Excess.Compiler;
using Excess.Compiler.Roslyn;
namespace xslang
{
using System;
using CSharp = Microsoft.CodeAnalysis.CSharp.SyntaxFa... | xs-admin/Excess | Excess.Compiler/xslang/Match.cs | https://github.com/xs-admin/Excess/blob/HEAD/Excess.Compiler/xslang/Match.cs | ghcode:00011:c1cd9f51aa47 | mit | codeparrot/github-code | c1cd9f51aa477120a4de323c2c217b4242f130b27c7dd1b04654b474240a773b | 0.6 | testing_debugging_repair_refactoring | 981 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SoundCloud.Api.Endpoints;
using SoundCloud.Api.Entities;
using SoundCloud.Api.Exceptions;
using SoundCloud.Api.Web;
namespace SoundCloud.Api.Test.Endpoints
{
[TestFixture]
p... | prayzzz/SoundCloud.Api | test/SoundCloud.Api.Test/Endpoints/CommentsTest.cs | https://github.com/prayzzz/SoundCloud.Api/blob/HEAD/test/SoundCloud.Api.Test/Endpoints/CommentsTest.cs | ghcode:00011:9b8a009a42d9 | mit | codeparrot/github-code | 9b8a009a42d94476d6e2c9f100ab8f9b32b61130655b492e9af6f64847e0d8e8 | 0.7 | testing_debugging_repair_refactoring | 756 | false | 2026-07-17 |
using CSharpVerbalExpressions;
using NUnit.Framework;
namespace VerbalExpressionsUnitTests {
[ TestFixture ]
public class CaptureTests {
[ Test ]
public void BeginCaptureAndEndCapture_AddComOrOrg_RegexIsAsExpected() {
// Arrange
VerbalExpressions verbEx = VerbalExpress... | joshjje/CSharpVerbalExpressions | VerbalExpressionsUnitTests/CaptureTests.cs | https://github.com/joshjje/CSharpVerbalExpressions/blob/HEAD/VerbalExpressionsUnitTests/CaptureTests.cs | ghcode:00011:03792a008270 | mit | codeparrot/github-code | 03792a00827064b98ac2bed63691c1c8872d16e77aba4a438c530e28605967f0 | 0.85 | testing_debugging_repair_refactoring | 403 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Famoser.SyncApi.Models;
using Famoser.SyncApi.UnitTests.Helpers;
using Famoser.SyncApi.UnitTests.Implementations;
using Famoser.SyncApi.UnitTests.Models;
using Microsoft.VisualStudio.TestTools.Unit... | famoser/SyncApi | Famoser.SyncApi.UnitTests/RepositoryTests/CollectionRepositoryTests.cs | https://github.com/famoser/SyncApi/blob/HEAD/Famoser.SyncApi.UnitTests/RepositoryTests/CollectionRepositoryTests.cs | ghcode:00011:20d09b3e0188 | mit | codeparrot/github-code | 20d09b3e0188f43bcd748b670b7ebe3ee827c04d2328f003bc75ad43c6bcecd6 | 0.85 | testing_debugging_repair_refactoring | 1,475 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TypeMock.ArrangeActAssert;
namespace Nucleo.Web.ContainerControls.ClientSettings
{
[TestClass]
public class PanelDraggingClientEventsTest
{
#region " Tests "
[TestMethod]
public void CreatingEventsWorksOK()
{
//Arrange
var even... | brianmains/Nucleo.NET | src/Nucleo.UnitTests.40.MS/Web/ContainerControls/ClientSettings/PanelDraggingClientEventsTest.cs | https://github.com/brianmains/Nucleo.NET/blob/HEAD/src/Nucleo.UnitTests.40.MS/Web/ContainerControls/ClientSettings/PanelDraggingClientEventsTest.cs | ghcode:00011:b5647590244f | mit | codeparrot/github-code | b5647590244f4d723d7da940267dc87484ce83e613689191498cb41a6880592b | 0.7 | testing_debugging_repair_refactoring | 357 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2014-2016, 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... | cubeme/ssharp | Tests/Analysis/Invariants/CounterExamples/initial state exception.cs | https://github.com/cubeme/ssharp/blob/HEAD/Tests/Analysis/Invariants/CounterExamples/initial state exception.cs | ghcode:00011:8e885f1bd8c8 | mit | codeparrot/github-code | 8e885f1bd8c8eb9efacc247371d611c94e794089dbdb6a97657de479b71e952c | 0.85 | testing_debugging_repair_refactoring | 505 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Omu.ValueInjecter;
namespace Tests
{
[TestFixture]
public class Noemata
{
[Test]
public void Test()
{
var projects = new List<Project>();
var bigprojects = new[] { new BigProj... | cristi-badila/.Net2.0-ValueInjecter | Tests/Noemata.cs | https://github.com/cristi-badila/.Net2.0-ValueInjecter/blob/HEAD/Tests/Noemata.cs | ghcode:00011:4701ee8a252c | mit | codeparrot/github-code | 4701ee8a252c2108db81d6db948afadb0528814c24bd3b6c4d8020057997276d | 0.6 | testing_debugging_repair_refactoring | 430 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
public cl... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1131CSharp10UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1131CSharp10UnitTests.cs | ghcode:00011:4b7023b79677 | mit | codeparrot/github-code | 4b7023b79677fc97100f9f39f71330211951e92c5596e829920a21299380d171 | 0.75 | testing_debugging_repair_refactoring | 98 | false | 2026-07-17 |
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System.Diagnostics;
namespace FluentAssertions.Analyzers
{
[DebuggerDisplay("RenameAndRemoveFirstArgument(oldName: \"{_oldName}\", newName: \"{_newName}\")")]
public class RenameAndRemoveFirstArgumentNodeReplacement : RenameNodeReplacement
{
public... | fluentassertions/fluentassertions.analyzers | src/FluentAssertions.Analyzers/Utilities/NodeReplacements/RenameAndRemoveFirstArgumentNodeReplacement.cs | https://github.com/fluentassertions/fluentassertions.analyzers/blob/HEAD/src/FluentAssertions.Analyzers/Utilities/NodeReplacements/RenameAndRemoveFirstArgumentNodeReplacement.cs | ghcode:00011:46b1d51a7a3c | mit | codeparrot/github-code | 46b1d51a7a3c121d5b510133e5bdc60787b0b1e82c43a524f0659565d3aa2045 | 0.75 | testing_debugging_repair_refactoring | 164 | false | 2026-07-17 |
using CodeNav.Mappers;
using CodeNav.Models;
using NUnit.Framework;
using System;
using System.IO;
using System.Linq;
namespace CodeNav.Tests.MapperTests
{
[TestFixture]
public class TestSwitch
{
[Test]
public void TestSwitchShouldBeOk()
{
var document = SyntaxMapper.Ma... | sboulema/CodeNav | CodeNav.Tests/MapperTests/TestSwitch.cs | https://github.com/sboulema/CodeNav/blob/HEAD/CodeNav.Tests/MapperTests/TestSwitch.cs | ghcode:00011:b13bd4a64842 | mit | codeparrot/github-code | b13bd4a648423dd1395c79d21d2ddc3c5b1f46db5678e6b07b3e237f80bd19ca | 0.85 | testing_debugging_repair_refactoring | 364 | false | 2026-07-17 |
// The MIT License
//
// Copyright (c) 2012-2015 Jordan E. Terrell
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
... | iSynaptic/iSynaptic.Commons | Testing/iSynaptic.Commons.UnitTests/Diagnostics/LoggerExtensionsTests.cs | https://github.com/iSynaptic/iSynaptic.Commons/blob/HEAD/Testing/iSynaptic.Commons.UnitTests/Diagnostics/LoggerExtensionsTests.cs | ghcode:00011:31d10ef612ed | mit | codeparrot/github-code | 31d10ef612edb8a756cd1d201afec922870b55a23a1a9c804511487f4718c654 | 0.85 | testing_debugging_repair_refactoring | 486 | false | 2026-07-17 |
namespace PinballClientTests.ClientDisplays.DeviceInformation
{
class SwitchConfigurationViewModelTests
{
}
}
| rampantslug/pinball-framework | client/test/PinballClientTests/ClientDisplays/DeviceInformation/SwitchConfigurationViewModelTests.cs | https://github.com/rampantslug/pinball-framework/blob/HEAD/client/test/PinballClientTests/ClientDisplays/DeviceInformation/SwitchConfigurationViewModelTests.cs | ghcode:00011:054a65cdc9ee | mit | codeparrot/github-code | 054a65cdc9ee619a529fc271585f8f1163077191674f9f73276f8dd8d5325f00 | 0.45 | testing_debugging_repair_refactoring | 23 | false | 2026-07-17 |
using CharacterGen.Alignments;
using CharacterGen.CharacterClasses;
using CharacterGen.Domain.Generators.Classes;
using CharacterGen.Domain.Selectors.Collections;
using CharacterGen.Domain.Tables;
using CharacterGen.Races;
using CharacterGen.Randomizers.CharacterClasses;
using DnDGen.Core.Selectors.Collections;
using ... | DnDGen/CharacterGen | CharacterGen.Tests.Unit/Generators/Classes/CharacterClassGeneratorTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Unit/Generators/Classes/CharacterClassGeneratorTests.cs | ghcode:00011:5f83563cc05f | mit | codeparrot/github-code | 5f83563cc05fc6cf71b32e80f57d269ea4bd229d3815a1a4e118f2b367ce328a | 0.75 | testing_debugging_repair_refactoring | 4,558 | false | 2026-07-17 |
using NSubstitute;
using System;
using System.Threading.Tasks;
using Xunit;
namespace Octokit.Tests.Clients
{
public class IssueCommentReactionsClientTests
{
public class TheCtor
{
[Fact]
public void EnsuresNonNullArguments()
{
Assert.Throws<... | devkhan/octokit.net | Octokit.Tests/Clients/IssueCommentReactionsClientTests.cs | https://github.com/devkhan/octokit.net/blob/HEAD/Octokit.Tests/Clients/IssueCommentReactionsClientTests.cs | ghcode:00011:fa7be4ae6c3e | mit | codeparrot/github-code | fa7be4ae6c3ecb4847b0f148e3522b8eeb365aeab0c1368d4bd018985cec3628 | 0.75 | testing_debugging_repair_refactoring | 501 | false | 2026-07-17 |
using System.Threading.Tasks;
using Ocelot.Infrastructure;
using Shouldly;
using Xunit;
namespace Ocelot.UnitTests.Infrastructure
{
public class InMemoryBusTests
{
private readonly InMemoryBus<object> _bus;
public InMemoryBusTests()
{
_bus = new InMemoryBus<object>();
... | TomPallister/Ocelot | test/Ocelot.UnitTests/Infrastructure/InMemoryBusTests.cs | https://github.com/TomPallister/Ocelot/blob/HEAD/test/Ocelot.UnitTests/Infrastructure/InMemoryBusTests.cs | ghcode:00011:097baf340f4d | mit | codeparrot/github-code | 097baf340f4d6c27b89c88f5711010287413a44d793e764fefe0773e8ef0b56f | 0.75 | testing_debugging_repair_refactoring | 192 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using Xunit;
namespace Endless.Tests
{
public class Samples
{
[Fact]
public void AlternatingDigitSum_Sample()
{
IEnumerable<int> digits(int number)
... | tompazourek/Endless | tests/Endless.Tests/Samples/Samples.cs | https://github.com/tompazourek/Endless/blob/HEAD/tests/Endless.Tests/Samples/Samples.cs | ghcode:00011:b1926f206a78 | mit | codeparrot/github-code | b1926f206a7835b7a21772681cc8b1bca9b94cdef688a0d49f522adbd2d49234 | 0.7 | testing_debugging_repair_refactoring | 2,119 | false | 2026-07-17 |
using NMock;
using NUnit.Framework;
namespace wsm.Puzzle.Tests
{
[TestFixture]
public class Test<%= name %>Presenter : TestHelper
{
private DynamicMock modelMock;
private I<%= name %>Model model;
private DynamicMock adapterMock;
private I<%= name %>Adapter adapter;
[SetUp]
public void Set... | atomicobject/csharp_mvp_generator | code_generator/templates/mvp/TestPresenterWithAdapter.cs | https://github.com/atomicobject/csharp_mvp_generator/blob/HEAD/code_generator/templates/mvp/TestPresenterWithAdapter.cs | ghcode:00011:1c45fd2ea0c6 | mit | codeparrot/github-code | 1c45fd2ea0c6d2491098bb12ec0084391117f55740a36510002f5584206511bc | 0.85 | testing_debugging_repair_refactoring | 255 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Saule;
using Saule.Queries.Pagination;
using Saule.Serialization;
using Tests.Helpers;
using Tests.Models;
using Xunit;
using Xunit.Abstractions;
namespace Tests.Serialization
{
public class UrlConstructionTests
{
... | goo32/saule | Tests/Serialization/UrlConstructionTests.cs | https://github.com/goo32/saule/blob/HEAD/Tests/Serialization/UrlConstructionTests.cs | ghcode:00011:6d99547236f7 | mit | codeparrot/github-code | 6d99547236f79daa6e1156e9c0d743d9d2372b057a01e024462c23a48f1939d0 | 0.85 | testing_debugging_repair_refactoring | 2,116 | false | 2026-07-17 |
using Cielo.Responses.Exceptions;
using FluentAssertions;
using NUnit.Framework;
namespace CieloTests
{
[TestFixture]
public class ResponseErrorTests
{
private const string XmlResponse = @"<erro xmlns=""http://ecommerce.cbmp.com.br"">
<codigo>014</co... | lfreneda/Cielo | tests/CieloTests/ResponseErrorTests.cs | https://github.com/lfreneda/Cielo/blob/HEAD/tests/CieloTests/ResponseErrorTests.cs | ghcode:00011:713cf7570ba5 | mit | codeparrot/github-code | 713cf7570ba53cd23c29eab10f795a5471259b98fb971479706a169cf1368bc8 | 0.75 | testing_debugging_repair_refactoring | 215 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
namespace SFA.DAS.EmployerUsers.Application.UnitTests.ServicesTests.NotificationTests.CommunicationServiceTests
{
public class WhenSendingPasswordResetCodeMessage : CommunicationServiceTestBase
{
private const strin... | SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Application.UnitTests/ServicesTests/NotificationTests/CommunicationServiceTests/WhenSendingPasswordResetCodeMessage.cs | https://github.com/SkillsFundingAgency/das-employerusers/blob/HEAD/src/SFA.DAS.EmployerUsers.Application.UnitTests/ServicesTests/NotificationTests/CommunicationServiceTests/WhenSendingPasswordResetCodeMessage.cs | ghcode:00011:4f48645de467 | mit | codeparrot/github-code | 4f48645de467bf8c5be477b0a81ff40d2599dc85f237c929ed28cc34de99ab3e | 0.6 | testing_debugging_repair_refactoring | 226 | false | 2026-07-17 |
using Microsoft.Azure.Documents;
using Microsoft.DataTransfer.Basics.Threading;
using Microsoft.DataTransfer.DocumentDb.Client;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.DataTransfer.Doc... | Azure/azure-documentdb-datamigrationtool | DocumentDb/Microsoft.DataTransfer.DocumentDb.UnitTests/Sink/DocumentDbWriteClientMock.cs | https://github.com/Azure/azure-documentdb-datamigrationtool/blob/HEAD/DocumentDb/Microsoft.DataTransfer.DocumentDb.UnitTests/Sink/DocumentDbWriteClientMock.cs | ghcode:00011:6b0acad9c38b | mit | codeparrot/github-code | 6b0acad9c38bb6967fc29b92a301a4fb89a9591992d4afcf85cca11aadebb128 | 0.75 | testing_debugging_repair_refactoring | 586 | false | 2026-07-17 |
namespace Firebase.Auth.Tests
{
using System;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
//[TestClass]
public class IntegrationTests
{
private const string ApiKey = "<YOUR API KEY>";
private const string FacebookAccessT... | step-up-labs/firebase-authentication-dotnet | src/Firebase.Auth.Tests/IntegrationTests.cs | https://github.com/step-up-labs/firebase-authentication-dotnet/blob/HEAD/src/Firebase.Auth.Tests/IntegrationTests.cs | ghcode:00011:b8299a5733bd | mit | codeparrot/github-code | b8299a5733bd4a9e83be8e778d3fc2d09af97de1fefdcc8865b880f719dc5c39 | 0.75 | testing_debugging_repair_refactoring | 1,390 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using AonWeb.FluentHttp.HAL.Serialization;
using Newtonsoft.Json;
namespace AonWeb.FluentHttp.Tests.Helpers
{
public class TestListEmbeddedPropertyParentsResource : TestResource, IEquatable<TestListEmbeddedPropertyParentsResource>
{
[Ha... | aonweb/fluent-http | AonWeb.FluentHttp.Tests/Helpers/TestListEmbeddedPropertyParentsResource.cs | https://github.com/aonweb/fluent-http/blob/HEAD/AonWeb.FluentHttp.Tests/Helpers/TestListEmbeddedPropertyParentsResource.cs | ghcode:00011:867015ba118c | mit | codeparrot/github-code | 867015ba118c7afdcd8a9156736f52b94699fede0551e4e1468e1466cb02e4f1 | 0.85 | testing_debugging_repair_refactoring | 1,585 | false | 2026-07-17 |
namespace Divergic.Logging.Xunit.UnitTests
{
using System;
using System.Linq;
using FluentAssertions;
using global::Xunit;
using Microsoft.Extensions.Logging;
using ModelBuilder;
using NSubstitute;
public class CacheLoggerTests
{
[Fact]
public void BeginScopeReturns... | roryprimrose/Neovolve.UnitTest | Divergic.Logging.Xunit.UnitTests/CacheLoggerTests.cs | https://github.com/roryprimrose/Neovolve.UnitTest/blob/HEAD/Divergic.Logging.Xunit.UnitTests/CacheLoggerTests.cs | ghcode:00011:90ce3e954936 | mit | codeparrot/github-code | 90ce3e9549365dcfe4dec3d0f208bbb6a032b4c69d4da2a6d663d1c0ad8c0ef9 | 0.85 | testing_debugging_repair_refactoring | 2,722 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using Microsoft.Runtime.CompilerServices;
namespace BinaryVibrance.TAPFacade
{
internal class CommonTypes
{
public CommonTypes(Type taskType)
{
T... | AtomicBlom/TAPFacade | BinaryVibrance.TAPFacade/CommonTypes.cs | https://github.com/AtomicBlom/TAPFacade/blob/HEAD/BinaryVibrance.TAPFacade/CommonTypes.cs | ghcode:00011:180692284075 | mit | codeparrot/github-code | 180692284075c437a34ba98893608d17d1f9dffd4db9c351e258c52d093c6352 | 0.6 | testing_debugging_repair_refactoring | 760 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
namespace Wexflow.NetCore.Tests
{
[TestClass]
public class TextsDecryptor
{
private static readonly string TextsDecryptorSrcFolder = @"C:\WexflowTesting\TextsDecryptor_src\";
private static readonly string TextsDecryptorD... | aelassas/Wexflow | src/tests/netcore/Wexflow.NetCore.Tests/TextsDecryptor.cs | https://github.com/aelassas/Wexflow/blob/HEAD/src/tests/netcore/Wexflow.NetCore.Tests/TextsDecryptor.cs | ghcode:00011:1d630bc637c9 | mit | codeparrot/github-code | 1d630bc637c9e84699ebae05eee5ae7c22451c6fb7c9066a06bba8d473681ed4 | 0.85 | testing_debugging_repair_refactoring | 294 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework;
namespace FineGameDesign.Utils
{
[TestFixture]
internal sealed class TestButtonController
{
[Test]
public void Update()
{
ButtonController controller = new ButtonController();
Assert.AreEqual(null, cont... | ethankennerly/UnityToykit | Editor/Tests/TestButtonController.cs | https://github.com/ethankennerly/UnityToykit/blob/HEAD/Editor/Tests/TestButtonController.cs | ghcode:00011:936667855e2f | mit | codeparrot/github-code | 936667855e2ffb279a117ed048949bb183f524f35eaaf181a12b42807a860a22 | 0.85 | testing_debugging_repair_refactoring | 162 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="OrderedLazyServiceCollectionTest.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE f... | quartz-software/kephas | src/Tests/Kephas.Core.Tests/Services/OrderedLazyServiceCollectionTest.cs | https://github.com/quartz-software/kephas/blob/HEAD/src/Tests/Kephas.Core.Tests/Services/OrderedLazyServiceCollectionTest.cs | ghcode:00011:2fe3e3c78334 | mit | codeparrot/github-code | 2fe3e3c78334291b53128cb59fac5a652d74a4573767eaaf8968e9bf34667292 | 0.95 | testing_debugging_repair_refactoring | 1,968 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
namespace Boxologic.CSharp
{
public class BoxItem
{
public int Boxx { get; set; }
public int Boxy { get; set; }
public int Boxz { get; set; }
public int N { get; set; }
}
public class St_instance
{
... | treeDiM/StackBuilder | Sources/Test/Boxologic.CSharp/BoxItem.cs | https://github.com/treeDiM/StackBuilder/blob/HEAD/Sources/Test/Boxologic.CSharp/BoxItem.cs | ghcode:00011:951202345801 | mit | codeparrot/github-code | 951202345801b65410d0fd5eb2c22873e0dc7b1796a5f3abc9abf06ee611c18a | 0.85 | testing_debugging_repair_refactoring | 1,374 | false | 2026-07-17 |
using System;
using WalletWasabi.Models;
using Xunit;
namespace WalletWasabi.Tests.UnitTests
{
public class SerializableExceptionTests
{
[Fact]
public void SerializableExceptionTest()
{
var message = "Foo Bar Buzz";
var innerMessage = "Inner Foo Bar Buzz";
var innerStackTrace = "";
Exception ex;
... | nopara73/HiddenWallet | WalletWasabi.Tests/UnitTests/SerializableExceptionTests.cs | https://github.com/nopara73/HiddenWallet/blob/HEAD/WalletWasabi.Tests/UnitTests/SerializableExceptionTests.cs | ghcode:00011:4335ddf5f3e4 | mit | codeparrot/github-code | 4335ddf5f3e41b1fff91434b092a28e606fddb3a099c91684feddad41d0f0eb1 | 0.75 | testing_debugging_repair_refactoring | 303 | false | 2026-07-17 |
using Microsoft.Practices.Unity;
using NUnit.Framework;
namespace UnityRegistrationValidator.Tests
{
public abstract class UnityContainerCompabilityBaseTests
{
[Test]
public void PerCallResolutionViaChildContainerShouldWork()
{
var rootContainer = CreateUnityContainer();
... | voloda/UnityRegistrationValidator | src/UnityRegistrationValidator.Tests/UnityContainerCompabilityBaseTests.cs | https://github.com/voloda/UnityRegistrationValidator/blob/HEAD/src/UnityRegistrationValidator.Tests/UnityContainerCompabilityBaseTests.cs | ghcode:00011:b7a8c83eba07 | mit | codeparrot/github-code | b7a8c83eba07debf00eba98d14899de9ca81c05a5640374231a17dc9ca48432d | 0.75 | testing_debugging_repair_refactoring | 1,895 | false | 2026-07-17 |
// Copyright 2012, Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | googleads/googleads-dotnet-lib | tests/AdWords/ExampleTestsBase.cs | https://github.com/googleads/googleads-dotnet-lib/blob/HEAD/tests/AdWords/ExampleTestsBase.cs | ghcode:00011:528149c8c339 | apache-2.0 | codeparrot/github-code | 528149c8c33945385cfb741de01b7b02d122b9aa63887bb98f0a117f6da66592 | 0.7 | testing_debugging_repair_refactoring | 741 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Akka.Actor;
using Akka.Configuration;
using Akka.Remote.TestKit;
using FluentAssertions;
namespace Akka.Cluster.Tests.MultiNode
{
public class RestartFirstSeedNodeSpecConfig : MultiNodeConfig
{
... | rogeralsing/akka.net | src/core/Akka.Cluster.Tests.MultiNode/RestartFirstSeedNodeSpec.cs | https://github.com/rogeralsing/akka.net/blob/HEAD/src/core/Akka.Cluster.Tests.MultiNode/RestartFirstSeedNodeSpec.cs | ghcode:00011:7b6a90bccde9 | apache-2.0 | codeparrot/github-code | 7b6a90bccde9410b54c7360f1d333fc854d1cd8d45388acff19bce69292388b2 | 0.75 | testing_debugging_repair_refactoring | 1,253 | false | 2026-07-17 |
using System.Diagnostics;
namespace Lucene.Net.Index
{
/*
* 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 fi... | laimis/lucenenet | src/Lucene.Net/Index/SingletonSortedSetDocValues.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net/Index/SingletonSortedSetDocValues.cs | ghcode:00011:2ffc1e44c4b0 | apache-2.0 | codeparrot/github-code | 2ffc1e44c4b047a34179db8fca9ce1ef8f914ca19a6024ee81e2e59dcf7b9f7a | 0.85 | testing_debugging_repair_refactoring | 628 | false | 2026-07-17 |
namespace bombali.tests.integration.infrastructure.app.monitorchecks
{
using bdddoc.core;
using bombali.infrastructure.app.monitorchecks;
using developwithpassion.bdd.contexts;
using developwithpassion.bdd.mbunit;
using developwithpassion.bdd.mbunit.standard;
using developwithpassion.bdd.... | ferventcoder/bombali | product/bombali.tests.integration/infrastructure.app/monitorchecks/WebsiteCheckSpecs.cs | https://github.com/ferventcoder/bombali/blob/HEAD/product/bombali.tests.integration/infrastructure.app/monitorchecks/WebsiteCheckSpecs.cs | ghcode:00011:2f4947f3addc | apache-2.0 | codeparrot/github-code | 2f4947f3addc1d3db270173eb4b165bfc7c1ccc470e41d25f4d43db1609276ff | 0.75 | testing_debugging_repair_refactoring | 410 | false | 2026-07-17 |
// Copyright Dirk Lemstra (https://github.com/dlemstra/line-bot-sdk-dotnet).
// Licensed under the Apache License, Version 2.0.
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Line.Tests
{
public partial class ImageMessageTests
{
[TestClass]
public class ThePreview... | dlemstra/line-bot-sdk-dotnet | tests/LineBot.Tests/Messages/Image/ImageMessageTests/ThePreviewUrlProperty.cs | https://github.com/dlemstra/line-bot-sdk-dotnet/blob/HEAD/tests/LineBot.Tests/Messages/Image/ImageMessageTests/ThePreviewUrlProperty.cs | ghcode:00011:b928ece6f033 | apache-2.0 | codeparrot/github-code | b928ece6f0335d58838f84edc75930f09876fc678a3b670a5dbbfcdd0a949f64 | 0.7 | testing_debugging_repair_refactoring | 351 | false | 2026-07-17 |
using BusinessLogic.Enums;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace UnitTests.BusinessLogic.Enums
{
[TestClass]
public class CardTypeEnumTests
{
private const string ENUM_FAILURE_MESSAGE = "Enum value is not correct. Enum and update scripts may be out of date.";
[TestMethod]... | dsilva609/Project-Ariel | UnitTests/BusinessLogic/Enums/CardTypeEnumTests.cs | https://github.com/dsilva609/Project-Ariel/blob/HEAD/UnitTests/BusinessLogic/Enums/CardTypeEnumTests.cs | ghcode:00011:841332de45dc | apache-2.0 | codeparrot/github-code | 841332de45dc9180c44907392e0093b1608736a72ee2443e62b2f148f3a76ecd | 0.85 | testing_debugging_repair_refactoring | 675 | false | 2026-07-17 |
// <copyright file="TraceContextTest.cs" company="OpenCensus Authors">
// Copyright 2018, OpenCensus Authors
//
// 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.o... | census-instrumentation/opencensus-csharp | test/OpenCensus.Tests/Impl/Trace/Propagation/TraceContextTest.cs | https://github.com/census-instrumentation/opencensus-csharp/blob/HEAD/test/OpenCensus.Tests/Impl/Trace/Propagation/TraceContextTest.cs | ghcode:00011:b9919f3c0d1f | apache-2.0 | codeparrot/github-code | b9919f3c0d1ff5774c35ccc796513fa7f3d016d1ecfd9927c1e27ad71bb5cedb | 0.7 | testing_debugging_repair_refactoring | 650 | 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.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Appacitive.Sdk.Tests
{
[TestClass]
public class FileFixture
{
[TestMethod]
... | appacitive/appacitive-dotnet-sdk | src/Appacitive.Sdk.Tests/FileFixture.cs | https://github.com/appacitive/appacitive-dotnet-sdk/blob/HEAD/src/Appacitive.Sdk.Tests/FileFixture.cs | ghcode:00011:b2eb4e14a09d | apache-2.0 | codeparrot/github-code | b2eb4e14a09d48a2c01bfb52dae42d4a9c0987bbf7fd0cae34881ed541b67215 | 0.7 | testing_debugging_repair_refactoring | 1,084 | 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.Collections.Immutable;
using System.Net;
using System.Threading;
usi... | AmadeusW/roslyn | src/EditorFeatures/DiagnosticsTestUtilities/CodeActions/CSharpCodeRefactoringVerifier`1+Test.cs | https://github.com/AmadeusW/roslyn/blob/HEAD/src/EditorFeatures/DiagnosticsTestUtilities/CodeActions/CSharpCodeRefactoringVerifier`1+Test.cs | ghcode:00011:9d3f3f4ecf57 | apache-2.0 | codeparrot/github-code | 9d3f3f4ecf572699cf412c95d9350893db5c97b211924cda045cc63badf3c1f2 | 0.85 | testing_debugging_repair_refactoring | 1,195 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using TSQL;
using TSQL.Tokens;
namespace Tests.Tokens
{
[TestFixture(Category = "Token Parsing")]
public class BinaryTokenTests
{
[Test]
public void BinaryToken_EmptyBina... | bruce-dunwiddie/tsql-parser | TSQL_Parser/Tests/Tokens/BinaryTokenTests.cs | https://github.com/bruce-dunwiddie/tsql-parser/blob/HEAD/TSQL_Parser/Tests/Tokens/BinaryTokenTests.cs | ghcode:00011:6691e1d33540 | apache-2.0 | codeparrot/github-code | 6691e1d335403d66c46acd042d72d1fa2b33345aae461a5014d7a8c90aa98e33 | 0.85 | testing_debugging_repair_refactoring | 999 | false | 2026-07-17 |
namespace dotless.Core.Test.Specs.Functions
{
using NUnit.Framework;
public class PercentageFixture : SpecFixtureBase
{
[Test]
public void TestPercentage()
{
AssertExpression("2500%", "percentage(25)");
AssertExpression("50%", "percentage(.5)");
A... | dotless/dotless | tests/dotless.Core.Test/Specs/Functions/PercentageFixture.cs | https://github.com/dotless/dotless/blob/HEAD/tests/dotless.Core.Test/Specs/Functions/PercentageFixture.cs | ghcode:00011:c4899ee802f0 | apache-2.0 | codeparrot/github-code | c4899ee802f0427a0775b02edb589dc099ecaf1541fff2dd4a06120adb39617b | 0.6 | testing_debugging_repair_refactoring | 201 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="MailLoggerFixture.cs" company="Rare Crowds Inc">
// Copyright 2012-2013 Rare Crowds, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Li... | chinnurtb/OpenAdStack | Common/CommonIntegrationTests/MailLoggerFixture.cs | https://github.com/chinnurtb/OpenAdStack/blob/HEAD/Common/CommonIntegrationTests/MailLoggerFixture.cs | ghcode:00011:ff4a039cadf3 | apache-2.0 | codeparrot/github-code | ff4a039cadf3c92621172cf724e8c79cc6baff6ce0498558d3f9421cb1d1e402 | 0.7 | testing_debugging_repair_refactoring | 691 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyUnitTestExceriseTestsUsingNUnitAndMoq
{
[TestFixture]
public class TestClass
{
[Test]
public void TestMethod()
{
... | RyanPan/CodeBook | src/MyUnitTestExcerise/MyUnitTestExceriseTestsUsingNUnitAndMoq/TestClass.cs | https://github.com/RyanPan/CodeBook/blob/HEAD/src/MyUnitTestExcerise/MyUnitTestExceriseTestsUsingNUnitAndMoq/TestClass.cs | ghcode:00011:88d703ede34b | apache-2.0 | codeparrot/github-code | 88d703ede34b1c40173cae8b259ae8e0a5960b0319f3025bec9e0f2b1e8d1370 | 0.75 | testing_debugging_repair_refactoring | 88 | false | 2026-07-17 |
using System;
using System.Linq.Expressions;
using HyperMock.Matchers;
using Shouldly;
using Xunit;
// ReSharper disable MemberCanBeMadeStatic.Local
namespace HyperMock.UnitTests.Matchers
{
public class RegexParameterMatcherTests
{
private readonly RegexParameterMatcher _matcher;
public Rege... | hypersolutions/hypermock | test/HyperMock.UnitTests/Matchers/RegexParameterMatcherTests.cs | https://github.com/hypersolutions/hypermock/blob/HEAD/test/HyperMock.UnitTests/Matchers/RegexParameterMatcherTests.cs | ghcode:00011:ffc44f8cd04c | apache-2.0 | codeparrot/github-code | ffc44f8cd04c840a554d732d81153e63bb2fd8d8c59321d6f9afeafc8f637f17 | 0.75 | testing_debugging_repair_refactoring | 575 | false | 2026-07-17 |
using UnityEngine;
using System.Collections;
public class test : MonoBehaviour {
// Use this for initialization
void Start () {
SmartURL sl = new SmartURL();
sl.rawString = "http://www.cnblogs.com/rchen/archive/2005/06/23/179627.html";
sl.test();
}
// Update is called once per frame
vo... | zhulangen/unity3d-test | Assets/Scripts/test/test.cs | https://github.com/zhulangen/unity3d-test/blob/HEAD/Assets/Scripts/test/test.cs | ghcode:00011:0be344aba1df | apache-2.0 | codeparrot/github-code | 0be344aba1df5802285c50505ebca9695d926eb352f741f94ac770698c3746f6 | 0.95 | testing_debugging_repair_refactoring | 92 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using UnitTestGenerator.CodeGeneration.Generators;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Rhino.Mocks;
using TestAssembly;
using FluentAssertions;
using System.Linq.Expressions;
names... | pcsikos/UnitTestGenerator | src/UnitTestGenerator.Tests/CodeGeneration/Generators/NullArgumentConstructorTestMethodSourceCodeGeneratorTests.cs | https://github.com/pcsikos/UnitTestGenerator/blob/HEAD/src/UnitTestGenerator.Tests/CodeGeneration/Generators/NullArgumentConstructorTestMethodSourceCodeGeneratorTests.cs | ghcode:00011:3412bd4547e2 | apache-2.0 | codeparrot/github-code | 3412bd4547e27885f5f27ff8a5385a1fc8a545d0b87665eafbdc38e6ef5f69c8 | 0.75 | testing_debugging_repair_refactoring | 347 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using Xunit.Abstractions;
using Xunit.Sdk;
namespace Xunit.Categories
{
[TraitDiscoverer(SystemTestDiscoverer.DiscovererTypeName, DiscovererUtil.AssemblyName)]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = ... | brendanconnolly/Xunit.Categories | src/Xunit.Categories/SystemTestAttribute.cs | https://github.com/brendanconnolly/Xunit.Categories/blob/HEAD/src/Xunit.Categories/SystemTestAttribute.cs | ghcode:00011:9697e6af8398 | apache-2.0 | codeparrot/github-code | 9697e6af8398efc3cb67e420572eb26a5482d03bfc88bc6e141db1cb5e7ef6d6 | 0.6 | testing_debugging_repair_refactoring | 138 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.UnitTests;
using Xunit;
namespace Microsoft.ApiDesignGuidelines.Analyzers.UnitTests
{... | mattwar/roslyn-analyzers | src/Microsoft.ApiDesignGuidelines.Analyzers/UnitTests/DefineAccessorsForAttributeArgumentsTests.cs | https://github.com/mattwar/roslyn-analyzers/blob/HEAD/src/Microsoft.ApiDesignGuidelines.Analyzers/UnitTests/DefineAccessorsForAttributeArgumentsTests.cs | ghcode:00011:dd9310ab22b5 | apache-2.0 | codeparrot/github-code | dd9310ab22b5f687716440140f1d99c16bffdd4d8940cf8ac44777e83f8e25cb | 0.72 | testing_debugging_repair_refactoring | 14,798 | false | 2026-07-17 |
using NUnit.Framework;
using QuickCheck.Internal;
namespace QuickCheck.NUnit
{
public static class NUnitExtensions
{
public static void AssertEmpty(this DataDiff diff)
{
if (diff.IsEmpty)
{
return;
}
Assert.Fail("Ex... | jystic/quickcheck-net | src/QuickCheck.NUnit/NUnitExtensions.cs | https://github.com/jystic/quickcheck-net/blob/HEAD/src/QuickCheck.NUnit/NUnitExtensions.cs | ghcode:00011:fb1390b2b78c | bsd-3-clause | codeparrot/github-code | fb1390b2b78cd44cd16b979faec58ccf3cfcaf7c4a2549d291a7cd28f4ad565f | 0.6 | testing_debugging_repair_refactoring | 70 | false | 2026-07-17 |
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Extensions.TypeExtensi... | Nabile-Rahmani/osu-framework | osu.Framework/Testing/TestCase.cs | https://github.com/Nabile-Rahmani/osu-framework/blob/HEAD/osu.Framework/Testing/TestCase.cs | ghcode:00011:536819eb8673 | mit | codeparrot/github-code | 536819eb86735a356be87d872b411e1462605daac0646a6a36897b307dfaea04 | 0.85 | testing_debugging_repair_refactoring | 1,908 | false | 2026-07-17 |
using System.Collections.Generic;
using AutoMapper;
using Shouldly;
using NUnit.Framework;
using System.Linq;
namespace AutoMapperSamples.Mappers
{
namespace Lists
{
[TestFixture]
public class SimpleExample
{
public class Source
{
public int Value... | gentledepp/AutoMapper | src/AutoMapperSamples/Mappers/Lists.cs | https://github.com/gentledepp/AutoMapper/blob/HEAD/src/AutoMapperSamples/Mappers/Lists.cs | ghcode:00011:1247375925d3 | mit | codeparrot/github-code | 1247375925d3a819dabff2f56e9bcc46e6e10934942ac03aa02b3e5506508265 | 0.6 | testing_debugging_repair_refactoring | 539 | 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.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
namespace Micr... | abock/roslyn | src/EditorFeatures/Test/EditAndContinue/Helpers/DummyLanguageService.cs | https://github.com/abock/roslyn/blob/HEAD/src/EditorFeatures/Test/EditAndContinue/Helpers/DummyLanguageService.cs | ghcode:00011:a80b6b04c1fe | mit | codeparrot/github-code | a80b6b04c1fe170e8b09e18b67446bac5aeb593af32f56bff30dfb6ad58c66d7 | 0.95 | testing_debugging_repair_refactoring | 145 | false | 2026-07-17 |
using System;
using System.Configuration;
using System.Net.Sockets;
using NUnit.Framework;
using StatsdClient;
namespace Tests
{
[TestFixture]
public class UDPSmokeTests
{
private static readonly int _serverPort = Convert.ToInt32(ConfigurationManager.AppSettings["StatsdServerPort"]);
... | circleback/statsd-csharp-client | src/Tests/UDPSmokeTests.cs | https://github.com/circleback/statsd-csharp-client/blob/HEAD/src/Tests/UDPSmokeTests.cs | ghcode:00011:fac12c575a36 | mit | codeparrot/github-code | fac12c575a361b57ee6fa36ba7f6053e840786b279118f2c5a16d62bf98cab79 | 0.85 | testing_debugging_repair_refactoring | 182 | false | 2026-07-17 |
using System.Linq;
using LinqToDB;
using LinqToDB.Mapping;
using NUnit.Framework;
namespace Tests.xUpdate
{
public partial class MergeTests
{
[Test]
public void InsertUpdate([MergeDataContextSource(TestProvName.AllSapHana)] string context)
{
using (var db = GetDataContext(context))
{
PrepareData(db... | linq2db/linq2db | Tests/Linq/Update/MergeTests.Operations.Combined.cs | https://github.com/linq2db/linq2db/blob/HEAD/Tests/Linq/Update/MergeTests.Operations.Combined.cs | ghcode:00011:773a6b8718f5 | mit | codeparrot/github-code | 773a6b8718f5296472e7885f526a1c62d32625169feea189e433abe8f61d89c6 | 0.85 | testing_debugging_repair_refactoring | 6,020 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Collections.Generic;
using CloudFoundry.Mono;
using CloudFoundry.Mono.Models;
using NUnit.Framework;
namespace CloudFoundry.Mono.Tests
{
[TestFixture()]
//Tests for CF Environmental variables
public class EnvironmentTests
{
[TestFixtureSetUp()]
public void SetUp()
... | danhigham/CloudFoundry.Mono | Tests/EnvironmentTests.cs | https://github.com/danhigham/CloudFoundry.Mono/blob/HEAD/Tests/EnvironmentTests.cs | ghcode:00011:6f5f6a687215 | mit | codeparrot/github-code | 6f5f6a687215e9401fb897e2cfb04ad2666afd385fa06fa16cae6cb667856740 | 0.85 | testing_debugging_repair_refactoring | 881 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Deployment.Site.Test.TestHelpers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using O... | MattFarm/BusinessPlatformApps | Source/Test/Microsoft.Deployment.Site.Test/Microsoft-SalesforceSalesManagementTests.cs | https://github.com/MattFarm/BusinessPlatformApps/blob/HEAD/Source/Test/Microsoft.Deployment.Site.Test/Microsoft-SalesforceSalesManagementTests.cs | ghcode:00011:0493f3c103de | mit | codeparrot/github-code | 0493f3c103dedf367934c352314751e852bac6e0c7006df3519c77a0be9941ff | 0.95 | testing_debugging_repair_refactoring | 1,707 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace System.Reflection.Tests
{
public cl... | shmao/corefx | src/System.Reflection.TypeExtensions/tests/PropertyInfoTests.cs | https://github.com/shmao/corefx/blob/HEAD/src/System.Reflection.TypeExtensions/tests/PropertyInfoTests.cs | ghcode:00011:75826595f5c6 | mit | codeparrot/github-code | 75826595f5c6349989fe1659dbe58a409740c0a47a1720faeebdf6301d152a62 | 0.95 | testing_debugging_repair_refactoring | 1,125 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.AI.MetricsAdvisor.Tests
{
public class MetricFeedbackModelTests : MockClientTestBase
{
pub... | Azure/azure-sdk-for-net | sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/Models/MetricFeedbackModelTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/Models/MetricFeedbackModelTests.cs | ghcode:00011:649463cf49a3 | mit | codeparrot/github-code | 649463cf49a39416f288baa3fc1efcccb7b8cb53a0947a49f9a2685ec18fa346 | 0.85 | testing_debugging_repair_refactoring | 369 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Cuemon.AspNetCore.Http.Throttling;
using Cuemon.AspNetCore.Mvc.Assets;
using Cuemon.Extensions;
using Cuemon.Extensions.AspNetCore.Http.Throttling;
using Cuemon.Extensions.Xunit.Hosting.AspNetCore... | gimlichael/CuemonCore | test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelAttributeTest.cs | https://github.com/gimlichael/CuemonCore/blob/HEAD/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelAttributeTest.cs | ghcode:00011:e8dec7436e52 | mit | codeparrot/github-code | e8dec7436e52b6cb73d10324595210e41e9d961a82a70b19c6a72f3d10798585 | 0.6 | testing_debugging_repair_refactoring | 1,210 | false | 2026-07-17 |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using TestHelper;
using Signum.Analyzer;
namespace Signum.Analyzer.Test
{
[TestClass]
public class AutoExpressionFieldTest... | avifatal/framework | Signum.Analyzer/Signum.Analyzer.Test/AutoExpressionFieldTest.cs | https://github.com/avifatal/framework/blob/HEAD/Signum.Analyzer/Signum.Analyzer.Test/AutoExpressionFieldTest.cs | ghcode:00011:d45e49a881e5 | mit | codeparrot/github-code | d45e49a881e559bb8b791145d7e3f1772f221a7f358bd40c985c82aaa980c198 | 0.6 | testing_debugging_repair_refactoring | 1,573 | false | 2026-07-17 |
using Xunit;
using fn = qed.Functions;
#if DEBUG
namespace qed.UnitTests
{
public class the_CompareToPasswordHash_function
{
[Fact]
public void returns_true_when_password_matches_hash()
{
var passwordHash = fn.GeneratePasswordHash("a-password");
var actual = "a... | half-ogre/qed | qed/UnitTests/Functions/CompareToPasswordHash.cs | https://github.com/half-ogre/qed/blob/HEAD/qed/UnitTests/Functions/CompareToPasswordHash.cs | ghcode:00011:08a7c45c9e20 | mit | codeparrot/github-code | 08a7c45c9e209063b829406a61afe56e6b2de256d3ed8d3a55d6bde6de8cdba8 | 0.6 | testing_debugging_repair_refactoring | 143 | false | 2026-07-17 |
using System;
using System.Reflection;
namespace Tests.Framework.ManagedElasticsearch.Plugins
{
[AttributeUsage(AttributeTargets.Field)]
public class MonikerAttribute : Attribute
{
public string Moniker { get; }
public MonikerAttribute(string moniker)
{
if (moniker == null) throw new ArgumentNullException... | CSGOpenSource/elasticsearch-net | src/Tests/Framework/ManagedElasticsearch/Plugins/MonikerAttribute.cs | https://github.com/CSGOpenSource/elasticsearch-net/blob/HEAD/src/Tests/Framework/ManagedElasticsearch/Plugins/MonikerAttribute.cs | ghcode:00011:65c279836bd6 | apache-2.0 | codeparrot/github-code | 65c279836bd60486a30e27a35d15922ee7f066a5a4025f69a54a7042901f1233 | 0.85 | testing_debugging_repair_refactoring | 193 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Toxy.Test
{
[TestFixture]
public class ExcelTextParserTest
{
[Test]
public void TestExcel2003TextParser()
{
ParserContext context = new ParserContext(T... | yixiangling/toxy | Toxy.Test/ExcelTextParserTest.cs | https://github.com/yixiangling/toxy/blob/HEAD/Toxy.Test/ExcelTextParserTest.cs | ghcode:00011:92719b6893b1 | apache-2.0 | codeparrot/github-code | 92719b6893b187f48ec41adee4c8c8f5f456aaca84d42da8fb69f726236290e5 | 0.6 | testing_debugging_repair_refactoring | 551 | false | 2026-07-17 |
using System;
using NUnit.Core;
using NUnit.Framework;
using Org.BouncyCastle.Utilities.Test;
namespace Org.BouncyCastle.Tsp.Tests
{
public class AllTests
{
public static void Main(
string[] args)
{
//junit.textui.TestRunner.run(suite());
EventListene... | GaloisInc/hacrypto | src/C#/BouncyCastle/BouncyCastle-1.7/crypto/test/src/tsp/test/AllTests.cs | https://github.com/GaloisInc/hacrypto/blob/HEAD/src/C#/BouncyCastle/BouncyCastle-1.7/crypto/test/src/tsp/test/AllTests.cs | ghcode:00011:46f0a10da8f6 | bsd-3-clause | codeparrot/github-code | 46f0a10da8f661fdd40146caaa6cfdb15a27c00d709cc9adc6ae902d12a5e244 | 0.85 | testing_debugging_repair_refactoring | 143 | false | 2026-07-17 |
using System;
using System.Linq;
using LinqToDB;
using LinqToDB.Data;
using NUnit.Framework;
using Tests.Model;
namespace Tests.UserTests
{
[TestFixture]
public class Issue822Tests : TestBase
{
private int? ID1;
private int? ID2;
[Test, DataContextSource]
public void TestWrongValue(string context)
{... | genusP/linq2db | Tests/Linq/UserTests/Issue822Tests.cs | https://github.com/genusP/linq2db/blob/HEAD/Tests/Linq/UserTests/Issue822Tests.cs | ghcode:00011:2ee9b2879f8b | mit | codeparrot/github-code | 2ee9b2879f8b3321f8fe7e3412891699fdb8e6d1a5e06164f2c9184f35291a93 | 0.75 | testing_debugging_repair_refactoring | 481 | false | 2026-07-17 |
namespace Contour.Common.Tests
{
using System;
using System.Threading;
using FluentAssertions;
using Contour.Helpers.Timing;
using NUnit.Framework;
/// <summary>
/// The rough ticket timer specs.
/// </summary>
// ReSharper disable InconsistentNaming
public class RoughTicket... | bullmastiffo/Contour | Tests/Contour.Common.Tests/RoughTicketTimerSpecs.cs | https://github.com/bullmastiffo/Contour/blob/HEAD/Tests/Contour.Common.Tests/RoughTicketTimerSpecs.cs | ghcode:00011:72a36afef1a8 | mit | codeparrot/github-code | 72a36afef1a8711077ccd1a46af21fc95c90f7a5e74bab1fa75c52c4065cd55b | 0.7 | testing_debugging_repair_refactoring | 775 | false | 2026-07-17 |
using System;
using Maestrano.Saml;
using NUnit.Framework;
namespace Maestrano.Tests.Saml
{
[TestFixture]
public class SettingsTests
{
[Test]
public void ItInitializesASettingsObjectProperly()
{
Settings settings = new Settings();
settings.AssertionConsumerS... | alachaum/maestrano-dotnet | src/Maestrano.Tests/Saml/SettingsTests.cs | https://github.com/alachaum/maestrano-dotnet/blob/HEAD/src/Maestrano.Tests/Saml/SettingsTests.cs | ghcode:00011:b2e414f6f08a | mit | codeparrot/github-code | b2e414f6f08aada8d0dd591c49af255c65026b216d893eb29018f308366128bc | 0.75 | testing_debugging_repair_refactoring | 132 | false | 2026-07-17 |
/*
* MindTouch Dream - a distributed REST framework
* Copyright (C) 2006-2014 MindTouch, Inc.
* www.mindtouch.com oss@mindtouch.com
*
* For community documentation and downloads visit mindtouch.com;
* please review the licensing section.
*
* Licensed under the Apache License, Version 2.0 (the "Licens... | bjorg/DReAM | src/tests/DreamMisc/Threading/MonitorSemaphoreTests.cs | https://github.com/bjorg/DReAM/blob/HEAD/src/tests/DreamMisc/Threading/MonitorSemaphoreTests.cs | ghcode:00011:8fc9b63727e3 | apache-2.0 | codeparrot/github-code | 8fc9b63727e3170cba3cc07587574e88f10a0a68f22225955375b8042dfdb687 | 0.85 | testing_debugging_repair_refactoring | 500 | false | 2026-07-17 |
//
// Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net>
//
// 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 co... | jkowalski/NLog | tests/NLog.UnitTests/LayoutRenderers/LoggerNameTests.cs | https://github.com/jkowalski/NLog/blob/HEAD/tests/NLog.UnitTests/LayoutRenderers/LoggerNameTests.cs | ghcode:00011:27de0739a36b | bsd-3-clause | codeparrot/github-code | 27de0739a36bc94800bebb91e7291448590879b9f3d5e831012d5010097d37bf | 0.85 | testing_debugging_repair_refactoring | 575 | false | 2026-07-17 |
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Pex.Framework;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Microsoft.Pex.Framework.Sup... | tectronics/moq | UnitTests/Pex/ShouldExpectCallWithReferenceLazyEvaluate.cs | https://github.com/tectronics/moq/blob/HEAD/UnitTests/Pex/ShouldExpectCallWithReferenceLazyEvaluate.cs | ghcode:00011:d9cf366bfd01 | bsd-3-clause | codeparrot/github-code | d9cf366bfd01776cba0812cfdb94a08eb09675a6338d1449ea6a49c6216e4522 | 0.7 | testing_debugging_repair_refactoring | 206 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.