text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using MbUnit.Framework;
using Rhino.Testing.AutoMocking;
namespace Rhino.Testing.Tests.AutoMocking
{
[TestFixture]
public class DefaultMockingStrategyTests: AutoMockingTests
{
[Test]
public void DefaultMockingStrategyNeverNull()
{
Assert.IsNotNull(container.DefaultMockingStrategy,
"Defaul... | codechip/rhino-tools | testing/Rhino.Testing.Tests/AutoMocking/DefaultMockingStrategyTests.cs | https://github.com/codechip/rhino-tools/blob/HEAD/testing/Rhino.Testing.Tests/AutoMocking/DefaultMockingStrategyTests.cs | ghcode:00177:8e9b2f0c7b6d | bsd-3-clause | codeparrot/github-code | 8e9b2f0c7b6df64aab1e2e5a493424ed9733954f9cea947e5500d0deacb09a29 | 0.75 | testing_debugging_repair_refactoring | 175 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAn... | abock/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/CaseKeywordRecommenderTests.cs | https://github.com/abock/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/CaseKeywordRecommenderTests.cs | ghcode:00177:a2273494d904 | mit | codeparrot/github-code | a2273494d9042726d329a0f5163122d790df0d11d17c8e3aedb11cfcb2d91f24 | 0.85 | testing_debugging_repair_refactoring | 1,404 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2007 Charlie Poole, Rob Prouse
//
// 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 restri... | jadarnel27/nunit | src/NUnitFramework/framework/Constraints/AndConstraint.cs | https://github.com/jadarnel27/nunit/blob/HEAD/src/NUnitFramework/framework/Constraints/AndConstraint.cs | ghcode:00177:8d11eefa64a8 | mit | codeparrot/github-code | 8d11eefa64a8fd1fe2cbb910af93445ec2208f850ca182d7e3c0bc12253fc930 | 0.85 | testing_debugging_repair_refactoring | 803 | false | 2026-07-17 |
using Lucene.Net.Attributes;
using Lucene.Net.Util;
using NUnit.Framework;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using Assert = Lucene.Net.TestFramework.Assert;
namespace Lucene.Net.Cli.Commands
{
/*
* Licensed to the Apache Software Foun... | apache/lucenenet | src/dotnet/tools/Lucene.Net.Tests.Cli/Commands/CommandTestCase.cs | https://github.com/apache/lucenenet/blob/HEAD/src/dotnet/tools/Lucene.Net.Tests.Cli/Commands/CommandTestCase.cs | ghcode:00177:8fb4c74877d5 | apache-2.0 | codeparrot/github-code | 8fb4c74877d51f72aee3ad9ccaf161a0620517d6cd59c05c7704c3202fc17960 | 0.85 | testing_debugging_repair_refactoring | 1,321 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using Analyzer... | qinxgit/roslyn-analyzers | src/Microsoft.CodeAnalysis.Analyzers/Core/MetaAnalyzers/DiagnosticAnalyzerAttributeAnalyzer.cs | https://github.com/qinxgit/roslyn-analyzers/blob/HEAD/src/Microsoft.CodeAnalysis.Analyzers/Core/MetaAnalyzers/DiagnosticAnalyzerAttributeAnalyzer.cs | ghcode:00177:aac0c12fb4a9 | apache-2.0 | codeparrot/github-code | aac0c12fb4a9ede0934e776950aaf793354717de34a6f00f30f765a04e69e64c | 0.85 | testing_debugging_repair_refactoring | 1,448 | 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.apac... | bryanhunter/azure-sdk-tools | WindowsAzurePowershell/src/Management.Storage.MsTestLib/Test.cs | https://github.com/bryanhunter/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.Storage.MsTestLib/Test.cs | ghcode:00177:5d2fc63173c9 | apache-2.0 | codeparrot/github-code | 5d2fc63173c95cd6c4b74dd100dd39eae421d3944ecdb2860d18fd1b5fb2bcca | 0.95 | testing_debugging_repair_refactoring | 690 | false | 2026-07-17 |
// ****************************************************************
// This is free software licensed under the NUnit license. You
// may obtain a copy of the license as well as information regarding
// copyright ownership at http://nunit.org/?p=license&r=2.4.
// ****************************************************... | vimaier/conqat | org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/NUnitCore/core/TestBuilderAttribute.cs | https://github.com/vimaier/conqat/blob/HEAD/org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/NUnitCore/core/TestBuilderAttribute.cs | ghcode:00177:ca3f60cd3736 | apache-2.0 | codeparrot/github-code | ca3f60cd37363cadff71dad4089512d10e6b7a3cf487904d768548b2fd3d5548 | 0.85 | testing_debugging_repair_refactoring | 134 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NUnit.Framework;
namespace AggregateSource
{
namespace EventRecorderTests
{
[TestFixture]
public class WithAnyInstance
{
EventRecorder _sut;
[SetUp]
public void Setup()
{
... | yreynhout/AggregateSource | src/Core/AggregateSource.Tests/EventRecorderTests.cs | https://github.com/yreynhout/AggregateSource/blob/HEAD/src/Core/AggregateSource.Tests/EventRecorderTests.cs | ghcode:00177:40e93d6137f0 | bsd-3-clause | codeparrot/github-code | 40e93d6137f08a93d241acef82616badda9c6f914401140216ed4660e5a7fbd1 | 0.75 | testing_debugging_repair_refactoring | 570 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using OrchardCore.Environment.Extensions;
using OrchardCore.Environment.Extensions.Features;
using OrchardCore.Environment.Shell;
using OrchardCor... | petedavis/Orchard2 | test/OrchardCore.Tests/Shell/ShellContainerFactoryTests.cs | https://github.com/petedavis/Orchard2/blob/HEAD/test/OrchardCore.Tests/Shell/ShellContainerFactoryTests.cs | ghcode:00177:9dff393bbd82 | bsd-3-clause | codeparrot/github-code | 9dff393bbd82ae1f51e21ab227ec7695e98a003b1feeae49523bcd909350de1b | 0.75 | testing_debugging_repair_refactoring | 1,737 | 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 DotNetNuke.Security.Roles.Internal
{
using System;
using System.Collections.Generic;
using... | mitchelsellers/Dnn.Platform | DNN Platform/Library/Obsolete/TestableRoleController.cs | https://github.com/mitchelsellers/Dnn.Platform/blob/HEAD/DNN Platform/Library/Obsolete/TestableRoleController.cs | ghcode:00177:00452809d35f | mit | codeparrot/github-code | 00452809d35f39dfd1de736e8f733d49bb3eedac410aefeb6dbbb656d2dfeed3 | 0.85 | testing_debugging_repair_refactoring | 591 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Diagnostics.Contracts;
using System.Security;
using System.Text;
namespace S... | botaberg/corert | src/System.Private.CoreLib/src/System/Globalization/TextInfo.Unix.cs | https://github.com/botaberg/corert/blob/HEAD/src/System.Private.CoreLib/src/System/Globalization/TextInfo.Unix.cs | ghcode:00177:4134f0341f15 | mit | codeparrot/github-code | 4134f0341f154dafea69da20fecb14fbcd1b7e6aadbb4e847c2e7001838d77cc | 0.95 | testing_debugging_repair_refactoring | 750 | 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 Dnn.PersonaBar.Pages.Tests
{
using System.Collections.Generic;
using Dnn.PersonaBar.Libra... | dnnsoftware/Dnn.Platform | Dnn.AdminExperience/Tests/Dnn.PersonaBar.Pages.Tests/PagesControllerUnitTests.cs | https://github.com/dnnsoftware/Dnn.Platform/blob/HEAD/Dnn.AdminExperience/Tests/Dnn.PersonaBar.Pages.Tests/PagesControllerUnitTests.cs | ghcode:00177:302004f8419c | mit | codeparrot/github-code | 302004f8419cf14baf11497f7d23f30024dc25f8b34175b13747ef39870c0551 | 0.95 | testing_debugging_repair_refactoring | 1,149 | false | 2026-07-17 |
using System;
using Fitbit.Api.Portable;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
namespace Fitbit.Portable.Tests
{
[TestFixture]
public class JsonDotNetSerializerTests
{
public class TestClass
{
[JsonProperty("testproperty")]
public... | amammay/Fitbit.NET | Fitbit.Portable.Tests/JsonDotNetSerializerTests.cs | https://github.com/amammay/Fitbit.NET/blob/HEAD/Fitbit.Portable.Tests/JsonDotNetSerializerTests.cs | ghcode:00177:eccb1fed891d | mit | codeparrot/github-code | eccb1fed891d6b981f9e96b581e46e84ed333e769e84ec131c80f0ea4b01147b | 0.75 | testing_debugging_repair_refactoring | 543 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ivony.Html;
using Ivony.Html.Parser;
namespace SelectorTest
{
[TestClass]
public class CssClassSelectorTest
{
[TestMethod]
[TestCategory( "选择器" )]
public v... | zpzgone/Jumony | SelectorTest/CssClassSelectorTest.cs | https://github.com/zpzgone/Jumony/blob/HEAD/SelectorTest/CssClassSelectorTest.cs | ghcode:00177:b68ce09eb2a5 | apache-2.0 | codeparrot/github-code | b68ce09eb2a517fc3ac61e1c5ca87d1796b797e8a53b78158ee67b7e5dd8de0b | 0.6 | testing_debugging_repair_refactoring | 226 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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... | jameschch/Lean | Tests/Indicators/OnBalanceVolumeTest.cs | https://github.com/jameschch/Lean/blob/HEAD/Tests/Indicators/OnBalanceVolumeTest.cs | ghcode:00177:b4fed0a8d32b | apache-2.0 | codeparrot/github-code | b4fed0a8d32b515ab6bfa72afebcad080a1229d53d912e1afeab923ab637801b | 0.75 | testing_debugging_repair_refactoring | 311 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="TaskBasedScheduler_TellScheduler_Cancellation_Tests.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/... | derwasp/akka.net | src/core/Akka.Tests/Actor/Scheduler/TaskBasedScheduler_TellScheduler_Cancellation_Tests.cs | https://github.com/derwasp/akka.net/blob/HEAD/src/core/Akka.Tests/Actor/Scheduler/TaskBasedScheduler_TellScheduler_Cancellation_Tests.cs | ghcode:00177:2044879cbe34 | apache-2.0 | codeparrot/github-code | 2044879cbe34352bba49d05be9fe36c68d1c04269bd33b11cf99af00c2efced8 | 0.85 | testing_debugging_repair_refactoring | 917 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="ClientAnnotationTests.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/DataServices/UnitTests/Client.TDD.Tests/Tests/Annotation/ClientAnnotationTests.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataServices/UnitTests/Client.TDD.Tests/Tests/Annotation/ClientAnnotationTests.cs | ghcode:00177:bdb48dcf1019 | mit | codeparrot/github-code | bdb48dcf10196f056859dd1735c785b12d35d51c30905446601bc9964893bdfc | 0.82 | testing_debugging_repair_refactoring | 11,776 | 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.Linq;
using System.Text;
using System.Threading.Tasks;... | Petermarcu/corefx | src/System.Security.Cryptography.Xml/tests/Samples/SigningVerifyingWithCustomSignatureMethod.cs | https://github.com/Petermarcu/corefx/blob/HEAD/src/System.Security.Cryptography.Xml/tests/Samples/SigningVerifyingWithCustomSignatureMethod.cs | ghcode:00177:ee43ee1de32d | mit | codeparrot/github-code | ee43ee1de32d84549d1963d4da78f05a3592766ef8c139cdab10c5c2bac0cc08 | 0.95 | testing_debugging_repair_refactoring | 726 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
namespace CocosSharp
{
// No-frills list that wraps an accessible array.
public class CCRawList<T> : IList<T>
{
int count;
#region Properties
// Direct access to the elements owned by the raw ... | netonjm/CocosSharp | src/platform/CCRawList.cs | https://github.com/netonjm/CocosSharp/blob/HEAD/src/platform/CCRawList.cs | ghcode:00177:655abcf46b20 | mit | codeparrot/github-code | 655abcf46b208a6cce7354d7d25fce046b621d16ce73406c282fa7f97ad26abc | 0.85 | testing_debugging_repair_refactoring | 2,704 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Glimpse.Core.Framework;
using Glimpse.Core.SerializationConverter;
using Xunit;
namespace Glimpse.Test.Core.SerializationConverter
{
public class PluginMetadataConverterShould
{
[Fact]
public void ConvertAPluginMetadataObject()
{
... | gabrielweyer/Glimpse | source/Glimpse.Test.Core/SerializationConverter/PluginMetadataConverterShould.cs | https://github.com/gabrielweyer/Glimpse/blob/HEAD/source/Glimpse.Test.Core/SerializationConverter/PluginMetadataConverterShould.cs | ghcode:00177:5d2a2348b6b3 | apache-2.0 | codeparrot/github-code | 5d2a2348b6b30c1982a0153f67d543b1c3454e15adeb05a53b7c1c3c4d7788a2 | 0.75 | testing_debugging_repair_refactoring | 174 | 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.
#pragma warning disable 0420
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+... | parjong/coreclr | src/mscorlib/src/System/Threading/ManualResetEventSlim.cs | https://github.com/parjong/coreclr/blob/HEAD/src/mscorlib/src/System/Threading/ManualResetEventSlim.cs | ghcode:00177:a4d5eba6f170 | mit | codeparrot/github-code | a4d5eba6f170c140771394ab5da694334c670c051b9dbaec54c673651052434a | 0.8 | testing_debugging_repair_refactoring | 7,457 | 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;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Roslyn.Test.Utilities;
using Xunit;
names... | ericfe-ms/roslyn | src/EditorFeatures/CSharpTest/Extensions/SyntaxTreeExtensionsTests.cs | https://github.com/ericfe-ms/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Extensions/SyntaxTreeExtensionsTests.cs | ghcode:00177:f462b224c012 | apache-2.0 | codeparrot/github-code | f462b224c012c09d9ffabccd6fc1e733bf2ed27bf220093480ff8f8cf49d3017 | 0.85 | testing_debugging_repair_refactoring | 474 | false | 2026-07-17 |
using System;
using NSubstitute;
using Xunit;
namespace Octokit.Tests.Clients
{
/// <summary>
/// Client tests mostly just need to make sure they call the IApiConnection with the correct
/// relative Uri. No need to fake up the response. All *those* tests are in ApiConnectionTests.cs.
/// </summary>
... | shiftkey-tester/octokit.net | Octokit.Tests/Clients/FeedsClientTests.cs | https://github.com/shiftkey-tester/octokit.net/blob/HEAD/Octokit.Tests/Clients/FeedsClientTests.cs | ghcode:00177:53f1737e9e62 | mit | codeparrot/github-code | 53f1737e9e62669daefe4aa5fc2f478784565881e75d8293982122a868500f8f | 0.85 | testing_debugging_repair_refactoring | 207 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | samaitra/ignite | modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/ReflectionUtils.cs | https://github.com/samaitra/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/ReflectionUtils.cs | ghcode:00177:3d75d0a0c990 | apache-2.0 | codeparrot/github-code | 3d75d0a0c990163dc7d67485425396caaa4992de908e07fff2d4ae33b751d8c7 | 0.85 | testing_debugging_repair_refactoring | 711 | 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.Threading;
using Microsoft.DotNet.RemoteExecutor;
using Xunit;
namespace Sys... | BrennanConroy/corefx | src/System.ComponentModel.EventBasedAsync/tests/AsyncOperationFinalizerTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.ComponentModel.EventBasedAsync/tests/AsyncOperationFinalizerTests.cs | ghcode:00177:f451fc780d75 | mit | codeparrot/github-code | f451fc780d75c3a55232c8443b5d5e7647c7dc52b0ed5dda58458d6042d6abe9 | 0.95 | testing_debugging_repair_refactoring | 425 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Xml;
using OLEDB.Test.ModuleCore;
using XmlCoreTest.Common;
using XmlReaderTest.Common;
namespace XmlReaderTest.ReaderSettingsTest
{
pu... | fffej/corefx | src/System.Xml.ReaderWriter/tests/Readers/ReaderSettings/TCReaderSettings.cs | https://github.com/fffej/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/Readers/ReaderSettings/TCReaderSettings.cs | ghcode:00177:be493c0675e2 | mit | codeparrot/github-code | be493c0675e2315eb777f3824ee5ddea6641fd47b5ba331a9b2f0a8c424c4459 | 0.95 | testing_debugging_repair_refactoring | 133 | 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.Security;
using System.Collections.Generic;
using System.Threading;
#if WINCORESYS
[assembly:AllowPartiallyTrustedCallers]
#endif
public... | Priya91/coreclr | tests/src/GC/Stress/Tests/573277.cs | https://github.com/Priya91/coreclr/blob/HEAD/tests/src/GC/Stress/Tests/573277.cs | ghcode:00177:d1200e73e31b | mit | codeparrot/github-code | d1200e73e31b0c5e60cf4a9db0a16a217006a6c42ce7f109f9c7056e4b8b938b | 0.95 | testing_debugging_repair_refactoring | 344 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.ComponentModel.Composition.Primitives;
using Xunit;
namespace System.ComponentModel.Composition.Hostin... | BrennanConroy/corefx | src/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/Primitives/CompositionElementTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/Primitives/CompositionElementTests.cs | ghcode:00177:e0b637a84297 | mit | codeparrot/github-code | e0b637a8429765fc76f1f819c03a506e8f52292f739d434f15f9c93eff9404b7 | 0.95 | testing_debugging_repair_refactoring | 371 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
using Microsoft.WindowsAzure.Commands.TrafficManager.Endpoint;
using Microsoft.WindowsAzure.Commands.Utilities.TrafficMa... | nandhanurrevanth/azure-powershell | src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Endpoints/NewTrafficManagerProfileTests.cs | https://github.com/nandhanurrevanth/azure-powershell/blob/HEAD/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Endpoints/NewTrafficManagerProfileTests.cs | ghcode:00177:8535d9c1d5b6 | apache-2.0 | codeparrot/github-code | 8535d9c1d5b6ba60574163ccf72d20475756c15c0005d981e28b7f80e8ccde75 | 0.75 | testing_debugging_repair_refactoring | 383 | 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 Xunit;
// The WinHttpHandler unit tests need to have parallelism turned off between test class... | ellismg/corefx | src/System.Net.Http/tests/FunctionalTests/XunitTestAssemblyAttributes.cs | https://github.com/ellismg/corefx/blob/HEAD/src/System.Net.Http/tests/FunctionalTests/XunitTestAssemblyAttributes.cs | ghcode:00177:5146d51b59aa | mit | codeparrot/github-code | 5146d51b59aaa817da90f8a8c1676bb6d4164fea9602ae1429c5e80a41908712 | 0.95 | testing_debugging_repair_refactoring | 131 | 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 OLEDB.Test.ModuleCore;
namespace System.Xml.Tests
{
public partial class TCHasValue : TCXMLReaderBaseGene... | iamjasonp/corefx | src/System.Xml.ReaderWriter/tests/XmlReaderLib/TCHasValue.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/XmlReaderLib/TCHasValue.cs | ghcode:00177:fabb2eba4400 | mit | codeparrot/github-code | fabb2eba4400b1554f964e7fcfc1f839b6e66675d32ae0fe3f7f84e8ac4092ad | 0.95 | testing_debugging_repair_refactoring | 758 | false | 2026-07-17 |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | pushrbx/squidex | tests/Squidex.Infrastructure.Tests/NamedIdTests.cs | https://github.com/pushrbx/squidex/blob/HEAD/tests/Squidex.Infrastructure.Tests/NamedIdTests.cs | ghcode:00177:9676e20ce7b9 | mit | codeparrot/github-code | 9676e20ce7b949dfb2e66902c86f0516c7302007d871376ff279869ae60dcdb0 | 0.85 | testing_debugging_repair_refactoring | 1,043 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NBDD.Framework.Tooling;
using NBDD.Tests._Assets;
using System.Linq;
namespace NBDD.Tests.Tooling
{
public partial class ProgramTests
{
[TestMethod]
[TestProperty(TestTraits.Module, "Program.MapArgsForDispatcher")]
public void S... | hudsonmendes/lib-nbdd | NBDD.Tests/Tooling/ProgramTests.MapArgsForDispatcher.cs | https://github.com/hudsonmendes/lib-nbdd/blob/HEAD/NBDD.Tests/Tooling/ProgramTests.MapArgsForDispatcher.cs | ghcode:00177:6aa2d4776497 | mit | codeparrot/github-code | 6aa2d4776497eb1291cb656647c274a49b4451a0cb4809c73650e31c7ac2a5c0 | 0.85 | testing_debugging_repair_refactoring | 344 | false | 2026-07-17 |
using NUnit.Framework;
namespace VkNet.Tests.Categories.Messages
{
public class MessagesGetConversationMembersTests : MessagesBaseTests
{
[Test]
public void GetConversationMembers()
{
Url = "https://api.vk.com/method/messages.getConversationMembers";
ReadCategoryJsonPath(nameof(GetConversationMembers))... | vknet/vk | VkNet.Tests/Categories/Messages/MessagesGetConversationMembersTests.cs | https://github.com/vknet/vk/blob/HEAD/VkNet.Tests/Categories/Messages/MessagesGetConversationMembersTests.cs | ghcode:00177:9efd9031861b | mit | codeparrot/github-code | 9efd9031861b9e7f1243123d5bd64901a32041949a7146101b2a1043309c522d | 0.75 | testing_debugging_repair_refactoring | 103 | false | 2026-07-17 |
using NBitcoin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Tests.Helpers;
using Xunit;
namespace WalletWasabi.Tests.UnitTests.BlockchainAnalysis
{
/// <summary>
/// In these tests no inputs... | nopara73/HiddenWallet | WalletWasabi.Tests/UnitTests/BlockchainAnalysis/ReceiveAnonScoreTests.cs | https://github.com/nopara73/HiddenWallet/blob/HEAD/WalletWasabi.Tests/UnitTests/BlockchainAnalysis/ReceiveAnonScoreTests.cs | ghcode:00177:59873722855f | mit | codeparrot/github-code | 59873722855fcea2ec636f3733f6f141190730205ea072c627cc3e46c425f5e5 | 0.85 | testing_debugging_repair_refactoring | 387 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Diagnostics.Tracing;
using Microsoft.Diagnos... | markcowl/autorest | Microsoft.Rest/ClientRuntime.Tracing.Tests/EtwTracingInterceptorTest.cs | https://github.com/markcowl/autorest/blob/HEAD/Microsoft.Rest/ClientRuntime.Tracing.Tests/EtwTracingInterceptorTest.cs | ghcode:00177:ed5684dc91ac | mit | codeparrot/github-code | ed5684dc91ac5c73bc06f370b870bf7283de9f79894352972a9e983923277a78 | 0.7 | testing_debugging_repair_refactoring | 1,762 | 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.OrderingRules
{
using System.Threading;
using System.Threading.Tasks;
using Style... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1211CSharp10UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1211CSharp10UnitTests.cs | ghcode:00177:40bfd1666543 | mit | codeparrot/github-code | 40bfd16665434bbaed7e51cf19f60a77cae2fa211250d5ca1b4edc4a9f09b093 | 0.75 | testing_debugging_repair_refactoring | 492 | false | 2026-07-17 |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Text;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TestHelpe... | hvanbakel/Asyncify-CSharp | Asyncify/Asyncify.Test/Helpers/DiagnosticVerifier.Helper.cs | https://github.com/hvanbakel/Asyncify-CSharp/blob/HEAD/Asyncify/Asyncify.Test/Helpers/DiagnosticVerifier.Helper.cs | ghcode:00177:c436b8d535c2 | mit | codeparrot/github-code | c436b8d535c227b3b65dc0b6f19ae6a902be5d091e1c1548ae1b32b2f77e419e | 0.7 | testing_debugging_repair_refactoring | 1,612 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Requests.Movies
{
using FluentAssertions;
using System;
using System.Collections;
using System.Collections.Generic;
using Traits;
using TraktApiSharp.Requests.Movies;
using TraktApiSharp.Requests.Parameters;
using Xunit;
[Category("Requests.Movies")]
... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Requests/Movies/MovieRelatedMoviesRequest_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Requests/Movies/MovieRelatedMoviesRequest_Tests.cs | ghcode:00177:af4f862cbb55 | mit | codeparrot/github-code | af4f862cbb5544a1ab091fac190f9f2ec2d8d9fdd0e965c70232b2282e2e8c57 | 0.95 | testing_debugging_repair_refactoring | 1,200 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using Moq;
using Xunit;
using ResRoom.Presentation.Client.ServiceModels;
using ResRoom.Application.Rooms.RoomManagement.Contract;
using ResRoom.Application.Rooms.RoomManagement.Co... | keeed/ResRoom | Source/Presentation/Client/ResRoom.Presentation.Client.Tests/ServiceModels/RoomServiceModelQueryTests.cs | https://github.com/keeed/ResRoom/blob/HEAD/Source/Presentation/Client/ResRoom.Presentation.Client.Tests/ServiceModels/RoomServiceModelQueryTests.cs | ghcode:00177:f12021e7d094 | mit | codeparrot/github-code | f12021e7d094da1236d0fda92820e8c4fda19f394e74c8875be873216924399b | 0.75 | testing_debugging_repair_refactoring | 525 | false | 2026-07-17 |
using System;
using Eimbo.Dominio.DTO.ModuloAtendimento;
using Eimbo.Dominio.Cadastro.Repositorio;
using Eimbo.Dominio.Comum.Entidade;
using Eimbo.Dominio.Comum.ObjetoValor;
using Eimbo.Dominio.Comum.Tipo;
using Eimbo.Dominio.Contrato.ModuloAtendimento;
using Eimbo.Dominio.Fachada.ModuloAtendimento;
using Eimbo.Domin... | RMedeirosCosta/eimbo | Eimbo.Teste/Dominio/ModuloAtendimento/Dado_Uma_FachadaAtendimento.cs | https://github.com/RMedeirosCosta/eimbo/blob/HEAD/Eimbo.Teste/Dominio/ModuloAtendimento/Dado_Uma_FachadaAtendimento.cs | ghcode:00177:a221932ef6d9 | mit | codeparrot/github-code | a221932ef6d95a131f1eb1cdaad269f000e716750d3b8e73809f241860f332de | 0.75 | testing_debugging_repair_refactoring | 4,202 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Highway.Data.Contexts;
using Highway.Data.Tests.InMemory.Domain;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Highway.Data.Tests.InMemory.BugTests
{
[TestClass]
public class PopulateReferencesTests
{
... | daveh551/Highway.Data | Highway/test/Highway.Data.Tests/InMemory/Bug Tests/PopulateReferencesTests.cs | https://github.com/daveh551/Highway.Data/blob/HEAD/Highway/test/Highway.Data.Tests/InMemory/Bug Tests/PopulateReferencesTests.cs | ghcode:00177:70d0e53cdec3 | mit | codeparrot/github-code | 70d0e53cdec3ba4d26d6bb4fba394543b6a06162f17d9c155f02ad7523fadd58 | 0.95 | testing_debugging_repair_refactoring | 249 | false | 2026-07-17 |
using EventRouter.Core;
using FluentAssertions;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Logfile.Core.UnitTests
{
class LogfileTest
{
void prepare(out Logfile<StandardLoglevel> logfile, out TestRouter<... | KristianVirkus/Logfile | tests/Logfile.Core.UnitTests/LogfileTest.cs | https://github.com/KristianVirkus/Logfile/blob/HEAD/tests/Logfile.Core.UnitTests/LogfileTest.cs | ghcode:00177:2ebda706dd0d | mit | codeparrot/github-code | 2ebda706dd0ddf520f40db8f38b99fab8f89c87ad52849466369ddb85eef623c | 0.7 | testing_debugging_repair_refactoring | 2,728 | false | 2026-07-17 |
using Ocelot.Configuration;
using Ocelot.Configuration.Builder;
using Ocelot.Configuration.Creator;
using Ocelot.Configuration.File;
using Shouldly;
using TestStack.BDDfy;
using Xunit;
namespace Ocelot.UnitTests.Configuration
{
public class ServiceProviderCreatorTests
{
private readonly ServiceProvider... | TomPallister/Ocelot | test/Ocelot.UnitTests/Configuration/ServiceProviderCreatorTests.cs | https://github.com/TomPallister/Ocelot/blob/HEAD/test/Ocelot.UnitTests/Configuration/ServiceProviderCreatorTests.cs | ghcode:00177:b6fa959b617a | mit | codeparrot/github-code | b6fa959b617a93119007360019fa11395d47d9f6f01ee40fe6e966bd9f63e4da | 0.75 | testing_debugging_repair_refactoring | 436 | false | 2026-07-17 |
namespace Payplug.Tests
{
using System;
using System.Collections.Generic;
using System.Net;
using NUnit.Framework;
using Payplug;
using Payplug.Exceptions;
[TestFixture]
public class CardTests
{
private const string CustomerID = "cus_6ESfofiMiLBjC6";
private const st... | payplug/payplug-sharp | Payplug.Tests/CardTest.cs | https://github.com/payplug/payplug-sharp/blob/HEAD/Payplug.Tests/CardTest.cs | ghcode:00177:bddef654d8fc | mit | codeparrot/github-code | bddef654d8fc6c225a9c5b879807bde9b2c431767a801b9699dac49236b1bf86 | 0.75 | testing_debugging_repair_refactoring | 639 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using NUnit.Framework;
namespace AxConfiguration.UnitTests
{
[TestFixture]
internal class ConfigFileProviderTests
{
[OneTimeSetUp]
public void Setup()
{
/* Little hack to se... | agilitix/agilib | AxConfiguration.UnitTests/ConfigFileProviderTests.cs | https://github.com/agilitix/agilib/blob/HEAD/AxConfiguration.UnitTests/ConfigFileProviderTests.cs | ghcode:00177:adf224b91016 | mit | codeparrot/github-code | adf224b9101601d4e1f731f1bfa3f3577ce7a6f2c01a7c8ae365c22c1326f4e5 | 0.85 | testing_debugging_repair_refactoring | 601 | false | 2026-07-17 |
namespace PokerTell.PokerHandParsers.Tests.PokerStars
{
using PokerTell.PokerHandParsers.Base;
public class BoardParserTests : Base.BoardParserTests
{
protected override string ValidBoard(string board)
{
// Board [6h 8d 4s Js]
return string.Format("Board [{0... | thlorenz/pokertell | Src/Tests/UnitTests/PokerTell.PokerHandParsers.Tests/PokerStars/BoardParserTests.cs | https://github.com/thlorenz/pokertell/blob/HEAD/Src/Tests/UnitTests/PokerTell.PokerHandParsers.Tests/PokerStars/BoardParserTests.cs | ghcode:00177:ea641547c045 | mit | codeparrot/github-code | ea641547c0454d80752c4858643c3ba7e0d9ae549096aef463d542b064a8c856 | 0.85 | testing_debugging_repair_refactoring | 110 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using PdfSharp.Drawing;
using Tharga.Reporter.Engine.Entity;
using Tharga.Reporter.Engine.Entity.Element;
using Tharga.Reporter.Engine.Entity.Util;
using Tharga.Reporter.Engine.Interface;
namespace Tharga.Reporter.Tests.Rendering
{
[TestFixture]
public class When_pre_renderin... | poxet/tharga-reporter | Tharga.Reporter.Tests/Rendering/When_pre_rendering_reference_point.cs | https://github.com/poxet/tharga-reporter/blob/HEAD/Tharga.Reporter.Tests/Rendering/When_pre_rendering_reference_point.cs | ghcode:00177:17c11bb4b99e | mit | codeparrot/github-code | 17c11bb4b99e303292baee4322c01406843538f29334f0c9dc4ebc1b203cd0d5 | 0.75 | testing_debugging_repair_refactoring | 739 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NodeDescriptor;
using System.Text;
using System.IO;
using System.Collections.Generic;
using NodeDescriptor.Nodes;
namespace NodeDescriptorTest
{
[TestClass]
public class Deserialization
{
public string GenerateExample()
... | alandoherty/nodedescriptor | NodeDescriptorTest/Deserialization.cs | https://github.com/alandoherty/nodedescriptor/blob/HEAD/NodeDescriptorTest/Deserialization.cs | ghcode:00177:972cebc31dba | mit | codeparrot/github-code | 972cebc31dba276615b32b63ab27ee06d5cbcc578e777a9aa749549593cffc14 | 0.7 | testing_debugging_repair_refactoring | 384 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Objects.Get.Users.Json.Reader
{
using FluentAssertions;
using System.Threading.Tasks;
using Traits;
using TraktApiSharp.Objects.Get.Users.Json.Reader;
using Xunit;
[Category("Objects.Get.Users.JsonReader")]
public partial class UserLikeItemObjectJsonReader_Tes... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Get/Users/Json/Reader/UserLikeItemObjectJsonReader/UserLikeItemObjectJsonReader_Json_String_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Objects/Get/Users/Json/Reader/UserLikeItemObjectJsonReader/UserLikeItemObjectJsonReader_Json_String_Tests.cs | ghcode:00177:aadc79805031 | mit | codeparrot/github-code | aadc7980503172fe70cf5ee8515f43149d2977e80c6a00824e77fd6dff1cec86 | 0.85 | testing_debugging_repair_refactoring | 207 | false | 2026-07-17 |
using NUnit.Framework;
using Eagle.FilePicker.ViewModels;
using Moq;
using Eagle.ViewModels;
namespace Eagle.Test.FilePicker
{
[TestFixture]
public class FilePickerViewModelTests
{
private Mock<IObjectPropertiesProvider> _objectPropertyProvider;
private Mock<IFileManager> _fileM... | nicodeslandes/Eagle | Eagle.Test/FilePicker/FilePickerViewModelTests.cs | https://github.com/nicodeslandes/Eagle/blob/HEAD/Eagle.Test/FilePicker/FilePickerViewModelTests.cs | ghcode:00177:19c65e9caaec | mit | codeparrot/github-code | 19c65e9caaece49116407509099930d05177bae92db73562aabd8cfa70ad391e | 0.75 | testing_debugging_repair_refactoring | 234 | false | 2026-07-17 |
using System.Collections.Generic;
using Microsoft.TemplateEngine.Abstractions;
using Microsoft.TemplateEngine.Core;
using Microsoft.TemplateEngine.Core.Contracts;
using Microsoft.TemplateEngine.Orchestrator.RunnableProjects.Macros;
using Microsoft.TemplateEngine.Orchestrator.RunnableProjects.Macros.Config;
using Micros... | mlorbetske/templating | test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/MacroTests/RegexMacroTests.cs | https://github.com/mlorbetske/templating/blob/HEAD/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/MacroTests/RegexMacroTests.cs | ghcode:00177:d5ea89336d6c | mit | codeparrot/github-code | d5ea89336d6c9f7d68895ff81ae6e36e376c6f13b6f04b997a20abb46b500fd7 | 0.75 | testing_debugging_repair_refactoring | 762 | false | 2026-07-17 |
using NUnit.Framework;
using System.Linq;
using UniversalGrid.Geometry;
namespace UniversalGrid.Tests.Geometry
{
[TestFixture]
public class RectangleTests
{
[Test]
public void CreateInstance_InitialisesAsExpected()
{
var rect = new Rectangle(0, 0, 2, 2);
As... | roberino/UniversalGrid | tests/UniversalGrid.Tests/Geometry/RectangleTests.cs | https://github.com/roberino/UniversalGrid/blob/HEAD/tests/UniversalGrid.Tests/Geometry/RectangleTests.cs | ghcode:00177:0d519fabdd38 | mit | codeparrot/github-code | 0d519fabdd3872d9a411ac968e4eaf57347f73a4ec04c4d21f29898687bdce15 | 0.75 | testing_debugging_repair_refactoring | 474 | false | 2026-07-17 |
using Microsoft.AspNet.Identity;
using Moq;
using NUnit.Framework;
using RememBeer.Business.Logic.Account.Confirm;
using RememBeer.Business.Logic.Account.Confirm.Contracts;
using RememBeer.Business.Services.Contracts;
using RememBeer.Tests.Utils;
namespace RememBeer.Tests.Business.Logic.Account.Confirm.Presenter
{... | J0hnyBG/RememBeerMe | src/RememBeer.Tests/Business/Logic/Account/Confirm/Presenter/OnSubmit_Should.cs | https://github.com/J0hnyBG/RememBeerMe/blob/HEAD/src/RememBeer.Tests/Business/Logic/Account/Confirm/Presenter/OnSubmit_Should.cs | ghcode:00177:050371909727 | mit | codeparrot/github-code | 05037190972703aa3c97575697631d442d4fd0b1b8faa2910676707874f76ff5 | 0.75 | testing_debugging_repair_refactoring | 664 | false | 2026-07-17 |
#region
using KataBankOCR.Business;
using NUnit.Framework;
#endregion
namespace KataBankOCR.Tests.Business
{
internal class RawCharacterReaderTest
{
[Test]
[TestCase(0, 0, "123234345")]
[TestCase(1, 0, "456567678")]
[TestCase(8, 0, "opqpqrqrs")]
[TestCase(0, 1, "56767... | qzjake/Pillar | KataBankOCR/KataBankOCR.Tests/Business/RawCharacterReaderTest.cs | https://github.com/qzjake/Pillar/blob/HEAD/KataBankOCR/KataBankOCR.Tests/Business/RawCharacterReaderTest.cs | ghcode:00177:8514628fcc36 | mit | codeparrot/github-code | 8514628fcc36cae42f95917a123a94669431a1c89545b18635331834ecc08d90 | 0.6 | testing_debugging_repair_refactoring | 294 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Lidgren.Network;
using System.Reflection;
using System.Text;
namespace UnitTests
{
public static class ReadWriteTests
{
public static string ToBinaryString(ulong value, int bits, bool includeSpaces)
{
int numSpaces = Math.Max(0, (bits / 8) - 1);
if (i... | ala53/mptanks2d | 3rd_Party/Lidgren.Network-8.31.2015/UnitTests/ReadWriteTests.cs | https://github.com/ala53/mptanks2d/blob/HEAD/3rd_Party/Lidgren.Network-8.31.2015/UnitTests/ReadWriteTests.cs | ghcode:00177:4eedec0a164b | mit | codeparrot/github-code | 4eedec0a164be0174dbeae6c332a32b8f4b5e53986fc37e534be3c431cd9d43b | 0.75 | testing_debugging_repair_refactoring | 1,229 | false | 2026-07-17 |
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using ReactNative.Modules.WebSocket;
namespace ReactNative.Tests.Modules.WebSocket
{
[TestFixture]
public class WebSocketOptionsTests
{
[Test]
[Category("WebSocket")]
public void WebSocketOptions_NoProxy()
{
var... | bluejeans/react-native-windows | ReactWindows/ReactNative.Shared.Tests/Modules/WebSocket/WebSocketOptionsTests.cs | https://github.com/bluejeans/react-native-windows/blob/HEAD/ReactWindows/ReactNative.Shared.Tests/Modules/WebSocket/WebSocketOptionsTests.cs | ghcode:00177:47078d579ed7 | mit | codeparrot/github-code | 47078d579ed7bb9437b0ed00801707777cc366d49fa56663aac8c828143a190c | 0.75 | testing_debugging_repair_refactoring | 881 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace JsonFlatFileDataStore.Test
{
public class DataStoreDisposeTests
{
[Theory]
[InlineData("datastore_dispose_false", false)]
[InlineData("datastore_dispose_true", true)]
... | ttu/json-flatfile-datastore | JsonFlatFileDataStore.Test/DataStoreDisposeTests.cs | https://github.com/ttu/json-flatfile-datastore/blob/HEAD/JsonFlatFileDataStore.Test/DataStoreDisposeTests.cs | ghcode:00177:a72642f96801 | mit | codeparrot/github-code | a72642f968013686638dbd8be9b3b0f316a663c69f6cab4f0b18481e82baf423 | 0.85 | testing_debugging_repair_refactoring | 472 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Archetype.PropertyConverters;
using Moq;
using NUnit.Framework;
using Umbraco.Core.Models.PublishedContent;
namespace Archetype.Tests.PropertyValueConverter
{
[TestFixture]
... | tomfulton/Archetype | app/Umbraco/Archetype.Tests/PropertyValueConverter/PropertyValueConverterTests.cs | https://github.com/tomfulton/Archetype/blob/HEAD/app/Umbraco/Archetype.Tests/PropertyValueConverter/PropertyValueConverterTests.cs | ghcode:00177:74963f31f90c | mit | codeparrot/github-code | 74963f31f90c80d1ddfc46211174de80826855dec6341f80cbf2b6366538fefd | 0.75 | testing_debugging_repair_refactoring | 394 | 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 Internal.Runtime;
using Internal.TypeSystem;
usi... | yizhang82/corert | src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ConstructedEETypeNode.cs | https://github.com/yizhang82/corert/blob/HEAD/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ConstructedEETypeNode.cs | ghcode:00177:ce19963b4a47 | mit | codeparrot/github-code | ce19963b4a47d4ddccfe16e2821dd2fee8280726d1c87fd25069c386b0cffca1 | 0.8 | testing_debugging_repair_refactoring | 1,713 | false | 2026-07-17 |
using NJsonApi.Test.TestModel;
using NJsonApi.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace NJsonApi.Test.Utils
{
public class ReflectionUnitTests
{
[Fact]
public void GIVEN_TypeThatIsNotGeneric_WHEN_FromWithinGe... | miclip/NJsonApiCore | test/NJsonApiCore.Test/Utils/ReflectionUnitTests.cs | https://github.com/miclip/NJsonApiCore/blob/HEAD/test/NJsonApiCore.Test/Utils/ReflectionUnitTests.cs | ghcode:00177:3affec71294f | mit | codeparrot/github-code | 3affec71294f3a2cb0e4df98f3f031d0ddcee88b257246430f181fd9c6ed0c47 | 0.85 | testing_debugging_repair_refactoring | 261 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using VkNet.Exception;
using VkNet.Utils;
namespace VkNet.Tests.Utils
{
[TestFixture]
public class VkErrorsTest : BaseTest
{
private class TestClass
{
public void Execute(int count)
{
VkErrors.ThrowIfNumberIsNegative(expr: () => count);
}
}
[Test]
public... | Soniclev/vk | VkNet.Tests/Utils/VkErrorsTest.cs | https://github.com/Soniclev/vk/blob/HEAD/VkNet.Tests/Utils/VkErrorsTest.cs | ghcode:00177:8f718283b35b | mit | codeparrot/github-code | 8f718283b35b2fe353b5796c8f0cac552612b88a4128332f8cef1cee9225c50a | 0.85 | testing_debugging_repair_refactoring | 2,446 | false | 2026-07-17 |
using System;
using Shouldly;
namespace SimpleFtp
{
public class UploadProgressArgs : EventArgs
{
public UploadProgressArgs(int eventId,
long totalBytesUploaded,
long currentBytesUploaded,
l... | PureKrome/SimpleFtp | Code/SimpleFtp/UploadProgressArgs.cs | https://github.com/PureKrome/SimpleFtp/blob/HEAD/Code/SimpleFtp/UploadProgressArgs.cs | ghcode:00177:e3deed01b4b3 | mit | codeparrot/github-code | e3deed01b4b3412f71d24c608a0826febebe8be92ce2e6c7e726c4fb00474c7a | 0.6 | testing_debugging_repair_refactoring | 167 | false | 2026-07-17 |
//-----------------------------------------------------------------------------------------
// <copyright file="ProviderFactoryTests.cs" company="Tasty Codes">
// Copyright (c) 2012 Chad Burggraf.
// </copyright>
//-----------------------------------------------------------------------------------------
namespace... | ChadBurggraf/raspy | Source/Raspy.Test/ProviderFactoryTests.cs | https://github.com/ChadBurggraf/raspy/blob/HEAD/Source/Raspy.Test/ProviderFactoryTests.cs | ghcode:00177:cc197f89c39b | mit | codeparrot/github-code | cc197f89c39b55fe26a9be50eab7075de92465c345d346eb45137526e685a76a | 0.85 | testing_debugging_repair_refactoring | 313 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
// TODO: Rework this
// RepeatAttribute should either
// 1) Apply at load time to create the exact number of tests, or
// 2) Apply at run time, generating tests or results dynamically
//
// #1 is feasible but doesn't provide m... | nunit/nunit | src/NUnitFramework/testdata/RepeatedTestFixture.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/testdata/RepeatedTestFixture.cs | ghcode:00177:17d1a336a49c | mit | codeparrot/github-code | 17d1a336a49c669cdbde6dd8a409d9188565da112cf88ead23a29512ab2059ba | 0.85 | testing_debugging_repair_refactoring | 870 | false | 2026-07-17 |
/*
* Box2D.XNA port of Box2D:
* Copyright (c) 2009 Brandon Furtwangler, Nathan Furtwangler
*
* Original source Box2D:
* Copyright (c) 2006-2009 Erin Catto http://www.gphysics.com
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable fo... | GretelF/squircle | thirdparty/Box2D/Box2D.XNA/Dynamics/Contacts/ContactSolver.cs | https://github.com/GretelF/squircle/blob/HEAD/thirdparty/Box2D/Box2D.XNA/Dynamics/Contacts/ContactSolver.cs | ghcode:00177:aab76a4e7814 | mit | codeparrot/github-code | aab76a4e7814862964519c701999ed591cca6a88888bcca630dfb519614a38fa | 0.85 | testing_debugging_repair_refactoring | 8,524 | false | 2026-07-17 |
class Class
{
/// GOOD: XML doc comments are ignored
/// int x;
/// int y;
// GOOD: This is not code
// a
// a
// GOOD: There is not enough code here to trigger
// the rule
//
// int x=0;
// if(x>0)
// f();
//
// BAD: There is commented out code here
//... | github/codeql | csharp/ql/test/query-tests/Bad Practices/Comments/CommentedOutCode/CommentedOutCode.cs | https://github.com/github/codeql/blob/HEAD/csharp/ql/test/query-tests/Bad Practices/Comments/CommentedOutCode/CommentedOutCode.cs | ghcode:00177:93db75be08cb | mit | codeparrot/github-code | 93db75be08cb5b70aa1fbb0a1c711a3affd80e69c4c0ec5b1e7358838c1b94bf | 0.95 | testing_debugging_repair_refactoring | 132 | false | 2026-07-17 |
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using XSerializer.Encryption;
using XSerializer.Tests.Encryption;
namespace XSerializer.Tests
{
public class ListJsonSerializerTests
{
[Test]
public void CanSerializeGenericIEnumerable()
{
var... | rlyczynski/XSerializer | XSerializer.Tests/ListJsonSerializerTests.cs | https://github.com/rlyczynski/XSerializer/blob/HEAD/XSerializer.Tests/ListJsonSerializerTests.cs | ghcode:00177:24dbe9dcd216 | mit | codeparrot/github-code | 24dbe9dcd2160c7ab44b3b0e3bb515a427574ba2bf436d84c85c82305c33277e | 0.75 | testing_debugging_repair_refactoring | 3,476 | false | 2026-07-17 |
using Microsoft.AspNetCore.Http;
using System;
namespace Webpack.AspNetCore.Tests.Integration
{
internal class CustomHttpContextAccessor : IHttpContextAccessor
{
private readonly PathString pathBase;
private HttpContext context;
public CustomHttpContextAccessor() : this(PathString.Emp... | sergeysolovev/webpack-aspnetcore | test/Webpack.AspNetCore.Tests.Integration/CustomHttpContextAccessor.cs | https://github.com/sergeysolovev/webpack-aspnetcore/blob/HEAD/test/Webpack.AspNetCore.Tests.Integration/CustomHttpContextAccessor.cs | ghcode:00177:f8f21ed06b4f | mit | codeparrot/github-code | f8f21ed06b4f7b7c44823d86bb19b709a8a963a27526b4d96f3df0d8df2033cd | 0.75 | testing_debugging_repair_refactoring | 146 | false | 2026-07-17 |
namespace ServerLibraryTests
{
class ModeTests
{
}
}
| rampantslug/pinball-framework | server/test/ServerLibraryTests/ModeTests.cs | https://github.com/rampantslug/pinball-framework/blob/HEAD/server/test/ServerLibraryTests/ModeTests.cs | ghcode:00177:88292027c347 | mit | codeparrot/github-code | 88292027c3478f380b65faf08c273c2522ed45ad00fec85bb64a876bae0dedff | 0.45 | testing_debugging_repair_refactoring | 16 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Affecto.IdentityManagement.Interfaces;
using Autofac;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TechTalk.SpecFlow;
namespace Affecto.IdentityManagement.AcceptanceTests.Infrastructure
{
internal abstract class StepDefinition
{
privat... | affecto/dotnet-IdentityManagement | IdentityManagement.AcceptanceTests/Infrastructure/StepDefinition.cs | https://github.com/affecto/dotnet-IdentityManagement/blob/HEAD/IdentityManagement.AcceptanceTests/Infrastructure/StepDefinition.cs | ghcode:00177:9c51dfc546f7 | mit | codeparrot/github-code | 9c51dfc546f77c62ad390229717ec161b47bef7456b35b4aae6723196f37fa0e | 0.6 | testing_debugging_repair_refactoring | 341 | false | 2026-07-17 |
using System;
using BenchmarkDotNet.Attributes;
namespace Prometheus.Client.Benchmarks.Comparison.Counter
{
public class CounterCreationBenchmarks : ComparisonBenchmarkBase
{
private const int _metricsPerIteration = 10_000;
private readonly string[] _metricNames;
private readonly strin... | phnx47/Prometheus.Client | tests/Prometheus.Client.Benchmarks.Comparison/Counter/CounterCreationBenchmarks.cs | https://github.com/phnx47/Prometheus.Client/blob/HEAD/tests/Prometheus.Client.Benchmarks.Comparison/Counter/CounterCreationBenchmarks.cs | ghcode:00177:7ac767f94374 | mit | codeparrot/github-code | 7ac767f9437458c78b8a66254479ffd713f2b343ace96fedcfdc1b3abee72871 | 0.75 | testing_debugging_repair_refactoring | 1,386 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using NRules.Diagnostics;
using NRules.Fluent.Dsl;
using NRules.IntegrationTests.TestAssets;
using Xunit;
namespace NRules.IntegrationTests
{
public class NodeSharingTest : BaseRuleTestFixture
{
[Fact]
public void Session_AlphaSelectionNodes... | NRules/NRules | src/NRules/Tests/NRules.IntegrationTests/NodeSharingTest.cs | https://github.com/NRules/NRules/blob/HEAD/src/NRules/Tests/NRules.IntegrationTests/NodeSharingTest.cs | ghcode:00177:b72171c68c12 | mit | codeparrot/github-code | b72171c68c124ea53532c763f668c2fc60dd405b66d7689113fc9e90923aeaf6 | 0.95 | testing_debugging_repair_refactoring | 1,038 | false | 2026-07-17 |
using FluentAssertions;
using NUnit.Framework;
namespace SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests.Validation.ApprenticeshipCreateOrEdit
{
[TestFixture]
public class WhenValidatingProviderReference : ApprenticeshipValidationTestBase
{
[TestCase("")]
[TestCase(null)]
publ... | SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Validation/ApprenticeshipCreateOrEdit/WhenValidatingProviderReference.cs | https://github.com/SkillsFundingAgency/das-providerapprenticeshipsservice/blob/HEAD/src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Validation/ApprenticeshipCreateOrEdit/WhenValidatingProviderReference.cs | ghcode:00177:ddfb372c3503 | mit | codeparrot/github-code | ddfb372c350399ded8b88329149d86476bfe38ae95a3b4e649a2b55dddf8788c | 0.75 | testing_debugging_repair_refactoring | 254 | false | 2026-07-17 |
using NUnit.Framework;
namespace Hidari0415.UstdCsv2Ju.Tests
{
public class JUnitStyleFailureElementTests
{
[SetUp]
public void SetUp()
{
}
[Test]
public void NoArgumentInitTest()
{
var jUnitFailureElement = new JUnitStyleFailureElement();
jUnitFailureElement.Message.Is("");
jUnitFailure... | hidari/UstdCsv2Ju | UstdCsv2JuTest/JUnitStyleFailureElementTests.cs | https://github.com/hidari/UstdCsv2Ju/blob/HEAD/UstdCsv2JuTest/JUnitStyleFailureElementTests.cs | ghcode:00177:e4082b571b22 | mit | codeparrot/github-code | e4082b571b224dde704e2e3b087d3f0e3230d5e3d9d52cdb7c4f2d6e5ed3e78e | 0.75 | testing_debugging_repair_refactoring | 208 | false | 2026-07-17 |
#if DOTNET35 // 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.
// The BigNumber class implements methods for formatting and parsing
// big numeric values. To format a... | Nethereum/Nethereum | src/Nethereum.BigInteger.N351/BigNumber.cs | https://github.com/Nethereum/Nethereum/blob/HEAD/src/Nethereum.BigInteger.N351/BigNumber.cs | ghcode:00177:cfac7ca27aea | mit | codeparrot/github-code | cfac7ca27aea71709626352c5743c9cf3e4c4317fa15dd7ce3386aa49785165f | 0.85 | testing_debugging_repair_refactoring | 6,635 | false | 2026-07-17 |
// Copyright (c) Ugo Lattanzi. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using StackExchange.Redis.Extensions.Core.Helpers;
using StackExchange.Re... | imperugo/StackExchange.Redis.Extensions | tests/StackExchange.Redis.Extensions.Core.Tests/CacheClientTestBase.Tags.cs | https://github.com/imperugo/StackExchange.Redis.Extensions/blob/HEAD/tests/StackExchange.Redis.Extensions.Core.Tests/CacheClientTestBase.Tags.cs | ghcode:00177:1a95167acbc5 | mit | codeparrot/github-code | 1a95167acbc5faa81a9189bdcf3106f25a9ccd4c04f5b68d4cdae5798bd313be | 0.6 | testing_debugging_repair_refactoring | 1,790 | false | 2026-07-17 |
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using ReactNative.Bridge;
using ReactNative.Modules.Core;
using ReactNative.Modules.Network;
using System;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
#if WINDOWS_UWP
using W... | lbochenek/react-native-windows | ReactWindows/ReactNative.Shared.Tests/Modules/Network/NetworkingModuleTests.cs | https://github.com/lbochenek/react-native-windows/blob/HEAD/ReactWindows/ReactNative.Shared.Tests/Modules/Network/NetworkingModuleTests.cs | ghcode:00177:e007445189d8 | mit | codeparrot/github-code | e007445189d8b4cbf4fec9fd21177b135195ec0b945b3b3604614b1d8ec1ca76 | 0.85 | testing_debugging_repair_refactoring | 4,309 | false | 2026-07-17 |
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// --------------------------------------------------------... | p-org/PSharp | Tests/StaticAnalysis.Tests/ControlFlow/AccessInLoopTests.cs | https://github.com/p-org/PSharp/blob/HEAD/Tests/StaticAnalysis.Tests/ControlFlow/AccessInLoopTests.cs | ghcode:00177:1df00a4f967e | mit | codeparrot/github-code | 1df00a4f967e0f41c5efc4898ecdba03f1dcf14a720700f069d2f47c1f39c546 | 0.85 | testing_debugging_repair_refactoring | 3,294 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Objects.Get.People.Credits.Json.Reader
{
using FluentAssertions;
using System.IO;
using System.Threading.Tasks;
using TestUtils;
using Traits;
using TraktApiSharp.Objects.Get.People.Credits.Json.Reader;
using Xunit;
[Category("Objects.Get.People.Credits.Js... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Get/People/Credits/Json/Reader/PersonShowCreditsCastItemObjectJsonReader/PersonShowCreditsCastItemObjectJsonReader_Stream_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Objects/Get/People/Credits/Json/Reader/PersonShowCreditsCastItemObjectJsonReader/PersonShowCreditsCastItemObjectJsonReader_Stream_Tests.cs | ghcode:00177:b7c68ebfb7d3 | mit | codeparrot/github-code | b7c68ebfb7d38e99d3119e6ceb0beecc4304f1cce781c636fcd799e00d97f129 | 0.85 | testing_debugging_repair_refactoring | 1,423 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using CommonTestTools.Contracts;
using Moq;
using Tnt.LongTests.ContractMocks;
using TNT;
using TNT.Api;
using TNT.Presentation.Deserializers;
using TNT.Presentation.Serializers;
namesp... | tmteam/TheNetTunnel | tests/TNT.Integration.LongTests/IntegrationTestsHelper.cs | https://github.com/tmteam/TheNetTunnel/blob/HEAD/tests/TNT.Integration.LongTests/IntegrationTestsHelper.cs | ghcode:00177:038617a546cf | mit | codeparrot/github-code | 038617a546cf38709d8660423b4a8e344e20b9ac30d9eb4eee4a3bd35e816664 | 0.6 | testing_debugging_repair_refactoring | 906 | false | 2026-07-17 |
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using AjaxAction;
using AjaxHub.v460.Test.Environment;
using AjaxHub.v460.Test.TestSources;
using NUnit.Framework;
namespace AjaxHub.v460.Test
{
[TestFixture]
public class AjaxHubUtilityTests
{
[Test]
public void RandomTypeMeth... | taori/AjaxHub | src/AjaxHub.Core.Test/AjaxHubUtilityTests.cs | https://github.com/taori/AjaxHub/blob/HEAD/src/AjaxHub.Core.Test/AjaxHubUtilityTests.cs | ghcode:00177:d99bab76b05a | mit | codeparrot/github-code | d99bab76b05ad273173404dad5e5645af3d109f7c45d548ff6ea121affda3e95 | 0.75 | testing_debugging_repair_refactoring | 120 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using EasyRpc.AspNetCore;
using Microsoft.AspNetCore.Http;
using Xunit;
namespace EasyRpc.Tests.AspNetCore.ModelBinding.Special
{
public class HttpRequestBindTest : BaseRequestTest
{
#region Service
... | ipjohnson/EasyRpc | tests/EasyRpc.Tests/AspNetCore/ModelBinding/Special/HttpRequestBindTest.cs | https://github.com/ipjohnson/EasyRpc/blob/HEAD/tests/EasyRpc.Tests/AspNetCore/ModelBinding/Special/HttpRequestBindTest.cs | ghcode:00177:0b34c5f98064 | mit | codeparrot/github-code | 0b34c5f9806497e1c376d2333f193b15fc9b792943b8d49e433df41f7be9e9cd | 0.75 | testing_debugging_repair_refactoring | 245 | false | 2026-07-17 |
namespace AdventOfCode.Tests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class LookAndSayTests
{
[TestMethod]
public void LookAndSayActual()
{
var las = new LookAndSay();
var output = las.RunLookAndSayOnRepeat("3113322113", ... | JoeIngledew/AdventOfCode.Jfi | AdventOfCode/Tests/LookAndSayTests.cs | https://github.com/JoeIngledew/AdventOfCode.Jfi/blob/HEAD/AdventOfCode/Tests/LookAndSayTests.cs | ghcode:00177:d76ae079fbca | mit | codeparrot/github-code | d76ae079fbcab75509ed797f4df16c0c5f01fe4d937ebdbb50d6c218584e21f3 | 0.85 | testing_debugging_repair_refactoring | 93 | false | 2026-07-17 |
namespace Easy.Storage.Tests.Unit
{
using System.Collections.Generic;
using Easy.Storage.Common;
using Easy.Storage.SQLite;
using Easy.Storage.SQLServer;
using Easy.Storage.Tests.Unit.Models;
using NUnit.Framework;
using Shouldly;
[TestFixture]
internal sealed class OverriddenTable... | NimaAra/Easy.Storage | Easy.Storage.Tests.Unit/OverriddenTableTests.cs | https://github.com/NimaAra/Easy.Storage/blob/HEAD/Easy.Storage.Tests.Unit/OverriddenTableTests.cs | ghcode:00177:7f551960f09c | mit | codeparrot/github-code | 7f551960f09ce0895b21e7e50f1bd9e07c29ae9590fb5d113fe127615efd3d72 | 0.75 | testing_debugging_repair_refactoring | 3,503 | false | 2026-07-17 |
#region Usings
using NUnit.Framework;
using WebApplication.Models;
#endregion
namespace UnitTests
{
[TestFixture]
public class HabitModelTest
{
[Test]
public void ByDefault_HabitStatusIs_New()
{
HabitModel habit;
habit = new HabitModel();
Ass... | SmartStepGroup/AgileCamp2015_Master | UnitTests/HabitModelTest.cs | https://github.com/SmartStepGroup/AgileCamp2015_Master/blob/HEAD/UnitTests/HabitModelTest.cs | ghcode:00177:52d1aa5837bc | mit | codeparrot/github-code | 52d1aa5837bcfc54ae0106b67bf8867862f8dad97d86b14b1d34b479405eca62 | 0.6 | testing_debugging_repair_refactoring | 79 | false | 2026-07-17 |
using Lucid.Lib.Facade.Pledge;
using Reposify.Testing;
namespace Lucid.Modules.Security.Tests
{
public class UserBuilder : Builder<User>
{
static UserBuilder()
{
CustomChecks.Add<User>((cc, e) =>
{
cc.CheckNotNull(() => e.Name);
}... | FlukeFan/LucidDotNet | Modules/Security/Tests/UserBuilder.cs | https://github.com/FlukeFan/LucidDotNet/blob/HEAD/Modules/Security/Tests/UserBuilder.cs | ghcode:00177:ef5d007cd7e2 | unlicense | codeparrot/github-code | ef5d007cd7e2994cc6223de6b8405456ee4e2f549dbe00f893b6d41f4f4486ef | 0.78 | testing_debugging_repair_refactoring | 104 | false | 2026-07-17 |
namespace NServiceBus.AcceptanceTests.Msmq
{
using System.Collections.Generic;
using NServiceBus.AcceptanceTesting;
using NServiceBus.AcceptanceTests.EndpointTemplates;
using NServiceBus.AcceptanceTests.PubSub;
using NServiceBus.AcceptanceTests.ScenarioDescriptors;
using NServiceBus.Features;
... | benjaminramey/GoodlyFere.NServiceBus.EntityFramework | src/AcceptanceTests/App_Packages/NSB.AcceptanceTests.5.2.14/Msmq/When_unsubscribing_with_authorizer.cs | https://github.com/benjaminramey/GoodlyFere.NServiceBus.EntityFramework/blob/HEAD/src/AcceptanceTests/App_Packages/NSB.AcceptanceTests.5.2.14/Msmq/When_unsubscribing_with_authorizer.cs | ghcode:00177:cf5564dfb1ff | apache-2.0 | codeparrot/github-code | cf5564dfb1ffd534b9dc7bba87e7d6296a40c17a228649afc013d697f659b5df | 0.6 | testing_debugging_repair_refactoring | 726 | false | 2026-07-17 |
#region License
// Copyright 2008 Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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
//... | JeremySkinner/FluentLinqToSql | src/FluentLinqToSql.Tests/TestExtensions.cs | https://github.com/JeremySkinner/FluentLinqToSql/blob/HEAD/src/FluentLinqToSql.Tests/TestExtensions.cs | ghcode:00177:e8ba4b003dc5 | apache-2.0 | codeparrot/github-code | e8ba4b003dc5ee9e13214905970851feea52fffcc2de10bdadccd3e77547f214 | 0.85 | testing_debugging_repair_refactoring | 787 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Bjd.net;
using DnsServer;
using NUnit.Framework;
namespace DnsServerTest{
public class OneRrTest{
//テスト用にOneRrを継承したクラスを定義する
private class RrTest : OneRr{
public RrTest(string name, DnsType dn... | furuya02/bjd5 | DnsServerTest/OneRrTest.cs | https://github.com/furuya02/bjd5/blob/HEAD/DnsServerTest/OneRrTest.cs | ghcode:00177:821d22d74e91 | apache-2.0 | codeparrot/github-code | 821d22d74e918dcd3bd11f413315d63f85e1dd68dedfd61d83f32a71848ebd3d | 0.7 | testing_debugging_repair_refactoring | 2,204 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | leveyj/ignite | modules/platforms/dotnet/Apache.Ignite.Core/Impl/PlatformTarget.cs | https://github.com/leveyj/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core/Impl/PlatformTarget.cs | ghcode:00177:0f7200d85fd9 | apache-2.0 | codeparrot/github-code | 0f7200d85fd9e5e73ae6b4358d98eb3d1370b9ae98e86edfa9473528f3c3dbbe | 0.7 | testing_debugging_repair_refactoring | 6,732 | false | 2026-07-17 |
using System;
using System.Linq;
using Bytes2you.Validation.UnitTests.Testing;
using Bytes2you.Validation.UnitTests.Testing.Helpers;
using Bytes2you.Validation.ValidationPredicates.NullablePredicates;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bytes2you.Validation.UnitTests.FluentExtensions.Nullabl... | veskokolev/Bytes2you.Validation | src/Bytes2you.Validation.UnitTests/FluentExtensions/NullableArgumentFluentExtensionsTests/IsNotNull_Should.cs | https://github.com/veskokolev/Bytes2you.Validation/blob/HEAD/src/Bytes2you.Validation.UnitTests/FluentExtensions/NullableArgumentFluentExtensionsTests/IsNotNull_Should.cs | ghcode:00177:b53d27c54e5a | apache-2.0 | codeparrot/github-code | b53d27c54e5a194d10d46cc087b8c664c9ce3dc7ead4dc540aa875962b4bc1ba | 0.7 | testing_debugging_repair_refactoring | 249 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using OpenQA.Selenium.Environment;
using OpenQA.Selenium.Remote;
namespace OpenQA.Selenium
{
[TestFixture]
public class AlertsTest : DriverTestFixture
{
[Test]
public void ShouldBeAbleToOverrideTheWindowAlertMethod()
... | valfirst/selenium | dotnet/test/common/AlertsTest.cs | https://github.com/valfirst/selenium/blob/HEAD/dotnet/test/common/AlertsTest.cs | ghcode:00177:21d2b00650c7 | apache-2.0 | codeparrot/github-code | 21d2b00650c7dae066eb450cbc8592a66947ea1fc4d90b8e42a1a6040cea29db | 0.95 | testing_debugging_repair_refactoring | 6,242 | false | 2026-07-17 |
using dexih.connections.test;
using System;
using System.Threading.Tasks;
using dexih.connections.db2;
using dexih.transforms;
using Xunit;
using Xunit.Abstractions;
namespace dexih.connections.sql
{
[Collection("SqlTest")]
public class ConnectionDB2Tests
{
private readonly ITestOutputHelper _outp... | dataexperts/dexih.transforms | test/dexih.connectinos.db2.tests/dexih.connections.db2.tests.cs | https://github.com/dataexperts/dexih.transforms/blob/HEAD/test/dexih.connectinos.db2.tests/dexih.connections.db2.tests.cs | ghcode:00177:bd5732663a70 | apache-2.0 | codeparrot/github-code | bd5732663a7031beb7b222a9c695bc7a0f410bf4e3bb688a8c058fd7c8676593 | 0.75 | testing_debugging_repair_refactoring | 751 | false | 2026-07-17 |
using System;
using Xunit;
namespace Proto.Tests
{
public class SupervisionTests_ExponentialBackoff
{
[Fact]
public void FailureOutsideWindow_ResetsFailureCount()
{
var rs = new RestartStatistics(10, DateTime.Now.Subtract(TimeSpan.FromSeconds(11)));
var strategy ... | AsynkronIT/protoactor-dotnet | tests/Proto.Actor.Tests/SupervisionTests_ExponentialBackoff.cs | https://github.com/AsynkronIT/protoactor-dotnet/blob/HEAD/tests/Proto.Actor.Tests/SupervisionTests_ExponentialBackoff.cs | ghcode:00177:0f89afdf3ab3 | apache-2.0 | codeparrot/github-code | 0f89afdf3ab313f5531ee4d7d68b8f77b083b33d6bf24104ea429754b268732c | 0.75 | testing_debugging_repair_refactoring | 219 | false | 2026-07-17 |
using Lucene.Net.Analysis.TokenAttributes;
using Lucene.Net.Attributes;
using Lucene.Net.Documents;
using Lucene.Net.Support;
using NUnit.Framework;
using System;
using Console = Lucene.Net.Support.SystemConsole;
namespace Lucene.Net.Index
{
using BaseDirectoryWrapper = Lucene.Net.Store.BaseDirectoryWrapper;
u... | laimis/lucenenet | src/Lucene.Net.Tests/Index/Test2BPositions.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Index/Test2BPositions.cs | ghcode:00177:50f687b88d5b | apache-2.0 | codeparrot/github-code | 50f687b88d5b7e96a56c7f890510b8a567d410e2527e9827921d63bc359c55a1 | 0.85 | testing_debugging_repair_refactoring | 1,032 | false | 2026-07-17 |
/*
* Copyright 2008-2013 the GAP developers. See the NOTICE file at the
* top-level directory of this distribution, and at
* https://gapwiki.chiro.be/copyright
*
* 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... | Chirojeugd-Vlaanderen/gap | Solution/TestProjecten/Chiro.Gap.Workers.Test/FunctiesManagerTest.cs | https://github.com/Chirojeugd-Vlaanderen/gap/blob/HEAD/Solution/TestProjecten/Chiro.Gap.Workers.Test/FunctiesManagerTest.cs | ghcode:00177:06c4b0266042 | apache-2.0 | codeparrot/github-code | 06c4b02660427e825a8e20a6973546cbc13cb6a51903cfde19eac6741aefe408 | 0.7 | testing_debugging_repair_refactoring | 4,598 | false | 2026-07-17 |
// Copyright (c) Gurmit Teotia. Please see the LICENSE file in the project root for license information.
using Amazon.SimpleWorkflow;
using Guflow.Decider;
using NUnit.Framework;
namespace Guflow.Tests.Decider
{
[TestFixture]
public class RecordMarkerWorkflowDecisionTests
{
[Test]
public v... | gurmitteotia/guflow | Guflow.Tests/Decider/RecordMarkerWorkflowDecisionTests.cs | https://github.com/gurmitteotia/guflow/blob/HEAD/Guflow.Tests/Decider/RecordMarkerWorkflowDecisionTests.cs | ghcode:00177:b5f26d69bcda | apache-2.0 | codeparrot/github-code | b5f26d69bcda10e284a427daade1159b3b18d799bd2c637cd0bb2264efa3273d | 0.75 | testing_debugging_repair_refactoring | 278 | false | 2026-07-17 |
// Copyright (C) 2014 dot42
//
// Original filename: Java.Security.Spec.cs
//
// 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
//
// Unl... | Dot42Xna/master | Generated/v2.1/Java.Security.Spec.cs | https://github.com/Dot42Xna/master/blob/HEAD/Generated/v2.1/Java.Security.Spec.cs | ghcode:00177:39dc290e4a19 | apache-2.0 | codeparrot/github-code | 39dc290e4a1935278d129eac9a7240ecb76f992672dd687e897abb305fbae4af | 0.72 | testing_debugging_repair_refactoring | 30,301 | false | 2026-07-17 |
using System;
using System.Globalization;
using System.Threading;
using NUnit.Framework;
namespace RestSharp.Tests
{
public class RestRequestTests
{
public RestRequestTests()
{
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
Thread.CurrentThread.Curr... | chengxiaole/RestSharp | RestSharp.Tests/RestRequestTests.cs | https://github.com/chengxiaole/RestSharp/blob/HEAD/RestSharp.Tests/RestRequestTests.cs | ghcode:00177:0e7573d31f9d | apache-2.0 | codeparrot/github-code | 0e7573d31f9d385ed4d497e1ed0dd5e877095dfe83f15e4ea9daa2ec97395220 | 0.75 | testing_debugging_repair_refactoring | 518 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.