text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
namespace HolisticWare.Ph4ct3x.DiagnosticTests.Core
{
/// <summary>
/// Test object according to Dizdar, Katovic, ... KIF (kif.hr)
/// </summary>
public partial class Test
{
public Test()
{
}
/// <summary... | moljac/Ph4ct3x | source/business-domain-logic/DiagnosticTests/HolisticWare.Ph4ct3x.DiagnosticTests.Core/Test.cs | https://github.com/moljac/Ph4ct3x/blob/HEAD/source/business-domain-logic/DiagnosticTests/HolisticWare.Ph4ct3x.DiagnosticTests.Core/Test.cs | ghcode:00161:e29f1916bfe1 | mit | codeparrot/github-code | e29f1916bfe15ae5cc27a28c8b066ec60185d9b3bcb9ce489a747f95e7a9c815 | 0.85 | testing_debugging_repair_refactoring | 389 | 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;
using static JohnLambe.Tests.JLUtilsTest.TestUtil;
using JohnLambe.Util.Text;
namespace JohnLambe.Tests.JLUtilsTest.Text
{
[TestClass]
publi... | JohnLambe/JLCSUtils | JLCSUtils/JLUtilsTest/Text/StringBuilderExtensionTest.cs | https://github.com/JohnLambe/JLCSUtils/blob/HEAD/JLCSUtils/JLUtilsTest/Text/StringBuilderExtensionTest.cs | ghcode:00161:719df327d12f | mit | codeparrot/github-code | 719df327d12fd280e7910222ef5f1a8267f5c03f3d0986e31b071207942affab | 0.85 | testing_debugging_repair_refactoring | 329 | false | 2026-07-17 |
#region Usings
using FluentAssertions;
using Xunit;
#endregion
namespace Extend.Testing
{
public partial class CharExTest
{
[Fact]
public void IsDigitTest()
{
'0'.IsDigit()
.Should()
.BeTrue();
'9'.IsDigit()
.Should... | DaveSenn/Extend | .Src/Extend.Testing/System.Char/Char.IsDigit.Test.cs | https://github.com/DaveSenn/Extend/blob/HEAD/.Src/Extend.Testing/System.Char/Char.IsDigit.Test.cs | ghcode:00161:b54338fd9a02 | mit | codeparrot/github-code | b54338fd9a02da383f54a7dc7dcea9b4494da4326cd5358a6018d40eaf48d1c9 | 0.75 | testing_debugging_repair_refactoring | 143 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using NullDesk.Extensions.Mailer.Core;
using NullDesk.Extensions.Mailer.MailKit.Tests.Infrastructure;
using NullDesk.Extensions.Mailer.Tests.Common;
using Xun... | NullDesk/NullMailer | test/NullDesk.Extensions.Mailer.MailKit.Tests/MailKitSafetySmtpFactoryMailerTests.cs | https://github.com/NullDesk/NullMailer/blob/HEAD/test/NullDesk.Extensions.Mailer.MailKit.Tests/MailKitSafetySmtpFactoryMailerTests.cs | ghcode:00161:41cef4fa3652 | mit | codeparrot/github-code | 41cef4fa3652637b48ebe0a555e0e290208de98d69e4a66a237d5da67cdad551 | 0.85 | testing_debugging_repair_refactoring | 1,083 | false | 2026-07-17 |
namespace TALearningSystemTestingFramework.Core.Base
{
using ArtOfTest.WebAii.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TelerikAcademyLearningSystem.Core.Model;
using TelerikAcademyLearningSystem.Core.Pages.LoginPage;
[TestClass]
public class BaseTest
{
public... | plamenti/Telerik2015 | Automation/TALearningSystemTestingFramework/TALearningSystemTestingFramework.Core/Base/BaseTest.cs | https://github.com/plamenti/Telerik2015/blob/HEAD/Automation/TALearningSystemTestingFramework/TALearningSystemTestingFramework.Core/Base/BaseTest.cs | ghcode:00161:69e77de50893 | mit | codeparrot/github-code | 69e77de508938a409b54825036d1af43116fc2837152e80c7c823ccd13509df3 | 0.85 | testing_debugging_repair_refactoring | 408 | 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.Linq;
using Infrastructure.Common;
using Xunit;
public static class TestPropertiesTest
{
[Fact]
p... | modulexcite/wcf | src/System.Private.ServiceModel/tests/Common/Infrastructure/tests/TestPropertiesTest.cs | https://github.com/modulexcite/wcf/blob/HEAD/src/System.Private.ServiceModel/tests/Common/Infrastructure/tests/TestPropertiesTest.cs | ghcode:00161:3244d2d91e2b | mit | codeparrot/github-code | 3244d2d91e2b32e6820081146b6ad20ed3b56d3529e3c1e1d53832ccb4b2a287 | 0.95 | testing_debugging_repair_refactoring | 328 | false | 2026-07-17 |
using System;
using System.Xml.Linq;
using Magellan.Utilities;
using NUnit.Framework;
namespace Magellan.Tests.Utilities
{
[TestFixture]
public class AmazingConverterTests
{
[Test]
public void CanConvert()
{
Assert.AreEqual(null, AmazingConverter.Convert(null, typeof(st... | rog1039/magellan-framework | src/Magellan.Tests/Utilities/AmazingConverterTests.cs | https://github.com/rog1039/magellan-framework/blob/HEAD/src/Magellan.Tests/Utilities/AmazingConverterTests.cs | ghcode:00161:016336ca327a | mit | codeparrot/github-code | 016336ca327a9d149b13ae4dc93a1ed98d7c105fa6f38d0f5e58b336237abb0b | 0.75 | testing_debugging_repair_refactoring | 217 | 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.Compute;
using Microsoft.Azure.Management.Compute.Models;
using Microsoft.Azure.Management.ResourceManager;
using Microsoft.Rest.... | hyonholee/azure-sdk-for-net | sdk/compute/Microsoft.Azure.Management.Compute/tests/ScenarioTests/VMScenarioTests.cs | https://github.com/hyonholee/azure-sdk-for-net/blob/HEAD/sdk/compute/Microsoft.Azure.Management.Compute/tests/ScenarioTests/VMScenarioTests.cs | ghcode:00161:0170e67b6131 | mit | codeparrot/github-code | 0170e67b6131ea605a024436727c9145adeedb60e30ad99f04891a4474532910 | 0.95 | testing_debugging_repair_refactoring | 3,144 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace RandomGraph.Test
{
[TestClass]
public class ErdosRenyiModelTest
{
[TestMethod]
public void GenerateGraph_VerticesAndEdges_HasCorrectNumberOfVertices()
{
const int numberOfVertices = 5;
const int n... | drazenp/RandomGraph | RanomGraphGenerator/RandomGraph.Test/ErdosRenyiModelTest.cs | https://github.com/drazenp/RandomGraph/blob/HEAD/RanomGraphGenerator/RandomGraph.Test/ErdosRenyiModelTest.cs | ghcode:00161:717b1a041d59 | mit | codeparrot/github-code | 717b1a041d59360da760092110751625868f7a5d1a2fb75c7da6818b72ad5aa3 | 0.6 | testing_debugging_repair_refactoring | 212 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading.Tasks;
using FluidFlow.Activities;
using FluidFlow.Serialization;
using FluidFlow.Specification;
using Moq;
using Xunit;
namespace FluidFlow.Tests.Activities
{
[ExcludeFromCodeCoverage]... | dasjestyr/FluidFlow | src/FluidFlow.Tests/Activities/WorkflowTests.cs | https://github.com/dasjestyr/FluidFlow/blob/HEAD/src/FluidFlow.Tests/Activities/WorkflowTests.cs | ghcode:00161:45dc0b6309fb | mit | codeparrot/github-code | 45dc0b6309fb7fe0e516d17d9e236e5afb8c60ad0a424936199a7bcdc55bffca | 0.85 | testing_debugging_repair_refactoring | 2,944 | false | 2026-07-17 |
using Xunit;
namespace Amplified.CSharp
{
// ReSharper disable once InconsistentNaming
public class Maybe__MatchSome__Action_T
{
[Fact]
public void WhenSome_InvokesAction()
{
var invocations = 0;
var source = Maybe<int>.Some(23);
var r... | Nillerr/Amplified.CSharp | Amplified.CSharp.Tests/Maybe/MatchSome__Action_T.cs | https://github.com/Nillerr/Amplified.CSharp/blob/HEAD/Amplified.CSharp.Tests/Maybe/MatchSome__Action_T.cs | ghcode:00161:b6376ff4273d | mit | codeparrot/github-code | b6376ff4273d04399bdf456cde85c9d9b44a6e4fc98b1dd833681381aad872d0 | 0.6 | testing_debugging_repair_refactoring | 172 | false | 2026-07-17 |
using System.Linq;
using Shouldly;
using Veggerby.Algorithm.Calculus;
using Veggerby.Algorithm.Calculus.Visitors;
using Xunit;
namespace Veggerby.Algorithm.Tests.Calculus.Visitors
{
public class CommutativeOperationComparerTests
{
[Fact]
public void Should_equal_two_constants()
{
... | veggerby/Veggerby.Algorithm | test/Veggerby.Algorithm.Tests/Calculus/Visitors/CommutativeOperationComparerTests.cs | https://github.com/veggerby/Veggerby.Algorithm/blob/HEAD/test/Veggerby.Algorithm.Tests/Calculus/Visitors/CommutativeOperationComparerTests.cs | ghcode:00161:8e0dfd83f1a9 | mit | codeparrot/github-code | 8e0dfd83f1a90110f63ca8b4abd42ac3f62784c564c00e286327fcd5a5b806fc | 0.85 | testing_debugging_repair_refactoring | 1,118 | false | 2026-07-17 |
//
// Program.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2021 .NET Foundation and Contributors
//
// 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 ... | jstedfast/MimeParserBenchmark | Benchmarks/Program.cs | https://github.com/jstedfast/MimeParserBenchmark/blob/HEAD/Benchmarks/Program.cs | ghcode:00161:6f55eca92063 | mit | codeparrot/github-code | 6f55eca9206320a205193bc5bab5bfa64ca4e4aa67d0073c3e22bdee87700eeb | 0.7 | testing_debugging_repair_refactoring | 366 | false | 2026-07-17 |
using Ocelot.Configuration;
using Ocelot.Configuration.Builder;
using Ocelot.Configuration.Creator;
using Ocelot.Configuration.File;
using Shouldly;
using TestStack.BDDfy;
using Xunit;
namespace Ocelot.UnitTests.Configuration
{
public class ServiceProviderCreatorTests
{
private readonly ServiceProvider... | geffzhang/Ocelot | test/Ocelot.UnitTests/Configuration/ServiceProviderCreatorTests.cs | https://github.com/geffzhang/Ocelot/blob/HEAD/test/Ocelot.UnitTests/Configuration/ServiceProviderCreatorTests.cs | ghcode:00161:acc57cf13d36 | mit | codeparrot/github-code | acc57cf13d36723ba1f90e083e23d1aba7d2db938f00c5f6375933fabac39b90 | 0.75 | testing_debugging_repair_refactoring | 430 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2015 Rasmus Mikkelsen
// https://github.com/rasmus/EventFlow
//
// 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... | liemqv/EventFlow | Source/EventFlow.Tests/UnitTests/Commands/CommandTests.cs | https://github.com/liemqv/EventFlow/blob/HEAD/Source/EventFlow.Tests/UnitTests/Commands/CommandTests.cs | ghcode:00161:bc5eb3ba2258 | mit | codeparrot/github-code | bc5eb3ba22586ed10f76cc22cc4e434c1462ae8b3eb07f9705231ea28941fb70 | 0.85 | testing_debugging_repair_refactoring | 493 | false | 2026-07-17 |
namespace SexyFishHorse.CitiesSkylines.Infrastructure.UnitTest.Validation.Arguments
{
using System;
using AutoFixture;
using FluentAssertions;
using SexyFishHorse.CitiesSkylines.Infrastructure.Validation.Arguments;
using Xunit;
public class FloatExtensionsClass
{
private readonly I... | SexyFishHorse/CitiesSkylines-Infrastructure | Infrastructure.UnitTest/Validation/Arguments/FloatExtensionsClass.cs | https://github.com/SexyFishHorse/CitiesSkylines-Infrastructure/blob/HEAD/Infrastructure.UnitTest/Validation/Arguments/FloatExtensionsClass.cs | ghcode:00161:92596e635427 | mit | codeparrot/github-code | 92596e6354270d5e003e3e971f4e6b6b6a162c04d9211dde6afc8b3e515c633a | 0.6 | testing_debugging_repair_refactoring | 3,516 | false | 2026-07-17 |
using Advobot.AutoMod.Database;
using Advobot.AutoMod.Models;
using Advobot.AutoMod.ParameterPreconditions;
using Advobot.Punishments;
using Advobot.Tests.TestBases;
using AdvorangesUtils;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Advobot.Tests.Com... | advorange/Advobot | tests/Advobot.Tests/Commands/AutoMod/ParameterPreconditions/NotAlreadyBannedPhrase_Tests.cs | https://github.com/advorange/Advobot/blob/HEAD/tests/Advobot.Tests/Commands/AutoMod/ParameterPreconditions/NotAlreadyBannedPhrase_Tests.cs | ghcode:00161:9457ddd97cf7 | mit | codeparrot/github-code | 9457ddd97cf7edebb0d024df6a95a963d3f776834a98604c13c877215da2b277 | 0.75 | testing_debugging_repair_refactoring | 429 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PrtgAPI.Parameters;
namespace PrtgAPI.Tests.IntegrationTests.ObjectData
{
[TestClass]
public class SensorTests : BasePrtgClientTest
{
[TestMeth... | lordmilko/PrtgAPI | src/PrtgAPI.Tests.IntegrationTests/CSharp/ObjectData/SensorTests.cs | https://github.com/lordmilko/PrtgAPI/blob/HEAD/src/PrtgAPI.Tests.IntegrationTests/CSharp/ObjectData/SensorTests.cs | ghcode:00161:3495b9bc6e46 | mit | codeparrot/github-code | 3495b9bc6e466f8ed9b6ddd7f1cda15e88dcc582c2614166669162827fe8266c | 0.85 | testing_debugging_repair_refactoring | 1,780 | false | 2026-07-17 |
using System.Threading;
using System.Threading.Tasks;
using Moq;
namespace Bartender.Tests.Context
{
public abstract class TestContext
{
protected Message Message { get; } = TestContextFactory.Get<Message>();
protected Result Result { get; } = TestContextFactory.Get<Result>();
protected... | Vtek/Bartender | test/Bartender.Tests/Context/TestContext.cs | https://github.com/Vtek/Bartender/blob/HEAD/test/Bartender.Tests/Context/TestContext.cs | ghcode:00161:a2665f238631 | mit | codeparrot/github-code | a2665f238631e2de7ebcee8d67bcbda1c806a895467ff8a7e6bf92d6417a08e1 | 0.75 | testing_debugging_repair_refactoring | 1,428 | false | 2026-07-17 |
extern alias WithExceptions;
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WithExceptions::TestFoundations.IntegrationTests.Shared;
using Xunit;
namespace CodeContracts.Fody.IntegrationTests.WithExceptions
... | NickRusinov/CodeContracts.Fody | CodeContracts.Fody.IntegrationTests/WithExceptions/InterfaceWithPropertiesTests.cs | https://github.com/NickRusinov/CodeContracts.Fody/blob/HEAD/CodeContracts.Fody.IntegrationTests/WithExceptions/InterfaceWithPropertiesTests.cs | ghcode:00161:e54d4c24a992 | mit | codeparrot/github-code | e54d4c24a992c03378486217c3cc318898a49a620616cf4950fc09fc9f3216c1 | 0.75 | testing_debugging_repair_refactoring | 430 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using Casper.Core;
using Casper.Data.Git.Git;
using Casper.Data.Git.Specifications.Helpers;
using Casper.Data.Git.Specifications.Helpers.Dummies;
using FluentAssertions;
using LibGit2Sharp;
using TechTalk.SpecFlow;
namespace Casper.Data.Git.Specifications.Features.Git... | TimMurphy/Casper | tests/Casper.Data.Git.Specifications/Features/Git/Steps/GitRepositorySteps.cs | https://github.com/TimMurphy/Casper/blob/HEAD/tests/Casper.Data.Git.Specifications/Features/Git/Steps/GitRepositorySteps.cs | ghcode:00161:c803c62e6091 | mit | codeparrot/github-code | c803c62e60914687a41ae88bbe20f932cf6b3ea30b4fa0c7fb18efabc7dc30b3 | 0.6 | testing_debugging_repair_refactoring | 837 | false | 2026-07-17 |
using UniformDocs.Tests.Ui;
using UniformDocs.Tests.Utilities;
using NUnit.Framework;
namespace UniformDocs.Tests.Test
{
[TestFixture(Config.Browser.Chrome)]
[TestFixture(Config.Browser.ChromeNoV0)]
[TestFixture(Config.Browser.Edge)]
[TestFixture(Config.Browser.Firefox)]
class TextareaPageTest : B... | StarcounterSamples/KitchenSink | test/UniformDocs.Tests/Test/TextareaPageTest.cs | https://github.com/StarcounterSamples/KitchenSink/blob/HEAD/test/UniformDocs.Tests/Test/TextareaPageTest.cs | ghcode:00161:5e20cfd50658 | mit | codeparrot/github-code | 5e20cfd50658938480eed04810fcd57f4f209616827a126542f5fe43cc852a68 | 0.85 | testing_debugging_repair_refactoring | 425 | false | 2026-07-17 |
using NUnit.Framework;
namespace Zenject.Tests.Other
{
[TestFixture]
public class TestTickableManagerParenting
{
[SetUp]
public void ResetCounts()
{
RootTickable.TickCount = 0;
NestedTickableOne.TickCount = 0;
NestedTickableTwo.TickCount = 0;
... | suzdalnitski/Zenject | UnityProject/Assets/Plugins/Zenject/OptionalExtras/UnitTests/Editor/Other/TestTickableManagerParenting.cs | https://github.com/suzdalnitski/Zenject/blob/HEAD/UnityProject/Assets/Plugins/Zenject/OptionalExtras/UnitTests/Editor/Other/TestTickableManagerParenting.cs | ghcode:00161:ce083ef20628 | mit | codeparrot/github-code | ce083ef206281b4d3cd80217b65673cd40dcdc254bed48757857517b8450d688 | 0.75 | testing_debugging_repair_refactoring | 1,414 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2014-2016, Institute for Software & Systems Engineering
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including wi... | cubeme/ssharp | Tests/FaultActivation/Formulas/undone fault activation not observable.cs | https://github.com/cubeme/ssharp/blob/HEAD/Tests/FaultActivation/Formulas/undone fault activation not observable.cs | ghcode:00161:7c2764e8ed9b | mit | codeparrot/github-code | 7c2764e8ed9b6179710f9983b03f130c24edd12eacce8dfb661146700a2386c9 | 0.85 | testing_debugging_repair_refactoring | 511 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ArtistsAlbums.Models
{
public class Artist
{
private ICollection<Album> albums;... | DimitarDKirov/Data-Bases | 13. Entity Framework Code First/test/ArtistsAlbums/ArtistsAlbums.Models/Artist.cs | https://github.com/DimitarDKirov/Data-Bases/blob/HEAD/13. Entity Framework Code First/test/ArtistsAlbums/ArtistsAlbums.Models/Artist.cs | ghcode:00161:df4475a3b61c | mit | codeparrot/github-code | df4475a3b61c812150a6dd70e1848c7e07e83dd7c58c129ef6ef266940138bcf | 0.85 | testing_debugging_repair_refactoring | 230 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using EA;
using LL.MDE.Components.Common.EnArLoader;
using LL.MDE.Components.Common.Util;
using NUnit.Framework;
namespace SandboxEADebug
{
public class Class1
{
[Test]
public void Test()
{
// Load ecore us... | LieberLieber/QvtCodeGenerator | XSDImport2/SandboxEADebug/Class1.cs | https://github.com/LieberLieber/QvtCodeGenerator/blob/HEAD/XSDImport2/SandboxEADebug/Class1.cs | ghcode:00161:901d04ece7e9 | mit | codeparrot/github-code | 901d04ece7e98ca872c021345e7a9f140524b9e337398f623353b0fe0cee9b9d | 0.75 | testing_debugging_repair_refactoring | 161 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Moq;
using Nerdle.Hydra.Exceptions;
using Nerdle.Hydra.Tests.Unit.TestHelpers;
using NUnit.Framework;
namespace Nerdle.Hydra.Tests.Unit.StaticClusterTests
{
[TestFixture]
class When_executing_a_command : _on_a_sta... | edpollitt/Hydra | Nerdle.Hydra.Tests.Unit/StaticClusterTests/When_executing_a_command.cs | https://github.com/edpollitt/Hydra/blob/HEAD/Nerdle.Hydra.Tests.Unit/StaticClusterTests/When_executing_a_command.cs | ghcode:00161:1cc7020ae303 | mit | codeparrot/github-code | 1cc7020ae303f20f94a4592eac70ae577fa120738f3225efcf28bca7aadf53b9 | 0.75 | testing_debugging_repair_refactoring | 849 | false | 2026-07-17 |
using FluentValidation.TestHelper;
using JudoPayDotNet.Models;
using JudoPayDotNet.Models.Validations;
using NUnit.Framework;
namespace JudoPayDotNetTests.Validation
{
[TestFixture]
public class PaymentsValidationTests
{
[Test]
public void ValidateCardPaymentWithErrorOnSpecificCardPaymentI... | ChrisRowtcliff/JudoPayDotNet4 | JudoPayDotNetTests/Validation/PaymentsValidationTests.cs | https://github.com/ChrisRowtcliff/JudoPayDotNet4/blob/HEAD/JudoPayDotNetTests/Validation/PaymentsValidationTests.cs | ghcode:00161:629ea058905d | mit | codeparrot/github-code | 629ea058905d5f85ac41a3d1e53b815957132aebffc356f90fabcb9f2e0c84dd | 0.75 | testing_debugging_repair_refactoring | 591 | false | 2026-07-17 |
using Util.Domains;
namespace Util.Datas.Tests.Samples {
public class Sample5 : Sample,IDelete{
}
}
| yuleyule66/Util | test/Util.Datas.Tests.Integration/Samples/Sample5.cs | https://github.com/yuleyule66/Util/blob/HEAD/test/Util.Datas.Tests.Integration/Samples/Sample5.cs | ghcode:00161:25efb5cec6e2 | mit | codeparrot/github-code | 25efb5cec6e2b6ffca22d1b791a5cbae2cbfb87fa1b8097508ac9ef180570c7b | 0.35 | testing_debugging_repair_refactoring | 27 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Melanchall.DryWetMidi.Common;
using Melanchall.DryWetMidi.Core;
using Melanchall.DryWetMidi.Interaction;
using Melanchall.DryWetMidi.Tests.Utilities;
using NUnit.Framework;
namespace Melanchall.DryWetMidi.Tests.Interaction
{
[TestFixture]
public seale... | melanchall/drywetmidi | DryWetMidi.Tests/Interaction/Chords/ChordsManagingUtilitiesTests.GetChords.cs | https://github.com/melanchall/drywetmidi/blob/HEAD/DryWetMidi.Tests/Interaction/Chords/ChordsManagingUtilitiesTests.GetChords.cs | ghcode:00161:a24afd77a0f6 | mit | codeparrot/github-code | a24afd77a0f6353f539f0246edf631de369a15b2217bcd55c6ff6795be1b3502 | 0.75 | testing_debugging_repair_refactoring | 5,370 | false | 2026-07-17 |
using System;
using System.IO;
using Xunit;
namespace NDifference.UnitTests
{
public class PathExtensionFacts
{
[Fact]
public void PathExtensions_File_In_Folder_Is_Relative_To_Folder()
{
const string filename = "Hello.world";
string folder = Environment.GetFolderPath(Environment.SpecialFolder.MyDocumen... | deejaygraham/ndifference | tests/UnitTests/PathExtensionFacts.cs | https://github.com/deejaygraham/ndifference/blob/HEAD/tests/UnitTests/PathExtensionFacts.cs | ghcode:00161:06d3451b880f | mit | codeparrot/github-code | 06d3451b880f338158cd6b800e372122967af77d0fd01d72fbf183202d6fa39f | 0.6 | testing_debugging_repair_refactoring | 378 | false | 2026-07-17 |
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using NetGore.Collections;
using NetGore.IO;
namespace NetGore.Features.ActionDisplays
{
public class ActionDisplayCollection : IEnumerable<ActionDisplay>, IPersistable
{
const stri... | LAGIdiot/NetGore | NetGore.Features.Client/ActionDisplays/ActionDisplayCollection.cs | https://github.com/LAGIdiot/NetGore/blob/HEAD/NetGore.Features.Client/ActionDisplays/ActionDisplayCollection.cs | ghcode:00161:905c72a280bf | unlicense | codeparrot/github-code | 905c72a280bf073639255959ea7bf1051403d9906286f2c5a0def14821c20950 | 0.78 | testing_debugging_repair_refactoring | 1,563 | false | 2026-07-17 |
using System;
using NBi.Xml;
using NUnit.Framework;
using System.Xml;
using System.IO;
namespace NBi.Testing.Xml.Unit
{
[TestFixture]
[Parallelizable(ParallelScope.None)]
public class XmlManagerWithDtdTest
{
private string filename { get; set; }
private string includedFilename { get; s... | Seddryck/NBi | NBi.Testing.Xml/XmlManagerWithDtdTest.cs | https://github.com/Seddryck/NBi/blob/HEAD/NBi.Testing.Xml/XmlManagerWithDtdTest.cs | ghcode:00161:1e2396cf38e7 | apache-2.0 | codeparrot/github-code | 1e2396cf38e74fc1fd4e97116ef4f1f426ce2a29317007b428730a6dcad4c468 | 0.75 | testing_debugging_repair_refactoring | 510 | 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 System.Threading.Tasks... | nguerrera/roslyn | src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs | https://github.com/nguerrera/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs | ghcode:00161:28bc6804590d | apache-2.0 | codeparrot/github-code | 28bc6804590d66cd1ffb5a86cb947100827d9e5f479e1891f936abe2a28aae37 | 0.65 | testing_debugging_repair_refactoring | 27,018 | 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.Syntax;
using Microsoft.CodeAnalysis.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.CSharp.UnitTests
{
... | pdelvo/roslyn | src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_ILocalReferenceExpression.cs | https://github.com/pdelvo/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_ILocalReferenceExpression.cs | ghcode:00161:6be77333d928 | apache-2.0 | codeparrot/github-code | 6be77333d9282a9e3589c7643c4a162a943947f8deb11e4d339e361de3e9e8d3 | 0.95 | testing_debugging_repair_refactoring | 842 | false | 2026-07-17 |
// Python Tools for Visual Studio
// 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
//... | Microsoft/PTVS | Python/Tests/Core/LauncherTests.cs | https://github.com/Microsoft/PTVS/blob/HEAD/Python/Tests/Core/LauncherTests.cs | ghcode:00161:7179136da2e8 | apache-2.0 | codeparrot/github-code | 7179136da2e8f4fb4d7ef16822823e3081a47594dcc3490c0a99abd054dce9b5 | 0.95 | testing_debugging_repair_refactoring | 571 | false | 2026-07-17 |
using System;
using System.Linq;
using FakeItEasy;
using FluentAssertions;
using NUnit.Framework;
using SmartElk.Antler.Core.Common;
using SmartElk.Antler.Core.Common.CodeContracts;
using SmartElk.Antler.MongoDb.Internal;
// ReSharper disable InconsistentNaming
namespace SmartElk.Antler.MongoDb.Specs
{
public cl... | SmartElk/Antler | src/specs/Antler-MongoDb-Specs/MongoDbRepositorySpecs.cs | https://github.com/SmartElk/Antler/blob/HEAD/src/specs/Antler-MongoDb-Specs/MongoDbRepositorySpecs.cs | ghcode:00161:de30977b78c7 | apache-2.0 | codeparrot/github-code | de30977b78c7006e96404b5d36dee91310a8b03a9af22783672eb4463d2d42a5 | 0.7 | testing_debugging_repair_refactoring | 1,679 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Elasticsearch.Net;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Xunit;
namespace Tests.Modules.Scripting.DeleteScript
{
[Collection(IntegrationContext.ReadOnly)]
public class DeleteScriptApiTests : ApiTestBase<IA... | jonyadamit/elasticsearch-net | src/Tests/Modules/Scripting/DeleteScript/DeleteScriptApiTests.cs | https://github.com/jonyadamit/elasticsearch-net/blob/HEAD/src/Tests/Modules/Scripting/DeleteScript/DeleteScriptApiTests.cs | ghcode:00161:fad149e1cdf9 | apache-2.0 | codeparrot/github-code | fad149e1cdf9c47cb42e5831b9d54385e2b6d66f84f975eeee48d9f143f62bce | 0.85 | testing_debugging_repair_refactoring | 306 | false | 2026-07-17 |
// Copyright 2010 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using NodaTime.TimeZones;
using NUnit.Framework;
namespace NodaTime.Test.TimeZones
{
/// <summary>
/// Algiers had DST until May 1st 1981, after ... | BenJenkinson/nodatime | src/NodaTime.Test/TimeZones/AlgiersTest.cs | https://github.com/BenJenkinson/nodatime/blob/HEAD/src/NodaTime.Test/TimeZones/AlgiersTest.cs | ghcode:00161:31318e24bed0 | apache-2.0 | codeparrot/github-code | 31318e24bed036dcf6c9de33c7b0515ba14dd9774c0ebc2a6cfa39aeadbbcae1 | 0.7 | testing_debugging_repair_refactoring | 457 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utilitie... | aelij/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/PatternMatchingTests4.cs | https://github.com/aelij/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/PatternMatchingTests4.cs | ghcode:00161:34ee85e426e6 | apache-2.0 | codeparrot/github-code | 34ee85e426e6e79cf50b4f53773ce286a908ca29fa7cec8216a94f2d7c0635c0 | 0.82 | testing_debugging_repair_refactoring | 26,558 | false | 2026-07-17 |
/*
* Copyright 2012-2021 The Pkcs11Interop Project
*
* 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 app... | Pkcs11Interop/Pkcs11Interop | src/Pkcs11Interop.Tests/LowLevelAPI40/_08_LoginTest.cs | https://github.com/Pkcs11Interop/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop.Tests/LowLevelAPI40/_08_LoginTest.cs | ghcode:00161:ba26bbc17cc2 | apache-2.0 | codeparrot/github-code | ba26bbc17cc2151e6ff5d1b929cc9b127f0f9bafbdc47c6d6718bb98924626b9 | 0.7 | testing_debugging_repair_refactoring | 1,104 | false | 2026-07-17 |
using System;
using System.Globalization;
using Deveel.Data.Text;
using Xunit;
namespace Deveel.Data.Sql {
public static class SqlStringSearchTests {
[Theory]
[InlineData("the quick brown fox", "the quick%", true)]
[InlineData("the quick brown fox", "%fox", true)]
[InlineData("the quick brown fox", "ant%",... | deveel/deveeldb.core | test/DeveelDb.Core.Tests/Data/Sql/SqlStringSearchTests.cs | https://github.com/deveel/deveeldb.core/blob/HEAD/test/DeveelDb.Core.Tests/Data/Sql/SqlStringSearchTests.cs | ghcode:00161:5a9e4c081961 | apache-2.0 | codeparrot/github-code | 5a9e4c081961c4dd88e7ece1174d42c22e9127e7e21634daba957797f9d9b991 | 0.75 | testing_debugging_repair_refactoring | 206 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.Extensions.DependencyInjection;
using NEvilES.Abstractions;
using NEvilES.Abstractions.Pipeline;
using NEvilES.Pipeline;
using NEvilES.Tests.CommonDomain.Sample;
using Xunit;
namespace NEvilES.Tests
{
public class RegisterEventStoreTests
{
... | CRGCode/NEvilES | src/NEvilES.Tests/RegisterEventStoreTests.cs | https://github.com/CRGCode/NEvilES/blob/HEAD/src/NEvilES.Tests/RegisterEventStoreTests.cs | ghcode:00161:8a9f42971357 | apache-2.0 | codeparrot/github-code | 8a9f42971357653012bbb9f0ad41ee47198ac5a12279801cc6e28518a991e1ff | 0.75 | testing_debugging_repair_refactoring | 404 | false | 2026-07-17 |
// Copyright (c) "Neo4j"
// Neo4j Sweden AB [http://neo4j.com]
//
// This file is part of Neo4j.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licens... | neo4j/neo4j-dotnet-driver | Neo4j.Driver/Neo4j.Driver.Tests/Internal/IO/ChunkWriterTests.cs | https://github.com/neo4j/neo4j-dotnet-driver/blob/HEAD/Neo4j.Driver/Neo4j.Driver.Tests/Internal/IO/ChunkWriterTests.cs | ghcode:00161:8c4469e64cd3 | apache-2.0 | codeparrot/github-code | 8c4469e64cd3d814fe6be94b43fc875a175e4ccacdfae797a857d32893f6a1e4 | 0.85 | testing_debugging_repair_refactoring | 2,392 | false | 2026-07-17 |
/*
* Copyright (C) Alibaba Cloud Computing
* All rights reserved.
*
* 版权所有 (C)阿里云计算有限公司
*/
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;
using Aliyun.OpenServices.Common;
using Aliyun.OpenServices.Common.Communication;
using Aliyun.OpenServices.Common... | YangEricLiu/Pop | src/Foundation/AliYunApi/Common/Communication/ServiceClient.cs | https://github.com/YangEricLiu/Pop/blob/HEAD/src/Foundation/AliYunApi/Common/Communication/ServiceClient.cs | ghcode:00161:3855e6ea93a7 | apache-2.0 | codeparrot/github-code | 3855e6ea93a7a556d2cf4ff78e85c3b574e6a7721b2f6e96ef1494d06400217d | 0.7 | testing_debugging_repair_refactoring | 601 | false | 2026-07-17 |
using System;
using System.Net;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FSharp.Control.JSoftware.Test
{
public class UrlTests
{
[TestMethod]
public void CanSetBasicConnectionInfo()
{
var c = new c("", 65031, "edu");
var cx = c.CxInfo;
... | sgtz/FSharp.Control.JSoftware | JSoftware.Test/UrlTests.cs | https://github.com/sgtz/FSharp.Control.JSoftware/blob/HEAD/JSoftware.Test/UrlTests.cs | ghcode:00161:4d1d9e2b9a01 | apache-2.0 | codeparrot/github-code | 4d1d9e2b9a0117d60543019411b69c8636ee1c8ce24bfdfd0b10ed79ecc0ce7c | 0.85 | testing_debugging_repair_refactoring | 300 | 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.Globalization;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Sy... | VSadov/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/StackAllocSpanExpressionsTests.cs | https://github.com/VSadov/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/StackAllocSpanExpressionsTests.cs | ghcode:00161:7a39dbf17b75 | apache-2.0 | codeparrot/github-code | 7a39dbf17b75f4269af8bf62c5f0aaef1c684eba9c9c7a373fb057675675dcf5 | 0.95 | testing_debugging_repair_refactoring | 7,825 | false | 2026-07-17 |
namespace NHS111.Business.DOS.API.Functional.Tests
{
using System.ComponentModel;
using System.Net.Http;
using System.Text;
using NHS111.Utils.Helpers;
using NUnit.Framework;
using Newtonsoft.Json.Linq;
[TestFixture]
public class QuestionEnpointTests
{
private string _dom... | NHSChoices/nhs111-dotnet-beta | NHS111/NHS111.Business.DOS.API.Functional.Tests/QuestionEnpointTests.cs | https://github.com/NHSChoices/nhs111-dotnet-beta/blob/HEAD/NHS111/NHS111.Business.DOS.API.Functional.Tests/QuestionEnpointTests.cs | ghcode:00161:015e2e30bd78 | apache-2.0 | codeparrot/github-code | 015e2e30bd788f5a2e37a911cd28f22c9fefd359979e21d6eed7acf5fbb590b7 | 0.85 | testing_debugging_repair_refactoring | 934 | false | 2026-07-17 |
using Igneel;
using Igneel.Importers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Igneel.Physics;
using Igneel.Input;
using Igneel.Animations;
using Igneel;
using Igneel.Components;
using Igneel.Effects;
using Igneel.Graphics;
using Igneel.S... | ansel86castro/Igneel | Tests/Engine.Testing/CharacterController/CharacterControllerTest.cs | https://github.com/ansel86castro/Igneel/blob/HEAD/Tests/Engine.Testing/CharacterController/CharacterControllerTest.cs | ghcode:00161:e423d1397c91 | apache-2.0 | codeparrot/github-code | e423d1397c91a65b5b3446b4210ca14e8b0f2c229ba6aff133f8db20926277c3 | 0.6 | testing_debugging_repair_refactoring | 1,342 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using ServiceStack.Common.Extensions;
using ServiceStack.Common.Tests.Models;
namespace ServiceStack.Redis.Tests
{
[TestFixture, Category("Integration")]
public class RedisPersistenceProviderTests
{
[Test]
public void Can_Store_and_GetB... | mono/ServiceStack.Redis | tests/ServiceStack.Redis.Tests/RedisPersistenceProviderTests.cs | https://github.com/mono/ServiceStack.Redis/blob/HEAD/tests/ServiceStack.Redis.Tests/RedisPersistenceProviderTests.cs | ghcode:00161:2d2d2cb41d72 | bsd-3-clause | codeparrot/github-code | 2d2d2cb41d722e3d628eaf94908ce1b1b01ef9db329696f6613f17f89d409af3 | 0.75 | testing_debugging_repair_refactoring | 473 | false | 2026-07-17 |
using System.Collections.Generic;
using Xunit;
namespace Shouldly.Tests.ShouldBe.EnumerableType
{
public class DocsExample
{
[Fact]
public void Docs()
{
var apu = new Person { Name = "Apu" };
var homer = new Person { Name = "Homer" };
var skinner = n... | ankurMalhotra/shouldly | src/Shouldly.Tests/ShouldBe/EnumerableType/DocsExample.cs | https://github.com/ankurMalhotra/shouldly/blob/HEAD/src/Shouldly.Tests/ShouldBe/EnumerableType/DocsExample.cs | ghcode:00161:26f788da676b | bsd-3-clause | codeparrot/github-code | 26f788da676b0039acb9be1c43e8d14eb8cd655321ef843a9cd9dc7ae97b44bb | 0.6 | testing_debugging_repair_refactoring | 227 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using AutoMoq;
using CleanArchitecture.Application.Employees.Queries.GetEmployeesList;
using NUnit.Framework;
namespace CleanArchitecture.Presentation.Employees
{
[TestFixture]
public class EmployeesControllerTests
{
private Employ... | matthewrenze/clean-architecture-demo | Presentation/Employees/EmployeesControllerTests.cs | https://github.com/matthewrenze/clean-architecture-demo/blob/HEAD/Presentation/Employees/EmployeesControllerTests.cs | ghcode:00161:a635a64ef161 | bsd-3-clause | codeparrot/github-code | a635a64ef161a51af527766e55bfa75587eea239ee056adce3da81f559aa5b2f | 0.75 | testing_debugging_repair_refactoring | 214 | false | 2026-07-17 |
using GenFx.Validation;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Threading.Tasks;
namespace GenFx
{
/// <summary>
/// Provides the... | mthalman/GenFx | src/GenFx/GeneticAlgorithm.cs | https://github.com/mthalman/GenFx/blob/HEAD/src/GenFx/GeneticAlgorithm.cs | ghcode:00161:bf81879845d0 | mit | codeparrot/github-code | bf81879845d0ea0eab87d083f146491a75c567dd3ee8c47eb8c07c45ded47199 | 0.7 | testing_debugging_repair_refactoring | 6,000 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Jurassic;
using Jurassic.Library;
namespace UnitTests
{
/// <summary>
/// Test the [JsProperty] attribute.
/// </summary>
[TestClass]
public class JsPropertyTests : TestBase
{
public class ClassWithProperty : ObjectI... | paulbartrum/jurassic | Unit Tests/Core/JsPropertyTests.cs | https://github.com/paulbartrum/jurassic/blob/HEAD/Unit Tests/Core/JsPropertyTests.cs | ghcode:00161:c9ab4798b675 | mit | codeparrot/github-code | c9ab4798b67591eb7f6fc102a13745f30e8101e72add1c5cd5491c6a7fd2c11a | 0.85 | testing_debugging_repair_refactoring | 928 | false | 2026-07-17 |
using System;
using RefactoringEssentials.CSharp.CodeRefactorings;
using Xunit;
namespace RefactoringEssentials.Tests.CSharp.CodeRefactorings
{
public class GenerateGetterTests : CSharpCodeRefactoringTestBase
{
[Fact]
public void Test()
{
Test<GenerateGetterAction>(@"using S... | SSkovboiSS/RefactoringEssentials | Tests/CSharp/CodeRefactorings/GenerateGetterTests.cs | https://github.com/SSkovboiSS/RefactoringEssentials/blob/HEAD/Tests/CSharp/CodeRefactorings/GenerateGetterTests.cs | ghcode:00161:d6fffcf69a6a | mit | codeparrot/github-code | d6fffcf69a6afc7b6538cad234cbd6010a3d5d94db978c397821b2b089ba903d | 0.75 | testing_debugging_repair_refactoring | 490 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Diagnostics;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CSharp.Syntax.Int... | abock/roslyn | src/Compilers/CSharp/Portable/Syntax/InternalSyntax/SyntaxTrivia.cs | https://github.com/abock/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Syntax/InternalSyntax/SyntaxTrivia.cs | ghcode:00161:450c1ed4a687 | mit | codeparrot/github-code | 450c1ed4a687672bcb90158dd588138d85bb0d014273255c9f09b8d0e478cd4d | 0.85 | testing_debugging_repair_refactoring | 696 | false | 2026-07-17 |
using System;
using System.Reflection;
using FluentAssertions;
using Metrics.Core;
using Metrics.Sampling;
using Xunit;
namespace Metrics.Tests.Sampling
{
public class DefaultSamplingTypeTests
{
private static readonly FieldInfo reservoirField = typeof(HistogramMetric).GetField("reservoir", BindingFla... | Liwoj/Metrics.NET | Src/Metrics.Tests/Sampling/DefaultSamplingTypeTests.cs | https://github.com/Liwoj/Metrics.NET/blob/HEAD/Src/Metrics.Tests/Sampling/DefaultSamplingTypeTests.cs | ghcode:00161:1f5eb47a6cfc | apache-2.0 | codeparrot/github-code | 1f5eb47a6cfc5423629ef8e799a0e33ff52d049cb943828078231ceb26ffcba4 | 0.75 | testing_debugging_repair_refactoring | 248 | false | 2026-07-17 |
using Bari.Core.Generic;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using System.IO;
namespace Bari.Core.Test.Generic
{
[TestFixture]
public class FileSystemDirectoryExtensionsTest
{
[Test]
public void GetRelativePathFromTest()
{
// r
... | Psychobilly87/bari | src/core/tests/Bari.Core.Test/cs/Generic/FileSystemDirectoryExtensionsTest.cs | https://github.com/Psychobilly87/bari/blob/HEAD/src/core/tests/Bari.Core.Test/cs/Generic/FileSystemDirectoryExtensionsTest.cs | ghcode:00161:4f5b30d76bde | apache-2.0 | codeparrot/github-code | 4f5b30d76bde1e71c7d9044d6380583ba81a4457dde4b3e58e2d29450f09d554 | 0.95 | testing_debugging_repair_refactoring | 290 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Net.Http.Headers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using UnitTestHelpers;
namespace DynamicRestProxy.PortableHttpClient.UnitTests
{
[TestClass]
public class CancellationTests
{
... | dkackman/DynamicRestProxy | src/DynamicRestPRoxy.Portable.UnitTests/CancellationTests.cs | https://github.com/dkackman/DynamicRestProxy/blob/HEAD/src/DynamicRestPRoxy.Portable.UnitTests/CancellationTests.cs | ghcode:00161:5cf44c6fec8a | apache-2.0 | codeparrot/github-code | 5cf44c6fec8a142974c6f7fbd0b708d6987e0a438435ee127a4a2a3fc1e63f43 | 0.85 | testing_debugging_repair_refactoring | 496 | false | 2026-07-17 |
using System.Reflection;
using Xunit;
namespace AutoFixture.Xunit2.UnitTest
{
public class DependencyConstraints
{
[Theory]
[InlineData("FakeItEasy")]
[InlineData("Foq")]
[InlineData("FsCheck")]
[InlineData("Moq")]
[InlineData("NSubstitute")]
[InlineData... | Pvlerick/AutoFixture | Src/AutoFixture.xUnit2.UnitTest/DependencyConstraints.cs | https://github.com/Pvlerick/AutoFixture/blob/HEAD/Src/AutoFixture.xUnit2.UnitTest/DependencyConstraints.cs | ghcode:00161:4c0d0ef82c2d | mit | codeparrot/github-code | 4c0d0ef82c2de0efbd73144fd4d621b2e2ca75042ba8556f056989df699c5527 | 0.85 | testing_debugging_repair_refactoring | 321 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft.CodeAnalysis.U... | jaredpar/roslyn-analyzers | src/FxCop/System.Runtime.Analyzers/Test/Performance/AvoidUnsealedAttributesTests.Fixer.cs | https://github.com/jaredpar/roslyn-analyzers/blob/HEAD/src/FxCop/System.Runtime.Analyzers/Test/Performance/AvoidUnsealedAttributesTests.Fixer.cs | ghcode:00161:63ee67bce7a9 | apache-2.0 | codeparrot/github-code | 63ee67bce7a9f275b0dca0565d61d7f52f983e845f09b4f83febaeb811e2de1b | 0.85 | testing_debugging_repair_refactoring | 345 | false | 2026-07-17 |
using BenchmarkDotNet.Portability;
using Xunit;
namespace BenchmarkDotNet.Tests.XUnit
{
public class TheoryNetCoreOnlyAttribute : TheoryAttribute
{
// ReSharper disable once VirtualMemberCallInConstructor
public TheoryNetCoreOnlyAttribute(string noDotNetCoreSkipReason)
{
if... | alinasmirnova/BenchmarkDotNet | tests/BenchmarkDotNet.Tests/XUnit/TheoryNetCoreOnlyAttribute.cs | https://github.com/alinasmirnova/BenchmarkDotNet/blob/HEAD/tests/BenchmarkDotNet.Tests/XUnit/TheoryNetCoreOnlyAttribute.cs | ghcode:00161:a54cf086c441 | mit | codeparrot/github-code | a54cf086c4417624c919d5a6add8181739ef5093637d4fdd9cbe3df14e94c532 | 0.75 | testing_debugging_repair_refactoring | 85 | 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.Text;
using System.Data.Common;
using System.Globalization;
namespace System.Data.SqlClient.ManualTest... | mokchhya/corefx | src/System.Data.SqlClient/tests/ManualTests/SQL/SqlRandom/SqlRandomTypeInfo.cs | https://github.com/mokchhya/corefx/blob/HEAD/src/System.Data.SqlClient/tests/ManualTests/SQL/SqlRandom/SqlRandomTypeInfo.cs | ghcode:00161:856416d95703 | mit | codeparrot/github-code | 856416d95703187e3d5c2e6d3819b5c6dd89a077151db86c1786e3317bc514b2 | 0.95 | testing_debugging_repair_refactoring | 3,104 | false | 2026-07-17 |
namespace etcetera.specs
{
using Should;
using Xunit;
using System.Security.Cryptography.X509Certificates;
public class CanGetSetClientCertificates :
EtcdBase
{
readonly X509Certificate _x509Certificate;
readonly X509CertificateCollection _x509CertificateCollection;
... | azraelrabbit/etcetera | etcetera.specs/CanSetClientCertificates.cs | https://github.com/azraelrabbit/etcetera/blob/HEAD/etcetera.specs/CanSetClientCertificates.cs | ghcode:00161:3f1a448b2620 | apache-2.0 | codeparrot/github-code | 3f1a448b262017a987d00c5c62da4444d4dfe7046663de3d5f043a147facf033 | 0.6 | testing_debugging_repair_refactoring | 205 | false | 2026-07-17 |
// Copyright 2017 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 applic... | googleapis/google-cloud-dotnet | apis/Google.Cloud.BigQuery.V2/Google.Cloud.BigQuery.V2.Tests/BigQueryPageTest.cs | https://github.com/googleapis/google-cloud-dotnet/blob/HEAD/apis/Google.Cloud.BigQuery.V2/Google.Cloud.BigQuery.V2.Tests/BigQueryPageTest.cs | ghcode:00161:1aaaf6d23785 | apache-2.0 | codeparrot/github-code | 1aaaf6d2378585f8b43d1b8db4559034bd218d290fcfcbcdf290303f8dd9ffb9 | 0.85 | testing_debugging_repair_refactoring | 540 | false | 2026-07-17 |
using System;
using Shouldly.Tests.TestHelpers;
namespace Shouldly.Tests.ShouldNotBe.WithTolerance
{
public class DateTimeScenario : ShouldlyShouldTestScenario
{
protected override void ShouldThrowAWobbly()
{
var date = new DateTime(2000, 6, 1);
date.ShouldNotBe(new Dat... | yannisgu/shouldly | src/Shouldly.Tests/ShouldNotBe/WithTolerance/DateTimeScenario.cs | https://github.com/yannisgu/shouldly/blob/HEAD/src/Shouldly.Tests/ShouldNotBe/WithTolerance/DateTimeScenario.cs | ghcode:00161:17b9c669dc7c | bsd-3-clause | codeparrot/github-code | 17b9c669dc7c4473cbc40d7b3adc9152d458dc22f3fb29ee11d9b99a8c188e64 | 0.75 | testing_debugging_repair_refactoring | 280 | false | 2026-07-17 |
// ****************************************************************
// This is free software licensed under the NUnit license. You
// may obtain a copy of the license as well as information regarding
// copyright ownership at http://nunit.org.
// ****************************************************************
namespa... | acken/AutoTest.Net | lib/NUnit/src/NUnit-2.5.9.10348/src/NUnitCore/core/TestMethod.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.5.9.10348/src/NUnitCore/core/TestMethod.cs | ghcode:00161:c5902030a1d6 | mit | codeparrot/github-code | c5902030a1d62396dff6779e5b6f250b02888d64961b97986278950ce8fa0fc6 | 0.95 | testing_debugging_repair_refactoring | 2,722 | false | 2026-07-17 |
using Xunit;
using System;
using System.Management.Automation;
// This collection fixture initializes Core PowerShell's AssemblyLoadContext once and only
// once. Attempting to initialize in a class level fixture will cause multiple
// initializations, resulting in test failure due to "Binding model is already locked ... | bingbing8/PowerShell | test/csharp/fixture_AssemblyLoadContext.cs | https://github.com/bingbing8/PowerShell/blob/HEAD/test/csharp/fixture_AssemblyLoadContext.cs | ghcode:00161:b1072909c017 | mit | codeparrot/github-code | b1072909c0171545a4eb2ab14f5ed05cc99f754d0ed7e84a5b24554066ccf5b1 | 0.85 | testing_debugging_repair_refactoring | 164 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Core.Services;
using Umbraco.Tests.TestHelpers;
using Umbraco.Tests.Testing;
// ReSharper disable CommentTypo
// ReSharper disable StringLiteralTypo
namespace Umbraco.... | rasmuseeg/Umbraco-CMS | src/Umbraco.Tests/Services/ContentServicePublishBranchTests.cs | https://github.com/rasmuseeg/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Services/ContentServicePublishBranchTests.cs | ghcode:00161:baecda5102bd | mit | codeparrot/github-code | baecda5102bd27ebc40ea210c2363717114b4a1317991495482caa42a60ec5bc | 0.85 | testing_debugging_repair_refactoring | 4,844 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.IO;
using System.Net.Sockets;
using System.Net.Test.Common;
using System.Security.Authentication;
using... | shmao/corefx | src/System.Net.Security/tests/FunctionalTests/ServerRequireEncryptionTest.cs | https://github.com/shmao/corefx/blob/HEAD/src/System.Net.Security/tests/FunctionalTests/ServerRequireEncryptionTest.cs | ghcode:00161:17a133748daf | mit | codeparrot/github-code | 17a133748dafa8dab108bc8ab7a46cc1828c931a955908401cbe82038cd9b1e5 | 0.95 | testing_debugging_repair_refactoring | 892 | 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 not u... | antony-liu/npoi | testcases/main/SS/Formula/Functions/TestStatsLib.cs | https://github.com/antony-liu/npoi/blob/HEAD/testcases/main/SS/Formula/Functions/TestStatsLib.cs | ghcode:00161:4fe689e17e70 | apache-2.0 | codeparrot/github-code | 4fe689e17e702b210b1007ae318c633e96798063094e16fa04c2752cb1ead64f | 0.85 | testing_debugging_repair_refactoring | 4,041 | 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... | akromm/azure-sdk-tools | WindowsAzurePowershell/src/Management.ScenarioTest/Common/PowerShellExtensions.cs | https://github.com/akromm/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.ScenarioTest/Common/PowerShellExtensions.cs | ghcode:00161:0e76fe4c1375 | apache-2.0 | codeparrot/github-code | 0e76fe4c137543dd41cad2af177f928e8be96320bf1f5f7a83be49dd8f3cff7b | 0.95 | testing_debugging_repair_refactoring | 1,872 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
using System;
using System.Net;
using System.Net.Http;
using System.Security.Cryptography;
using System.Threading;
using System.Threading.Tasks;
using Microso... | ScottHolden/azure-sdk-for-net | src/SDKs/KeyVault/dataPlane/Microsoft.Azure.KeyVault.Extensions.Tests/Tests/KeyVaultKeyResolverTests.cs | https://github.com/ScottHolden/azure-sdk-for-net/blob/HEAD/src/SDKs/KeyVault/dataPlane/Microsoft.Azure.KeyVault.Extensions.Tests/Tests/KeyVaultKeyResolverTests.cs | ghcode:00161:457d2f0927d0 | mit | codeparrot/github-code | 457d2f0927d0aa7e89d5da7df05480c06ebfabf121e51eb2e0b3c069f496592b | 0.95 | testing_debugging_repair_refactoring | 1,746 | false | 2026-07-17 |
// ****************************************************************
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org.
// ****************************************************************
using System;
using System.Collections;
namespace NUnit.Framew... | continuoustests/AutoTest.Net | lib/NUnit/src/NUnit-2.5.9.10348/src/NUnitFramework/tests/CollectionAdapter.cs | https://github.com/continuoustests/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.5.9.10348/src/NUnitFramework/tests/CollectionAdapter.cs | ghcode:00161:2e0bfd603a7c | mit | codeparrot/github-code | 2e0bfd603a7c2b1c6fe0dc95e9e236d789c75e8a9451ae2cb2859cde8e64c2bb | 0.95 | testing_debugging_repair_refactoring | 272 | 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.Reflection;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Roslyn.Utilities;
using System.Di... | paladique/roslyn | src/Compilers/CSharp/Portable/Emitter/Model/AssemblyReference.cs | https://github.com/paladique/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Emitter/Model/AssemblyReference.cs | ghcode:00161:057148e5264a | apache-2.0 | codeparrot/github-code | 057148e5264ac2def7c9a9b3e72aca3dea9bce5a47897ac0e904e86406726815 | 0.85 | testing_debugging_repair_refactoring | 573 | 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... | irudyak/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/SpringTestBase.cs | https://github.com/irudyak/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/SpringTestBase.cs | ghcode:00161:1361f90f5af9 | apache-2.0 | codeparrot/github-code | 1361f90f5af9194de047d4ba591f3dd7a011f65bab6ed3edde57578e2e9d4343 | 0.85 | testing_debugging_repair_refactoring | 963 | false | 2026-07-17 |
// Copyright (c) Microsoft and contributors. 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 a... | JasonYang-MSFT/azure-sdk-for-net | src/SDKs/Batch/dataPlane/FileConventions/Tests/AzureBatchFileConventions.IntegrationTests/CloudTaskExtensionsTests.cs | https://github.com/JasonYang-MSFT/azure-sdk-for-net/blob/HEAD/src/SDKs/Batch/dataPlane/FileConventions/Tests/AzureBatchFileConventions.IntegrationTests/CloudTaskExtensionsTests.cs | ghcode:00161:5a76f055f2c6 | mit | codeparrot/github-code | 5a76f055f2c66fe12a2f9f1f1682eddd4cb8651e4fe6c4600d5facadf10c4251 | 0.95 | testing_debugging_repair_refactoring | 527 | 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.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Scripting.Test
{
... | droyad/roslyn | src/Scripting/Test/ScriptingTestHelpers.cs | https://github.com/droyad/roslyn/blob/HEAD/src/Scripting/Test/ScriptingTestHelpers.cs | ghcode:00161:5f7698e40e5e | apache-2.0 | codeparrot/github-code | 5f7698e40e5eeb782a0446f42cb779d984e8dd030a13c9592cdddec7f696a74c | 0.85 | testing_debugging_repair_refactoring | 212 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace System.Reflection.Emit.Tests
{
publ... | nbarbettini/corefx | src/System.Reflection.Emit/tests/EnumBuilder/EnumBuilder.Methods.Tests.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Reflection.Emit/tests/EnumBuilder/EnumBuilder.Methods.Tests.cs | ghcode:00161:763caa81fba1 | mit | codeparrot/github-code | 763caa81fba112382cfc02bd39b8700d9fc3afd4dcacdbdcded4ee6a4ae07b8f | 0.95 | testing_debugging_repair_refactoring | 2,085 | 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 Xunit;
namespace System.IO.Tests
{
#region EnumerateFiles
public class DirectoryI... | iamjasonp/corefx | src/System.IO.FileSystem/tests/DirectoryInfo/EnumerableAPIs.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.IO.FileSystem/tests/DirectoryInfo/EnumerableAPIs.cs | ghcode:00161:9e8bf8b7ca97 | mit | codeparrot/github-code | 9e8bf8b7ca975fd3cc160c8de8869d7f59e791c1ebb89f2b148dc9a06189542c | 0.95 | testing_debugging_repair_refactoring | 992 | false | 2026-07-17 |
// Copyright © 2007 by Initial Force AS. All rights reserved.
// https://github.com/InitialForce/UnitsNet
//
// 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, includi... | BoGrevyDynatest/UnitsNet | UnitsNet.Tests/UnitSystemTests.cs | https://github.com/BoGrevyDynatest/UnitsNet/blob/HEAD/UnitsNet.Tests/UnitSystemTests.cs | ghcode:00161:f24fa4f19051 | mit | codeparrot/github-code | f24fa4f190516c8c5d6bd3c7c8521a0639beb4b2eafe620f3724afd2871924dd | 0.85 | testing_debugging_repair_refactoring | 4,478 | false | 2026-07-17 |
using Xunit;
namespace UwpEdit.Test
{
public class UnitTest1
{
#region Public Methods
[Fact]
public void TestMethod1()
{
}
#endregion Public Methods
}
}
| ph1ll/UwpEdit | test/UwpEdit.Test/UnitTest.cs | https://github.com/ph1ll/UwpEdit/blob/HEAD/test/UwpEdit.Test/UnitTest.cs | ghcode:00161:9bde9e14d206 | mit | codeparrot/github-code | 9bde9e14d2063b4792ed44a8560a3059d2d420cf737d521abd2846449004758a | 0.6 | testing_debugging_repair_refactoring | 49 | false | 2026-07-17 |
using System;
using Bender;
using Bender.Configuration;
using Bender.Nodes;
using Bender.Nodes.Object;
using Bender.Nodes.Object.Values;
using Bender.Reflection;
using NUnit.Framework;
using Should;
namespace Tests.Nodes.Object
{
[TestFixture]
public class WriterConventionTests
{
pr... | mikeobrien/Bender | src/Tests/Nodes/Object/WriterConventionTests.cs | https://github.com/mikeobrien/Bender/blob/HEAD/src/Tests/Nodes/Object/WriterConventionTests.cs | ghcode:00161:038bae32370a | mit | codeparrot/github-code | 038bae32370a4caa416e150bb12fb5c3f8594cd6161e3d501a17b5598ea339fd | 0.95 | testing_debugging_repair_refactoring | 3,641 | false | 2026-07-17 |
using FluentValidation.TestHelper;
using NUnit.Framework;
using System;
using ygo.application.Commands.AddBanlist;
using ygo.tests.core;
namespace ygo.application.unit.tests.ValidatorsTests.Commands
{
[TestFixture]
[Category(TestType.Unit)]
public class AddBanlistCommandValidatorTests
{
privat... | fablecode/ygo-api | tests/unit/ygo.application.unit.tests/ValidatorsTests/Commands/AddBanlistCommandValidatorTests.cs | https://github.com/fablecode/ygo-api/blob/HEAD/tests/unit/ygo.application.unit.tests/ValidatorsTests/Commands/AddBanlistCommandValidatorTests.cs | ghcode:00161:1c3a9695d24e | mit | codeparrot/github-code | 1c3a9695d24e8707c53254af1bc38389d38eb522ddd8dbf7d96fa791f1df4fd7 | 0.85 | testing_debugging_repair_refactoring | 508 | false | 2026-07-17 |
using Xunit;
using System;
using PTrampert.AppArgs.Attributes;
using PTrampert.AppArgs.Exceptions;
namespace PTrampert.AppArgs.Test
{
public class OptionParserParseTests
{
protected OptionParser<SampleOpts> Subject { get; set; }
public OptionParserParseTests()
{
Subject = n... | PaulTrampert/PTrampert.AppArgs | test/PTrampert.AppArgs.Test/OptionParserParseTests.cs | https://github.com/PaulTrampert/PTrampert.AppArgs/blob/HEAD/test/PTrampert.AppArgs.Test/OptionParserParseTests.cs | ghcode:00161:211099d55e1e | mit | codeparrot/github-code | 211099d55e1eb15921f95e5d9e524e40e847be30a6017bd6667d3f1c3a428d51 | 0.75 | testing_debugging_repair_refactoring | 597 | false | 2026-07-17 |
#region Copyright
//
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2017
// 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... | janjonas/Dnn.Platform | DNN Platform/Tests/DotNetNuke.Tests.Integration/Executers/PagesExecuter.cs | https://github.com/janjonas/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DotNetNuke.Tests.Integration/Executers/PagesExecuter.cs | ghcode:00161:7659871b544e | mit | codeparrot/github-code | 7659871b544e2136c73895ec24965eb7b9754b0f7f984858b0370096a69361dd | 0.95 | testing_debugging_repair_refactoring | 412 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace Renci.SshNet.Tests.Classes.Channels
{
public abstract class ChannelTestBase
{
internal Mock<ISession> SessionMock { get; private set; }
internal Mock<IConnectionInfo> ConnectionInfoMock { get; private set; }
[Tes... | sshnet/SSH.NET | src/Renci.SshNet.Tests/Classes/Channels/ChannelTestBase.cs | https://github.com/sshnet/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/Channels/ChannelTestBase.cs | ghcode:00161:fd1a7a0aac31 | mit | codeparrot/github-code | fd1a7a0aac31ba0f1e9898ce9e39be3a80dec1857891294884b2a07fd5372b81 | 0.6 | testing_debugging_repair_refactoring | 169 | false | 2026-07-17 |
using NUnit.Framework;
using Revolver.Core;
using Cmd = Revolver.Core.Commands;
namespace Revolver.Test {
[TestFixture]
[Category("Timer")]
public class Timer : BaseCommandTest {
private Cmd.Timer cmd = null;
[TestFixtureSetUp]
public void Init() {
cmd = new Revolver.Core.Commands.Timer();
base.InitCo... | codeflood/revolver | Revolver.Test/Timer.cs | https://github.com/codeflood/revolver/blob/HEAD/Revolver.Test/Timer.cs | ghcode:00161:e33b28e4b454 | mit | codeparrot/github-code | e33b28e4b45439275d78bb33e4acd605d660e0a279f677ec9244e9b242e09ae5 | 0.75 | testing_debugging_repair_refactoring | 121 | false | 2026-07-17 |
using CharacterGen.Domain.IoC;
using DnDGen.Core.IoC;
using DnDGen.Web.App_Start.Modules;
using DungeonGen.Domain.IoC;
using EncounterGen.Domain.IoC;
using EventGen.IoC;
using Ninject;
using NUnit.Framework;
using RollGen.Domain.IoC;
using TreasureGen.Domain.IoC;
namespace DnDGen.Web.Tests.Integration
{
[TestFixt... | DnDGen/DNDGenSite | DnDGen.Web.Tests.Integration/IntegrationTests.cs | https://github.com/DnDGen/DNDGenSite/blob/HEAD/DnDGen.Web.Tests.Integration/IntegrationTests.cs | ghcode:00161:4e51533dabc4 | mit | codeparrot/github-code | 4e51533dabc402ce3b6d91942a620c599da3a8e872e8be9bc7d47276b91ef080 | 0.75 | testing_debugging_repair_refactoring | 311 | false | 2026-07-17 |
using System;
namespace BusinessEngine.Models
{
public class DetailsBonReceptionFournisseur : Entity
{
virtual public int Id { get; set; }
virtual public DateTime DateCreation { get; set; }
virtual public Produit Produit { get; set; }
virtual public BonReceptionFournisseur BonR... | InnovationTeam/BusinessManager | BusinessEngine/Models/DetailsBonReceptionFournisseur.cs | https://github.com/InnovationTeam/BusinessManager/blob/HEAD/BusinessEngine/Models/DetailsBonReceptionFournisseur.cs | ghcode:00161:600c5066dd4e | mit | codeparrot/github-code | 600c5066dd4e9d5c2060ae86961b2f11c643f8fee2836415162bb76b41337e96 | 0.6 | testing_debugging_repair_refactoring | 136 | false | 2026-07-17 |
using System;
using Xunit;
using Com.Bekijkhet.RobotsTxt;
namespace Com.Bekijkhet.RobotsTxtTests
{
public class IsPathAllowedTests
{
private string nl = Environment.NewLine;
[Theory]
[InlineData("", "")]
[InlineData(" ", "")]
public void IsPathAllowed_EmptyUserAgent_Thr... | broersa/RobotsTxt | Com.Bekijkhet.RobotsTxtTests/IsPathAllowedTests.cs | https://github.com/broersa/RobotsTxt/blob/HEAD/Com.Bekijkhet.RobotsTxtTests/IsPathAllowedTests.cs | ghcode:00161:8179f6cfb01f | mit | codeparrot/github-code | 8179f6cfb01ffc227b7247eb919bea61a7588619517b0d539c49374293b090c5 | 0.85 | testing_debugging_repair_refactoring | 2,172 | false | 2026-07-17 |
using System.Diagnostics;
namespace Parsing.Arithmetic.Expressions
{
public abstract class Unary : Expression
{
protected Unary(Expression child)
{
Debug.Assert(child != null);
Child = child;
}
protected Expression Child { get; private set; }
}
... | jandk/parsing | Parsing/Arithmetic/Expressions/Unary.cs | https://github.com/jandk/parsing/blob/HEAD/Parsing/Arithmetic/Expressions/Unary.cs | ghcode:00161:64827519e537 | mit | codeparrot/github-code | 64827519e537b5a1fbef6d5b448e78c0ab7217f01d27abce53eefd73b7406d07 | 0.6 | testing_debugging_repair_refactoring | 397 | false | 2026-07-17 |
using System;
namespace FluentMethods.UnitTests
{
public partial class StringFixture
{
#if NetCore
[Xunit.Fact]
#else
[NUnit.Framework.Test]
#endif
public void Br2Nl()
{
string @this = "Fizz<br />Buzz";
string result = @this.Br2Nl(); // ret... | edwardmeng/FluentMethods | test/Core/System.String/Br2Nl.cs | https://github.com/edwardmeng/FluentMethods/blob/HEAD/test/Core/System.String/Br2Nl.cs | ghcode:00161:a685f6f03f57 | mit | codeparrot/github-code | a685f6f03f573da3b43a7966d37356cdee5676b1a8510c120f8dbfe715cf0dd2 | 0.6 | testing_debugging_repair_refactoring | 101 | false | 2026-07-17 |
using NUnit.Framework;
using VkNet.Model.RequestParams.Notes;
namespace VkNet.Tests.Categories
{
[TestFixture]
public class NotesCategoryTests : BaseTest
{
[Test]
public void Add()
{
Json = @"
{
'response': 11825220
}";
Url = "https://api.vk.com/method/notes.add";
var result = Ap... | Soniclev/vk | VkNet.Tests/Categories/NotesCategoryTests.cs | https://github.com/Soniclev/vk/blob/HEAD/VkNet.Tests/Categories/NotesCategoryTests.cs | ghcode:00161:b7db5d259823 | mit | codeparrot/github-code | b7db5d259823d14ddf5395d8be0b118089011be7021a45d613b05bf8ef786aff | 0.85 | testing_debugging_repair_refactoring | 1,119 | false | 2026-07-17 |
using NUnit.Framework;
using SalaryCalculator.Data.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SalaryCalculator.Tests.Data.SelfEmploymentModels
{
[TestFixture]
public class Constructor_Should
{
[Test]
... | Team-Ressurrection/Asp.NetMVCApp | SalaryCalculator/SalaryCalculatorWeb.Tests/Data.SelfEmploymentModels/Constructor_Should.cs | https://github.com/Team-Ressurrection/Asp.NetMVCApp/blob/HEAD/SalaryCalculator/SalaryCalculatorWeb.Tests/Data.SelfEmploymentModels/Constructor_Should.cs | ghcode:00161:b9a019d8b274 | mit | codeparrot/github-code | b9a019d8b2748b521d29791b83452b35a58b54ef3fb585ad6d6b84ede73be5b0 | 0.7 | testing_debugging_repair_refactoring | 597 | false | 2026-07-17 |
using GildedRose.Tests.TestFixtures;
using Xunit;
using Xunit.Abstractions;
namespace GildedRose.Tests
{
[Collection("Gilded Rose tests")]
[Trait("ItemTypeQualityCalculation", "Legendary")]
public class LegendaryItemTests
{
private readonly ITestOutputHelper _testOutputHelper;
private... | Moleth/InnAdministratorTest | src/GildedRose.Tests/ItemTypeQualityCaclulationTests/LegendaryItemTests.cs | https://github.com/Moleth/InnAdministratorTest/blob/HEAD/src/GildedRose.Tests/ItemTypeQualityCaclulationTests/LegendaryItemTests.cs | ghcode:00161:aa2cec7c1ca7 | mit | codeparrot/github-code | aa2cec7c1ca76a7a362502757ac1c212088c83481417f637a316791831127b0d | 0.75 | testing_debugging_repair_refactoring | 224 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Versioning;
using Moq;
using NuGet.Test.Mocks;
using Xunit;
namespace NuGet.Test
{
public class PackageRepositoryTest
{
// Test that when dependencyVersion is DependencyVersions.Lowest,
// the dependency w... | reudismam/Refazer | ProgramSynthesis/benchmarks3/PackageRepositoryTestB.cs | https://github.com/reudismam/Refazer/blob/HEAD/ProgramSynthesis/benchmarks3/PackageRepositoryTestB.cs | ghcode:00161:1276687a1b2f | mit | codeparrot/github-code | 1276687a1b2f0889b49c51e4aae616aece62785ae72e73e61ebebffcbf449c36 | 0.85 | testing_debugging_repair_refactoring | 5,200 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2014-2016, Institute for Software & Systems Engineering
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including wi... | cubeme/ssharp | Tests/FaultActivation/Formulas/never activated.cs | https://github.com/cubeme/ssharp/blob/HEAD/Tests/FaultActivation/Formulas/never activated.cs | ghcode:00161:ffad81646aa8 | mit | codeparrot/github-code | ffad81646aa8c0e3fd5ef217242150c4ed20b801f77ef389160338e5e24cdd9a | 0.85 | testing_debugging_repair_refactoring | 423 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using System;
namespace NUnit.Framework.Constraints
{
/// <summary>
/// SubPathConstraint tests that the actual path is under the expected path
/// </summary>
public class SubPathConstraint : PathConstraint
{... | nunit/nunit | src/NUnitFramework/framework/Constraints/SubPathConstraint.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/framework/Constraints/SubPathConstraint.cs | ghcode:00161:13f83b361590 | mit | codeparrot/github-code | 13f83b361590262f4e8e0ecbed63a59afb95adde249fb7194378746aa396b55f | 0.85 | testing_debugging_repair_refactoring | 276 | false | 2026-07-17 |
using System.Net;
using Moq;
using Ninject;
using NUnit.Framework;
using RememBeer.MvcClient.Areas.Admin.Controllers;
using RememBeer.MvcClient.Filters;
using RememBeer.Services.Contracts;
using RememBeer.Tests.MvcClient.Controllers.Ninject;
using RememBeer.Tests.Utils;
namespace RememBeer.Tests.MvcClient.Control... | J0hnyBG/RememBeerMeMvc | src/RememBeer.Tests/MvcClient/Controllers/Admin/BreweriesControllerTests/DeleteBeer_Should.cs | https://github.com/J0hnyBG/RememBeerMeMvc/blob/HEAD/src/RememBeer.Tests/MvcClient/Controllers/Admin/BreweriesControllerTests/DeleteBeer_Should.cs | ghcode:00161:56cf636cf3fd | mit | codeparrot/github-code | 56cf636cf3fd19e11cfc03cb2af16275d0915903cad96fc54c400266bfd1ab9b | 0.85 | testing_debugging_repair_refactoring | 361 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.