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 NUnit.Framework;
using RefactoringEssentials.CSharp.CodeFixes;
namespace RefactoringEssentials.Tests.CSharp.CodeFixes
{
[TestFixture]
public class CS0759RedundantPartialMethodTests : CSharpCodeFixTestBase
{
[Test]
public void TestRedundantModifier()
{
var input = @... | mrward/RefactoringEssentials | Tests/CSharp/CodeFixes/CS0759RedundantPartialMethodTests.cs | https://github.com/mrward/RefactoringEssentials/blob/HEAD/Tests/CSharp/CodeFixes/CS0759RedundantPartialMethodTests.cs | ghcode:00001:ebe992829e66 | mit | codeparrot/github-code | ebe992829e66aefd1c16a9e30dd641d093a209ed3adbd3a9ad350a6b3b49cb8f | 0.75 | testing_debugging_repair_refactoring | 153 | 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.Reflection;
using System.Reflection.... | alphonsekurian/corefx | src/System.Reflection.DispatchProxy/tests/DispatchProxyTests.cs | https://github.com/alphonsekurian/corefx/blob/HEAD/src/System.Reflection.DispatchProxy/tests/DispatchProxyTests.cs | ghcode:00001:045bf8af25e4 | mit | codeparrot/github-code | 045bf8af25e417ec8e51914c081c5fdc622254345a54b59803dd1f4ea86352e9 | 0.95 | testing_debugging_repair_refactoring | 4,534 | 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.Globalization;
using Xunit;
namespace System.Globalization.Tests
{
public class TextInfoToString
{
// PosTest1: Verify the e... | josguil/corefx | src/System.Globalization/tests/TextInfo/TextInfoToString.cs | https://github.com/josguil/corefx/blob/HEAD/src/System.Globalization/tests/TextInfo/TextInfoToString.cs | ghcode:00001:0aa240256a6e | mit | codeparrot/github-code | 0aa240256a6e3b9107b37e20911b06e93febfc7fce64ce0f11a21447048f611c | 0.95 | testing_debugging_repair_refactoring | 205 | 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.Reflection;
[assembly: System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
namespace RemoteExecutorConsoleApp
{
/// <summary>
... | vs-team/corefx | src/Common/tests/System/Diagnostics/RemoteExecutorConsoleApp/RemoteExecutorConsoleApp.cs | https://github.com/vs-team/corefx/blob/HEAD/src/Common/tests/System/Diagnostics/RemoteExecutorConsoleApp/RemoteExecutorConsoleApp.cs | ghcode:00001:21f7ea9fdeaa | mit | codeparrot/github-code | 21f7ea9fdeaaa0798d07c414dffa6c923da3628fb2a1b4853cddc3628637b4f0 | 0.95 | testing_debugging_repair_refactoring | 625 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics;
namespace System.Reflection.Metadata
{
public struct ManifestResource
{
private readonly MetadataReader _reader;
// ... | vs-team/corefx | src/System.Reflection.Metadata/src/System/Reflection/Metadata/ManifestResource.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Reflection.Metadata/src/System/Reflection/Metadata/ManifestResource.cs | ghcode:00001:49d56f7b006f | mit | codeparrot/github-code | 49d56f7b006fe78a64cb17c966b025c97f2f91598b6169a3988eec392d0bd720 | 0.95 | testing_debugging_repair_refactoring | 533 | 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 RemoveAllTests
{
private XmlDocument CreateD... | iamjasonp/corefx | src/System.Xml.XmlDocument/tests/XmlAttributeCollectionTests/RemoveAllTests.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Xml.XmlDocument/tests/XmlAttributeCollectionTests/RemoveAllTests.cs | ghcode:00001:a54c5f8ff510 | mit | codeparrot/github-code | a54c5f8ff5105d81ec3ce18583528490f9eb5409d641ae0373dd3ccba51accdd | 0.95 | testing_debugging_repair_refactoring | 186 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.Security.KeyVault.Tests;
using NUnit.Framework;
namespace Azur... | AsrOneSdk/azure-sdk-for-net | sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SecretsTestBase.cs | https://github.com/AsrOneSdk/azure-sdk-for-net/blob/HEAD/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SecretsTestBase.cs | ghcode:00001:e4748867dd26 | mit | codeparrot/github-code | e4748867dd26c40b96b0f11219f3ef3da17df6bb80e13a49ed7d553b6ba2f26a | 0.95 | testing_debugging_repair_refactoring | 1,481 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _11.VersionAttribute
{
class TestProgram
{
static void Main(string[] args)
{
}
}
}
| HMNikolova/Telerik_Academy | Exam/C#OOPExampleTest/Defining Classes-2/Defining Classes-2/11.VersionAttribute/TestProgram.cs | https://github.com/HMNikolova/Telerik_Academy/blob/HEAD/Exam/C#OOPExampleTest/Defining Classes-2/Defining Classes-2/11.VersionAttribute/TestProgram.cs | ghcode:00001:a20cf0e342c3 | mit | codeparrot/github-code | a20cf0e342c3f4b253a63993cc49af2fa7e1e3c2265e0c6a52a890b1991fb891 | 0.75 | testing_debugging_repair_refactoring | 51 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SpirvNet.Spirv.Enums;
// This file is auto-generated and should not be modified manually.
namespace SpirvNet.Spirv.Ops.FlowControl
{
/// <summary>
/// OpLoopMerge
///
/// Declare ... | Philip-Trettner/SpirvNet | SpirvNet/SpirvNet/Spirv/Ops/FlowControl/OpLoopMerge.cs | https://github.com/Philip-Trettner/SpirvNet/blob/HEAD/SpirvNet/SpirvNet/Spirv/Ops/FlowControl/OpLoopMerge.cs | ghcode:00001:4a325bae1869 | mit | codeparrot/github-code | 4a325bae1869f74317fab468439cd318a1ced361e1e8279717a6374c677d568f | 0.7 | testing_debugging_repair_refactoring | 382 | false | 2026-07-17 |
using System.Threading;
using NUnit.Framework;
using Xenon.Tests.Integration;
namespace Xenon.Tests.SwitchToWindowTests
{
public abstract class BaseSwitchToWindowTests<T> : BaseXenonIntegrationTest where T : BaseXenonTest<T>
{
protected abstract BaseXenonTest<T> CreateInstance( IXenonBrowser browser );
public ... | LiquidThinking/Xenon | Xenon.Tests/SwitchToWindowTests/BaseSwitchToWindowTests.cs | https://github.com/LiquidThinking/Xenon/blob/HEAD/Xenon.Tests/SwitchToWindowTests/BaseSwitchToWindowTests.cs | ghcode:00001:d3a758dcda0f | mit | codeparrot/github-code | d3a758dcda0ff9546a2b41f7f7adc761df3e251b4cb2a1ce6ca8dcb8cd5be8ef | 0.75 | testing_debugging_repair_refactoring | 560 | false | 2026-07-17 |
using System.Collections.Generic;
using Htc.Vita.Core.Json;
using Htc.Vita.Core.Util;
using Xunit;
namespace Htc.Vita.Core.Tests
{
public static class IEnumerableExtensionTest
{
[Fact]
public static void Default_0_ToJsonArray_bool()
{
var items = new List<bool>
{... | ViveportSoftware/vita_core_csharp | source/Htc.Vita.Core.Tests/IEnumerableExtensionTest.cs | https://github.com/ViveportSoftware/vita_core_csharp/blob/HEAD/source/Htc.Vita.Core.Tests/IEnumerableExtensionTest.cs | ghcode:00001:7d94b9a892d9 | mit | codeparrot/github-code | 7d94b9a892d90413f0cdfa098f9ae6f3adb635c0731c047c3479eb0a44cc8b61 | 0.6 | testing_debugging_repair_refactoring | 1,323 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace Nunit.Framework.TestCaseStorage.Tests
{
class IntTestCaseSourceTests
{
[NUnit.Framework.Test]
public void It_should_have_all_numbers_are_bigger_then_zero()
{
... | arekbee/Nunit.Framework.TestCaseStorage | TestCaseStorageSolution/Nunit.Framework.TestCaseStorage.Tests/IntTestCaseSourceTests.cs | https://github.com/arekbee/Nunit.Framework.TestCaseStorage/blob/HEAD/TestCaseStorageSolution/Nunit.Framework.TestCaseStorage.Tests/IntTestCaseSourceTests.cs | ghcode:00001:7839200f6844 | mit | codeparrot/github-code | 7839200f6844f9709443c68915bf0d8d5fddf1e324c9994fcce447e6631a8680 | 0.75 | testing_debugging_repair_refactoring | 302 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ClaimsPrincipalTests.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>no summary</summary>
//-----------------------------------... | JasonBock/csla | Source/csla.netcore.test/Serialization/ClaimsPrincipalTests.cs | https://github.com/JasonBock/csla/blob/HEAD/Source/csla.netcore.test/Serialization/ClaimsPrincipalTests.cs | ghcode:00001:7320cdd8a6af | mit | codeparrot/github-code | 7320cdd8a6affe1a6af71bc9b6625c8c274ce75fd6362dcac00456252475ff54 | 0.85 | testing_debugging_repair_refactoring | 298 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Fuzziverse.Tests.Simulations
{
[TestFixture]
public class WhenICreateRandomNumberGenerators : AssertionHelper
{
[Test]
public void WhenISeedOn... | adamrmoss/Fuzziverse | Fuzziverse.Tests/Simulations/WhenICreateRandomNumberGenerators.cs | https://github.com/adamrmoss/Fuzziverse/blob/HEAD/Fuzziverse.Tests/Simulations/WhenICreateRandomNumberGenerators.cs | ghcode:00001:57aa364ea26b | mit | codeparrot/github-code | 57aa364ea26b24eefe766fb3988ab276ce276427a727bdf54f855c6f13e38c24 | 0.6 | testing_debugging_repair_refactoring | 132 | false | 2026-07-17 |
namespace Hqub.MusicBrainz.API.Test
{
using Hqub.MusicBrainz.API.Entities.Collections;
using NUnit.Framework;
// Resource: releasegroup-search.json
// ReleaseGroup.Search("artist:(bob dylan)", 10);
//
// https://musicbrainz.org/ws/2/release-group?query=artist:%28bob%20dylan%29&limit=10&fmt=js... | wo80/MusicBrainz | Hqub.MusicBrainz/Hqub.MusicBrainz.API.Test/ReleaseGroupListTests.cs | https://github.com/wo80/MusicBrainz/blob/HEAD/Hqub.MusicBrainz/Hqub.MusicBrainz.API.Test/ReleaseGroupListTests.cs | ghcode:00001:74b6553889ba | mit | codeparrot/github-code | 74b6553889baefd93bd89c6d566c11c98b07ad425282e2dead8c9eb8c30f4848 | 0.85 | testing_debugging_repair_refactoring | 378 | false | 2026-07-17 |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using Python.Runtime.StateSerialization;
namespace Python.Runtime
{
/// <summary>
/// Implements the "import hook" used to integrate Python with the CLR.
/// </summary>
internal static class ... | pythonnet/pythonnet | src/runtime/ImportHook.cs | https://github.com/pythonnet/pythonnet/blob/HEAD/src/runtime/ImportHook.cs | ghcode:00001:9ee77f66c6c8 | mit | codeparrot/github-code | 9ee77f66c6c8e3cf48128ef638b1c04692523f143f8a3884a5c53d20df1a9b87 | 0.7 | testing_debugging_repair_refactoring | 2,476 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using NUnit.Framework;
using osu.Game.Overlays;
using osu.Game.Overlays.Social;
using osu.Game.Users;
namespace osu.Game... | DrabWeb/osu | osu.Game.Tests/Visual/Online/TestCaseSocial.cs | https://github.com/DrabWeb/osu/blob/HEAD/osu.Game.Tests/Visual/Online/TestCaseSocial.cs | ghcode:00001:d8ad5df18d0e | mit | codeparrot/github-code | d8ad5df18d0e9a323ca3d06765410931172926968f8f6f9933f8269bd656dc89 | 0.85 | testing_debugging_repair_refactoring | 691 | false | 2026-07-17 |
using System.Collections.Generic;
namespace WalletWasabi.Fluent.ViewModels
{
public class TestLineChartViewModel
{
public double XAxisCurrentValue { get; set; } = 36;
public double XAxisMinValue { get; set; } = 1;
public double XAxisMaxValue { get; set; } = 1008;
public List<string> XAxisLabels => new Lis... | nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/TestLineChartViewModel.cs | https://github.com/nopara73/HiddenWallet/blob/HEAD/WalletWasabi.Fluent/ViewModels/TestLineChartViewModel.cs | ghcode:00001:1743df2b8e28 | mit | codeparrot/github-code | 1743df2b8e289684ebae32607c10cd99e38ed24301258c15b0d5bf265a18ca93 | 0.75 | testing_debugging_repair_refactoring | 301 | false | 2026-07-17 |
using NUnit.Framework;
using Buildron.Infrastructure.BuildsProviders.Filter;
using Rhino.Mocks;
using Buildron.Domain.Builds;
using System.Xml;
using System;
using System.IO;
using Buildron.Infrastructure.BuildsProvider.Jenkins;
using System.Linq;
using Buildron.Domain.CIServers;
namespace Buildron.Infrastructure.Fun... | skahal/Buildron | src/Buildron/Assets/_Assets/Scripts/Infrastructure.FunctionalTests/Editor/BuildsProviders/Jenkins/JenkinsUserParserTest.cs | https://github.com/skahal/Buildron/blob/HEAD/src/Buildron/Assets/_Assets/Scripts/Infrastructure.FunctionalTests/Editor/BuildsProviders/Jenkins/JenkinsUserParserTest.cs | ghcode:00001:a2c9d0954652 | mit | codeparrot/github-code | a2c9d0954652970a8407da65da4261565d2613cfcd9b322bcb049832fe1a895f | 0.6 | testing_debugging_repair_refactoring | 195 | false | 2026-07-17 |
#region Licence
/* The MIT License (MIT)
Copyright © 2014 Ian Cooper <ian_hammond_cooper@yahoo.co.uk>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limita... | BrighterCommand/Brighter | tests/Paramore.Brighter.Core.Tests/OnceOnly/When_Handling_A_Command_Once_Only_With_Throw_Enabled_Async.cs | https://github.com/BrighterCommand/Brighter/blob/HEAD/tests/Paramore.Brighter.Core.Tests/OnceOnly/When_Handling_A_Command_Once_Only_With_Throw_Enabled_Async.cs | ghcode:00001:27ba76cec78c | mit | codeparrot/github-code | 27ba76cec78ca017ea952db48a924a78844b7ee7815a234c7d02666f7c5a939a | 0.6 | testing_debugging_repair_refactoring | 648 | 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.
namespace Microsoft.DocAsCode.Tests
{
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xunit;
using Microsoft.DocAsCod... | LordZoltan/docfx | test/docfx.Tests/BuildCommandTest.cs | https://github.com/LordZoltan/docfx/blob/HEAD/test/docfx.Tests/BuildCommandTest.cs | ghcode:00001:15d6321aa9bf | mit | codeparrot/github-code | 15d6321aa9bf5c201ccfd9982b08ed09c3ad20376362c24bf64c353f45ec22fc | 0.7 | testing_debugging_repair_refactoring | 2,314 | false | 2026-07-17 |
namespace Aspose.Tasks.Examples.CSharp
{
using System;
using NUnit.Framework;
using Saving;
using Util;
[TestFixture]
public class ExRsc : ApiExampleBase
{
[Test]
public void GetSetAccrueAt()
{
// ExStart
// ExFor: Rsc.AccrueAt
//... | aspose-tasks/Aspose.Tasks-for-.NET | Examples/CSharp/ExRsc.cs | https://github.com/aspose-tasks/Aspose.Tasks-for-.NET/blob/HEAD/Examples/CSharp/ExRsc.cs | ghcode:00001:cad720c32dd6 | mit | codeparrot/github-code | cad720c32dd65e31874d57d41e4b06330791ef296504802ea6d743ba6ed0c2de | 0.7 | testing_debugging_repair_refactoring | 7,371 | false | 2026-07-17 |
#if NUNIT
namespace TsvBits.Serialization.Tests.Rom
{
internal class Report
{
private readonly Body _body = new Body();
public string Name { get; set; }
public Length Width { get; set; }
public Body Body
{
get { return _body; }
}
}
}
#endif | sergeyt/xserializer | src/Tests/Rom/Report.cs | https://github.com/sergeyt/xserializer/blob/HEAD/src/Tests/Rom/Report.cs | ghcode:00001:ca6132725f1f | mit | codeparrot/github-code | ca6132725f1ff33574380f82a3c93a51fa59875fe801bdbb5d94a7cfc126397e | 0.85 | testing_debugging_repair_refactoring | 74 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Text;
using Eto.Parse.Samples.Json.Ast;
namespace Eto.Parse.TestSpeed.Tests.Json
{
public class EtoAstBenchmark : Benchmark<JsonSuite, JsonToken>
{
Eto.Parse.Samples.Json.JsonGrammar grammar;
JsonAstBuilder jsonAst;
public EtoAstBenchmark()
{
jsonAst = new Js... | picoe/Eto.Parse | Eto.Parse.TestSpeed/Tests/Json/EtoAstBenchmark.cs | https://github.com/picoe/Eto.Parse/blob/HEAD/Eto.Parse.TestSpeed/Tests/Json/EtoAstBenchmark.cs | ghcode:00001:33fbcf5e4e00 | mit | codeparrot/github-code | 33fbcf5e4e00f176008e1336c48107fc72c2f8e8233165ab958c5a32a4d84d59 | 0.85 | testing_debugging_repair_refactoring | 238 | false | 2026-07-17 |
using Algo.Heaps;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Algo.Tests.Heap
{
[TestClass]
public class MaxHeapTests
{
[TestMethod]
public void Add_SortedElements_ReturnsExpected()
{
/... | scripni/algo | Algo/Algo.Tests/Heap/MaxHeapTests.cs | https://github.com/scripni/algo/blob/HEAD/Algo/Algo.Tests/Heap/MaxHeapTests.cs | ghcode:00001:20fafedfe406 | mit | codeparrot/github-code | 20fafedfe406bcf061659d9d0546e8386d55c05b6e0db7332b5ad2afe67b6620 | 0.85 | testing_debugging_repair_refactoring | 1,130 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using LibGit2Sharp.Core;
using LibGit2Sharp.Core.Handles;
namespace LibGit2Sharp
{
/// <summary>
/// Holds the result of the determination of the state of the work... | jamill/libgit2sharp | LibGit2Sharp/RepositoryStatus.cs | https://github.com/jamill/libgit2sharp/blob/HEAD/LibGit2Sharp/RepositoryStatus.cs | ghcode:00001:080334be0d0a | mit | codeparrot/github-code | 080334be0d0aeebdd43e8d134e57cc21b060234a0a1765988cd8eb20679557d5 | 0.7 | testing_debugging_repair_refactoring | 2,244 | false | 2026-07-17 |
using FluentAssertions;
using Machine.Specifications;
using SkyFilter.Azure.Contracts;
using SkyFilter.Azure.Tables;
namespace SkyFilter.Azure.Tests.WhereNotEqual
{
[Subject(typeof(GenerateTableFilter), "WhereNotEqual")]
internal class When_I_generate_a_filter_where_a_int_partition_key_not_equals_10
{
... | Bomret/SkyFilter.Azure | SkyFilter.Azure.Tests/WhereNotEqual/When_I_generate_a_filter_where_a_int_partition_key_not_equals_10.cs | https://github.com/Bomret/SkyFilter.Azure/blob/HEAD/SkyFilter.Azure.Tests/WhereNotEqual/When_I_generate_a_filter_where_a_int_partition_key_not_equals_10.cs | ghcode:00001:89f65bc6463f | mit | codeparrot/github-code | 89f65bc6463fbcb68503b0abd8471c2edee8560a8f9ed7e460417e7922d220c0 | 0.6 | testing_debugging_repair_refactoring | 153 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pliant.Builders.Expressions;
using System.Linq;
namespace Pliant.Tests.Unit
{
[TestClass]
public class GrammarTests
{
[TestMethod]
public void GrammarRulesForWhenProductionMatchesShouldReturnRules()
{
ProductionE... | bilsaboob/Pliant | tests/Pliant.Tests.Unit/Grammars/GrammarTests.cs | https://github.com/bilsaboob/Pliant/blob/HEAD/tests/Pliant.Tests.Unit/Grammars/GrammarTests.cs | ghcode:00001:ef424b7c3a53 | mit | codeparrot/github-code | ef424b7c3a53fd429b84efbf3fec4bb232a7cf971fab8fbf638686a21939d418 | 0.75 | testing_debugging_repair_refactoring | 669 | false | 2026-07-17 |
using NUnit.Framework;
namespace SemanticVersioning.Tests
{
[TestFixture]
class VersionTests
{
[Test]
public void Parse_strict_full_version()
{
// Act
var version = Version.Parse("1.2.3-beta.4+release.55");
// Assert
Assert.That(vers... | rdumont/net-semver | SemanticVersioning.Tests/VersionTests.cs | https://github.com/rdumont/net-semver/blob/HEAD/SemanticVersioning.Tests/VersionTests.cs | ghcode:00001:f07980953084 | mit | codeparrot/github-code | f07980953084e0361047596a54313f1a992bca4227340beaec805101946a2f14 | 0.85 | testing_debugging_repair_refactoring | 3,733 | false | 2026-07-17 |
namespace CompulsiveSkinPicking {
namespace Tests {
static class SendMoreMoneyBuilder {
public static Problem Build(out Variable[] v, out Variable SEND, out Variable MORE, out Variable MONEY) {
Problem problem = new Problem();
// S E N D
// + M O R E
// =========
// M O N E Y
//
// ... | MichalPokorny/compulsive-skin-picking | compulsive-skin-picking/compulsive-skin-picking/Tests/SendMoreMoneyBuilder.cs | https://github.com/MichalPokorny/compulsive-skin-picking/blob/HEAD/compulsive-skin-picking/compulsive-skin-picking/Tests/SendMoreMoneyBuilder.cs | ghcode:00001:4853aaca10cb | mit | codeparrot/github-code | 4853aaca10cb635001d922e44b1b59772d6867a4a3537f478bf5b1fb62f1fe85 | 0.95 | testing_debugging_repair_refactoring | 471 | false | 2026-07-17 |
using System;
using System.Threading;
using System.Threading.Tasks;
using AutoFixture.NUnit3;
using Moq;
using NUnit.Framework;
using ZptSharp.Autofixture;
using ZptSharp.Dom;
using ZptSharp.Expressions;
using ZptSharp.Rendering;
namespace ZptSharp.Tal
{
[TestFixture,Parallelizable]
public class ConditionAttr... | csf-dev/ZPT-Sharp | ZptSharp.Tests/Tal/ConditionAttributeDecoratorTests.cs | https://github.com/csf-dev/ZPT-Sharp/blob/HEAD/ZptSharp.Tests/Tal/ConditionAttributeDecoratorTests.cs | ghcode:00001:325022a0bc2a | mit | codeparrot/github-code | 325022a0bc2adc56a13c90ed410330f6ccae81059f1c470e7d495738efcf283c | 0.75 | testing_debugging_repair_refactoring | 2,469 | false | 2026-07-17 |
using Confifu.ConfigVariables;
using Shouldly;
using System;
using Xunit;
namespace Confifu.Tests.ConfigVariables
{
public class LinkableConfigVariablesTests : ConfigVariablesBuilderTestsBase
{
[Fact]
public void it_supports_links_inside_config_values()
{
var vars = Build(b... | Steinpilz/confifu | src/test/Confifu.Tests/ConfigVariables/LinkableConfigVariablesTests.cs | https://github.com/Steinpilz/confifu/blob/HEAD/src/test/Confifu.Tests/ConfigVariables/LinkableConfigVariablesTests.cs | ghcode:00001:4353e284349d | mit | codeparrot/github-code | 4353e284349dd7b9c1ede23ef89558d58b38859a90a7363abc04f38cdb80e200 | 0.95 | testing_debugging_repair_refactoring | 567 | false | 2026-07-17 |
using Pechkin;
namespace PechkinTests
{
public class PechkinTests : PechkinAbstractTests<IPechkin>
{
protected override IPechkin ProduceTestObject(GlobalConfig cfg)
{
Factory.UseSynchronization = false;
return Factory.Create(cfg);
}
protec... | huanlin/Examples | DotNet/Misc/Pechkin/Pechkin-master/PechkinTests/PechkinTests.cs | https://github.com/huanlin/Examples/blob/HEAD/DotNet/Misc/Pechkin/Pechkin-master/PechkinTests/PechkinTests.cs | ghcode:00001:7392546ba70c | mit | codeparrot/github-code | 7392546ba70cad6710d1192c3107b75f5a6bbdb389f0a4966e74d91a45d53025 | 0.75 | testing_debugging_repair_refactoring | 78 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QuartzIrc;
namespace TestClient
{
class TestClient
{
IrcClient Client;
public TestClient()
{
IrcConfig config = new IrcConfig("irc.seersirc.net","TestClient");
config.P... | bitsrc/QuartzIrc | TestClient/TestClient.cs | https://github.com/bitsrc/QuartzIrc/blob/HEAD/TestClient/TestClient.cs | ghcode:00001:c6f8647fc657 | mit | codeparrot/github-code | c6f8647fc657c86eb2f124caad7343a5296bccfe66d91414304eb47f5ab76f72 | 0.75 | testing_debugging_repair_refactoring | 196 | false | 2026-07-17 |
using NUnit.Framework;
using Tokens.Exceptions;
namespace Tokens.Validators
{
[TestFixture]
public class ContainsValidatorTests
{
private ContainsValidator validator;
[SetUp]
public void SetUp()
{
validator = new ContainsValidator();
}
[Test]
... | flipbit/tokenizer | Tokenizer.Tests/Validators/ContainsValidatorTests.cs | https://github.com/flipbit/tokenizer/blob/HEAD/Tokenizer.Tests/Validators/ContainsValidatorTests.cs | ghcode:00001:13334c6f73f7 | mit | codeparrot/github-code | 13334c6f73f7c8a774371242c02e29312467d9a7ef4aba3cb7cb9df07b671688 | 0.75 | testing_debugging_repair_refactoring | 289 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xemio.GameLibrary.Content;
using Xemio.GameLibrary.Content.Loading;
using Xemio.GameLibrary.Game.Scenes;
using Xemio.GameLibrary.Game.Scenes.Transitions;
using Xemio.GameLibrary.Math;
using Xemio.GameLibrary.Rendering;
using Xe... | XemioNetwork/GameLibrary | Testing/Xemio.Testing.Mono/TestSceneLoader.cs | https://github.com/XemioNetwork/GameLibrary/blob/HEAD/Testing/Xemio.Testing.Mono/TestSceneLoader.cs | ghcode:00001:fb9de480e457 | mit | codeparrot/github-code | fb9de480e45724cdde3f8165145fc57709bb0b3768e02d0cb5215fcceef6b422 | 0.85 | testing_debugging_repair_refactoring | 382 | false | 2026-07-17 |
/*
Copyright (c) 2012 <a href="http://www.gutgames.com">James Craig</a>
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, ... | khellang/Craig-s-Utility-Library | UnitTests/SQL/ParameterTypes/BetweenParameter.cs | https://github.com/khellang/Craig-s-Utility-Library/blob/HEAD/UnitTests/SQL/ParameterTypes/BetweenParameter.cs | ghcode:00001:b8c9259dbcf6 | mit | codeparrot/github-code | b8c9259dbcf6c6ee992ede95d5bb715750887bfcc63ec16b0d8988c4370088e2 | 0.6 | testing_debugging_repair_refactoring | 413 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using BEPUphysics;
using BEPUphysics.Entities.Prefabs;
using ConversionHelper;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Matrix = BEPUutilities.Matrix;
using Ray = BEPUutilities.Ray;
using Vector3 =... | karrtmomil/coms437_assignment2 | 3DAsteroids/3DAsteroids/BEPUphysicsDemos/BEPUphysicsDemos/Demos/Extras/Tests/RayCastTestDemo.cs | https://github.com/karrtmomil/coms437_assignment2/blob/HEAD/3DAsteroids/3DAsteroids/BEPUphysicsDemos/BEPUphysicsDemos/Demos/Extras/Tests/RayCastTestDemo.cs | ghcode:00001:ae228c3525c0 | mit | codeparrot/github-code | ae228c3525c084c67069d78baf892e9858ef66090059e3d92567b2833fb2fa65 | 0.95 | testing_debugging_repair_refactoring | 953 | false | 2026-07-17 |
using NLog.Common;
namespace NTRPRS.NLog.Slack.Tests
{
public class TestableSlackTarget : SlackTarget
{
public void Initialize()
{
InitializeTarget();
}
public new void Write(AsyncLogEventInfo eventInfo)
{
base.Write(eventInfo);
... | ntrprs/NTRPRS.NLog.Slack | tests/NTRPRS.NLog.Slack.Tests/TestableSlackTarget.cs | https://github.com/ntrprs/NTRPRS.NLog.Slack/blob/HEAD/tests/NTRPRS.NLog.Slack.Tests/TestableSlackTarget.cs | ghcode:00001:f61a202a2afd | mit | codeparrot/github-code | f61a202a2afd7e90fe0fbe66863e562d9d02ebcaf0d066ec827e812c10a4b014 | 0.75 | testing_debugging_repair_refactoring | 71 | false | 2026-07-17 |
using System;
using System.IO;
using System.Collections.Generic;
using Newtonsoft.Json;
using NUnit.Framework;
using System.Net;
namespace PasswordSync.Tests
{
[TestFixture]
//[TestClass()]
public class PasswordSyncTests
{
private void ResetConfig()
{
if (File.Exists(AppDom... | cblomart/PasswordSync | PasswordSyncTests/PasswordSyncTests.cs | https://github.com/cblomart/PasswordSync/blob/HEAD/PasswordSyncTests/PasswordSyncTests.cs | ghcode:00001:a692fb4b5b36 | mit | codeparrot/github-code | a692fb4b5b363184a09ce5eb26db0acc8c942ad7615cbe754fc3eb987d02f423 | 0.85 | testing_debugging_repair_refactoring | 4,386 | false | 2026-07-17 |
using Novell.Directory.Ldap.NETStandard.FunctionalTests;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Xunit;
namespace Novell.Directory.Ldap.NETStandard.StressTests
{
public static class TestsToRun
{
static TestsToRun()
{
Tests.A... | dsbenghe/Novell.Directory.Ldap.NETStandard | test/Novell.Directory.Ldap.NETStandard.StressTests/TestsToRun.cs | https://github.com/dsbenghe/Novell.Directory.Ldap.NETStandard/blob/HEAD/test/Novell.Directory.Ldap.NETStandard.StressTests/TestsToRun.cs | ghcode:00001:e40a8253a1ab | mit | codeparrot/github-code | e40a8253a1aba1dc949bab3f9c38e1cda6732c88e7fc9be6f871b24022755af7 | 0.75 | testing_debugging_repair_refactoring | 315 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Util;
using Android.Views;
using Android.Widget;
using Android.Hardware;
using Android.Hardware.Camera2;
using Android.Hardware.Camera2... | jamesmontemagno/MarshmallowSamples | VoiceInteractions/VoiceCamera/CameraFragment.cs | https://github.com/jamesmontemagno/MarshmallowSamples/blob/HEAD/VoiceInteractions/VoiceCamera/CameraFragment.cs | ghcode:00001:e5d85dc298c2 | mit | codeparrot/github-code | e5d85dc298c271cccb1683e4605d38e68c3f26429739cde4cfec8d80735d508d | 0.7 | testing_debugging_repair_refactoring | 4,772 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PortableSprache;
using Xunit;
namespace ParserTests
{
public class BulkStringParserTests
{
[Fact]
public void CanParseRedisBulkString()
{
var message ... | vgrigoriu/Redis.SilverlightClient | Redis.SilverlightGap/ParserTests/BulkStringParserTests.cs | https://github.com/vgrigoriu/Redis.SilverlightClient/blob/HEAD/Redis.SilverlightGap/ParserTests/BulkStringParserTests.cs | ghcode:00001:23ac2dbaf7f6 | mit | codeparrot/github-code | 23ac2dbaf7f608944b6abc08c7f9db3194cae6fe8a893c908a4dfda56ec85710 | 0.75 | testing_debugging_repair_refactoring | 113 | false | 2026-07-17 |
using System;
using System.Runtime.Serialization;
namespace ReactiveServices.MessageBus.Tests
{
[DataContract]
public class AMessage : Message
{
}
[DataContract]
public class EventOccurred : Message
{
[DataMember]
public string RelevantField1 { get; set; }
[DataMem... | ReactiveServices/ReactiveServices.MessageBus | ReactiveServices/MessageBus/Tests/TestMessages.cs | https://github.com/ReactiveServices/ReactiveServices.MessageBus/blob/HEAD/ReactiveServices/MessageBus/Tests/TestMessages.cs | ghcode:00001:c167336c7f07 | mit | codeparrot/github-code | c167336c7f077a7a02bc0392b3505f9e2177807331f7e9f0daae4028285593d7 | 0.85 | testing_debugging_repair_refactoring | 280 | false | 2026-07-17 |
using Lightmap.Modeling;
namespace Lightmap.Sqlite.Tests.Migrations
{
[MigrationVersion(0)]
public class Untyped_SingleTable_SingleColumn_NoConstraints : IMigration
{
public Untyped_SingleTable_SingleColumn_NoConstraints(IDataModel model) => this.DataModel = model;
public IDataModel DataM... | scionwest/Lightmap | src/Lightmap.Sqlite/tests/Migrations/Untyped_SingleTable_SingleColumn_NoConstraints.cs | https://github.com/scionwest/Lightmap/blob/HEAD/src/Lightmap.Sqlite/tests/Migrations/Untyped_SingleTable_SingleColumn_NoConstraints.cs | ghcode:00001:a126fa96454e | mit | codeparrot/github-code | a126fa96454e3368a9fb072084d14df6296ebfa92f7ecbccfe13094d2aac2282 | 0.85 | testing_debugging_repair_refactoring | 116 | false | 2026-07-17 |
using System;
using System.Linq.Expressions;
using System.Text;
using Xunit;
namespace WmcSoft.Linq.Expressions
{
public class ExpressionExtensionsTests
{
class AskMe
{
readonly StringBuilder _sb;
public AskMe()
{
_sb = new StringBuilder();
... | vjacquet/WmcSoft | WmcSoft.Core.Tests/Linq/Expressions/ExpressionExtensionsTests.cs | https://github.com/vjacquet/WmcSoft/blob/HEAD/WmcSoft.Core.Tests/Linq/Expressions/ExpressionExtensionsTests.cs | ghcode:00001:f7ae74b59e09 | mit | codeparrot/github-code | f7ae74b59e090b7ea4d899e52bc21cfaf3ed168c0e98ffa99a2a3f9e96bf8ca1 | 0.75 | testing_debugging_repair_refactoring | 1,639 | false | 2026-07-17 |
using System;
using System.Collections;
using NUnit.Framework;
namespace ExamQuestions.Tests
{
public class YourType
{
// Implementation for your strong type goes here.
public String Name { get; set; }
public YourType()
{
}
}
public class ... | Foxpips/ExamQuestions | ExamQuestions/Tests/YourClass.cs | https://github.com/Foxpips/ExamQuestions/blob/HEAD/ExamQuestions/Tests/YourClass.cs | ghcode:00001:3110cb19d47a | mit | codeparrot/github-code | 3110cb19d47acf1e13a6d9847c59f8fd73228aaef7f8308e20b434ce0c1435d0 | 0.95 | testing_debugging_repair_refactoring | 385 | false | 2026-07-17 |
using Linty.Analyzers;
using Linty.Analyzers.CompareTag;
using Microsoft.CodeAnalysis.Diagnostics;
using NUnit.Framework;
using RoslynNUnitLight;
namespace UnityEngineAnalyzer.Test.CompareTag
{
[TestFixture]
sealed class UseCompareTagAnalyzerTests : AnalyzerTestFixture
{
protected override Diagnos... | Kasperki/UnityEngineAnalyzer | UnityEngineAnalyzer.UnitTest/CompareTag/UseCompareTagAnalyzerTests.cs | https://github.com/Kasperki/UnityEngineAnalyzer/blob/HEAD/UnityEngineAnalyzer.UnitTest/CompareTag/UseCompareTagAnalyzerTests.cs | ghcode:00001:f35a5c98cce7 | mit | codeparrot/github-code | f35a5c98cce7eb2684551aa1e522c45fef0f1ef279b84aa87b73e3963f212341 | 0.75 | testing_debugging_repair_refactoring | 346 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Xunit;
using Xunit.Abstractions;
namespace Xbehave.Test.Infrastructure
{
public abstract class Feature : IDisposable
{
private static readonly TestAssemblyConfiguration config = new TestAssembly... | adamralph/xbehave.net | tests/Xbehave.Test/Infrastructure/Feature.cs | https://github.com/adamralph/xbehave.net/blob/HEAD/tests/Xbehave.Test/Infrastructure/Feature.cs | ghcode:00001:9a70bf98f159 | mit | codeparrot/github-code | 9a70bf98f15957c1f843e10f30a48e1a5b953ffb95af595d0a1e5df738c219f0 | 0.6 | testing_debugging_repair_refactoring | 429 | false | 2026-07-17 |
using Assets.Scripts;
using Assets.Scripts.Messaging;
using Assets.Scripts.UnityAbstractions;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
using TinyMessenger;
using UnityEngine;
namespace FlappyBirds.Tests
{
[TestClass]
public class GameControllerTests
{
... | nrjohnstone/flappybird-unity | tests/FlappyBirds.Tests/GameControllerTests.cs | https://github.com/nrjohnstone/flappybird-unity/blob/HEAD/tests/FlappyBirds.Tests/GameControllerTests.cs | ghcode:00001:04847e852690 | cc0-1.0 | codeparrot/github-code | 04847e852690b5d3c2eaee9e6791fe0f5093219bb8cf45e33399e7cf386988b6 | 0.68 | testing_debugging_repair_refactoring | 565 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ParseResultAssertionExtensionMethods.cs" company="Appccelerate">
// Copyright (c) 2008-2018 Appccelerate
//
// Licensed under the Apache License, Version 2.0 (the "License... | appccelerate/commandlineparser | source/Appccelerate.CommandLineParser.Facts/ParseResultAssertionExtensionMethods.cs | https://github.com/appccelerate/commandlineparser/blob/HEAD/source/Appccelerate.CommandLineParser.Facts/ParseResultAssertionExtensionMethods.cs | ghcode:00001:d794b22c0d75 | apache-2.0 | codeparrot/github-code | d794b22c0d75ff8daa552e6988b6311b57abc2509f6556b273913dae8aa638df | 0.7 | testing_debugging_repair_refactoring | 731 | false | 2026-07-17 |
// Copyright (c) "Neo4j"
// Neo4j Sweden AB [http://neo4j.com]
//
// This file is part of Neo4j.
//
// 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/licens... | neo4j/neo4j-dotnet-driver | Neo4j.Driver/Neo4j.Driver.Tests.Integration/Internals/Cluster/ExistingCluster.cs | https://github.com/neo4j/neo4j-dotnet-driver/blob/HEAD/Neo4j.Driver/Neo4j.Driver.Tests.Integration/Internals/Cluster/ExistingCluster.cs | ghcode:00001:32ae730b7ccb | apache-2.0 | codeparrot/github-code | 32ae730b7ccbdb63a65859573c28ecb3630edf556987c21d583edde96f570090 | 0.85 | testing_debugging_repair_refactoring | 480 | false | 2026-07-17 |
using ExpressMapper.Extensions;
using ExpressMapper.Tests.Model.Enums;
using ExpressMapper.Tests.Model.Generator;
using ExpressMapper.Tests.Model.Models;
using ExpressMapper.Tests.Model.Models.Structs;
using ExpressMapper.Tests.Model.ViewModels;
using ExpressMapper.Tests.Model.ViewModels.Structs;
using NUnit.Fr... | bo-stig-christensen/ExpressMapper | ExpressMapper.Tests NET40/BasicTests.cs | https://github.com/bo-stig-christensen/ExpressMapper/blob/HEAD/ExpressMapper.Tests NET40/BasicTests.cs | ghcode:00001:0a945119b098 | apache-2.0 | codeparrot/github-code | 0a945119b098089c52d5c7346a9a2c658b47f0d519e4feb921c1130bf29e611f | 0.75 | testing_debugging_repair_refactoring | 9,499 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
namespace Micros... | balajikris/roslyn | src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_DeconstructionAssignmentOperator.cs | https://github.com/balajikris/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_DeconstructionAssignmentOperator.cs | ghcode:00001:9c53b1870d87 | apache-2.0 | codeparrot/github-code | 9c53b1870d87c53ee8e79b3729b681b595efe178b0500ef453ab364d94642f56 | 0.7 | testing_debugging_repair_refactoring | 1,924 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace WebAddressbookTests.tests
{
[TestFixture]
public class GroupModificationTests : GroupTestBase
{
[SetUp]
public void CheckIfGroupExist()
... | dqSofi/CSharp_Lessons | AddressbookWebTest/AddressbookWebTest/tests/GroupModificationTests.cs | https://github.com/dqSofi/CSharp_Lessons/blob/HEAD/AddressbookWebTest/AddressbookWebTest/tests/GroupModificationTests.cs | ghcode:00001:acfec07e8b13 | apache-2.0 | codeparrot/github-code | acfec07e8b1343afbffe5aee941e108ae29f92aa957f0c225a913994d9ba7337 | 0.85 | testing_debugging_repair_refactoring | 278 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using SolarWinds.InformationService.InformationServiceClient;
namespace SolarWinds.InformationService.Contract2
{
[TestFixture]
internal class EntityMetadataTest
{
[Test]
public void EntityMetadata_ctor()
{... | solarwinds/OrionSDK | Src/Contract/Tests/InformationService.Contract.Tests/MetaData/EntityMetadataTest.cs | https://github.com/solarwinds/OrionSDK/blob/HEAD/Src/Contract/Tests/InformationService.Contract.Tests/MetaData/EntityMetadataTest.cs | ghcode:00001:7b854ca57931 | apache-2.0 | codeparrot/github-code | 7b854ca57931048615bba685ddc91f15181bd054a914b4078abce0cedf6b0263 | 0.85 | testing_debugging_repair_refactoring | 536 | false | 2026-07-17 |
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using Microsoft.VisualStudio.Modeling;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using NuPattern.ComponentModel;
using NuPattern.Library.Automation;
using NuPattern.Modeling;
using NuPattern.Reflection;
using NuPattern.Runtime.Sch... | NuPattern/NuPattern | Src/Library/UnitTests/Automation/Extensions/ArtifactExtensionDisplaySpec.cs | https://github.com/NuPattern/NuPattern/blob/HEAD/Src/Library/UnitTests/Automation/Extensions/ArtifactExtensionDisplaySpec.cs | ghcode:00001:dc97fab1690b | apache-2.0 | codeparrot/github-code | dc97fab1690bb1756e4c6e3a142d88e7be2cb4032d24fb4645b67198e3fcc86d | 0.75 | testing_debugging_repair_refactoring | 509 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using Xunit.Abstractions;
namespace Foundatio.Tests.Utility {
public class TestOutputWriter : TextWriter {
private readonly ITestOutputHelper _output;
public TestOutputWriter(ITestOutputHelper output) {
_outpu... | vebin/Foundatio | src/Core/Tests/Utility/TestOutputWriter.cs | https://github.com/vebin/Foundatio/blob/HEAD/src/Core/Tests/Utility/TestOutputWriter.cs | ghcode:00001:1d6351e55c5f | apache-2.0 | codeparrot/github-code | 1d6351e55c5f5882d89f0563819f9b4e3322f60a861b50b838b47b5de55ec194 | 0.85 | testing_debugging_repair_refactoring | 144 | false | 2026-07-17 |
// Copyright 2007-2008 The Apache Software Foundation.
//
// 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 re... | eswann/Burrows | src/Tests/Burrows.Tests/Load/Messages/First.cs | https://github.com/eswann/Burrows/blob/HEAD/src/Tests/Burrows.Tests/Load/Messages/First.cs | ghcode:00001:b4d7934dc5cb | apache-2.0 | codeparrot/github-code | b4d7934dc5cbc7776cdbbb9a248aa8ba3f3969736d1b2e54ba2ff410b678db2b | 0.95 | testing_debugging_repair_refactoring | 181 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using AnyLog;
using System.Threading;
using System.Reflection;
using System.IO;
using SuperSocket.SocketBase;
namespace SuperSocket.Test
{
public static class Setup
{
public static string GetRe... | mdavid/SuperSocket | Test/Setup.cs | https://github.com/mdavid/SuperSocket/blob/HEAD/Test/Setup.cs | ghcode:00001:1a877e7e945b | apache-2.0 | codeparrot/github-code | 1a877e7e945b7f67cc40e9c2571c2af046e230e66b10b61276740c6a18af6abd | 0.6 | testing_debugging_repair_refactoring | 199 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sunlighter.CanonicalTypes.Parsing;
namespace CanonicalTypesTest
{
[TestClass]
public class QuotedStringTests
{
public QuotedStringTests()
{
// nothing
... | Sunlighter/CanonicalTypes | CanonicalTypesTest/QuotedStringTests.cs | https://github.com/Sunlighter/CanonicalTypes/blob/HEAD/CanonicalTypesTest/QuotedStringTests.cs | ghcode:00001:236a88c082d1 | apache-2.0 | codeparrot/github-code | 236a88c082d1ddcfc5d4d9f571231019e4f5022075d8720d02e7357efababe61 | 0.85 | testing_debugging_repair_refactoring | 519 | false | 2026-07-17 |
using System.Diagnostics.CodeAnalysis;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NuPattern.ComponentModel;
using NuPattern.Modeling;
namespace NuPattern.Runtime.Schema.UnitTests
{
[TestClass]
public class PatternElementSchemaDisplaySpec
{
internal static readonly IAssertion Assert ... | NuPattern/NuPattern | Src/Runtime/Tests/Runtime.Schema.UnitTests/DomainModel/PatternElementSchemaDisplaySpec.cs | https://github.com/NuPattern/NuPattern/blob/HEAD/Src/Runtime/Tests/Runtime.Schema.UnitTests/DomainModel/PatternElementSchemaDisplaySpec.cs | ghcode:00001:2a0da1638856 | apache-2.0 | codeparrot/github-code | 2a0da1638856ef3a54d3c26fb64d45b71348feea30931ec85062e6a18250186a | 0.85 | testing_debugging_repair_refactoring | 321 | false | 2026-07-17 |
// ----------------------------------------------------------------
// * The LOOM.NET project http://rapier-loom.net *
// (C) Copyright by Wolfgang Schult. All rights reserved.
// This code is licensed under the Apache License 2.0
// To get more information, go to http://loom.codeplex.com/license
// -----------------... | wschult23/LOOM.NET | Rapier-LOOM.NET/Loom.UnitTests/InterfaceTests.cs | https://github.com/wschult23/LOOM.NET/blob/HEAD/Rapier-LOOM.NET/Loom.UnitTests/InterfaceTests.cs | ghcode:00001:b5fab7b774b7 | apache-2.0 | codeparrot/github-code | b5fab7b774b7f974b06faf298fd6e818480b26124975b7571fd6e76ef120e5c3 | 0.85 | testing_debugging_repair_refactoring | 7,069 | false | 2026-07-17 |
//
// Copyright (C) DataStax Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | datastax/csharp-driver | src/Cassandra.IntegrationTests/Core/CustomPayloadTests.cs | https://github.com/datastax/csharp-driver/blob/HEAD/src/Cassandra.IntegrationTests/Core/CustomPayloadTests.cs | ghcode:00001:3d4507a78ccb | apache-2.0 | codeparrot/github-code | 3d4507a78ccbc372f991f6dac05c89a4543fcd7df79fd54efb1f568079e4942d | 0.85 | testing_debugging_repair_refactoring | 1,145 | false | 2026-07-17 |
using System;
using IPTables.Net.Iptables;
using NUnit.Framework;
namespace IPTables.Net.Tests
{
[TestFixture]
internal class SingleNetflowRuleParseTests
{
[Test]
public void TestFwmark()
{
String rule = "-A INPUT -m netflow --fw_status 1 -j ACCEPT";
IpTable... | splitice/IPTables.Net | IPTables.Net.Tests/SingleNetflowRuleParseTests.cs | https://github.com/splitice/IPTables.Net/blob/HEAD/IPTables.Net.Tests/SingleNetflowRuleParseTests.cs | ghcode:00001:e7bf61fcf313 | apache-2.0 | codeparrot/github-code | e7bf61fcf31338ce691c125e6ad9c3f64f085283662b3738bb0c7f96fb6a3788 | 0.75 | testing_debugging_repair_refactoring | 295 | false | 2026-07-17 |
using AllYourTextsUi;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using AllYourTextsUi.Framework;
using DummyData;
using System.Collections.Generic;
using AllYourTextsLib.Framework;
using AllYourTextsLib;
namespace AllYourTextsTest
{
/// <summary>
///This is a test class for Gr... | AllYourTexts/AllYourTexts | AllYourTextsTest/UI Tests/GraphDataGeneratorTest.cs | https://github.com/AllYourTexts/AllYourTexts/blob/HEAD/AllYourTextsTest/UI Tests/GraphDataGeneratorTest.cs | ghcode:00001:646d945f4da8 | apache-2.0 | codeparrot/github-code | 646d945f4da85ed4d18532f95efb332450f2faf3f1d54f14e7e4be5bec0ed080 | 0.7 | testing_debugging_repair_refactoring | 2,533 | false | 2026-07-17 |
namespace Tests
{
/// <summary>
/// Test categories or traits
/// </summary>
public static class Categories
{
/// <summary>
/// Service test
/// </summary>
public const string Service = "Service";
/// <summary>
/// UI test
/// </summary>
... | Magenic/MyVote | testAutomation/TestAutomation/Tests/Categories.cs | https://github.com/Magenic/MyVote/blob/HEAD/testAutomation/TestAutomation/Tests/Categories.cs | ghcode:00001:93b4e57bf5f2 | apache-2.0 | codeparrot/github-code | 93b4e57bf5f29f6e99ed3f7a30c8c49d762ac4198daadf07284ee33ef85170a7 | 0.95 | testing_debugging_repair_refactoring | 104 | false | 2026-07-17 |
using System;
using System.Linq;
using Bytes2you.Validation.UnitTests.Testing;
using Bytes2you.Validation.UnitTests.Testing.Helpers;
using Bytes2you.Validation.ValidationPredicates.GenericPredicates;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bytes2you.Validation.UnitTests.FluentExtensions.GenericA... | veskokolev/Bytes2you.Validation | src/Bytes2you.Validation.UnitTests/FluentExtensions/GenericArgumentFluentExtensionsTests/IsNotEqual_Should.cs | https://github.com/veskokolev/Bytes2you.Validation/blob/HEAD/src/Bytes2you.Validation.UnitTests/FluentExtensions/GenericArgumentFluentExtensionsTests/IsNotEqual_Should.cs | ghcode:00001:b80bcc093ac4 | apache-2.0 | codeparrot/github-code | b80bcc093ac4eb7f23e4dec01b15fb7a2c08c5dc434ffaa8ce3f93d7fc5e660f | 0.7 | testing_debugging_repair_refactoring | 726 | false | 2026-07-17 |
namespace GPConnect.Provider.AcceptanceTests.Steps
{
using Context;
using Hl7.Fhir.Model;
using Shouldly;
using System.Collections.Generic;
using Enum;
using TechTalk.SpecFlow;
using System.Linq;
using Cache;
using Cache.ValueSet;
using Repository;
using Constants;
[Bin... | nhsconnect/gpconnect-provider-testing | GPConnect.Provider.AcceptanceTests/Steps/PractitionerSteps.cs | https://github.com/nhsconnect/gpconnect-provider-testing/blob/HEAD/GPConnect.Provider.AcceptanceTests/Steps/PractitionerSteps.cs | ghcode:00001:c2f7fb15fc52 | apache-2.0 | codeparrot/github-code | c2f7fb15fc521b89b41c2c21c7666d0797eb844411ee9a29f5974b784ee8784d | 0.7 | testing_debugging_repair_refactoring | 2,972 | 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.Generic;
using Microsoft.CodeAnalysis.Editor.CSharp.SignatureHelp;
using Microsoft.CodeAnalysis.Editor.UnitTests.SignatureHelp;
using... | ManishJayaswal/roslyn | src/EditorFeatures/CSharpTest/SignatureHelp/InvocationExpressionSignatureHelpProviderTests.cs | https://github.com/ManishJayaswal/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/SignatureHelp/InvocationExpressionSignatureHelpProviderTests.cs | ghcode:00001:b6be418d1c3e | apache-2.0 | codeparrot/github-code | b6be418d1c3e43f28920a94a99f62b2fe1a3bba46426fe76b2c341d51dffe823 | 0.85 | testing_debugging_repair_refactoring | 11,927 | false | 2026-07-17 |
// -----------------------------------------------------------------------
// <copyright file="CatalogTest.cs" company="PlayFab Inc">
// Copyright 2015 PlayFab Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// ... | yonglehou/consuldotnet | Consul.Test/CatalogTest.cs | https://github.com/yonglehou/consuldotnet/blob/HEAD/Consul.Test/CatalogTest.cs | ghcode:00001:89567a54c501 | apache-2.0 | codeparrot/github-code | 89567a54c5018cfbdd823a5e7e2aa68de7c831596c6ad55327e1c0007e106bd9 | 0.7 | testing_debugging_repair_refactoring | 867 | false | 2026-07-17 |
using BenchmarkDotNet.Attributes;
using Benchmarks.Mappings;
using Papper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Benchmarks
{
[MemoryDiagnoser]
[RankColumn]
public class ParalleVsSeqBenchmarks
{
private List<DataPack> _reads;... | proemmer/papper | Papper/test/Benchmarks/ParalleVsSeqBenchmarks.cs | https://github.com/proemmer/papper/blob/HEAD/Papper/test/Benchmarks/ParalleVsSeqBenchmarks.cs | ghcode:00001:eb00ff74f3d2 | apache-2.0 | codeparrot/github-code | eb00ff74f3d292482f30f17a7ccabcaeb3de7e7cb5ea430bf4f0a99d44698f84 | 0.85 | testing_debugging_repair_refactoring | 542 | false | 2026-07-17 |
using System.Linq;
using Buddhabrot.PointGrids;
using NUnit.Framework;
namespace Tests.PointGrids;
[TestFixture]
public sealed class PointRowTests
{
[Test]
public void ShouldReturnPointsInSet()
{
//0123456789
// SSS SSSS
var row = new PointRow(width: 10, y: 0, segments: new[]
... | davidaramant/buddhabrot | src/Tests/PointGrids/PointRowTests.cs | https://github.com/davidaramant/buddhabrot/blob/HEAD/src/Tests/PointGrids/PointRowTests.cs | ghcode:00001:44275f7771a2 | bsd-2-clause | codeparrot/github-code | 44275f7771a2ca0887ca3862d7c6748370be2e5c8cc56296c247f2b824cb0ba9 | 0.88 | testing_debugging_repair_refactoring | 317 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using bv.winclient.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using bv.model.ResourcesUsage;
namespace bv.tests.WinClient
{
[TestClass]
public class ResourceUsageTest
{
[TestMethod]
... | EIDSS/EIDSS-Legacy | EIDSS v6.1/bv.tests/WinClient/ResourceUsageTest.cs | https://github.com/EIDSS/EIDSS-Legacy/blob/HEAD/EIDSS v6.1/bv.tests/WinClient/ResourceUsageTest.cs | ghcode:00001:8114578f8a66 | bsd-2-clause | codeparrot/github-code | 8114578f8a66b0d6108f37df6840d5f3124897dd9a846efe7ec6681a08a19656 | 0.53 | testing_debugging_repair_refactoring | 669 | false | 2026-07-17 |
/*
* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1) Redistributions of source code must retain the above copyright
* notice,... | huizh/xenadmin | XenModel/XenAPI/Pool_update.cs | https://github.com/huizh/xenadmin/blob/HEAD/XenModel/XenAPI/Pool_update.cs | ghcode:00001:5b831036185b | bsd-2-clause | codeparrot/github-code | 5b831036185bd769924734638f514d3f80e805c2a645ece47f96f2dd29f0d41e | 0.63 | testing_debugging_repair_refactoring | 5,791 | false | 2026-07-17 |
using System;
using System.IO;
using System.Text;
using NUnit.Framework;
namespace Samples.Ping.Tests
{
[TestFixture]
public class PingSystemTest
{
private StringBuilder _consoleOut;
private TextWriter _outWriter;
[SetUp]
public void Setup()
{
... | rickardn/Consolas | Source/UnitTests/Samples/Samples.Ping.Tests/PingSystemTest.cs | https://github.com/rickardn/Consolas/blob/HEAD/Source/UnitTests/Samples/Samples.Ping.Tests/PingSystemTest.cs | ghcode:00001:aa1f903c0a81 | bsd-2-clause | codeparrot/github-code | aa1f903c0a813a94e8389952c9ff2129818f723b06d9a9f1762712bd721fd123 | 0.53 | testing_debugging_repair_refactoring | 247 | false | 2026-07-17 |
/*
* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1) Redistributions of source code must retain the above copyright
* notice, t... | MihaelaStoica/xenadmin | XenModel/XenAPI/PIF_metrics.cs | https://github.com/MihaelaStoica/xenadmin/blob/HEAD/XenModel/XenAPI/PIF_metrics.cs | ghcode:00001:494d0ed8e0a4 | bsd-2-clause | codeparrot/github-code | 494d0ed8e0a4b9756987beb82087f88daa9dd5441257d16f73a32d539a4b6c59 | 0.63 | testing_debugging_repair_refactoring | 6,358 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataExplorer.Presentation.Core.Controls;
using NUnit.Framework;
namespace DataExplorer.Presentation.Tests.Core.Controls
{
[TestFixture, RequiresSTA]
public class RangeSliderTests
{
... | dataexplorer/dataexplorer | Presentation.Tests/Core/Controls/RangeSliderTests.cs | https://github.com/dataexplorer/dataexplorer/blob/HEAD/Presentation.Tests/Core/Controls/RangeSliderTests.cs | ghcode:00001:1a713d718227 | bsd-3-clause | codeparrot/github-code | 1a713d718227799460fff75c427969c918ec15ba25d4313ef36be445e8ca61b9 | 0.75 | testing_debugging_repair_refactoring | 620 | false | 2026-07-17 |
// <copyright file="DenseMatrixTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2016 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of ... | albertp007/mathnet-numerics | src/UnitTests/LinearAlgebraTests/Complex/DenseMatrixTests.cs | https://github.com/albertp007/mathnet-numerics/blob/HEAD/src/UnitTests/LinearAlgebraTests/Complex/DenseMatrixTests.cs | ghcode:00001:1fd62e9de690 | mit | codeparrot/github-code | 1fd62e9de6905cff1d3e52fe930d5c7acf8abd5f344d1e68501188d94a9345c4 | 0.85 | testing_debugging_repair_refactoring | 2,001 | 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 enable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.... | genlu/roslyn | src/Compilers/CSharp/Portable/Symbols/Compilation_WellKnownMembers.cs | https://github.com/genlu/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Compilation_WellKnownMembers.cs | ghcode:00001:8603b92bc8cc | mit | codeparrot/github-code | 8603b92bc8cc733edec36e6950df078f314411702e7b579d6c6f70d3f17e3c21 | 0.7 | testing_debugging_repair_refactoring | 9,468 | false | 2026-07-17 |
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenProtocolInterpreter.MultipleIdentifiers;
namespace MIDTesters.MultipleIdentifiers
{
[TestClass]
public class TestMid0150 : MidTester
{
[TestMethod]
public void Mid0150Revision1()
{
string p... | Rickedb/OpenProtocolIntepreter | src/MIDTesters/MultipleIdentifiers/TestMid0150.cs | https://github.com/Rickedb/OpenProtocolIntepreter/blob/HEAD/src/MIDTesters/MultipleIdentifiers/TestMid0150.cs | ghcode:00001:9a487159ad34 | mit | codeparrot/github-code | 9a487159ad34884300e5bd4000cb21fb9e50e6be3748d21c2bb2dce35900f002 | 0.75 | testing_debugging_repair_refactoring | 249 | false | 2026-07-17 |
// <copyright file="ItemMetadataWizardTest.cs" company="Oleg Sych">
// Copyright © Oleg Sych. All Rights Reserved.
// </copyright>
namespace T4Toolbox.VisualStudio.Tests
{
using System.Collections.Generic;
using Microsoft.VisualStudio.TemplateWizard;
using Microsoft.VisualStudio.TestTools.UnitTes... | olegsych/T4Toolbox | test/T4Toolbox.VisualStudio.Tests/ItemMetadataWizardTest.cs | https://github.com/olegsych/T4Toolbox/blob/HEAD/test/T4Toolbox.VisualStudio.Tests/ItemMetadataWizardTest.cs | ghcode:00001:2132a18aeda9 | mit | codeparrot/github-code | 2132a18aeda98dcad4890d5ec28e7e6fac473e2d7c100359f6217f8ec5f4e819 | 0.7 | testing_debugging_repair_refactoring | 431 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Catch.UI;
using osu.Game.... | ppy/osu | osu.Game.Rulesets.Catch.Tests/TestSceneJuiceStream.cs | https://github.com/ppy/osu/blob/HEAD/osu.Game.Rulesets.Catch.Tests/TestSceneJuiceStream.cs | ghcode:00001:60b0561b8930 | mit | codeparrot/github-code | 60b0561b8930bd032b7d419b088387f61ba14aa3b29436d8f7534b25ae259b63 | 0.75 | testing_debugging_repair_refactoring | 336 | false | 2026-07-17 |
namespace ObjectFiller.Test
{
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ObjectFiller.Test.TestPoco.Library;
using ObjectFiller.Test.TestPoco.Person;
using Tynamix.ObjectFiller;
[TestClass]
public ... | HerrLoesch/ObjectFiller.NET | ObjectFiller.Test/RandomizerTest.cs | https://github.com/HerrLoesch/ObjectFiller.NET/blob/HEAD/ObjectFiller.Test/RandomizerTest.cs | ghcode:00001:42c5153f2f7c | mit | codeparrot/github-code | 42c5153f2f7cd4dc21833d6dc46cc18e72a830be141419e6e73f81b57831cd43 | 0.6 | testing_debugging_repair_refactoring | 306 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft... | wvdd007/roslyn | src/Compilers/CSharp/Portable/SymbolDisplay/SymbolDisplayVisitor.Types.cs | https://github.com/wvdd007/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/SymbolDisplay/SymbolDisplayVisitor.Types.cs | ghcode:00001:eea1546cd06c | apache-2.0 | codeparrot/github-code | eea1546cd06cad7515fac5bd3e522d8cbfbcb3f3b9efecf5292eebc1ab074873 | 0.7 | testing_debugging_repair_refactoring | 5,837 | false | 2026-07-17 |
#region Using
using System.Security.Principal;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PPWCode.Util.OddsAndEnds.I.ActiveDirectory;
#endregion
namespace PPWCode.Util.OddsAndEnds.Test_I
{
/// <summary>
/// These tests are only available when running with a domain controller.
... | jandppw/ppwcode-recovered-from-google-code | dotnet/Util/OddsAndEnds/I/1.n/1.4/solution/Test_I/ADSearchTest.cs | https://github.com/jandppw/ppwcode-recovered-from-google-code/blob/HEAD/dotnet/Util/OddsAndEnds/I/1.n/1.4/solution/Test_I/ADSearchTest.cs | ghcode:00001:938ebbacdb4a | apache-2.0 | codeparrot/github-code | 938ebbacdb4acdcc3d87c08b34aa3bd67bb5e254d7163cddd90209a35040eeea | 0.7 | testing_debugging_repair_refactoring | 272 | false | 2026-07-17 |
/*
* Copyright 2004,2006 The Poderosa Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* $Id: TerminalSessionEx.cs,v 1.2 2011/10/27 23:21:59 kzmi Exp $
*/
using System;
using System.Collections.Generic;
using System... | cdesjardins/poderosa | TerminalSession/TerminalSessionEx.cs | https://github.com/cdesjardins/poderosa/blob/HEAD/TerminalSession/TerminalSessionEx.cs | ghcode:00001:98ccd0d01fcc | apache-2.0 | codeparrot/github-code | 98ccd0d01fcc47173490e50ab79645c631ee47d7fed8a5d35ac790bc465ffb66 | 0.7 | testing_debugging_repair_refactoring | 7,531 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using NUnit.Framework;
... | weblinq/WebLinq | tests/StringsTests.cs | https://github.com/weblinq/WebLinq/blob/HEAD/tests/StringsTests.cs | ghcode:00001:41f9629a59d9 | apache-2.0 | codeparrot/github-code | 41f9629a59d9911ccd1550d54a22e8d12d92f9f1714612d1d7137694cbedf47a | 0.85 | testing_debugging_repair_refactoring | 3,870 | false | 2026-07-17 |
using System;
using MvcContrib.PortableAreas;
using NUnit.Framework;
namespace MvcContrib.UnitTests.PortableAreas
{
[TestFixture]
public class MessageHandlerFactoryTester
{
[Test]
public void Should_create_a_handler()
{
var factory = new MessageHandlerFactory();
var result = factory.Create(typeof(foo));... | joaofx/mvccontrib | src/MVCContrib.UnitTests/PortableAreas/MessageHandlerFactoryTester.cs | https://github.com/joaofx/mvccontrib/blob/HEAD/src/MVCContrib.UnitTests/PortableAreas/MessageHandlerFactoryTester.cs | ghcode:00001:aa6fdb99e327 | apache-2.0 | codeparrot/github-code | aa6fdb99e32706f6261979688f51ba7c8a637c6e53d84e19b3e4d45545df1c55 | 0.6 | testing_debugging_repair_refactoring | 134 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Toxy.Test
{
[TestFixture]
public class ZipParserTest
{
[Test]
public void TestParseDirectoryFromZip()
{
ParserContext context = new... | tonyqus/toxy | Toxy.Test/ZipParserTest.cs | https://github.com/tonyqus/toxy/blob/HEAD/Toxy.Test/ZipParserTest.cs | ghcode:00001:b1aac4f8f465 | apache-2.0 | codeparrot/github-code | b1aac4f8f4653927b9808e62c1bd3ce050da24ba9aa88e41dd1ff7992659cdb9 | 0.6 | testing_debugging_repair_refactoring | 129 | false | 2026-07-17 |
extern alias SSmDsClient;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using Microsoft.Silverlight.Testing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenRiaServices.Silverlight.Tes... | Daniel-Svensson/OpenRiaServiecs | OpenRiaServices.DomainServices.Client/Test/Silverlight/Data/ComplexTypeTests.cs | https://github.com/Daniel-Svensson/OpenRiaServiecs/blob/HEAD/OpenRiaServices.DomainServices.Client/Test/Silverlight/Data/ComplexTypeTests.cs | ghcode:00001:847f2ddb19f0 | apache-2.0 | codeparrot/github-code | 847f2ddb19f0f6c70b39798a75b93e447e5e3f1a453368317b02c7291db430ba | 0.82 | testing_debugging_repair_refactoring | 21,383 | false | 2026-07-17 |
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Assertion... | sebastienros/jint | Jint.Tests/GlobalSuppressions.cs | https://github.com/sebastienros/jint/blob/HEAD/Jint.Tests/GlobalSuppressions.cs | ghcode:00001:853b03707731 | bsd-2-clause | codeparrot/github-code | 853b0370773137a325bb4042afbc96f2c7375c43f8d9ba7116451a96678c8312 | 0.78 | testing_debugging_repair_refactoring | 281 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using libtcodWrapper;
namespace libtcodWrapperTests
{
[TestFixture]
public class TCODRandomTest
{
private TCODRandom r;
[SetUp]
public void Init()
{
r = new TCODRandom();
}
[TearDown]
... | AndrewBaker/libtcod-net | TestLibrary/TestSuite/TCODRandomTest.cs | https://github.com/AndrewBaker/libtcod-net/blob/HEAD/TestLibrary/TestSuite/TCODRandomTest.cs | ghcode:00001:23a9a4957ff3 | bsd-2-clause | codeparrot/github-code | 23a9a4957ff33984d6bf7cabd0433b9a96980c8978b0e2a5c1281bf3fd2f7f22 | 0.53 | testing_debugging_repair_refactoring | 460 | false | 2026-07-17 |
using NSpec;
using System;
namespace SampleSpecs.Demo
{
// this can be either an abstract class, or just a class
abstract class parent_class : nspec
{
public const int indentSize = 3;
public static string order = "\n\n";
public static int indent = 0;
void Print(string s)
... | mattflo/NSpec | sln/test/Samples/SampleSpecs/Demo/describe_execution_order.cs | https://github.com/mattflo/NSpec/blob/HEAD/sln/test/Samples/SampleSpecs/Demo/describe_execution_order.cs | ghcode:00001:18972fdf98be | mit | codeparrot/github-code | 18972fdf98be3f1196d1a9103733290a563d05ab80c79723641b519538d7bfc3 | 0.85 | testing_debugging_repair_refactoring | 636 | false | 2026-07-17 |
using FluentNHibernate.Testing;
using NHibernate.AspNet.Identity.Tests.Models;
using NUnit.Framework;
using TestClass = NUnit.Framework.TestFixtureAttribute;
using TestInitialize = NUnit.Framework.SetUpAttribute;
using TestCleanup = NUnit.Framework.TearDownAttribute;
using TestMethod = NUnit.Framework.TestAttribute;
... | smallkid/NHibernate.AspNet.Identity | source/NHibernate.AspNet.Identity.Tests/MapTest.cs | https://github.com/smallkid/NHibernate.AspNet.Identity/blob/HEAD/source/NHibernate.AspNet.Identity.Tests/MapTest.cs | ghcode:00001:cab04c013d41 | mit | codeparrot/github-code | cab04c013d41782208d4d08887b8bcbb683a2b3de2384b487bbcbdc30997ce23 | 0.6 | testing_debugging_repair_refactoring | 462 | false | 2026-07-17 |
namespace Microsoft.ApplicationInsights.AspNetCore.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using DiagnosticListeners;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Primitives;
using Xunit;
public class HttpHeadersUtilitiesTest
{
... | Microsoft/ApplicationInsights-aspnet5 | test/Microsoft.ApplicationInsights.AspNetCore.Tests/HttpHeadersUtilitiesTest.cs | https://github.com/Microsoft/ApplicationInsights-aspnet5/blob/HEAD/test/Microsoft.ApplicationInsights.AspNetCore.Tests/HttpHeadersUtilitiesTest.cs | ghcode:00001:ab5d29ba367c | mit | codeparrot/github-code | ab5d29ba367c24fb416ab95957c1373c830ff72f5c12aabae71657104619cd16 | 0.7 | testing_debugging_repair_refactoring | 2,195 | 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/Runner/Extensions/TestRunnerExtensionUtils.cs | https://github.com/xJom/mbunit-v3/blob/HEAD/src/Gallio/Gallio/Runner/Extensions/TestRunnerExtensionUtils.cs | ghcode:00001:722798c52429 | apache-2.0 | codeparrot/github-code | 722798c52429749edb194535f48e1ea76fa79e5be4080f2016f07d5e09b4830b | 0.85 | testing_debugging_repair_refactoring | 1,067 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="DeadlineFailureDetectorSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </... | skotzko/akka.net | src/core/Akka.Remote.Tests/DeadlineFailureDetectorSpec.cs | https://github.com/skotzko/akka.net/blob/HEAD/src/core/Akka.Remote.Tests/DeadlineFailureDetectorSpec.cs | ghcode:00001:36d693d98678 | apache-2.0 | codeparrot/github-code | 36d693d986784b5a65111a180fc680182bc7e937cd907e0aa32258487d24a568 | 0.85 | testing_debugging_repair_refactoring | 1,014 | 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.Reflection;
using Xunit;
#pragma warning disable 0219 // field is never used
namespace... | BrennanConroy/corefx | src/System.Runtime/tests/System/Reflection/MethodBodyTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Runtime/tests/System/Reflection/MethodBodyTests.cs | ghcode:00001:307c85065fbb | mit | codeparrot/github-code | 307c85065fbbb342c379e5685534e9427d2b9a5f1a84319c85bedc9c7beb0aaf | 0.95 | testing_debugging_repair_refactoring | 780 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.C... | CyrusNajmabadi/roslyn | src/EditorFeatures/CSharpTest/PdbSourceDocument/PdbSourceDocumentTests.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/PdbSourceDocument/PdbSourceDocumentTests.cs | ghcode:00001:3975d9624119 | mit | codeparrot/github-code | 3975d9624119893efee729f0234961c07a6ffda839502f76e4a8f605e69aeb04 | 0.85 | testing_debugging_repair_refactoring | 4,919 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.