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.IO;
using System.Reflection;
using FakeItEasy;
using FluentAssertions;
using Machine.Specifications;
using SolutionInspector.Api.Configuration.MsBuildParsing;
using SolutionInspector.Api.Extensions;
using SolutionInspector.Api.ObjectModel;
using SolutionInspector.Api.Utilities;
using Solutio... | chrischu/SolutionInspector | src/SolutionInspector.Api.Tests/Utilities/SolutionLoaderSpec.cs | https://github.com/chrischu/SolutionInspector/blob/HEAD/src/SolutionInspector.Api.Tests/Utilities/SolutionLoaderSpec.cs | ghcode:00170:c3e8e25f336e | mit | codeparrot/github-code | c3e8e25f336e9593fb7ec61859d50b2fe31bded5c35a7e21903a35263959a0bc | 0.85 | testing_debugging_repair_refactoring | 514 | false | 2026-07-17 |
namespace Icing.TestTools.TestFramework
{
/// <summary>Provides data for the event that is raised when a test method is finished.</summary>
public class TestMethodFinishedEventArgs
{
/// <summary>The result from running the test method.</summary>
/// <value>The result from running the test method.</value>
pub... | benallred/Icing | Icing/Icing.TestTools/TestFramework/TestMethodFinishedEventArgs.cs | https://github.com/benallred/Icing/blob/HEAD/Icing/Icing.TestTools/TestFramework/TestMethodFinishedEventArgs.cs | ghcode:00170:03e412072560 | mit | codeparrot/github-code | 03e4120725600fa7f5282e1e1c79ec0776c1a3291b8e1e9df62510cd4ffe9f79 | 0.85 | testing_debugging_repair_refactoring | 156 | false | 2026-07-17 |
namespace NEventStore.Tests
{
public class TestableWireup : Wireup
{
public TestableWireup(Wireup inner) : base(inner)
{
}
public new NanoContainer Container
{
get { return base.Container; }
}
}
}
| NEventStore/NEventStore | src/NEventStore.Tests/TestableWireup.cs | https://github.com/NEventStore/NEventStore/blob/HEAD/src/NEventStore.Tests/TestableWireup.cs | ghcode:00170:058cc7d84944 | mit | codeparrot/github-code | 058cc7d8494428d1a4bdef3ebd0642c72b885da5f0f3ff990cdc10f8cb2ac26d | 0.75 | testing_debugging_repair_refactoring | 61 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using NUnit.Framework;
namespace GeoToolkit.Extensions
{
public static class StringExtension
{
public static bool Contains(this string source, string value, StringComparison comparison)
{
... | geoser/geotoolkit | GeoToolkit/Extensions/StringExtension.cs | https://github.com/geoser/geotoolkit/blob/HEAD/GeoToolkit/Extensions/StringExtension.cs | ghcode:00170:611730f84f90 | mit | codeparrot/github-code | 611730f84f90d83c664c7eff984d1dea7821ec08b56dc41a240e4229cd2d0018 | 0.7 | testing_debugging_repair_refactoring | 537 | 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;
using System.Collections.Generic;
using NUnit.Framework;
using OpenTK;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Fra... | Frontear/osuKyzer | osu.Game.Tests/Visual/TestCaseEditorComposeTimeline.cs | https://github.com/Frontear/osuKyzer/blob/HEAD/osu.Game.Tests/Visual/TestCaseEditorComposeTimeline.cs | ghcode:00170:1eb9abb5435a | mit | codeparrot/github-code | 1eb9abb5435a94bd4a52e0b3dd8c81d79f511b39a3ab8f51bbeeb330244357cf | 0.85 | testing_debugging_repair_refactoring | 311 | false | 2026-07-17 |
using NUnit.Framework;
using UnityEngine;
using UnityEditor.Graphing;
namespace UnityEditor.ShaderGraph.UnitTests
{
[TestFixture]
class MaterialSlotTests
{
private GraphData m_Graph;
private TestNode m_NodeA;
class TestNode : AbstractMaterialNode
{
public const ... | Unity-Technologies/ScriptableRenderLoop | com.unity.shadergraph/Tests/Editor/UnitTests/MaterialSlotTests.cs | https://github.com/Unity-Technologies/ScriptableRenderLoop/blob/HEAD/com.unity.shadergraph/Tests/Editor/UnitTests/MaterialSlotTests.cs | ghcode:00170:c4450b4e78d9 | mit | codeparrot/github-code | c4450b4e78d9854f8b79524f32794dd7610c5a9c22f81f96c24e71de2555aa55 | 0.85 | testing_debugging_repair_refactoring | 1,014 | false | 2026-07-17 |
using System.Data;
using System.IO;
using ESRI.ArcGIS.Geodatabase;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Wave.Extensions.Esri.Tests.Properties;
namespace Wave.Extensions.Esri.Tests
{
[TestClass]
public class OleDbConnectionFactoriesTest
#if V10
: RoadwaysTests
#endif
{
... | Jumpercables/Wave | tests/Wave.Extensions.Esri.Tests/ESRI/ArcGIS/Geodatabase/OleDbConnectionFactoriesTest.cs | https://github.com/Jumpercables/Wave/blob/HEAD/tests/Wave.Extensions.Esri.Tests/ESRI/ArcGIS/Geodatabase/OleDbConnectionFactoriesTest.cs | ghcode:00170:86817e35c493 | mit | codeparrot/github-code | 86817e35c4938f3ca8c733eb85ef40b5206993626d2d8b4e49825bd1bee67e41 | 0.75 | testing_debugging_repair_refactoring | 130 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
namespace Wexflow.NetCore.Tests
{
[TestClass]
public class UglifyCss
{
private static readonly string DestDir = @"C:\WexflowTesting\UglifyCss_dest\";
private static readonly string File1 = @"C:\WexflowTesting\UglifyCss_de... | aelassas/Wexflow | src/tests/netcore/Wexflow.NetCore.Tests/UglifyCss.cs | https://github.com/aelassas/Wexflow/blob/HEAD/src/tests/netcore/Wexflow.NetCore.Tests/UglifyCss.cs | ghcode:00170:a4b1843b3f24 | mit | codeparrot/github-code | a4b1843b3f247bf3441cc0344ebc176997ae196228bbb2bca9c95b31962ff7e9 | 0.85 | testing_debugging_repair_refactoring | 265 | false | 2026-07-17 |
#region Licence
/* The MIT License (MIT)
Copyright © 2014 Francesco Pighi <francesco.pighi@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limita... | BrighterCommand/Brighter | tests/Paramore.Brighter.Sqlite.Tests/Inbox/When_writing_a_message_to_the_command_store.cs | https://github.com/BrighterCommand/Brighter/blob/HEAD/tests/Paramore.Brighter.Sqlite.Tests/Inbox/When_writing_a_message_to_the_command_store.cs | ghcode:00170:e878b452b9df | mit | codeparrot/github-code | e878b452b9dfe1ee76506caecd46f8f70d9e092077ad3f1bfb2f893384d1c675 | 0.85 | testing_debugging_repair_refactoring | 607 | false | 2026-07-17 |
// DataColumnCollectionTest.cs - NUnit Test Cases for System.Data.DataColumnCollection
//
// Authors:
// Franklin Wise <gracenote@earthlink.net>
// Ville Palo <vi64pa@kolumbus.fi>
// Martin Willemoes Hansen <mwh@sysrq.dk>
//
// (C) Copyright 2002 Franklin Wise
// (C) Copyright 2003 Ville Palo
// (C) Copyright 200... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.Data/Test/System.Data/DataColumnCollectionTest.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.Data/Test/System.Data/DataColumnCollectionTest.cs | ghcode:00170:c8c0b8eba4f9 | mit | codeparrot/github-code | c8c0b8eba4f91c2f0a733af63b763815466e31a4d8c9068b4e068323cbb1d6a1 | 0.95 | testing_debugging_repair_refactoring | 5,732 | false | 2026-07-17 |
using Deepcode.CommandLine.Binding;
using Deepcode.CommandLine.Parser;
using Deepcode.CommandLine.Tests.Helpers;
using Should;
using Xunit;
namespace Deepcode.CommandLine.Tests.Binding
{
public class UnboundArgumentsFixture
{
private readonly CommandLineBinder _binder = new CommandLineBinder();
private Command... | Deepcodecouk/Deepcode.CommandLine | src/Deepcode.CommandLine.Tests/Binding/UnboundArgumentsFixture.cs | https://github.com/Deepcodecouk/Deepcode.CommandLine/blob/HEAD/src/Deepcode.CommandLine.Tests/Binding/UnboundArgumentsFixture.cs | ghcode:00170:49a4e9e3b163 | mit | codeparrot/github-code | 49a4e9e3b163472d10b33e74c377c1eae4cc1f96a40c5d11cd6e3e4cbe8629df | 0.7 | testing_debugging_repair_refactoring | 644 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Azure.AI.Personalizer.Tests
{
public class ConfigurationsTests : PersonalizerTestBase
{
public ConfigurationsTests(bool isAsync)... | AsrOneSdk/azure-sdk-for-net | sdk/personalizer/Azure.AI.Personalizer/tests/Personalizer/ConfigurationsTests.cs | https://github.com/AsrOneSdk/azure-sdk-for-net/blob/HEAD/sdk/personalizer/Azure.AI.Personalizer/tests/Personalizer/ConfigurationsTests.cs | ghcode:00170:19356e95b993 | mit | codeparrot/github-code | 19356e95b9936059216eb34e5fbf1644d04efb275640e69cd0e9e09a9a3c5315 | 0.95 | testing_debugging_repair_refactoring | 793 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
namespace MvvX.Plugins.HockeyApp.MoqUnitTest
{
public class MoqHockeyAppException
{
/// <summary>
/// Current exception
/// </summary>
public Exception Exception { get; set; }
/// <summary>
/// ... | mathieumack/MvvX.Plugins.HockeyApp | MvvX.Plugins.HockeyApp.MoqUnitTest/MoqHockeyAppException.cs | https://github.com/mathieumack/MvvX.Plugins.HockeyApp/blob/HEAD/MvvX.Plugins.HockeyApp.MoqUnitTest/MoqHockeyAppException.cs | ghcode:00170:b2f27cc7b173 | mit | codeparrot/github-code | b2f27cc7b173a898040a14978f8214c12371ec7d8e1a130ccf9c615f3044e8f3 | 0.7 | testing_debugging_repair_refactoring | 96 | false | 2026-07-17 |
namespace Idecom.Bus.Tests
{
using Implementations;
using Xunit;
using Xunit.Should;
public class InterfaceProxyGeneratorTests
{
[Fact]
public void CanGenerateAndSerializeInterface()
{
var generator = new InstanceCreator();
var instance = generator.C... | evgenyk/Idecom.Bus | Idecom.Bus.Tests/InterfaceProxyGeneratorTests.cs | https://github.com/evgenyk/Idecom.Bus/blob/HEAD/Idecom.Bus.Tests/InterfaceProxyGeneratorTests.cs | ghcode:00170:727ecad08e7e | mit | codeparrot/github-code | 727ecad08e7ec149220c6b6eb6700cf5848e89979e306679202fd0c11753721b | 0.85 | testing_debugging_repair_refactoring | 265 | false | 2026-07-17 |
using CodeEditor.ContentTypes;
using CodeEditor.IO;
using CodeEditor.Testing;
using CodeEditor.Text.Data.Implementation;
using Moq;
using NUnit.Framework;
namespace CodeEditor.Text.Data.Tests
{
[TestFixture]
public class TextDocumentFactoryTest : MockBasedTest
{
[Test]
public void ContentTypeIsDeducedFromFileEx... | Unity-Technologies/CodeEditor | src/CodeEditor.Text.Data.Tests/TextDocumentFactoryTest.cs | https://github.com/Unity-Technologies/CodeEditor/blob/HEAD/src/CodeEditor.Text.Data.Tests/TextDocumentFactoryTest.cs | ghcode:00170:f320714e13e9 | mit | codeparrot/github-code | f320714e13e9dd7a24e004dc80bc11a19ee535f23d6374b6abe1e0243fc0d110 | 0.6 | testing_debugging_repair_refactoring | 221 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Reflection;
using Xunit;
namespace System.Linq.Expressions.Tests
{
public static class UnaryPlusTests
{
#region Test method... | mellinoe/corefx | src/System.Linq.Expressions/tests/Unary/UnaryUnaryPlusTests.cs | https://github.com/mellinoe/corefx/blob/HEAD/src/System.Linq.Expressions/tests/Unary/UnaryUnaryPlusTests.cs | ghcode:00170:14a42de53e58 | mit | codeparrot/github-code | 14a42de53e581fcdfc6d5266fb903c83f58fc0088170ec8917741bf8f768053a | 0.95 | testing_debugging_repair_refactoring | 1,655 | false | 2026-07-17 |
// <copyright file="DocumentTypeTest.cs" company="Logikfabrik">
// Copyright (c) 2016 anton(at)logikfabrik.se. Licensed under the MIT license.
// </copyright>
using Logikfabrik.Umbraco.Jet.Test.Models;
namespace Logikfabrik.Umbraco.Jet.Test
{
using System;
using System.Linq;
using Microsoft.VisualStudi... | aarym/uJet | src/Logikfabrik.Umbraco.Jet.Test/DocumentTypeTest.cs | https://github.com/aarym/uJet/blob/HEAD/src/Logikfabrik.Umbraco.Jet.Test/DocumentTypeTest.cs | ghcode:00170:46df3705b5d1 | mit | codeparrot/github-code | 46df3705b5d1521de0980a018935364b16aa34e5b9aade95cb7e27d7725da1a4 | 0.7 | testing_debugging_repair_refactoring | 1,308 | false | 2026-07-17 |
using NetFusion.Messaging.Types;
namespace CoreTests.Messaging.DomainEvents.Mocks
{
public class MockRoleMin : MessageDispatchRule<MockRuleDomainEvent>
{
protected override bool IsMatch(MockRuleDomainEvent message)
{
if (message.RuleTestValue == -1) return false;
return ... | grecosoft/NetFusion | netfusion/test/CoreTests/Messaging/DomainEvents/Mocks/DispatchRules.cs | https://github.com/grecosoft/NetFusion/blob/HEAD/netfusion/test/CoreTests/Messaging/DomainEvents/Mocks/DispatchRules.cs | ghcode:00170:63ed2553c0a7 | mit | codeparrot/github-code | 63ed2553c0a7ace0d135b0841447be0ef89dc711ddc125db2e228f38c1459c76 | 0.85 | testing_debugging_repair_refactoring | 144 | false | 2026-07-17 |
using System.Linq;
using NUnit.Framework;
using SevenDigital.Api.Schema.ArtistEndpoint;
namespace SevenDigital.Api.Wrapper.Integration.Tests.EndpointTests.ArtistEndpoint
{
[TestFixture]
public class ArtistReleasesTests
{
[Test]
public async void Can_hit_endpoint_with_fluent_interface()
{
var... | samcrang/SevenDigital.Api.Wrapper | src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/ArtistEndpoint/ArtistReleasesTests.cs | https://github.com/samcrang/SevenDigital.Api.Wrapper/blob/HEAD/src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/ArtistEndpoint/ArtistReleasesTests.cs | ghcode:00170:febbd27940da | mit | codeparrot/github-code | febbd27940dadffba71d785981cd553e7e0da48d352a9467e9ea5cf6d7bfb9b5 | 0.75 | testing_debugging_repair_refactoring | 257 | false | 2026-07-17 |
using System;
using Ghpr.Core.Common;
using Ghpr.Core.Interfaces;
using Ghpr.Core.Settings;
namespace Ghpr.Core.Tests.Core
{
public class MockDataWriterService : IDataWriterService
{
public IDataWriterService GetDataWriter()
{
return this;
}
public void InitializeD... | GHPReporter/Ghpr.Core | Ghpr.Tests.Tests/Core/MockDataWriterService.cs | https://github.com/GHPReporter/Ghpr.Core/blob/HEAD/Ghpr.Tests.Tests/Core/MockDataWriterService.cs | ghcode:00170:3cf27c6afdfc | mit | codeparrot/github-code | 3cf27c6afdfcb924eb1a1a731171c3dafcc689393a2bc55dc346f1b747df4003 | 0.75 | testing_debugging_repair_refactoring | 344 | false | 2026-07-17 |
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Tocsoft.GraphQLCodeGen.Tests
{
public class TypescriptCodeGen
{
FakeLogger logger;
CodeGeneratorSettingsLoader settingsLoader;
public TypescriptCodeGen()
{
logger = new FakeLogger();... | tocsoft/GraphQLCodeGen | Tocsoft.GraphQLCodeGen.Tests/TypescriptCodeGen.cs | https://github.com/tocsoft/GraphQLCodeGen/blob/HEAD/Tocsoft.GraphQLCodeGen.Tests/TypescriptCodeGen.cs | ghcode:00170:a6c60541b67f | mit | codeparrot/github-code | a6c60541b67f8513471f475b182494703c8c99a2e313455c695a58fb4a635454 | 0.6 | testing_debugging_repair_refactoring | 623 | 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.LabServices;
using Microsoft.Azure.Management.LabServices.Models;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using S... | Azure/azure-sdk-for-net | sdk/labservices/Microsoft.Azure.Management.LabServices/tests/Tests/BasicTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/labservices/Microsoft.Azure.Management.LabServices/tests/Tests/BasicTests.cs | ghcode:00170:1f040d0a532c | mit | codeparrot/github-code | 1f040d0a532cd382b8bc48adc1a7f5c1603050a3ba6b42f30fb92049a6849354 | 0.85 | testing_debugging_repair_refactoring | 925 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Diagnostics.Tracing;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Thread... | jamestao/azure-sdk-for-net | src/SDKs/Azure.Base/data-plane/Azure.Base.Tests/EventSourceTests.cs | https://github.com/jamestao/azure-sdk-for-net/blob/HEAD/src/SDKs/Azure.Base/data-plane/Azure.Base.Tests/EventSourceTests.cs | ghcode:00170:374f9a13c11f | mit | codeparrot/github-code | 374f9a13c11f2481a4e08ae02e94873767fa2e999f83ec6af633734398b72625 | 0.85 | testing_debugging_repair_refactoring | 1,061 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CampaignTest.cs" company="Brandon Seydel">
// N/A
// </copyright>
// ------------------------------------------------------------------------------------------------------------... | brandonseydel/MailChimp.Net | MailChimp.Net.Tests/ConversationTest.cs | https://github.com/brandonseydel/MailChimp.Net/blob/HEAD/MailChimp.Net.Tests/ConversationTest.cs | ghcode:00170:84eef7d9bc62 | mit | codeparrot/github-code | 84eef7d9bc6205a01b4687da90f83161f0d3ffdd8cdc6cd8e78e7321a8b5572f | 0.85 | testing_debugging_repair_refactoring | 154 | false | 2026-07-17 |
#if NET472
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using AOP.UsingRealProxy;
using NSubstitute;
using NUnit.Framework;
namespace AOP.Tests.UsingRealProxy
{
public interface ITestClass2
{
void Method();
void MethodWithException();
... | ValeraT1982/AOP | AOP/AOP.Tests/UsingRealProxy/LoggingAdviceTests.cs | https://github.com/ValeraT1982/AOP/blob/HEAD/AOP/AOP.Tests/UsingRealProxy/LoggingAdviceTests.cs | ghcode:00170:e0a5b942d9ff | mit | codeparrot/github-code | e0a5b942d9ff7ea29686b81434eccf94ba0646b48d4a18508f95c8d2863f545c | 0.85 | testing_debugging_repair_refactoring | 4,853 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.OpenApi.Models;
using Newtonsoft.Json;
using Shouldly;
using Swashbuckle.AspNetCore.Filters.Test.TestFixtures.Fakes.Examples;
namespace Swashbuckle.AspNetCore.Filters.Test.Extensions
{
public static class ExampleAssertExtensions
... | mattfrear/Swashbuckle.AspNetCore.Examples | test/Swashbuckle.AspNetCore.Filters.Test/Extensions/ExampleAssertExtensions.cs | https://github.com/mattfrear/Swashbuckle.AspNetCore.Examples/blob/HEAD/test/Swashbuckle.AspNetCore.Filters.Test/Extensions/ExampleAssertExtensions.cs | ghcode:00170:f13c95f8d07c | mit | codeparrot/github-code | f13c95f8d07ce7780a79f1c49f861f6862560a20e9f3a35209c94ca556dc2499 | 0.75 | testing_debugging_repair_refactoring | 440 | false | 2026-07-17 |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using ... | weshaggard/cli | test/Microsoft.DotNet.Tools.Tests.Utilities/Assertions/FileInfoExtensions.FileInfoNuGetLock.cs | https://github.com/weshaggard/cli/blob/HEAD/test/Microsoft.DotNet.Tools.Tests.Utilities/Assertions/FileInfoExtensions.FileInfoNuGetLock.cs | ghcode:00170:76edb62643ef | mit | codeparrot/github-code | 76edb62643ef0573fa50873b6166115377d025ee41e00ffb9640e49764d1f393 | 0.75 | testing_debugging_repair_refactoring | 251 | false | 2026-07-17 |
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Testing.Common;
namespace Nmap.Testing
{
public partial class MapperTesting
{
[TestMethod]
public void Map_WithMapper_Succeeds()
{
//Arrange
var typeMap = MapBuilder.Instance.CreateMap<MainEntity, MainEntityModel>... | Hennadii/Nmap | SourceCode/Nmap/Testing/Nmap.Testing/MapperTesting.Mapping.cs | https://github.com/Hennadii/Nmap/blob/HEAD/SourceCode/Nmap/Testing/Nmap.Testing/MapperTesting.Mapping.cs | ghcode:00170:f079e308d0e2 | mit | codeparrot/github-code | f079e308d0e2869596f74dbbe0885fac2b76eb009b356fb8ae633c948ea72604 | 0.7 | testing_debugging_repair_refactoring | 4,699 | false | 2026-07-17 |
using DocFunctions.Lib.Clients;
using Xunit;
using System.Configuration;
namespace DocFunctions.Lib.Integration.Clients
{
public class GithubClientTests
{
[Fact]
[Trait("Category", "Integration")]
public void GetsRawData()
{
var username = ConfigurationM... | Red-Folder/docs.functions | tests/DocFunctions.Lib.Integration/Clients/GithubClientTests.cs | https://github.com/Red-Folder/docs.functions/blob/HEAD/tests/DocFunctions.Lib.Integration/Clients/GithubClientTests.cs | ghcode:00170:56548e913c66 | mit | codeparrot/github-code | 56548e913c66cea63abff07a1fbccb4ad2fd3286f2922856f4fc062d5522587f | 0.75 | testing_debugging_repair_refactoring | 426 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
// You are given a string, S, and a list of words, L, that are all of the same length.
// Find all starting indices of substring(s) in S that is a concatenation
// of each word in L exactly once and without any intervening characters.
// ... | txchen/localleet | csharp/Q030_SubstringwithConcatenationofAllWords.cs | https://github.com/txchen/localleet/blob/HEAD/csharp/Q030_SubstringwithConcatenationofAllWords.cs | ghcode:00170:d4ba2a28ea66 | mit | codeparrot/github-code | d4ba2a28ea66d732b1a49a8e924ba385eb12e97d38ef670eb3748a7eaea54df1 | 0.7 | testing_debugging_repair_refactoring | 529 | false | 2026-07-17 |
using System;
using Agiil.Domain.Projects;
using Agiil.Tests.Attributes;
using NHibernate;
using NUnit.Framework;
using CSF.PersistenceTester;
using CSF.EqualityRules;
using CSF.Collections;
using Agiil.Domain.Tickets;
using Agiil.Domain.Sprints;
using Agiil.Domain.Data;
using AutoFixture.NUnit3;
using CSF.Entities;
... | csf-dev/agiil | Tests/Agiil.Tests.Data/Persistence/NonDirectionalRelationshipPersistenceTests.cs | https://github.com/csf-dev/agiil/blob/HEAD/Tests/Agiil.Tests.Data/Persistence/NonDirectionalRelationshipPersistenceTests.cs | ghcode:00170:5c145e14ed55 | mit | codeparrot/github-code | 5c145e14ed5510d84ff7bac192f8d5077f2fb9a8e402cbec2fe58e66d5ad2049 | 0.75 | testing_debugging_repair_refactoring | 266 | 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;
using System.Collections;
using System.Collections.Generic;
using System.IO;
namespace Microsoft.Extensions.FileProviders
{
public class TestDirectoryContent : ID... | aspnet/AspNetCore | src/Mvc/shared/Mvc.Views.TestCommon/TestDirectoryContent.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/shared/Mvc.Views.TestCommon/TestDirectoryContent.cs | ghcode:00170:74107a3e4f48 | apache-2.0 | codeparrot/github-code | 74107a3e4f4863cfb6ef4be92823f882b5715183e92ead8483f37514bcf60751 | 0.75 | testing_debugging_repair_refactoring | 197 | false | 2026-07-17 |
using FlatBuffers.Attributes;
namespace FlatBuffers.Tests.TestTypes
{
[FlatBuffersIgnore]
public class TestIgnoredTable
{
public int IntProp { get; set; }
public byte ByteProp { get; set; }
public short ShortProp { get; set; }
}
} | evolutional/flatbuffers-net | FlatBuffers-net.Tests/TestTypes/TestIgnoredTable.cs | https://github.com/evolutional/flatbuffers-net/blob/HEAD/FlatBuffers-net.Tests/TestTypes/TestIgnoredTable.cs | ghcode:00170:41caa9fbaad3 | apache-2.0 | codeparrot/github-code | 41caa9fbaad3583f41e97ffd5372c9eacd7d5407c1ee351e8138096048e62c9a | 0.75 | testing_debugging_repair_refactoring | 66 | 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"); y... | laimis/lucenenet | src/Lucene.Net.Tests.QueryParser/Support/TestApiConsistency.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests.QueryParser/Support/TestApiConsistency.cs | ghcode:00170:e39a8b37fb50 | apache-2.0 | codeparrot/github-code | e39a8b37fb50fdc0c4c789aa2296e2e4449611c58840b3c82e803fd43c432032 | 0.85 | testing_debugging_repair_refactoring | 1,234 | false | 2026-07-17 |
/*
* Copyright 2020 Sage Intacct, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "LICENSE" file accompanying t... | Intacct/intacct-sdk-net | Intacct.SDK.Tests/Functions/Purchasing/PurchasingTransactionCreateTest.cs | https://github.com/Intacct/intacct-sdk-net/blob/HEAD/Intacct.SDK.Tests/Functions/Purchasing/PurchasingTransactionCreateTest.cs | ghcode:00170:87805add957e | apache-2.0 | codeparrot/github-code | 87805add957ead87cc98a68629502a14e37e192e0d77901cc532f25bd75ff7db | 0.75 | testing_debugging_repair_refactoring | 1,899 | false | 2026-07-17 |
#region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2017 FUJIWARA, Yusuke
//
// 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... | msgpack/msgpack-cli | test/MsgPack.UnitTest/TimestampTest.Comparison.cs | https://github.com/msgpack/msgpack-cli/blob/HEAD/test/MsgPack.UnitTest/TimestampTest.Comparison.cs | ghcode:00170:01cefd74902f | apache-2.0 | codeparrot/github-code | 01cefd74902fc5052071fd1ed3d93afd1f3305c9094a85af9773f1c334e26696 | 0.85 | testing_debugging_repair_refactoring | 5,081 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using NUnit.Framework;
using Quintsys.NUnit.Extensions.Annotations;
namespace Quintsys.NUnit.Extensions
{
public static class GenericExtensions
... | QuintSys/NUnit.Extensions | src/NUnit.Extensions/GenericExtensions.cs | https://github.com/QuintSys/NUnit.Extensions/blob/HEAD/src/NUnit.Extensions/GenericExtensions.cs | ghcode:00170:dbcbb3bd1335 | apache-2.0 | codeparrot/github-code | dbcbb3bd133500e6b5a549ab684a1930623ab3cafd92d0f8351bfee3c9916c73 | 0.7 | testing_debugging_repair_refactoring | 1,069 | false | 2026-07-17 |
//
// Copyright © Martin Tamme
//
// 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 agreed to i... | mtamme/NProxy | Source/Test/NProxy.Core.Test/Types/EventBase.cs | https://github.com/mtamme/NProxy/blob/HEAD/Source/Test/NProxy.Core.Test/Types/EventBase.cs | ghcode:00170:6bb7a32be1b1 | apache-2.0 | codeparrot/github-code | 6bb7a32be1b17a22ac92296040723be8992bb3ce6eae0f090736033a3ef36d00 | 0.95 | testing_debugging_repair_refactoring | 177 | false | 2026-07-17 |
using Appacitive.Sdk.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appacitive.Sdk.Tests
{
[TestClass]
public class Se... | appacitive/appacitive-dotnet-sdk | src/Appacitive.Sdk.Tests/SerializationFixture.cs | https://github.com/appacitive/appacitive-dotnet-sdk/blob/HEAD/src/Appacitive.Sdk.Tests/SerializationFixture.cs | ghcode:00170:21ccb93ccbbf | apache-2.0 | codeparrot/github-code | 21ccb93ccbbf35c359db04e084f99463761ed33993e0e045552c52958a6f1341 | 0.6 | testing_debugging_repair_refactoring | 145 | false | 2026-07-17 |
using System;
using FluentAssertions;
using NUnit.Framework;
namespace Atata.Tests.DataProvision
{
[TestFixture]
public static class SubjectObjectExtensionsTests
{
[TestFixture]
public static class ToSubject
{
[Test]
public static void WithName() =>
... | atata-framework/atata | test/Atata.Tests/DataProvision/SubjectObjectExtensionsTests.cs | https://github.com/atata-framework/atata/blob/HEAD/test/Atata.Tests/DataProvision/SubjectObjectExtensionsTests.cs | ghcode:00170:8f64b2f6d4ca | apache-2.0 | codeparrot/github-code | 8f64b2f6d4cabd1b8ee74ffa4790640869f6d771ad41df2386a3f029565375dd | 0.75 | testing_debugging_repair_refactoring | 202 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using DotVVM.Framework.Hosting;
namespace DotVVM.Framework.Testing
{
public class TestQueryCollection: Dictionary<string, string>, IQueryCollection, IEquatable<TestQueryCollection>
{
public TestQueryCollection() : base()
{
... | riganti/dotvvm | src/Framework/Framework/Testing/TestQueryCollection.cs | https://github.com/riganti/dotvvm/blob/HEAD/src/Framework/Framework/Testing/TestQueryCollection.cs | ghcode:00170:6bfbe4c04403 | apache-2.0 | codeparrot/github-code | 6bfbe4c04403fefb460f732b14e3ee857dc52fd0563daa0cf00f40e52c6fd924 | 0.75 | testing_debugging_repair_refactoring | 252 | false | 2026-07-17 |
// Copyright 2015 Coinprism, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | openchain/openchain | test/Openchain.Validation.PermissionBased.Tests/AclTests.cs | https://github.com/openchain/openchain/blob/HEAD/test/Openchain.Validation.PermissionBased.Tests/AclTests.cs | ghcode:00170:f70a53adfa82 | apache-2.0 | codeparrot/github-code | f70a53adfa82a4af74064b2b9cbdbc8d6dd0031979d72e2b363c86642c753d31 | 0.85 | testing_debugging_repair_refactoring | 1,120 | false | 2026-07-17 |
using Adform.SqlScripter.Script.Engines;
using Microsoft.SqlServer.Management.Smo;
using NUnit.Framework;
namespace Adform.SqlScripter.Script.Tests
{
[TestFixture]
public class SqlObjectConverterTests
{
private const string ServerName = "localhost";
private const string DatabaseName = "db"... | adform/SqlScripter | Script.Tests/SqlObjectConverterTests.cs | https://github.com/adform/SqlScripter/blob/HEAD/Script.Tests/SqlObjectConverterTests.cs | ghcode:00170:3bf22219d618 | apache-2.0 | codeparrot/github-code | 3bf22219d618dc497a7d58fb7f5941ba7c210ddc59e886141f699b0f0d2e7a57 | 0.75 | testing_debugging_repair_refactoring | 748 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.ResourceManager.Storage.Models;
using Azure.ResourceManager.Storage.Tests.Helper... | stankovski/azure-sdk-for-net | sdk/storage/Azure.ResourceManager.Storage/tests/Tests/BlobServiceTests.cs | https://github.com/stankovski/azure-sdk-for-net/blob/HEAD/sdk/storage/Azure.ResourceManager.Storage/tests/Tests/BlobServiceTests.cs | ghcode:00170:4ac8ec222801 | apache-2.0 | codeparrot/github-code | 4ac8ec22280121d8e87a2106dd401b86bd93da7c1a34df1798ec9ca598fa3152 | 0.95 | testing_debugging_repair_refactoring | 10,492 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using MathNet.Numerics;
using Alicization.Util.Numerics;
namespace Alicization.Model.Tests
{
class NumericTest
{
public static void TestProduct()
{
int repeat = 100;
... | laichunpongben/Alicization | Model/Tests/NumericTest.cs | https://github.com/laichunpongben/Alicization/blob/HEAD/Model/Tests/NumericTest.cs | ghcode:00170:2817b05f3ed6 | apache-2.0 | codeparrot/github-code | 2817b05f3ed6baac63fd7cc561350a64581e8ca10107069e24f4083eb3b15e47 | 0.85 | testing_debugging_repair_refactoring | 1,077 | false | 2026-07-17 |
using System.Linq;
using System.Threading.Tasks;
using MirrorSharp.Advanced.EarlyAccess;
using SharpLab.Server.Common;
using SharpLab.Tests.Internal;
using Xunit;
using Xunit.Abstractions;
namespace SharpLab.Tests.Decompilation {
public class GeneralTests {
private readonly ITestOutputHelper _out... | ashmind/SharpLab | source/NetFramework/Tests/Decompilation/GeneralTests.cs | https://github.com/ashmind/SharpLab/blob/HEAD/source/NetFramework/Tests/Decompilation/GeneralTests.cs | ghcode:00170:5de1017f38d1 | bsd-2-clause | codeparrot/github-code | 5de1017f38d12e5194bbada7dfb1e74d6182b5313311a659e61545616bc8bb38 | 0.88 | testing_debugging_repair_refactoring | 1,909 | false | 2026-07-17 |
#region Using directives
using System;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
using NUnit.Framework;
using Nettiers.AdventureWorks.Entities;
using Nettiers.AdventureWorks.Data;
#endregion
namespace Nettiers.AdventureWorks.UnitTests
{
/// <summary>
/// Provide... | netTiers/netTiers | Samples/AdventureWorks/Generated/Nettiers.AdventureWorks.UnitTests/Views/VProductModelInstructionsTest.cs | https://github.com/netTiers/netTiers/blob/HEAD/Samples/AdventureWorks/Generated/Nettiers.AdventureWorks.UnitTests/Views/VProductModelInstructionsTest.cs | ghcode:00170:b0bff8b118e3 | mit | codeparrot/github-code | b0bff8b118e358e4d4429c803fbc3deb99cd0b18543b9bf82eeacc562d0174bd | 0.85 | testing_debugging_repair_refactoring | 670 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CocosSharp;
namespace tests
{
public class RenderTextureScene : TestScene
{
public static int sceneIdx = -1;
public static int MAX_LAYER = 5;
public static CCLayer CreateTestCase(int nIndex)
... | netonjm/CocosSharp | tests/tests/classes/tests/RenderTextureTest/RenderTextureScene.cs | https://github.com/netonjm/CocosSharp/blob/HEAD/tests/tests/classes/tests/RenderTextureTest/RenderTextureScene.cs | ghcode:00170:00a2009b78cf | mit | codeparrot/github-code | 00a2009b78cf2ee98076022fb733bfc72e4356b68c130b3d57fe3f01ea01df7c | 0.85 | testing_debugging_repair_refactoring | 358 | false | 2026-07-17 |
using NJsonSchema.Generation;
using System;
using System.Collections.Generic;
using Xunit;
namespace NJsonSchema.Tests.Generation
{
public class DefaultSchemaNameGeneratorTests
{
[Theory]
[InlineData(typeof(Dictionary<string, int>), "DictionaryOfStringAndInteger")]
[InlineData(typeof(D... | RSuter/NJsonSchema | src/NJsonSchema.Tests/Generation/DefaultSchemaNameGeneratorTests.cs | https://github.com/RSuter/NJsonSchema/blob/HEAD/src/NJsonSchema.Tests/Generation/DefaultSchemaNameGeneratorTests.cs | ghcode:00170:d6adb3389161 | mit | codeparrot/github-code | d6adb33891614957f4c4d686551088a1fdde331df7fc3cb7f5b8f2d73bb47142 | 0.85 | testing_debugging_repair_refactoring | 188 | false | 2026-07-17 |
using Advanced.Algorithms.Graph;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Advanced.Algorithms.Tests.Graph
{
[TestClass]
public class FordFulkerson_Tests
{
/// <summary>
/// FordFulkerson Max Flow test
/// </summary>
[TestMethod]
public void Ford... | justcoding121/Advanced-Algorithms | tests/Advanced.Algorithms.Tests/Graph/Flow/FordFulkerson_Tests.cs | https://github.com/justcoding121/Advanced-Algorithms/blob/HEAD/tests/Advanced.Algorithms.Tests/Graph/Flow/FordFulkerson_Tests.cs | ghcode:00170:dae9f2ff8678 | mit | codeparrot/github-code | dae9f2ff86781279c2b7250bb7f5c18c0c5e449e9e1c8aad37ceac14e7373c6a | 0.85 | testing_debugging_repair_refactoring | 730 | false | 2026-07-17 |
// <copyright file="SparseVectorTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2016 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of ... | albertp007/mathnet-numerics | src/UnitTests/LinearAlgebraTests/Single/SparseVectorTest.cs | https://github.com/albertp007/mathnet-numerics/blob/HEAD/src/UnitTests/LinearAlgebraTests/Single/SparseVectorTest.cs | ghcode:00170:3429ee84d58f | mit | codeparrot/github-code | 3429ee84d58f4ba8f3e6b4e9e977fe6c0faa468effdc109b7da69b13c408c088 | 0.85 | testing_debugging_repair_refactoring | 2,852 | false | 2026-07-17 |
using Autofac;
using Core;
using Core.Models;
using Core.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using WebHost.Logger;
namespace Tests
{
[TestClass]
public class InMemoryCounterTests
{
IContainer _c... | Enttoi/enttoi-api | src/Tests/InMemoryCounterTests.cs | https://github.com/Enttoi/enttoi-api/blob/HEAD/src/Tests/InMemoryCounterTests.cs | ghcode:00170:6647c60ddb4b | mit | codeparrot/github-code | 6647c60ddb4bf348cefa4cedc6860fe8ab97dc0e3d1a62efdb57ab09a02e1aa3 | 0.95 | testing_debugging_repair_refactoring | 806 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Qubiz.QuizEngine.Database;
using Qubiz.QuizEngine.Database.Repositories;
using Qubiz.QuizEngine.Database.Repositories.Section.Contract;
using Qubiz.QuizEngine.Infrastructure;
using Qubiz.QuizEngine.Services.SectionService;
using System;
using System.... | RoxanaAnghel/quiz-engine | src/UnitTesting/Services/SectionServiceTest.cs | https://github.com/RoxanaAnghel/quiz-engine/blob/HEAD/src/UnitTesting/Services/SectionServiceTest.cs | ghcode:00170:bfa71adc4caf | mit | codeparrot/github-code | bfa71adc4cafd4311c92f94bcf005142838c6c6ab66737d7b3463039324ae42d | 0.75 | testing_debugging_repair_refactoring | 1,755 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using Azure.Core;
using Azure.Messaging.EventHubs.Consumer;
using Azure.Messaging.EventHubs.Primitives;
using Moq;
using NUnit.Framework;
namespace Azure.Messaging.EventHubs... | brjohnstmsft/azure-sdk-for-net | sdk/eventhub/Azure.Messaging.EventHubs/tests/Primitives/EventProcessorTests.Constructor.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/eventhub/Azure.Messaging.EventHubs/tests/Primitives/EventProcessorTests.Constructor.cs | ghcode:00170:d90c2b57040f | mit | codeparrot/github-code | d90c2b57040f1598a2229eaf3dc759137fa6b70c61fa2536bfc5933e6cc5fc08 | 0.95 | testing_debugging_repair_refactoring | 3,855 | false | 2026-07-17 |
// Copyright (c) 2015 ZZZ Projects. All rights reserved
// Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
// Website: http://www.zzzprojects.com/
// Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927
// All ZZZ Projects products: Entity Framework ... | huoxudong125/Z.ExtensionMethods | test/Z.Core.Test/System.String/String.IsNotNullOrEmpty.cs | https://github.com/huoxudong125/Z.ExtensionMethods/blob/HEAD/test/Z.Core.Test/System.String/String.IsNotNullOrEmpty.cs | ghcode:00170:865afaf1e3f6 | mit | codeparrot/github-code | 865afaf1e3f6aa9d9a1737e5e6929ff7df3cfc54ad4c2275693f2dc19fe9d90b | 0.7 | testing_debugging_repair_refactoring | 218 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using System.ComponentModel;
using System.Threading;
using System.Collections;
//using Newtonsoft.Json;
//using Newtonsoft.Json.Linq;
using PubNubMessaging.Core;
namespace PubNubMessaging.Tests
{
[TestFixt... | marceloinacio/c-sharp | mono-for-mac/PubNubTest/WhenAuditIsRequested.cs | https://github.com/marceloinacio/c-sharp/blob/HEAD/mono-for-mac/PubNubTest/WhenAuditIsRequested.cs | ghcode:00170:54b87a402e73 | mit | codeparrot/github-code | 54b87a402e736dd7f6ac1b68f223ab300fc9a925966ea1b984ad97effdef8fa7 | 0.75 | testing_debugging_repair_refactoring | 1,761 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using ClaySharp;
using ClaySharp.Behaviors;
using ImpromptuInterface;
using ImpromptuInterface.Dynamic;
using ImpromptuInterface.Optimization;
#if !SELFRUNNER
using NUnit.Framework;
#endif
#if SILVERLIGHT
names... | cgourlay/impromptu-interface | Tests/UnitTestImpromptuInterface.Clay/ClayTest.cs | https://github.com/cgourlay/impromptu-interface/blob/HEAD/Tests/UnitTestImpromptuInterface.Clay/ClayTest.cs | ghcode:00170:35a944a9ceb8 | apache-2.0 | codeparrot/github-code | 35a944a9ceb8dc9726ed5358fc79d907ee2284adb32d27e604f4889e702633f6 | 0.7 | testing_debugging_repair_refactoring | 1,945 | false | 2026-07-17 |
using FluentAssertions.Common;
using FluentAssertions.Execution;
namespace FluentAssertions.Equivalency.Matching
{
/// <summary>
/// Requires the expectation object to have a member with the exact same name.
/// </summary>
internal class MustMatchByNameRule : IMemberMatchingRule
{
public Se... | Pyroka/FluentAssertions.Unity | FluentAssertions.Unity/Equivalency/Matching/MustMatchByNameRule.cs | https://github.com/Pyroka/FluentAssertions.Unity/blob/HEAD/FluentAssertions.Unity/Equivalency/Matching/MustMatchByNameRule.cs | ghcode:00170:b6d3a01f9702 | apache-2.0 | codeparrot/github-code | b6d3a01f9702a3664f705e0a1e2b8f07331fc83ccbd812191df876fee9c74cc2 | 0.7 | testing_debugging_repair_refactoring | 386 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using AutoPoco.Engine;
using AutoPoco.Testing;
using Moq;
using AutoPoco.Configuration;
using AutoPoco.Configuration.Providers;
namespace AutoPoco.Tests.Unit.Engine
{
[TestFixture]
public class Generat... | reddy6ue/AutoPoco.NetCore | AutoPoco.Tests.Unit/Engine/GenerationContextTests.cs | https://github.com/reddy6ue/AutoPoco.NetCore/blob/HEAD/AutoPoco.Tests.Unit/Engine/GenerationContextTests.cs | ghcode:00170:75948beff3ab | apache-2.0 | codeparrot/github-code | 75948beff3ab69ca27a0c3b16c511af8f84c57a34d322dd954f6cf7eb6d4c52f | 0.75 | testing_debugging_repair_refactoring | 453 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using FluentAssertions.Execution;
namespace FluentAssertions.Primitives
{
/// <summary>
/// Contains a number of methods to assert that a nullable <see cref="TimeSpan"/> is in the expected state.
/// </summary>
/// <remarks>
/// You can use the <see cref="Fl... | fluentassertions/fluentassertions | Src/FluentAssertions/Primitives/NullableSimpleTimeSpanAssertions.cs | https://github.com/fluentassertions/fluentassertions/blob/HEAD/Src/FluentAssertions/Primitives/NullableSimpleTimeSpanAssertions.cs | ghcode:00170:549a85439e64 | apache-2.0 | codeparrot/github-code | 549a85439e64cbb06d9de923ba576513b5c886987b01bc7b2499e624470eaa5f | 0.85 | testing_debugging_repair_refactoring | 1,268 | false | 2026-07-17 |
using UnityEngine;
using System.Collections;
public class SayTest : MonoBehaviour
{
public int passCount;
public void TestPassed()
{
passCount++;
}
}
| RonanPearce/Fungus | Assets/Tests/Narrative/SayTest.cs | https://github.com/RonanPearce/Fungus/blob/HEAD/Assets/Tests/Narrative/SayTest.cs | ghcode:00170:a2c9d3f92722 | mit | codeparrot/github-code | a2c9d3f927228af3cccc1318be3d7503998508f6ccc6fbc16131c169b351388b | 0.6 | testing_debugging_repair_refactoring | 34 | 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 LightNode.Server.Tests
{
public enum MyEnum
{
A = 0,
B = 1,
C = 2,
D = 300,
}
[Flags]
p... | neuecc/LightNode | Tests/LightNode.Server.Tests/MetaEnumTest.cs | https://github.com/neuecc/LightNode/blob/HEAD/Tests/LightNode.Server.Tests/MetaEnumTest.cs | ghcode:00170:45981ed1d96a | mit | codeparrot/github-code | 45981ed1d96acb29d5ea4bf7b9ae5a72fdb6c36772e4ae8439eeea0f06e6b268 | 0.7 | testing_debugging_repair_refactoring | 796 | 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.Diagnostics.Contracts;
namespace System.Globalization
{
public partial c... | neurospeech/coreclr | src/mscorlib/corefx/System/Globalization/CompareInfo.Windows.cs | https://github.com/neurospeech/coreclr/blob/HEAD/src/mscorlib/corefx/System/Globalization/CompareInfo.Windows.cs | ghcode:00170:4c1cfad544a7 | mit | codeparrot/github-code | 4c1cfad544a7e9cc2d5abd55594e439c86ca3d125adfc2496e3893745e7f7e3b | 0.7 | testing_debugging_repair_refactoring | 3,306 | false | 2026-07-17 |
using System;
using Xunit;
using Xunit.Extensions;
namespace Humanizer.Tests.Localisation.ar
{
public class DateHumanizeTests : AmbientCulture
{
public DateHumanizeTests() : base("ar") { }
[Theory]
[InlineData(-1, "أمس")]
[InlineData(-2, "منذ يومين")]
[InlineData(-3, ... | harouny/Humanizer | src/Humanizer.Tests/Localisation/ar/DateHumanizeTests.cs | https://github.com/harouny/Humanizer/blob/HEAD/src/Humanizer.Tests/Localisation/ar/DateHumanizeTests.cs | ghcode:00170:e8297b8db8aa | mit | codeparrot/github-code | e8297b8db8aad9c7ab9aca76cded4bb719ea2e2ae44101999db074d2cd328ff2 | 0.75 | testing_debugging_repair_refactoring | 579 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy, ... | DanielLazarov/test_me-windows_phone_ui | test_me-windows_phone_ui/json/Source/Src/Newtonsoft.Json.Tests/Serialization/CamelCasePropertyNamesContractResolverTests.cs | https://github.com/DanielLazarov/test_me-windows_phone_ui/blob/HEAD/test_me-windows_phone_ui/json/Source/Src/Newtonsoft.Json.Tests/Serialization/CamelCasePropertyNamesContractResolverTests.cs | ghcode:00170:60e4e349df84 | apache-2.0 | codeparrot/github-code | 60e4e349df84f25e9d76c1820e85be723c718316f34db3814926ce3afa1d98b9 | 0.95 | testing_debugging_repair_refactoring | 1,381 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq.Expressions;
namespace NMF.Expressions.Test
{
[TestClass]
public class ExceptionTests
{
[TestMethod]
[ExpectedException(typeof(ArgumentNullException))]
public void ObservableFuncT1_ExplicitFromNull_... | mlessmann/NMF | Expressions/Tests/Expressions.Test/ExceptionTests.cs | https://github.com/mlessmann/NMF/blob/HEAD/Expressions/Tests/Expressions.Test/ExceptionTests.cs | ghcode:00170:6be817d96d3c | apache-2.0 | codeparrot/github-code | 6be817d96d3c461a52a437d63f50a61be30f9b10935098ddd5f0b9d9f18038ff | 0.85 | testing_debugging_repair_refactoring | 1,872 | false | 2026-07-17 |
///////////////////////////////////////////////////////////////////////////////////
// Open 3D Model Viewer (open3mod) (v2.0)
// [SceneAnimator.cs]
// (c) 2012-2015, Open3Mod Contributors
//
// Licensed under the terms and conditions of the 3-clause BSD license. See
// the LICENSE file in the root folder of the reposit... | zhukaixy/open3mod | open3mod/SceneAnimator.cs | https://github.com/zhukaixy/open3mod/blob/HEAD/open3mod/SceneAnimator.cs | ghcode:00170:f8549bc5957a | bsd-3-clause | codeparrot/github-code | f8549bc5957a3c8efa00cf18d9c0f69491cbd13999b27c350f2d79cb298aba38 | 0.7 | testing_debugging_repair_refactoring | 3,049 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collection... | jmarolf/roslyn | src/Workspaces/Core/Portable/Shared/Extensions/ISymbolExtensions.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Workspaces/Core/Portable/Shared/Extensions/ISymbolExtensions.cs | ghcode:00170:57aca16acd5b | mit | codeparrot/github-code | 57aca16acd5bb2b136972fdd851330a962bfb09e33780782f3dc31f0cc9a228e | 0.85 | testing_debugging_repair_refactoring | 5,002 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Diagnostics;
namespace Microsoft.CodeAnalysis.CSharp
{
public sea... | jmarolf/roslyn | src/Compilers/CSharp/Portable/Compilation/CSharpScriptCompilationInfo.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Compilation/CSharpScriptCompilationInfo.cs | ghcode:00170:cc5d3fc859aa | mit | codeparrot/github-code | cc5d3fc859aa5b7e65097dc3b91f926ab9162606a5bd7124b50a07e9ebc3dfcd | 0.85 | testing_debugging_repair_refactoring | 245 | false | 2026-07-17 |
// ------------------------------------------------------------------------------
// Copyright (c) 2014 Microsoft 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 ... | arashkeivan/LiveSDK-for-Windows | src/Web/UnitTests/LiveAuthClientUnitTests.cs | https://github.com/arashkeivan/LiveSDK-for-Windows/blob/HEAD/src/Web/UnitTests/LiveAuthClientUnitTests.cs | ghcode:00170:d00e057f49af | mit | codeparrot/github-code | d00e057f49af99049be9064513a117805fdd7ac887ec8126dcb5601812b11f65 | 0.85 | testing_debugging_repair_refactoring | 1,943 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Diagnostics;
namespace NBarCodes {
/// <summary>
/// Utility class for BitArray operations.
/// </summary>
public static class BitArrayHelper {
/// <summary>
/// Removes the first <see cref="BitArray"/> of an array of
/// BitArrays and returns ... | hoangduit/nbarcodes | src/NBarCodes/Utility/BitArrayHelper.cs | https://github.com/hoangduit/nbarcodes/blob/HEAD/src/NBarCodes/Utility/BitArrayHelper.cs | ghcode:00170:2c0306438ebf | mit | codeparrot/github-code | 2c0306438ebff4abdc2834a321022d2026d4589275951fa0450777fc00bb3053 | 0.7 | testing_debugging_repair_refactoring | 794 | 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 ... | StefanoRaggi/Lean | Tests/Common/OSTests.cs | https://github.com/StefanoRaggi/Lean/blob/HEAD/Tests/Common/OSTests.cs | ghcode:00170:6652a4ff800c | apache-2.0 | codeparrot/github-code | 6652a4ff800c5e54064296c58e4c2d01a9dec9ea355fa0003cc1b1de58307138 | 0.75 | testing_debugging_repair_refactoring | 317 | 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.Resources;
using Microsoft.Azure.Management.Sql;
using Microsoft.Azure.Management.Sql.Models;
using Microsoft.Azure.Test.HttpRec... | AzCiS/azure-sdk-for-net | src/SDKs/SqlManagement/Sql.Tests/BlobAuditingTest.cs | https://github.com/AzCiS/azure-sdk-for-net/blob/HEAD/src/SDKs/SqlManagement/Sql.Tests/BlobAuditingTest.cs | ghcode:00170:35fd3026d3df | mit | codeparrot/github-code | 35fd3026d3dff18e428d0956fc91809083bd3c560df1c580a807c1cf005bf323 | 0.85 | testing_debugging_repair_refactoring | 1,931 | false | 2026-07-17 |
#region License
//
// Command Line Library: UnknownArguments.cs
//
// Author:
// Giacomo Stelluti Scala (gsscoder@gmail.com)
//
// Copyright (C) 2005 - 2012 Giacomo Stelluti Scala
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files ... | jandppw/ppwcode-recovered-from-google-code | dotnet/External/CommandLineParser/trunk/src/tests/Parser/UnknownArgumentsFixture.cs | https://github.com/jandppw/ppwcode-recovered-from-google-code/blob/HEAD/dotnet/External/CommandLineParser/trunk/src/tests/Parser/UnknownArgumentsFixture.cs | ghcode:00170:d98fcbe2b8b4 | apache-2.0 | codeparrot/github-code | d98fcbe2b8b4e2b691ccd6cb5517844192c586989003ed78ef868211d3e01bc5 | 0.95 | testing_debugging_repair_refactoring | 496 | 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... | mlorbetske/azure-sdk-tools | WindowsAzurePowershell/src/Management.Test.Utilities/Common/Data.cs | https://github.com/mlorbetske/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.Test.Utilities/Common/Data.cs | ghcode:00170:65b5ff1b7f93 | apache-2.0 | codeparrot/github-code | 65b5ff1b7f93445499110a628749a32a7571a848d712cac5446811210a897fa6 | 0.95 | testing_debugging_repair_refactoring | 3,029 | 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.... | stankovski/azure-sdk-for-net | sdk/compute/Microsoft.Azure.Management.Compute/tests/ScenarioTests/VMMarketplaceTest.cs | https://github.com/stankovski/azure-sdk-for-net/blob/HEAD/sdk/compute/Microsoft.Azure.Management.Compute/tests/ScenarioTests/VMMarketplaceTest.cs | ghcode:00170:3fd0f31343ff | apache-2.0 | codeparrot/github-code | 3fd0f31343ff0a8dc7f9fbf261ee2e4cfbf2376652224ae611e5909ef93f5d98 | 0.95 | testing_debugging_repair_refactoring | 1,282 | 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.Linq;
using Xunit;
namespace System.IO.FileSystem.Tests
{
public class DirectoryInfo_GetFileSystemInfos_str_so : Directory_GetFileSystemEntries_str_s... | misterzik/corefx | src/System.IO.FileSystem/tests/DirectoryInfo/GetFileSystemInfos_str_so.cs | https://github.com/misterzik/corefx/blob/HEAD/src/System.IO.FileSystem/tests/DirectoryInfo/GetFileSystemInfos_str_so.cs | ghcode:00170:3665c717f3bf | mit | codeparrot/github-code | 3665c717f3bfbdf9a13b49dc6ed8e028c25c30896fa2e59010f86ade8414d5c8 | 0.85 | testing_debugging_repair_refactoring | 206 | 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... | chrisdunelm/google-cloud-dotnet | apis/Google.Cloud.BigQuery.V2/Google.Cloud.BigQuery.V2.IntegrationTests/DatasetsLabelsTest.cs | https://github.com/chrisdunelm/google-cloud-dotnet/blob/HEAD/apis/Google.Cloud.BigQuery.V2/Google.Cloud.BigQuery.V2.IntegrationTests/DatasetsLabelsTest.cs | ghcode:00170:a528c65b9868 | apache-2.0 | codeparrot/github-code | a528c65b9868cfce3f78dc734110904a0e5e57acb292ba3d94e7bf02321bcf38 | 0.85 | testing_debugging_repair_refactoring | 2,885 | 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.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Mic... | jbhensley/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/OperatorTests.cs | https://github.com/jbhensley/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/OperatorTests.cs | ghcode:00170:371dc3a15295 | apache-2.0 | codeparrot/github-code | 371dc3a1529511e186382bb835167cd31f4fbd51aa726bba03d412477ac3d607 | 0.75 | testing_debugging_repair_refactoring | 80,112 | 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.Reflection.Meta... | sharadagrawal/Roslyn | src/Compilers/Core/Portable/Emit/EditAndContinue/DeltaMetadataWriter.cs | https://github.com/sharadagrawal/Roslyn/blob/HEAD/src/Compilers/Core/Portable/Emit/EditAndContinue/DeltaMetadataWriter.cs | ghcode:00170:0cf4e5e738e8 | apache-2.0 | codeparrot/github-code | 0cf4e5e738e823776d1ea27b3e663854872ea5c303037fead57b1632fb97d7e5 | 0.85 | testing_debugging_repair_refactoring | 10,785 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// <copyright file="XmlCharacterData.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primar... | sekcheong/referencesource | System.Xml/System/Xml/Dom/XmlCharacterData.cs | https://github.com/sekcheong/referencesource/blob/HEAD/System.Xml/System/Xml/Dom/XmlCharacterData.cs | ghcode:00170:378432e9baaf | mit | codeparrot/github-code | 378432e9baafb01b8a580c53a124ab913dcebfcb28af38e01a4df91a2fbb9c4e | 0.7 | testing_debugging_repair_refactoring | 1,401 | 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 ... | antony-liu/npoi | testcases/main/HSSF/UserModel/TestHSSFSheetSetOrder.cs | https://github.com/antony-liu/npoi/blob/HEAD/testcases/main/HSSF/UserModel/TestHSSFSheetSetOrder.cs | ghcode:00170:8c48190c76e2 | apache-2.0 | codeparrot/github-code | 8c48190c76e21cd40f874845e2147e261778136f9e84246cd22e082f738afaad | 0.85 | testing_debugging_repair_refactoring | 410 | false | 2026-07-17 |
using System;
using System.Linq;
using FluentNHibernate.Automapping.TestFixtures;
using FluentNHibernate.Conventions.Helpers.Builders;
using FluentNHibernate.Conventions.Instances;
using FluentNHibernate.Mapping;
using FluentNHibernate.MappingModel;
using NUnit.Framework;
namespace FluentNHibernate.Testing.Co... | oceanho/fluent-nhibernate | src/FluentNHibernate.Testing/ConventionsTests/ApplyingToModel/HibernateMappingConventionTests.cs | https://github.com/oceanho/fluent-nhibernate/blob/HEAD/src/FluentNHibernate.Testing/ConventionsTests/ApplyingToModel/HibernateMappingConventionTests.cs | ghcode:00170:e89352c6afbb | bsd-3-clause | codeparrot/github-code | e89352c6afbb380f236e8894ea6e24039456b1415e22c6018c501666d3754116 | 0.75 | testing_debugging_repair_refactoring | 472 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections;
using Xunit;
namespace Tests.Collections
{
public enum CollectionOrder
... | mafiya69/corefx | src/Common/tests/System/Collections/IEnumerableTest.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/Common/tests/System/Collections/IEnumerableTest.cs | ghcode:00170:ade06e6df761 | mit | codeparrot/github-code | ade06e6df761e5216fff19b3694efc273e9f0eca9f8e5c23d1107664a669f5ce | 0.95 | testing_debugging_repair_refactoring | 2,687 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace System {
// These sources are taken from corclr repo (src\mscorlib\src\System\Buffer.cs... | comdiv/corefx | src/System.Text.Encodings.Web/src/System/Text/Encodings/Web/BufferInternal.cs | https://github.com/comdiv/corefx/blob/HEAD/src/System.Text.Encodings.Web/src/System/Text/Encodings/Web/BufferInternal.cs | ghcode:00170:9a42119d379e | mit | codeparrot/github-code | 9a42119d379ebd2e795242d9b3e699742bd48d9839d94af88a1f2e44bee23492 | 0.95 | testing_debugging_repair_refactoring | 1,712 | 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.IO;
using Xunit;
namespace System.IO.Tests
{
public partial class FileStream_ctor_str_fm_fa_fs : FileStream_ctor_str_fm_fa
{
... | heXelium/corefx | src/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs.cs | https://github.com/heXelium/corefx/blob/HEAD/src/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs.cs | ghcode:00170:e4c65f19aa72 | mit | codeparrot/github-code | e4c65f19aa72065e7a66662174a0476cf3c5723e56cae7d4702e2a20db0d6ca0 | 0.95 | testing_debugging_repair_refactoring | 738 | false | 2026-07-17 |
// Copyright (C) 2011-2012 Per Rovegård, http://rovegard.com
// This file is subject to the terms and conditions of the MIT license. See the file 'LICENSE',
// which is part of this source code package, or http://per.mit-license.org/2011.
using System;
using NUnit.Framework;
namespace TestNess.Target
{
[TestFixtu... | provegard/testness | TestNess.Target/IntegerCalculatorTestNUnit.cs | https://github.com/provegard/testness/blob/HEAD/TestNess.Target/IntegerCalculatorTestNUnit.cs | ghcode:00170:ff457350b720 | mit | codeparrot/github-code | ff457350b7205326cb4848b7ea8a28b568f0b87d23aab2c51b0a3346c4a53b1d | 0.7 | testing_debugging_repair_refactoring | 702 | false | 2026-07-17 |
// <copyright file="ReportGeneratorTests.cs" company="Heleonix - Hennadii Lutsyshyn">
// Copyright (c) 2016-present Heleonix - Hennadii Lutsyshyn. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the repository root for full license information.
// </copyright>
namespace Heleonix.Build.Test... | Heleonix/Heleonix.Build | Heleonix.Build.Tests/Targets/ReportGeneratorTests.cs | https://github.com/Heleonix/Heleonix.Build/blob/HEAD/Heleonix.Build.Tests/Targets/ReportGeneratorTests.cs | ghcode:00170:dc2c63dd19b8 | mit | codeparrot/github-code | dc2c63dd19b8da994b01948ec8c2dcc44540ca9c9561bf1f80bf584b1c367edd | 0.85 | testing_debugging_repair_refactoring | 470 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Transactions;
using FluentAssertions;
#if NET461
using NEventStore.Diagnostics;
#endif
using NEventStore.Persistence.AcceptanceTests.BDD;
using NEventStore.Persistence.Sql;
using NEventStore.Persistence.Sql.SqlDialects;
... | NEventStore/NEventStore.Persistence.SQL | src/NEventStore.Persistence.MsSql.Tests/TransactionIsolationLevelTests.cs | https://github.com/NEventStore/NEventStore.Persistence.SQL/blob/HEAD/src/NEventStore.Persistence.MsSql.Tests/TransactionIsolationLevelTests.cs | ghcode:00170:19bd1a37068f | mit | codeparrot/github-code | 19bd1a37068fa413e00562c2f0128aacf72324764c269a4992625b9488dc379e | 0.85 | testing_debugging_repair_refactoring | 1,961 | false | 2026-07-17 |
// Copyright (c). All rights reserved.
//
// Licensed under the MIT license.
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace Microsoft.Dism.Tests
{
public class GetCapabilitiesTest : DismTestBase
{
public GetCapabilitiesTest(TestWimTemplate template, ITestOutputHelper testOutput)
... | josemesona/ManagedDism | src/Microsoft.Dism.Tests/GetCapabilitiesTest.cs | https://github.com/josemesona/ManagedDism/blob/HEAD/src/Microsoft.Dism.Tests/GetCapabilitiesTest.cs | ghcode:00170:1d34fed66943 | mit | codeparrot/github-code | 1d34fed66943118547ba28d95c4cc2fd60299cba3b30f7aca7374f7e1cae1dab | 0.7 | testing_debugging_repair_refactoring | 184 | false | 2026-07-17 |
using Microsoft.TeamFoundation.DistributedTask.WebApi;
using Microsoft.VisualStudio.Services.Agent.Worker;
using Moq;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using Xunit;
using Microsoft.TeamFound... | kasubram/vsts-agent | src/Test/L0/Worker/StepsRunnerL0.cs | https://github.com/kasubram/vsts-agent/blob/HEAD/src/Test/L0/Worker/StepsRunnerL0.cs | ghcode:00170:19c8a79d35d7 | mit | codeparrot/github-code | 19c8a79d35d76702a535cca811709ace33bc54712fd8b554d3d30bc83ccd1036 | 0.95 | testing_debugging_repair_refactoring | 3,495 | 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-framework/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Testing;
namespace os... | RedNesto/osu-framework | osu.Framework.VisualTests/Tests/TestCaseSpriteText.cs | https://github.com/RedNesto/osu-framework/blob/HEAD/osu.Framework.VisualTests/Tests/TestCaseSpriteText.cs | ghcode:00170:05f0c86f11fa | mit | codeparrot/github-code | 05f0c86f11fac2aca73f4c1d65c443ca7c24616f1bf97b45168de4fdaca64f69 | 0.95 | testing_debugging_repair_refactoring | 364 | false | 2026-07-17 |
using System;
using AM;
using AM.Json;
using AM.Runtime;
using AM.Xml;
using ManagedIrbis.Quality;
using ManagedIrbis.Quality.Rules;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTests.ManagedIrbis.Quality.Rules
{
[TestClass]
public class Require700Test
: RuleTest
{
... | amironov73/ManagedIrbis | Source/UnitTests/ManagedIrbis/Quality/Rules/Require700Test.cs | https://github.com/amironov73/ManagedIrbis/blob/HEAD/Source/UnitTests/ManagedIrbis/Quality/Rules/Require700Test.cs | ghcode:00170:03e24e0c3d77 | mit | codeparrot/github-code | 03e24e0c3d77e6f6ec1669452499c3212208838daa71dbb3862cd715e4bcebe3 | 0.75 | testing_debugging_repair_refactoring | 229 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using Beanstalkd.Client.Default;
using NUnit.Framework;
namespace Beanstalkd.Client.Tests
{
[TestFixture]
public class JobBulkProducerTest
{
private const string BeanstalkdHost = "192.168.1.254";
private const string TestTu... | bestmike007/Beanstalkd.Client | Beanstalkd.Client.Tests/JobBulkProducerTest.cs | https://github.com/bestmike007/Beanstalkd.Client/blob/HEAD/Beanstalkd.Client.Tests/JobBulkProducerTest.cs | ghcode:00170:da8c2c46d769 | mit | codeparrot/github-code | da8c2c46d769ee22d18e9a1e2c9d32e67c32b5ee8f2a024f4cec836f8276066d | 0.7 | testing_debugging_repair_refactoring | 370 | false | 2026-07-17 |
using FightFleet;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using FightFleet.Managers;
namespace FightFleetTest
{
/// <summary>
///This is a test class for AuthenticationTest and is intended
///to contain all AuthenticationTest Unit Tests
///</summary>
[TestClass()]
pub... | vnads/Fight-Fleet | FightFleetApi/FightFleetTest/UserManagerTests.cs | https://github.com/vnads/Fight-Fleet/blob/HEAD/FightFleetApi/FightFleetTest/UserManagerTests.cs | ghcode:00170:9a3f3ed2a228 | mit | codeparrot/github-code | 9a3f3ed2a22820ee57a55cb376250178c00cbd375f642d96b1c020297ed2c3fb | 0.85 | testing_debugging_repair_refactoring | 384 | false | 2026-07-17 |
using MoviePicker.Common;
using MoviePicker.Common.Interfaces;
using Unity;
namespace XUnitTests
{
public class ParkerMoviePickerValidationTestsContext : MoviePickerValidationTestsContext
{
public ParkerMoviePickerValidationTestsContext()
{
SetupContainer();
}
protected sealed override void SetupContainer... | SpilledMilkCOM/MooveePicker | XUnitTests/ParkerMoviePickerValidationTestsContext.cs | https://github.com/SpilledMilkCOM/MooveePicker/blob/HEAD/XUnitTests/ParkerMoviePickerValidationTestsContext.cs | ghcode:00170:dd67645d2110 | mit | codeparrot/github-code | dd67645d21104be9ced21c862d9903fa2ee40fefc73d4ab66c82d2323a3ba9de | 0.75 | testing_debugging_repair_refactoring | 112 | false | 2026-07-17 |
using System.Linq;
using ESRI.ArcGIS.Geodatabase;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Wave.Extensions.Esri.Tests
{
[TestClass]
public class FieldExtensionsTest : RoadwaysTests
{
#region Public Methods
[TestMethod]
[TestCategory("ESRI")]
public v... | Jumpercables/Wave | tests/Wave.Extensions.Esri.Tests/ESRI/ArcGIS/Geodatabase/Extensions/FieldExtensionsTest.cs | https://github.com/Jumpercables/Wave/blob/HEAD/tests/Wave.Extensions.Esri.Tests/ESRI/ArcGIS/Geodatabase/Extensions/FieldExtensionsTest.cs | ghcode:00170:f1c98bb0130c | mit | codeparrot/github-code | f1c98bb0130c422c29083e209cd833343565724ec523fc849d210fee2ef7d00e | 0.75 | testing_debugging_repair_refactoring | 239 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ProjectEuler.Core;
namespace ProjectEuler.Resolver
{
/// <summary>
/// Summary description for PE55Resolver
/// </summary>
[TestClass]
public class PE55Re... | younthu/ProjectEuler.Net | ProjectEuler.Resolver/PE55Resolver.cs | https://github.com/younthu/ProjectEuler.Net/blob/HEAD/ProjectEuler.Resolver/PE55Resolver.cs | ghcode:00170:a994c3be8c7a | mit | codeparrot/github-code | a994c3be8c7add4689d8c2b2d70ef35a8ce989cf0026b3fab1f41125a39fe069 | 0.7 | testing_debugging_repair_refactoring | 416 | false | 2026-07-17 |
#region Usings
using Xunit;
#endregion
namespace Extend.Testing
{
public partial class Int16ExTest
{
[Fact]
public void IsEvenTest()
{
var value = RandomValueEx.GetRandomInt16();
var expected = value % 2 == 0;
var actual = value.IsEven();
... | DaveSenn/Extend | .Src/Extend.Testing/System.Int16/Int16.IsEven.Test.cs | https://github.com/DaveSenn/Extend/blob/HEAD/.Src/Extend.Testing/System.Int16/Int16.IsEven.Test.cs | ghcode:00170:eef903c29e77 | mit | codeparrot/github-code | eef903c29e77c15583d1e8bd8c01e4c0df18b4c43251afe8fcb07cdd34a5b232 | 0.75 | testing_debugging_repair_refactoring | 87 | false | 2026-07-17 |
using NUnit.Framework;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.Linq;
namespace Benchmark.System.Collections
{
class ConcurrentDictionaryTests : BenchmarkFixture
{
const int Iterations = 1000000;
[Test]
public void Add_Key_Int32()
{
... | hanswolff/benchmark | System.Collections/ConcurrentDictionary.cs | https://github.com/hanswolff/benchmark/blob/HEAD/System.Collections/ConcurrentDictionary.cs | ghcode:00170:10f1221e4cd8 | mit | codeparrot/github-code | 10f1221e4cd811c76251b5894fea65885a79b92a442e308e25a85005a9d897e9 | 0.75 | testing_debugging_repair_refactoring | 1,915 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.