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 NUnit.Core;
using NUnit.Framework;
namespace NUnit.Util.Tests
{
[TestFixture]
public class TestRunnerFactoryTests
{
private RuntimeFramework currentFramework = RuntimeFramework.CurrentFramework;
private string testDll = "/test.dll";
private DefaultTestRunnerFact... | acken/AutoTest.Net | lib/NUnit/src/NUnit-2.5.9.10348/src/ClientUtilities/tests/TestRunnerFactoryTests.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.5.9.10348/src/ClientUtilities/tests/TestRunnerFactoryTests.cs | ghcode:00164:3f214d9fb50a | mit | codeparrot/github-code | 3f214d9fb50a947e30714cc3bda6319679ff31e21e2bdf7c2c4510c87a22df4e | 0.85 | testing_debugging_repair_refactoring | 295 | 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... | atpham256/azure-powershell | src/ResourceManager/Relay/Commands.Relay/Cmdlets/CheckNameAvailability/TestAzureRelayCheckNameAvailability.cs | https://github.com/atpham256/azure-powershell/blob/HEAD/src/ResourceManager/Relay/Commands.Relay/Cmdlets/CheckNameAvailability/TestAzureRelayCheckNameAvailability.cs | ghcode:00164:db93dfd3501a | apache-2.0 | codeparrot/github-code | db93dfd3501a53bc4adb9075fb5b41225471aafa0125220950954738960a000c | 0.85 | testing_debugging_repair_refactoring | 343 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Test.Ut... | shyamnamboodiripad/roslyn | src/Compilers/CSharp/Test/Semantic/FlowAnalysis/FlowDiagnosticTests.cs | https://github.com/shyamnamboodiripad/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/FlowAnalysis/FlowDiagnosticTests.cs | ghcode:00164:b6a769fe322c | apache-2.0 | codeparrot/github-code | b6a769fe322cdceaa0ceb407d9c88429902f355eb45a17f2a93196e5fdb8e8d3 | 0.82 | testing_debugging_repair_refactoring | 19,867 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="ToStringTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//---------------------------------------... | hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataEdmLib/FunctionalTests/ToStringTests.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataEdmLib/FunctionalTests/ToStringTests.cs | ghcode:00164:59be85c05670 | mit | codeparrot/github-code | 59be85c05670234aa3e4c431f7a305849ba5d8d9b9c1dde31327ba7c1f513ae4 | 0.95 | testing_debugging_repair_refactoring | 3,320 | 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.ComponentModel.Tests;
using Xunit;
namespace System.ComponentModel.... | BrennanConroy/corefx | src/System.ComponentModel.TypeConverter/tests/Design/ServiceContainerTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.ComponentModel.TypeConverter/tests/Design/ServiceContainerTests.cs | ghcode:00164:fe58a2d3c9b9 | mit | codeparrot/github-code | fe58a2d3c9b98496b13255c61ac06b690eade70a6de22a50d0771d1754548398 | 0.95 | testing_debugging_repair_refactoring | 5,961 | 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... | antonba/azure-sdk-tools | WindowsAzurePowershell/src/Management.Test/CloudService/Development/Scaffolding/AddAzureWorkerRoleTests.cs | https://github.com/antonba/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.Test/CloudService/Development/Scaffolding/AddAzureWorkerRoleTests.cs | ghcode:00164:e5ec98b7fc1f | apache-2.0 | codeparrot/github-code | e5ec98b7fc1fbb367c7de189236f4ccce442aee8a6dc11031bf53c3749633235 | 0.95 | testing_debugging_repair_refactoring | 1,182 | false | 2026-07-17 |
using NUnit.Framework;
using Nest.Tests.MockData.Domain;
namespace Nest.Tests.Unit.Search.Query.Singles
{
[TestFixture]
public class QueryStringQueryJson
{
[Test]
public void QueryStringQuery()
{
var s = new SearchDescriptor<ElasticsearchProject>()
.From(0)
.Size(10)
.Query(q=>q
.QueryStr... | joehmchan/elasticsearch-net | src/Tests/Nest.Tests.Unit/Search/Query/Singles/QueryStringQueryJson.cs | https://github.com/joehmchan/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Unit/Search/Query/Singles/QueryStringQueryJson.cs | ghcode:00164:1e65e8bf2020 | apache-2.0 | codeparrot/github-code | 1e65e8bf202021abb5e8e693b30c51cf3df550b8adde2f15c4095943ca0a5bf7 | 0.85 | testing_debugging_repair_refactoring | 686 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace M... | physhi/roslyn | src/ExpressionEvaluator/Core/Test/FunctionResolver/Request.cs | https://github.com/physhi/roslyn/blob/HEAD/src/ExpressionEvaluator/Core/Test/FunctionResolver/Request.cs | ghcode:00164:de234f44055d | apache-2.0 | codeparrot/github-code | de234f44055d164e44d05e3f06a9f33b44bf44579db955f9f54cad3c9ba63478 | 0.95 | testing_debugging_repair_refactoring | 298 | false | 2026-07-17 |
namespace Nancy.Testing.Tests
{
using System.Linq;
using FakeItEasy;
using Nancy.Configuration;
using Nancy.Tests;
using Xunit;
public class BrowserContextExtensionsFixture
{
[Fact]
public void Should_remove_default_accept_header_when_accept_is_invoked_without_... | damianh/Nancy | test/Nancy.Testing.Tests/BrowserContextExtensionsFixture.cs | https://github.com/damianh/Nancy/blob/HEAD/test/Nancy.Testing.Tests/BrowserContextExtensionsFixture.cs | ghcode:00164:b39ebd734d05 | mit | codeparrot/github-code | b39ebd734d0587127b9a8a54f4d52b45468b2122315793640174b90d85821a45 | 0.85 | testing_debugging_repair_refactoring | 603 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Xml.Schema
{
using System;
using System.Text;
using System.Collections;
using Syste... | shimingsg/corefx | src/System.Private.Xml/src/System/Xml/Schema/ConstraintStruct.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/Schema/ConstraintStruct.cs | ghcode:00164:85ccb0d9f5aa | mit | codeparrot/github-code | 85ccb0d9f5aac29129dfa68e95ea4a5469b4e9a9fed2962b6247573791df1790 | 0.95 | testing_debugging_repair_refactoring | 3,424 | 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.Diagnostics;
using System.IO;
using System.Security.Cryptography;
namespace Internal.Cryptography
{
internal static partial class CngCom... | comdiv/corefx | src/System.Security.Cryptography.Cng/src/Internal/Cryptography/CngCommon.Hash.cs | https://github.com/comdiv/corefx/blob/HEAD/src/System.Security.Cryptography.Cng/src/Internal/Cryptography/CngCommon.Hash.cs | ghcode:00164:7c37a93c3890 | mit | codeparrot/github-code | 7c37a93c38903534ec96ad236ea81f3f2bba7fd77d9b71d661fb09ee5db1d7dd | 0.95 | testing_debugging_repair_refactoring | 371 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BoletoNet;
namespace Boleto.Net.Testes
{
[TestClass]
public class FatorVencimentoTeste
{
[TestMethod]
public void FatorVencimento_18_01_2014()
{
var fatorVencimento = AbstractBanco.FatorVencimento(n... | EltonRst/boletonet | src/Boleto.Net.Testes/FatorVencimentoTeste.cs | https://github.com/EltonRst/boletonet/blob/HEAD/src/Boleto.Net.Testes/FatorVencimentoTeste.cs | ghcode:00164:7d55f11f6ea6 | apache-2.0 | codeparrot/github-code | 7d55f11f6ea64d40dce8f753b6c01613d1b6d6523ef9899fd43c8e6f62ef4e1b | 0.6 | testing_debugging_repair_refactoring | 559 | 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.ExpressionEvaluator;
using System;
using System.Collections.Immutable;
using System.Diagnostics;
namespace Microsoft.CodeAnalys... | pdelvo/roslyn | src/ExpressionEvaluator/Core/Source/FunctionResolver/CSharp/MemberSignatureParser.cs | https://github.com/pdelvo/roslyn/blob/HEAD/src/ExpressionEvaluator/Core/Source/FunctionResolver/CSharp/MemberSignatureParser.cs | ghcode:00164:e78d7a0ad14b | apache-2.0 | codeparrot/github-code | e78d7a0ad14bfee1235a7f69aba1b19b112ddc310a8b15e000a60e3f93277629 | 0.85 | testing_debugging_repair_refactoring | 1,777 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Xml;
using OLEDB.Test.ModuleCore;
namespace XmlReaderTest.Common
{
public partial class TCBufferBoundaries : TCXMLReaderBaseGeneral
... | vs-team/corefx | src/System.Xml.ReaderWriter/tests/XmlReaderLib/TCBufferBoundaries.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/XmlReaderLib/TCBufferBoundaries.cs | ghcode:00164:a926df6052cc | mit | codeparrot/github-code | a926df6052ccf35228a94f2305492d65024de192e8d5196a26a8d717b50b972b | 0.95 | testing_debugging_repair_refactoring | 750 | 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 Xunit;
namespace System.CodeDom.Tests
{
public class CodeCommentTests : C... | BrennanConroy/corefx | src/System.CodeDom/tests/System/CodeDom/CodeCommentTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.CodeDom/tests/System/CodeDom/CodeCommentTests.cs | ghcode:00164:68f6609f2605 | mit | codeparrot/github-code | 68f6609f2605928ecfaa00b80532baa5f805d9b174b6203286bab04ce3ba64e0 | 0.95 | testing_debugging_repair_refactoring | 412 | false | 2026-07-17 |
using System;
using Moq;
using NUnit.Framework;
using Parser.Common.Contracts;
using Parser.LogFile.Parser.Contracts;
using Parser.LogFile.Parser.Engines;
namespace Parser.LogFile.Parser.Tests.EnginesTests.LogFileParserEngineTests
{
[TestFixture]
public class Constructor_Should
{
[Test]
... | shakuu/Parser | Parser/Tests/Parser.LogFile.Parser.Tests/EnginesTests/LogFileParserEngineTests/Constructor_Should.cs | https://github.com/shakuu/Parser/blob/HEAD/Parser/Tests/Parser.LogFile.Parser.Tests/EnginesTests/LogFileParserEngineTests/Constructor_Should.cs | ghcode:00164:bb18ae2143ae | mit | codeparrot/github-code | bb18ae2143ae15b25c79c50cba542d1e1dafe081dc34127c60f223b2d7e6c0c4 | 0.95 | testing_debugging_repair_refactoring | 596 | false | 2026-07-17 |
using System.Collections.Generic;
using System.ComponentModel;
using NUnit.Framework;
[TestFixture]
public class PropertyChangedSample
{
[Test]
public void Run()
{
var target = new Person();
var propertyNotifications = new List<string>();
target.PropertyChanged += (sender, args) =>... | bcuff/FodyAddinSamples | PropertyChangedSample/Sample.cs | https://github.com/bcuff/FodyAddinSamples/blob/HEAD/PropertyChangedSample/Sample.cs | ghcode:00164:52f4f9196714 | mit | codeparrot/github-code | 52f4f91967148d995e79211c49ab78da939926e702d03c749ad3b8f01f0dac3d | 0.6 | testing_debugging_repair_refactoring | 169 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Screens.S... | DrabWeb/osu | osu.Game.Tests/Visual/SongSelect/TestCaseBeatmapDetailArea.cs | https://github.com/DrabWeb/osu/blob/HEAD/osu.Game.Tests/Visual/SongSelect/TestCaseBeatmapDetailArea.cs | ghcode:00164:b32b2d523f0c | mit | codeparrot/github-code | b32b2d523f0c79f69df8aa76d0d55ebb9a67712adc9cb89285dfef0743762279 | 0.75 | testing_debugging_repair_refactoring | 1,127 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PrtgAPI.Parameters;
using PrtgAPI.Tests.UnitTests.Support;
namespace PrtgAPI.Tests.IntegrationTests.ObjectManipulation
{
[TestClass]
... | lordmilko/PrtgAPI | src/PrtgAPI.Tests.IntegrationTests/CSharp/ObjectManipulation/SetChannelPropertyTests.cs | https://github.com/lordmilko/PrtgAPI/blob/HEAD/src/PrtgAPI.Tests.IntegrationTests/CSharp/ObjectManipulation/SetChannelPropertyTests.cs | ghcode:00164:d9ebf6f7c2e7 | mit | codeparrot/github-code | d9ebf6f7c2e7623c1c710db751d8a0d44077c371b28822d734bfc88c9fd049a8 | 0.85 | testing_debugging_repair_refactoring | 10,187 | 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;
using System.Threading.Tasks;
using Azure;
using Azure.Core.TestFramework;
using Azure.Messaging;
using Azure.Messaging.EventGrid;
... | AsrOneSdk/azure-sdk-for-net | sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/tests/JobhostEndToEnd.cs | https://github.com/AsrOneSdk/azure-sdk-for-net/blob/HEAD/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/tests/JobhostEndToEnd.cs | ghcode:00164:1445cf450d61 | mit | codeparrot/github-code | 1445cf450d6158d991b6ef6d2a433fb141a6a42cd1876ff13c23e42b3e84e581 | 0.95 | testing_debugging_repair_refactoring | 6,381 | false | 2026-07-17 |
// This file is part of YamlDotNet - A .NET library for YAML.
// Copyright (c) Antoine Aubry 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 without restriction, ... | aaubry/YamlDotNet | YamlDotNet.Test/Serialization/NamingConventionTests.cs | https://github.com/aaubry/YamlDotNet/blob/HEAD/YamlDotNet.Test/Serialization/NamingConventionTests.cs | ghcode:00164:41ce9bc08de9 | mit | codeparrot/github-code | 41ce9bc08de97a9db75525c8abe13d1dce2fb0b3d4b52899a07360ee7d189d32 | 0.85 | testing_debugging_repair_refactoring | 777 | false | 2026-07-17 |
using System.Net.Http;
using System.Threading.Tasks;
using NUnit.Framework;
namespace HttpMockPlayer.Samples.GithubClient.Tests
{
[TestFixture]
public class ActivityTests
{
Cassette cassette;
Client client;
[OneTimeSetUp]
public void OneTimeSetUp()
{
ca... | igudkova/http-mock-player | HttpMockPlayer.Samples/GithubClient/Tests/ActivityTests.cs | https://github.com/igudkova/http-mock-player/blob/HEAD/HttpMockPlayer.Samples/GithubClient/Tests/ActivityTests.cs | ghcode:00164:2a0422f9efde | mit | codeparrot/github-code | 2a0422f9efde5bf34de166499cf48ab78195d64e1b3a5e0adbad60a63cea0051 | 0.85 | testing_debugging_repair_refactoring | 279 | false | 2026-07-17 |
namespace More.Composition
{
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Globalization;
using Xunit;
public class SettingAttributeTest
{
public static IEnumerable<object[]> PrimitiveTypeData
{
get
{
... | commonsensesoftware/More | test/More.Composition.Tests/SettingAttributeTest.cs | https://github.com/commonsensesoftware/More/blob/HEAD/test/More.Composition.Tests/SettingAttributeTest.cs | ghcode:00164:0748eebf5baf | mit | codeparrot/github-code | 0748eebf5bafc300420f3245ca887e12b2d0219d17f9ef0e21662eccb7a73d72 | 0.7 | testing_debugging_repair_refactoring | 1,459 | false | 2026-07-17 |
using GeoHash.Net.Utilities.Encoders;
using GeoHash.Net.Utilities.Enums;
using Xunit;
namespace GeoHash.Net.Tests.Encoding
{
public class EncodingTests
{
private const double BuckingHamPalaceLatitude = 51.501568;
private const double BuckingHamPalaceLongitude = -0.141257;
private const... | alexframe/GeoHash.Net | test/GeoHash.Net.Tests/Encoding/EncodingTests.cs | https://github.com/alexframe/GeoHash.Net/blob/HEAD/test/GeoHash.Net.Tests/Encoding/EncodingTests.cs | ghcode:00164:06d26d519a4b | mit | codeparrot/github-code | 06d26d519a4b3c6c9862738d78b18b51f6325c773e6342ec21f95111f9001098 | 0.75 | testing_debugging_repair_refactoring | 459 | false | 2026-07-17 |
using System.Collections;
using EyeInTheSky.Model.Interfaces;
using EyeInTheSky.Model.StalkNodes;
using EyeInTheSky.Model.StalkNodes.BaseNodes;
using EyeInTheSky.Tests.Model.StalkNodes.BaseNodes;
namespace EyeInTheSky.Tests.Model.StalkNodes
{
using NUnit.Framework;
[TestFixture]
public class LogStalkNode... | stwalkerster/eyeinthesky | EyeInTheSky.Tests/Model/StalkNodes/LogStalkNodeTest.cs | https://github.com/stwalkerster/eyeinthesky/blob/HEAD/EyeInTheSky.Tests/Model/StalkNodes/LogStalkNodeTest.cs | ghcode:00164:081a175b100c | mit | codeparrot/github-code | 081a175b100cc3ad156c9480b03d5a0bba5258320a2818da317b5b5cf17963c3 | 0.75 | testing_debugging_repair_refactoring | 456 | false | 2026-07-17 |
using AzureUtilities.Tables;
using Business;
using Core.Configuration;
using Core.Extensibility;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Model.Customer;
namespace RedundancyTests
{
[TestClass]
public class RegularCustomerSelectorTests
{
[TestInitialize]
public void Init()... | jsucupira/table-storage-geo-redundancy-demo | RedundancyTests/RegularCustomerSelectorTests.cs | https://github.com/jsucupira/table-storage-geo-redundancy-demo/blob/HEAD/RedundancyTests/RegularCustomerSelectorTests.cs | ghcode:00164:7655cb6a082c | mit | codeparrot/github-code | 7655cb6a082c695e1d18a126f7f04b9e73378f19dde1ccfb86507a109c240484 | 0.75 | testing_debugging_repair_refactoring | 286 | false | 2026-07-17 |
using System.Threading.Tasks;
using BuildMaster.Net.Releases.Models;
using Xunit;
// ReSharper disable CheckNamespace
namespace BuildMaster.Net.Tests
{
public partial class BuildMasterClientShould
{
[Fact]
public async Task GetReleasesAsync()
{
var results = await _client.... | lvermeulen/BuildMaster.Net | test/BuildMaster.Net.Tests/Releases/BuildMasterClientShould.cs | https://github.com/lvermeulen/BuildMaster.Net/blob/HEAD/test/BuildMaster.Net.Tests/Releases/BuildMasterClientShould.cs | ghcode:00164:5fbcb3601a7e | mit | codeparrot/github-code | 5fbcb3601a7edaa73fd2213b190c1257a31787a86630f3d7a0c3a52b5066c04a | 0.6 | testing_debugging_repair_refactoring | 347 | false | 2026-07-17 |
namespace King.Service.ServiceBus.Test.Integration.Wrappers
{
using global::Azure.Data.Wrappers;
using King.Service.ServiceBus.Models;
using King.Service.ServiceBus.Wrappers;
using Microsoft.Azure.ServiceBus;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using Sy... | jefking/King.Service.ServiceBus | King.Service.ServiceBus.Tests/Integration/Wrappers/BusSubscriptionClientTests.cs | https://github.com/jefking/King.Service.ServiceBus/blob/HEAD/King.Service.ServiceBus.Tests/Integration/Wrappers/BusSubscriptionClientTests.cs | ghcode:00164:16cbb87fca1d | mit | codeparrot/github-code | 16cbb87fca1dfab5eee1c7994375a689ca21769fc4a9721f810336b2075295f5 | 0.75 | testing_debugging_repair_refactoring | 568 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cocos2D;
namespace tests
{
public class SpriteBatchNodeReorderIssue767 : SpriteTestDemo
{
public SpriteBatchNodeReorderIssue767()
{
CCSize s = CCDirector.SharedDirector.WinSize;
... | mono/cocos2d-xna | tests/tests/classes/tests/SpriteTest/SpriteBatchNodeReorderIssue767.cs | https://github.com/mono/cocos2d-xna/blob/HEAD/tests/tests/classes/tests/SpriteTest/SpriteBatchNodeReorderIssue767.cs | ghcode:00164:0b6ab693cf49 | mit | codeparrot/github-code | 0b6ab693cf49aaf9522f068caf2baa13649b88a444fac063fa3e1858d187c303 | 0.95 | testing_debugging_repair_refactoring | 986 | 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 System.Globalization;
using Xunit;
public class CaseInsensitiveCompar... | mafiya69/corefx | src/System.Collections.NonGeneric/tests/CaseInsensitiveComparer/CaseInsensitiveComparer_CultureInfo.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/System.Collections.NonGeneric/tests/CaseInsensitiveComparer/CaseInsensitiveComparer_CultureInfo.cs | ghcode:00164:d1bb8bceeb35 | mit | codeparrot/github-code | d1bb8bceeb357e67fd2f85db0ceb10064f3556429079c3075ff2f6540ea154d3 | 0.95 | testing_debugging_repair_refactoring | 1,241 | false | 2026-07-17 |
/*
* Copyright (c) 2016 Valery Alex P.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of cond... | hww/VARP | Assets/Varp/Scheme/Editor/ValueListTest.cs | https://github.com/hww/VARP/blob/HEAD/Assets/Varp/Scheme/Editor/ValueListTest.cs | ghcode:00164:6c87e53a5b74 | mit | codeparrot/github-code | 6c87e53a5b749d7a9960750ab7bbc16d945d0b7fc98571fa07721bab4d59bd08 | 0.7 | testing_debugging_repair_refactoring | 977 | false | 2026-07-17 |
extern alias NotEnabled;
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NotEnabled::TestFoundations.IntegrationTests.Shared;
using Xunit;
namespace CodeContracts.Fody.IntegrationTests.NotEnabled
{
public... | NickRusinov/CodeContracts.Fody | CodeContracts.Fody.IntegrationTests/NotEnabled/InterfaceWithMethodsTests.cs | https://github.com/NickRusinov/CodeContracts.Fody/blob/HEAD/CodeContracts.Fody.IntegrationTests/NotEnabled/InterfaceWithMethodsTests.cs | ghcode:00164:202b73a08487 | mit | codeparrot/github-code | 202b73a084871ac3028d81ee1169c150598d9978e26cfaaeb0472b4124612a0a | 0.75 | testing_debugging_repair_refactoring | 294 | false | 2026-07-17 |
#region Copyright (c) 2014 James Snape
// <copyright file="DateTimeExtensionsFacts.cs" company="James Snape">
// 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, includ... | jsnape/annex | Annex.Core.Tests/DateTimeExtensionsFacts.cs | https://github.com/jsnape/annex/blob/HEAD/Annex.Core.Tests/DateTimeExtensionsFacts.cs | ghcode:00164:1f05ffb17525 | mit | codeparrot/github-code | 1f05ffb17525a2be8505efea2f39516eba4bf3e6a60e9a5c8ed68241f6499e74 | 0.7 | testing_debugging_repair_refactoring | 1,399 | false | 2026-07-17 |
#if !(UNITY_4_5 || UNITY_4_6 || UNITY_4_7 || UNITY_5_0 || UNITY_5_1 || UNITY_5_2)
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngi... | TORISOUP/UniRx | Assets/Scripts/UnityTests/Async/RunTest.cs | https://github.com/TORISOUP/UniRx/blob/HEAD/Assets/Scripts/UnityTests/Async/RunTest.cs | ghcode:00164:1a882c2cb34b | mit | codeparrot/github-code | 1a882c2cb34b6e2e461cfcd015b8d93eb33cb15fd2f6a0db918e678310b62508 | 0.6 | testing_debugging_repair_refactoring | 532 | 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.
//-----------------------------------------------------------------------
// </copyright>
// <summary>Tests for ProjectInstance public members</summary>
//--------------... | yazeng/msbuild | src/XMakeBuildEngine/UnitTestsPublicOM/Instance/ProjectInstance_Tests.cs | https://github.com/yazeng/msbuild/blob/HEAD/src/XMakeBuildEngine/UnitTestsPublicOM/Instance/ProjectInstance_Tests.cs | ghcode:00164:900c617c6d14 | mit | codeparrot/github-code | 900c617c6d148af9277dea4384cff590cfb884180eaa68125c08df37b80e6ce0 | 0.85 | testing_debugging_repair_refactoring | 8,253 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ManagedIrbis.Readers;
namespace UnitTests.ManagedIrbis.Readers
{
[TestClass]
public class ReaderUtilityTest
{
private static void _TestFixName(string name, string expected)
{
string actual = ReaderUtility.FixName(name);... | amironov73/ManagedIrbis | Source/UnitTests/ManagedIrbis/Readers/ReaderUtilityTest.cs | https://github.com/amironov73/ManagedIrbis/blob/HEAD/Source/UnitTests/ManagedIrbis/Readers/ReaderUtilityTest.cs | ghcode:00164:9f33921b1ab2 | mit | codeparrot/github-code | 9f33921b1ab2038539b95a69700b10d4011629e2dba3cc9e54c8d853ecf1eb79 | 0.75 | testing_debugging_repair_refactoring | 521 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentAssertions;
using Xunit;
namespace ChilliCream.FluentConsole
{
public class BindTaskTests
{
[Fact]
public void ConstructorArgumentValidation()
{
// arrange
List<Tas... | ChilliCream/EventSourceGenerator | src/FluentConsole.Tests/BindTaskTests.cs | https://github.com/ChilliCream/EventSourceGenerator/blob/HEAD/src/FluentConsole.Tests/BindTaskTests.cs | ghcode:00164:88369d57773a | mit | codeparrot/github-code | 88369d57773aaea2da7bff1ce4719895772179657eef9adeb76423b3043d6de5 | 0.85 | testing_debugging_repair_refactoring | 642 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ProductTests.cs" company="Hukano">
// Copyright (c) Hukano. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license informati... | hugener/Sundew.Quantities | Source/Sundew.Quantities.AcceptanceTests/Composition/ProductTests.cs | https://github.com/hugener/Sundew.Quantities/blob/HEAD/Source/Sundew.Quantities.AcceptanceTests/Composition/ProductTests.cs | ghcode:00164:1ffe6187f772 | mit | codeparrot/github-code | 1ffe6187f772b1c523d57a36d7bc59cc8645f4e66732c502bb60c6911f30a294 | 0.85 | testing_debugging_repair_refactoring | 304 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DynamicMvcStage.Core;
using DynamicMvcStage.Core.Controllers;
namespace DynamicMvcStage.Test
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
DynamicControllerContext ... | LemuriaNet/Dynamic-Mvc-Stage | test/DynamicMvcStage.Test/Controllers/DynamicControllerContextTest.cs | https://github.com/LemuriaNet/Dynamic-Mvc-Stage/blob/HEAD/test/DynamicMvcStage.Test/Controllers/DynamicControllerContextTest.cs | ghcode:00164:8587657b546c | mit | codeparrot/github-code | 8587657b546c4295b4d6e7a8b85e74bfa137ccff1fdb2ff4f9b6aa75b2e6b6eb | 0.6 | testing_debugging_repair_refactoring | 93 | false | 2026-07-17 |
using System;
using Xunit;
namespace Krav.Tests
{
public class ArgumentTests
{
public class IsOfType
{
private static readonly string ParameterName = Guid.NewGuid().ToString();
private class UnexpectedType { }
private class ExpectedType { }
pu... | pmacn/Krav | src/Tests/Krav.Tests/ArgumentTests.cs | https://github.com/pmacn/Krav/blob/HEAD/src/Tests/Krav.Tests/ArgumentTests.cs | ghcode:00164:ef50c864c765 | mit | codeparrot/github-code | ef50c864c765c19f8e08ea0643e5f6f02bf97813b7b959c037bf67da29e8f08f | 0.85 | testing_debugging_repair_refactoring | 614 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NSubstitute;
using Octokit;
using Octokit.Tests.Helpers;
using Xunit;
public class CommitsClientTests
{
public class TheGetMethod
{
[Fact]
public async Task EnsuresNonNullArguments()
... | gabrielweyer/octokit.net | Octokit.Tests/Clients/CommitsClientTests.cs | https://github.com/gabrielweyer/octokit.net/blob/HEAD/Octokit.Tests/Clients/CommitsClientTests.cs | ghcode:00164:641836016c06 | mit | codeparrot/github-code | 641836016c068bc15d97602af65085e7a78c6c8e7fb870a3900fb34a11aea956 | 0.75 | testing_debugging_repair_refactoring | 633 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using OutputColorizer;
namespace UnitTests
{
public partial class ColorizerTests
{
[Test]
public void EscapingTest1()
{
Colorizer.WriteLine("\\[[Green!Foo]\\]");
Validate(new TextAndColor(ConsoleColor.Black, "["),
... | AlexGhiondea/OutputColorizer | test/Colorizer.Escaping.Tests.cs | https://github.com/AlexGhiondea/OutputColorizer/blob/HEAD/test/Colorizer.Escaping.Tests.cs | ghcode:00164:1bc187492966 | mit | codeparrot/github-code | 1bc18749296658dd16aaa6ab7c6d3fccdb92c489ec455fbc037b35ff6db8fed6 | 0.75 | testing_debugging_repair_refactoring | 778 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.ResourceManager.Resources;
using NUnit.Framework;
namespace Azure.ResourceManager.Tests
{
public class ProviderCollectionTests : ResourceManagerTestBase
{
public ProviderCollectionTests(bool isAsync)
: ... | Azure/azure-sdk-for-net | sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ProviderCollectionTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ProviderCollectionTests.cs | ghcode:00164:4ba4c19c8ff5 | mit | codeparrot/github-code | 4ba4c19c8ff543634d9d09209d6a401c5bde20a945f94fa9b783cabf4f184c37 | 0.85 | testing_debugging_repair_refactoring | 496 | false | 2026-07-17 |
namespace ArgentPonyWarcraftClient.Integration.Tests.GameDataApi;
public class PvpSeasonApiTests
{
[ResilientFact]
public async Task GetPvpSeasonsIndexAsync_Gets_PvpSeasonsIndex()
{
IPvpSeasonApi warcraftClient = ClientFactory.BuildClient();
RequestResult<PvpSeasonsIndex> result = await w... | danjagnow/ArgentPonyWarcraftClient | tests/ArgentPonyWarcraftClient.Integration.Tests/GameDataApi/PvpSeasonApiTests.cs | https://github.com/danjagnow/ArgentPonyWarcraftClient/blob/HEAD/tests/ArgentPonyWarcraftClient.Integration.Tests/GameDataApi/PvpSeasonApiTests.cs | ghcode:00164:2c29178e108e | mit | codeparrot/github-code | 2c29178e108efc96f036ce5bf0bbec472f52e03101f8f6d4de94e2cbe9754af7 | 0.85 | testing_debugging_repair_refactoring | 627 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Data.SqlClient;
using System.Threading;
using System.CodeDom.Compiler;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
using Microsoft.CSharp;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Xml;
using... | rivantsov/vita | src/6.UnitTests/Vita.Testing.ExtendedTests/DbToEntitiesSourceCodeGenTests.cs | https://github.com/rivantsov/vita/blob/HEAD/src/6.UnitTests/Vita.Testing.ExtendedTests/DbToEntitiesSourceCodeGenTests.cs | ghcode:00164:c65b7966ffe5 | mit | codeparrot/github-code | c65b7966ffe534531d3e1d799f0afe86833685c8f0171f61ba7a22f498cf1e8b | 0.75 | testing_debugging_repair_refactoring | 541 | false | 2026-07-17 |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TestPythonCallByBat : MonoBehaviour {
private string participant_name = "aaa";
// Use this for initialization
void Start1 () {
try
{
System.Diagnostics.Process myProcess =... | Saftophobia/graph-viz-eye-tracker | unityproject/app/Assets/Scripts/Calibration/TestPythonCallByBat.cs | https://github.com/Saftophobia/graph-viz-eye-tracker/blob/HEAD/unityproject/app/Assets/Scripts/Calibration/TestPythonCallByBat.cs | ghcode:00164:4521e0df6aa6 | mit | codeparrot/github-code | 4521e0df6aa64cd2afef69e28651e3a4924eab44e8a04a22c617bfe975f9f1a0 | 0.85 | testing_debugging_repair_refactoring | 603 | false | 2026-07-17 |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | Squidex/squidex | backend/tests/Squidex.Infrastructure.Tests/GravatarHelperTests.cs | https://github.com/Squidex/squidex/blob/HEAD/backend/tests/Squidex.Infrastructure.Tests/GravatarHelperTests.cs | ghcode:00164:4292d794988d | mit | codeparrot/github-code | 4292d794988d97c3b301f2aced3abeb73b945bdb6f5426947e1552ec3e513ea4 | 0.95 | testing_debugging_repair_refactoring | 263 | false | 2026-07-17 |
using System;
using System.Linq;
using Wilcommerce.Catalog.Models;
using Xunit;
namespace Wilcommerce.Catalog.Test.Models
{
public class CustomAttributeTest
{
[Theory]
[InlineData(null)]
[InlineData("")]
[InlineData(" ")]
public void CustomAttributeFactory_Should_Throw_... | wilcommerce/Wilcommerce.Catalog | Wilcommerce.Catalog.Test/Models/CustomAttributeTest.cs | https://github.com/wilcommerce/Wilcommerce.Catalog/blob/HEAD/Wilcommerce.Catalog.Test/Models/CustomAttributeTest.cs | ghcode:00164:2b0acd7e7712 | mit | codeparrot/github-code | 2b0acd7e771284ab4167a0b510259f646a2907ae6131283626da9c117a7c5f47 | 0.6 | testing_debugging_repair_refactoring | 1,248 | false | 2026-07-17 |
//
// BIM IFC library: this library works with Autodesk(R) Revit(R) to export IFC files containing model geometry.
// Copyright (C) 2013 Autodesk, Inc.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free... | ivanifan/RevitCustomIFCexporter | trunk/2015/Source/Revit.IFC.Import/Enums/IFCEnums.cs | https://github.com/ivanifan/RevitCustomIFCexporter/blob/HEAD/trunk/2015/Source/Revit.IFC.Import/Enums/IFCEnums.cs | ghcode:00164:9c07aa625ee5 | mit | codeparrot/github-code | 9c07aa625ee558e7822fa16c757bb20ff730f3a2f2491d3b182202b2e801d3d5 | 0.7 | testing_debugging_repair_refactoring | 10,188 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataUtilities;
using MachineLearning;
using NUnit.Framework;
namespace Tests.MachineLearning
{
[TestFixture]
public class SvmTests
{
[Test]
public void TestLinearSvm_Ir... | skeryl/maths | Tests/MachineLearning/SvmTests.cs | https://github.com/skeryl/maths/blob/HEAD/Tests/MachineLearning/SvmTests.cs | ghcode:00164:7dbe3d1fd88d | apache-2.0 | codeparrot/github-code | 7dbe3d1fd88d9dc37c65eff04f5eb51453a2061d62de9f5e992090c7b690ced4 | 0.75 | testing_debugging_repair_refactoring | 370 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using JustGiving.EventStore.Http.Client;
using JustGiving.EventStore.Http.Client.Exceptions;
using JustGiving.EventStore.Http.SubscriberHost;
using JustGiving.EventStore.Http.SubscriberHost.Monitori... | JustGiving/JustGiving.EventStore.Http | src/JustGiving.EventStore.Http.SubscriberHost.Tests/EventStreamSubscriberTests.cs | https://github.com/JustGiving/JustGiving.EventStore.Http/blob/HEAD/src/JustGiving.EventStore.Http.SubscriberHost.Tests/EventStreamSubscriberTests.cs | ghcode:00164:653ccb288c38 | apache-2.0 | codeparrot/github-code | 653ccb288c3812083376c10749d18d8b66e769975d40f36a667d5003c577ca2f | 0.85 | testing_debugging_repair_refactoring | 8,618 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using System.Linq;
using Zookeeper.PSProvider.Intergration.Tests.Nunit.Helpers;
namespace Zookeeper.PSProvider.Intergration.Tests.Nunit
{
[TestFixture(Category="Integration_tests")]
public class SetLocation : CmdletTestsBase
{
[Test]
public void SetLocat... | Klakier/PsZookeeper | PSProvider.Intergration.Tests/Nunit/Set-Location.cs | https://github.com/Klakier/PsZookeeper/blob/HEAD/PSProvider.Intergration.Tests/Nunit/Set-Location.cs | ghcode:00164:e80b8bb52df1 | apache-2.0 | codeparrot/github-code | e80b8bb52df1f357a80924ec7baa3dcb8682e4c3f310caec7af68f14ff6538d6 | 0.6 | testing_debugging_repair_refactoring | 142 | false | 2026-07-17 |
using Rawr.Base.Algorithms;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace Rawr.UnitTests
{
/// <summary>
///This is a test class for StateSpaceGeneratorTest and is intended
///to contain all StateSpaceGeneratorTest Unit Tests
///</summary>
[TestCla... | Alacant/Rawr-RG | Rawr.UnitTests/StateSpaceGeneratorTest.cs | https://github.com/Alacant/Rawr-RG/blob/HEAD/Rawr.UnitTests/StateSpaceGeneratorTest.cs | ghcode:00164:01f904c02234 | apache-2.0 | codeparrot/github-code | 01f904c02234464e49d437eb2f9d58f88a5f1ac4f7726152b027f926feea7c19 | 0.85 | testing_debugging_repair_refactoring | 2,174 | false | 2026-07-17 |
/*
* Copyright 2012 DigitasLBi Netherlands B.V.
*
* 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 ... | LBiNetherlands/LBi.LostDoc | LBi.LostDoc.Test/MsdnResolverTest.cs | https://github.com/LBiNetherlands/LBi.LostDoc/blob/HEAD/LBi.LostDoc.Test/MsdnResolverTest.cs | ghcode:00164:10163f62b297 | apache-2.0 | codeparrot/github-code | 10163f62b297f1c271a2d77ef9a1df76aefd237e72119570c06c7cf90a848379 | 0.75 | testing_debugging_repair_refactoring | 425 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace WebAssembly.Instructions;
/// <summary>
/// Tests the <see cref="Int64Extend32Signed"/> instruction.
/// </summary>
[TestClass]
public class Int64Extend32SignedTests
{
/// <summary>
/// Tests compilation and execution of the <see cref="Int64Extend... | RyanLamansky/dotnet-webassembly | WebAssembly.Tests/Instructions/Int64Extend32SignedTests.cs | https://github.com/RyanLamansky/dotnet-webassembly/blob/HEAD/WebAssembly.Tests/Instructions/Int64Extend32SignedTests.cs | ghcode:00164:ab91fc900f8f | apache-2.0 | codeparrot/github-code | ab91fc900f8f45e6ff2e6fd3c4b3014c59630ead120c2aa3c8bd55fd94add6fd | 0.85 | testing_debugging_repair_refactoring | 401 | 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.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Internal;
using Microsof... | aspnet/AspNetCore | src/ProjectTemplates/Shared/TemplatePackageInstaller.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/ProjectTemplates/Shared/TemplatePackageInstaller.cs | ghcode:00164:c98595c69e7f | apache-2.0 | codeparrot/github-code | c98595c69e7f1714699f567a0eba6f4421bc64484f56687fffebd6f98dde978d | 0.85 | testing_debugging_repair_refactoring | 1,352 | false | 2026-07-17 |
/*
* Location Intelligence APIs
*
* Incorporate our extensive geodata into everyday applications, business processes and workflows.
*
* OpenAPI spec version: 8.5.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you m... | PitneyBowes/LocationIntelligenceSDK-CSharp | src/pb.locationIntelligence.Test/Model/SicTests.cs | https://github.com/PitneyBowes/LocationIntelligenceSDK-CSharp/blob/HEAD/src/pb.locationIntelligence.Test/Model/SicTests.cs | ghcode:00164:e81b642e27a8 | apache-2.0 | codeparrot/github-code | e81b642e27a858ec0554eb9dcfb9be247a5490b7cf6c0d5ba23f53f50b372da4 | 0.85 | testing_debugging_repair_refactoring | 715 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using LeetCode;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LeetCode.Tests
{
[TestClass()]
public class SearchforaRangeTests
{
[TestMethod()]
public void So... | LouisGuo/LeetCode | Src/Test/SearchforaRangeTests.cs | https://github.com/LouisGuo/LeetCode/blob/HEAD/Src/Test/SearchforaRangeTests.cs | ghcode:00164:cb9b1a33c41e | apache-2.0 | codeparrot/github-code | cb9b1a33c41efdad2bd5303bc0d398754ce9c9f7596ee9474a41dd9dd6fc8f48 | 0.85 | testing_debugging_repair_refactoring | 154 | false | 2026-07-17 |
/*
* Licensed to SharpSoftware under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* SharpSoftware licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not us... | itinero/routing | test/Itinero.Test/Algorithms/Contracted/Dual/HierarchyBuilderTests.cs | https://github.com/itinero/routing/blob/HEAD/test/Itinero.Test/Algorithms/Contracted/Dual/HierarchyBuilderTests.cs | ghcode:00164:f0b24e078dc9 | apache-2.0 | codeparrot/github-code | f0b24e078dc977f4cba4527b83406535c2285b9ad29c6211125dfde0265e100e | 0.85 | testing_debugging_repair_refactoring | 6,118 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Deveel.Data.Services;
using Moq;
using Xunit;
namespace Deveel.Data.Diagnostics {
public class ContextEventRegistryTests : IDisposable {
private IContext context;
private List<IEvent> events;
public ContextEventRegistryTests() {
events = new List<IEv... | deveel/deveeldb.core | test/DeveelDb.Core.Tests/Data/Diagnostics/ContextEventRegistryTests.cs | https://github.com/deveel/deveeldb.core/blob/HEAD/test/DeveelDb.Core.Tests/Data/Diagnostics/ContextEventRegistryTests.cs | ghcode:00164:aefd697adf23 | apache-2.0 | codeparrot/github-code | aefd697adf23a47f0ede164ae6101e821912de7bbf11622d56c82170b05bfb53 | 0.75 | testing_debugging_repair_refactoring | 1,042 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using System.Collections.Generic;
using System.IO;
namespace SalesTaxObserverPattern.Tests
{
[TestFixture]
public class TransactionManagerTests
{
[Test]
public void ReadTransactionsFromFile_Valid_ObserverNeverCalled()
{
var mockObserve... | avinashbhujan/SalesTaxObserverPatternWithLucene | BusinessLogicLayerTests/TransactionManagerTests.cs | https://github.com/avinashbhujan/SalesTaxObserverPatternWithLucene/blob/HEAD/BusinessLogicLayerTests/TransactionManagerTests.cs | ghcode:00164:7819e9861a0c | apache-2.0 | codeparrot/github-code | 7819e9861a0cb4180996d0899c08e9a9acda5a34338536934c89dc7e7b6b6fe1 | 0.75 | testing_debugging_repair_refactoring | 272 | false | 2026-07-17 |
namespace StripeTests
{
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Stripe;
using Xunit;
public class DisputeServiceTest : BaseStripeTest
{
private const string DisputeId = "dp_123";
private readonly D... | richardlawley/stripe.net | src/StripeTests/Services/Disputes/DisputeServiceTest.cs | https://github.com/richardlawley/stripe.net/blob/HEAD/src/StripeTests/Services/Disputes/DisputeServiceTest.cs | ghcode:00164:b981060f1ccc | apache-2.0 | codeparrot/github-code | b981060f1ccc102158896773269b2f220a466ddb83af47ee5667143209cf5804 | 0.75 | testing_debugging_repair_refactoring | 809 | false | 2026-07-17 |
using FluentAssertions;
using global::Xabaril.Core;
using Microsoft.AspNetCore.Http;
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using Xunit;
namespace UnitTests.Xabaril.Core
{
public class http_context_role_provider_should
{
[Fact]
public asyn... | Xabaril/Xabaril | test/UnitTests/Xabaril/Core/HttpContextRoleProviderTests.cs | https://github.com/Xabaril/Xabaril/blob/HEAD/test/UnitTests/Xabaril/Core/HttpContextRoleProviderTests.cs | ghcode:00164:6fac132d4bd2 | apache-2.0 | codeparrot/github-code | 6fac132d4bd241d87db91aee0714693aadc742227b2647e13d6e38bb1d2ddd6e | 0.75 | testing_debugging_repair_refactoring | 740 | false | 2026-07-17 |
using BenchmarkDotNet.Running;
namespace HeapAllocation
{
/* 手元の環境でのベンチマーク実行結果の一例
Method | Mean | StdDev | Gen 0 | Allocated |
------------------ |------------ |----------- |-------- |---------- |
Struct | 5.5147 us | 0.0326 us | - | 24 B |
GarbageCollection | 35.... | ufcpp/UfcppSample | Demo/2017/ManualResourceManagement/HeapAllocation/Program.cs | https://github.com/ufcpp/UfcppSample/blob/HEAD/Demo/2017/ManualResourceManagement/HeapAllocation/Program.cs | ghcode:00164:2ef8c4b09398 | apache-2.0 | codeparrot/github-code | 2ef8c4b093981511c3a10addc958c5ed8fe21e4ded141abb8db938978eece926 | 0.85 | testing_debugging_repair_refactoring | 687 | false | 2026-07-17 |
using System;
namespace Dms.Xunit.TheoryData
{
public class ResourceNotFoundException : Exception
{
public ResourceNotFoundException(string message) : base(message)
{
}
}
} | DarranShepherd/xunit-theorydata | src/Dms.Xunit.TheoryData/ResourceNotFoundException.cs | https://github.com/DarranShepherd/xunit-theorydata/blob/HEAD/src/Dms.Xunit.TheoryData/ResourceNotFoundException.cs | ghcode:00164:e5207fd516d2 | apache-2.0 | codeparrot/github-code | e5207fd516d2cacd48044eb3fca874344c183db76ec84086b3fe9d391d1f7c56 | 0.6 | testing_debugging_repair_refactoring | 41 | 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.Buffers;
using System.Buffers.Binary;
using System.Diagnostics;
namespace System.Net.Http
{
/// <summary>
/// Variable length integer encoding and decoding meth... | aspnet/AspNetCore | src/Shared/runtime/Http3/Helpers/VariableLengthIntegerHelper.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Shared/runtime/Http3/Helpers/VariableLengthIntegerHelper.cs | ghcode:00164:4d11e4a4b6c3 | apache-2.0 | codeparrot/github-code | 4d11e4a4b6c3365ae84619d3c5ba735d0a5c654f492ac3eebe4b9a168106f252 | 0.85 | testing_debugging_repair_refactoring | 1,540 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy ... | aricooperman/jLean | orig-src/Tests/Indicators/VarianceTests.cs | https://github.com/aricooperman/jLean/blob/HEAD/orig-src/Tests/Indicators/VarianceTests.cs | ghcode:00164:65912a95f9a4 | apache-2.0 | codeparrot/github-code | 65912a95f9a4077fae7e90e8980b55d5683e5f33ebe8e9b5d33d0d3865b22fd9 | 0.85 | testing_debugging_repair_refactoring | 271 | false | 2026-07-17 |
/*
* Copyright 2012-2016 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... | thearkhelist/Pkcs11Interop | src/Pkcs11Interop/Pkcs11InteropTests/HighLevelAPI41/Helpers.cs | https://github.com/thearkhelist/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop/Pkcs11InteropTests/HighLevelAPI41/Helpers.cs | ghcode:00164:a60469e33d6c | apache-2.0 | codeparrot/github-code | a60469e33d6c23d9e65efeb6ea2b994a03658680d2e2ef83843459a3226424a6 | 0.85 | testing_debugging_repair_refactoring | 1,663 | false | 2026-07-17 |
using System;
using Xunit;
namespace Digipost.Signature.Api.Client.Core.Tests
{
public class PadesReferenceTests
{
public class ConstructorMethod : PadesReferenceTests
{
[Fact]
public void Simple_constructor()
{
//Arrange
var ... | digipost/signature-api-client-dotnet | Digipost.Signature.Api.Client.Core.Tests/PadesReferenceTests.cs | https://github.com/digipost/signature-api-client-dotnet/blob/HEAD/Digipost.Signature.Api.Client.Core.Tests/PadesReferenceTests.cs | ghcode:00164:fb45923990b0 | apache-2.0 | codeparrot/github-code | fb45923990b051399c54de8301cd75be74fbb85918646f12f09483d2888f8572 | 0.85 | testing_debugging_repair_refactoring | 106 | false | 2026-07-17 |
/*
* Copyright 2012 LBi Netherlands B.V.
*
* 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 a... | LBiNetherlands/LBi.Cli.Arguments | LBi.Cli.Arguments/Parsing/Parser.cs | https://github.com/LBiNetherlands/LBi.Cli.Arguments/blob/HEAD/LBi.Cli.Arguments/Parsing/Parser.cs | ghcode:00164:1100d414eb5c | apache-2.0 | codeparrot/github-code | 1100d414eb5ce2537eacfa67c9fd283eae0949cc2168248c66fcb8d93b624e14 | 0.7 | testing_debugging_repair_refactoring | 976 | false | 2026-07-17 |
/**
* Copyright 2016 d-fens GmbH
*
* 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 in... | dfensgmbh/biz.dfch.CS.Appclusive.Scheduler | src/biz.dfch.CS.Appclusive.Scheduler.Extensions.Tests/ThreadPoolUserWorkItemTest.cs | https://github.com/dfensgmbh/biz.dfch.CS.Appclusive.Scheduler/blob/HEAD/src/biz.dfch.CS.Appclusive.Scheduler.Extensions.Tests/ThreadPoolUserWorkItemTest.cs | ghcode:00164:18afc2a7b287 | apache-2.0 | codeparrot/github-code | 18afc2a7b287c62b08f1cb53da23e17654ecd88d2d76b4a556ee42f208347349 | 0.85 | testing_debugging_repair_refactoring | 580 | false | 2026-07-17 |
using System;
using SharpBox2D.Callbacks;
using SharpBox2D.Collision;
using SharpBox2D.Collision.Shapes;
using SharpBox2D.Common;
using SharpBox2D.Dynamics;
using SharpBox2D.Dynamics.Contacts;
using SharpBox2D.Dynamics.Joints;
using SharpBox2D.Particle;
using SharpBox2D.TestBed.Framework;
namespace SharpBox2D.TestBed.... | gordonmcshane/sharpbox2d | SharpBox2D.TestBed/Testbed/Tests/DamBreak.cs | https://github.com/gordonmcshane/sharpbox2d/blob/HEAD/SharpBox2D.TestBed/Testbed/Tests/DamBreak.cs | ghcode:00164:d5f5e34bb30c | bsd-2-clause | codeparrot/github-code | d5f5e34bb30cf72fc0b6945993a2ba06021c22bf0f16a5d6f2ede830d4ba913d | 0.78 | testing_debugging_repair_refactoring | 338 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
using Amica.Storage;
namespace Test
{
[TestClass]
public class Vat : TestBase
{
private Amica.Models.Vat target = new Amica.Models.Vat { Name = "Name", Code = "code" };
[TestMethod]
public async Task ... | CIR2000/Amica.vNext.Storage | Test/Vat.cs | https://github.com/CIR2000/Amica.vNext.Storage/blob/HEAD/Test/Vat.cs | ghcode:00164:5085594dadeb | bsd-3-clause | codeparrot/github-code | 5085594dadeb25cd0fef399595fee7165d4e0d2e5689672842b38d2053711587 | 0.7 | testing_debugging_repair_refactoring | 600 | false | 2026-07-17 |
using System.Collections.Generic;
using Shouldly.Tests.TestHelpers;
namespace Shouldly.Tests.Dictionaries.ShouldNotContainValueForKey
{
public class KeyAndValueExist : ShouldlyShouldTestScenario
{
readonly Dictionary<MyThing, MyThing> _dictionary = new Dictionary<MyThing,MyThing>
{
... | MitjaBezensek/shouldly | src/Shouldly.Tests/Dictionaries/ShouldNotContainValueForKey/KeyAndValueExist.cs | https://github.com/MitjaBezensek/shouldly/blob/HEAD/src/Shouldly.Tests/Dictionaries/ShouldNotContainValueForKey/KeyAndValueExist.cs | ghcode:00164:2a839b187d4c | bsd-3-clause | codeparrot/github-code | 2a839b187d4c186230e254096582a520eb1cb579733da9300319de375761df9a | 0.75 | testing_debugging_repair_refactoring | 211 | false | 2026-07-17 |
// <copyright file="FourierTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2016 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this ... | albertp007/mathnet-numerics | src/UnitTests/IntegralTransformsTests/FourierTest.cs | https://github.com/albertp007/mathnet-numerics/blob/HEAD/src/UnitTests/IntegralTransformsTests/FourierTest.cs | ghcode:00164:8b3ee0e89e33 | mit | codeparrot/github-code | 8b3ee0e89e333952b9e18698f63d12c1a095be4057da675b103e4c04bcb02eaa | 0.85 | testing_debugging_repair_refactoring | 868 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using Bender;
using Bender.Extensions;
using Bender.Nodes.Object;
using Bender.Reflection;
using NUnit.Framework;
using Should;
using Tests.Collections.Implementations;
namespace Tests.Serializer.Xml
{
[TestFixture]
public... | raidenyn/Bender | src/Tests/Serializer/Xml/RootTypeTests.cs | https://github.com/raidenyn/Bender/blob/HEAD/src/Tests/Serializer/Xml/RootTypeTests.cs | ghcode:00164:1d0d68c19f6a | mit | codeparrot/github-code | 1d0d68c19f6aef246caaecaccff5546693c744ffaa70ed6568060c040a4d7a7e | 0.85 | testing_debugging_repair_refactoring | 287 | false | 2026-07-17 |
using System;
using System.Collections;
using System.IO;
using System.Text;
using NUnit.Framework;
using Raksha.Asn1;
using Raksha.Asn1.Pkcs;
using Raksha.Cms;
using Raksha.Crypto;
using Raksha.Crypto.Parameters;
using Raksha.Security;
using Raksha.Utilities;
using Raksha.Utilities.Encoders;
using Raksha.Utilities.IO... | Taggersoft/Raksha | src/Raksha.Tests (net45)/Cms/EnvelopedDataStreamTest.cs | https://github.com/Taggersoft/Raksha/blob/HEAD/src/Raksha.Tests (net45)/Cms/EnvelopedDataStreamTest.cs | ghcode:00164:3fc4e70809de | mit | codeparrot/github-code | 3fc4e70809ded5e8de2c959995147257e8bc493775c9faffe8c3998ddcd2540a | 0.85 | testing_debugging_repair_refactoring | 5,183 | 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.Concurrent;
using System.IO;
using System.Text;
using System.Diagnostics;
using System.Linq;
using System.Text.RegularExpression... | sean-gilliam/msbuild | src/Shared/FileMatcher.cs | https://github.com/sean-gilliam/msbuild/blob/HEAD/src/Shared/FileMatcher.cs | ghcode:00164:4dd593c5893a | mit | codeparrot/github-code | 4dd593c5893a486112f2b37fbf962de3f1dcf1d1f58ff89b07643a705ed4fb3e | 0.72 | testing_debugging_repair_refactoring | 20,705 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Whois.Parsers;
namespace Whois.Parsing.Whois1.Nic.Bi.Bi
{
[TestFixture]
public class BiParsingTests : ParsingTests
{
private WhoisParser parser;
[SetUp]
public void SetUp()
{
SerilogConfig.Init();
parser = ... | flipbit/whois | Whois.Tests/Parsing/whois1.nic.bi/bi/BiParsingTests.cs | https://github.com/flipbit/whois/blob/HEAD/Whois.Tests/Parsing/whois1.nic.bi/bi/BiParsingTests.cs | ghcode:00164:abb742350fc9 | mit | codeparrot/github-code | abb742350fc92f8a1d16c70dacab111237feaaada0c477bff1fee273d4abdb28 | 0.85 | testing_debugging_repair_refactoring | 1,407 | 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.Generic;
using System.Diagnostics;
using Microsoft.CodeAna... | abock/roslyn | src/Features/Core/Portable/AddImport/SymbolResult.cs | https://github.com/abock/roslyn/blob/HEAD/src/Features/Core/Portable/AddImport/SymbolResult.cs | ghcode:00164:0132f28a4f9d | mit | codeparrot/github-code | 0132f28a4f9d891ea09bd574f1d480b8c31ac37378a2ddca562f8cf95106c18e | 0.85 | testing_debugging_repair_refactoring | 833 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Whois.Parsers;
namespace Whois.Parsing.Whois.Nic.Ly.Ly
{
[TestFixture]
public class LyParsingTests : ParsingTests
{
private WhoisParser parser;
[SetUp]
public void SetUp()
{
SerilogConfig.Init();
parser = n... | flipbit/whois | Whois.Tests/Parsing/whois.nic.ly/ly/LyParsingTests.cs | https://github.com/flipbit/whois/blob/HEAD/Whois.Tests/Parsing/whois.nic.ly/ly/LyParsingTests.cs | ghcode:00164:1c672f07f812 | mit | codeparrot/github-code | 1c672f07f812a635995de5cb03308cfac9365bc22d1f602167a5ad9ba344a143 | 0.85 | testing_debugging_repair_refactoring | 1,309 | false | 2026-07-17 |
using GitTools.Testing;
using GitVersion.Core.Tests.Helpers;
using GitVersion.Extensions;
using GitVersion.Helpers;
using GitVersion.Logging;
using GitVersion.Model;
using GitVersion.Model.Configuration;
using GitVersion.VersionCalculation;
using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
using Sh... | GitTools/GitVersion | src/GitVersion.App.Tests/ArgumentParserTests.cs | https://github.com/GitTools/GitVersion/blob/HEAD/src/GitVersion.App.Tests/ArgumentParserTests.cs | ghcode:00164:8818c14e76b3 | mit | codeparrot/github-code | 8818c14e76b3389a0476eef0eeaebd84b9f0da6954efb2e644628518cb0e99b8 | 0.85 | testing_debugging_repair_refactoring | 5,757 | 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.
//-----------------------------------------------------------------------
// </copyright>
// <summary>Tests for the TaskHost</summary>
//-------------------------------... | akoeplinger/msbuild | src/XMakeBuildEngine/UnitTests/BackEnd/TaskHost_Tests.cs | https://github.com/akoeplinger/msbuild/blob/HEAD/src/XMakeBuildEngine/UnitTests/BackEnd/TaskHost_Tests.cs | ghcode:00164:2f404f6a9679 | mit | codeparrot/github-code | 2f404f6a967938382643eb2f4912da8f168255d75ea2fe22df3c5cf5e805e5c6 | 0.85 | testing_debugging_repair_refactoring | 9,355 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core.TestFramework;
namespace Azure.ResourceManager.AppConfiguration.Tests
{
public class AppConfigurationManagementTestEnvironment : TestEnvironment
{
public AppConfigurationManagementTestEnvi... | markcowl/azure-sdk-for-net | sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/tests/AppConfigurationManagementTestEnvironment.cs | https://github.com/markcowl/azure-sdk-for-net/blob/HEAD/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/tests/AppConfigurationManagementTestEnvironment.cs | ghcode:00164:bebc321a04ce | apache-2.0 | codeparrot/github-code | bebc321a04ce9402325816e2fb5ee7324516ab4f915ff532da544f2add640abf | 0.85 | testing_debugging_repair_refactoring | 69 | false | 2026-07-17 |
using System;
using GridDomain.CQRS;
namespace GridDomain.Tests.Unit.EventsUpgrade.Domain.Commands
{
public class CreateBalanceCommand : Command
{
public CreateBalanceCommand(int parameter, string aggregateId) : base(aggregateId)
{
Parameter = parameter;
}
public in... | linkelf/GridDomain | GridDomain.Tests.Unit/EventsUpgrade/Domain/Commands/CreateBalanceCommand.cs | https://github.com/linkelf/GridDomain/blob/HEAD/GridDomain.Tests.Unit/EventsUpgrade/Domain/Commands/CreateBalanceCommand.cs | ghcode:00164:1abf1d8651f2 | apache-2.0 | codeparrot/github-code | 1abf1d8651f295ace26570beac00ab6da978431e5389f595cf3ad437cdf707f8 | 0.75 | testing_debugging_repair_refactoring | 69 | 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.Diagnostics;
using Microsoft.CodeAnalysis.UnitTests;
namespace Microsoft.QualityGuidelines.Analyzers.UnitTests
{
public clas... | Anniepoh/roslyn-analyzers | src/Microsoft.QualityGuidelines.Analyzers/UnitTests/ReviewVisibleEventHandlersTests.cs | https://github.com/Anniepoh/roslyn-analyzers/blob/HEAD/src/Microsoft.QualityGuidelines.Analyzers/UnitTests/ReviewVisibleEventHandlersTests.cs | ghcode:00164:f78427798d62 | apache-2.0 | codeparrot/github-code | f78427798d625f0c8603c46a65f67069c5b61cd520fc72886ab84d0c8a5a89e8 | 0.75 | testing_debugging_repair_refactoring | 130 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using NUnit.Framework;
using StructureMap.Configuration;
using StructureMap.Configuration.DSL;
using StructureMap.Graph;
using StructureMap.Testing.DocumentationExamples;
using StructureMap.Testing.Widget;
using StructureMap.Testing.W... | theskhan/structuremap | src/StructureMap.Testing/Graph/AssemblyScannerTester.cs | https://github.com/theskhan/structuremap/blob/HEAD/src/StructureMap.Testing/Graph/AssemblyScannerTester.cs | ghcode:00164:fdb02d3d91dd | apache-2.0 | codeparrot/github-code | fdb02d3d91dd65f18cbd16f400f334694d9e19be630c37b47b8ff44d9f55a8a5 | 0.6 | testing_debugging_repair_refactoring | 2,561 | false | 2026-07-17 |
using System;
using Nirvana.CQRS;
using Nirvana.CQRS.UiNotifications;
namespace Nirvana.Tests.SampleSetup
{
[TestRoot(typeof(TestCommand))]
public class TestCommand : Command<Nop>
{
}
[TestRoot(typeof(TestLongRunningCommand),LongRunning = true)]
public class TestLongRunningCommand : Command<No... | nirvana-framework/Nirvana | src/Nirvana.Tests/SampleSetup/TestCommand.cs | https://github.com/nirvana-framework/Nirvana/blob/HEAD/src/Nirvana.Tests/SampleSetup/TestCommand.cs | ghcode:00164:f891a807b081 | apache-2.0 | codeparrot/github-code | f891a807b081d4959ee3013b075e421f86d97f480e22a839670fb2e3d46406ee | 0.75 | testing_debugging_repair_refactoring | 223 | false | 2026-07-17 |
// <copyright file="BingMainPage.Asserter.cs" company="Automate The Planet Ltd.">
// Copyright 2021 Automate The Planet Ltd.
// Licensed under the Apache License, Version 2.0 (the "License");
// You may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apach... | angelovstanton/AutomateThePlanet | dotnet/WebAutomation-Series/ImprovedPageObjects/ImprovedVersion/BingMainPage.Asserter.cs | https://github.com/angelovstanton/AutomateThePlanet/blob/HEAD/dotnet/WebAutomation-Series/ImprovedPageObjects/ImprovedVersion/BingMainPage.Asserter.cs | ghcode:00164:0a7092f6ab2d | apache-2.0 | codeparrot/github-code | 0a7092f6ab2d6d325862500ecf7b820263cd65ac7b89842a01f5ba4c66cbe0e3 | 0.85 | testing_debugging_repair_refactoring | 238 | false | 2026-07-17 |
using FluentAssertions;
using NSubstitute;
using NUnit.Framework;
using RestSharp.Portable.OAuth2.Client;
using RestSharp.Portable.OAuth2;
using RestSharp.Portable.OAuth2.Configuration;
using RestSharp.Portable.OAuth2.Infrastructure;
using RestSharp.Portable.OAuth2.Models;
namespace RestSharp.Portable.OAuth2.Tests.Cl... | gabornemeth/restsharp.portable | test/FubarCoder.RestSharp.Portable.OAuth2.Tests/Client/Impl/FoursquareClientTests.cs | https://github.com/gabornemeth/restsharp.portable/blob/HEAD/test/FubarCoder.RestSharp.Portable.OAuth2.Tests/Client/Impl/FoursquareClientTests.cs | ghcode:00164:1eb43eb02626 | bsd-2-clause | codeparrot/github-code | 1eb43eb026263076383364302e1e05b25ba5f7521a4d295370d0b3b467574424 | 0.78 | testing_debugging_repair_refactoring | 534 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
$if$ ($targetframeworkversion$ >= 3.5)using System.Linq;
$endif$using System.Text;
using NUnit.Framework;
namespace $rootnamespace$
{
public class $safeitemrootname$ : BaseTest
{
[TestCase]
public void UnitUnderTest_Scenario_ExpectedOutcome()
{... | mirabeau-nl/WbTstr.Net-Extension | Source/WbTstrNet.TestTemplate/Test.cs | https://github.com/mirabeau-nl/WbTstr.Net-Extension/blob/HEAD/Source/WbTstrNet.TestTemplate/Test.cs | ghcode:00164:2afd215d1a33 | bsd-3-clause | codeparrot/github-code | 2afd215d1a33aad6d55403f616c021d3d4d2d9c69c3d0bdebf6ae2351cab5378 | 0.85 | testing_debugging_repair_refactoring | 101 | false | 2026-07-17 |
/*
* Copyright 2007 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | DHMechatronicAG/ZXing.Net | Source/test/src/client/result/GeoParsedResultTestCase.cs | https://github.com/DHMechatronicAG/ZXing.Net/blob/HEAD/Source/test/src/client/result/GeoParsedResultTestCase.cs | ghcode:00164:2da4a12938f2 | apache-2.0 | codeparrot/github-code | 2da4a12938f2e76221e91d7af9af2e084b712cd8a4bff0d9e03f554bf4f771e4 | 0.95 | testing_debugging_repair_refactoring | 639 | false | 2026-07-17 |
/*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic 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. A copy of the License ... | SpectraLogic/ds3_net_sdk | TestDs3/Helpers/Strategies/StreamFactory/TestWriteStreamStreamFactory.cs | https://github.com/SpectraLogic/ds3_net_sdk/blob/HEAD/TestDs3/Helpers/Strategies/StreamFactory/TestWriteStreamStreamFactory.cs | ghcode:00164:84cd305fca2b | apache-2.0 | codeparrot/github-code | 84cd305fca2bfed904642096256531b503d4bfa8d9690dbd931fae16e54667c9 | 0.75 | testing_debugging_repair_refactoring | 780 | false | 2026-07-17 |
using Xunit;
namespace Shouldly.Tests.Strings.ShouldBe
{
public class CaseAndLineEndingInsensitiveScenario
{
[Fact]
public void CaseAndLineEndingInsensitiveScenarioShouldFail()
{
var str = "line1\nline2";
Verify.ShouldFail(() =>
str.ShouldBe("line1\r\nLine3", "S... | JoeMighty/shouldly | src/Shouldly.Tests/Strings/ShouldBe/CaseAndLineEndingInsensitiveScenario.cs | https://github.com/JoeMighty/shouldly/blob/HEAD/src/Shouldly.Tests/Strings/ShouldBe/CaseAndLineEndingInsensitiveScenario.cs | ghcode:00164:6daf81dbdae5 | bsd-3-clause | codeparrot/github-code | 6daf81dbdae5abf1e06a8475448805942fb43dec62c08db55ff1cdceefd3a462 | 0.75 | testing_debugging_repair_refactoring | 698 | 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... | samaitra/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/Cache/CacheTestSsl.cs | https://github.com/samaitra/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/Cache/CacheTestSsl.cs | ghcode:00164:49bbd28d2566 | apache-2.0 | codeparrot/github-code | 49bbd28d2566d40b09fdca6203a03680c31b788dc50f0a6a77ef8941462761e9 | 0.85 | testing_debugging_repair_refactoring | 273 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Roslyn.Test.Utilities;
using Xunit;
using ImplementInterfaceCodeAction = Microsoft.CodeAnalysis.ImplementInterface.Abstra... | bbarry/roslyn | src/EditorFeatures/CSharpTest/ImplementInterface/ImplementInterfaceTests_FixAllTests.cs | https://github.com/bbarry/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/ImplementInterface/ImplementInterfaceTests_FixAllTests.cs | ghcode:00164:899979a57f95 | apache-2.0 | codeparrot/github-code | 899979a57f95c0887e45b5ed4938114d255bbfa1a314f901dcd3b8def00810c0 | 0.75 | testing_debugging_repair_refactoring | 2,556 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="TcpInboundOnlySpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyrig... | ali-ince/akka.net | src/core/Akka.Tests.Performance/IO/TcpInboundOnlySpec.cs | https://github.com/ali-ince/akka.net/blob/HEAD/src/core/Akka.Tests.Performance/IO/TcpInboundOnlySpec.cs | ghcode:00164:48821a767453 | apache-2.0 | codeparrot/github-code | 48821a767453b8fcd510a80fac3731faafcd8a6f12f5d4718be78b94fcbdc601 | 0.85 | testing_debugging_repair_refactoring | 939 | 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 Cake.Core;
using Cake.Core.Diagnostics;
using Cake.Scripting;
using NSubstitute;
using Xunit;
namespace Cake... | vlesierse/cake | src/Cake.Tests/Unit/Scripting/DryRunScriptHostTests.cs | https://github.com/vlesierse/cake/blob/HEAD/src/Cake.Tests/Unit/Scripting/DryRunScriptHostTests.cs | ghcode:00164:d5575c38cd6b | mit | codeparrot/github-code | d5575c38cd6be72cb0205e8a9389985f3b43ae319af60e1904dce20eb5140f7b | 0.85 | testing_debugging_repair_refactoring | 491 | false | 2026-07-17 |
/*
Copyright 2012 Michael Edwards
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... | rhamille/Glass.Mapper | Tests/Unit Tests/Glass.Mapper.Sc.Tests/Configuration/Attributes/SitecoreFieldAttributeFixture.cs | https://github.com/rhamille/Glass.Mapper/blob/HEAD/Tests/Unit Tests/Glass.Mapper.Sc.Tests/Configuration/Attributes/SitecoreFieldAttributeFixture.cs | ghcode:00164:96272b309bf2 | apache-2.0 | codeparrot/github-code | 96272b309bf22ee7c9a445d911e25c8767b0fea22275e1e85c12091c6495107f | 0.7 | testing_debugging_repair_refactoring | 1,656 | false | 2026-07-17 |
/* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice... | geosharath/xenadmin | XenCenterLib/ChangeableList.cs | https://github.com/geosharath/xenadmin/blob/HEAD/XenCenterLib/ChangeableList.cs | ghcode:00164:43ddd234aa83 | bsd-2-clause | codeparrot/github-code | 43ddd234aa83504cce413c0d304c96de3180a17487e15432613b8f4b4c27da6e | 0.78 | testing_debugging_repair_refactoring | 792 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.