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 System;
using NSubstitute;
using Octokit.Internal;
using Xunit;
namespace Octokit.Tests
{
public class TokenAuthenticatorTests
{
public class TheAuthenticateMethod
{
[Fact]
public void SetsRequestHeaderForToken()
{
var authenticator = n... | fake-organization/octokit.net | Octokit.Tests/Authentication/TokenAuthenticatorTests.cs | https://github.com/fake-organization/octokit.net/blob/HEAD/Octokit.Tests/Authentication/TokenAuthenticatorTests.cs | ghcode:00010:c51597896c9d | mit | codeparrot/github-code | c51597896c9d4feffd4bd05829c87f4cd94f67404d70a172d4d48b763acb8f1a | 0.75 | testing_debugging_repair_refactoring | 250 | 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 Xunit;
using System;
using System.Collections;
using System.Collections.Specialized;
using GenStrings;
namespace System.Collections.Specialized.Tests
{
publi... | Winsto/corefx | src/System.Collections.Specialized/tests/NameValueCollection/GetValuesStrTests.cs | https://github.com/Winsto/corefx/blob/HEAD/src/System.Collections.Specialized/tests/NameValueCollection/GetValuesStrTests.cs | ghcode:00010:f11062ce0a7c | mit | codeparrot/github-code | f11062ce0a7cec5aa540942a12f95eb33b91ba32ac8d56292877ccab1268ad64 | 0.95 | testing_debugging_repair_refactoring | 2,188 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection.Metadata;
using System.Reflectio... | shimingsg/corefx | src/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/Assemblies/Ecma/EcmaAssembly.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/Assemblies/Ecma/EcmaAssembly.cs | ghcode:00010:21ac13c04b00 | mit | codeparrot/github-code | 21ac13c04b0034290bbb5f3b9e018654eda561ad7d33d71a9d8afc8ea40c5567 | 0.95 | testing_debugging_repair_refactoring | 904 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// See the LICENSE file in the project root for more information.
using System.Xml;
using Xunit;
namespace System.Security.Cryptography.Xml.Tests
{
public class SignedXml_Limits
{
private const int MaxTransformsPerReference = 10;
... | BrennanConroy/corefx | src/System.Security.Cryptography.Xml/tests/SignedXml_Limits.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Security.Cryptography.Xml/tests/SignedXml_Limits.cs | ghcode:00010:cbeba7844c66 | mit | codeparrot/github-code | cbeba7844c668a15beec748c7abd92ed044d0fc56e5fb78c576c157ee3b0b253 | 0.95 | testing_debugging_repair_refactoring | 878 | 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.Runtime.CompilerServices;
using System.Linq;
using Xuni... | krytarowski/corefx | src/System.Runtime/tests/System/Runtime/CompilerServices/ConditionalWeakTableTests.netcoreapp.cs | https://github.com/krytarowski/corefx/blob/HEAD/src/System.Runtime/tests/System/Runtime/CompilerServices/ConditionalWeakTableTests.netcoreapp.cs | ghcode:00010:2c5a12684570 | mit | codeparrot/github-code | 2c5a126845708ec2efd512b87cfe0faa70282e71646fea0e77d4bae705dc710d | 0.95 | testing_debugging_repair_refactoring | 2,168 | 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.
/*
** This program was translated to C# and adapted for xunit-performance.
** New variants of several tests were adde... | dpodder/coreclr | tests/src/JIT/Performance/CodeQuality/Bytemark/bitops.cs | https://github.com/dpodder/coreclr/blob/HEAD/tests/src/JIT/Performance/CodeQuality/Bytemark/bitops.cs | ghcode:00010:89e298612906 | mit | codeparrot/github-code | 89e2986129069c50adaca50de4bba610b16506576860c92fd1274e27e9e57ba7 | 0.8 | testing_debugging_repair_refactoring | 2,018 | false | 2026-07-17 |
/*
Copyright 2021 Jeffrey Sharp
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS A... | sharpjs/PSql | PSql.Tests/Tests.Support/Fixture.cs | https://github.com/sharpjs/PSql/blob/HEAD/PSql.Tests/Tests.Support/Fixture.cs | ghcode:00010:c40c8e1f6c04 | isc | codeparrot/github-code | c40c8e1f6c0456b4ca4fd9f93b712b7d63733f3972cfd20d152dfdd438518379 | 0.6 | testing_debugging_repair_refactoring | 172 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FluentAssertions;
namespace mvectors.logic.test
{
/// <summary>
/// Summary description for WordVectorsTest
/// </summary>
[TestClass]
public class WordVectorsTest
{
... | stprior/fdgvectors | mvectors.logic.test/WordVectorsTest.cs | https://github.com/stprior/fdgvectors/blob/HEAD/mvectors.logic.test/WordVectorsTest.cs | ghcode:00010:671053703d76 | mit | codeparrot/github-code | 671053703d763c377c9a95ebffd89cbc6b7bb922bf57aa96bffcd1080828482e | 0.7 | testing_debugging_repair_refactoring | 433 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ConnectionsEducation.Redis.Test {
/// <summary>
/// Test
/// </summary>
[TestClass]
public class ConnectionClientTest {
/// <summary>
/// Test
/// </summary>
[TestMethod]
public void sendMultipleCommandsBeforeClosing() {
using (Connection... | ConnectionsEducation/ConnectionsEducation.Redis | ConnectionsEducation.Redis.Test/ConnectionClientTest.cs | https://github.com/ConnectionsEducation/ConnectionsEducation.Redis/blob/HEAD/ConnectionsEducation.Redis.Test/ConnectionClientTest.cs | ghcode:00010:50a65c85f05d | mit | codeparrot/github-code | 50a65c85f05de2dd316f7436c4b0f7451c10fbefdb46d94bda8f256febbfe2c9 | 0.7 | testing_debugging_repair_refactoring | 127 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Objects.Get.People.Credits.Json.Reader
{
using FluentAssertions;
using System.Linq;
using System.Threading.Tasks;
using Traits;
using TraktApiSharp.Objects.Get.People.Credits.Json.Reader;
using Xunit;
[Category("Objects.Get.People.Credits.JsonReader")]
pub... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Get/People/Credits/Json/Reader/PersonShowCreditsCrewItemArrayJsonReader/PersonShowCreditsCrewItemArrayJsonReader_Json_String_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Objects/Get/People/Credits/Json/Reader/PersonShowCreditsCrewItemArrayJsonReader/PersonShowCreditsCrewItemArrayJsonReader_Json_String_Tests.cs | ghcode:00010:c09519662447 | mit | codeparrot/github-code | c0951966244795d01dae117c56256a1c23aa617a4f2dc444b9667856ca3d6cee | 0.85 | testing_debugging_repair_refactoring | 2,814 | false | 2026-07-17 |
class Program
{
static Program Main(object a)
{
var program = a as Program;
program.{caret}
}
public static implicit operator bool(Program p)
{
return true;
}
} | controlflow/resharper-postfix | PostfixTemplates/Tests/Data/Completion/List/TestBoolean01.cs | https://github.com/controlflow/resharper-postfix/blob/HEAD/PostfixTemplates/Tests/Data/Completion/List/TestBoolean01.cs | ghcode:00010:7b850d2b3ad7 | mit | codeparrot/github-code | 7b850d2b3ad741c343a2055ef8f655c3c0ea13aad80989c9742f7359ca70939a | 0.6 | testing_debugging_repair_refactoring | 46 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using LogShark.Plugins.Art;
using LogShark.Plugins.Art.Model;
using LogShark.Shared;
using LogShark.Shared.LogReading.Containers;
using LogShark.Tests.Plugins.Helpers;
using Microsoft.Extensions.Logging.Abstractions;
using Newton... | tableau/Logshark | Logshark.Tests/Plugins/ArtPluginTests.cs | https://github.com/tableau/Logshark/blob/HEAD/Logshark.Tests/Plugins/ArtPluginTests.cs | ghcode:00010:a2ca0c384f8c | mit | codeparrot/github-code | a2ca0c384f8c0f00176866c9dd5b9bf8361b743056fff21234d6c94589158c8a | 0.85 | testing_debugging_repair_refactoring | 3,432 | false | 2026-07-17 |
using UnityEngine;
using System.Collections;
using LuaInterface;
//两套协同勿交叉使用,类unity原生,大量使用效率低
public class TestCoroutine2 : LuaClient
{
string script =
@"
function CoExample()
WaitForSeconds(1)
print('WaitForSeconds end time: '.. UnityEngine.Time.time) ... | topameng/tolua | Assets/ToLua/Examples/06_LuaCoroutine2/TestCoroutine2.cs | https://github.com/topameng/tolua/blob/HEAD/Assets/ToLua/Examples/06_LuaCoroutine2/TestCoroutine2.cs | ghcode:00010:92ee4b45c278 | mit | codeparrot/github-code | 92ee4b45c2788eab30a991082b0af5eca0120a9511666f3d74c8be17f54ffbbc | 0.85 | testing_debugging_repair_refactoring | 773 | false | 2026-07-17 |
using AllReady.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AllReady.Areas.Admin.Features.Itineraries;
using AllReady.Areas.Admin.Models.ItineraryModels;
using Xunit;
namespace AllReady.UnitTest.Areas.Admin.Features.Itineraries
{
public class EditI... | gftrader/allReady | AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Itineraries/EditItineraryCommandHandlerAsyncTests.cs | https://github.com/gftrader/allReady/blob/HEAD/AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Itineraries/EditItineraryCommandHandlerAsyncTests.cs | ghcode:00010:017ccc34aff9 | mit | codeparrot/github-code | 017ccc34aff95dc025511cbcd3bb8dd5ed63c3c0fdd541cefa0f480cfd6ae745 | 0.75 | testing_debugging_repair_refactoring | 644 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ctrip.SOA.Comm.MemQueue;
using System.Threading;
namespace Ctrip.SOA.Comm.Test
{
[TestClass]
public class BlockingQueueTest
{
[TestMethod]
public ... | mt830813/code | Project/fx.esb.client.1.6.0.0/UnitTest/Ctrip.SOA.Comm.Test/BlockingQueueTest.cs | https://github.com/mt830813/code/blob/HEAD/Project/fx.esb.client.1.6.0.0/UnitTest/Ctrip.SOA.Comm.Test/BlockingQueueTest.cs | ghcode:00010:ac30c9365563 | mit | codeparrot/github-code | ac30c936556396ff47e8ef72d3ac98048445f78670037e30b5f2f05d0e2dc2f4 | 0.6 | testing_debugging_repair_refactoring | 336 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. 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.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
using Mi... | shrishrirang/azure-webjobs-sdk | src/Microsoft.Azure.WebJobs.Host/Tables/TableClient.cs | https://github.com/shrishrirang/azure-webjobs-sdk/blob/HEAD/src/Microsoft.Azure.WebJobs.Host/Tables/TableClient.cs | ghcode:00010:87b78a204592 | mit | codeparrot/github-code | 87b78a2045921767d966383445fc2ed8d6870f33c9947b9763826a9c1903ad69 | 0.7 | testing_debugging_repair_refactoring | 1,058 | false | 2026-07-17 |
using System;
using System.Globalization;
using NUnit.Framework;
namespace XForms.Converters.Tests
{
[TestFixture]
public class InverseBoolConverterTests
{
private InverseBoolConverter _converter;
[SetUp]
public void SetUp()
{
_converter = new InverseBoolConverter();
}
[TestCase(true, false)]
[T... | XForms/XForms.Converters | src/XForms.Converters.Tests/InverseBoolConverterTests.cs | https://github.com/XForms/XForms.Converters/blob/HEAD/src/XForms.Converters.Tests/InverseBoolConverterTests.cs | ghcode:00010:ba15cbce5945 | mit | codeparrot/github-code | ba15cbce5945a38d2b30807fc824b59e271f167de7ef2fad8171b560e413ae5e | 0.75 | testing_debugging_repair_refactoring | 195 | false | 2026-07-17 |
using Cone;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Drunkcod.DataTools.Specs
{
[Describe(typeof(SqlDataConnection))]
public class SqlDataConnectionSpec
{
SqlDataConnection db = new SqlDataConnection("Server=.;Integr... | drunkcod/Drunkcod.DataTools | Source/Drunkcod.DataTools.Specs/SqlDataConnectionSpec.cs | https://github.com/drunkcod/Drunkcod.DataTools/blob/HEAD/Source/Drunkcod.DataTools.Specs/SqlDataConnectionSpec.cs | ghcode:00010:2d1b4fdbea87 | mit | codeparrot/github-code | 2d1b4fdbea871a8b63a83fe454baa5e9d2a68d1aa00c96117a37f6b74281375f | 0.75 | testing_debugging_repair_refactoring | 296 | false | 2026-07-17 |
using System;
using ObviousCode.Alchemy.Creatures.DecisionProcessing;
using NUnit.Framework;
namespace ObviousCode.Alchemy.Creatures.Tests
{
[TestFixture]
public class SubtractionOperatorTests
{
public SubtractionOperatorTests ()
{
}
[Test]
public void WhenSubtractionOperatorSetValues_OutputShouldBeCorr... | lagerdalek/alchemy | ObviousCode.Alchemy.Creatures/ObviousCode.Alchemy.Creatures.Tests/SubtractionOperatorTests.cs | https://github.com/lagerdalek/alchemy/blob/HEAD/ObviousCode.Alchemy.Creatures/ObviousCode.Alchemy.Creatures.Tests/SubtractionOperatorTests.cs | ghcode:00010:0ef73a1fa42d | mit | codeparrot/github-code | 0ef73a1fa42d0f3d5412ea2260c19e637dc33ac6eac5108413722a6eadd0e9c9 | 0.85 | testing_debugging_repair_refactoring | 894 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Objects.Get.Collections.Json.Reader
{
public partial class CollectionMovieObjectJsonReader_Tests
{
private const string JSON_COMPLETE =
@"{
""collected_at"": ""2014-09-01T09:10:11.000Z"",
""movie"": {
""title"":... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Get/Collections/Json/Reader/CollectionMovieObjectJsonReader/CollectionMovieObjectJsonReader_Tests_Json_Data.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Objects/Get/Collections/Json/Reader/CollectionMovieObjectJsonReader/CollectionMovieObjectJsonReader_Tests_Json_Data.cs | ghcode:00010:24ed7d4eb106 | mit | codeparrot/github-code | 24ed7d4eb106b6e3fff366991f709c9607e3653fcda9e628948c69714e3fece4 | 0.85 | testing_debugging_repair_refactoring | 1,655 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using Braintree;
using Braintree.Exceptions;
namespace Braintree.Tests
{
[TestFixture]
public class CreditCardRequestTest
{
[Test]
[Category("Unit")]
public void ToXml_Includes_DeviceSessionId(... | scottmeyer/braintree_dotnet | Braintree.Tests/CreditCardRequestTest.cs | https://github.com/scottmeyer/braintree_dotnet/blob/HEAD/Braintree.Tests/CreditCardRequestTest.cs | ghcode:00010:d605a0d08580 | mit | codeparrot/github-code | d605a0d0858005022b916a40b8718cc4fead61a96eec30c481c59c956d2fb0d0 | 0.6 | testing_debugging_repair_refactoring | 417 | false | 2026-07-17 |
using Microsoft.Extensions.Caching.Memory;
using NBitcoin;
using System.IO;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.BitcoinCore;
using WalletWasabi.BitcoinCore.Endpointing;
using WalletWasabi.Blockchain.Mempool;
using WalletWasabi.Helpers;
using Wa... | nopara73/HiddenWallet | WalletWasabi.Tests/Helpers/TestNodeBuilder.cs | https://github.com/nopara73/HiddenWallet/blob/HEAD/WalletWasabi.Tests/Helpers/TestNodeBuilder.cs | ghcode:00010:e27ff60711fa | mit | codeparrot/github-code | e27ff60711fae87d92c865a4fe576307a9df70e5b08023449d09845e7d9b7028 | 0.75 | testing_debugging_repair_refactoring | 325 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MsTestToXunitConverter.xUnit
{
class TestClass
{
[TestMethod]
[Description("Description")]
public void Descrip... | jschneidereit/MsTestToXunitConverter | MsTestToXunitConverter.xUnit/Resources/GeneralAttributes/DescriptionB.cs | https://github.com/jschneidereit/MsTestToXunitConverter/blob/HEAD/MsTestToXunitConverter.xUnit/Resources/GeneralAttributes/DescriptionB.cs | ghcode:00010:e66fbe67b6c9 | mit | codeparrot/github-code | e66fbe67b6c99e6d5eacd725f9e81ae28b3f3d161e175d57579795018c277936 | 0.6 | testing_debugging_repair_refactoring | 68 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2014-2016, Institute for Software & Systems Engineering
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including wi... | cubeme/ssharp | Tests/Execution/Bindings/Components/generic component.cs | https://github.com/cubeme/ssharp/blob/HEAD/Tests/Execution/Bindings/Components/generic component.cs | ghcode:00010:b1f70f367342 | mit | codeparrot/github-code | b1f70f367342fe4d6db89d19bb728afd5b218279b5cf264232f256ab9dbcdd84 | 0.85 | testing_debugging_repair_refactoring | 372 | false | 2026-07-17 |
using System;
using Cuemon.Extensions.DependencyInjection.Assets;
using Cuemon.Extensions.Xunit;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
using Xunit.Abstractions;
namespace Cuemon.Extensions.DependencyInjection
{
public class TypeExtensionsTest : Test
{
public TypeExtensionsTest(I... | gimlichael/Cuemon | test/Cuemon.Extensions.DependencyInjection.Tests/TypeExtensionsTest.cs | https://github.com/gimlichael/Cuemon/blob/HEAD/test/Cuemon.Extensions.DependencyInjection.Tests/TypeExtensionsTest.cs | ghcode:00010:e8324e8e55b8 | mit | codeparrot/github-code | e8324e8e55b8ec868bd65c9e7338d0c386ce179b977825c05b367fb532f26a96 | 0.6 | testing_debugging_repair_refactoring | 373 | false | 2026-07-17 |
using FluentAssertions;
using NSubstitute;
using NUnit.Framework;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using ygo.application.Commands.UpdateArchetypeSupportCards;
using ygo.application.Mappings.Profiles;
using ygo.core.Services;
using ygo.tests.core;... | fablecode/ygo-api | tests/unit/ygo.application.unit.tests/Commands/UpdateArchetypeSupportCardsCommandHandlerTests.cs | https://github.com/fablecode/ygo-api/blob/HEAD/tests/unit/ygo.application.unit.tests/Commands/UpdateArchetypeSupportCardsCommandHandlerTests.cs | ghcode:00010:c39ea33b5702 | mit | codeparrot/github-code | c39ea33b5702348e22707d8530adf11c2f5117af168f9a13d3b5ab84aeb657de | 0.85 | testing_debugging_repair_refactoring | 821 | false | 2026-07-17 |
using System.Linq;
using TypeSql.Parsing;
using Xunit;
namespace TypeSql.UnitTests.Parsing.ANTLR
{
public class AggregateOutputWithAsClause : AntlrParserTest
{
const string Sql =
@"SELECT COUNT(*) AS Count:int FROM Users";
public AggregateOutputWithA... | mjrichardson/TypeSql | TypeSql.UnitTests/Parsing/ANTLR/AggregateOutputWithAsClause.cs | https://github.com/mjrichardson/TypeSql/blob/HEAD/TypeSql.UnitTests/Parsing/ANTLR/AggregateOutputWithAsClause.cs | ghcode:00010:df5d685157bd | mit | codeparrot/github-code | df5d685157bd9bb58b0bbd3087ddd0e960f5bfa179b0847d8c3655f253af4f9e | 0.6 | testing_debugging_repair_refactoring | 191 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.IO;
using System.Net;
using System.Net.Security;
using System.Collections;
using System.Collections.Generic;
using System.Security.Cryptography.X509Certificates;
using System.Text.RegularExpressions;
using System.Threading;
using Saklient;
using Saklient.Cloud;
using Sa... | sakura-internet/saklient.cs | tests/IsoImageTest.cs | https://github.com/sakura-internet/saklient.cs/blob/HEAD/tests/IsoImageTest.cs | ghcode:00010:3bef67779fa7 | mit | codeparrot/github-code | 3bef67779fa7bc5efa61bec5982e04a3d7e21f017f99cd7a15f8f5aa7f2d2fff | 0.7 | testing_debugging_repair_refactoring | 1,178 | false | 2026-07-17 |
namespace SchoolSystemTest
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SchoolSystem;
[TestClass]
public class TestSchool
{
private const string VALID_SCHOOL_NAME = "Telerik Academy";
[TestMethod]
public void TestSchoolCreationWithValidName... | sguzunov/Telerik-Academy-2015-2016 | KPK/Unit Testing/SchoolSystem/SchoolSystemTest/TestSchool.cs | https://github.com/sguzunov/Telerik-Academy-2015-2016/blob/HEAD/KPK/Unit Testing/SchoolSystem/SchoolSystemTest/TestSchool.cs | ghcode:00010:4ce76453a262 | mit | codeparrot/github-code | 4ce76453a2625e94174b738d4d4af7dc3eaa9724b26c91a08dab7a72870c3563 | 0.75 | testing_debugging_repair_refactoring | 636 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Zenject;
using NUnit.Framework;
using System.Linq;
using ModestTree;
using Assert=ModestTree.Assert;
namespace Zenject.Tests.Bindings
{
[TestFixture]
public class TestFromSubContainerInstaller : ZenjectUnitTestFixture
{
[Test]
public voi... | suzdalnitski/Zenject | UnityProject/Assets/Plugins/Zenject/OptionalExtras/UnitTests/Editor/Bindings/TestFromSubContainerInstaller.cs | https://github.com/suzdalnitski/Zenject/blob/HEAD/UnityProject/Assets/Plugins/Zenject/OptionalExtras/UnitTests/Editor/Bindings/TestFromSubContainerInstaller.cs | ghcode:00010:3c6696fd0cf1 | mit | codeparrot/github-code | 3c6696fd0cf10d2821ce76dae31d7360fa528d60d8fd7291254761a01fdda016 | 0.75 | testing_debugging_repair_refactoring | 681 | false | 2026-07-17 |
using System;
using FakeItEasy;
using NUnit.Framework;
namespace Denxorz.Latch.Tests
{
[TestFixture]
public class LatchTests
{
[Test]
public void ctor_IsNotLatched()
{
// Arrange
var classUnderTest = new Latch();
// Act
// Assert
... | denxorz/Latch | Latch.Tests/LatchTests.cs | https://github.com/denxorz/Latch/blob/HEAD/Latch.Tests/LatchTests.cs | ghcode:00010:72d4370007d3 | mit | codeparrot/github-code | 72d4370007d30278af70c8c787fa1c20fb58ca8652b73c7f37c2363382b56247 | 0.85 | testing_debugging_repair_refactoring | 523 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace DotAspect.Test
{
[TestFixture]
public partial class AspectBehavior
{
[Test]
public void ShouldHandleEnterringToMethod()
{
var test= new TestTarget();
test.Foo(1, 2);
var p = SaveInputAttribute.Logi... | ozzy-ext/dot-aspect | src/DotAspect.Test/AspectBehavior.cs | https://github.com/ozzy-ext/dot-aspect/blob/HEAD/src/DotAspect.Test/AspectBehavior.cs | ghcode:00010:0dfb7480859d | mit | codeparrot/github-code | 0dfb7480859d7587cdfc1d24a15d003b970bdb08d058b3ceddb7fded87f5f1f4 | 0.7 | testing_debugging_repair_refactoring | 394 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Medidata.MAuth.Core;
namespace Medidata.MAuth.Tests.Infrastructure
{
public class AssertSigningHandler : HttpMessageHandler
... | mdsol/mauth-client-dotnet | tests/Medidata.MAuth.Tests.Common/Infrastructure/AssertSigningHandler.cs | https://github.com/mdsol/mauth-client-dotnet/blob/HEAD/tests/Medidata.MAuth.Tests.Common/Infrastructure/AssertSigningHandler.cs | ghcode:00010:0ffe6e7539cc | mit | codeparrot/github-code | 0ffe6e7539cc42d228bd42e040407405688d5eb93f3003cbfbe4da5af2a26ce9 | 0.75 | testing_debugging_repair_refactoring | 245 | false | 2026-07-17 |
// ReSharper disable All
using System;
using System.Diagnostics;
using System.Linq;
using Frapid.ApplicationState.Models;
using Frapid.Core.Api.Fakes;
using Xunit;
namespace Frapid.Core.Api.Tests
{
public class CreateMenuTests
{
public static CreateMenuController Fixture()
{
CreateM... | mixerp4/frapid | src/Frapid.Web/Areas/Frapid.Core/WebAPI/Tests/CreateMenuTests.cs | https://github.com/mixerp4/frapid/blob/HEAD/src/Frapid.Web/Areas/Frapid.Core/WebAPI/Tests/CreateMenuTests.cs | ghcode:00010:3d2d08e6ab05 | mit | codeparrot/github-code | 3d2d08e6ab0540dee362f595a2f7548b8b95f90242a444cce665171d8552fafd | 0.85 | testing_debugging_repair_refactoring | 125 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
public class SyntaxWrapperTe... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperTestsCSharp9.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperTestsCSharp9.cs | ghcode:00010:26af6226df4e | mit | codeparrot/github-code | 26af6226df4e72d4a3a4fd0c2ffe2baed4ad2c7c5b2d88c9e3a3c1bc26b12d60 | 0.75 | testing_debugging_repair_refactoring | 86 | 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.Linq;
using System.Collections;
using ManagedServices.Tests.Helpers;
using Microsoft.Azure.Management.ManagedServices;
using Microsoft.Azure.Managem... | jamestao/azure-sdk-for-net | src/SDKs/ManagedServices/ManagedServices.Tests/ScenarioTests/RegistrationAssignmentTests.cs | https://github.com/jamestao/azure-sdk-for-net/blob/HEAD/src/SDKs/ManagedServices/ManagedServices.Tests/ScenarioTests/RegistrationAssignmentTests.cs | ghcode:00010:f20b3dcbb5d3 | mit | codeparrot/github-code | f20b3dcbb5d383dba582b27a5991a628d6a9782369d3dd15ce9ff1d1b9fa3ab6 | 0.85 | testing_debugging_repair_refactoring | 855 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using Qwack.Core.Instruments.Funding;
using Qwack.Core.Curves;
using System.Linq;
using Qwack.Math.Interpolation;
using Qwack.Core.Basic;
using Qwack.Models;
using Qwack.Dates;
using static System.Math;
using Qwack.Providers.Jso... | cetusfinance/qwack | test/Qwack.Core.Tests/Instruments/IrSwapFacts.cs | https://github.com/cetusfinance/qwack/blob/HEAD/test/Qwack.Core.Tests/Instruments/IrSwapFacts.cs | ghcode:00010:e63223131c51 | mit | codeparrot/github-code | e63223131c516ffb5e379ab0467a8ff22981a0e8cb6e9c8a787b47ababe58242 | 0.6 | testing_debugging_repair_refactoring | 765 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using UnityEngine;
using ModestTree;
using Assert=ModestTree.Assert;
using Zenject.Tests.Bindings.FromSubContainerPrefab;
#pragma warning disable 649
namespace Zenject.Tests.Bindings
{
[TestFixture]
public class TestFro... | suzdalnitski/Zenject | UnityProject/Assets/Plugins/Zenject/OptionalExtras/IntegrationTests/Bindings/Editor/TestFromSubContainerPrefab.cs | https://github.com/suzdalnitski/Zenject/blob/HEAD/UnityProject/Assets/Plugins/Zenject/OptionalExtras/IntegrationTests/Bindings/Editor/TestFromSubContainerPrefab.cs | ghcode:00010:efdb7d03c542 | mit | codeparrot/github-code | efdb7d03c542ea1e3ef27e06e970ce55409f5bd80e1749021574c1acc6c5af99 | 0.75 | testing_debugging_repair_refactoring | 1,524 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using System.Diagnostics;
namespace Isosurface.QEFProper
{
public class QEFData
{
public float ata_00, ata_01, ata_02, ata_11, ata_12, ata_22;
public float atb_x, atb_y, atb_z;
public float btb... | Lin20/isosurface | Isosurface/Isosurface/QEFSolver/QEFSolver.cs | https://github.com/Lin20/isosurface/blob/HEAD/Isosurface/Isosurface/QEFSolver/QEFSolver.cs | ghcode:00010:fe5e2d4c729d | mit | codeparrot/github-code | fe5e2d4c729d7c22791f5245a36ab82181b472c42b1e5df4f61184b372677fe1 | 0.7 | testing_debugging_repair_refactoring | 1,894 | false | 2026-07-17 |
using Ashkatchap.UnityScheduler;
using System;
using UnityEngine;
using UnityEngine.Profiling;
public class TestMultithreadAPI : MonoBehaviour {
FrameUpdateReference firstUpdate;
FrameUpdateReference secondUpdate;
Ashkatchap.Scheduler.QueuedJob[] jobs;
public int arraySize = 100000;
public bool singleThread = f... | forestrf/Scheduler | Ashkatchap/Scheduler/Test/TestMultithreadAPI.cs | https://github.com/forestrf/Scheduler/blob/HEAD/Ashkatchap/Scheduler/Test/TestMultithreadAPI.cs | ghcode:00010:3fafce7b1516 | mit | codeparrot/github-code | 3fafce7b15164ac6b07494bee748fc7f82811d4426b4e3584b92f1efde2913a5 | 0.85 | testing_debugging_repair_refactoring | 643 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace CorpAlgoCourse.Sheldon
{
public class WorldCup
{
[Theory]
[MemberData(nameof(InputData1))]
public void Test1(int[] queues, int expected)
{
var result = Solve(queues.Length, queu... | tim-f/Education | src/Algorithms/CorpAlgoCourse/Sheldon/Gr-1-Exam-2.cs | https://github.com/tim-f/Education/blob/HEAD/src/Algorithms/CorpAlgoCourse/Sheldon/Gr-1-Exam-2.cs | ghcode:00010:6ff6033974b2 | mit | codeparrot/github-code | 6ff6033974b2a2f6295ccdf38bb0dde19c1933611a775cd3e656de63f942fa0f | 0.6 | testing_debugging_repair_refactoring | 437 | false | 2026-07-17 |
//
// ReflectionPermissionTest.cs - NUnit Test Cases for ReflectionPermission
//
// Author:
// Sebastien Pouliot (spouliot@motus.com)
//
// (C) 2003 Motus Technologies Inc. (http://www.motus.com)
//
using NUnit.Framework;
using System;
using System.Security;
using System.Security.Permissions;
namespace MonoTests.Syst... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Security.Permissions/ReflectionPermissionTest.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Security.Permissions/ReflectionPermissionTest.cs | ghcode:00010:8acd71c35b14 | mit | codeparrot/github-code | 8acd71c35b142302a50a0d7b90666c585ceb3248a96fd8faad8ec71819016cd4 | 0.95 | testing_debugging_repair_refactoring | 3,497 | false | 2026-07-17 |
using NUnit.Framework;
using SJP.Schematic.Sqlite.Parsing;
using Superpower.Model;
namespace SJP.Schematic.Sqlite.Tests.Parsing
{
[TestFixture]
internal static class SqliteTableParserTests
{
[TestCase((string)null)]
[TestCase("")]
[TestCase(" ")]
public static void Parse... | sjp/Schematic | src/SJP.Schematic.Sqlite.Tests/Parsing/SqliteTableParserTests.cs | https://github.com/sjp/Schematic/blob/HEAD/src/SJP.Schematic.Sqlite.Tests/Parsing/SqliteTableParserTests.cs | ghcode:00010:a80f57301b5e | mit | codeparrot/github-code | a80f57301b5ee38ee69aabda049a43c52170e809fe8010af9ad9ca8e250756cb | 0.75 | testing_debugging_repair_refactoring | 200 | false | 2026-07-17 |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//
// Microsoft Bot Framework: http://botframework.com
//
// Bot Builder SDK Github:
// https://github.com/Microsoft/BotBuilder
//
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// MIT License:
// Permission ... | xiangyan99/BotBuilder | CSharp/Tests/Microsoft.Bot.Builder.Tests/UrlTokenTests.cs | https://github.com/xiangyan99/BotBuilder/blob/HEAD/CSharp/Tests/Microsoft.Bot.Builder.Tests/UrlTokenTests.cs | ghcode:00010:0a54eb1cfed7 | mit | codeparrot/github-code | 0a54eb1cfed7499c02a8f9264abf17148f5aafe7c783c18238f483d9e22fb8db | 0.95 | testing_debugging_repair_refactoring | 596 | false | 2026-07-17 |
using System;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PodPath.FFUtils.Exceptions;
using PodPath.FFUtils.Interfaces;
using PodPath.FFUtils.Results;
namespace PodPath.FFUtils.Test
{
[TestClass]
public class FFConvertTests
{
private static readonly string AssemblyPa... | rndthoughts/PodPath | PodPath.FFUtils.Test/FFConvertTests.cs | https://github.com/rndthoughts/PodPath/blob/HEAD/PodPath.FFUtils.Test/FFConvertTests.cs | ghcode:00010:b534250cb2b5 | mit | codeparrot/github-code | b534250cb2b5ba5b46cad816108ba82024440a47d29fcd0e5d9ed45bcbce1687 | 0.75 | testing_debugging_repair_refactoring | 969 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Ferric.Math.Common.Tests
{
[TestClass]
public class SparseMatrixTests
{
[TestMethod]
public void Math_Common_SparseMatrix_Equality()
{
var a = new SparseMatrix<int>(new int[2, 3] { { 1, 2, 3 }, ... | kulibali/ferric | src/Ferric/Math/Common.Tests/SparseMatrixTests.cs | https://github.com/kulibali/ferric/blob/HEAD/src/Ferric/Math/Common.Tests/SparseMatrixTests.cs | ghcode:00010:d891d810341b | mit | codeparrot/github-code | d891d810341ba1d2c2d2cb9c00db83a7cc15fcbcae27555b87a8fb73c9607259 | 0.75 | testing_debugging_repair_refactoring | 2,951 | false | 2026-07-17 |
// <copyright file="An8DegreeOfFreedomTests.cs" company="Jérémy Ansel">
// Copyright (c) 2015, 2019 Jérémy Ansel
// </copyright>
// <license>
// Licensed under the MIT license. See LICENSE.txt
// </license>
namespace JeremyAnsel.Media.An8.Tests
{
using Xunit;
/// <summary>
/// Tests for <see cref="An8Deg... | JeremyAnsel/JeremyAnsel.Media.An8 | JeremyAnsel.Media.An8/JeremyAnsel.Media.An8.Tests/An8DegreeOfFreedomTests.cs | https://github.com/JeremyAnsel/JeremyAnsel.Media.An8/blob/HEAD/JeremyAnsel.Media.An8/JeremyAnsel.Media.An8.Tests/An8DegreeOfFreedomTests.cs | ghcode:00010:467974cb9790 | mit | codeparrot/github-code | 467974cb979061eba5312b3e754a427d1a0729382c916e37174c55ab3a1325ef | 0.85 | testing_debugging_repair_refactoring | 1,023 | false | 2026-07-17 |
// This file was auto-generated based on version 2.1.0 of the canonical data.
using Xunit;
public class BeerSongTests
{
[Fact]
public void First_generic_verse()
{
var expected =
"99 bottles of beer on the wall, 99 bottles of beer.\n" +
"Take one down and pass it around, 98... | robkeim/xcsharp | exercises/beer-song/BeerSongTests.cs | https://github.com/robkeim/xcsharp/blob/HEAD/exercises/beer-song/BeerSongTests.cs | ghcode:00010:e2d6dc3426b8 | mit | codeparrot/github-code | e2d6dc3426b8bb8a53936987d6797bea522132e935879e94e460304ea647b2b7 | 0.75 | testing_debugging_repair_refactoring | 5,673 | false | 2026-07-17 |
using NUnit.Framework;
using System.Linq;
using System.Collections.Generic;
namespace IxExample
{
[TestFixture ()]
public class IFExample
{
// see https://github.com/Reactive-Extensions/Rx.NET/blob/master/Ix.NET/Source/System.Interactive/EnumerableEx.Imperative.cs#L61
[Test ()]
public void TestIfTrue ()
{
... | RyotaMurohoshi/snippets | csharp/IxExample/ix_example/UnitTests/Imperative/IfExample.cs | https://github.com/RyotaMurohoshi/snippets/blob/HEAD/csharp/IxExample/ix_example/UnitTests/Imperative/IfExample.cs | ghcode:00010:07707d9bb3b8 | mit | codeparrot/github-code | 07707d9bb3b8a2e772a73632b1fe5870d1998097e8598323572e6d5415e1c769 | 0.7 | testing_debugging_repair_refactoring | 472 | false | 2026-07-17 |
using System.IO;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wyam.Core.Modules;
using Wyam.Common;
using Wyam.Core.Documents;
using Wyam.Core.Pipelines;
namespace Wyam.Core.Tests.Modules
{
[TestFixture]
public... | Rohansi/Wyam | Wyam.Core.Tests/Modules/ReadFilesFixture.cs | https://github.com/Rohansi/Wyam/blob/HEAD/Wyam.Core.Tests/Modules/ReadFilesFixture.cs | ghcode:00010:8aa75ad1ca6b | mit | codeparrot/github-code | 8aa75ad1ca6b2860af4db077ae9506722017d57dee85b484a0de64c61900bab7 | 0.7 | testing_debugging_repair_refactoring | 1,401 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Objects.Basic.Json.Writer
{
using FluentAssertions;
using Newtonsoft.Json;
using System;
using System.IO;
using System.Threading.Tasks;
using Traits;
using TraktApiSharp.Objects.Basic;
using TraktApiSharp.Objects.Basic.Json.Writer;
using Xunit;
[Ca... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Basic/Json/Writer/NetworkObjectJsonWriter/NetworkObjectJsonWriter_JsonWriter_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Objects/Basic/Json/Writer/NetworkObjectJsonWriter/NetworkObjectJsonWriter_JsonWriter_Tests.cs | ghcode:00010:272a7d1b7df8 | mit | codeparrot/github-code | 272a7d1b7df8c4d0f4659215ad665414ed62af228c151f01aae01865ff60c5fb | 0.85 | testing_debugging_repair_refactoring | 296 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using ExpressiveExpressionTrees.Tests.CompareExpressionBaseTests;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ExpressiveExpressionTrees.Tests.ExpressionComparerTests
{
[TestClass... | hannasm/ExpressiveExpressionTreesDotNet | ExpressiveExpressionTrees.Tests/ExpressionComparerTests/MemberAccessExpressionComparerTests.cs | https://github.com/hannasm/ExpressiveExpressionTreesDotNet/blob/HEAD/ExpressiveExpressionTrees.Tests/ExpressionComparerTests/MemberAccessExpressionComparerTests.cs | ghcode:00010:b6c3e5269991 | mit | codeparrot/github-code | b6c3e5269991d0d5a69314ead55581b76947c0dc361d59ae1086906f80ab7b6e | 0.75 | testing_debugging_repair_refactoring | 149 | false | 2026-07-17 |
using System;
using FluentAssertions;
using Omego.Extensions.EnumerableExtensions;
using Xunit;
namespace Omego.Extensions.Tests.Unit.EnumerableExtensions
{
public class FirstOrTests
{
[Fact]
public void FirstOrLazyByQueryShouldArgumentNullExceptionWhenDefaultFuncIsNull()
{
... | OlegKleyman/Omego.Extensions | tests/unit/Omego.Extensions.Tests.Unit/EnumerableExtensions/FirstOrTests.cs | https://github.com/OlegKleyman/Omego.Extensions/blob/HEAD/tests/unit/Omego.Extensions.Tests.Unit/EnumerableExtensions/FirstOrTests.cs | ghcode:00010:c18ad5fe3eb0 | unlicense | codeparrot/github-code | c18ad5fe3eb0b642b4b28d142faee70d988dc4c6dacc033f7131005679566838 | 0.68 | testing_debugging_repair_refactoring | 677 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="AzureEmulatorHelperFixture.cs" company="Rare Crowds Inc">
// Copyright 2012-2013 Rare Crowds, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance wi... | chinnurtb/OpenAdStack | TestUtilities/TestUtilitiesUnitTests/AzureEmulatorHelperFixture.cs | https://github.com/chinnurtb/OpenAdStack/blob/HEAD/TestUtilities/TestUtilitiesUnitTests/AzureEmulatorHelperFixture.cs | ghcode:00010:aa2428f9067e | apache-2.0 | codeparrot/github-code | aa2428f9067e521432abe5c7c81e22e9cde57436e982346e5d060d2b3af68490 | 0.7 | testing_debugging_repair_refactoring | 371 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Simpl.Serialization;
using Simpl.Serialization.Library.Maps;
using Simpl.Serialzation.Tests.TestHelper;
namespace Simpl.Serialzation.Tests
{
[TestClass]
p... | ecologylab/simplCSharp | Simpl.Serialization.Test/MapsWithinMapsTest.cs | https://github.com/ecologylab/simplCSharp/blob/HEAD/Simpl.Serialization.Test/MapsWithinMapsTest.cs | ghcode:00010:254facd5a098 | apache-2.0 | codeparrot/github-code | 254facd5a0987445d946d8e3c662453e3046af108eea3f6d6f9171d6c14538a6 | 0.6 | testing_debugging_repair_refactoring | 217 | false | 2026-07-17 |
//
// Copyright 2014 Luke
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | Luke-Wolf/krystal-voicecontrol | Krystal.Tests/CommandTest.cs | https://github.com/Luke-Wolf/krystal-voicecontrol/blob/HEAD/Krystal.Tests/CommandTest.cs | ghcode:00010:d22187e43048 | apache-2.0 | codeparrot/github-code | d22187e4304800dcb4aa4e1289d234d1d6b9feca9cf55c5950dc4fd55276848c | 0.7 | testing_debugging_repair_refactoring | 192 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Linq;
using System.Xml;
namespace FluentMsBuild
{
[TestClass]
public class TaskTest
{
Task unit;
Root root;
[TestInitialize]
public void TestInitialize()... | PascalK/FluentMsBuild | Tests/FluentMsBuild.Tests/Task/TaskTest.cs | https://github.com/PascalK/FluentMsBuild/blob/HEAD/Tests/FluentMsBuild.Tests/Task/TaskTest.cs | ghcode:00010:2ca0be147df3 | apache-2.0 | codeparrot/github-code | 2ca0be147df32f3377b396b3e579a43ae0813ec4606b5d710dde2fee207d9da9 | 0.7 | testing_debugging_repair_refactoring | 3,985 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Logging;
using Moq;
using Xunit;
namespace Cimpre... | Cimpress-MCP/dotnet-core-httputils | test/Cimpress.Extensions.Http.UnitTests/DataUriConversion_when_downloading_images_and_converting_to_base_64.cs | https://github.com/Cimpress-MCP/dotnet-core-httputils/blob/HEAD/test/Cimpress.Extensions.Http.UnitTests/DataUriConversion_when_downloading_images_and_converting_to_base_64.cs | ghcode:00010:8bf397023d16 | apache-2.0 | codeparrot/github-code | 8bf397023d165461850c7fa882dc71e10fef01b256bd4c24458ee5e69c6f5fd7 | 0.7 | testing_debugging_repair_refactoring | 774 | false | 2026-07-17 |
using System;
namespace NCacheAppFabricConsoleUI
{
internal static class GetInRegionTests
{
internal static void GetExistingKeyInRegion()
{
try
{
Logger.PrintTestStartInformation("Getting existing key from region");
string myRegion = Guid.NewGuid().ToString();
string myKey = Guid.NewGui... | Alachisoft/NCache-Wrapper-For-AppFabric | samples/AppFabricWrapperTest/NCacheAppFabricConsoleUI/RegionLevelBasicOperations/GetInRegionTests.cs | https://github.com/Alachisoft/NCache-Wrapper-For-AppFabric/blob/HEAD/samples/AppFabricWrapperTest/NCacheAppFabricConsoleUI/RegionLevelBasicOperations/GetInRegionTests.cs | ghcode:00010:4852fbb0a41b | apache-2.0 | codeparrot/github-code | 4852fbb0a41b74afecd934101e13ccb0c4cb784bad9da3c3b8ed7b039e4ca235 | 0.75 | testing_debugging_repair_refactoring | 526 | false | 2026-07-17 |
using LCL.Domain.Entities;
using System;
namespace LCL.Tests.Domain.Model
{
/// <summary>
/// 表示“角色”领域概念的聚合根。
/// </summary>
public class Role : AggregateRoot
{
#region Ctor
/// <summary>
/// 初始化一个新的<c>Role</c>实例。
/// </summary>
public Role() {... | luomingui/LCLFramework | Source/Tests/LCL.Tests/ACore/Domain/Model/Role.cs | https://github.com/luomingui/LCLFramework/blob/HEAD/Source/Tests/LCL.Tests/ACore/Domain/Model/Role.cs | ghcode:00010:ab7043c255ac | apache-2.0 | codeparrot/github-code | ab7043c255ac219648c6ec03d08a3d0279bf6fc62f21d97784102c5052fdbe59 | 0.95 | testing_debugging_repair_refactoring | 273 | false | 2026-07-17 |
using System.Linq;
using Ductus.FluentDocker.Commands;
using Ductus.FluentDocker.Model.Containers;
using Ductus.FluentDocker.Services;
using Ductus.FluentDocker.Tests.Extensions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Ductus.FluentDocker.Tests.CommandTests
{
[TestClass]
public sealed class I... | mariotoffia/FluentDocker | Ductus.FluentDocker.Tests/CommandTests/ImageTests.cs | https://github.com/mariotoffia/FluentDocker/blob/HEAD/Ductus.FluentDocker.Tests/CommandTests/ImageTests.cs | ghcode:00010:516e1185530e | apache-2.0 | codeparrot/github-code | 516e1185530e58aeca8221fb624a908e5d2b15b34da6ed5d6c87dba08fd2aaa4 | 0.75 | testing_debugging_repair_refactoring | 278 | false | 2026-07-17 |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.... | citizenmatt/gallio | src/Extensions/CSUnit/Gallio.CSUnitAdapter.TestResources/SimpleTest.cs | https://github.com/citizenmatt/gallio/blob/HEAD/src/Extensions/CSUnit/Gallio.CSUnitAdapter.TestResources/SimpleTest.cs | ghcode:00010:6b23d1993932 | apache-2.0 | codeparrot/github-code | 6b23d199393216a81505669398a97e8e77905582b23e83596fcd210adb58ac5a | 0.85 | testing_debugging_repair_refactoring | 288 | false | 2026-07-17 |
using Newtonsoft.Json;
using NUnit.Framework;
namespace Aqua.Tests
{
[TestFixture]
public sealed class UnknownJobExceptionTest
{
[Test]
public void Ctors()
{
UnknownJobException ex = new UnknownJobException("UnknownJobExceptionTest-Ctors", "UnknownJob");
Ass... | rokeller/aqua | src/AzureQueueAgentLib.Tests/UnknownJobExceptionTest.cs | https://github.com/rokeller/aqua/blob/HEAD/src/AzureQueueAgentLib.Tests/UnknownJobExceptionTest.cs | ghcode:00010:33609b57b9c3 | apache-2.0 | codeparrot/github-code | 33609b57b9c391789458af288dfefe90b7fea497ae798a0809092b6fec19b478 | 0.6 | testing_debugging_repair_refactoring | 212 | false | 2026-07-17 |
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Net.NetworkInformation;
using System.Xml.Linq;
using HealthCheck;
using HealthCheck.Plugins;
using Xunit;
namespace UnitTests.Plugins
{
[SuppressMessage(
"StyleCop.CSharp.DocumentationRules",
"SA1600:ElementsMustBeDocumented",
... | dcjulian29/HealthCheck | UnitTests/Plugins/PingCheckTests.cs | https://github.com/dcjulian29/HealthCheck/blob/HEAD/UnitTests/Plugins/PingCheckTests.cs | ghcode:00010:2d9920ef00c0 | apache-2.0 | codeparrot/github-code | 2d9920ef00c0849e2e396f0b989fff849eca5cfe80ac0b64ec2db6df897cf79e | 0.85 | testing_debugging_repair_refactoring | 1,958 | false | 2026-07-17 |
using System;
using NSubstitute;
using NUnit.Framework;
using SvnToGit.Core;
using SvnToGit.Core.Exceptions;
using SvnToGit.Core.Interfaces;
namespace Test.Core {
[TestFixture]
public class CreateCloneGitTest {
private CreateCloneGit createCloneGit;
private IProcessCaller processCaller;
... | samukce/migrate-from-svn-to-git | Test.Core/CreateCloneGitTest.cs | https://github.com/samukce/migrate-from-svn-to-git/blob/HEAD/Test.Core/CreateCloneGitTest.cs | ghcode:00010:17143fabcfa8 | apache-2.0 | codeparrot/github-code | 17143fabcfa8397de2c625fb24b70be9261b898e793df067cf208bd20f7596fd | 0.7 | testing_debugging_repair_refactoring | 918 | 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... | CurtHagenlocher/ParquetSharp | ParquetHadoop/test/Hadoop/DeprecatedInputFormatTest.cs | https://github.com/CurtHagenlocher/ParquetSharp/blob/HEAD/ParquetHadoop/test/Hadoop/DeprecatedInputFormatTest.cs | ghcode:00010:133a8c3459c8 | apache-2.0 | codeparrot/github-code | 133a8c3459c858f351505627f1616a6661ad554604d2de19c49cacec9104a2f9 | 0.95 | testing_debugging_repair_refactoring | 1,457 | false | 2026-07-17 |
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2022 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | JeffreySu/WeiXinMPSDK | src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/Containers/AccessTokenContainer.TryGetAccessTokenTests.cs | https://github.com/JeffreySu/WeiXinMPSDK/blob/HEAD/src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/Containers/AccessTokenContainer.TryGetAccessTokenTests.cs | ghcode:00010:c73d4bfbdd7f | apache-2.0 | codeparrot/github-code | c73d4bfbdd7f87808189a63e97adb5cc51264c3259eb8772e58fd1ee1879570e | 0.85 | testing_debugging_repair_refactoring | 469 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Couchbase.Linq.Proxies;
using Moq;
using NUnit.Framework;
namespace Couchbase.Linq.UnitTests.Proxies
{
[TestFixture]
public class DocumentCollectionTests
{
#region IsDirty/IsDe... | drGarbinsky/Linq2Couchbase | Src/Couchbase.Linq.UnitTests/Proxies/DocumentCollectionTests.cs | https://github.com/drGarbinsky/Linq2Couchbase/blob/HEAD/Src/Couchbase.Linq.UnitTests/Proxies/DocumentCollectionTests.cs | ghcode:00010:6f26924e884f | apache-2.0 | codeparrot/github-code | 6f26924e884f4607bd0e9d5f620fb7f3c407c02d02be73806ad441c9d69887a1 | 0.85 | testing_debugging_repair_refactoring | 1,065 | 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 ma... | anupam128/reef | lang/cs/Org.Apache.REEF.Tests/Functional/IMRU/TestFailMapperEvaluatorsWithFailedResultHandlerOnDispose.cs | https://github.com/anupam128/reef/blob/HEAD/lang/cs/Org.Apache.REEF.Tests/Functional/IMRU/TestFailMapperEvaluatorsWithFailedResultHandlerOnDispose.cs | ghcode:00010:00a69ed47809 | apache-2.0 | codeparrot/github-code | 00a69ed478092c45ed01b140c44b56cec0b26e3aa5dfe38d86a073edd92e3c79 | 0.85 | testing_debugging_repair_refactoring | 986 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp... | ericfe-ms/roslyn | src/Compilers/CSharp/Test/Syntax/Parsing/DeclarationParsingTests.cs | https://github.com/ericfe-ms/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Syntax/Parsing/DeclarationParsingTests.cs | ghcode:00010:c338bea03f99 | apache-2.0 | codeparrot/github-code | c338bea03f99c69c78671528bdcfc4194c745cd3d5fe95596f76cb800ed3df7f | 0.75 | testing_debugging_repair_refactoring | 50,453 | false | 2026-07-17 |
using System;
using leaf;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace leafTests.sort
{
[TestClass]
public class MergeSortTests
{
const int size = 2000;
[TestMethod]
public void sortTest()
{
var rnd = new Random();
var A = new int[si... | rusergeev/leaf | csharp/leafTests/sort/MergeTests.cs | https://github.com/rusergeev/leaf/blob/HEAD/csharp/leafTests/sort/MergeTests.cs | ghcode:00010:ac42d161cefb | bsd-3-clause | codeparrot/github-code | ac42d161cefb3df51a7d699546d78af59df1b7322247f9b87c3c7a7130bfefd0 | 0.75 | testing_debugging_repair_refactoring | 651 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Text.Utf8;
namespace System.Text.Json.Tests
{
public class TestDom
{
public Object Object { get; set; }
public Array Array { get; set; }
public Value Value { get; set; }
public TestDom this[string index]
{
ge... | alexperovich/corefxlab | tests/System.Text.Json.Tests/TestJson.cs | https://github.com/alexperovich/corefxlab/blob/HEAD/tests/System.Text.Json.Tests/TestJson.cs | ghcode:00010:315eaa44537e | mit | codeparrot/github-code | 315eaa44537e3890e5e2f4ff0cf1e404cdba0ac54cb7dc6f2eb25bfd20e90c29 | 0.75 | testing_debugging_repair_refactoring | 2,203 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Xml;
using System.Xml.XPath;
using System.Xml.Xsl;
nam... | shawnhar/corefx | src/System.Xml.XPath/src/System/Xml/XPath/Internal/SortQuery.cs | https://github.com/shawnhar/corefx/blob/HEAD/src/System.Xml.XPath/src/System/Xml/XPath/Internal/SortQuery.cs | ghcode:00010:9d90e681d6bb | mit | codeparrot/github-code | 9d90e681d6bb792f321423fbfefc26133ebe74bb8682a4d1f0d0d74b86696aca | 0.95 | testing_debugging_repair_refactoring | 1,632 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Renci.SshNet.Channels;
using Renci.SshNet.Common;
using Renci.SshNet.Sftp;
using Renci.SshNet.Abstractions;
using Renci.SshNet.Sftp.Responses;
namespace Renci.SshNet.Tests.Classes.Sftp
{
[TestC... | sshnet/SSH.NET | src/Renci.SshNet.Tests/Classes/Sftp/SftpSessionTest_Connected_RequestRead.cs | https://github.com/sshnet/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/Sftp/SftpSessionTest_Connected_RequestRead.cs | ghcode:00010:ab1138ad6958 | mit | codeparrot/github-code | ab1138ad6958a2116daa46a634e75115206ffcb555ae2d1e5af69d2e03947c46 | 0.6 | testing_debugging_repair_refactoring | 1,275 | 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;
using System.Collections.Generic;
using Xunit;
namespace System.Net.Primitives.Functiona... | marksmeltzer/corefx | src/System.Net.Primitives/tests/FunctionalTests/CredentialCacheTest.cs | https://github.com/marksmeltzer/corefx/blob/HEAD/src/System.Net.Primitives/tests/FunctionalTests/CredentialCacheTest.cs | ghcode:00010:77d832bee5dc | mit | codeparrot/github-code | 77d832bee5dc43596f27c811629e2f6b0ad5521f8bd74d1a29abe369a1c993ce | 0.95 | testing_debugging_repair_refactoring | 3,605 | false | 2026-07-17 |
// Code generated by Microsoft (R) AutoRest Code Generator 1.2.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace ApplicationGateway.Models
{
using Newtonsoft.Json;
using System.Linq;
public partial class BgpPeerStatus
{
/// <summary>
... | lmazuel/autorest | Samples/test/end-to-end/network/Client/Models/BgpPeerStatus.cs | https://github.com/lmazuel/autorest/blob/HEAD/Samples/test/end-to-end/network/Client/Models/BgpPeerStatus.cs | ghcode:00010:1e443caa975e | mit | codeparrot/github-code | 1e443caa975e5836ae7826e64b91f89440e828de79c6f9ca91c10de2158cd0c5 | 0.95 | testing_debugging_repair_refactoring | 829 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using DotCMIS;
using DotCMIS.Client.Impl;
using DotCMIS.Client;
namespace DotCMISUnitTest
{
[TestFixture]
class GetChildrenTest
{
private static int numOfDocuments = 250;
... | apache/chemistry-dotcmis | DotCMISUnitTest/GetChildrenTest.cs | https://github.com/apache/chemistry-dotcmis/blob/HEAD/DotCMISUnitTest/GetChildrenTest.cs | ghcode:00010:3ddb009f07cb | apache-2.0 | codeparrot/github-code | 3ddb009f07cb7e9df9a4aa6693e62023c6ec176361d596547e9bd8534aa0d787 | 0.7 | testing_debugging_repair_refactoring | 620 | 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.AddImports;
using Microsoft.CodeAnalysis.CodeStyle;
usin... | eriawan/roslyn | src/EditorFeatures/CSharpTest/Formatting/CSharpNewDocumentFormattingServiceTests.cs | https://github.com/eriawan/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Formatting/CSharpNewDocumentFormattingServiceTests.cs | ghcode:00010:fc615cb998dc | apache-2.0 | codeparrot/github-code | fc615cb998dc3465c793b038365a4c3fd38c8f3f90e4cff6c0d28a0697ade951 | 0.85 | testing_debugging_repair_refactoring | 1,161 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using Ninject;
using Test.Core;
using Xunit;
namespace KickStart.Ninject.Tests
{
public class NinjectStarterTest
{
[Fact]
public... | mgnslndh/KickStart | Source/KickStart.Ninject.Tests/NinjectStarterTest.cs | https://github.com/mgnslndh/KickStart/blob/HEAD/Source/KickStart.Ninject.Tests/NinjectStarterTest.cs | ghcode:00010:b6dca4a5ade7 | apache-2.0 | codeparrot/github-code | b6dca4a5ade799fbf78909cec15a454ecb39966122394a2d6817b95358af76d2 | 0.6 | testing_debugging_repair_refactoring | 161 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Text;
namespac... | krytarowski/corert | src/System.Private.CoreLib/src/System/String.Manipulation.cs | https://github.com/krytarowski/corert/blob/HEAD/src/System.Private.CoreLib/src/System/String.Manipulation.cs | ghcode:00010:53de84780f3e | mit | codeparrot/github-code | 53de84780f3eb09bf705029b9e344690e1cca1151a105b7485e829d4ec781d8c | 0.67 | testing_debugging_repair_refactoring | 11,326 | false | 2026-07-17 |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using FluentAssertions;
using Microsoft.DotNet.Cli.Sln.Internal;
using Microsoft.DotNet.Tools;
using Microsoft.DotNet.Tools.Test.Utilities;
using... | Faizan2304/cli | test/dotnet-sln-remove.Tests/GivenDotnetSlnRemove.cs | https://github.com/Faizan2304/cli/blob/HEAD/test/dotnet-sln-remove.Tests/GivenDotnetSlnRemove.cs | ghcode:00010:160cac98eceb | mit | codeparrot/github-code | 160cac98eceb122638ade99e76744748e1163054848e8e6847b7d3cf8d7cf823 | 0.75 | testing_debugging_repair_refactoring | 7,308 | false | 2026-07-17 |
// Copyright 2011 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | BrightstarDB/odata-sparql | ODataLib/OData/Silverlight/Microsoft/Data/OData/ReaderValidationUtils.cs | https://github.com/BrightstarDB/odata-sparql/blob/HEAD/ODataLib/OData/Silverlight/Microsoft/Data/OData/ReaderValidationUtils.cs | ghcode:00010:dfbb3ab8c1d8 | mit | codeparrot/github-code | dfbb3ab8c1d84aa759cabc29d5aee6d205b25784c73a33a3ac98b2de2d355e29 | 0.57 | testing_debugging_repair_refactoring | 11,893 | 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 NUnit.Framework;
using osu.Game.Rulesets.Difficulty.Utils;
namespace osu.Game.Tests.NonVisual
{
[TestFixture]
public class LimitedCapacitySta... | 2yangk23/osu | osu.Game.Tests/NonVisual/LimitedCapacityStackTest.cs | https://github.com/2yangk23/osu/blob/HEAD/osu.Game.Tests/NonVisual/LimitedCapacityStackTest.cs | ghcode:00010:b1c23efdcac9 | mit | codeparrot/github-code | b1c23efdcac906b09d73d1f34f52c79db986bd7eaf3672c6300b3fdc652a1f96 | 0.85 | testing_debugging_repair_refactoring | 700 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="RestartNode3Spec.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/akkadotnet/akka.net>
// </copyright... | ali-ince/akka.net | src/core/Akka.Cluster.Tests.MultiNode/RestartNode3Spec.cs | https://github.com/ali-ince/akka.net/blob/HEAD/src/core/Akka.Cluster.Tests.MultiNode/RestartNode3Spec.cs | ghcode:00010:8baf284971cc | apache-2.0 | codeparrot/github-code | 8baf284971ccb42eeccf8fa4a8304b443c25fb6718db761c4374bc7aeaaf6279 | 0.85 | testing_debugging_repair_refactoring | 1,394 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Lucene.Net.Index;
using Lucene.Net.Linq;
using Lucene.Net.Search;
using Moq;
using NUnit.Framework;
namespace NuGet.Lucene.Tests
{
[TestFixture]
public class PackageIndexerSynchronizeT... | googol/NuGet.Lucene | source/NuGet.Lucene.Tests/PackageIndexerSynchronizeTests.cs | https://github.com/googol/NuGet.Lucene/blob/HEAD/source/NuGet.Lucene.Tests/PackageIndexerSynchronizeTests.cs | ghcode:00010:fe4f1b5f26d2 | apache-2.0 | codeparrot/github-code | fe4f1b5f26d2079b12c1d88f2386c553b6e4bb03ba75dd42187b76113505d522 | 0.75 | testing_debugging_repair_refactoring | 1,396 | false | 2026-07-17 |
using Shouldly.Tests.Strings;
using Xunit;
namespace Shouldly.Tests.ShouldBeNegative
{
public class ShortScenario
{
[Fact]
public void ShortScenarioShouldFail()
{
var @short = ((short)3);
Verify.ShouldFail(() =>
@short.ShouldBeNegative("Some additional context")... | ankurMalhotra/shouldly | src/Shouldly.Tests/ShouldBeNegative/ShortScenario.cs | https://github.com/ankurMalhotra/shouldly/blob/HEAD/src/Shouldly.Tests/ShouldBeNegative/ShortScenario.cs | ghcode:00010:13c216ee0f7b | bsd-3-clause | codeparrot/github-code | 13c216ee0f7b6ea0a21fb26477dcfceac614950d818d3d495638e66e54390e89 | 0.6 | testing_debugging_repair_refactoring | 144 | false | 2026-07-17 |
using Tester;
using TestExtensions;
using Xunit;
namespace UnitTests
{
// Assembly collections must be defined once in each assembly
[CollectionDefinition("DefaultCluster")]
public class DefaultClusterTestCollection : ICollectionFixture<DefaultClusterFixture> { }
}
| shayhatsor/orleans | test/TesterInternal/CollectionFixtures.cs | https://github.com/shayhatsor/orleans/blob/HEAD/test/TesterInternal/CollectionFixtures.cs | ghcode:00010:c070c9072b88 | mit | codeparrot/github-code | c070c9072b88cb42c328cd925a5dd858b3779df6ab49a31b0e438074592ec348 | 0.75 | testing_debugging_repair_refactoring | 53 | false | 2026-07-17 |
// Copyright © 2011 - Present RealDimensions Software, LLC
//
// 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 ... | sideeffffect/choco | src/chocolatey.tests/infrastructure/cryptography/CrytpoHashProviderSpecs.cs | https://github.com/sideeffffect/choco/blob/HEAD/src/chocolatey.tests/infrastructure/cryptography/CrytpoHashProviderSpecs.cs | ghcode:00010:ebb8d98ab69e | apache-2.0 | codeparrot/github-code | ebb8d98ab69e047ed403b465445d9e917a86ee43bafecf834885ad1f511596a8 | 0.7 | testing_debugging_repair_refactoring | 777 | 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.Text.CaseFolding;
using System.Text.CaseFolding.Tests;
using Xunit;
namespace System.Tex... | ericstj/corefxlab | tests/System.Text.CaseFolding.Tests/Unicode/TestUnicodeSimpleCaseFoldingFoldChar.cs | https://github.com/ericstj/corefxlab/blob/HEAD/tests/System.Text.CaseFolding.Tests/Unicode/TestUnicodeSimpleCaseFoldingFoldChar.cs | ghcode:00010:24d0b6be5e24 | mit | codeparrot/github-code | 24d0b6be5e2431ac7554974b2527c5e3be3af04bced43689c62523fa8b9de9a1 | 0.85 | testing_debugging_repair_refactoring | 320 | false | 2026-07-17 |
using System.Linq;
using Autofac;
using Microsoft.ServiceBus.Messaging;
using Nimbus.Configuration;
using Nimbus.Configuration.Settings;
using Nimbus.DependencyResolution;
using Nimbus.Infrastructure;
using Nimbus.Infrastructure.Dispatching;
using Nimbus.Infrastructure.PropertyInjection;
using Nimbus.Interceptors.Outb... | stevescc/Nimbus | src/Tests/Nimbus.UnitTests/InterceptorTests/WhenRegisteringInterceptorsWithAutofac.cs | https://github.com/stevescc/Nimbus/blob/HEAD/src/Tests/Nimbus.UnitTests/InterceptorTests/WhenRegisteringInterceptorsWithAutofac.cs | ghcode:00010:2a4be77edc90 | mit | codeparrot/github-code | 2a4be77edc90e440d09ba3011b8bf021e8502f5cbde61f254372c3019a8d4e7d | 0.85 | testing_debugging_repair_refactoring | 328 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | ClogenyTechnologies/azure-powershell | src/StackAdmin/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineBootDiagnosticsTests.cs | https://github.com/ClogenyTechnologies/azure-powershell/blob/HEAD/src/StackAdmin/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineBootDiagnosticsTests.cs | ghcode:00010:7bc7991674cb | apache-2.0 | codeparrot/github-code | 7bc7991674cb8339b18a360060e599f0add3456fd1c381e34678258a32acfe72 | 0.85 | testing_debugging_repair_refactoring | 462 | false | 2026-07-17 |
using System.Threading;
using Akka.Actor;
using NBench;
namespace Akka.Tests.Performance.Actor
{
public class ReceiveActorThroughputSpec : ActorThroughputSpecBase
{
private class BenchmarkActor : ReceiveActor
{
private readonly Counter _counter;
private readonly long _ma... | thelegendofando/akka.net | src/core/Akka.Tests.Performance/Actor/ReceiveActorThroughputSpec.cs | https://github.com/thelegendofando/akka.net/blob/HEAD/src/core/Akka.Tests.Performance/Actor/ReceiveActorThroughputSpec.cs | ghcode:00010:5d0a597db29a | apache-2.0 | codeparrot/github-code | 5d0a597db29a1f8a400b5eea89054d2818b38e3b41442e836a240d7b2065c1a9 | 0.75 | testing_debugging_repair_refactoring | 224 | false | 2026-07-17 |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using Microsoft.DotNet.Tools.Test.Utilities;
using Xunit;
using Microsoft.DotNet.TestFramework;
namespace Microsoft.DotNet.Too... | JohnChen0/cli | test/dotnet-publish.Tests/PublishStandaloneTests.cs | https://github.com/JohnChen0/cli/blob/HEAD/test/dotnet-publish.Tests/PublishStandaloneTests.cs | ghcode:00010:fd6bb868348f | mit | codeparrot/github-code | fd6bb868348f3ffea1549634a36f847bd0c31140feedcc15ddf2c613779111ba | 0.85 | testing_debugging_repair_refactoring | 423 | 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/tests/Syntax/InvalidCodeTests.cs | https://github.com/jadarnel27/nunit/blob/HEAD/src/NUnitFramework/tests/Syntax/InvalidCodeTests.cs | ghcode:00010:7c81a91f4845 | mit | codeparrot/github-code | 7c81a91f484581b84744c9d7dbe732785981ace3a9916ea373bf22e926193027 | 0.95 | testing_debugging_repair_refactoring | 713 | 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.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
... | CyrusNajmabadi/roslyn | src/Compilers/CSharp/Portable/Binder/UsingStatementBinder.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/UsingStatementBinder.cs | ghcode:00010:6da9e2f9d376 | mit | codeparrot/github-code | 6da9e2f9d376ecd56374fba8d29e663f383d1ac5d7c530af561bcd37e8bcb121 | 0.85 | testing_debugging_repair_refactoring | 2,596 | false | 2026-07-17 |
#region License
/*
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... | yonglehou/spring-net | test/Spring/Spring.Services.Tests/WindowsService/Common/ApplicationHostTest.cs | https://github.com/yonglehou/spring-net/blob/HEAD/test/Spring/Spring.Services.Tests/WindowsService/Common/ApplicationHostTest.cs | ghcode:00010:12ae9141c22b | apache-2.0 | codeparrot/github-code | 12ae9141c22b0c2dc2f64602bbb885b2a00ff116175c892dc335b18c4850fbdf | 0.75 | testing_debugging_repair_refactoring | 494 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2017 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 restr... | jadarnel27/nunit | src/NUnitFramework/tests/TestUtilities/Comparers/ObjectToStringComparer.cs | https://github.com/jadarnel27/nunit/blob/HEAD/src/NUnitFramework/tests/TestUtilities/Comparers/ObjectToStringComparer.cs | ghcode:00010:6897ec9ca8a3 | mit | codeparrot/github-code | 6897ec9ca8a37efc387449adcb725ad2f2c20674d7f776502506a3af6c2331c7 | 0.95 | testing_debugging_repair_refactoring | 541 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.Core.Tests
{
[ClientTestFixture(
serviceVersions: default,
additionalParameters: new object[] { someParam1, someParam2 })... | ayeletshpigelman/azure-sdk-for-net | sdk/core/Azure.Core/tests/ClientTestBaseNoVersionsWithArgsTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/core/Azure.Core/tests/ClientTestBaseNoVersionsWithArgsTests.cs | ghcode:00010:dda9f630712b | mit | codeparrot/github-code | dda9f630712be60fdf31e98cef54a88f1e654fda044561bcea883e291369358b | 0.85 | testing_debugging_repair_refactoring | 237 | false | 2026-07-17 |
using NUnit.Framework;
using RefactoringEssentials.CSharp.Diagnostics;
namespace RefactoringEssentials.Tests.CSharp.Diagnostics
{
[TestFixture]
[Ignore("TODO: Issue not ported yet")]
public class RedundantOverriddenMemberTests : CSharpDiagnosticTestBase
{
[Test]
public void TestInspecto... | vcsjones/RefactoringEssentials | Tests/CSharp/Diagnostics/RedundantOverriddenMemberTests.cs | https://github.com/vcsjones/RefactoringEssentials/blob/HEAD/Tests/CSharp/Diagnostics/RedundantOverriddenMemberTests.cs | ghcode:00010:ae35b8f36f25 | mit | codeparrot/github-code | ae35b8f36f25f6afc5e5b32ec7555a550e6dc4f5418c10e799fb7eec440fced2 | 0.75 | testing_debugging_repair_refactoring | 1,635 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | AzureAutomationTeam/azure-powershell | src/ResourceManager/AzureBatch/Commands.Batch.Test/Utils/BatchAadTokenProviderTests.cs | https://github.com/AzureAutomationTeam/azure-powershell/blob/HEAD/src/ResourceManager/AzureBatch/Commands.Batch.Test/Utils/BatchAadTokenProviderTests.cs | ghcode:00010:4e29a5a58770 | apache-2.0 | codeparrot/github-code | 4e29a5a5877003182d07229376397d145c4090a7f1bfb778e17cbaae90eb9ec7 | 0.85 | testing_debugging_repair_refactoring | 426 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.