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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Description: C# Extension Methods | Enhance the .NET Framework and .NET Core with over 1000 extension methods.
// Website & Documentation: https://csharp-extension.com/
// Issues: https://github.com/zzzprojects/Z.ExtensionMethods/issues
// License (MIT): https://github.com/zzzprojects/Z.ExtensionMethods/blob/master/... | zzzprojects/Z.ExtensionMethods | test/Z.Core.Test/System.String/String.Repeat.cs | https://github.com/zzzprojects/Z.ExtensionMethods/blob/HEAD/test/Z.Core.Test/System.String/String.Repeat.cs | ghcode:00000:bd426eacc08a | mit | codeparrot/github-code | bd426eacc08aae64882df94ff9a0cba452765c88bdd91ff944ccba11c83a9fc6 | 0.7 | testing_debugging_repair_refactoring | 190 | false | 2026-07-17 |
using System;
using FluentAssertions;
using NuGet.Versioning;
using Xunit;
namespace TIKSN.Versioning.Tests
{
public class VersionTests
{
[Fact]
public void Equals001()
{
var V = new Version(2, 4);
Assert.True(V.Equals(V));
}
[Fact]
publ... | tiksn/TIKSN-Framework | TIKSN.UnitTests.Shared/Versioning/VersionTests.cs | https://github.com/tiksn/TIKSN-Framework/blob/HEAD/TIKSN.UnitTests.Shared/Versioning/VersionTests.cs | ghcode:00000:874e9b3a7642 | mit | codeparrot/github-code | 874e9b3a76420954be1686efc83008726b266422d47b7167a3e7798e87cc1f8f | 0.75 | testing_debugging_repair_refactoring | 7,179 | false | 2026-07-17 |
using NUnit.Framework;
using DnDGen.TreasureGen.Tables;
namespace DnDGen.TreasureGen.Tests.Integration.Tables.Items.Magical.WondrousItems
{
[TestFixture]
public class PlanesTests : PercentileTests
{
protected override string tableName
{
get { return TableNameConstants.Percentil... | DnDGen/TreasureGen | DnDGen.TreasureGen.Tests.Integration.Tables/Items/Magical/WondrousItems/PlanesTests.cs | https://github.com/DnDGen/TreasureGen/blob/HEAD/DnDGen.TreasureGen.Tests.Integration.Tables/Items/Magical/WondrousItems/PlanesTests.cs | ghcode:00000:6d0a47cad20d | mit | codeparrot/github-code | 6d0a47cad20db048a9d0dc585470c8f28221e2342d5e3bc29ba5ba8290f832fd | 0.75 | testing_debugging_repair_refactoring | 589 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.CSharp10.Settings
{
using StyleCop.Analyzers.Test.CSharp9.Settings;
public class SettingsCSha... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsCSharp10UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsCSharp10UnitTests.cs | ghcode:00000:5cdce05b824a | mit | codeparrot/github-code | 5cdce05b824a232407f86f31134552dc1558289110dd422806b33de45e71abbe | 0.75 | testing_debugging_repair_refactoring | 86 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
#nullable enable
using System;
using System.Linq;
using System.Reflection;
using NUnit.Compatibility;
using NUnit.Framework.Interfaces;
namespace NUnit.Framework.Internal
{
/// <summary>
/// The TypeWrapper class wraps... | nunit/nunit | src/NUnitFramework/framework/Internal/TypeWrapper.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/framework/Internal/TypeWrapper.cs | ghcode:00000:3a7d95eb1ac4 | mit | codeparrot/github-code | 3a7d95eb1ac494b5b63cb220b3d917fe44afbcc0a586821a10e3a0fd47f556e0 | 0.7 | testing_debugging_repair_refactoring | 1,685 | false | 2026-07-17 |
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Audio.Track;
using osu.Framework.Graphics.Textures;
using osu.Game.Beatmaps;
namespace osu.Desktop.Tests.Beatmaps
{
public class TestW... | Damnae/osu | osu.Desktop.Tests/Beatmaps/TestWorkingBeatmap.cs | https://github.com/Damnae/osu/blob/HEAD/osu.Desktop.Tests/Beatmaps/TestWorkingBeatmap.cs | ghcode:00000:1ae148a14cbb | mit | codeparrot/github-code | 1ae148a14cbbbd600dbc1c45d506037be3e8c64f2887fa99e4ee16a0939ba77b | 0.85 | testing_debugging_repair_refactoring | 175 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using StankinsInterfaces;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Transformers;
namespace StankinsTests
{
[TestClass]
public class TestTransformerBasic
{
... | ignatandrei/stankins | stankinsV1/StankinsTests/TestTransformerBasic.cs | https://github.com/ignatandrei/stankins/blob/HEAD/stankinsV1/StankinsTests/TestTransformerBasic.cs | ghcode:00000:7e0e20258766 | mit | codeparrot/github-code | 7e0e2025876643789d379d021d8a6b3179eed23fc058007e937db50376a11775 | 0.75 | testing_debugging_repair_refactoring | 651 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Newtonsoft.Json.Linq;
namespace Newtonsoft.Json.Tests.Linq
{
public class JArrayTests : TestFixtureBase
{
[Test]
public void Clear()
{
JA... | dxm007/TrackerSync | Third/Json.NET/4.0R5/Source/Src/Newtonsoft.Json.Tests/Linq/JArrayTests.cs | https://github.com/dxm007/TrackerSync/blob/HEAD/Third/Json.NET/4.0R5/Source/Src/Newtonsoft.Json.Tests/Linq/JArrayTests.cs | ghcode:00000:05820d2ff9d3 | mit | codeparrot/github-code | 05820d2ff9d3fad719a258320a38c8d56e2c81db393a2eef8ed0032536d3dac7 | 0.85 | testing_debugging_repair_refactoring | 3,022 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Renci.SshNet.Common;
using Renci.SshNet.Sftp;
using System;
using System.Diagnostics;
using System.Threading;
using BufferedRead = Renci.SshNet.Sftp.SftpFileReader.BufferedRead;
namespace Renci.SshNet.Tests.Classes.Sftp
{
[TestClass]
public ... | sshnet/SSH.NET | src/Renci.SshNet.Tests/Classes/Sftp/SftpFileReaderTest_LastChunkBeforeEofIsComplete.cs | https://github.com/sshnet/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileReaderTest_LastChunkBeforeEofIsComplete.cs | ghcode:00000:5058990ea76f | mit | codeparrot/github-code | 5058990ea76f1f2d1f11dc1408e079fc3b449d7999b6702560c245c63101f8b3 | 0.6 | testing_debugging_repair_refactoring | 1,467 | false | 2026-07-17 |
using System.Linq;
using FluentAssertions;
using HiveEngine.Tests.Unit.Extensions;
using HiveEngine.Tests.Unit.Utilities;
using NUnit.Framework;
namespace HiveEngine.Tests.Unit
{
[TestFixture]
class SecondMoveTests
{
[Test]
public void white_second_turns_with_one_available_tile_has_correct_... | robinweston/hive-engine | HiveEngine.Tests.Unit/SecondMoveTests.cs | https://github.com/robinweston/hive-engine/blob/HEAD/HiveEngine.Tests.Unit/SecondMoveTests.cs | ghcode:00000:3cb63389fbd9 | mit | codeparrot/github-code | 3cb63389fbd9d20329f13c40ab6645d7e602dabcba6b7caa5e935bd875f3676f | 0.75 | testing_debugging_repair_refactoring | 436 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Net;
using Vita.Entities;
using BookStore;
using BookStore.Api;
using System.Threading.Tasks;
using Vita.Tools.Testing;
using Arrest;
using Arrest.Sync;
namespace Vita.Testing.WebTests {
public partial class BooksApi... | rivantsov/vita | src/6.UnitTests/Vita.Testing.WebTests/BooksApiTests_SpecialCases.cs | https://github.com/rivantsov/vita/blob/HEAD/src/6.UnitTests/Vita.Testing.WebTests/BooksApiTests_SpecialCases.cs | ghcode:00000:98c6db37bf6d | mit | codeparrot/github-code | 98c6db37bf6daeec30cf3b0bbfb241581201f5c5b3de68ab40850b49d04e7a2e | 0.7 | testing_debugging_repair_refactoring | 1,167 | false | 2026-07-17 |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.Primitives;
using NSubstitute;
using System;
using Xunit;
namespace MvcTemplate.Components.Mvc.Tests
{
public class AjaxOnlyAttributeTests
{
[Theory]
[Inl... | NonFactors/MVC6.Template | test/MvcTemplate.Tests/Unit/Components/Mvc/Attributes/AjaxOnlyAttributeTests.cs | https://github.com/NonFactors/MVC6.Template/blob/HEAD/test/MvcTemplate.Tests/Unit/Components/Mvc/Attributes/AjaxOnlyAttributeTests.cs | ghcode:00000:a54ede75cecd | mit | codeparrot/github-code | a54ede75cecd60346ed3152852868c93fd9da0a85b1af68548d3d2dd879c28f7 | 0.75 | testing_debugging_repair_refactoring | 151 | false | 2026-07-17 |
using System;
using System.Linq;
using NUnit.Framework;
namespace NetGore.Tests.IO
{
[TestFixture]
public class BitOpsTests
{
#region Unit tests
[Test]
public void BitsRequiredTest()
{
for (uint i = 0; i < 1200; i++)
{
var req = BitOp... | LAGIdiot/NetGore | NetGore.Tests/NetGore/BitOpsTests.cs | https://github.com/LAGIdiot/NetGore/blob/HEAD/NetGore.Tests/NetGore/BitOpsTests.cs | ghcode:00000:9d299d098a28 | unlicense | codeparrot/github-code | 9d299d098a28a9aaaec528fe0d3c72c8476f430abd550972a24c684f9441772a | 0.68 | testing_debugging_repair_refactoring | 2,228 | false | 2026-07-17 |
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using ImageMagick;
using Xunit;
namespace Magick.NET.Tests
{
public partial class MagickSettingsTests
{
public class TheSetDefineMethod
{
[Fact]
public ... | dlemstra/Magick.NET | tests/Magick.NET.Tests/Settings/MagickSettingsTests/TheSetDefineMethod.cs | https://github.com/dlemstra/Magick.NET/blob/HEAD/tests/Magick.NET.Tests/Settings/MagickSettingsTests/TheSetDefineMethod.cs | ghcode:00000:90518be6cf8e | apache-2.0 | codeparrot/github-code | 90518be6cf8e574a2ee6380ab8cc5f39c3a75219272025f470878bff645acf3d | 0.7 | testing_debugging_repair_refactoring | 370 | false | 2026-07-17 |
// Copyright (c) Pavel Bakshy, Valeriy Ogiy. All rights reserved. See License.txt in the project root for license information.
using System.Linq;
using FluentAssertions;
using OpenQA.Selenium;
using Selenol.Elements;
using TechTalk.SpecFlow;
namespace Selenol.FunctionalTests.Steps
{
[Binding]
public cla... | pbakshy/Selenol | Selenol.FunctionalTests/Steps/TextboxSteps.cs | https://github.com/pbakshy/Selenol/blob/HEAD/Selenol.FunctionalTests/Steps/TextboxSteps.cs | ghcode:00000:f26ccb679f1a | apache-2.0 | codeparrot/github-code | f26ccb679f1a6c310c4d9e5a75597d13c9c7e4951e30e4b0ca090f41601ed37e | 0.6 | testing_debugging_repair_refactoring | 306 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may n... | abelli85/nvelocity | NVelocity/NVelocity.Tests/EventHandlingTestCase.cs | https://github.com/abelli85/nvelocity/blob/HEAD/NVelocity/NVelocity.Tests/EventHandlingTestCase.cs | ghcode:00000:4aad13f7b902 | apache-2.0 | codeparrot/github-code | 4aad13f7b90259ebfc06e29d816a1f89267f843079bf5857a5844a17112622c9 | 0.7 | testing_debugging_repair_refactoring | 1,987 | false | 2026-07-17 |
// Copyright (c) 2017, 2019 Ubisoft Entertainment
//
// 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 applica... | ubisoftinc/Sharpmake | Sharpmake/Strings.cs | https://github.com/ubisoftinc/Sharpmake/blob/HEAD/Sharpmake/Strings.cs | ghcode:00000:6de2354e6743 | apache-2.0 | codeparrot/github-code | 6de2354e674386e575f7367475747079a21afdc4c335ac6c5ee61eb7b86585ab | 0.7 | testing_debugging_repair_refactoring | 3,584 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpChanTests.Extensions.Common {
[TestClass]
public class IEnumerableExtesnionsTests {
}
}
| marcin-chwedczuk/sharpChan | cs-chan-tests/Extensions/Common/IEnumerableExtensionsTests.cs | https://github.com/marcin-chwedczuk/sharpChan/blob/HEAD/cs-chan-tests/Extensions/Common/IEnumerableExtensionsTests.cs | ghcode:00000:5802b6a80557 | apache-2.0 | codeparrot/github-code | 5802b6a80557e861597bf850592a0d1a4d7c01ce50caef810dc7a0045ee73c97 | 0.75 | testing_debugging_repair_refactoring | 51 | false | 2026-07-17 |
using System.Security.Principal;
using Moq;
using PlantUmlStudio.Core.Security;
using Xunit;
namespace Tests.Unit.PlantUmlStudio.Core.Security
{
public class WindowsSecurityServiceTests
{
public WindowsSecurityServiceTests()
{
securityService = new WindowsSecurityService(() => principal.Object);
}
[Theo... | mthamil/PlantUMLStudio | Tests.Unit/PlantUmlStudio.Core/Security/WindowsSecurityServiceTests.cs | https://github.com/mthamil/PlantUMLStudio/blob/HEAD/Tests.Unit/PlantUmlStudio.Core/Security/WindowsSecurityServiceTests.cs | ghcode:00000:c229f498a6be | apache-2.0 | codeparrot/github-code | c229f498a6be1ab1fe939491c83ba91fedaa21d8d4424be32be4d20a18f2fbe7 | 0.85 | testing_debugging_repair_refactoring | 256 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Mvc;
namespace MvcSample.Web.Components
{
public class ComponentWithLayout : ViewComponent
{
public IViewComponentResult Invoke()
... | aspnet/AspNetCore | src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithLayout.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithLayout.cs | ghcode:00000:6a1c0468e55d | apache-2.0 | codeparrot/github-code | 6a1c0468e55de6f743ead54cce10a009e8ca2aba207026aa8d341bad3237a90a | 0.85 | testing_debugging_repair_refactoring | 83 | false | 2026-07-17 |
/*
* Copyright 2014, 2015 James Geall
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | jageall/IdentityServer.v3.AdminModule | Source/MongoDb.AdminModule.Tests/CleanUpRefreshTokens.cs | https://github.com/jageall/IdentityServer.v3.AdminModule/blob/HEAD/Source/MongoDb.AdminModule.Tests/CleanUpRefreshTokens.cs | ghcode:00000:8de423e1ad39 | apache-2.0 | codeparrot/github-code | 8de423e1ad3962f64e4c8f3beab805a74275ae66b5c1d5a009117e59170133fb | 0.6 | testing_debugging_repair_refactoring | 471 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.IO.Abstractions;
using System.IO.Abstractions.TestingHelpers;
using System.Linq;
using System.Threading.Tasks;
using Kudu.Contracts.Diagnostics;
using Kudu.Contracts.Tracing;
using Kudu.Core;
using Kudu.Core.Infra... | onesmartguy/e13-kudu | Kudu.Services.Test/ApplicationLogsReaderFacts.cs | https://github.com/onesmartguy/e13-kudu/blob/HEAD/Kudu.Services.Test/ApplicationLogsReaderFacts.cs | ghcode:00000:a2596164a708 | apache-2.0 | codeparrot/github-code | a2596164a70844902e6c292f5bb3d808f5105674f20e885d97c0d6fa1c3da803 | 0.7 | testing_debugging_repair_refactoring | 8,276 | false | 2026-07-17 |
using Abot.Core;
using Moq;
using NUnit.Framework;
using System;
namespace Abot.Tests.Unit.Core
{
[TestFixture]
public class MemoryManagerTest
{
MemoryManager _uut;
Mock<IMemoryMonitor> _fakeMemoryManager;
[SetUp]
public void SetUp()
{
_fakeMemoryManage... | fyang0321/WebCrawler | Abot.Tests.Unit/Core/MemoryManagerTest.cs | https://github.com/fyang0321/WebCrawler/blob/HEAD/Abot.Tests.Unit/Core/MemoryManagerTest.cs | ghcode:00000:c1e543516e01 | apache-2.0 | codeparrot/github-code | c1e543516e01cf7764370f6f8da723050136e825c136d63dbaf649131af0a56c | 0.75 | testing_debugging_repair_refactoring | 461 | 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.
#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http.HPack;
using System.Text;
namespace System.Net.Http.QPack
{
internal static cl... | aspnet/AspNetCore | src/Shared/runtime/Http3/QPack/QPackEncoder.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Shared/runtime/Http3/QPack/QPackEncoder.cs | ghcode:00000:56545119f298 | apache-2.0 | codeparrot/github-code | 56545119f298a3be6964ab34cd8cb8f5d3159b5d0523911373925a1abda1954e | 0.85 | testing_debugging_repair_refactoring | 3,321 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.IO;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.Routing.Internal;
namespace RoutingWebSite
{
// This controller i... | aspnet/AspNetCore | src/Mvc/test/WebSites/RoutingWebSite/Controllers/DebugController.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/WebSites/RoutingWebSite/Controllers/DebugController.cs | ghcode:00000:c7739e5a20ec | apache-2.0 | codeparrot/github-code | c7739e5a20ec9545da59b13aa554de228f9204cc7a9d524cec91c22a622a3bf5 | 0.95 | testing_debugging_repair_refactoring | 168 | 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.a... | citizenmatt/gallio | src/Gallio/Gallio.Tests/Common/Reflection/ReflectorTest.cs | https://github.com/citizenmatt/gallio/blob/HEAD/src/Gallio/Gallio.Tests/Common/Reflection/ReflectorTest.cs | ghcode:00000:215b06c85211 | apache-2.0 | codeparrot/github-code | 215b06c85211620daa13ae593d997ef6d3b92d110b48b7d0b7ade542f505b54f | 0.7 | testing_debugging_repair_refactoring | 1,114 | false | 2026-07-17 |
using Xunit;
namespace Digipost.Signature.Api.Client.Core.Tests
{
public class SenderTests
{
public class ConstructorMethod : SenderTests
{
[Fact]
public void Simple_constructor()
{
//Arrange
const string organizationNumber = ... | digipost/signature-api-client-dotnet | Digipost.Signature.Api.Client.Core.Tests/SenderTests.cs | https://github.com/digipost/signature-api-client-dotnet/blob/HEAD/Digipost.Signature.Api.Client.Core.Tests/SenderTests.cs | ghcode:00000:3bda903318b5 | apache-2.0 | codeparrot/github-code | 3bda903318b582c5e60651f26bd1cfec90747b3dc6432cbcc10cc130d193d02f | 0.85 | testing_debugging_repair_refactoring | 103 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Net.Pkcs11Interop.HighLevelAPI;
using Net.Pkcs11Interop.Tests.HighLevelAPI;
using Net.Pkcs11Interop.Tests;
using System.Collections.Generic;
using Net.Pkcs11Interop.Common;
using Net.Pkcs11Interop.HighLevelAPI.MechanismParams;
using Net.Pkcs11Inte... | thearkhelist/Pkcs11Interop | src/Pkcs11Interop/TestProject1/HighLevelAPI/CKM_GOSTR3410_DERIVE_Tests.cs | https://github.com/thearkhelist/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop/TestProject1/HighLevelAPI/CKM_GOSTR3410_DERIVE_Tests.cs | ghcode:00000:e947ac6b6ce0 | apache-2.0 | codeparrot/github-code | e947ac6b6ce0c3d294304d2a0487d5b006a5daec297cbb9b152cf26867a49bcf | 0.85 | testing_debugging_repair_refactoring | 735 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Akka.Streams.Dsl;
using Akka.Streams.Kafka.Dsl;
using Akka.Streams.Kafka.Helpers;
using Akka.Streams.Kafka.Messages;
using Akka.Streams.Kafka.Settings;
using Akka.Streams.TestKit;
using FluentAssertions;
using Xunit;
using Xunit.Abstractions;
namespa... | alexvaluyskiy/Akka.Streams.Kafka | src/Akka.Streams.Kafka.Tests/Integration/SourceWithOffsetContextIntegrationTests.cs | https://github.com/alexvaluyskiy/Akka.Streams.Kafka/blob/HEAD/src/Akka.Streams.Kafka.Tests/Integration/SourceWithOffsetContextIntegrationTests.cs | ghcode:00000:0c2ce31f96d4 | apache-2.0 | codeparrot/github-code | 0c2ce31f96d49f2488423d277fa63a9c5ff8c8bb1cdcdbe18131a266d1f60d57 | 0.75 | testing_debugging_repair_refactoring | 421 | false | 2026-07-17 |
using numl.Math.LinearAlgebra;
using NUnit.Framework;
using numl.Supervised.Regression;
namespace numl.Tests.SupervisedTests
{
[TestFixture, Category("Supervised")]
public class LogisticRegressionTests : BaseSupervised
{
[Test][Explicit][Category("Explicit")]
public void Logistic_Regressi... | nesfit/NetfoxDetective | Misc/Numl/numl.Tests/SupervisedTests/LogisticRegressionTests.cs | https://github.com/nesfit/NetfoxDetective/blob/HEAD/Misc/Numl/numl.Tests/SupervisedTests/LogisticRegressionTests.cs | ghcode:00000:59996be297d5 | apache-2.0 | codeparrot/github-code | 59996be297d54c7351091371034d423a58f560d228d36d18b7c887a6445be44b | 0.75 | testing_debugging_repair_refactoring | 1,814 | false | 2026-07-17 |
using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
using ReCommendedExtension.ContextActions;
namespace ReCommendedExtension.Tests.ContextActions
{
[TestFixture]
public sealed class AnnotateWithInstan... | prodot/ReCommended-Extension | Sources/ReCommendedExtension.Tests/ContextActions/AnnotateWithInstantHandleExecuteTests.cs | https://github.com/prodot/ReCommended-Extension/blob/HEAD/Sources/ReCommendedExtension.Tests/ContextActions/AnnotateWithInstantHandleExecuteTests.cs | ghcode:00000:152bd17e52ae | apache-2.0 | codeparrot/github-code | 152bd17e52aec208f1a30c546e15d2b09898922a421856c096d22c57802c8e69 | 0.75 | testing_debugging_repair_refactoring | 247 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Elasticsearch.Net.Integration.Yaml.Mget4
{
public partial class Mget4YamlTests
{
[NCrunch.Framework.ExclusivelyUses("ElasticsearchYamlTests")]
public class MissingMetadata1Tests : YamlTestsBase
{
[Test]
... | Grastveit/NEST | src/Tests/Elasticsearch.Net.Integration.Yaml/mget/13_missing_metadata.yaml.cs | https://github.com/Grastveit/NEST/blob/HEAD/src/Tests/Elasticsearch.Net.Integration.Yaml/mget/13_missing_metadata.yaml.cs | ghcode:00000:7a8969fe27b2 | apache-2.0 | codeparrot/github-code | 7a8969fe27b25e61e4420fb5350c5697c46bb17fe830f93fa49ddeb92a52697e | 0.95 | testing_debugging_repair_refactoring | 649 | false | 2026-07-17 |
using Xunit;
using Rabbit.WeiXin.DependencyInjection;
using Rabbit.WeiXin.MP.Messages;
using Rabbit.WeiXin.MP.Messages.Events;
using Rabbit.WeiXin.MP.Messages.Events.Card;
using Rabbit.WeiXin.MP.Messages.Events.CustomMenu;
using Rabbit.WeiXin.MP.Messages.Events.CustomService;
using Rabbit.WeiXin.MP.Messages.Events.WiF... | RabbitTeam/WeiXinSDK | test/Rabbit.WeiXin.Tests/RequestMessageFormatter.cs | https://github.com/RabbitTeam/WeiXinSDK/blob/HEAD/test/Rabbit.WeiXin.Tests/RequestMessageFormatter.cs | ghcode:00000:41e659dc028f | apache-2.0 | codeparrot/github-code | 41e659dc028f64558a6fc14280200e5f209425d2cb83a1c2248550b7b0657a46 | 0.7 | testing_debugging_repair_refactoring | 9,559 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TacticsGame.Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
//A change
}
}
}
| VSarazua/TacticsGame | TacticsGame.Tests/UnitTest1.cs | https://github.com/VSarazua/TacticsGame/blob/HEAD/TacticsGame.Tests/UnitTest1.cs | ghcode:00000:95ead8bf7d71 | apache-2.0 | codeparrot/github-code | 95ead8bf7d71fe3c0924bd17705a717f6faa35864223ccc7fc36aef00aa3b57f | 0.6 | testing_debugging_repair_refactoring | 51 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using strange.extensions.injector.api;
using strange.extensions.injector.impl;
using strange.extensions.reflector.api;
using strange.extensions.pool.api;
using strange.extensions.pool.impl;
using strange.framework.api;
using System.Collections.Generic;
using strange.framework.impl;
... | miccl/VisualiseR | Assets/Community_Assets/StrangeIoC/scripts/strange/.tests/extensions/injector/TestInjectionBinder.cs | https://github.com/miccl/VisualiseR/blob/HEAD/Assets/Community_Assets/StrangeIoC/scripts/strange/.tests/extensions/injector/TestInjectionBinder.cs | ghcode:00000:ac7a0f9f5f2c | apache-2.0 | codeparrot/github-code | ac7a0f9f5f2ce74cda6b9b82c6ec111d100fd3cdadc45c65e45517e425d065d7 | 0.85 | testing_debugging_repair_refactoring | 8,347 | false | 2026-07-17 |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using FluentAssertions;
using IdentityServer.UnitTests.Common;
u... | IdentityServer/IdentityServer4 | src/IdentityServer4/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests.cs | https://github.com/IdentityServer/IdentityServer4/blob/HEAD/src/IdentityServer4/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests.cs | ghcode:00000:fdb22547a7a2 | apache-2.0 | codeparrot/github-code | fdb22547a7a296b15633f8c21e11dd7658133a183e844bd59499558f39567b1e | 0.95 | testing_debugging_repair_refactoring | 1,053 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.Recommendations
{
[Test.... | ericfe-ms/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/ReplaceKeywordRecommenderTests.cs | https://github.com/ericfe-ms/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/ReplaceKeywordRecommenderTests.cs | ghcode:00000:b99562ce63bd | apache-2.0 | codeparrot/github-code | b99562ce63bd68038fee3c5d3bbe51bb519ab6dca82bafa0ad186b6492bffdfa | 0.75 | testing_debugging_repair_refactoring | 713 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using KayakoRestApi.Core.Constants;
using KayakoRestApi.Core.Troubleshooter;
using NUnit.Framework;
namespace KayakoRestApi.IntegrationTests.Troubleshooter
{
[TestFixture]
public class TroubleshooterStepTests : UnitTestBase
{
[Test]
public void GetAllTroubles... | kayako/dotnet-api-library | src/KayakoRestApi.IntegrationTests/Troubleshooter/TroubleshooterStepTests.cs | https://github.com/kayako/dotnet-api-library/blob/HEAD/src/KayakoRestApi.IntegrationTests/Troubleshooter/TroubleshooterStepTests.cs | ghcode:00000:7c1a29de38f8 | bsd-2-clause | codeparrot/github-code | 7c1a29de38f81163e2be48715aa2ec0c84a78483c67f738d9b1d69047e01a39c | 0.68 | testing_debugging_repair_refactoring | 1,021 | 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 condit... | ianbattersby/EventStore | src/EventStore/EventStore.Projections.Core.Tests/Services/awake_reader_service/when_handling_comitted_event.cs | https://github.com/ianbattersby/EventStore/blob/HEAD/src/EventStore/EventStore.Projections.Core.Tests/Services/awake_reader_service/when_handling_comitted_event.cs | ghcode:00000:210ffdfb2372 | bsd-3-clause | codeparrot/github-code | 210ffdfb2372586ca6c767d2a54d9f05947b268d661a4a822da849ba1925ed95 | 0.7 | testing_debugging_repair_refactoring | 619 | false | 2026-07-17 |
//
// Copyright (c) 2004-2018 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// 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 s... | nazim9214/NLog | tests/NLog.UnitTests/Targets/ConcurrentFileTargetTests.cs | https://github.com/nazim9214/NLog/blob/HEAD/tests/NLog.UnitTests/Targets/ConcurrentFileTargetTests.cs | ghcode:00000:72b043f7ffac | bsd-3-clause | codeparrot/github-code | 72b043f7ffaca51f9cedd7fbaec8cc01e45ce454e571cb34830c608d50918fc1 | 0.85 | testing_debugging_repair_refactoring | 2,737 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework;
using ServiceStack.Common.Extensions;
using ServiceStack.ServiceInterface.ServiceModel;
namespace ServiceStack.Common.Tests
{
public enum UserFileType
{
DefaultProfile,
OriginalProfile,
Profile75X75,
Profile66X66,
Profile63X63,
}
public class Test... | firstsee/ServiceStack | tests/ServiceStack.Common.Tests/ReflectionExtensionsTests.cs | https://github.com/firstsee/ServiceStack/blob/HEAD/tests/ServiceStack.Common.Tests/ReflectionExtensionsTests.cs | ghcode:00000:e896b3570ac0 | bsd-3-clause | codeparrot/github-code | e896b3570ac0e0867927a03710ed4b86c727de135fda31039fbe32d4eb93834d | 0.75 | testing_debugging_repair_refactoring | 608 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using CleanArchitecture.Domain.Customers;
using CleanArchitecture.Domain.Employees;
using CleanArchitecture.Domain.Products;
using NUnit.Framework;
namespace CleanArchitecture.Domain.Sales
{
[TestFixture]
public class SaleTests
{
p... | matthewrenze/clean-architecture-demo | Domain/Sales/SaleTests.cs | https://github.com/matthewrenze/clean-architecture-demo/blob/HEAD/Domain/Sales/SaleTests.cs | ghcode:00000:08a63ff50866 | bsd-3-clause | codeparrot/github-code | 08a63ff50866201ea1446b749dc8619ee28eb1fe173f69aa4b43f92f2cc5a595 | 0.75 | testing_debugging_repair_refactoring | 552 | false | 2026-07-17 |
#if DOTNET35
using System;
using MbUnit.Framework;
namespace Rhino.Mocks.Tests.FieldsProblem
{
[TestFixture]
public class FieldProblem_Dave
{
[Test]
public void CallingMethodTwiceAndAssertingWasCalledOnce()
{
// IFormatProvider was the first thing that popped... | brumschlag/rhino-tools | rhino-mocks/Rhino.Mocks.Tests/FieldsProblem/FieldProblem_Dave.cs | https://github.com/brumschlag/rhino-tools/blob/HEAD/rhino-mocks/Rhino.Mocks.Tests/FieldsProblem/FieldProblem_Dave.cs | ghcode:00000:79deb958c300 | bsd-3-clause | codeparrot/github-code | 79deb958c300ae229389859a2fc08edf0fcee561c64378a1124ccb9a1279013a | 0.7 | testing_debugging_repair_refactoring | 313 | false | 2026-07-17 |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using VsChromium.Core.Files;
namespace VsChromium.Tests.Core {
[TestClas... | chromium/vs-chromium | src/Tests/Core/TestCustomPathComparer.cs | https://github.com/chromium/vs-chromium/blob/HEAD/src/Tests/Core/TestCustomPathComparer.cs | ghcode:00000:6e1ee1c95a90 | bsd-3-clause | codeparrot/github-code | 6e1ee1c95a9013eb4db284eb44079c4aee3f769eb659e3d4aa7b77425226dafd | 0.95 | testing_debugging_repair_refactoring | 979 | false | 2026-07-17 |
using System.Linq;
using FasterTests.Core.Interfaces;
using FasterTests.Core.Interfaces.Integration;
namespace FasterTests.Core
{
public class TestRunnerBootstrapper : ITestRunnerBootstrapper
{
private readonly string _testAssemblyPath;
private readonly ITestInspector _testInspector;
p... | devoyster/FasterTests | Source/Core/TestRunnerBootstrapper.cs | https://github.com/devoyster/FasterTests/blob/HEAD/Source/Core/TestRunnerBootstrapper.cs | ghcode:00000:fb4dc7f49a83 | bsd-3-clause | codeparrot/github-code | fb4dc7f49a830acaa5ecdcea24bf111a303f33edc1518726835aa244f1f4fdd6 | 0.75 | testing_debugging_repair_refactoring | 222 | false | 2026-07-17 |
using System;
using Microsoft.Practices.ServiceLocation;
using NHibernate;
using Rhino.Security.Interfaces;
using Xunit;
using Rhino.Security.Model;
namespace Rhino.Security.Tests
{
public class UsersGroupsNotReturningAllAssociatedUsers: DatabaseFixture
{
private readonly long idMarcus;
... | ayende/rhino-security | Rhino.Security.Tests/UsersGroupsNotReturningAllAssociatedUsers.cs | https://github.com/ayende/rhino-security/blob/HEAD/Rhino.Security.Tests/UsersGroupsNotReturningAllAssociatedUsers.cs | ghcode:00000:a90732db0653 | bsd-3-clause | codeparrot/github-code | a90732db0653f4903baf3fc93a4bf808e865bd75e52d110f113e8013acdda6a5 | 0.6 | testing_debugging_repair_refactoring | 549 | 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.
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// Sorting.cs
//
// Sup... | shimingsg/corefx | src/System.Linq.Parallel/src/System/Linq/Parallel/Utils/Sorting.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Linq.Parallel/src/System/Linq/Parallel/Utils/Sorting.cs | ghcode:00000:2dc04d2b82a9 | mit | codeparrot/github-code | 2dc04d2b82a924ae911d028ab5e92003b52735fb051efca0a41c1aed86309e84 | 0.95 | testing_debugging_repair_refactoring | 5,886 | false | 2026-07-17 |
using System;
using System.Linq;
using EasyNetQ.Management.Client.Model;
using FluentAssertions;
using Newtonsoft.Json;
using Xunit;
namespace EasyNetQ.Management.Client.Tests.Model
{
public class PolicySerializationTests
{
private readonly Policy[] _policy;
public PolicySerializationTests()
... | EasyNetQ/EasyNetQ.Management.Client | Source/EasyNetQ.Management.Client.Tests/Model/PolicySerializationTests.cs | https://github.com/EasyNetQ/EasyNetQ.Management.Client/blob/HEAD/Source/EasyNetQ.Management.Client.Tests/Model/PolicySerializationTests.cs | ghcode:00000:1142b4d3565c | mit | codeparrot/github-code | 1142b4d3565c91dea44a57ba3bd707394892889e4eaf1b7b7870443788b12548 | 0.75 | testing_debugging_repair_refactoring | 1,003 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using JetBrains.Annotations;
using Microsoft.DotNet.PlatformAbstractions;
namespace BenchmarkDotNet.Toolchains.DotNetCli
{
[SuppressMessage("ReSharper", "InconsistentNaming")]
public abstract class CustomDo... | alinasmirnova/BenchmarkDotNet | src/BenchmarkDotNet/Toolchains/DotNetCli/CustomDotNetCliToolchainBuilder.cs | https://github.com/alinasmirnova/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Toolchains/DotNetCli/CustomDotNetCliToolchainBuilder.cs | ghcode:00000:29f85c6115fe | mit | codeparrot/github-code | 29f85c6115fea8f64c15c3114075b9b1cd3eb855866d39d49b267336e7db771c | 0.7 | testing_debugging_repair_refactoring | 1,151 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
#if UNITY_WSA || UNITY_STANDALONE_WIN
using UnityEngine.Windows.S... | paseb/MixedRealityToolkit-Unity | Assets/HoloToolkit/Input/Scripts/Utilities/Managers/InputManager.cs | https://github.com/paseb/MixedRealityToolkit-Unity/blob/HEAD/Assets/HoloToolkit/Input/Scripts/Utilities/Managers/InputManager.cs | ghcode:00000:f5ddf3e2ab02 | mit | codeparrot/github-code | f5ddf3e2ab026ffea2f5ef5332d25fc513499853b7b59b66fd98eb19560965fb | 0.7 | testing_debugging_repair_refactoring | 7,718 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.ServiceBus.UnitTests.API
{
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using ApprovalTest... | Azure/azure-sdk-for-net | sdk/servicebus/Microsoft.Azure.ServiceBus/tests/API/APIApprovals.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/servicebus/Microsoft.Azure.ServiceBus/tests/API/APIApprovals.cs | ghcode:00000:f73557c32205 | mit | codeparrot/github-code | f73557c322055fe0c502d572b81532a4c284bc38e454dde10b7123cbafa2ecf4 | 0.95 | testing_debugging_repair_refactoring | 605 | 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... | NikolayPianikov/nunit | src/NUnitFramework/framework/Constraints/ComparisonConstraint.cs | https://github.com/NikolayPianikov/nunit/blob/HEAD/src/NUnitFramework/framework/Constraints/ComparisonConstraint.cs | ghcode:00000:9b4b1b050b57 | mit | codeparrot/github-code | 9b4b1b050b575d992007895fbcf7d42242ef7653937f3f5f212a327e39d3c523 | 0.7 | testing_debugging_repair_refactoring | 1,162 | false | 2026-07-17 |
using Mendham.Domain;
using Mendham.Events;
using Moq;
using System.Threading.Tasks;
namespace Mendham.Testing.Moq
{
public class DomainFacadeMock
{
/// <summary>
/// Generates a mockable implementation of the domain facade
/// </summary>
/// <typeparam name="TDomainFacade">Typ... | Mendham/Mendham | src/Mendham.Testing.Domain.Moq/DomainFacadeMock.cs | https://github.com/Mendham/Mendham/blob/HEAD/src/Mendham.Testing.Domain.Moq/DomainFacadeMock.cs | ghcode:00000:7d1463b74b89 | apache-2.0 | codeparrot/github-code | 7d1463b74b89cf02dfbfd9925bbc718b52028bafc89cd81b031f0d983699007c | 0.7 | testing_debugging_repair_refactoring | 511 | 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/Brokerages/GDAX/GDAXBrokerageAdditionalTests.cs | https://github.com/Jay-Jay-D/LeanSTP/blob/HEAD/Tests/Brokerages/GDAX/GDAXBrokerageAdditionalTests.cs | ghcode:00000:ea7322e126c5 | apache-2.0 | codeparrot/github-code | ea7322e126c5d0a665eb2cdbff0808f6d2e3ed3eb91afb9817eef281f6704d24 | 0.85 | testing_debugging_repair_refactoring | 575 | false | 2026-07-17 |
#region License
/*
* 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
... | jorgebay/tinkerpop | gremlin-dotnet/test/Gremlin.Net.UnitTest/Process/Traversal/GraphTraversalSourceTests.cs | https://github.com/jorgebay/tinkerpop/blob/HEAD/gremlin-dotnet/test/Gremlin.Net.UnitTest/Process/Traversal/GraphTraversalSourceTests.cs | ghcode:00000:412b7c975eef | apache-2.0 | codeparrot/github-code | 412b7c975eef1249ec629b8a0976aa8663cf74f577712c28289c41a60d3cb813 | 0.85 | testing_debugging_repair_refactoring | 482 | 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 Roslyn.Utilities;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using... | AmadeusW/roslyn | src/Compilers/Core/CommandLine/BuildProtocol.cs | https://github.com/AmadeusW/roslyn/blob/HEAD/src/Compilers/Core/CommandLine/BuildProtocol.cs | ghcode:00000:1dafb8c5261f | apache-2.0 | codeparrot/github-code | 1dafb8c5261fdec2c0f272597e869cc212b8556b4842cfa85e02d199e923547e | 0.85 | testing_debugging_repair_refactoring | 4,251 | false | 2026-07-17 |
using ElmahLogAnalyzer.Core.Presentation;
using NUnit.Framework;
namespace ElmahLogAnalyzer.UnitTests.Presentation
{
[TestFixture]
public class SearchHttpUserAgentInformationEventArgsTests : UnitTestBase
{
[Test]
public void Ctor_SetsHttpUserAgentStringAndSearchLauncher()
{
// arrange
const string http... | sheryever/elmah-log-analyzer-with-custom-data | src/ElmahLogAnalyzer.UnitTests/Presentation/SearchHttpUserAgentInformationEventArgsTests.cs | https://github.com/sheryever/elmah-log-analyzer-with-custom-data/blob/HEAD/src/ElmahLogAnalyzer.UnitTests/Presentation/SearchHttpUserAgentInformationEventArgsTests.cs | ghcode:00000:85b11a56cade | apache-2.0 | codeparrot/github-code | 85b11a56cadea02a778e1229eef6b507132abe8f8368562993d1d19385b0a638 | 0.85 | testing_debugging_repair_refactoring | 171 | false | 2026-07-17 |
#region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2016 Leandro F. Vieira (leandromoh). 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 Licen... | fsateler/MoreLINQ | MoreLinq.Test/CountByTest.cs | https://github.com/fsateler/MoreLINQ/blob/HEAD/MoreLinq.Test/CountByTest.cs | ghcode:00000:a7507f75d579 | apache-2.0 | codeparrot/github-code | a7507f75d57954d8cbf24b6553becb6f5749f5cc47279556ff4a63f8c8abd576 | 0.7 | testing_debugging_repair_refactoring | 797 | false | 2026-07-17 |
// Copyright 2018 Google 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 required by applicabl... | GoogleCloudPlatform/google-cloud-visualstudio | GoogleCloudExtension/GoogleCloudExtensionUnitTests/FirewallManagement/PortChangesTests.cs | https://github.com/GoogleCloudPlatform/google-cloud-visualstudio/blob/HEAD/GoogleCloudExtension/GoogleCloudExtensionUnitTests/FirewallManagement/PortChangesTests.cs | ghcode:00000:91a4ee8533a1 | apache-2.0 | codeparrot/github-code | 91a4ee8533a115a71ca1e92cf95e2f5b21c30fdfccb960f5ee87cb200850ee5b | 0.85 | testing_debugging_repair_refactoring | 692 | false | 2026-07-17 |
using Bridge.Test.NUnit;
using System;
using System.Globalization;
namespace Bridge.ClientTest.Format
{
[Category(Constants.MODULE_NUMBERFORMATINFO)]
[TestFixture(TestNameFormat = "NumberFormatSpecifiersTests - {0}")]
public class NumberFormatSpecifiersTests
{
[Test]
public void Curre... | AndreyZM/Bridge | Tests/Batch1/Format/NumberFormatSpecifiersTests.cs | https://github.com/AndreyZM/Bridge/blob/HEAD/Tests/Batch1/Format/NumberFormatSpecifiersTests.cs | ghcode:00000:56a3324b7a82 | apache-2.0 | codeparrot/github-code | 56a3324b7a821d3e1dfa51bed121c241289c1313025e42871d76a8fc2bbb4095 | 0.75 | testing_debugging_repair_refactoring | 2,460 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Linq;
using FluentNHibernate.Mapping;
using FluentNHibernate.MappingModel.Output;
using Machine.Specifications;
using Machine.Specifications.Model;
using FluentAssertions;
namespace FluentNHibernate.Specs.FluentInterface
{
public class when_generatin... | HermanSchoenfeld/fluent-nhibernate | src/FluentNHibernate.Specs/FluentInterface/ExternalComponentOutputSpecs.cs | https://github.com/HermanSchoenfeld/fluent-nhibernate/blob/HEAD/src/FluentNHibernate.Specs/FluentInterface/ExternalComponentOutputSpecs.cs | ghcode:00000:05c8b286ea3e | bsd-3-clause | codeparrot/github-code | 05c8b286ea3e8c602e588cd3ceb19485ef339f1574cef1c127e9e62653d50e8b | 0.6 | testing_debugging_repair_refactoring | 447 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2008-2015 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... | OmicronPersei/nunit | src/NUnitFramework/framework/Attributes/TestCaseSourceAttribute.cs | https://github.com/OmicronPersei/nunit/blob/HEAD/src/NUnitFramework/framework/Attributes/TestCaseSourceAttribute.cs | ghcode:00000:79497f59889f | mit | codeparrot/github-code | 79497f59889f2851dec39c4745975397fc8877567c2cee02d29268591890d973 | 0.85 | testing_debugging_repair_refactoring | 2,500 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using Assert = Lucene.Net.TestFramework.Assert;
namespace Lucene.Net.Search
{
/*
* 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 r... | apache/lucenenet | src/Lucene.Net.Tests/Search/TestCachingCollector.cs | https://github.com/apache/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Search/TestCachingCollector.cs | ghcode:00000:122dc2130f70 | apache-2.0 | codeparrot/github-code | 122dc2130f706d00492388e41d8ef005447af66451ae15b932d7c5852e1b32d7 | 0.85 | testing_debugging_repair_refactoring | 1,609 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Reflection.Metadata;
using Microsoft.CodeAnalysis.CSharp.Symbol... | ericfe-ms/roslyn | src/Compilers/CSharp/Portable/Symbols/Metadata/PE/DynamicTypeDecoder.cs | https://github.com/ericfe-ms/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Metadata/PE/DynamicTypeDecoder.cs | ghcode:00000:ad8fa38d3e20 | apache-2.0 | codeparrot/github-code | ad8fa38d3e20f37d52c3d593abd4317da534932254532e4346630e762e2d9112 | 0.85 | testing_debugging_repair_refactoring | 2,748 | false | 2026-07-17 |
// <copyright file="BetaTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2016 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this s... | albertp007/mathnet-numerics | src/UnitTests/DistributionTests/Continuous/BetaTests.cs | https://github.com/albertp007/mathnet-numerics/blob/HEAD/src/UnitTests/DistributionTests/Continuous/BetaTests.cs | ghcode:00000:444ecd86a5be | mit | codeparrot/github-code | 444ecd86a5bebfc4f36e780b9f0554f8c5fab1139ef86a5939a927c48d97877d | 0.85 | testing_debugging_repair_refactoring | 5,694 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Baseline;
using Marten.Testing.Events;
using Marten.Testing.Events.Projections;
using Shouldly;
namespace Marten.Testing.Examples
{
public class event_store_quickstart
{
public void capture_events()
{
// SAMPLE: event-store-q... | jokokko/marten | src/Marten.Testing/Examples/event_store_quickstart.cs | https://github.com/jokokko/marten/blob/HEAD/src/Marten.Testing/Examples/event_store_quickstart.cs | ghcode:00000:fbb47bbf3ddc | mit | codeparrot/github-code | fbb47bbf3ddc3798de080ebaaacb35a770ff3b80dcf8f7a4264be436a0e4c5f0 | 0.7 | testing_debugging_repair_refactoring | 1,161 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ActorDslSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//--... | skotzko/akka.net | src/core/Akka.Tests/Actor/ActorDslSpec.cs | https://github.com/skotzko/akka.net/blob/HEAD/src/core/Akka.Tests/Actor/ActorDslSpec.cs | ghcode:00000:5b31c52f286b | apache-2.0 | codeparrot/github-code | 5b31c52f286b0fe0de24a32ececa0e26ef1c4ecf3f6522b25943085485c76fe8 | 0.85 | testing_debugging_repair_refactoring | 1,002 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using Lucene.Net.Analysis;
using Lucene.Net.Documents;
using Lucene.Net.Index;
using Lucene.Net.Util;
using Version = System.Version;
namespace Lucene.Net.Search.Suggest.Analyzing
{
/*
* Licensed to the Apache Softwar... | jpsullivan/lucenenet | src/Lucene.Net.Suggest/Suggest/Analyzing/BlendedInfixSuggester.cs | https://github.com/jpsullivan/lucenenet/blob/HEAD/src/Lucene.Net.Suggest/Suggest/Analyzing/BlendedInfixSuggester.cs | ghcode:00000:babc70455dfc | apache-2.0 | codeparrot/github-code | babc70455dfc437ef9e42f10d855263140fd6b117f6a88cdef885de582317847 | 0.7 | testing_debugging_repair_refactoring | 2,320 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Net.NetworkInformation;
using Saule;
using Saule.Queries;
using Saule.Queries.Pagination;
using Tests.Helpers;
using Tests.Models;
using Xunit;
namespace Tests.Queries
{
public class PaginationInterpreterTests
{
private static Paginatio... | sergey-litvinov-work/saule | Tests/Queries/PaginationInterpreterTests.cs | https://github.com/sergey-litvinov-work/saule/blob/HEAD/Tests/Queries/PaginationInterpreterTests.cs | ghcode:00000:8095e7c14d4e | mit | codeparrot/github-code | 8095e7c14d4ef49ba1cae9018b5d1f423f2fcaf810b00944dea81603fff59833 | 0.75 | testing_debugging_repair_refactoring | 790 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2014 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... | OmicronPersei/nunit | src/NUnitFramework/nunitlite.tests/MakeRunSettingsTests.cs | https://github.com/OmicronPersei/nunit/blob/HEAD/src/NUnitFramework/nunitlite.tests/MakeRunSettingsTests.cs | ghcode:00000:effc41fba3d4 | mit | codeparrot/github-code | effc41fba3d46e174f7755974f095a0b806251f1eacbdbcea8c16c0aea526f11 | 0.85 | testing_debugging_repair_refactoring | 542 | false | 2026-07-17 |
// Copyright 2009-2015 Josh Close and Contributors
// This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0.
// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0.
// http://csvhelper.co... | KeesDijk/CsvHelper | src/CsvHelper.Tests/CsvWriterTests.cs | https://github.com/KeesDijk/CsvHelper/blob/HEAD/src/CsvHelper.Tests/CsvWriterTests.cs | ghcode:00000:534c34434816 | apache-2.0 | codeparrot/github-code | 534c3443481656fd24833ecba6488b7611aa19073c87cd2841859dc1b34908d6 | 0.85 | testing_debugging_repair_refactoring | 6,133 | false | 2026-07-17 |
using NUnit.Framework;
using Palaso.Progress;
using Palaso.UI.WindowsForms.Progress;
namespace PalasoUIWindowsForms.Tests.Progress
{
[TestFixture]
public class MultiPhaseProgressIndicatorTests
{
[Test]
public void FivePhase_ProgressesNormally()
{
var globalIndicator = new SimpleProgressIndicator();
var... | darcywong00/libpalaso | PalasoUIWindowsForms.Tests/Progress/ProgressIndicatorTests.cs | https://github.com/darcywong00/libpalaso/blob/HEAD/PalasoUIWindowsForms.Tests/Progress/ProgressIndicatorTests.cs | ghcode:00000:ae7f73654109 | mit | codeparrot/github-code | ae7f73654109be80867acd129d235d5e2d75a6f6676b9afa7a3f0ba1fa2e53a9 | 0.85 | testing_debugging_repair_refactoring | 324 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using LinqToDB;
using NUnit.Framework;
namespace Tests.Linq
{
using Model;
[TestFixture]
public class SubQueryTests : TestBase
{
[Test, DataContextSource]
public void Test1(string context)
{
using (var db = GetDataCon... | sdanyliv/linq2db | Tests/Linq/Linq/SubQueryTests.cs | https://github.com/sdanyliv/linq2db/blob/HEAD/Tests/Linq/Linq/SubQueryTests.cs | ghcode:00000:4268ef9bc776 | mit | codeparrot/github-code | 4268ef9bc776bda8d3e022b94125ba3d3f94414ff2d556512f81e2fc9c3dcca5 | 0.75 | testing_debugging_repair_refactoring | 5,352 | false | 2026-07-17 |
using System.Net;
using NUnit.Framework;
using SevenDigital.Api.Schema.Users.Payment;
using SevenDigital.Api.Wrapper.Responses;
using SevenDigital.Api.Wrapper.Responses.Parsing;
namespace SevenDigital.Api.Wrapper.Unit.Tests.Parsing.Users.Payments
{
[TestFixture]
public class AddCardsTests
{
private co... | minkaotic/SevenDigital.Api.Wrapper | src/SevenDigital.Api.Wrapper.Unit.Tests/Parsing/Users/Payments/Cards_unit_tests.cs | https://github.com/minkaotic/SevenDigital.Api.Wrapper/blob/HEAD/src/SevenDigital.Api.Wrapper.Unit.Tests/Parsing/Users/Payments/Cards_unit_tests.cs | ghcode:00000:2395bd3b3594 | mit | codeparrot/github-code | 2395bd3b35949753068beda35b395ec40505657644d4a655a75dfb305a7c4809 | 0.85 | testing_debugging_repair_refactoring | 346 | false | 2026-07-17 |
/*
* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* i... | haithemaraissia/CocosSharp | box2d/Dynamics/Contacts/b2PolygonAndCircleContact.cs | https://github.com/haithemaraissia/CocosSharp/blob/HEAD/box2d/Dynamics/Contacts/b2PolygonAndCircleContact.cs | ghcode:00000:4556e0beb243 | mit | codeparrot/github-code | 4556e0beb243768e0759c0c13daba76bec43f3ca531d72050e5fdc08bfe3c6b9 | 0.85 | testing_debugging_repair_refactoring | 452 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace ServiceFabric.Tests.Tests
{
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Management.Resources.Models;
using Microsoft.A... | brjohnstmsft/azure-sdk-for-net | sdk/servicefabric/Microsoft.Azure.Management.ServiceFabric/tests/Tests/ServiceFabricTestBase.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/servicefabric/Microsoft.Azure.Management.ServiceFabric/tests/Tests/ServiceFabricTestBase.cs | ghcode:00000:a03c4fe61d7c | mit | codeparrot/github-code | a03c4fe61d7c1ad21f99638a8d92e4c89e9ceeb1131844d55931f355aea71e31 | 0.95 | testing_debugging_repair_refactoring | 741 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
using Xunit.Abstractions;
using System;
using System.IO;
using System.Xml;
using System.Xml.XPath;
usin... | shmao/corefx | src/System.Private.Xml/tests/Xslt/XslCompiledTransformApi/XsltArgumentListMultith.cs | https://github.com/shmao/corefx/blob/HEAD/src/System.Private.Xml/tests/Xslt/XslCompiledTransformApi/XsltArgumentListMultith.cs | ghcode:00000:5b3b845d193b | mit | codeparrot/github-code | 5b3b845d193b8f2ec0d1a91f906cbafe6e00950d4101e3ce5f36380a715aea08 | 0.95 | testing_debugging_repair_refactoring | 2,857 | false | 2026-07-17 |
using System;
using System.IO;
using System.Reflection;
namespace LightupClient
{
public static class Program
{
public static int Main(string[] args)
{
Assembly asmGreet = null;
int iRetVal = 0;
try
{
asmGreet = Assembly.Load(new ... | chcosta/core-setup | src/test/Assets/TestProjects/LightupClient/Program.cs | https://github.com/chcosta/core-setup/blob/HEAD/src/test/Assets/TestProjects/LightupClient/Program.cs | ghcode:00000:60e88163c841 | mit | codeparrot/github-code | 60e88163c84113364fc9a41615bfd9b7e97c5748f406dcca304444c44e00dddd | 0.85 | testing_debugging_repair_refactoring | 198 | false | 2026-07-17 |
using System;
using System.Reflection;
namespace Ploeh.AutoFixture.Xunit2
{
/// <summary>
/// An attribute that can be applied to parameters in an <see cref="AutoDataAttribute"/>-driven
/// Theory to indicate that the parameter value should not have properties auto populated
/// when the <see cref="IF... | yuva2achieve/AutoFixture | Src/AutoFixture.xUnit.net2/NoAutoPropertiesAttribute.cs | https://github.com/yuva2achieve/AutoFixture/blob/HEAD/Src/AutoFixture.xUnit.net2/NoAutoPropertiesAttribute.cs | ghcode:00000:709b74df2b85 | mit | codeparrot/github-code | 709b74df2b8514f00bfc93e1e4d56d57254ab5c7ceeef76ccbcd61ff8e8bfdaa | 0.7 | testing_debugging_repair_refactoring | 271 | 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.PortsTests;
using System.Text;
using System.Threading;
using Legacy.Suppor... | billwert/corefx | src/System.IO.Ports/tests/SerialStream/ReadByte_Generic.cs | https://github.com/billwert/corefx/blob/HEAD/src/System.IO.Ports/tests/SerialStream/ReadByte_Generic.cs | ghcode:00000:69e94317464a | mit | codeparrot/github-code | 69e94317464a56ec71a7db2caaea9f7d8b1825a667f837f4c6a42e0fb4acb9db | 0.95 | testing_debugging_repair_refactoring | 3,283 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Xml;
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.... | nikson/msbuild | src/OrcasEngine/UnitTests/Expander_Tests.cs | https://github.com/nikson/msbuild/blob/HEAD/src/OrcasEngine/UnitTests/Expander_Tests.cs | ghcode:00000:010b9aef8fb6 | mit | codeparrot/github-code | 010b9aef8fb64d2646a00c92cdd48657daa7af9b44609657b201789de3ffe492 | 0.72 | testing_debugging_repair_refactoring | 16,781 | false | 2026-07-17 |
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,... | zhoffice/nodejstools | Nodejs/Tests/Core/BaselineCompare.cs | https://github.com/zhoffice/nodejstools/blob/HEAD/Nodejs/Tests/Core/BaselineCompare.cs | ghcode:00000:f76136be1ca4 | apache-2.0 | codeparrot/github-code | f76136be1ca47bf72b6fac2089943c2233ff9be6566b6f81a36f8d5345e9185c | 0.95 | testing_debugging_repair_refactoring | 731 | 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.Delete5
{
public partial class Delete5YamlTests
{
[NCrunch.Framework.ExclusivelyUses("Ela... | joehmchan/elasticsearch-net | src/Tests/Elasticsearch.Net.Integration.Yaml/delete/27_force_version.yaml.cs | https://github.com/joehmchan/elasticsearch-net/blob/HEAD/src/Tests/Elasticsearch.Net.Integration.Yaml/delete/27_force_version.yaml.cs | ghcode:00000:9e9c62405ce2 | apache-2.0 | codeparrot/github-code | 9e9c62405ce231d9954f1ec361a5654b17186a2790be899ec8f635cdd363ba0e | 0.95 | testing_debugging_repair_refactoring | 444 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Buffers;
using System.Buffers.Text;
using System.Diagnostics;
namespace System.Text.Json
{
public... | shimingsg/corefx | src/System.Text.Json/src/System/Text/Json/Writer/Utf8JsonWriter.WriteValues.Decimal.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Text.Json/src/System/Text/Json/Writer/Utf8JsonWriter.WriteValues.Decimal.cs | ghcode:00000:854ebe42fb08 | mit | codeparrot/github-code | 854ebe42fb085916a03ff687cdbbb9aed98559daa14c8a5943e3f01a0a83fb13 | 0.95 | testing_debugging_repair_refactoring | 612 | 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.Security.Principal;
using System.Threading.Tasks;
na... | BrennanConroy/corefx | src/System.ServiceProcess.ServiceController/tests/TestServiceProvider.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.ServiceProcess.ServiceController/tests/TestServiceProvider.cs | ghcode:00000:6d045619f092 | mit | codeparrot/github-code | 6d045619f0926525bd3fe02286db20c3ae26bceb870de6da0767b3cd53c2a50b | 0.95 | testing_debugging_repair_refactoring | 944 | 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.Text;
using Xunit;
namespace System.Text.EncodingTests
{
public class DecoderReset
{
#region Positive Test Cases
// ... | dkorolev/corefx | src/System.Text.Encoding/tests/Decoder/DecoderReset.cs | https://github.com/dkorolev/corefx/blob/HEAD/src/System.Text.Encoding/tests/Decoder/DecoderReset.cs | ghcode:00000:723f818819c6 | mit | codeparrot/github-code | 723f818819c62b564785f4680242181467eab34543f415ae7ba5439e6ec90de0 | 0.95 | testing_debugging_repair_refactoring | 468 | 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 Microsoft.Win32.SafeHandles;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Sy... | nbarbettini/corefx | src/System.IO.Pipes.AccessControl/tests/NamedPipeTests/NamedPipeTest.AclExtensions.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.IO.Pipes.AccessControl/tests/NamedPipeTests/NamedPipeTest.AclExtensions.cs | ghcode:00000:b5015dd7cbb5 | mit | codeparrot/github-code | b5015dd7cbb55d74491688e278508af18ea60443f8fcd6c76674131bc6133b21 | 0.95 | testing_debugging_repair_refactoring | 1,614 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FiscalizationTest
{
[TestClass]
public class FiscalizationInteropTest
{
TestEnvironment Demo = TestEnvironment.Create();
[TestMethod]
public void TestInvoiceRequest()
{
var com = new FiscalizationComInterop();
var result = ... | tgrospic/Cis.Fiscalization | test/FiscalizationCom/FiscalizationInteropTest.cs | https://github.com/tgrospic/Cis.Fiscalization/blob/HEAD/test/FiscalizationCom/FiscalizationInteropTest.cs | ghcode:00000:9deaa7dd9c21 | mit | codeparrot/github-code | 9deaa7dd9c21797161cb6ac9884356905c7ee2c6140a1c5d017f92caf95655ce | 0.6 | testing_debugging_repair_refactoring | 304 | false | 2026-07-17 |
using MediaFoundation;
namespace Mntone.TwitterVideoUploader.Core.FormatChecker
{
internal static class AudioMediaTypeExtension
{
public static int GetChannel(this IMFMediaType mediaType)
{
System.Diagnostics.Debug.Assert(mediaType.GetIsAudio());
int channels;
var hr = mediaType.GetUINT32(MFAttributes... | mntone/TwitterVideoUploader | Mntone.TwitterVideoUploader/Core/FormatChecker/Extensions/AudioMediaTypeExtension.cs | https://github.com/mntone/TwitterVideoUploader/blob/HEAD/Mntone.TwitterVideoUploader/Core/FormatChecker/Extensions/AudioMediaTypeExtension.cs | ghcode:00000:0fd0af61556c | mit | codeparrot/github-code | 0fd0af61556c2425f77dd71a9766e6f866b90dd769ea9052cf79d0d5a66f20db | 0.6 | testing_debugging_repair_refactoring | 388 | false | 2026-07-17 |
namespace HashTable.Tests
{
using System;
using HashTable.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class FindOperationTests
{
[TestMethod]
[ExpectedException(typeof(ArgumentNullException))]
public void FindWithNullKeyTest()
... | vladislav-karamfilov/TelerikAcademy | Data Structures and Algorithms Projects/Homework-HashTablesAndSets/HashTable.Tests/FindOperationTests.cs | https://github.com/vladislav-karamfilov/TelerikAcademy/blob/HEAD/Data Structures and Algorithms Projects/Homework-HashTablesAndSets/HashTable.Tests/FindOperationTests.cs | ghcode:00000:1a8f2e46b2ea | mit | codeparrot/github-code | 1a8f2e46b2ea4c77053c6bba7c2888c15fc9fe46a74b3c63f70cc4c3feaa473b | 0.75 | testing_debugging_repair_refactoring | 351 | false | 2026-07-17 |
using System;
using NUnit.Framework;
[TestFixture]
public class RewritingConstructors
{
private Type sampleClassType;
Type classToExcludeType;
[SetUp]
public void SetUp()
{
sampleClassType = AssemblyWeaver.Assemblies[0].GetType("SimpleClass");
classToExcludeType = AssemblyWeaver.A... | shana/NullGuard | Tests/RewritingConstructors.cs | https://github.com/shana/NullGuard/blob/HEAD/Tests/RewritingConstructors.cs | ghcode:00000:461d85afa095 | mit | codeparrot/github-code | 461d85afa0955ea3d6512506e0255ba74b2d250d267840d9bc3115bfff96507f | 0.6 | testing_debugging_repair_refactoring | 301 | false | 2026-07-17 |
using System.Collections.Generic;
using AlgorithmSandbox.Chapter8;
using Xunit;
namespace AlgorithmSandbox.Tests.Chapter8
{
public class Question6Tests
{
[Fact]
public void Test()
{
var tower = new Stack<int>();
tower.Push(5);
tower.Push(4);
... | alexandrnikitin/algorithm-sandbox | csharp/tests/AlgorithmSandbox.Tests/Chapter8/Question6Tests.cs | https://github.com/alexandrnikitin/algorithm-sandbox/blob/HEAD/csharp/tests/AlgorithmSandbox.Tests/Chapter8/Question6Tests.cs | ghcode:00000:14ece17223e5 | mit | codeparrot/github-code | 14ece17223e52217fcde6d97ade46e1272fb199c88bdbf468e3be8de852944f2 | 0.85 | testing_debugging_repair_refactoring | 145 | false | 2026-07-17 |
namespace NodeTest.JobHandlers
{
public class TestReportProgressJobParams
{
public TestReportProgressJobParams(string dummy,
string name)
{
Name = name;
Dummy = dummy;
}
public string Dummy { get; private set; }
public string Name { get; private set; }
}
} | Teleopti/Stardust | Node/NodeTest.JobHandlers/TestReportProgressJobParams.cs | https://github.com/Teleopti/Stardust/blob/HEAD/Node/NodeTest.JobHandlers/TestReportProgressJobParams.cs | ghcode:00000:fa70a5eb4db3 | mit | codeparrot/github-code | fa70a5eb4db3a806c2067fb3c037e135c605ee03718f9c5d9d4c078f0250a205 | 0.75 | testing_debugging_repair_refactoring | 74 | false | 2026-07-17 |
using System;
using Moq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Cache;
using Umbraco.Core.Composing;
using Umbraco.Core.Logging;
namespace Umbraco.Tests.Composing
{
[TestFixture]
public class CompositionTests
{
[Test]
public void FactoryIsResolvable()
{
... | rasmuseeg/Umbraco-CMS | src/Umbraco.Tests/Composing/CompositionTests.cs | https://github.com/rasmuseeg/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Composing/CompositionTests.cs | ghcode:00000:90fd514578b6 | mit | codeparrot/github-code | 90fd514578b66c990d7dcaa34e11b9efb1f6692e368ef1092717203bc7b69269 | 0.85 | testing_debugging_repair_refactoring | 380 | false | 2026-07-17 |
using AgateLib.Collections.Generic;
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace AgateLib.UnitTests.Collections
{
public class BinaryTreeTests
{
[Fact]
public void BinaryTree_Empty()
{
var tree = new Binar... | eylvisaker/AgateLib | tests/AgateLib.UnitTests/Collections/BinaryTreeTests.cs | https://github.com/eylvisaker/AgateLib/blob/HEAD/tests/AgateLib.UnitTests/Collections/BinaryTreeTests.cs | ghcode:00000:0711ad693fa9 | mit | codeparrot/github-code | 0711ad693fa9083931d9bb83669ed9308a279f4d1f6460fca3329ec8b440285e | 0.85 | testing_debugging_repair_refactoring | 1,521 | false | 2026-07-17 |
using System;
using Ghpr.Core.Core.Common;
using Ghpr.Core.Core.Services;
using Ghpr.Core.Core.Settings;
using Ghpr.Core.Core.Utils;
using NUnit.Framework;
namespace Ghpr.Tests.Core.Services
{
[TestFixture]
public class DataWriterServiceTests
{
[Test]
public void TestCreation()
{
... | GHPReporter/Ghpr.Core | Ghpr.Tests/Core/Services/DataWriterServiceTests.cs | https://github.com/GHPReporter/Ghpr.Core/blob/HEAD/Ghpr.Tests/Core/Services/DataWriterServiceTests.cs | ghcode:00000:0e58c878c88b | mit | codeparrot/github-code | 0e58c878c88bd733b344070c95e80b2f0b09f7b4c9e3f41ed916cf8a3bfec20b | 0.75 | testing_debugging_repair_refactoring | 387 | false | 2026-07-17 |
using System.Data;
using System.Data.Common;
using System.Collections.Generic;
using NUnit.Framework;
using System.Xml;
namespace ADO.Net.DataAccessLayer.SqlServer.Tests
{
[TestFixture]
public class When_executing_XmlReader_command : CommonTestSetup
{
[Test]
public void Shou... | NathanGloyn/ADO.NET-DAL | ADO.Net.DataAccessLayerTests/When_executing_XmlReader_command.cs | https://github.com/NathanGloyn/ADO.NET-DAL/blob/HEAD/ADO.Net.DataAccessLayerTests/When_executing_XmlReader_command.cs | ghcode:00000:396024da7d6f | mit | codeparrot/github-code | 396024da7d6fc0dd6ac152c4f4abb89f8d2bbde63ca87729fbb2492b361fcbe6 | 0.7 | testing_debugging_repair_refactoring | 971 | false | 2026-07-17 |
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.IO;
using System.Linq;
using DeepEqual.Syntax;
using NUnit.Framework;
using osu.Game.Audio;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.Forma... | Frontear/osuKyzer | osu.Game.Tests/Beatmaps/Formats/OsuJsonDecoderTest.cs | https://github.com/Frontear/osuKyzer/blob/HEAD/osu.Game.Tests/Beatmaps/Formats/OsuJsonDecoderTest.cs | ghcode:00000:5c9a3ac28139 | mit | codeparrot/github-code | 5c9a3ac281390c00a5d0aa2c5fab025f4ae21d74971a5c280230405b46199ff5 | 0.7 | testing_debugging_repair_refactoring | 1,676 | false | 2026-07-17 |
using Durwella.Measurements.Testing;
using FluentAssertions;
using Xunit;
namespace Durwella.Measurements
{
public class UscSystemTest
{
// https://en.wikipedia.org/wiki/United_States_customary_units
[Theory(DisplayName = "USCS:Consistent"), AutoMoqData]
public void Consistent(UscSyst... | Durwella/Durwella.Measurements | Durwella.Measurements.Test/UscSystemTest.cs | https://github.com/Durwella/Durwella.Measurements/blob/HEAD/Durwella.Measurements.Test/UscSystemTest.cs | ghcode:00000:78c94c0a5c0b | mit | codeparrot/github-code | 78c94c0a5c0b609f27569d68a2e3f6436bff7b9fd2838673ab289e7f7bf1fc3a | 0.6 | testing_debugging_repair_refactoring | 644 | false | 2026-07-17 |
using NUnit.Framework;
namespace NPBehave
{
public class CooldownTest : Test
{
[Test]
public void ShouldSucceedAndSetCooldown_WhenDecorateeSucceeds()
{
MockNode child = new MockNode();
Cooldown sut = new Cooldown(1, child);
TestRoot behaviorTree = CreateBehaviorTree(sut);
// start
behavi... | meniku/NPBehave | Editor/Tests/Decorator/CooldownTest.cs | https://github.com/meniku/NPBehave/blob/HEAD/Editor/Tests/Decorator/CooldownTest.cs | ghcode:00000:130f67410f6a | mit | codeparrot/github-code | 130f67410f6aaf01bc6beea81b33e14620f145d0bad151f8fc88fe88e1b4d679 | 0.95 | testing_debugging_repair_refactoring | 1,380 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.