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 2008 ZXing 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.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | bsoja/ZXing.Net | Source/test/src/qrcode/encoder/EncoderTestCase.cs | https://github.com/bsoja/ZXing.Net/blob/HEAD/Source/test/src/qrcode/encoder/EncoderTestCase.cs | ghcode:00173:c072b0acb03d | apache-2.0 | codeparrot/github-code | c072b0acb03deaf19d6e403edd9e4d22309f09516cf3bb95bbec0d41ee4600d7 | 0.95 | testing_debugging_repair_refactoring | 10,873 | false | 2026-07-17 |
using FakeItEasy;
using NUnit.Framework;
using Perrich.RunAsService.ExitHook;
namespace Perrich.RunAsService.Tests.ExitHook
{
[TestFixture]
class AbstractExitHookTest
{
private IExitHook _hook;
private Perrich.RunAsService.XmlConfig.XmlConfig _settings;
private IRunAsSer... | perrich/RunAsService | Perrich.RunAsService.Tests/ExitHook/AbstractExitHookTest.cs | https://github.com/perrich/RunAsService/blob/HEAD/Perrich.RunAsService.Tests/ExitHook/AbstractExitHookTest.cs | ghcode:00173:64763c5a8aae | apache-2.0 | codeparrot/github-code | 64763c5a8aaecaa0e87f1e13c9ffc697f3f8cee717331bb98ea299be749a43b5 | 0.6 | testing_debugging_repair_refactoring | 301 | false | 2026-07-17 |
namespace SharpVectors.Dom.Svg
{
/// <summary>
/// The interface corresponds to an Svg View Specification.
/// </summary>
/// <developer></developer>
/// <completed>0</completed>
public interface ISvgViewSpec : ISvgZoomAndPan, ISvgFitToViewBox
{
ISvgTransformList Transform{get;}
ISvgElement ViewTa... | jogibear9988/SharpVectors | Main/Source/SharpVectorCore/Svg/BasicTypes/ISvgViewSpec.cs | https://github.com/jogibear9988/SharpVectors/blob/HEAD/Main/Source/SharpVectorCore/Svg/BasicTypes/ISvgViewSpec.cs | ghcode:00173:1bc1e7b7952f | bsd-3-clause | codeparrot/github-code | 1bc1e7b7952f0c684c94a6299e70575449e5a26b222899aee376cb990c9debac | 0.85 | testing_debugging_repair_refactoring | 122 | false | 2026-07-17 |
// <copyright file="CommonSteps.cs" company="Objectivity Bespoke Software Specialists">
// Copyright (c) Objectivity Bespoke Software Specialists. All rights reserved.
// </copyright>
// <license>
// The MIT License (MIT)
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of... | ObjectivityLtd/Test.Automation | Ocaramba.Tests.Features/StepDefinition/CommonSteps.cs | https://github.com/ObjectivityLtd/Test.Automation/blob/HEAD/Ocaramba.Tests.Features/StepDefinition/CommonSteps.cs | ghcode:00173:76cdc98d7a23 | mit | codeparrot/github-code | 76cdc98d7a23ccb8d3838920c3c4ab8ada11c5b066218fca1db3c0abd6b58393 | 0.85 | testing_debugging_repair_refactoring | 1,251 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.CodeAnalysis.Sarif.Readers;
using Newtonso... | Rolstenhouse/sarif-sdk | src/Sarif.Driver.UnitTests/AnalyzeCommandTests.cs | https://github.com/Rolstenhouse/sarif-sdk/blob/HEAD/src/Sarif.Driver.UnitTests/AnalyzeCommandTests.cs | ghcode:00173:982ebcfe18f5 | mit | codeparrot/github-code | 982ebcfe18f580110692d3b9f10027eac58c555f7946b7282d85c259b25dc30e | 0.85 | testing_debugging_repair_refactoring | 2,680 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Reflection;
using Azure.Core.TestFramework;
using Microsoft.Extensions.Configuration;
namespace Azure.Iot.TimeSeriesInsights.Tests
{
/// <summary>
/// These are the sett... | brjohnstmsft/azure-sdk-for-net | sdk/timeseriesinsights/Azure.Iot.TimeSeriesInsights/tests/TestSettings.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/timeseriesinsights/Azure.Iot.TimeSeriesInsights/tests/TestSettings.cs | ghcode:00173:b9fe617b4f2b | mit | codeparrot/github-code | b9fe617b4f2bd23cf019cb6959a894708e6fbbbdb98341aa81b1e6878b39df90 | 0.95 | testing_debugging_repair_refactoring | 482 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Zenject;
using NUnit.Framework;
using ModestTree;
using Assert=ModestTree.Assert;
namespace Zenject.Tests.Other
{
[TestFixture]
public class TestResolveMany : ZenjectUnitTestFixture
{
class Test0
{
}
class Test1 : Test0
... | skahal/Buildron-Classic-Mods | src/Solution/Zenject/OptionalExtras/UnitTests/Editor/Other/TestResolveMany.cs | https://github.com/skahal/Buildron-Classic-Mods/blob/HEAD/src/Solution/Zenject/OptionalExtras/UnitTests/Editor/Other/TestResolveMany.cs | ghcode:00173:7776e1475722 | mit | codeparrot/github-code | 7776e1475722253f62793f5e361bbd2916c33710dec1320f07528e1b2ddd2158 | 0.75 | testing_debugging_repair_refactoring | 190 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="QueryResult.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-----------------------------------------... | kouweizhong/odata.net | src/Microsoft.OData.Client/QueryResult.cs | https://github.com/kouweizhong/odata.net/blob/HEAD/src/Microsoft.OData.Client/QueryResult.cs | ghcode:00173:ae3ee473bf0a | mit | codeparrot/github-code | ae3ee473bf0a24cc914a06a97d41cb04c3e33e589a94660a6d0a888d4ca9ba2c | 0.85 | testing_debugging_repair_refactoring | 5,871 | false | 2026-07-17 |
// <copyright file="HerokuappTestsMsTest.cs" company="Objectivity Bespoke Software Specialists">
// Copyright (c) Objectivity Bespoke Software Specialists. All rights reserved.
// </copyright>
// <license>
// The MIT License (MIT)
// Permission is hereby granted, free of charge, to any person obtaining a copy
... | ObjectivityLtd/Test.Automation | Ocaramba.Tests.MsTest/HerokuappTestsMsTest.cs | https://github.com/ObjectivityLtd/Test.Automation/blob/HEAD/Ocaramba.Tests.MsTest/HerokuappTestsMsTest.cs | ghcode:00173:2964ad62f272 | mit | codeparrot/github-code | 2964ad62f272c8d806d313aa56711a10d0b3d9a7283361ca24272d4d796c7b2e | 0.85 | testing_debugging_repair_refactoring | 1,873 | false | 2026-07-17 |
using System.Linq;
using Elasticsearch.Net;
using FluentAssertions;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
namespace Nest.Tests.Integration.Aggregations
{
[TestFixture]
public class TermsAggregationTests : IntegrationTests
{
[Test]
public void WrongFieldName()
{
var results = this._clien... | NickCraver/NEST | src/Tests/Nest.Tests.Integration/Aggregations/TermsAggregationTests.cs | https://github.com/NickCraver/NEST/blob/HEAD/src/Tests/Nest.Tests.Integration/Aggregations/TermsAggregationTests.cs | ghcode:00173:782f7160fe94 | apache-2.0 | codeparrot/github-code | 782f7160fe94574ca1c7d31a00c1a9b5848fb359b6febb1435784449b330f579 | 0.85 | testing_debugging_repair_refactoring | 701 | 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.
namespace Microsoft.NetCore.Analyzers.InteropServices.UnitTests
{
public class AlwaysConsumeTheValueReturnedByMethodsMarkedWithPreserveSigAttributeTests
... | mavasani/roslyn-analyzers | src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/InteropServices/AlwaysConsumeTheValueReturnedByMethodsMarkedWithPreserveSigAttributeTests.cs | https://github.com/mavasani/roslyn-analyzers/blob/HEAD/src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/InteropServices/AlwaysConsumeTheValueReturnedByMethodsMarkedWithPreserveSigAttributeTests.cs | ghcode:00173:a0012c838822 | apache-2.0 | codeparrot/github-code | a0012c8388225c2543a3f22e958cda281a1340a43290736951acb1ccb590a858 | 0.75 | testing_debugging_repair_refactoring | 74 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Net;
using System.Threading;
using NUnit.Framework;
using ServiceStack.Text;
namespace RazorRockstars.Console
{
[TestFixture]
public class RazorRockstars_EmbeddedFilesTests
{
AppHost appHost;
Stopwatch startedAt;
[TestFixture... | meebey/ServiceStack | tests/RazorRockstars.Console/RazorRockstars_EmbeddedFilesTests.cs | https://github.com/meebey/ServiceStack/blob/HEAD/tests/RazorRockstars.Console/RazorRockstars_EmbeddedFilesTests.cs | ghcode:00173:9037ed4876aa | bsd-3-clause | codeparrot/github-code | 9037ed4876aa22bbced61cbb1acacf0df04dbf9058e783077a783da9ad9bb7ac | 0.85 | testing_debugging_repair_refactoring | 2,029 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nucleo.EventArguments;
using Nucleo.Web;
namespace Nucleo.Extensions
{
[TestClass]
public class DictionaryEventArgsExtensionsTest
{
[TestMethod]
public void CopyingT... | brianmains/Nucleo.NET | src_wip/Tests.Unit.MVP/Extensions/DictionaryEventArgsExtensionsTest.cs | https://github.com/brianmains/Nucleo.NET/blob/HEAD/src_wip/Tests.Unit.MVP/Extensions/DictionaryEventArgsExtensionsTest.cs | ghcode:00173:f807340dce57 | mit | codeparrot/github-code | f807340dce5786d8d7a1e92048a3feb0b45b77f96222c12a0d7f27795685b872 | 0.75 | testing_debugging_repair_refactoring | 160 | false | 2026-07-17 |
using CoCo.Analyser.Classifications.VisualBasic;
using CoCo.Test.Common;
using NUnit.Framework;
namespace CoCo.Test.VisualBasicIdentifiers.Declarations
{
internal class Parameters : VisualBasicIdentifierTests
{
[Test]
public void ParameterTest_Simple()
{
GetContext(@"Declar... | GeorgeAlexandria/CoCo | src/vs16/CoCo.Test.VisualBasicIdentifiers_vs16/Declarations/Parameters.cs | https://github.com/GeorgeAlexandria/CoCo/blob/HEAD/src/vs16/CoCo.Test.VisualBasicIdentifiers_vs16/Declarations/Parameters.cs | ghcode:00173:66636df4d912 | mit | codeparrot/github-code | 66636df4d912970fe4effd27cb85b63f35320c735ac883791026c72d536a77b7 | 0.75 | testing_debugging_repair_refactoring | 448 | false | 2026-07-17 |
using System;
using System.IO;
using System.Reflection;
using System.Security.Cryptography;
using Moq;
using NUnit.Framework;
using Paket.Bootstrapper.DownloadStrategies;
using Paket.Bootstrapper.HelperProxies;
namespace Paket.Bootstrapper.Tests.DownloadStrategies
{
[TestFixture]
public class GitHubDownloadSt... | lexarchik/Paket | tests/Paket.Bootstrapper.Tests/DownloadStrategies/GitHubDownloadStrategyTest.cs | https://github.com/lexarchik/Paket/blob/HEAD/tests/Paket.Bootstrapper.Tests/DownloadStrategies/GitHubDownloadStrategyTest.cs | ghcode:00173:55e56dcc7bed | mit | codeparrot/github-code | 55e56dcc7bed274945f92dec2b9d61930fdac132cc60fde6144fea9abec05ca6 | 0.85 | testing_debugging_repair_refactoring | 1,520 | false | 2026-07-17 |
using Shouldly;
using TestStack.BDDfy;
using Xunit;
namespace Frankenwiki.Tests.FrankengeneratorTests.HtmlTests
{
public class SimplePageHasCorrectBody
{
private Frankengenerator _generator;
private InMemoryFrankenstore _store;
private Frankenpage _page;
private const string Sl... | PatrickDinh/frankenwiki | src/Frankenwiki.Tests/FrankengeneratorTests/HtmlTests/SimplePageHasCorrectBody.cs | https://github.com/PatrickDinh/frankenwiki/blob/HEAD/src/Frankenwiki.Tests/FrankengeneratorTests/HtmlTests/SimplePageHasCorrectBody.cs | ghcode:00173:b88151dada82 | apache-2.0 | codeparrot/github-code | b88151dada82414b733567644a88b3c4be736280220e9341ab079fb81fef63ae | 0.6 | testing_debugging_repair_refactoring | 214 | 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 Xunit;
using Test.Utilities;
namespace Microsoft.NetFramework.Analyzers.UnitTests
{
public partial class... | heejaechang/roslyn-analyzers | src/Microsoft.NetFramework.Analyzers/UnitTests/MarkISerializableTypesWithSerializableTests.cs | https://github.com/heejaechang/roslyn-analyzers/blob/HEAD/src/Microsoft.NetFramework.Analyzers/UnitTests/MarkISerializableTypesWithSerializableTests.cs | ghcode:00173:f41b79b71390 | apache-2.0 | codeparrot/github-code | f41b79b713902e56145aba79538ec9fe7237da9300faf538dc8e7e7efc023c5b | 0.75 | testing_debugging_repair_refactoring | 1,413 | false | 2026-07-17 |
// Lucene version compatibility level 4.8.1
using NUnit.Framework;
using Assert = Lucene.Net.TestFramework.Assert;
namespace Lucene.Net.Facet.Taxonomy
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* ... | apache/lucenenet | src/Lucene.Net.Tests.Facet/Taxonomy/TestLRUHashMap.cs | https://github.com/apache/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Facet/Taxonomy/TestLRUHashMap.cs | ghcode:00173:776abe65ace1 | apache-2.0 | codeparrot/github-code | 776abe65ace18f5b133836e0928520a328a06115cf945036e2e3f3837145056b | 0.85 | testing_debugging_repair_refactoring | 676 | false | 2026-07-17 |
using Microsoft.Azure.Test.HttpRecorder;
using Microsoft.Azure.CognitiveServices.Search.NewsSearch;
using Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using System.Linq;
using Xunit;
namespace SearchSDK.Tests
{
public class NewsSearchTests
... | yaakoviyun/azure-sdk-for-net | src/SDKs/CognitiveServices/dataPlane/Search/BingNewsSearch/BingNewsSearch.Tests/NewsSearchTests.cs | https://github.com/yaakoviyun/azure-sdk-for-net/blob/HEAD/src/SDKs/CognitiveServices/dataPlane/Search/BingNewsSearch/BingNewsSearch.Tests/NewsSearchTests.cs | ghcode:00173:2e313b29a814 | mit | codeparrot/github-code | 2e313b29a814552432c435982957ad46f93b101f4db5d758355c320d2a451e29 | 0.75 | testing_debugging_repair_refactoring | 577 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace System.Collections.Generic
{
// The ... | elijah6/corefx | src/System.Collections/src/System/Collections/Generic/SortedList.cs | https://github.com/elijah6/corefx/blob/HEAD/src/System.Collections/src/System/Collections/Generic/SortedList.cs | ghcode:00173:3d3f7a9efbf6 | mit | codeparrot/github-code | 3d3f7a9efbf668424793370fb1d910f2d80026f1e2a73cd347c998bdb2de1722 | 0.95 | testing_debugging_repair_refactoring | 8,003 | false | 2026-07-17 |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http:... | xJom/mbunit-v3 | src/Gallio/Gallio.Tests/Model/ModelNormalizationTest.cs | https://github.com/xJom/mbunit-v3/blob/HEAD/src/Gallio/Gallio.Tests/Model/ModelNormalizationTest.cs | ghcode:00173:08ff40448d12 | apache-2.0 | codeparrot/github-code | 08ff40448d12eeb0ef738af95f4e944fbd4fbc58bbaf82a38c62f94a1108b4e8 | 0.85 | testing_debugging_repair_refactoring | 831 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.L... | stephentoub/roslyn | src/VisualStudio/Core/Test.Next/Services/LspDiagnosticsTests.cs | https://github.com/stephentoub/roslyn/blob/HEAD/src/VisualStudio/Core/Test.Next/Services/LspDiagnosticsTests.cs | ghcode:00173:3d230cb4c880 | apache-2.0 | codeparrot/github-code | 3d230cb4c880ff3328c1b3a2e7ecff67b399b621426f3e009837fd8fb3f537ba | 0.85 | testing_debugging_repair_refactoring | 5,884 | false | 2026-07-17 |
using Should;
using Xunit;
namespace Cassette.Stylesheets
{
public class LessCompileException_Tests
{
[Fact]
public void LessCompileExceptionConstructorAcceptsMessage()
{
new LessCompileException("test").Message.ShouldEqual("test");
}
}
}
| BluewireTechnologies/cassette | src/Cassette.Less.UnitTests/LessCompileException.cs | https://github.com/BluewireTechnologies/cassette/blob/HEAD/src/Cassette.Less.UnitTests/LessCompileException.cs | ghcode:00173:372baad62e89 | mit | codeparrot/github-code | 372baad62e89cba6b19109a140ba39d10ac14e7bb20fca65ac7e8c1c34a68e2c | 0.75 | testing_debugging_repair_refactoring | 61 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Micr... | OmarTawfik/roslyn | src/Features/Core/Portable/GenerateType/AbstractGenerateTypeService.Editor.cs | https://github.com/OmarTawfik/roslyn/blob/HEAD/src/Features/Core/Portable/GenerateType/AbstractGenerateTypeService.Editor.cs | ghcode:00173:afb43bcc86b4 | apache-2.0 | codeparrot/github-code | afb43bcc86b48f4d8395a2303ce4af6e788883d1660512aaf5633293164123a1 | 0.85 | testing_debugging_repair_refactoring | 5,270 | 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.Runtime.CompilerServices;
internal class MainApp
{
private static int s_s = 1;
public static int Method_WithMultipleReturn_Inline()... | bitcrazed/coreclr | tests/src/JIT/opt/Inline/tests/Inline_MultipleReturn.cs | https://github.com/bitcrazed/coreclr/blob/HEAD/tests/src/JIT/opt/Inline/tests/Inline_MultipleReturn.cs | ghcode:00173:74e76486ab68 | mit | codeparrot/github-code | 74e76486ab68ac20038942d8514a8a8bdbc6e64dfcc70b318e314f3d8aeefa30 | 0.85 | testing_debugging_repair_refactoring | 498 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Reflection.Metadata;
using Microsoft.Cci;
using Microsoft.CodeAnalysis.Emit;
using Moq;
using Ro... | managed-commons/roslyn | src/Compilers/Core/CodeAnalysisTest/PEWriter/UsedNamespaceOrTypeTests.cs | https://github.com/managed-commons/roslyn/blob/HEAD/src/Compilers/Core/CodeAnalysisTest/PEWriter/UsedNamespaceOrTypeTests.cs | ghcode:00173:bcff77a6899e | apache-2.0 | codeparrot/github-code | bcff77a6899e3011d10b51b3866279da93765c3096a972ae3cf7495ff1abc9e4 | 0.75 | testing_debugging_repair_refactoring | 1,146 | 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 BatchClientIntegrationTests
{
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
... | jackmagic313/azure-sdk-for-net | sdk/batch/Microsoft.Azure.Batch/tests/IntegrationTests/BatchRequestIntegrationTests.cs | https://github.com/jackmagic313/azure-sdk-for-net/blob/HEAD/sdk/batch/Microsoft.Azure.Batch/tests/IntegrationTests/BatchRequestIntegrationTests.cs | ghcode:00173:9093cfa69bb2 | mit | codeparrot/github-code | 9093cfa69bb2446f63bfc96b9b1ef85248564599daeafa9f6efd2b7e0f1f6c4d | 0.95 | testing_debugging_repair_refactoring | 934 | 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.Concurrent;
using System.Diagnostics;
using System.Thread... | ErikSchierboom/roslyn | src/VisualStudio/Core/Def/Telemetry/VSTelemetryLogger.cs | https://github.com/ErikSchierboom/roslyn/blob/HEAD/src/VisualStudio/Core/Def/Telemetry/VSTelemetryLogger.cs | ghcode:00173:5070701b5fce | apache-2.0 | codeparrot/github-code | 5070701b5fce6a28e7cb136af405f1059dcbaeb8dc447876184e332efa059a90 | 0.85 | testing_debugging_repair_refactoring | 964 | false | 2026-07-17 |
using Abot.Core;
using NUnit.Framework;
using System;
using System.Diagnostics;
namespace Abot.Tests.Unit.Core
{
[TestFixture]
public class DomainRateLimiterTest
{
[Test]
public void Constructor_ZeroCrawlDelay_NoException()
{
new DomainRateLimiter(0);
... | pedditi/abot | Abot.Tests.Unit/Core/DomainRateLimiterTest.cs | https://github.com/pedditi/abot/blob/HEAD/Abot.Tests.Unit/Core/DomainRateLimiterTest.cs | ghcode:00173:dab9138fe87f | apache-2.0 | codeparrot/github-code | dab9138fe87f201c67e4d13564c675d8017469b60ec30e00c09346dc52cb32ff | 0.85 | testing_debugging_repair_refactoring | 1,115 | 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... | mayurid/azure-powershell | src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/TestDnsAvailabilityTest.cs | https://github.com/mayurid/azure-powershell/blob/HEAD/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/TestDnsAvailabilityTest.cs | ghcode:00173:f4bc1adb10be | apache-2.0 | codeparrot/github-code | f4bc1adb10bea963404f73b0ac94f0ceca8faa3add5a472dc470aefccb412a3a | 0.85 | testing_debugging_repair_refactoring | 218 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Buffers;
using System.Buffers.Text;
using System.Diagnostics;
using System.Runtime.CompilerServices;
... | ptoonen/corefx | src/System.Text.Json/src/System/Text/Json/Writer/JsonWriterHelper.Escaping.cs | https://github.com/ptoonen/corefx/blob/HEAD/src/System.Text.Json/src/System/Text/Json/Writer/JsonWriterHelper.Escaping.cs | ghcode:00173:725e186a2191 | mit | codeparrot/github-code | 725e186a219173c8d2a6b303f83d41427bcf5e0a4318ea4c7e56425fa7bd8d95 | 0.95 | testing_debugging_repair_refactoring | 4,694 | 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 Test.Cryptography;
using Xunit;
namespace System.Securit... | shimingsg/corefx | src/System.Security.Cryptography.Pkcs/tests/Pkcs12/SafeContentsBagTests.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Security.Cryptography.Pkcs/tests/Pkcs12/SafeContentsBagTests.cs | ghcode:00173:bbfafe43e920 | mit | codeparrot/github-code | bbfafe43e920397379cfb03cbebc2b709d05576dded76e785e965ba49c9b9b41 | 0.95 | testing_debugging_repair_refactoring | 1,070 | 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 System.Threading;
using Xunit;
public class TimerFiringTests
{
private const int MaxPositiveTimeoutInMs = 30000;
[Fact]... | dkorolev/corefx | src/System.Threading.Timer/tests/TimerFiringTests.cs | https://github.com/dkorolev/corefx/blob/HEAD/src/System.Threading.Timer/tests/TimerFiringTests.cs | ghcode:00173:75de873f8561 | mit | codeparrot/github-code | 75de873f856153c03ad996f548a04bb639b7d35500e4ebfe04e8e1aff4c09f0c | 0.95 | testing_debugging_repair_refactoring | 1,466 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.Uni... | ValentinRueda/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/TypeVarKeywordRecommenderTests.cs | https://github.com/ValentinRueda/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/TypeVarKeywordRecommenderTests.cs | ghcode:00173:34212c5d0c86 | apache-2.0 | codeparrot/github-code | 34212c5d0c86271f2661218c545137bc751031530f47e2a444f85a0a22765ac7 | 0.75 | testing_debugging_repair_refactoring | 1,136 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Reflection;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Completion.... | jhendrixMSFT/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/KeywordRecommenderTests.cs | https://github.com/jhendrixMSFT/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/KeywordRecommenderTests.cs | ghcode:00173:c7a5658fcceb | apache-2.0 | codeparrot/github-code | c7a5658fcceb36bb0e0c2a99e4c8ab6ff2dca26a59967d644178dab040e9a619 | 0.75 | testing_debugging_repair_refactoring | 427 | false | 2026-07-17 |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2009 Oracle. All rights reserved.
*
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
using NUnit.Framework;
using BerkeleyDB;
namespace CsharpAPITes... | mxrrow/zaicoin | src/deps/db/test/scr037/RecnoCursorTest.cs | https://github.com/mxrrow/zaicoin/blob/HEAD/src/deps/db/test/scr037/RecnoCursorTest.cs | ghcode:00173:725ddc05bca1 | mit | codeparrot/github-code | 725ddc05bca1f37006646844df0674da4846b3381cc08c59ce92367bb7a79d4c | 0.95 | testing_debugging_repair_refactoring | 1,611 | 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.Xml.Tests
{
public class DecimalTests
{
[Fact]
public static ... | iamjasonp/corefx | src/System.Xml.ReaderWriter/tests/XmlReader/ReadContentAs/ReadAsDecimalTests.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/XmlReader/ReadContentAs/ReadAsDecimalTests.cs | ghcode:00173:0929de508611 | mit | codeparrot/github-code | 0929de5086118bc781de68e4a4dc98544af4bc1d9ad2a0f357184b84e46ef415 | 0.95 | testing_debugging_repair_refactoring | 950 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractio... | iamjasonp/corefx | src/System.Net.Http/tests/FunctionalTests/StringContentTest.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Net.Http/tests/FunctionalTests/StringContentTest.cs | ghcode:00173:f1fe456fa868 | mit | codeparrot/github-code | f1fe456fa86837b1f20dfb2d1b29e369635075628779f13c4bb0a217a810690c | 0.95 | testing_debugging_repair_refactoring | 530 | false | 2026-07-17 |
using System;
using System.Linq.Expressions;
using static BenchmarkDotNet.Characteristics.CharacteristicHelper;
namespace BenchmarkDotNet.Characteristics
{
public abstract class Characteristic
{
public static readonly object EmptyValue = new object();
#region Factory methods
public s... | Teknikaali/BenchmarkDotNet | src/BenchmarkDotNet.Core/Characteristics/Characteristic.cs | https://github.com/Teknikaali/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet.Core/Characteristics/Characteristic.cs | ghcode:00173:1ba5ef805146 | mit | codeparrot/github-code | 1ba5ef8051469c082be0b0e4e1ee79c8541c80cab999bde93b9f5ab5be2b6244 | 0.75 | testing_debugging_repair_refactoring | 679 | false | 2026-07-17 |
using System;
using System.IO;
using NUnit.Framework;
using Wikiled.Arff.Logic;
using Wikiled.Arff.Logic.Headers;
namespace Wikiled.Arff.Tests.Logic.Headers
{
[TestFixture]
public class NumericHeaderTests
{
private NumericHeader header;
private DataRecord record;
[SetUp]
... | AndMu/Wikiled.Arff | src/Wikiled.Arff.Tests/Logic/Headers/NumericHeaderTests.cs | https://github.com/AndMu/Wikiled.Arff/blob/HEAD/src/Wikiled.Arff.Tests/Logic/Headers/NumericHeaderTests.cs | ghcode:00173:b8a1b2c08ed6 | mit | codeparrot/github-code | b8a1b2c08ed67f964f29797054d5af31b6f7ea32f37c5687d6e9e31150d6e7d2 | 0.75 | testing_debugging_repair_refactoring | 572 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
namespace SmokeTests
{
[TestFixture]
public class FrontEndTests
{
private IWebDriver WebDriver { get; set; }
private String EgdeBaseUrl { get; set; }
[SetUp]
public void Setup()
... | justincolangelo/EdgeInstallerTest | SmokeTests/FrontEndTests.cs | https://github.com/justincolangelo/EdgeInstallerTest/blob/HEAD/SmokeTests/FrontEndTests.cs | ghcode:00173:c4f9f1aeb185 | mit | codeparrot/github-code | c4f9f1aeb185618d8b365232cde47b37e8f4f24404e01da487a6e18d0b109889 | 0.75 | testing_debugging_repair_refactoring | 148 | false | 2026-07-17 |
namespace ExtendedDatabase.Tests
{
using ExtendedDatabase.Models;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
[TestFixture]
public class PersonTests
{
[Test]
public void ConstructorInitializationWorks(... | CvetelinLozanov/SoftUni-C- | C# OOP Advanced/UnitTestingExercise/ExtendedDatabase.Tests/PersonTests.cs | https://github.com/CvetelinLozanov/SoftUni-C-/blob/HEAD/C# OOP Advanced/UnitTestingExercise/ExtendedDatabase.Tests/PersonTests.cs | ghcode:00173:82bf829f94ec | mit | codeparrot/github-code | 82bf829f94ec0cb121fd238c489735dd3988488a1c8ed088d3f1ca08605589bd | 0.85 | testing_debugging_repair_refactoring | 198 | false | 2026-07-17 |
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modi... | demiurghg/FusionEngine | Fusion/Core/Mathematics/MathUtil.cs | https://github.com/demiurghg/FusionEngine/blob/HEAD/Fusion/Core/Mathematics/MathUtil.cs | ghcode:00173:dbd74414e30f | mit | codeparrot/github-code | dbd74414e30f27ecfc367e702c9dd35b2e3f184f7dac0de9bb98abda312b8297 | 0.85 | testing_debugging_repair_refactoring | 8,895 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ePlanifModelsLib;
using System.Threading.Tasks;
using DatabaseModelLib;
using DatabaseModelLibTest;
using System.Linq;
namespace ePlanifModelLibTest
{
[TestClass]
public class ePlanifDatabaseUnitTest : BaseUnitTest<ePlanifDatabase>
{
private... | dfgs/ePlanifv2 | ePlanifModelLibTest/ePlanifDatabaseUnitTest.cs | https://github.com/dfgs/ePlanifv2/blob/HEAD/ePlanifModelLibTest/ePlanifDatabaseUnitTest.cs | ghcode:00173:ba1f6f64e601 | mit | codeparrot/github-code | ba1f6f64e60116c05e53d9b7813fe3abe133204dfbf8f1fd9e2d195a3a8c20fe | 0.6 | testing_debugging_repair_refactoring | 4,193 | false | 2026-07-17 |
namespace _03.Animals
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Tests
{
public static void Main()
{
Cat[] cats = new Cat[]
{
new Cat("Pesho", 2, Sex.male),
new Cat("Rijko", 6, Sex.male),... | stefanovnm/C-OOP | OOP-Principles-Part1/03.Animals/Tests.cs | https://github.com/stefanovnm/C-OOP/blob/HEAD/OOP-Principles-Part1/03.Animals/Tests.cs | ghcode:00173:e9e1ee810195 | mit | codeparrot/github-code | e9e1ee81019555d91df7e228f3331e9da60fcaae82789a421aa6c03b8797e94d | 0.75 | testing_debugging_repair_refactoring | 508 | false | 2026-07-17 |
// Copyright (c) 2014 Przemek Walkowski
using System;
using LiczbyNaSlowaNET;
using Xunit;
namespace LiczbyNaSlowaNET_Testy
{
public class Unity
{
[Fact]
public void Test_0()
{
Assert.Equal("zero", NumberToText.Convert(0));
}
[Fact]
public voi... | przemekwa/LiczbyNaSlowaNET | LiczbyNaSlowaNET_Testy/PolishDictionary/Unity.cs | https://github.com/przemekwa/LiczbyNaSlowaNET/blob/HEAD/LiczbyNaSlowaNET_Testy/PolishDictionary/Unity.cs | ghcode:00173:a99fdeed9983 | mit | codeparrot/github-code | a99fdeed9983c9162e2541ad717fad5ba0578c37b375a86c4c7540acf47aa66e | 0.6 | testing_debugging_repair_refactoring | 112 | false | 2026-07-17 |
using System;
using System.Diagnostics;
namespace System.Tests
{
public class NumberSpanTests
{
public void TestNew()
{
var span1 = new NumberSpan(1, 3);
Debug.Assert(span1.Current == 1);
Debug.Assert(span1.Total == 3);
//
... | BclEx/BclEx-Extend | src/System.CoreEx.Tests/Tests/NumberSpanTests.cs | https://github.com/BclEx/BclEx-Extend/blob/HEAD/src/System.CoreEx.Tests/Tests/NumberSpanTests.cs | ghcode:00173:353dd20e6c4e | mit | codeparrot/github-code | 353dd20e6c4ea32073de4ebd34ec5a1f6d49bb6a9aa18373fed88eaf39b3ad1b | 0.95 | testing_debugging_repair_refactoring | 363 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DMT.Core.Interfaces;
using DMT.Core.Test.Utils;
using Xunit;
namespace DMT.Partition.Test
{
public class MaximalMatchingTest
{
[Fact]
public void GettingTheMatchingShouldTh... | tmichel/thesis | Implementation/Partition/DMT.Partition.Test/MaximalMatchingTest.cs | https://github.com/tmichel/thesis/blob/HEAD/Implementation/Partition/DMT.Partition.Test/MaximalMatchingTest.cs | ghcode:00173:a31fe50ab010 | mit | codeparrot/github-code | a31fe50ab01073580c3d50322d8b7779211566682bd640e04b71a55c5748c894 | 0.6 | testing_debugging_repair_refactoring | 399 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Security.Cryptography;
using System.Threading;
using System.Threading.Tasks;
using MicroKnights.IO.Streams;
using Xunit;
using Xunit.Abstractions;
// ReSharper disable AccessToDisposedClosure
nam... | microknights/SplitStream | Test/MicroKnights.IO.Test/TestStreams.cs | https://github.com/microknights/SplitStream/blob/HEAD/Test/MicroKnights.IO.Test/TestStreams.cs | ghcode:00173:fd3189e0f29c | mit | codeparrot/github-code | fd3189e0f29c28a40a491d5bdbc2bf86c4ac6b87c69e487469bb514414fdaff0 | 0.85 | testing_debugging_repair_refactoring | 4,951 | 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.CSharp9.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp8.LayoutRules;
public class SA1507C... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1507CSharp9UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1507CSharp9UnitTests.cs | ghcode:00173:961b5f691920 | mit | codeparrot/github-code | 961b5f6919206b161e258b3fbf309732a5385fd0e389b25033e6ced4c09a7e78 | 0.75 | testing_debugging_repair_refactoring | 94 | false | 2026-07-17 |
using System;
using System.Net;
using Moq;
using NUnit.Framework;
using OctoNet.Helpers;
using OctoNet.Web;
namespace OctoNet.Tests.Helpers
{
[TestFixture]
public class ResponseProcessorTests
{
[Test]
public void TryProcessError_ShouldReturnException_WithLimitExceedErrorType_IfResponseStat... | mps/OctoNet | OctoNet.Tests/Helpers/ResponseProcessorTests.cs | https://github.com/mps/OctoNet/blob/HEAD/OctoNet.Tests/Helpers/ResponseProcessorTests.cs | ghcode:00173:0b1e5a171fc9 | mit | codeparrot/github-code | 0b1e5a171fc908f1e9c78166a4814d538a22ba1cc7a333570c011b3693907771 | 0.75 | testing_debugging_repair_refactoring | 1,009 | 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.Helpers
{
using System;
using System.Globalization;
using System.Reflection;
using Sys... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test/Helpers/UseCultureAttribute.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test/Helpers/UseCultureAttribute.cs | ghcode:00173:ecfe7bb55c30 | mit | codeparrot/github-code | ecfe7bb55c30f9af8197246b78bc51f05c8ba8bdc5e5800622dc8ac2ebac884b | 0.85 | testing_debugging_repair_refactoring | 998 | false | 2026-07-17 |
using Microsoft.Owin.Hosting;
using Microsoft.Owin.Testing;
using Owin;
using System;
using System.Net.Http;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
namespace Owin.ApiGateway.Tests
{
[TestClass]
public class OwinApplicationTests
{
[TestMethod]... | klawikm/Owin.ApiGateway | Owin.ApiGateway.Tests/OwinApplicationTests.cs | https://github.com/klawikm/Owin.ApiGateway/blob/HEAD/Owin.ApiGateway.Tests/OwinApplicationTests.cs | ghcode:00173:b926ae343039 | mit | codeparrot/github-code | b926ae3430390fea1614d0d944f138acd5053b1e03c4dc782d4f47cca634e70f | 0.85 | testing_debugging_repair_refactoring | 209 | false | 2026-07-17 |
using Cake.Core;
using Cake.Core.IO;
using Cake.PaketRestore.Models;
using Cake.PaketRestore.Tests.Fixtures;
using Cake.PaketRestore.Tests.HelperExtensions;
using FluentAssertions;
using HttpMock;
using Moq;
using Newtonsoft.Json;
using NUnit.Framework;
using System;
using System.IO;
using System.Linq;
using System.Ne... | NinetailLabs/Cake.PaketRestore | Cake.PaketRestore.Tests/CakePaketRestoreAliasTests.cs | https://github.com/NinetailLabs/Cake.PaketRestore/blob/HEAD/Cake.PaketRestore.Tests/CakePaketRestoreAliasTests.cs | ghcode:00173:d6928b77ac41 | mit | codeparrot/github-code | d6928b77ac41fb55b01ed8f06103d25e9077426e05e1361da0473ced4978d685 | 0.85 | testing_debugging_repair_refactoring | 2,980 | false | 2026-07-17 |
// ReSharper disable UnusedVariable
namespace TomsToolbox.ObservableCollections.Tests
{
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ... | tom-englert/TomsToolbox | src/TomsToolbox.ObservableCollections.Tests/ObservableCompositeCollectionTest.cs | https://github.com/tom-englert/TomsToolbox/blob/HEAD/src/TomsToolbox.ObservableCollections.Tests/ObservableCompositeCollectionTest.cs | ghcode:00173:777b12a43814 | mit | codeparrot/github-code | 777b12a43814391e6a27be4552eb7d1441e214542016f7ecb212471967a1250f | 0.85 | testing_debugging_repair_refactoring | 879 | false | 2026-07-17 |
namespace TestHttpClient
{
using System;
using System.Net.Http;
using System.Threading.Tasks;
class TestHttpClient
{
static void Main()
{
Task t = new Task(DownloadPageAsync);
t.Start();
Console.WriteLine("Downloading page...");
Conso... | ykomitov/Homeworks-TA | 13.Web-Services-and-Cloud/01.IntroToASP.NetWebAPI/03.HttpClient/TestHttpClient/TestHttpClient.cs | https://github.com/ykomitov/Homeworks-TA/blob/HEAD/13.Web-Services-and-Cloud/01.IntroToASP.NetWebAPI/03.HttpClient/TestHttpClient/TestHttpClient.cs | ghcode:00173:203e82f94334 | mit | codeparrot/github-code | 203e82f94334622950b92becfe4fdb7d070d60aab26326577cc94983b0d1bb80 | 0.85 | testing_debugging_repair_refactoring | 187 | false | 2026-07-17 |
using OpenRasta.Sina;
using Should;
using Xunit;
namespace Tests.backtracking
{
public class cardinal_strings
: contexts.parsing_text_to<string>
{
public cardinal_strings()
{
given_rule((Character('a') / 'b').Range(2, 2).End());
when_matching("bb");
}
... | openrasta/sina | src/Tests/backtracking/cardinal_strings.cs | https://github.com/openrasta/sina/blob/HEAD/src/Tests/backtracking/cardinal_strings.cs | ghcode:00173:be37011c7065 | mit | codeparrot/github-code | be37011c7065a67164dd7de1acecb2deaa7ef9fe0766a94dfac0cf3cee7f9780 | 0.85 | testing_debugging_repair_refactoring | 107 | false | 2026-07-17 |
//
// Copyright (C) Microsoft. All rights reserved.
//
using Microsoft.PowerShell.Activities;
using System.Management.Automation;
using System.Activities;
using System.Collections.Generic;
using System.ComponentModel;
namespace Microsoft.PowerShell.Core.Activities
{
/// <summary>
/// Activity to invoke th... | kmosher/PowerShell | src/Microsoft.PowerShell.Core.Activities/Generated/TestModuleManifestActivity.cs | https://github.com/kmosher/PowerShell/blob/HEAD/src/Microsoft.PowerShell.Core.Activities/Generated/TestModuleManifestActivity.cs | ghcode:00173:073ad071735e | mit | codeparrot/github-code | 073ad071735e70659e644208a90af8256dfa2c80861ea268b56b2c52774dca55 | 0.85 | testing_debugging_repair_refactoring | 467 | false | 2026-07-17 |
using SourceCode.Clay.Correlation.Internal;
using Xunit;
namespace SourceCode.Clay.Correlation.Tests
{
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
public static class ConstantAccessorTests
{
[Theory]
[InlineData(null)]
[InlineData("")]
[InlineData(" ")]
... | k2workflow/Clay | tests/SourceCode.Clay.Correlation.Tests/ConstantAccessorTests.cs | https://github.com/k2workflow/Clay/blob/HEAD/tests/SourceCode.Clay.Correlation.Tests/ConstantAccessorTests.cs | ghcode:00173:4c5d91bd1006 | mit | codeparrot/github-code | 4c5d91bd10064933d9ad25a8e430b2b726cc987e8ea8356b71ed3fa18e02c202 | 0.85 | testing_debugging_repair_refactoring | 126 | false | 2026-07-17 |
using FluentAssertions;
using Machine.Specifications;
using NeverNull.Combinators;
namespace NeverNull.Tests.Combinators {
[Subject(typeof (RejectExt), "Reject")]
public class When_I_reject_none_if_it_contains_two {
static Option<int> _none;
static Option<int> _result;
Establ... | bryansoto/NeverNull | NeverNull.Tests/Combinators/When_I_reject_none_if_it_contains_two.cs | https://github.com/bryansoto/NeverNull/blob/HEAD/NeverNull.Tests/Combinators/When_I_reject_none_if_it_contains_two.cs | ghcode:00173:7fd11be57d5b | mit | codeparrot/github-code | 7fd11be57d5b28432a620e1dd288c86382edb40a996660864e476bd31c2822b6 | 0.6 | testing_debugging_repair_refactoring | 119 | false | 2026-07-17 |
using System.Linq;
using Xunit;
public class MappingFinderLowerCaseBackingFields
{
[Fact]
public void Run()
{
var memberMappings = ModuleWeaver.GetMappings(DefinitionFinder.FindType<ClassWithLowerCaseBackingFields>()).ToList();
Assert.Equal("property1", memberMappings.Single(x => x.Property... | Fody/PropertyChanged | Tests/MappingFinder/MappingFinderLowerCaseBackingFields.cs | https://github.com/Fody/PropertyChanged/blob/HEAD/Tests/MappingFinder/MappingFinderLowerCaseBackingFields.cs | ghcode:00173:a8ce22af664d | mit | codeparrot/github-code | a8ce22af664d557f6d569dc8ffe4ec81722670b07b5e92b5828f677e381f8b87 | 0.75 | testing_debugging_repair_refactoring | 193 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2009 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, inclu... | jnm2/nunit | src/NUnitFramework/framework/Attributes/SetUpAttribute.cs | https://github.com/jnm2/nunit/blob/HEAD/src/NUnitFramework/framework/Attributes/SetUpAttribute.cs | ghcode:00173:865cb2c513dd | mit | codeparrot/github-code | 865cb2c513ddc93d2d73b7eafabb3e15ad18c675ba57629e72070b4cad53ef7a | 0.85 | testing_debugging_repair_refactoring | 315 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using LogoFX.Tools.TemplateGenerator.Contracts;
using Microsoft.Build.Evaluation;
namespace LogoFX.Tools.TemplateGenerator
{
internal sealed class ProjectTemplateGenerator : GeneratorBase
... | LogoFX/tools | src/LogoFX.Tools.TemplateGenerator/ProjectTemplateGenerator.cs | https://github.com/LogoFX/tools/blob/HEAD/src/LogoFX.Tools.TemplateGenerator/ProjectTemplateGenerator.cs | ghcode:00173:8c61f1270517 | mit | codeparrot/github-code | 8c61f127051770ca1b1603a08bb3d3287cbbc4788723aa7e8766a7afa099e771 | 0.75 | testing_debugging_repair_refactoring | 924 | false | 2026-07-17 |
namespace Obvs.Monitoring.Tests
{
public class TestMessage
{
}
} | inter8ection/Obvs | Obvs.Monitoring.Tests/TestMessage.cs | https://github.com/inter8ection/Obvs/blob/HEAD/Obvs.Monitoring.Tests/TestMessage.cs | ghcode:00173:ea476798c848 | mit | codeparrot/github-code | ea476798c84866c6e9806d1ed5126d446f0c58be67d1c79c1bf3096635431d5a | 0.35 | testing_debugging_repair_refactoring | 20 | false | 2026-07-17 |
using System;
using BudgetAnalyser.Engine.Matching;
using BudgetAnalyser.Engine.Matching.Data;
using BudgetAnalyser.Engine.UnitTest.TestData;
using BudgetAnalyser.Engine.UnitTest.TestHarness;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BudgetAnalyser.Engine.UnitTest.Matching
{
[TestClass]
pu... | Benrnz/BudgetAnalyser | BudgetAnalyser.Engine.UnitTest/Matching/DtoToMatchingRuleMapperTest.cs | https://github.com/Benrnz/BudgetAnalyser/blob/HEAD/BudgetAnalyser.Engine.UnitTest/Matching/DtoToMatchingRuleMapperTest.cs | ghcode:00173:525489c879fd | mit | codeparrot/github-code | 525489c879fd30e67e95c08a895efe7da601e36eb7fc929fd5e550577585734b | 0.6 | testing_debugging_repair_refactoring | 775 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Xunit;
using System.Threading;
using Agent.Sdk;
using Agent.Plugins.PipelineCache;
using System.Diagnostics;
namespace Microsoft.VisualStudio.Services.Agent.Tests.PipelineCaching
{
public class TarUtilsL0 {
[Fact]
[Trait("Level", "L0")]
[Tr... | Microsoft/vsts-agent | src/Test/L0/Plugin/TarUtilsL0.cs | https://github.com/Microsoft/vsts-agent/blob/HEAD/src/Test/L0/Plugin/TarUtilsL0.cs | ghcode:00173:cf2b2716d8bd | mit | codeparrot/github-code | cf2b2716d8bd105cfbb429b377ced27ee353494ee8bbbc462aaca4094be800b2 | 0.85 | testing_debugging_repair_refactoring | 157 | false | 2026-07-17 |
namespace EOpt.Math.Optimization.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using EOpt.Math.Optimization;
using EOpt.Math.Optimization.MOOpt;
using Xunit;
public class MOFWTest
{
private static double Obj1(IReadOnlyList<double> point)
{... | KernelA/EOptimization-library | EOptimizationTests/MathTests/OptimizationTests/MOFWOptimizerTests.cs | https://github.com/KernelA/EOptimization-library/blob/HEAD/EOptimizationTests/MathTests/OptimizationTests/MOFWOptimizerTests.cs | ghcode:00173:58fb8e8a6d6a | mit | codeparrot/github-code | 58fb8e8a6d6ac1db0ecd6924c8ff0dbb45b35b763837a028b7594f8caf1a5521 | 0.75 | testing_debugging_repair_refactoring | 399 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using SimpleDataGenerator.Sql.Mapping;
using SimpleDataGenerator.Sql.Mapping.AssociationProperty.Model;
using SimpleDataGenerator.Sql.Sql;
using SimpleDataGenerator.Sql.Sql.Descrip... | FilipPaluch/SimpleDataGenerator.Sql | Source/SimpleDataGenerator.Tests.Sql/Sql/SqlColumnDescriptorTests.cs | https://github.com/FilipPaluch/SimpleDataGenerator.Sql/blob/HEAD/Source/SimpleDataGenerator.Tests.Sql/Sql/SqlColumnDescriptorTests.cs | ghcode:00173:b2ae8909336d | mit | codeparrot/github-code | b2ae8909336de22b109b55ca51c9df9d904098133fcb633ecbe75dadc996a666 | 0.85 | testing_debugging_repair_refactoring | 1,494 | false | 2026-07-17 |
// Copyright 2014 Frank A. Krueger
//
// 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 agree... | praeclarum/Netjs | Netjs/TsOutputVisitor.cs | https://github.com/praeclarum/Netjs/blob/HEAD/Netjs/TsOutputVisitor.cs | ghcode:00173:fd808873b131 | mit | codeparrot/github-code | fd808873b13141d3546d337f5f6895c052cb5b9d3c273c82cb0f8550a2c59444 | 0.72 | testing_debugging_repair_refactoring | 19,881 | 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/Reflection/TypeHierarchyComparerTests.cs | https://github.com/iSynaptic/iSynaptic.Commons/blob/HEAD/Testing/iSynaptic.Commons.UnitTests/Reflection/TypeHierarchyComparerTests.cs | ghcode:00173:a4173892761d | mit | codeparrot/github-code | a4173892761d4d2cf863a1dd8acc1c4879eb3906432efa852f96ccf80bbbe34e | 0.85 | testing_debugging_repair_refactoring | 880 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TableStorage.Abstractions.POCO.SecondaryIndexes.Tests
{
[TestClass]
public class IndexTests
{
private PocoTableStore<Employee, int, int> TableStore;
private PocoTableStore<Employee, int, ... | giometrix/TableStorage.Abstractions.POCO | tests/TableStorage.Abstractions.POCO.SecondaryIndexes.Tests/IndexTests.cs | https://github.com/giometrix/TableStorage.Abstractions.POCO/blob/HEAD/tests/TableStorage.Abstractions.POCO.SecondaryIndexes.Tests/IndexTests.cs | ghcode:00173:f566a1c24c72 | mit | codeparrot/github-code | f566a1c24c726587bdd4ea1c355ca5158aee24a0357a6ca1dbcedec35726f214 | 0.75 | testing_debugging_repair_refactoring | 5,831 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Python.Runtime;
namespace Python.EmbeddingTest
{
/// <summary>
/// Test Python Exceptions
/// </summary>
/// <remarks>
/// Keeping this in the old-style SetUp/TearDown
/// to ensure that setup still works.
/// </remarks>
[TestFixture]
publi... | denfromufa/pythonnet | src/embed_tests/pythonexception.cs | https://github.com/denfromufa/pythonnet/blob/HEAD/src/embed_tests/pythonexception.cs | ghcode:00173:581941f2dc13 | mit | codeparrot/github-code | 581941f2dc135a6b7829fa43e40ebac48e5e2c234231f5ba95b35a1c4540d388 | 0.7 | testing_debugging_repair_refactoring | 245 | false | 2026-07-17 |
// Copyright (c) CBC/Radio-Canada. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for more information.
using System;
using LinkIt.LinkTargets;
using LinkIt.PublicApi;
using LinkIt.Shared;
using LinkIt.TestHelpers;
using Xunit;
namespace LinkIt.Tests.LinkTargets
{
pu... | cbcrc/LinkIt | tests/LinkIt.Tests/LinkTargets/LinkTargetFactoryTests.cs | https://github.com/cbcrc/LinkIt/blob/HEAD/tests/LinkIt.Tests/LinkTargets/LinkTargetFactoryTests.cs | ghcode:00173:ed7a7da99b96 | mit | codeparrot/github-code | ed7a7da99b96efb625f377b2f8b736a736562666ea43cf680d5cb74afbc83749 | 0.75 | testing_debugging_repair_refactoring | 744 | false | 2026-07-17 |
// Copyright (c) SimControl e.U. - Wilhelm Medetz. See LICENSE.txt in the project root for more information.
using NLog;
using NUnit.Framework;
using SimControl.Log;
using SimControl.TestUtils;
namespace SimControl.Templates.CSharp.NUnitTests
{
[Log, TestFixture]
public class Tests1: TestFrame
{
... | SimControl/SimControl.Reactive | SimControl.Templates.CSharp.NUnit.Tests/Tests1.cs | https://github.com/SimControl/SimControl.Reactive/blob/HEAD/SimControl.Templates.CSharp.NUnit.Tests/Tests1.cs | ghcode:00173:3508dc98132b | mit | codeparrot/github-code | 3508dc98132b17d0adba19895c3e393e0309e0a3fdc1032878022ef7ded6ef1d | 0.85 | testing_debugging_repair_refactoring | 177 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using Microsoft.VisualStudio.TestWindow.Extensibility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JsTestAdapter.Logging
{
public abstract class TestLoggerBase : ITestLo... | MortenHoustonLudvigsen/JsTestAdapter | JsTestAdapter/Logging/TestLoggerBase.cs | https://github.com/MortenHoustonLudvigsen/JsTestAdapter/blob/HEAD/JsTestAdapter/Logging/TestLoggerBase.cs | ghcode:00173:8bfb1b07b63d | mit | codeparrot/github-code | 8bfb1b07b63d0fc5850e00d637c421bfe6264ba9543e4aad82c0d85c946337c7 | 0.85 | testing_debugging_repair_refactoring | 577 | false | 2026-07-17 |
using App.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace App.Tests
{
[TestClass]
public class MainViewModelTests
{
[TestMethod]
public void SetName_PropertyChangedEventShouldGetInvoked()
{
var viewModel = new MainViewModel();
... | danielbeckmann/MvvmTesting | App.Tests/MainViewModelTests.cs | https://github.com/danielbeckmann/MvvmTesting/blob/HEAD/App.Tests/MainViewModelTests.cs | ghcode:00173:bfefadf431b0 | mit | codeparrot/github-code | bfefadf431b0ca90bfa6d1833c49a26b6a7fe9a6a30481e4c6046100384ffc99 | 0.75 | testing_debugging_repair_refactoring | 217 | false | 2026-07-17 |
// Licensed under MIT No Attribution, see LICENSE file at the root.
// Copyright 2013 Andreas Gullberg Larsen (andreas.larsen84@gmail.com). Maintained at https://github.com/angularsen/UnitsNet.
using Xunit;
using UnitsNet.Units;
using System;
namespace UnitsNet.Tests.CustomCode
{
// Avoid accessing static prop D... | anjdreas/UnitsNet | UnitsNet.Tests/CustomCode/LengthTests.cs | https://github.com/anjdreas/UnitsNet/blob/HEAD/UnitsNet.Tests/CustomCode/LengthTests.cs | ghcode:00173:2185560b72df | mit | codeparrot/github-code | 2185560b72df252b73cf9b0b8e0a98c8f0374e002bf821efa2b7e7206b9519bf | 0.85 | testing_debugging_repair_refactoring | 2,068 | false | 2026-07-17 |
using NUnit.Framework;
namespace KAOS.Managers.Tests
{
[TestFixture]
public class TextureManagerTest
{
[Test]
public void TestLoadTexture()
{
//string textureid = "test-texture";
//Texture t = new Texture();
//TextureManager manager = new Textur... | stomppah/KAOS-Engine | KAOS/Managers/Tests/TextureManagerTest.cs | https://github.com/stomppah/KAOS-Engine/blob/HEAD/KAOS/Managers/Tests/TextureManagerTest.cs | ghcode:00173:9cf6b59e66fc | mit | codeparrot/github-code | 9cf6b59e66fcd72cc6f850df6ac9ec01d26af8ea14c058a9c24c1cedef2d9755 | 0.95 | testing_debugging_repair_refactoring | 93 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TagHelper_Benchmark.cs" company="Catel development team">
// Copyright (c) 2008 - 2017 Catel development team. All rights reserved.
// </copyright>
// ---------------------------... | Catel/Catel.Benchmarks | src/Catel.Benchmarks.Shared/Helpers/TagHelper_Benchmark.cs | https://github.com/Catel/Catel.Benchmarks/blob/HEAD/src/Catel.Benchmarks.Shared/Helpers/TagHelper_Benchmark.cs | ghcode:00173:99130df8f824 | mit | codeparrot/github-code | 99130df8f8240472c5b830b84c199e9ca841b8826df3809c8d11cb016a9ffc33 | 0.7 | testing_debugging_repair_refactoring | 142 | false | 2026-07-17 |
using System.Security.Cryptography;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Order;
namespace Pingu.Benchmarks.ImplementationBenchmarks
{
[Config(typeof(Config))]
[OrderProvider(SummaryOrderPolicy.FastestToSlowest)]
public class AvgFilterBenchmark
{
const int TotalBytes = 5000;... | bojanrajkovic/pingu | src/Pingu.Benchmarks/ImplementationBenchmarks/AvgFilterBenchmark.cs | https://github.com/bojanrajkovic/pingu/blob/HEAD/src/Pingu.Benchmarks/ImplementationBenchmarks/AvgFilterBenchmark.cs | ghcode:00173:13f7d70ea0e3 | mit | codeparrot/github-code | 13f7d70ea0e3b31496df405a1367f629cf69943cf9a2f89236afbc5259d29bfc | 0.75 | testing_debugging_repair_refactoring | 237 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using NDC.Build.Core.Services;
using Xunit;
namespace NDC.Build.Tests.Core.Services
{
[Trait("Category", "Integration")]
public class AuthenticationServiceTests
{
[Fact]
public async Task AuthenticateCredentialsAsyncWithInvalidCredentialsFalse()
... | nigel-sampson/talks | ndc-sydney-2016/NDC.Build.Tests/Core/Services/AuthenticationServiceTests.cs | https://github.com/nigel-sampson/talks/blob/HEAD/ndc-sydney-2016/NDC.Build.Tests/Core/Services/AuthenticationServiceTests.cs | ghcode:00173:e518b8dd35a6 | mit | codeparrot/github-code | e518b8dd35a60048d945e182e94df89a89b21a19d19871ee581503a504fa54d1 | 0.75 | testing_debugging_repair_refactoring | 170 | false | 2026-07-17 |
using Algorithms.UnionFind;
using Xunit;
using Xunit.Abstractions;
namespace AlgorithmsUnitTest.UnionFind
{
public class WeightedQuickUnionUnitTest
{
private readonly ITestOutputHelper logger;
public WeightedQuickUnionUnitTest(ITestOutputHelper console)
{
this.logger = cons... | cschen1205/cs-algorithms | cs-algorithms-unit-tests/UnionFind/WeightedQuickUnionUnitTest.cs | https://github.com/cschen1205/cs-algorithms/blob/HEAD/cs-algorithms-unit-tests/UnionFind/WeightedQuickUnionUnitTest.cs | ghcode:00173:00b7988f8fee | mit | codeparrot/github-code | 00b7988f8fee9d77cfe32d69309063e8e185ac511d75695169fe635cc9e333f5 | 0.6 | testing_debugging_repair_refactoring | 240 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Xunit;
using Xunit.Sdk;
namespace Microsoft.DotNet.Docker.Tests
{
[XunitTestCaseDiscoverer("Microsoft.DotNet.Docker.Tests.DotNetTheoryDiscoverer", "Microsof... | dotnet/dotnet-docker | tests/Microsoft.DotNet.Docker.Tests/DotNetTheoryAttribute.cs | https://github.com/dotnet/dotnet-docker/blob/HEAD/tests/Microsoft.DotNet.Docker.Tests/DotNetTheoryAttribute.cs | ghcode:00173:c3914bf888be | mit | codeparrot/github-code | c3914bf888beb8ca29895fb03611f210f487f80d8aae912ad6c256c1833d3ef4 | 0.75 | testing_debugging_repair_refactoring | 99 | false | 2026-07-17 |
using System;
using System.Linq;
using Xunit;
namespace Stripe.Tests
{
public class SubscriptionTests
{
private dynamic _plan;
private dynamic _customer;
private StripeClient _client;
public SubscriptionTests()
{
_client = new StripeClient(Constants.ApiKey);
var id = Guid.NewGuid().ToString();
... | JasonS/stripe-dotnet | test/Stripe.Tests/SubscriptionTests.cs | https://github.com/JasonS/stripe-dotnet/blob/HEAD/test/Stripe.Tests/SubscriptionTests.cs | ghcode:00173:5e5de7f94750 | mit | codeparrot/github-code | 5e5de7f947501347262002a4c911465ebbe94ccbebc9ecd72a2e56b8fbb9f9f4 | 0.75 | testing_debugging_repair_refactoring | 287 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using CleanKludge.Api.Responses.Articles;
using CleanKludge.Core.Articles;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CleanKludge.Core.Unit.Tests.GivenMultipleArticles
{
[TestClass]
public class WhenGettingTheLatest
{
... | CleanKludge/website | tests/CleanKludge.Core.Unit.Tests/GivenMultipleArticles/WhenGettingTheLatest.cs | https://github.com/CleanKludge/website/blob/HEAD/tests/CleanKludge.Core.Unit.Tests/GivenMultipleArticles/WhenGettingTheLatest.cs | ghcode:00173:c88131a482cb | mit | codeparrot/github-code | c88131a482cb9c309b6e62d1aa9cbfc90b7d0255007932f8243aa06df69f4192 | 0.6 | testing_debugging_repair_refactoring | 554 | false | 2026-07-17 |
namespace King.Service.Tests.Unit.Data
{
using Azure;
using global::Azure.Data.Wrappers;
using King.Service.Data;
using King.Service.Timing;
using NSubstitute;
using NUnit.Framework;
using System;
[TestFixture]
public class StorageDequeueBatchDynamicTests
{
const string... | jefking/King.Service | King.Service.Tests/Data/StorageDequeueBatchDynamicTests.cs | https://github.com/jefking/King.Service/blob/HEAD/King.Service.Tests/Data/StorageDequeueBatchDynamicTests.cs | ghcode:00173:0c0ad04213c8 | mit | codeparrot/github-code | 0c0ad04213c891806339e5d98f92602e9c148b07c975317fe0495774b9a56724 | 0.75 | testing_debugging_repair_refactoring | 328 | false | 2026-07-17 |
using System.Collections.Generic;
using Machine.Specifications;
using SnakeBattleNet.Core;
using SnakeBattleNet.Core.Contract;
namespace SnakeBattleNet.Test.Core.FighterTests
{
[Subject(typeof(Fighter))]
internal class When_call_CutTail_and_length_2
{
Establish context = () =>
{
... | FoC-/SnakeBattle.Net | src/SnakeBattleNet.Test.Core/FighterTests/When_call_CutTail_and_length_2.cs | https://github.com/FoC-/SnakeBattle.Net/blob/HEAD/src/SnakeBattleNet.Test.Core/FighterTests/When_call_CutTail_and_length_2.cs | ghcode:00173:2eb4141a3047 | mit | codeparrot/github-code | 2eb4141a304741899cec1d5e6d6ff00e548a6aac662c6e62b23cd85f99376c91 | 0.75 | testing_debugging_repair_refactoring | 229 | false | 2026-07-17 |
using System;
using MarcelloDB.Records;
using System.Collections.Generic;
using NUnit.Framework;
using MarcelloDB.Serialization;
namespace MarcelloDB.Test.Records
{
[TestFixture]
public class CollectionFileRootTest
{
[SetUp]
public void Initialize()
{
}
[Test]
... | markmeeus/MarcelloDB | MarcelloDB.Test/Records/CollectionFileRootTest.cs | https://github.com/markmeeus/MarcelloDB/blob/HEAD/MarcelloDB.Test/Records/CollectionFileRootTest.cs | ghcode:00173:f7a02e14aa3e | mit | codeparrot/github-code | f7a02e14aa3e6c6feb7fc1a8bbea72ea7b79e57380392c2da9bee44bc3af2aff | 0.6 | testing_debugging_repair_refactoring | 572 | false | 2026-07-17 |
/*
* Written by Trevor Barnett, <mr.ullet@gmail.com>, 2015, 2016
* Released to the Public Domain. See http://unlicense.org/ or the
* UNLICENSE file accompanying this source code.
*/
using System;
using NUnit.Framework;
namespace Ullet.Strix.Generic.Tests.Unit.GeneralExtensionsTests
{
[TestFixture]
public cla... | ullet/some_csharp_code | Ullet/Strix/Tests/Unit/Generic/GeneralExtensionsTests/MutateWithObjectTests.cs | https://github.com/ullet/some_csharp_code/blob/HEAD/Ullet/Strix/Tests/Unit/Generic/GeneralExtensionsTests/MutateWithObjectTests.cs | ghcode:00173:590d891f614e | unlicense | codeparrot/github-code | 590d891f614eab7f8a3e32d621f34c1052d0a01e2c1942a3dce33bdabdd1822f | 0.78 | testing_debugging_repair_refactoring | 381 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SpeedrunTimerMod.BeatTiming;
namespace SpeedrunTimerModTests
{
[TestClass]
public class BeatTimerTests
{
[TestMethod]
public void BeatTimer_OnQuarterBeat()
{
var beatTimer = new BeatTimer(60);
beatTimer.OnQuarterBeat();
Assert.... | Dalet/140-speedrun-timer | 140-speedrun-timer-tests/BeatTimerTests.cs | https://github.com/Dalet/140-speedrun-timer/blob/HEAD/140-speedrun-timer-tests/BeatTimerTests.cs | ghcode:00173:3bc247363afe | unlicense | codeparrot/github-code | 3bc247363afe7034117835674160bf8178e7a2bfb69fafdbaa1ed5fe4ca72f66 | 0.68 | testing_debugging_repair_refactoring | 749 | false | 2026-07-17 |
// Copyright 2014 The Rector & Visitors of the University of Virginia
//
// 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 req... | DARdk/IBA | Sensus.Shared.Tests/Sensus.Shared/Probes/User/Scripts/ScheduleTriggerTests.cs | https://github.com/DARdk/IBA/blob/HEAD/Sensus.Shared.Tests/Sensus.Shared/Probes/User/Scripts/ScheduleTriggerTests.cs | ghcode:00173:40ab50235129 | apache-2.0 | codeparrot/github-code | 40ab502351298527fb8c4e2ec93220f6bb988dbd55f56e364ce9fce5383181cb | 0.85 | testing_debugging_repair_refactoring | 4,048 | false | 2026-07-17 |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... | beysims/reef | lang/cs/Tests/TangTests/SmokeTest/RoundTripTest.cs | https://github.com/beysims/reef/blob/HEAD/lang/cs/Tests/TangTests/SmokeTest/RoundTripTest.cs | ghcode:00173:0f9c9565433c | apache-2.0 | codeparrot/github-code | 0f9c9565433ca6747758e2436e6a0499f6696022a67756ffeee1da8d29458a5b | 0.85 | testing_debugging_repair_refactoring | 337 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor... | Hosch250/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/WhenKeywordRecommenderTests.cs | https://github.com/Hosch250/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/WhenKeywordRecommenderTests.cs | ghcode:00173:252280cbb715 | apache-2.0 | codeparrot/github-code | 252280cbb715aad9cc9caa4af7c20f0b2c9bcb022659aeaa8f039be272a746ff | 0.75 | testing_debugging_repair_refactoring | 567 | false | 2026-07-17 |
namespace ContosoUniversity.IntegrationTests.Features.Course
{
using System.Linq;
using ContosoUniversity.Features.Course;
using Models;
using Shouldly;
public class CreateTests
{
public void Should_create(TestContextFixture fixture, Department dept)
{
fixture.SaveA... | jbogard/ContinuousDeliveryExample | src/IntegrationTests/Features/Course/CreateTests.cs | https://github.com/jbogard/ContinuousDeliveryExample/blob/HEAD/src/IntegrationTests/Features/Course/CreateTests.cs | ghcode:00174:68afd6a97079 | apache-2.0 | codeparrot/github-code | 68afd6a97079e6bbb3f654da3852ac245bb8fdd19324a8d558a8ab148cc2b9d5 | 0.75 | testing_debugging_repair_refactoring | 157 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework;
namespace Falcor.Router.Tests
{
[TestFixture]
public class ResponseBuilderTest
{
[Test]
public void Should_create_response_for_simple_property()
{
var target = new ResponseBuilder();
var re... | pvasek/falcor-net | src/Falcor.Router.Tests/ResponseBuilderTest.cs | https://github.com/pvasek/falcor-net/blob/HEAD/src/Falcor.Router.Tests/ResponseBuilderTest.cs | ghcode:00174:f17e82b0b9af | apache-2.0 | codeparrot/github-code | f17e82b0b9af36021f34c2434662cdd604a26298db508c787d7f3b00fbe13da9 | 0.75 | testing_debugging_repair_refactoring | 700 | false | 2026-07-17 |
/*
*
* SSB4455 2015.01.19
*
* ÓÃÀ´Éú³É»·µÄ´úÂ루ÓÉÕý·½Ìå×é³ÉµÄ»·£©
*/
using System.Collections.Generic;
using UnityEngine;
public class TestScript : MonoBehaviour
{
public Transform louti;
public GameObject cube;
private float r = 500;
private float angle = 0; //½Ç¶È
void Start()
{
for (i... | SSB4455/TestSoundIOS8 | Assets/Scripts/TestScript.cs | https://github.com/SSB4455/TestSoundIOS8/blob/HEAD/Assets/Scripts/TestScript.cs | ghcode:00174:2101ef232b5a | apache-2.0 | codeparrot/github-code | 2101ef232b5af99800effe5c61d27ce3b7eaeb8778940985c599b8ebec90b9d9 | 0.85 | testing_debugging_repair_refactoring | 283 | false | 2026-07-17 |
namespace dropkick.tests.Tasks.NetworkShare
{
using System;
using System.IO;
using dropkick.Tasks.NetworkShare;
using NUnit.Framework;
[TestFixture]
[Category("Integration")]
public class CreateNetworkShare
{
[Test][Explicit]
public void Execute()
{
i... | chucknorris/dropkick | product/dropkick.tests/Tasks/NetworkShare/CreateNetworkShare.cs | https://github.com/chucknorris/dropkick/blob/HEAD/product/dropkick.tests/Tasks/NetworkShare/CreateNetworkShare.cs | ghcode:00174:92a2f20a39d9 | apache-2.0 | codeparrot/github-code | 92a2f20a39d947d6bc0f522f5a675c4d7024b57e2d71f9f168e180dd2c252ddf | 0.75 | testing_debugging_repair_refactoring | 190 | false | 2026-07-17 |
using MinimalContainer.Tests.Utility;
using System;
using Xunit;
using Xunit.Abstractions;
namespace MinimalContainer.Tests.Relative
{
public class MultipleSingletonInterfaces : BaseUnitTest
{
public interface IFoo1 { }
public interface IFoo2 { }
public class Foo : IFoo1, IFoo2 { }
... | dshe/StandardContainer | MinimalContainer.Tests/Tests/Relative/MultipleSingletonInterfaces.cs | https://github.com/dshe/StandardContainer/blob/HEAD/MinimalContainer.Tests/Tests/Relative/MultipleSingletonInterfaces.cs | ghcode:00174:b35f06fbd43b | apache-2.0 | codeparrot/github-code | b35f06fbd43b506621196174018c988063d1f5a1f196cc734dc3212f14dfb23c | 0.85 | testing_debugging_repair_refactoring | 210 | false | 2026-07-17 |
using System;
using System.Data;
using System.Diagnostics;
using Northwind.Common.DataModel;
using NUnit.Framework;
using ServiceStack.DataAccess;
using ServiceStack.OrmLite.Sqlite;
namespace ServiceStack.OrmLite.Tests
{
[Ignore("Perf test")]
[TestFixture]
public class NorthwindPerfTests
{
[Test]
public void L... | telerik/ServiceStack.OrmLite | tests/ServiceStack.OrmLite.Tests/NorthwindPerfTests.cs | https://github.com/telerik/ServiceStack.OrmLite/blob/HEAD/tests/ServiceStack.OrmLite.Tests/NorthwindPerfTests.cs | ghcode:00174:9c98c7c868dc | bsd-3-clause | codeparrot/github-code | 9c98c7c868dcfed14e4d5b6c192d98dd9ff0c305c1a473083e7ce010ed871017 | 0.75 | testing_debugging_repair_refactoring | 397 | false | 2026-07-17 |
#region Copyright (c) 2003-2007, Luke T. Maxon
/********************************************************************************************************************
'
' Copyright (c) 2003-2007, Luke T. Maxon
' All rights reserved.
'
' Redistribution and use in source and binary forms, with or without modificat... | ChrisPelatari/XunitForms | source/XunitForms/Util/EventHelper.cs | https://github.com/ChrisPelatari/XunitForms/blob/HEAD/source/XunitForms/Util/EventHelper.cs | ghcode:00174:9a73e8f24b39 | bsd-3-clause | codeparrot/github-code | 9a73e8f24b398a1dafb34d22d08f7b221ab23465d5680e437d201f176e7c5621 | 0.7 | testing_debugging_repair_refactoring | 1,271 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.