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 BitPaySDK;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BitPaySDK.Exceptions;
using BitPaySDK.Models;
using BitPaySDK.Models.Bill;
using BitPaySDK.Models.Invoice;
using BitPaySDK.Model... | bitpay/csharp-bitpay-client | BitPayUnitTest/BitPayTest.cs | https://github.com/bitpay/csharp-bitpay-client/blob/HEAD/BitPayUnitTest/BitPayTest.cs | ghcode:00166:e0ecdf4e73dc | mit | codeparrot/github-code | e0ecdf4e73dc10ca0a0c46227912a33da279f40fefad9ae596468fb373f990ae | 0.7 | testing_debugging_repair_refactoring | 8,127 | false | 2026-07-17 |
using Shouldly;
using Xunit;
namespace Maestro.Tests.Context
{
public class context_can_get_tests
{
[Fact]
public void should_return_true_if_type_is_registered()
{
var container = new Container(x =>
{
x.Add<A>().Type<A>();
x.Add<B>().Instance(new B());
... | JonasSamuelsson/Maestro | src/Maestro/test/Context/context_can_get_tests.cs | https://github.com/JonasSamuelsson/Maestro/blob/HEAD/src/Maestro/test/Context/context_can_get_tests.cs | ghcode:00166:cc0540fff4b3 | mit | codeparrot/github-code | cc0540fff4b3f86ba3de70b731a93575aa10448d4ca998d7858e8bd345477c1a | 0.85 | testing_debugging_repair_refactoring | 296 | false | 2026-07-17 |
using JetBrains.ReSharper.Psi.CSharp.Tree;
using MockMetrics.Eating.Expression;
using MockMetrics.Eating.Statement;
using Moq;
using NUnit.Framework;
namespace MockMetrics.Eating.Tests.Statement
{
[TestFixture]
public class SwitchLabelStatementEaterTests
{
[Test]
public void EatValueExpres... | KozhevnikovDmitry/MockMetrics | MockMetrics/MockMetrics.Eating.Tests/Statement/SwitchLabelStatementEaterTests.cs | https://github.com/KozhevnikovDmitry/MockMetrics/blob/HEAD/MockMetrics/MockMetrics.Eating.Tests/Statement/SwitchLabelStatementEaterTests.cs | ghcode:00166:44d38a4003a1 | mit | codeparrot/github-code | 44d38a4003a1b0b0e2d41c831b29ec3ae85e079fed07456205023b93493690bc | 0.85 | testing_debugging_repair_refactoring | 334 | false | 2026-07-17 |
namespace PeregrineDb.Tests.Databases
{
using PeregrineDb.Tests.ExampleEntities;
using PeregrineDb.Tests.SharedTypes;
using PeregrineDb.Tests.Utils;
using Xunit;
public abstract partial class DefaultDatabaseConnectionStatementsTests
{
public class QueryFirstOrDefault
: Defa... | berkeleybross/Dapper.MicroCRUD | tests/PeregrineDb.Tests/Databases/DefaultSqlConnection.StatementsTests.QueryFirstOrDefault.cs | https://github.com/berkeleybross/Dapper.MicroCRUD/blob/HEAD/tests/PeregrineDb.Tests/Databases/DefaultSqlConnection.StatementsTests.QueryFirstOrDefault.cs | ghcode:00166:fed6f5ff3cf6 | mit | codeparrot/github-code | fed6f5ff3cf62d956b201bbf94f2cb084e405eff7139dc8056b91114b4ae2188 | 0.75 | testing_debugging_repair_refactoring | 248 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Elasticsearch.Net.Integration.Yaml.Update11
{
public partial class Update11YamlTests
{
[NCrunch.Framework.ExclusivelyUses("E... | amitstefen/elasticsearch-net | src/Tests/Elasticsearch.Net.Integration.Yaml/update/60_refresh.yaml.cs | https://github.com/amitstefen/elasticsearch-net/blob/HEAD/src/Tests/Elasticsearch.Net.Integration.Yaml/update/60_refresh.yaml.cs | ghcode:00166:b4c3ff543727 | mit | codeparrot/github-code | b4c3ff543727f58418bbcd60f5669f11a6a5d5986d5c41f3a952404c4a93ace3 | 0.95 | testing_debugging_repair_refactoring | 512 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All Rights Reserved.
// Licensed under the MIT License.
using Microsoft.AspNetCore.Datasync.Extensions;
using Microsoft.AspNetCore.Datasync.InMemory;
using Microsoft.AspNetCore.JsonPatch;
using Microsoft.AspNetCore.JsonPatch.Operations;
using System;
using System.Collections.Ge... | Azure/azure-mobile-apps | sdk/dotnet/test/Microsoft.AspNetCore.Datasync.Test/Extensions/JsonPatchDocument.Test.cs | https://github.com/Azure/azure-mobile-apps/blob/HEAD/sdk/dotnet/test/Microsoft.AspNetCore.Datasync.Test/Extensions/JsonPatchDocument.Test.cs | ghcode:00166:0aa009247d3b | mit | codeparrot/github-code | 0aa009247d3b0c0ccbd87aa45749a145fcdf9d7187e03c2d17474b471a171bff | 0.95 | testing_debugging_repair_refactoring | 590 | false | 2026-07-17 |
using EngineLayer;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Test
{
internal static class QuantificationTest
{
[Test]
public static void WriteExperimentalDesignTest()
{
string outp... | rmillikin/MetaMorpheus | Test/QuantificationTest.cs | https://github.com/rmillikin/MetaMorpheus/blob/HEAD/Test/QuantificationTest.cs | ghcode:00166:3446beb7f2b7 | mit | codeparrot/github-code | 3446beb7f2b75df5000854a20e0473937b34cfac363da0ac5eb8d6616283bc27 | 0.85 | testing_debugging_repair_refactoring | 1,531 | false | 2026-07-17 |
using System;
using DotNetBuild.Core;
using DotNetBuild.Runner;
using DotNetBuild.Runner.Infrastructure.Reflection;
using Moq;
using Xunit;
namespace DotNetBuild.Tests.Runner.BuildRunnerTests
{
public class Run_with_no_configuration
: TestSpecification<BuildRunner>
{
private String _assemblyNa... | stevenlauwers22/DotNetBuild | DotNetBuild.Tests/Runner/BuildRunnerTests/Run_with_no_configuration.cs | https://github.com/stevenlauwers22/DotNetBuild/blob/HEAD/DotNetBuild.Tests/Runner/BuildRunnerTests/Run_with_no_configuration.cs | ghcode:00166:ba46750eead5 | mit | codeparrot/github-code | ba46750eead51082fa53a96d2524338616b71ff492ae4b015a94dc9db476f83b | 0.75 | testing_debugging_repair_refactoring | 598 | false | 2026-07-17 |
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using CocosSharp;
namespace tests
{
public class AppDelegate : CCApplicationDelegate
{
static CCWindow sharedWindow;
static CCViewport sharedViewport;
static CCCamera sharedCamera;
public sta... | netonjm/CocosSharp | tests/tests/classes/AppDelegate.cs | https://github.com/netonjm/CocosSharp/blob/HEAD/tests/tests/classes/AppDelegate.cs | ghcode:00166:26ce7ba99018 | mit | codeparrot/github-code | 26ce7ba99018489f396c6755f58337aceef7574ed25de2494e316c33a90e54b7 | 0.95 | testing_debugging_repair_refactoring | 841 | false | 2026-07-17 |
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Framework.Tests.CustomerServices;
using static Framework.Tests.CustomerServices.GetCustomersByCivilStatusQuery.Criteria;
namespace Framework.Tests
{
[TestClass]
public class QueryObjectTests
{
[TestInitiali... | evelasco85/PoEAA | DotNet/CSharp/Framework.Tests/QueryObjectTests.cs | https://github.com/evelasco85/PoEAA/blob/HEAD/DotNet/CSharp/Framework.Tests/QueryObjectTests.cs | ghcode:00166:def867590c71 | mit | codeparrot/github-code | def867590c7157acdb55b2f4fa5b89d3db0468b59479c571707a6f23a2ca8a86 | 0.75 | testing_debugging_repair_refactoring | 283 | false | 2026-07-17 |
using LinqToTwitter.OAuth;
using LinqToTwitter.Provider;
using LinqToTwitter.Tests.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace LinqToTwitter.... | JoeMayo/LinqToTwitter | src/LinqToTwitter6/LinqToTwitter.Tests/FriendshipTests/FriendshipCommandsTests.cs | https://github.com/JoeMayo/LinqToTwitter/blob/HEAD/src/LinqToTwitter6/LinqToTwitter.Tests/FriendshipTests/FriendshipCommandsTests.cs | ghcode:00166:99f2b4a8865e | mit | codeparrot/github-code | 99f2b4a8865e061823977fb858ca97f33f94bfb50265d0dbe213af4539791cf5 | 0.75 | testing_debugging_repair_refactoring | 2,354 | false | 2026-07-17 |
using System.Linq;
using Xunit;
using static FChan.Library.Chan;
using static Xunit.Assert;
namespace FChan.Library.Test
{
public class ChanTest
{
[Fact]
public void GetAllThread()
{
var thread = Chan.GetThreadPage("a", 1);
NotNull(thread);
foreach... | gabrielgio/FChan.Library | FChan.Library.Test/ChanTest.cs | https://github.com/gabrielgio/FChan.Library/blob/HEAD/FChan.Library.Test/ChanTest.cs | ghcode:00166:3c67daf2504f | mit | codeparrot/github-code | 3c67daf2504fb690d8fb3a1cdee38214c310bd97a3f981cda037ab3ea9598a82 | 0.6 | testing_debugging_repair_refactoring | 469 | false | 2026-07-17 |
using DeepTransaction.DI;
namespace Transaction.Test.Tests
{
public class BaseTest
{
public BaseTest()
{
DeepBootstrapper.MapResolver(new DependecyResolver());
}
}
} | NerdsComputing/DeepTransaction | Transaction.Test/Tests/BaseTest.cs | https://github.com/NerdsComputing/DeepTransaction/blob/HEAD/Transaction.Test/Tests/BaseTest.cs | ghcode:00166:bb8232426223 | mit | codeparrot/github-code | bb8232426223c33c9404ae03a4a67b4060bbcc563c9cf9d502266bd1fc0dbfb6 | 0.85 | testing_debugging_repair_refactoring | 45 | false | 2026-07-17 |
using NUnit.Framework;
using Nest.Tests.MockData.Domain;
namespace Nest.Tests.Unit.Search.SearchOptions
{
[TestFixture]
public class SearchOptionTests : BaseJsonTests
{
[Test]
public void TestFromSize()
{
var s = new SearchDescriptor<ElasticsearchProject>()
.From(0)
.Size(10);
var json = TestEl... | amitstefen/elasticsearch-net | src/Tests/Nest.Tests.Unit/Search/SearchOptions/SearchOptionTests.cs | https://github.com/amitstefen/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Unit/Search/SearchOptions/SearchOptionTests.cs | ghcode:00166:33fe21175d8d | mit | codeparrot/github-code | 33fe21175d8de5359831b9287fa106dd9740350ee1af4a1c2bdf98c0b49d770e | 0.85 | testing_debugging_repair_refactoring | 1,985 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using System.Reflection;
using WhenItsDone.MVP.AdminPageControls.APWorkerDetailsControlMVP;
using WhenItsDone.Services.Contracts;
using WhenItsDone.Services.Factories;
namespace WhenItsDone.MVP.Tests.AdminPageControlsTests.APWorkerDetailsControlMVP.APWorkerDetailsPresenterTests
{
... | army-of-two/when-its-done | WhenItsDone/Tests/LibTests/WhenItsDone.MVP.Tests/AdminPageControlsTests/APWorkerDetailsControlMVP/APWorkerDetailsPresenterTests/Constructor_Should.cs | https://github.com/army-of-two/when-its-done/blob/HEAD/WhenItsDone/Tests/LibTests/WhenItsDone.MVP.Tests/AdminPageControlsTests/APWorkerDetailsControlMVP/APWorkerDetailsPresenterTests/Constructor_Should.cs | ghcode:00166:4d808cadf14e | mit | codeparrot/github-code | 4d808cadf14effc45cdc601705c78d64ab46657dca415a341cfd84a496716a56 | 0.85 | testing_debugging_repair_refactoring | 394 | false | 2026-07-17 |
using dg.interfaces;
using dg.objects;
using dg.utilities.Providers;
using FakeItEasy;
using NUnit.Framework;
using System.Collections.Generic;
namespace dg.utilities.tests.Extensions
{
[TestFixture]
public class ConstStringProviderTests
{
[Test]
public void Create()
{
... | Udgin/datagenerator | dg.utilities.tests/Providers/ConstStringProviderTests.cs | https://github.com/Udgin/datagenerator/blob/HEAD/dg.utilities.tests/Providers/ConstStringProviderTests.cs | ghcode:00166:4523032512ae | mit | codeparrot/github-code | 4523032512ae22fcf6cac5f27fe2531e908e169b63563f2ded9ac01e922ba380 | 0.75 | testing_debugging_repair_refactoring | 213 | false | 2026-07-17 |
using System;
using FluentAssertions;
using Microsoft.AspNet.Identity;
using NUnit.Framework;
using System.Threading.Tasks;
namespace AspNet.Identity.Cassandra.IntegrationTests
{
/// <summary>
/// Tests storage/confirmation of phone numbers.
/// </summary>
[TestFixture]
public class PhoneNumberSto... | Collabco/AspNet.Identity.Cassandra | test/AspNet.Identity.Cassandra.IntegrationTests/PhoneNumberStoreTests.cs | https://github.com/Collabco/AspNet.Identity.Cassandra/blob/HEAD/test/AspNet.Identity.Cassandra.IntegrationTests/PhoneNumberStoreTests.cs | ghcode:00166:2807842d7f63 | mit | codeparrot/github-code | 2807842d7f63b188c2e2627690503c736fc478e39b0db12789b51b997884db79 | 0.85 | testing_debugging_repair_refactoring | 457 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using vtortola.Redis;
using System.IO;
using UnitTests.Common;
using System.Collections.Generic;
namespace UnitTest.RedisClient.Connection
{
[TestClass]
public class ProcedureInitializerTests
{
private SocketReader GetReader(Stream ... | vtortola/RedisClient | Tests/UnitTest.RedisClient/Procedures/ProcedureInitializerTests.cs | https://github.com/vtortola/RedisClient/blob/HEAD/Tests/UnitTest.RedisClient/Procedures/ProcedureInitializerTests.cs | ghcode:00166:3d7432f46d3b | mit | codeparrot/github-code | 3d7432f46d3ba4ac6452a2bba94557ad988f82ff5a5ffe5cb4b16fe613418a4a | 0.75 | testing_debugging_repair_refactoring | 707 | 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 Microsoft.Azure.Management.CosmosDB;
using Microsoft.Azure.Management.CosmosDB.Models;
using Microsoft.Azure.Management.Resources;
using Microsoft.Rest.Cli... | ayeletshpigelman/azure-sdk-for-net | sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/RestoreDatabaseAccountOperationTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/RestoreDatabaseAccountOperationTests.cs | ghcode:00166:25a1ba38b00d | mit | codeparrot/github-code | 25a1ba38b00dac640ee96f296762b31e6f2168d5b7c1d8e2d4c953635f2fded8 | 0.95 | testing_debugging_repair_refactoring | 1,347 | false | 2026-07-17 |
namespace Swan.Test.JsonClientTest
{
using NUnit.Framework;
using Swan.Net;
using Swan.Test.Mocks;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security;
using System.Threading.Tasks;
public abstract class JsonClientTest
{
protected co... | unosquare/swan | test/Swan.Test/JsonClientTest.cs | https://github.com/unosquare/swan/blob/HEAD/test/Swan.Test/JsonClientTest.cs | ghcode:00166:d8d8aee824c8 | mit | codeparrot/github-code | d8d8aee824c8bcd9f59a5a88a39ae7d953620a894a207b16bc5d65d981a18637 | 0.6 | testing_debugging_repair_refactoring | 1,570 | false | 2026-07-17 |
using System;
using Mofichan.Behaviour.Base;
using Mofichan.Core;
using Mofichan.Core.Visitor;
using Mofichan.Tests.TestUtility;
using Moq;
using Shouldly;
using Xunit;
using static Mofichan.Tests.TestUtility.MessageUtil;
namespace Mofichan.Tests.Behaviour
{
public class BehaviourTests
{
private class... | TAGC/Mofichan | test/Mofichan.Tests/Behaviour/BehaviourTests.cs | https://github.com/TAGC/Mofichan/blob/HEAD/test/Mofichan.Tests/Behaviour/BehaviourTests.cs | ghcode:00166:61a162e2fbae | mit | codeparrot/github-code | 61a162e2fbae6ef838d150c707a19db607901f90f823c0ac580f9ef8e9fb1615 | 0.85 | testing_debugging_repair_refactoring | 610 | false | 2026-07-17 |
using System;
using Xunit;
namespace TCEPR.Mvc.Grid.Tests.Unit
{
public class DecimalFilterTests
{
#region Method: GetNumericValue()
[Fact]
public void GetNumericValue_ParsesValue()
{
DecimalFilter filter = new DecimalFilter();
filter.Value = "792281625... | iceoz/MVC5.Grid | test/Mvc.Grid.Tests/Unit/Core/Filtering/Number/DecimalFilterTests.cs | https://github.com/iceoz/MVC5.Grid/blob/HEAD/test/Mvc.Grid.Tests/Unit/Core/Filtering/Number/DecimalFilterTests.cs | ghcode:00166:1795c4aadc5a | mit | codeparrot/github-code | 1795c4aadc5a033327a6acd40aeba8e58258ae50d9ae27a11f690d6fd088b12b | 0.75 | testing_debugging_repair_refactoring | 229 | false | 2026-07-17 |
namespace DW.ELA.UnitTests.INARA
{
using DW.ELA.Controller;
using DW.ELA.Interfaces;
using DW.ELA.Plugin.Inara;
using DW.ELA.Plugin.Inara.Model;
using NUnit.Framework;
[TestFixture]
[Parallelizable]
public class InaraEventConverterTests
{
private readonly IPlayerStateHistor... | DarkWanderer/DW.Inara.LogUploader | DW.ELA.UnitTests/INARA/InaraEventConverterTests.cs | https://github.com/DarkWanderer/DW.Inara.LogUploader/blob/HEAD/DW.ELA.UnitTests/INARA/InaraEventConverterTests.cs | ghcode:00166:51829e20b4a0 | mit | codeparrot/github-code | 51829e20b4a04580ffbfa0599aacbc039c335c9fde3b65ec47ec7d8b48ce82d5 | 0.75 | testing_debugging_repair_refactoring | 201 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
namespace Mixpanel.Tests.MixpanelClient.People
{
// Message example:
// {
// "$token": "36ada5b10da39a1347559321baf13063",
// "$distinct_id": "137... | eealeivan/mixpanel-csharp | src/Mixpanel/Mixpanel.Tests/MixpanelClient/People/MixpanelClientPeopleDeleteTests.cs | https://github.com/eealeivan/mixpanel-csharp/blob/HEAD/src/Mixpanel/Mixpanel.Tests/MixpanelClient/People/MixpanelClientPeopleDeleteTests.cs | ghcode:00166:7761097c0dce | mit | codeparrot/github-code | 7761097c0dce151fe3cc11a67dc8642a2dd5eb17d3c4cccae3983b67562530a2 | 0.85 | testing_debugging_repair_refactoring | 906 | false | 2026-07-17 |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | Squidex/squidex | backend/tests/Squidex.Domain.Apps.Core.Tests/Model/Apps/RolesJsonTests.cs | https://github.com/Squidex/squidex/blob/HEAD/backend/tests/Squidex.Domain.Apps.Core.Tests/Model/Apps/RolesJsonTests.cs | ghcode:00166:8aa15303c2e8 | mit | codeparrot/github-code | 8aa15303c2e868c127e672703353686dfa98927a9af50f9c76aed9a09dc50ca9 | 0.95 | testing_debugging_repair_refactoring | 364 | false | 2026-07-17 |
/*
* Component: Enemies - Test Enemy
* Version: 1.0.4
* Created: March 6th, 2014
* Created By: Christian
* Last Updated: May 1st, 2014
* Last Updated By: Christian
*/
using BH_STG.BarrageEngine.Characters;
using Microsoft.Xna.Framework;
namespace BH_STG.Characters.Enemies
{
class TestEnemy : Enemy
{
... | vonderborch/CS323 | BH-STG/Characters/Enemies/TestEnemy.cs | https://github.com/vonderborch/CS323/blob/HEAD/BH-STG/Characters/Enemies/TestEnemy.cs | ghcode:00166:b5200d7c5436 | mit | codeparrot/github-code | b5200d7c5436ac8f22e05e3e94f91aeba74cdc3a4d6a5bc9a4f5c5204192e99f | 0.75 | testing_debugging_repair_refactoring | 253 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | Jay-Jay-D/LeanSTP | Tests/Common/Securities/SecurityMarginModelTests.cs | https://github.com/Jay-Jay-D/LeanSTP/blob/HEAD/Tests/Common/Securities/SecurityMarginModelTests.cs | ghcode:00166:3cec2bf286b3 | apache-2.0 | codeparrot/github-code | 3cec2bf286b357b5ef720286c7b30789fa3273374f072d852a57a4fb6579b5d3 | 0.85 | testing_debugging_repair_refactoring | 7,431 | false | 2026-07-17 |
using Lucene.Net.Index;
using Lucene.Net.Util.Fst;
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Lucene.Net.Codecs.Memory
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed wit... | laimis/lucenenet | src/Lucene.Net.Codecs/Memory/MemoryPostingsFormat.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Codecs/Memory/MemoryPostingsFormat.cs | ghcode:00166:5894ebb693f0 | apache-2.0 | codeparrot/github-code | 5894ebb693f09938f72173f26f595bc0e9d7b76bb891b3c1fa94e7329073b702 | 0.85 | testing_debugging_repair_refactoring | 7,701 | false | 2026-07-17 |
// <copyright file="ParallelExample.cs" company="Basho Technologies, Inc.">
// Copyright 2011 - OJ Reeves & Jeremiah Peschka
// Copyright 2014 - Basho Technologies, Inc.
//
// This file is provided to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file
// except in compliance with th... | basho/riak-dotnet-client | src/RiakClientTests.Live/ParallelExample.cs | https://github.com/basho/riak-dotnet-client/blob/HEAD/src/RiakClientTests.Live/ParallelExample.cs | ghcode:00166:f5ccc6d38de6 | apache-2.0 | codeparrot/github-code | f5ccc6d38de6ebd95358b25cd947003917ae5eec3c8e70884a822fe3ae84fdb2 | 0.85 | testing_debugging_repair_refactoring | 1,133 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis... | DustinCampbell/roslyn | src/Compilers/CSharp/Portable/Binder/ForEachLoopBinder.cs | https://github.com/DustinCampbell/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/ForEachLoopBinder.cs | ghcode:00166:5b77f2d81adc | apache-2.0 | codeparrot/github-code | 5b77f2d81adcd0cc1c0d7462c246399d2ecd2f9f53e15ec30e1ba9436514521b | 0.72 | testing_debugging_repair_refactoring | 12,078 | false | 2026-07-17 |
using System;
using NDatabase.Tool.Wrappers;
using NUnit.Framework;
using Test.NDatabase.Odb.Test.VO.Attribute;
namespace Test.NDatabase.Odb.Test.Query.Criteria
{
[TestFixture]
public class TestCriteriaQuery2 : ODBTest
{
public void SetUp(string BaseName)
{
base.SetU... | WaltChen/NDatabase | tests/NDatabase.Old.UnitTests/NDatabase/Odb/Test/Query/Criteria/TestCriteriaQuery2.cs | https://github.com/WaltChen/NDatabase/blob/HEAD/tests/NDatabase.Old.UnitTests/NDatabase/Odb/Test/Query/Criteria/TestCriteriaQuery2.cs | ghcode:00166:1079c0c9adb0 | apache-2.0 | codeparrot/github-code | 1079c0c9adb0a80c7185674ff1f8eedcac5a4df05620d2c01640cb8acec03716 | 0.85 | testing_debugging_repair_refactoring | 1,255 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PclUnit.Style.Xunit;
namespace XunitTests
{
public class Basic:TestClass
{
[Fact]
public void TestTrue_Success()
{
Log.Write("This is just a hardcoded true");
Assert.Tru... | jbtule/PclUnit | WhoTestsTheTesters/Tests/Style/XunitTests/Basic.cs | https://github.com/jbtule/PclUnit/blob/HEAD/WhoTestsTheTesters/Tests/Style/XunitTests/Basic.cs | ghcode:00166:f981ddeb789d | apache-2.0 | codeparrot/github-code | f981ddeb789dc4b1544e631f7fdff488a4dabeea2ac9a37a107ffcadbe5b586e | 0.85 | testing_debugging_repair_refactoring | 320 | false | 2026-07-17 |
#region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2015 Jonathan Skeet. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | ddpruitt/morelinq | MoreLinq.Test/FullGroupJoinTest.cs | https://github.com/ddpruitt/morelinq/blob/HEAD/MoreLinq.Test/FullGroupJoinTest.cs | ghcode:00166:f4ddc0a140be | apache-2.0 | codeparrot/github-code | f4ddc0a140be11750c9186ba58fad9adb851d8a98e05fa161e24df7f6ee28657 | 0.7 | testing_debugging_repair_refactoring | 1,122 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: alipay.pcredit.huabei.promo.query
/// </summary>
public class AlipayPcreditHuabeiPromoQueryRequest : IAopRequest<AlipayPcreditHuabeiPromoQueryResponse>
{
/// <summa... | oceanho/AnyPayment | docs/alipay-sdk-NET-20151130120112/Request/AlipayPcreditHuabeiPromoQueryRequest.cs | https://github.com/oceanho/AnyPayment/blob/HEAD/docs/alipay-sdk-NET-20151130120112/Request/AlipayPcreditHuabeiPromoQueryRequest.cs | ghcode:00166:dc757177ab25 | apache-2.0 | codeparrot/github-code | dc757177ab251040840c3d3931675913a9f31ed7a283587b8bffb1a0073899f0 | 0.85 | testing_debugging_repair_refactoring | 405 | false | 2026-07-17 |
using FakeItEasy;
using NUnit.Framework;
namespace TeamCityZen.Tests
{
[TestFixture]
public class EmailSenderTests
{
[Test]
public void Test()
{
var emailSettings = CreateQsBorisEmailEmailSettings();
var emailSender = new EmailSender(emailSettings);
... | borismod/TeamCityZen | src/TeamCityZen.Tests/EmailSenderTests.cs | https://github.com/borismod/TeamCityZen/blob/HEAD/src/TeamCityZen.Tests/EmailSenderTests.cs | ghcode:00166:921e78ce8d42 | apache-2.0 | codeparrot/github-code | 921e78ce8d429a2833347b9d095227c78c533f128021c4ea7043c123c6cace2e | 0.75 | testing_debugging_repair_refactoring | 669 | false | 2026-07-17 |
using System;
using HivePeople.FluentAssertionsEx;
using NSubstitute;
using FluentAssertions;
using NUnit.Framework;
using NSubstitute.Exceptions;
using System.Threading.Tasks;
using NSubstitute.Core;
using HivePeople.FluentAssertionsEx.NSubstitute.Query;
using HivePeople.FluentAssertionsEx.Extensions;
namespace Flue... | hivepeople/FluentAssertionsEx | FluentAssertionsEx.UnitTest/NSubstitute/FluentTest.cs | https://github.com/hivepeople/FluentAssertionsEx/blob/HEAD/FluentAssertionsEx.UnitTest/NSubstitute/FluentTest.cs | ghcode:00166:25c5ed93c1c5 | apache-2.0 | codeparrot/github-code | 25c5ed93c1c53001e732c3249d4149d6fd2b63b1cac5eaecddf2dcf6801e4fd5 | 0.7 | testing_debugging_repair_refactoring | 2,005 | false | 2026-07-17 |
using System;
using System.Linq;
using Autofac;
using Autofac.Core;
using Moq;
using Serilog;
using Xunit;
namespace AutofacSerilogIntegration.Tests
{
public class ActivatorTests
{
private readonly Mock<ILogger> _logger;
public ActivatorTests()
{
_logger = new Mock<ILogger... | nblumhardt/autofac-serilog-integration | test/AutofacSerilogIntegration.Tests/ActivatorTests.cs | https://github.com/nblumhardt/autofac-serilog-integration/blob/HEAD/test/AutofacSerilogIntegration.Tests/ActivatorTests.cs | ghcode:00166:64cad2d46fa8 | apache-2.0 | codeparrot/github-code | 64cad2d46fa8e8a086a6fa157a6348bc512de4c0dd535b365f586b666d48ea3c | 0.75 | testing_debugging_repair_refactoring | 806 | false | 2026-07-17 |
#region Licence
/*
* Copyright © 2002-2005 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
*
* Un... | MaferYangPointJun/Spring.net | examples/Spring/SpringAir/test/SpringAir.Core.Tests/Service/BookingAgentIntegrationTests.cs | https://github.com/MaferYangPointJun/Spring.net/blob/HEAD/examples/Spring/SpringAir/test/SpringAir.Core.Tests/Service/BookingAgentIntegrationTests.cs | ghcode:00166:b0c1045c8cc5 | apache-2.0 | codeparrot/github-code | b0c1045c8cc5c9bf2b7f8b6cada0f93efa9a0daee0762a0f050c964b19ec9601 | 0.95 | testing_debugging_repair_refactoring | 492 | false | 2026-07-17 |
// -----------------------------------------------------------------------------------------
// <copyright file="TableAnalyticsUnitTests.cs" company="Microsoft">
// Copyright 2012 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except i... | takekazuomi/azure-sdk-for-net | microsoft-azure-api/Services/Storage/Test/Unit/RT/Table/TableAnalyticsUnitTests.cs | https://github.com/takekazuomi/azure-sdk-for-net/blob/HEAD/microsoft-azure-api/Services/Storage/Test/Unit/RT/Table/TableAnalyticsUnitTests.cs | ghcode:00166:595c6a5d6830 | apache-2.0 | codeparrot/github-code | 595c6a5d6830140e50deb9ed89315bcf2a25bfbcfea1a14e36bf971095b9e673 | 0.95 | testing_debugging_repair_refactoring | 2,581 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TobascoV2Test
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
}
}
}
| VictordeBaare/Tobasco | TobascoV2Test/UnitTest1.cs | https://github.com/VictordeBaare/Tobasco/blob/HEAD/TobascoV2Test/UnitTest1.cs | ghcode:00166:17781d5e9356 | apache-2.0 | codeparrot/github-code | 17781d5e9356e783be2447963abb83588ec2bdef642b7cb4fe126cf43bafc5c0 | 0.6 | testing_debugging_repair_refactoring | 48 | false | 2026-07-17 |
using System.Collections.Generic;
using Backendless.Test;
using BackendlessAPI.Async;
using BackendlessAPI.Exception;
using BackendlessAPI.Property;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BackendlessAPI.Test.UserService.AsyncTests
{
[TestClass]
public class LoginTest : TestsFrame
... | cmsni/.NET-SDK | Backendless.Test/UserService/AsyncTests/LoginTest.cs | https://github.com/cmsni/.NET-SDK/blob/HEAD/Backendless.Test/UserService/AsyncTests/LoginTest.cs | ghcode:00166:d583222ac89f | apache-2.0 | codeparrot/github-code | d583222ac89f14e255845422a1826fb245450e8e6598d81e8e4d9ca3b20831a4 | 0.75 | testing_debugging_repair_refactoring | 1,540 | false | 2026-07-17 |
using DeftPack.TestAutomation.Selenium.PageObjects.Elements;
using DeftPack.TestAutomation.Selenium.PageObjects.UnitTests.Factories;
using Moq;
using NUnit.Framework;
namespace DeftPack.TestAutomation.Selenium.PageObjects.UnitTests
{
[TestFixture(typeof(Button))]
[TestFixture(typeof(CheckBox))]
[TestFixtu... | deftpack/testautomation | UnitTests/DeftPack.TestAutomation.Selenium.PageObjects.UnitTests/ElementFactoryElementTests.cs | https://github.com/deftpack/testautomation/blob/HEAD/UnitTests/DeftPack.TestAutomation.Selenium.PageObjects.UnitTests/ElementFactoryElementTests.cs | ghcode:00166:97561d14a43a | apache-2.0 | codeparrot/github-code | 97561d14a43aa638009398ba88a0f1b624361fc6eeae45d43fba35c4dd00b651 | 0.75 | testing_debugging_repair_refactoring | 222 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
namespace Roslyn.Utilities
{
public partial class EnumerableExtensions
{
public static ImmutableDictionary<K, V> ToImmutableDictionaryOrEmpty<K, V>(this IEnumerable<KeyValuePair<K, V>> it... | Ky7m/Roslyn.Utilities | src/Roslyn.Utilities/EnumerableExtensions.ToImmutable.cs | https://github.com/Ky7m/Roslyn.Utilities/blob/HEAD/src/Roslyn.Utilities/EnumerableExtensions.ToImmutable.cs | ghcode:00166:6a716f026bd7 | apache-2.0 | codeparrot/github-code | 6a716f026bd7f23c0671e80fa44fe31644aee8a0d4f4309833d4ef4596414fbd | 0.7 | testing_debugging_repair_refactoring | 665 | false | 2026-07-17 |
// -----------------------------------------------------------------------------------------
// <copyright file="CloudBlobDirectoryTest.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in... | erezvani1529/azure-storage-net | Test/WindowsRuntime/Blob/CloudBlobDirectoryTest.cs | https://github.com/erezvani1529/azure-storage-net/blob/HEAD/Test/WindowsRuntime/Blob/CloudBlobDirectoryTest.cs | ghcode:00166:498501585a6d | apache-2.0 | codeparrot/github-code | 498501585a6deb3d54ae15c2675d97561b284b69d90f0918c2e4126d5ed5ac85 | 0.85 | testing_debugging_repair_refactoring | 4,813 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy ... | aricooperman/jLean | orig-src/Tests/Common/Util/LeanDataTests.cs | https://github.com/aricooperman/jLean/blob/HEAD/orig-src/Tests/Common/Util/LeanDataTests.cs | ghcode:00166:557126f16e25 | apache-2.0 | codeparrot/github-code | 557126f16e2586908bf5bfd7488c248c6387b35fc4189c712cfc41730c0beb0d | 0.95 | testing_debugging_repair_refactoring | 5,461 | false | 2026-07-17 |
#region Copyright & License Information
// Copyright 2014 Saro Taşciyan, Bedir Yılmaz
//
// 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... | SaroTasciyan/LINQlone | LINQlone.Test/Tests/MinTests.cs | https://github.com/SaroTasciyan/LINQlone/blob/HEAD/LINQlone.Test/Tests/MinTests.cs | ghcode:00166:289a7cf6b34f | apache-2.0 | codeparrot/github-code | 289a7cf6b34fa115f3c6992fd2b961d02f01753e37ab31ffcc4aee433892df41 | 0.95 | testing_debugging_repair_refactoring | 4,752 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Wish.Commands.Tests
{
[TestFixture]
public class PartialPathTests
{
[Test]
public void BasePath()
{
var partialPath = new PartialPath(@"dir1\subd");
Assert.AreEqual(@"dir1\", partialPath.Base);
}
... | tltjr/Wish | Wish.Commands.Tests/PartialPathTests.cs | https://github.com/tltjr/Wish/blob/HEAD/Wish.Commands.Tests/PartialPathTests.cs | ghcode:00166:4cc14d491136 | bsd-2-clause | codeparrot/github-code | 4cc14d491136d3a546da47923c4fdcc333d4c47ca27eaeb7c20289d4347ddf74 | 0.68 | testing_debugging_repair_refactoring | 476 | false | 2026-07-17 |
using System;
using FluentScheduler.Model;
using Moq;
using NUnit.Framework;
using Should.Fluent;
namespace FluentScheduler.Tests.ScheduleTests
{
[TestFixture]
public class MonthsOnTheFourthTests
{
[Test]
public void Should_Default_To_00_00_If_At_Is_Not_Defined()
{
var task = new Mock<ITask>();
var sche... | Thanood/FluentScheduler | FluentScheduler.Tests/ScheduleTests/MonthsOnTheFourthTests.cs | https://github.com/Thanood/FluentScheduler/blob/HEAD/FluentScheduler.Tests/ScheduleTests/MonthsOnTheFourthTests.cs | ghcode:00166:96c89130f01d | bsd-3-clause | codeparrot/github-code | 96c89130f01dbf306cecec8ba92ca25f2e0a17a9bbc1c339cb201594ccd901f9 | 0.75 | testing_debugging_repair_refactoring | 1,358 | false | 2026-07-17 |
using System;
using System.Collections.Specialized;
using Castle.Core;
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using Rhino.Queues;
using Rhino.ServiceBus.Impl;
using Rhino.ServiceBus.Internal;
using Rhino.ServiceBus.RhinoQueues;
using Xunit;
namespace Rhino.ServiceBus.Tests.RhinoQueues
{
publi... | ayende/rhino-esb | Rhino.ServiceBus.Tests/RhinoQueues/CustomizingMessageConstruction.cs | https://github.com/ayende/rhino-esb/blob/HEAD/Rhino.ServiceBus.Tests/RhinoQueues/CustomizingMessageConstruction.cs | ghcode:00166:6dd1b4b2a9b8 | bsd-3-clause | codeparrot/github-code | 6dd1b4b2a9b8c6db6aa484492384c9e6ea3e26b0df4af7c93e3e7c35def0e478 | 0.75 | testing_debugging_repair_refactoring | 583 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.ResourceManager.Compute.Models;
using Azure.ResourceManager.Resources;
using Azur... | brjohnstmsft/azure-sdk-for-net | sdk/compute/Azure.ResourceManager.Compute/tests/ScenarioTests/OSProfileTests.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/compute/Azure.ResourceManager.Compute/tests/ScenarioTests/OSProfileTests.cs | ghcode:00166:d44be0b16c25 | mit | codeparrot/github-code | d44be0b16c25d793a39bae9e1f2d75b98911311f4fd4b91655fafdda696f699a | 0.95 | testing_debugging_repair_refactoring | 3,756 | false | 2026-07-17 |
using System.Linq;
using Renci.SshNet.Common;
using Renci.SshNet.Messages.Connection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Renci.SshNet.Tests.Common;
namespace Renci.SshNet.Tests.Classes.Messages.Connection
{
/// <summary>
///This is a test class for ChannelDataMessageTest a... | Bloomcredit/SSH.NET | src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelDataMessageTest.cs | https://github.com/Bloomcredit/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelDataMessageTest.cs | ghcode:00166:2a9ed81fbb0a | mit | codeparrot/github-code | 2a9ed81fbb0a628ecf77c4f8a56fef7e14b87c8053b7eba313e27f84a78cd1fc | 0.7 | testing_debugging_repair_refactoring | 1,012 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NJsonApi;
using NJsonApi.Test.TestModel;
using NJsonApi.Test.TestControllers;
namespace NJsonApi.Test.Builders
{
internal static class TestModelConfigurationBuilder
{
public static ConfigurationBuild... | miclip/NJsonApiCore | test/NJsonApiCore.Test/Builders/TestModelConfigurationBuilder.cs | https://github.com/miclip/NJsonApiCore/blob/HEAD/test/NJsonApiCore.Test/Builders/TestModelConfigurationBuilder.cs | ghcode:00166:5de46d8e2aa6 | mit | codeparrot/github-code | 5de46d8e2aa644436ef6582bfb358668a68e1e80abb8f1f302e077126c53e48c | 0.75 | testing_debugging_repair_refactoring | 145 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Azure.AI.AnomalyDetector.Models;
using Azure.Core.TestFram... | jackmagic313/azure-sdk-for-net | sdk/anomalydetector/Azure.AI.AnomalyDetector/tests/samples/Sample1_DetectEntireSeriesAnomaly.cs | https://github.com/jackmagic313/azure-sdk-for-net/blob/HEAD/sdk/anomalydetector/Azure.AI.AnomalyDetector/tests/samples/Sample1_DetectEntireSeriesAnomaly.cs | ghcode:00166:96c5dac7fa4f | mit | codeparrot/github-code | 96c5dac7fa4f4e4e0faa108c7a300163a157c2bd3bb2dedcb806cdd0b2036eea | 0.95 | testing_debugging_repair_refactoring | 502 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
using System.Xml;
using System.Linq;
using System.Collections.Generic;
using LiveSplit.Model;
namespace LiveSplit.Tests
{
[TestClass]
public class AutoSplitterXML
{
[TestMethod]
public void TestAutoSplitters... | kugelrund/LiveSplit | LiveSplit/LiveSplit.Tests/AutoSplitterXML.cs | https://github.com/kugelrund/LiveSplit/blob/HEAD/LiveSplit/LiveSplit.Tests/AutoSplitterXML.cs | ghcode:00166:56e37fcaf1f9 | mit | codeparrot/github-code | 56e37fcaf1f93931cd55050a4d29813d0ee60cb5bd4c37e919fbc950b05c1ad1 | 0.6 | testing_debugging_repair_refactoring | 666 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2008-2016 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 r... | agray/nunit | src/NUnitFramework/tests/Assertions/AssertThrowsTests.cs | https://github.com/agray/nunit/blob/HEAD/src/NUnitFramework/tests/Assertions/AssertThrowsTests.cs | ghcode:00166:bb808711f0cc | mit | codeparrot/github-code | bb808711f0ccac02197d67a49dd34384b60f46a96bf611d484634cee801db3e3 | 0.95 | testing_debugging_repair_refactoring | 1,329 | false | 2026-07-17 |
// Copyright (c) 2015 ZZZ Projects. All rights reserved
// Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
// Website: http://www.zzzprojects.com/
// Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927
// All ZZZ Projects products: Entity Framework ... | mario-loza/Z.ExtensionMethods | test/Z.Core.Test/System.Random/Random.CoinToss.cs | https://github.com/mario-loza/Z.ExtensionMethods/blob/HEAD/test/Z.Core.Test/System.Random/Random.CoinToss.cs | ghcode:00166:1ebf7c0e7bbd | mit | codeparrot/github-code | 1ebf7c0e7bbd5cb36c9aa331a53c3fae39a825b0b5536072bee083373dfc7771 | 0.7 | testing_debugging_repair_refactoring | 182 | false | 2026-07-17 |
//
// DotNetNuke® - https://www.dnnsoftware.com
// Copyright (c) 2002-2018
// by DotNetNuke Corporation
//
// 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 w... | RichardHowells/Dnn.Platform | DNN Platform/Tests/DotNetNuke.Tests.Urls/ExtensionUrlProviderControllerTests.cs | https://github.com/RichardHowells/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DotNetNuke.Tests.Urls/ExtensionUrlProviderControllerTests.cs | ghcode:00166:356def9ee981 | mit | codeparrot/github-code | 356def9ee981bb6c946e8dd6a57e67158d7bf86852dc1a4f6cf505b583f5cfaf | 0.95 | testing_debugging_repair_refactoring | 1,458 | false | 2026-07-17 |
using UnityEngine;
using UnityEngine.Serialization;
public class Test : MonoBehaviour
{
[Formerly{caret}SerializedAs("NotSerializedField")] public const int Value = 42;
}
| JetBrains/resharper-unity | resharper/resharper-unity/test/data/Unity/CSharp/Intentions/QuickFixes/RedundantFormerlySerializedAsAttribute/Test04.cs | https://github.com/JetBrains/resharper-unity/blob/HEAD/resharper/resharper-unity/test/data/Unity/CSharp/Intentions/QuickFixes/RedundantFormerlySerializedAsAttribute/Test04.cs | ghcode:00166:99a1b544c4f1 | apache-2.0 | codeparrot/github-code | 99a1b544c4f19c40fed49c5c6541ce12014702f0b772c8d47b94fb21631a027e | 0.6 | testing_debugging_repair_refactoring | 38 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.... | nguerrera/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenOperators.cs | https://github.com/nguerrera/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenOperators.cs | ghcode:00166:e2445f73d2f0 | apache-2.0 | codeparrot/github-code | e2445f73d2f0960921b3ba364b7db630394d232ab15e3379a428111d086ca8bf | 0.82 | testing_debugging_repair_refactoring | 49,432 | false | 2026-07-17 |
/*
* MindTouch Dream - a distributed REST framework
* Copyright (C) 2006-2011 MindTouch, Inc.
* www.mindtouch.com oss@mindtouch.com
*
* For community documentation and downloads visit wiki.developer.mindtouch.com;
* please review the licensing section.
*
* Licensed under the Apache License, Version 2.... | sdether/DReAM | src/tests/DreamMisc/StringUtilTests.cs | https://github.com/sdether/DReAM/blob/HEAD/src/tests/DreamMisc/StringUtilTests.cs | ghcode:00166:6b9529a530da | apache-2.0 | codeparrot/github-code | 6b9529a530dad7d1dace1739aeb694aca493b17fed960c0706cd0e577a9e76c8 | 0.85 | testing_debugging_repair_refactoring | 827 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | StefanoRaggi/Lean | Tests/Engine/DataFeeds/PendingRemovalsManagerTests.cs | https://github.com/StefanoRaggi/Lean/blob/HEAD/Tests/Engine/DataFeeds/PendingRemovalsManagerTests.cs | ghcode:00166:47beebc0b613 | apache-2.0 | codeparrot/github-code | 47beebc0b613c290b659d7072cfcb8092f5a96f4f4f4400d9bb181fa30515bab | 0.85 | testing_debugging_repair_refactoring | 2,240 | 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... | praveennet/azure-powershell | src/Common/Commands.ScenarioTest/ServiceManagement/GetLocationTests.cs | https://github.com/praveennet/azure-powershell/blob/HEAD/src/Common/Commands.ScenarioTest/ServiceManagement/GetLocationTests.cs | ghcode:00166:4236ef4da0c8 | apache-2.0 | codeparrot/github-code | 4236ef4da0c8d403a7a9bd61f59518f86db2c6729cca88310c4131b1a721cee8 | 0.85 | testing_debugging_repair_refactoring | 227 | false | 2026-07-17 |
// Copyright (c) 2012, Event Store LLP
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// Redistributions of source code must retain the above copyright notice,
// this list of cond... | msbahrul/EventStore | src/EventStore/EventStore.Core.Tests/Services/Storage/Scavenge/when_stream_is_softdeleted_and_temp_but_some_events_are_in_multiple_chunks.cs | https://github.com/msbahrul/EventStore/blob/HEAD/src/EventStore/EventStore.Core.Tests/Services/Storage/Scavenge/when_stream_is_softdeleted_and_temp_but_some_events_are_in_multiple_chunks.cs | ghcode:00166:b30a4c53f6c9 | bsd-3-clause | codeparrot/github-code | b30a4c53f6c970732f73d05c4516033eccbb3ca5e7906b1f659a51085f4f2bce | 0.85 | testing_debugging_repair_refactoring | 1,118 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace OpenPermit.Accela.Tests
{
[TestClass]
public class AccelaOpenPermitAdapterTests
{
[TestMethod]
public void TestMethod1()
{
}
}
}
| dperaza4openpermit/OpenPermit.NET | Src/OpenPermit.Accela.Tests/AccelaOpenPermitAdapterTests.cs | https://github.com/dperaza4openpermit/OpenPermit.NET/blob/HEAD/Src/OpenPermit.Accela.Tests/AccelaOpenPermitAdapterTests.cs | ghcode:00166:8557e7fc6926 | mit | codeparrot/github-code | 8557e7fc6926c531b0515e9a8a2847b847fae8d603cd643f6c588c46f0a47d50 | 0.75 | testing_debugging_repair_refactoring | 53 | false | 2026-07-17 |
using MYOB.AccountRight.SDK.Services.PayrollCategory;
using NUnit.Framework;
namespace SDK.Test.Services
{
[TestFixture]
public class PayrollCategoryWageServiceTests
{
[Test]
public void ServiceHasTheExpectedRoute()
{
Assert.AreEqual("Payroll/PayrollCategory/Wage", new ... | sawilde/AccountRight_Live_API_.Net_SDK | MYOB.API.SDK/SDK.Test/Services/PayrollCategoryWageServiceTests.cs | https://github.com/sawilde/AccountRight_Live_API_.Net_SDK/blob/HEAD/MYOB.API.SDK/SDK.Test/Services/PayrollCategoryWageServiceTests.cs | ghcode:00166:82bd9c58841e | mit | codeparrot/github-code | 82bd9c58841e866f28943213aaa17bca089b16875aea7cfc6827cd2939918bee | 0.75 | testing_debugging_repair_refactoring | 84 | false | 2026-07-17 |
/*
* Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | SnappyDataInc/snappy-store | gemfirexd/client/test/csharp/adonet-auto/AdoNetTest.BIN/DataObjects/CategoryDao.cs | https://github.com/SnappyDataInc/snappy-store/blob/HEAD/gemfirexd/client/test/csharp/adonet-auto/AdoNetTest.BIN/DataObjects/CategoryDao.cs | ghcode:00166:951253673e8e | apache-2.0 | codeparrot/github-code | 951253673e8e82e9075240c59ffdcc5bd30a63bb808bb0868f754aca4c89b7b5 | 0.95 | testing_debugging_repair_refactoring | 982 | false | 2026-07-17 |
using Elasticsearch.Net;
using NUnit.Framework;
using Nest.Tests.MockData.Domain;
namespace Nest.Tests.Integration.Integration.Filter
{
[TestFixture]
public class BoolFilterTests : IntegrationTests
{
//this test started to fail on 0.90.0
//see https://github.com/elasticsearch/elasticsearch/issues/2996
[Test]... | alanprot/elasticsearch-net | src/Tests/Nest.Tests.Integration/Integration/Filter/BoolFilterTests.cs | https://github.com/alanprot/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Integration/Integration/Filter/BoolFilterTests.cs | ghcode:00166:d5558663e0cf | apache-2.0 | codeparrot/github-code | d5558663e0cff1111a80e08f32cf703ae96ce05925e0531790c1e24f4e9dd696 | 0.95 | testing_debugging_repair_refactoring | 349 | false | 2026-07-17 |
// Copyright (c) Umbraco.
// See LICENSE for more details.
using System.Linq;
using System.Threading;
using Newtonsoft.Json;
using NUnit.Framework;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.PropertyEditors;
using Umbraco.Cms.Core.Serialization;
using Umbraco.Cms.Core.Services;
using Umbraco.Cms.Tests.Commo... | umbraco/Umbraco-CMS | tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/TagServiceTests.cs | https://github.com/umbraco/Umbraco-CMS/blob/HEAD/tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/TagServiceTests.cs | ghcode:00166:9e84b01a0d15 | mit | codeparrot/github-code | 9e84b01a0d1575f9d59ee07fdaa514ce30b3ee8dadcc5269cf07068850821d04 | 0.85 | testing_debugging_repair_refactoring | 1,129 | false | 2026-07-17 |
// Visual Studio Shared Project
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//
... | int19h/PTVS | Common/Tests/MockVsTests/MockIncrementalSearchFactoryService.cs | https://github.com/int19h/PTVS/blob/HEAD/Common/Tests/MockVsTests/MockIncrementalSearchFactoryService.cs | ghcode:00166:930373841a12 | apache-2.0 | codeparrot/github-code | 930373841a12d3a38d3ef146a7a3dee48676eb1435e0ea23d8f0b4cbc6a46b35 | 0.95 | testing_debugging_repair_refactoring | 269 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Cassandra.Data.Linq;
using Cassandra.IntegrationTests.Linq.Structures;
using Cassandra.IntegrationTests.TestBase;
using Cassandra.Mapping;
using Cassandra.Tests.Mapping.Pocos;
using NUnit.Framework;
namespace Cassandra.IntegrationTests.Mapping.T... | alprema/csharp-driver | src/Cassandra.IntegrationTests/Mapping/Tests/Delete.cs | https://github.com/alprema/csharp-driver/blob/HEAD/src/Cassandra.IntegrationTests/Mapping/Tests/Delete.cs | ghcode:00166:f87f8b082478 | apache-2.0 | codeparrot/github-code | f87f8b08247837e208565d76f5a843b2ee9f5dd2c14b7a0cbf9268db0d3085c8 | 0.95 | testing_debugging_repair_refactoring | 1,348 | false | 2026-07-17 |
#region License, Terms and Author(s)
//
// ELMAH - Error Logging Modules and Handlers for ASP.NET
// Copyright (c) 2004-9 Atif Aziz. All rights reserved.
//
// Author(s):
//
// Atif Aziz, http://www.raboof.com
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file excep... | madaboutcode/Elmah | src/Elmah/SecurityConfiguration.cs | https://github.com/madaboutcode/Elmah/blob/HEAD/src/Elmah/SecurityConfiguration.cs | ghcode:00166:14012db08cdf | apache-2.0 | codeparrot/github-code | 14012db08cdf35b6aa3b1dc0edbd7b02886af6ceabcf6527167e198766620656 | 0.7 | testing_debugging_repair_refactoring | 513 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Xml.Serialization
{
using System;
using System.Collections;
using System.IO;
using ... | shmao/corefx | src/System.Private.Xml/src/System/Xml/Serialization/XmlCodeExporter.cs | https://github.com/shmao/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/Serialization/XmlCodeExporter.cs | ghcode:00166:7d08f8dc2cd1 | mit | codeparrot/github-code | 7d08f8dc2cd11437d4d9301e0f3b4bfec51ea0c5512a5d05a9f8a44637a13cbd | 0.95 | testing_debugging_repair_refactoring | 8,853 | false | 2026-07-17 |
// <copyright file="DoubleExtensionsTheories.cs" company="Bau contributors">
// Copyright (c) Bau contributors. (baubuildch@gmail.com)
// </copyright>
namespace BauCore.Test.Unit
{
using BauCore;
using FakeItEasy;
using FluentAssertions;
using ScriptCs.Contracts;
using Xunit;
using... | bau-build/bau | src/test/Bau.Test.Unit/DoubleExtensionsTheories.cs | https://github.com/bau-build/bau/blob/HEAD/src/test/Bau.Test.Unit/DoubleExtensionsTheories.cs | ghcode:00166:d2d1fe6e3189 | mit | codeparrot/github-code | d2d1fe6e318911416ebcf5619c8ddced4f9f55239a8c979be5acbff5f04e3f88 | 0.95 | testing_debugging_repair_refactoring | 907 | false | 2026-07-17 |
using Nimbus.MessageContracts;
namespace Nimbus.IntegrationTests.Tests.SimplePubSubTests.MessageContracts
{
public class SomeEventWeOnlyHandleViaMulticast : IBusEvent
{
}
} | stevescc/Nimbus | src/Tests/Nimbus.IntegrationTests/Tests/SimplePubSubTests/MessageContracts/SomeEventWeOnlyHandleViaMulticast.cs | https://github.com/stevescc/Nimbus/blob/HEAD/src/Tests/Nimbus.IntegrationTests/Tests/SimplePubSubTests/MessageContracts/SomeEventWeOnlyHandleViaMulticast.cs | ghcode:00166:e76c4a4c1a20 | mit | codeparrot/github-code | e76c4a4c1a2022bfd6665d886343b9d1bfaf5f4b7e4729a84009a32c455f40a2 | 0.6 | testing_debugging_repair_refactoring | 40 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using System.Text.RegularExpressions;
using System.Threading;
namespace Selenium.Tests
{
[TestFixture]
public class TestTypeRichText : SeleniumTestCaseBase
{
[Ignore("GetEval of browserVersion fai... | jmt4/Selenium2 | dotnet/test/Selenium.WebDriverBackedSelenium.Tests/TestTypeRichText.cs | https://github.com/jmt4/Selenium2/blob/HEAD/dotnet/test/Selenium.WebDriverBackedSelenium.Tests/TestTypeRichText.cs | ghcode:00166:597188f05fd7 | apache-2.0 | codeparrot/github-code | 597188f05fd7e243556183fdaa72c6b352c062d56ed96d2129e46d4eb61c529d | 0.95 | testing_debugging_repair_refactoring | 188 | 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... | SarahRogers/azure-powershell | src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Output/TestAzureStreamAnalyticsOutputCommand.cs | https://github.com/SarahRogers/azure-powershell/blob/HEAD/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Output/TestAzureStreamAnalyticsOutputCommand.cs | ghcode:00166:186618532bc7 | apache-2.0 | codeparrot/github-code | 186618532bc74e44700c7946c7c774db6b5e294052413323748d5a9486ad4d58 | 0.85 | testing_debugging_repair_refactoring | 621 | false | 2026-07-17 |
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for Additional information regarding copyright ownership.
The ASF licenses this file to Y... | vinod1988/npoi | testcases/main/SS/Formula/Functions/TestDays360.cs | https://github.com/vinod1988/npoi/blob/HEAD/testcases/main/SS/Formula/Functions/TestDays360.cs | ghcode:00166:1e76ccbdb129 | apache-2.0 | codeparrot/github-code | 1e76ccbdb1294e7bc0e804b215ecfb0a4a6dc9caa73c497db24cbb523de6d645 | 0.85 | testing_debugging_repair_refactoring | 1,631 | false | 2026-07-17 |
using System.Diagnostics;
using Pgno = System.UInt32;
using u32 = System.UInt32;
namespace Community.CsharpSqlite
{
using sqlite3_pcache = Sqlite3.PCache1;
public partial class Sqlite3
{
/*
** 2008 August 05
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here i... | ddpruitt/MatterControl | Community.CsharpSqlite/src/pcache_c.cs | https://github.com/ddpruitt/MatterControl/blob/HEAD/Community.CsharpSqlite/src/pcache_c.cs | ghcode:00166:182a18f5ebc0 | bsd-2-clause | codeparrot/github-code | 182a18f5ebc07043849566796288b1ce3989fc400cd8f05e85cb3a1ac23fef15 | 0.88 | testing_debugging_repair_refactoring | 6,117 | false | 2026-07-17 |
using UnityEngine;
using System.Collections;
using System;
public class TestSelectable : MonoBehaviour
{
public TestHighlightable Highlight;
public TestSelectable[] Children;
protected TestSelectableArea _selectableArea;
public TestSelectableArea SelectableArea
{
get
{
... | ashbash1987/ktanemod-pianokeys | Assets/TestHarness/TestSelectable.cs | https://github.com/ashbash1987/ktanemod-pianokeys/blob/HEAD/Assets/TestHarness/TestSelectable.cs | ghcode:00166:11f1d4cb63d9 | mit | codeparrot/github-code | 11f1d4cb63d9669c08dd532663e6674c7ec2ea219ce62dfe96ae240b5f90a17a | 0.85 | testing_debugging_repair_refactoring | 1,055 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace System.Net.Http
{
in... | BrennanConroy/corefx | src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingWriteStream.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingWriteStream.cs | ghcode:00166:10cc06ce92cf | mit | codeparrot/github-code | 10cc06ce92cfe2f00a2ba71d73049d77e8dcbfb74467ce76de165a47c3067ae6 | 0.95 | testing_debugging_repair_refactoring | 489 | false | 2026-07-17 |
abs(-10) = <?cs var:abs(-10) ?>
abs("-10") = <?cs var:abs("-10") ?>
abs("10") = <?cs var:abs("10") ?>
abs("0") = <?cs var:abs("0") ?>
<?cs loop:x = -5, 5, 1 ?>
abs(<?cs var:x ?>) = <?cs var:abs(x) ?>
<?cs /loop ?>
min(5,10) = <?cs var:min(5, 10) ?>
min(-5,10) = <?cs var:min(-5, 10) ?>
min(-5,-10) = <?cs var:min(-5... | manuelluis/clearsilver | cs/test_abs_max_min.cs | https://github.com/manuelluis/clearsilver/blob/HEAD/cs/test_abs_max_min.cs | ghcode:00166:68b28ddc7548 | bsd-2-clause | codeparrot/github-code | 68b28ddc7548b4da146d1e423799ed2830471674994f4f30f2d34cbba10b9116 | 0.68 | testing_debugging_repair_refactoring | 395 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
using System.Xml;
using NUnit.Framework;
using Microsoft.... | nikson/msbuild | src/OrcasEngine/UnitTests/EngineProxy_Tests.cs | https://github.com/nikson/msbuild/blob/HEAD/src/OrcasEngine/UnitTests/EngineProxy_Tests.cs | ghcode:00166:bb372cbe5d5d | mit | codeparrot/github-code | bb372cbe5d5db5c74faa1a880c729ffd90624caef36a3172f41b90c823d88480 | 0.85 | testing_debugging_repair_refactoring | 7,204 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... | uwper/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/Serialization/WebApiIntegrationTests.cs | https://github.com/uwper/Newtonsoft.Json/blob/HEAD/Src/Newtonsoft.Json.Tests/Serialization/WebApiIntegrationTests.cs | ghcode:00166:3234c7fc42b3 | mit | codeparrot/github-code | 3234c7fc42b3df56b1951b0db89ea3c08d7c230fecbb022efb3841e95d114cd1 | 0.85 | testing_debugging_repair_refactoring | 1,136 | 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.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace System.Collections.... | mafiya69/corefx | src/System.Collections.Immutable/tests/ImmutableInterlockedTests.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/System.Collections.Immutable/tests/ImmutableInterlockedTests.cs | ghcode:00166:0ec2e10146c9 | mit | codeparrot/github-code | 0ec2e10146c95f8b27ebf8e76b5e988bb4216177db808538a6ff4a8f5f170d43 | 0.95 | testing_debugging_repair_refactoring | 3,118 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using OLEDB.Test.ModuleCore;
using XmlCoreTest.Common;
namespace System.Xml.Tests
{
public enum EINTEGRITY
... | BrennanConroy/corefx | src/System.Private.Xml/tests/XmlReaderLib/IntegrityTest.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Private.Xml/tests/XmlReaderLib/IntegrityTest.cs | ghcode:00166:f74c24c2dd7f | mit | codeparrot/github-code | f74c24c2dd7f6f7f65761380f2f2a32ee724c9f0bea74be9a9796f7567aaa551 | 0.95 | testing_debugging_repair_refactoring | 4,803 | 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.Text;
using Xunit;
namespace System.Collections.SortedListTests
{
public class ClearTests : IComparer
{
... | dkorolev/corefx | src/System.Collections.NonGeneric/tests/SortedList/ClearTests.cs | https://github.com/dkorolev/corefx/blob/HEAD/src/System.Collections.NonGeneric/tests/SortedList/ClearTests.cs | ghcode:00166:4bebeb5f1d3f | mit | codeparrot/github-code | 4bebeb5f1d3f3f31eb8f7ad53a32215bc1db077a065ab59bb494966dfd7dd49a | 0.95 | testing_debugging_repair_refactoring | 473 | 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.Xml
{
internal class XmlName
{
private string _prefix;
private string _localName;
private st... | vs-team/corefx | src/System.Xml.XmlDocument/src/System/Xml/Dom/XmlName.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Xml.XmlDocument/src/System/Xml/Dom/XmlName.cs | ghcode:00166:a6fff37c7c00 | mit | codeparrot/github-code | a6fff37c7c00797e18923caa65fa2ff20b481dbb3f2458fa3bddd2ed6341e73f | 0.85 | testing_debugging_repair_refactoring | 534 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.IO.Pipes;
using System.Threading.Tasks;
namespace System.ServiceProcess.Test... | shimingsg/corefx | src/System.ServiceProcess.ServiceController/tests/System.ServiceProcess.ServiceController.TestService/TestService.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.ServiceProcess.ServiceController/tests/System.ServiceProcess.ServiceController.TestService/TestService.cs | ghcode:00166:2c9dd716c574 | mit | codeparrot/github-code | 2c9dd716c57486be8542bb09b4b2b4401391e44b36912eea75287e653b0a5f2d | 0.95 | testing_debugging_repair_refactoring | 760 | false | 2026-07-17 |
using GenderPayGap.BusinessLogic;
using GenderPayGap.BusinessLogic.Models.Compare;
using GenderPayGap.Core;
using GenderPayGap.Core.Classes;
using GenderPayGap.Core.Models.HttpResultModels;
using GenderPayGap.Extensions;
using GenderPayGap.Extensions.AspNetCore;
using GenderPayGap.Tests.Common.Classes;
using GenderPay... | DFEAGILEDEVOPS/gender-pay-gap | Beta/GenderPayGap.UnitTests/GenderPayGap.WebUI.Tests/Controllers/CompareControllerTests.cs | https://github.com/DFEAGILEDEVOPS/gender-pay-gap/blob/HEAD/Beta/GenderPayGap.UnitTests/GenderPayGap.WebUI.Tests/Controllers/CompareControllerTests.cs | ghcode:00166:a04657d50737 | mit | codeparrot/github-code | a04657d50737f13d1aecafe9ac58ea7a5dea9f66cdb057cda4960dc0facad78a | 0.85 | testing_debugging_repair_refactoring | 8,367 | false | 2026-07-17 |
// InstallEventArgsTest.cs
// NUnit Test Cases for System.Configuration.Install.InstallEventArgs class
//
// Author:
// Muthu Kannan (t.manki@gmail.com)
//
// (C) 2005 Novell, Inc. http://www.novell.com/
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software an... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.Configuration.Install/Test/System.Configuration.Install/InstallEventArgsTest.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.Configuration.Install/Test/System.Configuration.Install/InstallEventArgsTest.cs | ghcode:00166:5e2fbe5f432e | mit | codeparrot/github-code | 5e2fbe5f432e90ea47cdef0663eeb6549b4e3f470d3271b1438928e4f374fa55 | 0.95 | testing_debugging_repair_refactoring | 443 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Content;
using MonoGame.Extended;
using MonoGame.Extended.Collisions;
using MonoGame.Extended.M... | Mr-Bones738/AllMyStuff | TurnBasedThing/tb/GameClasses/Zones/TestZone.cs | https://github.com/Mr-Bones738/AllMyStuff/blob/HEAD/TurnBasedThing/tb/GameClasses/Zones/TestZone.cs | ghcode:00166:6cbc720d7d9e | mit | codeparrot/github-code | 6cbc720d7d9e2cedc3731449517b5836dd735edde389c4a094b7da6d3e34b2d5 | 0.75 | testing_debugging_repair_refactoring | 625 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LegoTest
{
[TestClass]
public class LegoManagerTest
{
[TestMethod]
public void TestStartProcess()
{
}
}
}
| aldialimucaj/lego | LegoTest/LegoManagerTest.cs | https://github.com/aldialimucaj/lego/blob/HEAD/LegoTest/LegoManagerTest.cs | ghcode:00166:64e01a62f759 | mit | codeparrot/github-code | 64e01a62f75938bded9a4aa3424d7c484b75aafe396fe7f3afe6576df62b7c3c | 0.6 | testing_debugging_repair_refactoring | 45 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using static CodeJam.Reflection.ParamInfo;
// ReSharper disable NUnit.IncorrectArgumentType
namespace CodeJam.Reflection
{
[TestFixture]
public class CreateInstanceTests
{
[TestCase(typeof(ParamlessCtor), new string[0], ... | rsdn/CodeJam | CodeJam.Main.Tests/Reflection/CreateInstanceTests.cs | https://github.com/rsdn/CodeJam/blob/HEAD/CodeJam.Main.Tests/Reflection/CreateInstanceTests.cs | ghcode:00166:3944fe1b01d6 | mit | codeparrot/github-code | 3944fe1b01d6f06d0244fae86d2282d807a10643d876a3595e8978984971db25 | 0.85 | testing_debugging_repair_refactoring | 993 | false | 2026-07-17 |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 Youcef Lemsafer
*
* 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
* u... | YuL78/dcs | Tests/ParserTests.cs | https://github.com/YuL78/dcs/blob/HEAD/Tests/ParserTests.cs | ghcode:00166:148bf6a2888d | mit | codeparrot/github-code | 148bf6a2888d2ba8c5d062b1721d2ef7367e2f93a05403e489d40e6b4c18191c | 0.85 | testing_debugging_repair_refactoring | 2,205 | false | 2026-07-17 |
using NSubstitute;
using Simple.Xml.Structure;
using Simple.Xml.Structure.Constructs;
using Xunit;
namespace Simple.Xml.Dynamic.UnitTests
{
public class DynamicForwardXmlStringCreatorTests
{
private readonly IElement element = Substitute.For<IElement>();
private readonly IDownwardElementVisito... | baks/Simple.Xml | Simple.Xml/Simple.Xml.Dynamic.UnitTests/DynamicForwardXmlStringCreatorTests.cs | https://github.com/baks/Simple.Xml/blob/HEAD/Simple.Xml/Simple.Xml.Dynamic.UnitTests/DynamicForwardXmlStringCreatorTests.cs | ghcode:00166:c1a20fbeb1e0 | mit | codeparrot/github-code | c1a20fbeb1e0174aa93a6f97eda30e68734b5accf4a67c7c2cff7482a9847b50 | 0.75 | testing_debugging_repair_refactoring | 156 | false | 2026-07-17 |
using System.Threading.Tasks;
namespace AsyncConverter.Tests.Test.Data.FixReturnValueToTaskTests
{
public interface IClass
{
public int Test();
}
public class Class1
{
public virtual int Test()
{
return 5;
}
}
public class Class2 : Class1, ICla... | BigBabay/AsyncConverter | AsyncConverter.Tests/Test/Data/ContextActions/MethodToAsyncConverterTests/ReplaceTreeWithMultipleRoot.cs | https://github.com/BigBabay/AsyncConverter/blob/HEAD/AsyncConverter.Tests/Test/Data/ContextActions/MethodToAsyncConverterTests/ReplaceTreeWithMultipleRoot.cs | ghcode:00166:ddbdad582db0 | mit | codeparrot/github-code | ddbdad582db04c508c88cc355453a4b59454a226fb271f666cfe845e295740e1 | 0.85 | testing_debugging_repair_refactoring | 94 | false | 2026-07-17 |
using NUnit.Framework;
using Shouldly;
using System.Collections.Generic;
namespace HadoukInput.Tests
{
[TestFixture]
public class RemoveMoveTests
{
MoveList moves;
[SetUp]
public void Setup()
{
moves = new MoveList();
}
[Test]
public void RemoveSimple()
{
moves.AddMove("punch", EKeystroke.A... | dmanning23/HadoukInput | HadoukInput/HadoukInput.Tests/RemoveMoveTests.cs | https://github.com/dmanning23/HadoukInput/blob/HEAD/HadoukInput/HadoukInput.Tests/RemoveMoveTests.cs | ghcode:00166:ba7bf12783da | mit | codeparrot/github-code | ba7bf12783dacdc8d49b538abfcd6b933915649f6ad1f2fd847a495d7186e662 | 0.75 | testing_debugging_repair_refactoring | 660 | false | 2026-07-17 |
namespace TypeVisualiserUnitTests.Converters
{
using System;
using System.Globalization;
using System.Windows;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TypeVisualiser.UI.Converters;
[TestClass]
public class NotBooleanToVisibilityConverterTest
{
[TestM... | Benrnz/TypeVisualiser | TypeVisualiserUnitTests/Converters/NotBooleanToVisibilityConverterTest.cs | https://github.com/Benrnz/TypeVisualiser/blob/HEAD/TypeVisualiserUnitTests/Converters/NotBooleanToVisibilityConverterTest.cs | ghcode:00166:82dd30ff1808 | mit | codeparrot/github-code | 82dd30ff18083fc45e0ac78fc00425d437fceb3a2f882d516b893a8466f564b6 | 0.6 | testing_debugging_repair_refactoring | 247 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PholioVisualisation.ServicesWeb.Helpers;
namespace PholioVisualisation.ServicesWebTest
{
[TestClass]
public class UrlHelperTest
{
[TestMethod]
public void TestTrimPr... | PublicHealthEngland/fingertips-open | PholioVisualisationWS/ServicesWebTest/Helpers/UrlHelperTest.cs | https://github.com/PublicHealthEngland/fingertips-open/blob/HEAD/PholioVisualisationWS/ServicesWebTest/Helpers/UrlHelperTest.cs | ghcode:00166:7c60c8b4f41a | mit | codeparrot/github-code | 7c60c8b4f41ac2fa5972cf52fccd659b6dc98506d1b3b3a7f6c5e2176768588e | 0.75 | testing_debugging_repair_refactoring | 98 | false | 2026-07-17 |
using FUR10N.NullContracts;
using NUnit.Framework;
namespace FUR10N.NullContractsTests
{
[TestFixture]
public class GeneralSyntaxTests : TestBase
{
[Test]
public void ObjectInitializer()
{
var code =
@"
public class Item
{
public string Id { get; set; }
}
public cl... | FUR10N/NullContracts | Tests/FUR10N.NullContractsTests/GeneralSyntaxTests.cs | https://github.com/FUR10N/NullContracts/blob/HEAD/Tests/FUR10N.NullContractsTests/GeneralSyntaxTests.cs | ghcode:00166:83b5d8752dd4 | mit | codeparrot/github-code | 83b5d8752dd414918fdc60878976d5905c14691c3e775540f4d3a34ec1e7be57 | 0.75 | testing_debugging_repair_refactoring | 603 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.