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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
namespace CoreFtp.Tests.Integration.FtpClientTests.Files
{
using System;
using System.Linq;
using System.Threading.Tasks;
using Enum;
using FluentAssertions;
using Helpers;
using Xunit;
using Xunit.Abstractions;
using Infrastructure.Extensions;
public class When_uploading_a_file... | sparkeh9/CoreFTP | tests/CoreFtp.Tests.Integration/FtpClientTests/Files/When_opening_a_file_for_upload.cs | https://github.com/sparkeh9/CoreFTP/blob/HEAD/tests/CoreFtp.Tests.Integration/FtpClientTests/Files/When_opening_a_file_for_upload.cs | ghcode:00003:5e6de59e2ea2 | mit | codeparrot/github-code | 5e6de59e2ea2d5cf1d378da2056bd6c435f027e7c17e827a9d16715df8218f16 | 0.75 | testing_debugging_repair_refactoring | 1,058 | false | 2026-07-17 |
using System.IO;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using Moq;
using Squirrel.Client;
using Squirrel.Core;
using Squirrel.Tests.TestHelpers;
using Xunit;
namespace Squirrel.Tests.Client
{
public class UpdateManagerTests
{
public class UpdateLocalReleasesTests
{
... | rzhw/Squirrel.Windows | src/Squirrel.Tests/Client/UpdateManagerTests.cs | https://github.com/rzhw/Squirrel.Windows/blob/HEAD/src/Squirrel.Tests/Client/UpdateManagerTests.cs | ghcode:00003:96921f1a8bba | mit | codeparrot/github-code | 96921f1a8bba2ce3f9e96bffa6fb10dce9302f221acd1feaee615616aca1fa6c | 0.85 | testing_debugging_repair_refactoring | 1,570 | false | 2026-07-17 |
using System;
using System.IO;
using BenchmarkDotNet.Attributes;
namespace Eto.Parse.TestSpeed.Tests.Json
{
public class JsonSmall : JsonSuite
{
public JsonSmall() : base("sample-small.json")
{
}
}
public class JsonLarge : JsonSuite
{
public JsonLarge() : base("sample-large.json")
{
}
}
public ab... | picoe/Eto.Parse | Eto.Parse.TestSpeed/Tests/Json/JsonSuite.cs | https://github.com/picoe/Eto.Parse/blob/HEAD/Eto.Parse.TestSpeed/Tests/Json/JsonSuite.cs | ghcode:00003:68f14b5ba2ff | mit | codeparrot/github-code | 68f14b5ba2ffcc9c9f04456356a575ed5e745127828eed4f559ff47349a97509 | 0.85 | testing_debugging_repair_refactoring | 397 | false | 2026-07-17 |
//
// System.Xml.XmlSchemaAssertion.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// (C) 2004 Atsushi Enomoto
//
using System;
using System.IO;
using System.Xml;
using System.Xml.Schema;
using NUnit.Framework;
namespace MonoTests.System.Xml
{
[TestFixture]
public class XmlSchemaAssertion : Assertion... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.XML/Test/System.Xml.Schema/XmlSchemaAssertion.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.XML/Test/System.Xml.Schema/XmlSchemaAssertion.cs | ghcode:00003:fc67a2988ee4 | mit | codeparrot/github-code | fc67a2988ee487e6fd7124bf427051006ce960165adf685f34a43b2ee881a8d8 | 0.95 | testing_debugging_repair_refactoring | 750 | false | 2026-07-17 |
using System;
using Dematt.Airy.Core;
namespace Dematt.Airy.Tests.NodaTime.Entities
{
public class DateTimeOffsetTestEntity : EntityWithIntId
{
public virtual string Description { get; set; }
public virtual DateTimeOffset StartDateTimeOffset { get; set; }
public virtual DateTimeOffse... | MatthewRudolph/Airy-Nhibernate-Extensions | tests/Dematt.Airy.Tests.NodaTime/Entities/DateTimeOffsetTestEntity.cs | https://github.com/MatthewRudolph/Airy-Nhibernate-Extensions/blob/HEAD/tests/Dematt.Airy.Tests.NodaTime/Entities/DateTimeOffsetTestEntity.cs | ghcode:00003:878b5ef6ef38 | mit | codeparrot/github-code | 878b5ef6ef38d46717f3e90dc6e2918f193036993264397afd7fde504f636948 | 0.75 | testing_debugging_repair_refactoring | 90 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Net.Mail;
using BugTracker.Commands;
using BugTracker.Model;
using BugTracker.Rules;
using FluentAssertions;
using NRules;
using NRules.Fluent;
using NSubstitute;
using SimpleInjector;
using TechTalk.SpecFlow;
using TechTalk.SpecFlow.Assist;
namespace BugTracker.Specs
{
... | nikitaignatov/BugTracker | BugTracker.Specs/NotificationSteps.cs | https://github.com/nikitaignatov/BugTracker/blob/HEAD/BugTracker.Specs/NotificationSteps.cs | ghcode:00003:913a4dd5c647 | mit | codeparrot/github-code | 913a4dd5c6476c9544bb3fee3edde0bb0455b43e6a970421e4b051cd6d763735 | 0.6 | testing_debugging_repair_refactoring | 818 | false | 2026-07-17 |
using BigEgg.Tools.ConsoleExtension.Parameters.Errors;
using BigEgg.Tools.ConsoleExtension.Parameters.Logicals;
using BigEgg.Tools.ConsoleExtension.Tests.Parameters.FakeParameters;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Collections.Generic;
using System.ComponentModel... | BigEggTools/ConsoleExtension | ConsoleExtension.Tests/Parameters/Logicals/ProcessorEngineTest.cs | https://github.com/BigEggTools/ConsoleExtension/blob/HEAD/ConsoleExtension.Tests/Parameters/Logicals/ProcessorEngineTest.cs | ghcode:00003:21018438d831 | mit | codeparrot/github-code | 21018438d83198f99b4138717e6e9cee873c00fdb6becaecc8fd79671d0847ff | 0.6 | testing_debugging_repair_refactoring | 1,246 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Sniper.Tests.Conventions.Exception;
namespace Sniper.Tests.Conventions
{
public static class TypeExtensions
{
private const string ClientSuffix = "Cli... | bluetread/sniper | Sniper.Tests.Conventions/TypeExtensions.cs | https://github.com/bluetread/sniper/blob/HEAD/Sniper.Tests.Conventions/TypeExtensions.cs | ghcode:00003:c83dac655325 | mit | codeparrot/github-code | c83dac655325e563a24d1fa964e58dc9f3b4d37c4aac1b109b9cf5d6729ff43f | 0.85 | testing_debugging_repair_refactoring | 801 | false | 2026-07-17 |
using Clustering;
using HilbertTransformation;
using HilbertTransformation.Random;
using HilbertTransformationTests.Data;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Math;
namespace HilbertTransformation... | paulchernoch/HilbertTransformation | HilbertTransformationTests/LowResHilbertSortTests.cs | https://github.com/paulchernoch/HilbertTransformation/blob/HEAD/HilbertTransformationTests/LowResHilbertSortTests.cs | ghcode:00003:28a56b8a1d15 | mit | codeparrot/github-code | 28a56b8a1d15670d847a847f6d180a3aa70dd3c7adf6dcb5d7afb13bc251205b | 0.85 | testing_debugging_repair_refactoring | 2,384 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using FluentNHibernate.Automapping;
using FluentNHibernate.Automapping.Alterations;
using FluentNHibernate.Mapping;
using Machine.Specifications;
using Quarks.FluentNHibernate.Conventions.HasMany;
namespa... | shaynevanasperen/Quarks | Quarks.Tests/FluentNHibernate/Conventions/HasMany/NotKeyUpdateTests.cs | https://github.com/shaynevanasperen/Quarks/blob/HEAD/Quarks.Tests/FluentNHibernate/Conventions/HasMany/NotKeyUpdateTests.cs | ghcode:00003:ce187dbb8032 | mit | codeparrot/github-code | ce187dbb80323e8b421765695b1fbba3ef7411c25ec608b1e1dd450b9218843e | 0.75 | testing_debugging_repair_refactoring | 669 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using Xunit;
using System.Reflection;
using static MimeDetective.Tests.ReflectionHelpers;
using MimeDetective.Analyzers;
namespace MimeDetective.Tests
{
public class FileHeader
{
private static readonly FileType[][] typeArrays =... | clarkis117/Mime-Detective | test/Mime-Detective.Tests/Tests/FileHeader.cs | https://github.com/clarkis117/Mime-Detective/blob/HEAD/test/Mime-Detective.Tests/Tests/FileHeader.cs | ghcode:00003:c173fb53e5b4 | mit | codeparrot/github-code | c173fb53e5b4e1b4b715ff9218b7e5b49e4137308a0090c1518cee5e4eb55e72 | 0.85 | testing_debugging_repair_refactoring | 966 | false | 2026-07-17 |
namespace Aspose.Tasks.Examples.CSharp
{
using System;
using System.Collections.Generic;
using NUnit.Framework;
[TestFixture]
public class ExGroupCollection : ApiExampleBase
{
[Test]
public void ReadTaskGroupDefinitionData()
{
// ExStart:ReadTaskGroupDefinit... | aspose-tasks/Aspose.Tasks-for-.NET | Examples/CSharp/ExGroupCollection.cs | https://github.com/aspose-tasks/Aspose.Tasks-for-.NET/blob/HEAD/Examples/CSharp/ExGroupCollection.cs | ghcode:00003:53bbaf5193c3 | mit | codeparrot/github-code | 53bbaf5193c3e55032d329c531bfdd282ebc26d05be9104d131588ddcee26892 | 0.7 | testing_debugging_repair_refactoring | 599 | false | 2026-07-17 |
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace CloudPayments.Cash.Tests.Utils
{
public class TestHttpHandler : IHttpHandler
{
private readonly Action<string> _assertRequestJson;
private readonly object _responseObj;
public TestHttp... | ITGlobal/cloudpayments-cash | CloudPayments.Cash.Tests/Utils/TestHttpHandler.cs | https://github.com/ITGlobal/cloudpayments-cash/blob/HEAD/CloudPayments.Cash.Tests/Utils/TestHttpHandler.cs | ghcode:00003:0a1ebb4a79fe | mit | codeparrot/github-code | 0a1ebb4a79fe4d230e9c92e983f8f507a6d7886fefd6bf814f0a3cfa186aaa40 | 0.75 | testing_debugging_repair_refactoring | 169 | false | 2026-07-17 |
using DnDGen.TreasureGen.Goods;
using NUnit.Framework;
namespace DnDGen.TreasureGen.Tests.Unit.Generators.Goods
{
[TestFixture]
public class GoodsConstantsTests
{
[TestCase(GoodsConstants.Gem, "Gem")]
[TestCase(GoodsConstants.Art, "Art")]
public void Constant(string constant, strin... | DnDGen/TreasureGen | DnDGen.TreasureGen.Tests.Unit/Generators/Goods/GoodsConstantsTests.cs | https://github.com/DnDGen/TreasureGen/blob/HEAD/DnDGen.TreasureGen.Tests.Unit/Generators/Goods/GoodsConstantsTests.cs | ghcode:00003:006e4e56897b | mit | codeparrot/github-code | 006e4e56897b6d71ded59f1ce1462bc936a85eb698e182b4a5852b754172e00a | 0.75 | testing_debugging_repair_refactoring | 97 | false | 2026-07-17 |
namespace TetrisTests.BlocksTests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Tetris.Blocks;
[TestClass]
public class TShapeTest
{
private const int Height = 2;
private const int Width = 3;
[TestMethod]
public void TestCreationOfTShapeWithWrongCoord... | dirk-dagger-667/my-tetris | TetrisTests/BlocksTests/TShapeTest.cs | https://github.com/dirk-dagger-667/my-tetris/blob/HEAD/TetrisTests/BlocksTests/TShapeTest.cs | ghcode:00003:cca0e919434f | mit | codeparrot/github-code | cca0e919434f61b341130117d9f01c6dce1b7fff7b4aecc86c6b62a19691d8a4 | 0.6 | testing_debugging_repair_refactoring | 114 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Fonlow.Activities;
using System.Activities;
using System.Activities.Expressions;
using System.Threading;
using System.Activities.DurableInstancing;
using System.Diagnostics;... | zijianhuang/WorkflowDemo | BasicTests/StateMachineTests.cs | https://github.com/zijianhuang/WorkflowDemo/blob/HEAD/BasicTests/StateMachineTests.cs | ghcode:00003:e05fc474cadd | mit | codeparrot/github-code | e05fc474cadd40b96c03f2094074f73e67378279d6379336fbea137f354db402 | 0.85 | testing_debugging_repair_refactoring | 1,329 | false | 2026-07-17 |
namespace LL.MDE.Components.Qvt.Transformation.umlToRdbms
{
using System;
using System.Collections.Generic;
using System.Linq;
using LL.MDE.Components.Qvt.Common;
using LL.MDE.DataModels.SimpleRDBMS;
using LL.MDE.DataModels.SimpleUML;
public class RelationAssocToFKey
{
private ... | LieberLieber/QvtCodeGenerator | QvtEnginePerformance/LL.MDE.Components.Qvt.Test.Uml2rdbms/Generated/RelationAssocToFKey.cs | https://github.com/LieberLieber/QvtCodeGenerator/blob/HEAD/QvtEnginePerformance/LL.MDE.Components.Qvt.Test.Uml2rdbms/Generated/RelationAssocToFKey.cs | ghcode:00003:e95d6b52b0ae | mit | codeparrot/github-code | e95d6b52b0ae67d3e4b6d6fe4cfa4372bacddb8551c566d6ec5fdfde1d8afb8e | 0.85 | testing_debugging_repair_refactoring | 2,101 | false | 2026-07-17 |
namespace RankedSearch.Tests
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RankedSearch;
using System.Linq;
[TestClass]
public class BagOfWordsTests
{
[TestMethod]
public void CreatingAnInstance_WithProvidingEnumerableOfStrings_ShouldCreateANewIns... | deniskyashif/ranked-search | src/RankedSearch.Tests/BagOfWordsTests.cs | https://github.com/deniskyashif/ranked-search/blob/HEAD/src/RankedSearch.Tests/BagOfWordsTests.cs | ghcode:00003:7aefe438669f | mit | codeparrot/github-code | 7aefe438669f555772c05fad827029037f1fed4ed08bab3c05b6c15b7b263975 | 0.75 | testing_debugging_repair_refactoring | 1,116 | false | 2026-07-17 |
using NUnit.Framework;
using NDeproxy;
using System.Threading;
namespace NDeproxy.Tests
{
[TestFixture]
class DeproxyShutdownTest
{
Deproxy deproxy;
[Test]
public void testShutdown()
{
/*
* When a Deproxy shuts down, all of its endpoints are shut down... | izrik/NDeproxy | NDeproxy.Tests/DeproxyShutdownTest.cs | https://github.com/izrik/NDeproxy/blob/HEAD/NDeproxy.Tests/DeproxyShutdownTest.cs | ghcode:00003:d43bbd429b98 | mit | codeparrot/github-code | d43bbd429b989b7c0813c54cf404f41da46fb5413a40660e218240ca54c805e6 | 0.6 | testing_debugging_repair_refactoring | 271 | 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.IO;
using System.Linq;
using System.Threading.Tasks;
using osu.Framework.Allocation;
using osu.Framework.Audi... | peppy/osu-new | osu.Game/Tests/Beatmaps/HitObjectSampleTest.cs | https://github.com/peppy/osu-new/blob/HEAD/osu.Game/Tests/Beatmaps/HitObjectSampleTest.cs | ghcode:00003:d53e3314afc6 | mit | codeparrot/github-code | d53e3314afc6aad38696d6efb27d68249866a4d9f6ab1a86b9122d29aff93180 | 0.95 | testing_debugging_repair_refactoring | 1,596 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FluentAssertions;
using System;
namespace CmdLineLib.Tests
{
[TestClass]
public class EnumParameterTests
{
public enum TestEnumType
{
NeverSetValue,
Value2,
Value3 = 0xFF,
}
[Flag... | marcmihalack/CmdLineLib | CmdLineLib.Tests/EnumParameterTests.cs | https://github.com/marcmihalack/CmdLineLib/blob/HEAD/CmdLineLib.Tests/EnumParameterTests.cs | ghcode:00003:5fa093049c3b | mit | codeparrot/github-code | 5fa093049c3bc869b59cbae62dd69693bd0c2cc2b1e287c01b3cbb7af0b2f2a2 | 0.75 | testing_debugging_repair_refactoring | 1,013 | false | 2026-07-17 |
//
// SocialServerTests.cs
//
// Author:
// Eric Maupin <me@ermau.com>
//
// Copyright (c) 2012 Eric Maupin
//
// 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, inclu... | ermau/Tempest.Social | Desktop/Tempest.Social.Tests/SocialServerTests.cs | https://github.com/ermau/Tempest.Social/blob/HEAD/Desktop/Tempest.Social.Tests/SocialServerTests.cs | ghcode:00003:b7d9c58068cb | mit | codeparrot/github-code | b7d9c58068cb2548a5249dd2eaf28c4e5dc5084ce6fc94a95ece5955734dba34 | 0.85 | testing_debugging_repair_refactoring | 348 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
namespace Lada
{
public static class MathEx
{
public static TimeSpan Max(TimeSpan t1, TimeSpan t2)
{
return t1 > t2 ? t1 : t2;
}
... | rvuistin/WpfMouseWheelLib | Lib/MathEx.cs | https://github.com/rvuistin/WpfMouseWheelLib/blob/HEAD/Lib/MathEx.cs | ghcode:00003:38731898b9fd | mit | codeparrot/github-code | 38731898b9fd5c7acb2bbccfa2ce0e6a7510e8b947a48c06169250810f5fb904 | 0.7 | testing_debugging_repair_refactoring | 1,170 | false | 2026-07-17 |
namespace SimpleInjector.Tests.Unit
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SimpleInjector.Extensions;
[TestClass]
public class LifestyleTests
{
[TestMethod]
public void Transient_Always_ReturnsAnInstance()
{
Ass... | bcraun/SimpleInjector | SimpleInjector.NET.Tests.Unit/LifestyleTests.cs | https://github.com/bcraun/SimpleInjector/blob/HEAD/SimpleInjector.NET.Tests.Unit/LifestyleTests.cs | ghcode:00003:506ff368326c | mit | codeparrot/github-code | 506ff368326cc4d460cb56d9144fe44d73cb637139cbe6de464d725865843a65 | 0.85 | testing_debugging_repair_refactoring | 1,740 | false | 2026-07-17 |
using FluentAssertions;
using Machine.Specifications;
using SkyFilter.Azure.Contracts;
using SkyFilter.Azure.Tables;
namespace SkyFilter.Azure.Tests.WhereLessThan
{
[Subject(typeof(GenerateTableFilter), "WhereLessThan")]
internal class When_I_generate_a_filter_where_a_int_partition_key_is_less_than_10
{
... | Bomret/SkyFilter.Azure | SkyFilter.Azure.Tests/WhereLessThan/When_I_generate_a_filter_where_a_int_partition_key_is_less_than_10.cs | https://github.com/Bomret/SkyFilter.Azure/blob/HEAD/SkyFilter.Azure.Tests/WhereLessThan/When_I_generate_a_filter_where_a_int_partition_key_is_less_than_10.cs | ghcode:00003:231efcb8ac9d | mit | codeparrot/github-code | 231efcb8ac9dc865c66ea855295ca7ccf8c1ce1b4f347523e90370523f0f3968 | 0.6 | testing_debugging_repair_refactoring | 154 | false | 2026-07-17 |
using Microsoft.CodeAnalysis;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FluentAssertions.Analyzers.Xunit;
namespace FluentAssertions.Analyzers.Tests.Tips
{
[TestClass]
public class XunitTests
{
[DataTestMethod]
[DataRow("Assert.True(actual);")]
[DataRow("Assert.True... | fluentassertions/fluentassertions.analyzers | src/FluentAssertions.Analyzers.Tests/Tips/XunitTests.cs | https://github.com/fluentassertions/fluentassertions.analyzers/blob/HEAD/src/FluentAssertions.Analyzers.Tests/Tips/XunitTests.cs | ghcode:00003:91f651ed8a14 | mit | codeparrot/github-code | 91f651ed8a14cad4877afb9a0eaf39b9e3f541368fae718d04a8429e01ee9d07 | 0.85 | testing_debugging_repair_refactoring | 1,218 | false | 2026-07-17 |
// Copyright (c) 2013-2018 Cemalettin Dervis, MIT License.
// https://github.com/cemdervis/SharpConfig
using System;
using SharpConfig;
using NUnit.Framework;
namespace Tests
{
class Person
{
public string Name { get; set; }
public int Age { get; set; }
}
class PersonStringConverter : TypeStringConv... | cemdervis/SharpConfig | Tests/CustomConverterTest.cs | https://github.com/cemdervis/SharpConfig/blob/HEAD/Tests/CustomConverterTest.cs | ghcode:00003:ab7286280cd6 | mit | codeparrot/github-code | ab7286280cd636753a6f322e3324bba234001ea77246d96da35226d566447835 | 0.7 | testing_debugging_repair_refactoring | 374 | false | 2026-07-17 |
/*
The MIT License(MIT)
Copyright(c) 2015 IgorSoft
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, modify, merge, publi... | viciousviper/PowerShellCloudProvider | PowerShellCloudProvider.Tests/Provider/GetChildItemTests.cs | https://github.com/viciousviper/PowerShellCloudProvider/blob/HEAD/PowerShellCloudProvider.Tests/Provider/GetChildItemTests.cs | ghcode:00003:c9f370cbd304 | mit | codeparrot/github-code | c9f370cbd30450a9b13a7bdfa5892a9d58c0e078c31fd10d6473b56258ebde1f | 0.75 | testing_debugging_repair_refactoring | 3,347 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Portability;
using Xunit;
using Xunit.Abstractions;
namespace BenchmarkDotNet.IntegrationTests
{
public class GenericBenchmarkTest
{
... | redknightlois/BenchmarkDotNet | BenchmarkDotNet.IntegrationTests/GenericBenchmarkTest.cs | https://github.com/redknightlois/BenchmarkDotNet/blob/HEAD/BenchmarkDotNet.IntegrationTests/GenericBenchmarkTest.cs | ghcode:00003:cc01dccea71a | mit | codeparrot/github-code | cc01dccea71a94b212bf1723de37fe04c08bcb790266e8fa894491df027b7751 | 0.7 | testing_debugging_repair_refactoring | 686 | false | 2026-07-17 |
/*
Copyright (c) 2014 <a href="http://www.gutgames.com">James Craig</a>
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, ... | switchspan/Craig-s-Utility-Library | UnitTests/DataTypes/ExtensionMethods/PermutationExtensions.cs | https://github.com/switchspan/Craig-s-Utility-Library/blob/HEAD/UnitTests/DataTypes/ExtensionMethods/PermutationExtensions.cs | ghcode:00003:175c86c9ede0 | mit | codeparrot/github-code | 175c86c9ede091ca81266dad15e6435836c9376d92fac0c5a245584780c58939 | 0.7 | testing_debugging_repair_refactoring | 396 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2015 Charlie Poole
//
// 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, incl... | elbaloo/nunit | src/NUnitFramework/framework/Compatibility/ReflectionExtensions.cs | https://github.com/elbaloo/nunit/blob/HEAD/src/NUnitFramework/framework/Compatibility/ReflectionExtensions.cs | ghcode:00003:86cfd37f5729 | mit | codeparrot/github-code | 86cfd37f572903aa17bc5aed4a4637aa73eda6986d5d6e11837235f2a5e60865 | 0.7 | testing_debugging_repair_refactoring | 4,336 | false | 2026-07-17 |
using FluentAssertions;
using FluentExtensions.Byte;
using FluentExtensions.String;
using NUnit.Framework;
namespace FluentExtensions.Tests.String
{
[TestFixture]
public class ToByteArrayFromHexStringTests
{
private const string Str = "foo bar";
[Test]
public void TestC... | gnazareth/FluentExtensions | FluentExtensions.Tests/String/ToByteArrayFromHexStringTests.cs | https://github.com/gnazareth/FluentExtensions/blob/HEAD/FluentExtensions.Tests/String/ToByteArrayFromHexStringTests.cs | ghcode:00003:55dc0d14403a | mit | codeparrot/github-code | 55dc0d14403a768a74ab58d0a5cb16c9104f8ae931abc3b97eaa81d48702dea9 | 0.75 | testing_debugging_repair_refactoring | 118 | false | 2026-07-17 |
// This file was auto-generated based on version 1.4.0 of the canonical data.
using Xunit;
public class TwoBucketTest
{
[Fact]
public void Measure_using_bucket_one_of_size_3_and_bucket_two_of_size_5_start_with_bucket_one()
{
var sut = new TwoBucket(3, 5, Bucket.One);
var actual = sut.Measu... | ErikSchierboom/xcsharp | exercises/two-bucket/TwoBucketTest.cs | https://github.com/ErikSchierboom/xcsharp/blob/HEAD/exercises/two-bucket/TwoBucketTest.cs | ghcode:00003:a96762c5ecd8 | mit | codeparrot/github-code | a96762c5ecd8a4d88e147221c62428d8c06d2ded502133f8aa50e88db1c03aab | 0.6 | testing_debugging_repair_refactoring | 620 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using DotNetUtility;
namespace DotNetutilityTest
{
/// <summary>
/// Test IEnumerableExtensions
/// </summary>
[TestClass]
public class TestIEnumerableExtensions
{
/// <summary>
... | soichiro-matsumoto/DotNetUtility | DotNetUtility/DotNetutilityTest/TestIEnumerableExtensions.cs | https://github.com/soichiro-matsumoto/DotNetUtility/blob/HEAD/DotNetUtility/DotNetutilityTest/TestIEnumerableExtensions.cs | ghcode:00003:1ef3a2bae517 | mit | codeparrot/github-code | 1ef3a2bae517cca2cb9715bbd748531d5038637828c80ef37427e9bcf12fb78d | 0.85 | testing_debugging_repair_refactoring | 785 | 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 Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http;
using Moq;
using Xunit;
namespace Microsoft.AspNetCore.Server.Kestrel.Core.Tests
{
public class HttpR... | aspnet/AspNetCore | src/Servers/Kestrel/Core/test/HttpResponsePipeWriterTests.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Servers/Kestrel/Core/test/HttpResponsePipeWriterTests.cs | ghcode:00004:f573097fb598 | apache-2.0 | codeparrot/github-code | f573097fb598991d3e76ce1d5788a418a95a14f9d2f76635c100477287cba190 | 0.85 | testing_debugging_repair_refactoring | 608 | false | 2026-07-17 |
using YAF.Lucene.Net.Index;
using System;
using System.Diagnostics;
using BytesRef = YAF.Lucene.Net.Util.BytesRef;
namespace YAF.Lucene.Net.Codecs.Lucene3x
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
... | Pathfinder-Fr/YAFNET | yafsrc/Lucene.Net/Lucene.Net/Codecs/Lucene3x/SegmentTermPositions.cs | https://github.com/Pathfinder-Fr/YAFNET/blob/HEAD/yafsrc/Lucene.Net/Lucene.Net/Codecs/Lucene3x/SegmentTermPositions.cs | ghcode:00004:a9d7181f0624 | apache-2.0 | codeparrot/github-code | a9d7181f06249811bf823b43bc5f27903ec62fc34da1f26e86c367165f01a34c | 0.85 | testing_debugging_repair_refactoring | 1,717 | false | 2026-07-17 |
// Copyright 2013 Cultural Heritage Agency of the Netherlands, Dutch National Military Museum and Trezorix bv
//
// 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... | Joppe-A/rce-checkers2 | ResourceRepository.Tests/ResourceTests.cs | https://github.com/Joppe-A/rce-checkers2/blob/HEAD/ResourceRepository.Tests/ResourceTests.cs | ghcode:00004:9532bc431efa | apache-2.0 | codeparrot/github-code | 9532bc431efa49ad9ae1b7ca2bc2aa38b3c50baafbc011423bdc953d51cce9c5 | 0.85 | testing_debugging_repair_refactoring | 295 | false | 2026-07-17 |
namespace NServiceBus.AcceptanceTests.Routing
{
using System;
using System.Threading.Tasks;
using AcceptanceTesting;
using EndpointTemplates;
using Features;
using NServiceBus.Pipeline;
using NUnit.Framework;
using ScenarioDescriptors;
public class When_publishing_an_interface_with... | pablocastilla/NServiceBus.Kafka | src/NServiceBus.Kafka.AcceptanceTests/App_Packages/NSB.AcceptanceTests.6.1.3/Routing/When_publishing_an_interface_with_unobtrusive.cs | https://github.com/pablocastilla/NServiceBus.Kafka/blob/HEAD/src/NServiceBus.Kafka.AcceptanceTests/App_Packages/NSB.AcceptanceTests.6.1.3/Routing/When_publishing_an_interface_with_unobtrusive.cs | ghcode:00004:d496886eaae8 | apache-2.0 | codeparrot/github-code | d496886eaae803d954817ae8dfbc9b75644031d9d059c2b74b21db3768a4e08f | 0.6 | testing_debugging_repair_refactoring | 677 | false | 2026-07-17 |
using FluentAssertions;
using Xunit;
namespace Fluency.Net.Framework._461.Tests
{
public class BuilderTests
{
internal class TestEntity
{
public string PropertyA { get; set; }
}
[Fact]
public void Builders_ShouldWork_With_NetFramework_461()
... | nrjohnstone/Fluency | test/Fluency.Net.Framework.461.Tests/BuilderTests.cs | https://github.com/nrjohnstone/Fluency/blob/HEAD/test/Fluency.Net.Framework.461.Tests/BuilderTests.cs | ghcode:00004:235d899d9f2b | apache-2.0 | codeparrot/github-code | 235d899d9f2b9a3f1297d51833269109e977d20e26e9c4b4c63090478f1f18ab | 0.75 | testing_debugging_repair_refactoring | 122 | false | 2026-07-17 |
//
// Copyright 2016, Mahbub Alam (mahbub002@ymail.com)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... | mahbub-alam/mark-aspnet-identity | v2.x/tests/Mark.AspNet.Identity.MySql.Tests/Entities/ApplicationRole.cs | https://github.com/mahbub-alam/mark-aspnet-identity/blob/HEAD/v2.x/tests/Mark.AspNet.Identity.MySql.Tests/Entities/ApplicationRole.cs | ghcode:00004:70b430abeb0e | apache-2.0 | codeparrot/github-code | 70b430abeb0e0078a325c97d902e741dedc62a607ebac4a3f5324774fb524518 | 0.95 | testing_debugging_repair_refactoring | 203 | false | 2026-07-17 |
using De.Osthus.Ambeth.Collections;
using De.Osthus.Ambeth.Ioc.Exceptions;
using De.Osthus.Ambeth.Ioc.Factory;
using De.Osthus.Ambeth.Log;
using De.Osthus.Ambeth.Testutil;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Runtime.CompilerServices;
namespace De.Osthus.Ambeth.Ioc.Annotation
... | Dennis-Koch/ambeth | ambeth/Ambeth.IoC.Test/ambeth/collections/CleanupInvalidKeysSetTest.cs | https://github.com/Dennis-Koch/ambeth/blob/HEAD/ambeth/Ambeth.IoC.Test/ambeth/collections/CleanupInvalidKeysSetTest.cs | ghcode:00004:e620b9de3fe0 | apache-2.0 | codeparrot/github-code | e620b9de3fe0b4e8b8a7ff7279f4adddaccfaf137c3dcf09c5fc9c4f68d6dc39 | 0.6 | testing_debugging_repair_refactoring | 436 | 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... | HellBrick/roslyn | src/Compilers/CSharp/Test/Symbol/DocumentationComments/CrefTests.cs | https://github.com/HellBrick/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/DocumentationComments/CrefTests.cs | ghcode:00004:8c12b31d34c3 | apache-2.0 | codeparrot/github-code | 8c12b31d34c389e01a7191dc2615f238de34e983f04cee1e8fc1b620f825e350 | 0.75 | testing_debugging_repair_refactoring | 61,532 | false | 2026-07-17 |
using System.Text;
using System.Xml;
using NUnit.Framework;
using SpainHoliday.SepaWriter.Utils;
namespace SpainHoliday.SepaWriter.Test.Utils
{
[TestFixture]
public class XmlElementExtensionTest
{
[SetUp]
public void Prepare()
{
document = new XmlDocument()... | SpainHoliday/sepawriter | SepaWriter.Test/Utils/XmlElementExtensionTest.cs | https://github.com/SpainHoliday/sepawriter/blob/HEAD/SepaWriter.Test/Utils/XmlElementExtensionTest.cs | ghcode:00004:9d2e0ad5b6bb | apache-2.0 | codeparrot/github-code | 9d2e0ad5b6bba286254f7f09381c1e8e867de89bcac635bbf17f910814d6f6fd | 0.6 | testing_debugging_repair_refactoring | 469 | false | 2026-07-17 |
using System;
using Deveel.Data.Serialization;
using Xunit;
namespace Deveel.Data.Sql.Expressions {
public static class SqlAssignExpressionTests {
[Theory]
[InlineData("a.b", true)]
public static void CreateReferenceAssign(string name, object value) {
var objName = ObjectName.Parse(name);
var obj = Sql... | deveel/deveeldb.core | test/DeveelDb.Core.Tests/Data/Sql/Expressions/SqlAssignExpressionTests.cs | https://github.com/deveel/deveeldb.core/blob/HEAD/test/DeveelDb.Core.Tests/Data/Sql/Expressions/SqlAssignExpressionTests.cs | ghcode:00004:5d59fe26743b | apache-2.0 | codeparrot/github-code | 5d59fe26743b722d4c0fd47031d616450a67e1c40b01d44c4a23d1ab5800f06f | 0.75 | testing_debugging_repair_refactoring | 353 | false | 2026-07-17 |
#region License
/*
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | MaferYangPointJun/Spring.net | test/Spring/Spring.Core.Tests/Objects/Factory/Support/ManagedListTests.cs | https://github.com/MaferYangPointJun/Spring.net/blob/HEAD/test/Spring/Spring.Core.Tests/Objects/Factory/Support/ManagedListTests.cs | ghcode:00004:644642aebb7c | apache-2.0 | codeparrot/github-code | 644642aebb7c073be6eedbfe7987d327b4e3a4d8c6aeab47dbb7abc489c4bb13 | 0.85 | testing_debugging_repair_refactoring | 604 | false | 2026-07-17 |
using System;
using System.Diagnostics;
namespace Moq.Sdk
{
/// <summary>
/// Matches an argument with the given type <typeparamref name="T"/>,
/// as long as it is not equal to the initial value.
/// </summary>
/// <typeparam name="T">Type of argument being conditioned.</typeparam>
public cl... | Moq/moq | src/Moq.Sdk/NotMatcher.cs | https://github.com/Moq/moq/blob/HEAD/src/Moq.Sdk/NotMatcher.cs | ghcode:00004:ce281fd22ff1 | apache-2.0 | codeparrot/github-code | ce281fd22ff10376fd3c2f30c867251bc2c9f211ef3ab8dcddba51712e58254b | 0.7 | testing_debugging_repair_refactoring | 453 | false | 2026-07-17 |
#region License
//
// Command Line Library: SimpleOptionsWithArray.cs
//
// Author:
// Giacomo Stelluti Scala (gsscoder@ymail.com)
//
// Copyright (C) 2005 - 2010 Giacomo Stelluti Scala
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation... | AshitakaLax/MCE-Clean-Buddy | src/MCEBuddy.CommandLine/Tests/Mocks/SimpleOptionsWithArray.cs | https://github.com/AshitakaLax/MCE-Clean-Buddy/blob/HEAD/src/MCEBuddy.CommandLine/Tests/Mocks/SimpleOptionsWithArray.cs | ghcode:00004:b2ec81569816 | apache-2.0 | codeparrot/github-code | b2ec8156981669b49694cce04faaba593f4f389af8fe47575bb84a7a8af48df9 | 0.95 | testing_debugging_repair_refactoring | 393 | false | 2026-07-17 |
//
// Copyright (C) 2012-2014 DataStax 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 ap... | kishkaru/csharp-driver | src/Cassandra.IntegrationTests/Mapping/Tests/InsertTests.cs | https://github.com/kishkaru/csharp-driver/blob/HEAD/src/Cassandra.IntegrationTests/Mapping/Tests/InsertTests.cs | ghcode:00004:4c52a0132536 | apache-2.0 | codeparrot/github-code | 4c52a01325361c88af5d5b60fe79618487f30e4f350eafeef4a28fbee2f0af80 | 0.95 | testing_debugging_repair_refactoring | 4,779 | false | 2026-07-17 |
using System;
namespace Chinchilla.Specifications.Messages
{
public class TestResponseMessage : ICorrelated
{
public TestResponseMessage()
{
CorrelationId = Guid.NewGuid();
}
public Guid CorrelationId { get; set; }
}
} | jonnii/chinchilla | src/Chinchilla.Specifications/Messages/TestResponseMessage.cs | https://github.com/jonnii/chinchilla/blob/HEAD/src/Chinchilla.Specifications/Messages/TestResponseMessage.cs | ghcode:00004:c06ca20a2a7a | apache-2.0 | codeparrot/github-code | c06ca20a2a7aa6cb221d444ce7178a65028f5da19ecf569fc0577392962b7a4b | 0.75 | testing_debugging_repair_refactoring | 58 | false | 2026-07-17 |
/*
* Copyright 2015 Fernando Suárez Llamas
*
* 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 la... | bjaguar/ExcelSheeter | ExcelSheeter/ExcelSheeter.Test/ExcelAttributeTest.cs | https://github.com/bjaguar/ExcelSheeter/blob/HEAD/ExcelSheeter/ExcelSheeter.Test/ExcelAttributeTest.cs | ghcode:00004:ba17876cf1c5 | apache-2.0 | codeparrot/github-code | ba17876cf1c588f70947f6d55d652174b5162330b3ead9109c8090241c846089 | 0.7 | testing_debugging_repair_refactoring | 492 | false | 2026-07-17 |
#region WatiN Copyright (C) 2006-2011 Jeroen van Menen
//Copyright 2006-2011 Jeroen van Menen
//
// 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.... | adymitruk/altnetdllstack | Watin/src/UnitTests/Native/IETests/IEDocumentTests.cs | https://github.com/adymitruk/altnetdllstack/blob/HEAD/Watin/src/UnitTests/Native/IETests/IEDocumentTests.cs | ghcode:00004:5de2d2dcd77f | apache-2.0 | codeparrot/github-code | 5de2d2dcd77f99939a00bf014f68b40bc031691b90ec4d1c1a300ede00c3d607 | 0.95 | testing_debugging_repair_refactoring | 896 | false | 2026-07-17 |
// Copyright (c) 2008-2018, Hazelcast, 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... | asimarslan/hazelcast-csharp-client | Hazelcast.Test/Hazelcast.NearCache.Test/NearCacheStalenessTest.cs | https://github.com/asimarslan/hazelcast-csharp-client/blob/HEAD/Hazelcast.Test/Hazelcast.NearCache.Test/NearCacheStalenessTest.cs | ghcode:00004:a7c5678d7e59 | apache-2.0 | codeparrot/github-code | a7c5678d7e59dfdc00b2e7ec9ea59c486b9c3081c6c4cbec8796fdb136ff15a2 | 0.7 | testing_debugging_repair_refactoring | 935 | false | 2026-07-17 |
using Quartz.DynamoDB.DataModel;
using Xunit;
namespace Quartz.DynamoDB.Tests.Unit
{
/// <summary>
/// Contains tests for the dynamo job class.
/// </summary>
public class DynamoJobTests
{
public DynamoJobTests()
{
}
/// <summary>
/// Tests that a new Dynam... | lukeryannetnz/quartznet-dynamodb | src/QuartzNET-DynamoDB.Tests/Unit/DynamoJobTests.cs | https://github.com/lukeryannetnz/quartznet-dynamodb/blob/HEAD/src/QuartzNET-DynamoDB.Tests/Unit/DynamoJobTests.cs | ghcode:00004:4202ff76baf9 | apache-2.0 | codeparrot/github-code | 4202ff76baf94b9bea8d300964320d9ec960980bd98d38c22a4b81615ee35624 | 0.85 | testing_debugging_repair_refactoring | 132 | 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.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Dia... | rsdn/nitra | System.Collections.Immutable.Light/ImmutableHashSet_1.cs | https://github.com/rsdn/nitra/blob/HEAD/System.Collections.Immutable.Light/ImmutableHashSet_1.cs | ghcode:00004:11d9f0c18431 | apache-2.0 | codeparrot/github-code | 11d9f0c18431a26383a6e9c43af7a23aa7ceb6aed06687c42879bfb97b186205 | 0.7 | testing_debugging_repair_refactoring | 7,440 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text.Json.Serialization;
using Veldrid;
using static rgat.CONSTANTS;
using static rgat.GlobalConfig;
namespace rgat.Config
{
/// <summary>
/// Storage class for settings that can be store... | ncatlin/rgat | rgatCore/Config/rgatSettings.cs | https://github.com/ncatlin/rgat/blob/HEAD/rgatCore/Config/rgatSettings.cs | ghcode:00004:b673c6eb16b1 | apache-2.0 | codeparrot/github-code | b673c6eb16b1ecf2a9c2d6938fb8f0f9b55a88b918bfaeba48d9f403e7f3c856 | 0.7 | testing_debugging_repair_refactoring | 10,413 | false | 2026-07-17 |
using System;
using System.IO;
using System.Xml;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using UrdfToUnity.Parse.Xml.Links.Visuals;
using UrdfToUnity.Urdf.Models.Links.Visuals;
namespace UrdfToUnityTest.Parse.Xml.Links.Visuals
{
[TestClass]
public class ColorParserTest
{
private readon... | MangoMangoDevelopment/neptune | src/urdf/UrdfToUnityTest/Parse/Xml/Links/Visuals/ColorParserTest.cs | https://github.com/MangoMangoDevelopment/neptune/blob/HEAD/src/urdf/UrdfToUnityTest/Parse/Xml/Links/Visuals/ColorParserTest.cs | ghcode:00004:a30908d7cbe5 | bsd-3-clause | codeparrot/github-code | a30908d7cbe517ee28097c902d56b3090ed4ca70044030cd133b343e9beb7554 | 0.6 | testing_debugging_repair_refactoring | 1,011 | false | 2026-07-17 |
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/
//
// 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 ... | mbrit/MoqForWinRT | Moq.MetroStyle/Castle/Generators/Emitters/StrongNameUtil.cs | https://github.com/mbrit/MoqForWinRT/blob/HEAD/Moq.MetroStyle/Castle/Generators/Emitters/StrongNameUtil.cs | ghcode:00004:a622fea83e41 | bsd-3-clause | codeparrot/github-code | a622fea83e41f8d29a46c4f9843e4119ac0684910abde767b2c82296c013bbd2 | 0.7 | testing_debugging_repair_refactoring | 689 | false | 2026-07-17 |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | allquixotic/opensim-autobackup | OpenSim/Region/Framework/Scenes/Tests/StandaloneTeleportTests.cs | https://github.com/allquixotic/opensim-autobackup/blob/HEAD/OpenSim/Region/Framework/Scenes/Tests/StandaloneTeleportTests.cs | ghcode:00004:a9ad36297094 | bsd-3-clause | codeparrot/github-code | a9ad362970948dc0fbc63dfc84cf5cf5e023eb38c0f9b0a9a308f92ffeee2770 | 0.95 | testing_debugging_repair_refactoring | 1,706 | false | 2026-07-17 |
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Endpoints
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
[TestCategory("Endpoints")]
public class EndpointProviderBuildUriTests
{
/// <summary>
/// Location and Endpoint are us... | pharring/ApplicationInsights-dotnet | BASE/Test/Microsoft.ApplicationInsights.Test/Microsoft.ApplicationInsights.Tests/Extensibility/Implementation/Endpoints/EndpointProviderBuildUriTests.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/BASE/Test/Microsoft.ApplicationInsights.Test/Microsoft.ApplicationInsights.Tests/Extensibility/Implementation/Endpoints/EndpointProviderBuildUriTests.cs | ghcode:00004:e4c2a6e3af9c | mit | codeparrot/github-code | e4c2a6e3af9c8611cb4a69377853c1de13c185c56c5b17874f15e3772b9b83ac | 0.95 | testing_debugging_repair_refactoring | 492 | false | 2026-07-17 |
// ****************************************************************
// Copyright 2007, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org.
// ****************************************************************
namespace NUnit.Framewor... | acken/AutoTest.Net | lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitFramework/tests/Constraints/TypeConstraintTests.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitFramework/tests/Constraints/TypeConstraintTests.cs | ghcode:00004:15aba9f87e40 | mit | codeparrot/github-code | 15aba9f87e40751540125401da79a62a839f710b032465880ad0a42267cf84fe | 0.95 | testing_debugging_repair_refactoring | 896 | false | 2026-07-17 |
using ClosedXML.Excel;
using NUnit.Framework;
using System.Globalization;
using System.IO;
using System.Threading;
namespace ClosedXML_Tests.Excel.Saving
{
[TestFixture]
public class SavingTests
{
[Test]
public void CanSuccessfullySaveFileMultipleTimes()
{
using (var wb ... | JavierJJJ/ClosedXML | ClosedXML_Tests/Excel/Saving/SavingTests.cs | https://github.com/JavierJJJ/ClosedXML/blob/HEAD/ClosedXML_Tests/Excel/Saving/SavingTests.cs | ghcode:00004:06fef61667f4 | mit | codeparrot/github-code | 06fef61667f46d04a5416836728f47dc43b9f052c08a30f9c0cd60a857958a68 | 0.85 | testing_debugging_repair_refactoring | 451 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.Win32.SafeHandles;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
... | krytarowski/coreclr | src/mscorlib/shared/System/IO/FileStream.Unix.cs | https://github.com/krytarowski/coreclr/blob/HEAD/src/mscorlib/shared/System/IO/FileStream.Unix.cs | ghcode:00004:3d616049bc30 | mit | codeparrot/github-code | 3d616049bc30c29e9628622877fc7d02615f8d694db766528cfe38160c447a15 | 0.7 | testing_debugging_repair_refactoring | 8,418 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2007 Charlie Poole
//
// 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, incl... | jnm2/nunit | src/NUnitFramework/tests/Internal/Filters/TestFilterTests.cs | https://github.com/jnm2/nunit/blob/HEAD/src/NUnitFramework/tests/Internal/Filters/TestFilterTests.cs | ghcode:00004:d46e7b1abf8c | mit | codeparrot/github-code | d46e7b1abf8c17d4be009601e7506b01516a8ac6011965c6fa443ed4ca59fe39 | 0.95 | testing_debugging_repair_refactoring | 962 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Diagnostics;
using Internal.TypeSystem;
namespace Internal.Runtime
{
internal stati... | shrah/corert | src/Common/src/Internal/Runtime/EETypeBuilderHelpers.cs | https://github.com/shrah/corert/blob/HEAD/src/Common/src/Internal/Runtime/EETypeBuilderHelpers.cs | ghcode:00004:2e4fcd8f32ec | mit | codeparrot/github-code | 2e4fcd8f32ec96587fe9359d32cbaab4715c5852dd14e8615dfc9c143db69dd4 | 0.8 | testing_debugging_repair_refactoring | 1,630 | false | 2026-07-17 |
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace RSG.Scene.Query.Tests
{
public class NameQueryTests
{
[Fact]
public void test_name_match_when_gameobject_has_the_expected_name()
{
var mockGameObject = ne... | Real-Serious-Games/Unity-Scene-Query | SceneQuery.Tests/Query/NameQueryTests.cs | https://github.com/Real-Serious-Games/Unity-Scene-Query/blob/HEAD/SceneQuery.Tests/Query/NameQueryTests.cs | ghcode:00004:064b84cec604 | mit | codeparrot/github-code | 064b84cec604a8f54c595fd17fd0957beaa4b2707a2d5d79ac0d668a4b096e4e | 0.75 | testing_debugging_repair_refactoring | 261 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Scoping;
using Umbraco.Tests.TestHelpers;
using Umbraco.Tests.Testing;
namespace Umbraco.Tests.Persistence
{
[TestFixture]
[UmbracoTest(Database = UmbracoTestOptions.Database.NewSchemaPerTest)]
public class UnitOfWorkTests : TestW... | abjerner/Umbraco-CMS | src/Umbraco.Tests/Persistence/UnitOfWorkTests.cs | https://github.com/abjerner/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Persistence/UnitOfWorkTests.cs | ghcode:00004:71585545a02f | mit | codeparrot/github-code | 71585545a02ff5b1625712e14d6fa9393edb8699e7039b1263cb0c2f9e7bb8cf | 0.75 | testing_debugging_repair_refactoring | 336 | false | 2026-07-17 |
using Newtonsoft.Json;
using Telegram.Bot.Types.ReplyMarkups;
using Xunit;
namespace Telegram.Bot.Tests.Unit.Serialization
{
public class ReplyMarkupSerializationTests
{
[Theory(DisplayName = "Should serialize request poll keyboard button")]
[InlineData(null)]
[InlineData("regular")]
... | MrRoundRobin/telegram.bot | test/Telegram.Bot.Tests.Unit/Serialization/ReplyMarkupSerializationTests.cs | https://github.com/MrRoundRobin/telegram.bot/blob/HEAD/test/Telegram.Bot.Tests.Unit/Serialization/ReplyMarkupSerializationTests.cs | ghcode:00004:c42efad6ff97 | mit | codeparrot/github-code | c42efad6ff979c3987e4244b0a200f49f6c6e01d46267f02f7fc91606357f730 | 0.75 | testing_debugging_repair_refactoring | 184 | 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.Diagnostics;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containe... | smoogipooo/osu | osu.Game/Online/Rooms/OnlinePlayBeatmapAvailabilityTracker.cs | https://github.com/smoogipooo/osu/blob/HEAD/osu.Game/Online/Rooms/OnlinePlayBeatmapAvailabilityTracker.cs | ghcode:00004:f67029571b3f | mit | codeparrot/github-code | f67029571b3f26ca48cc6cd9ec6403da7c9857cf743c00f01fd4447a53774b46 | 0.7 | testing_debugging_repair_refactoring | 884 | false | 2026-07-17 |
using Bridge.Test.NUnit;
using System;
namespace Bridge.ClientTest.CSharp6
{
[Category(Constants.MODULE_BASIC_CSHARP)]
[TestFixture(TestNameFormat = "Interpolated Strings - {0}")]
public class TestInterpolatedStrings
{
private class Person
{
public string Name { get; set; } ... | AndreyZM/Bridge | Tests/Batch1/CSharp6/TestInterpolatedStrings.cs | https://github.com/AndreyZM/Bridge/blob/HEAD/Tests/Batch1/CSharp6/TestInterpolatedStrings.cs | ghcode:00004:bcde3567b9be | apache-2.0 | codeparrot/github-code | bcde3567b9be3d8227aecf11b9dc5042036c99e11cdafacfd684eab1f221131f | 0.75 | testing_debugging_repair_refactoring | 578 | false | 2026-07-17 |
using System.Threading.Tasks;
using GridDomain.ProcessManagers;
using GridDomain.Tests.Common;
using KellermanSoftware.CompareNetObjects;
using Xunit;
namespace GridDomain.Tests.Scenarios
{
public static class ProcessScenarioExtensions
{
public static async Task<ProcessScenario<TData>> CheckProducedCom... | linkelf/GridDomain | GridDomain.Tests.Scenarios/ProcessScenarioExtensions.cs | https://github.com/linkelf/GridDomain/blob/HEAD/GridDomain.Tests.Scenarios/ProcessScenarioExtensions.cs | ghcode:00004:645df7b982e1 | apache-2.0 | codeparrot/github-code | 645df7b982e1a3be6fd8c10ec29bbda2f3cf76329b8848f675e57ed84be7f842 | 0.75 | testing_debugging_repair_refactoring | 593 | false | 2026-07-17 |
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2019 Jeffrey Su & Suzhou Senparc Network Technology Co.,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 ... | jiehanlin/WeiXinMPSDK | src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/TenPayLibV3/TenPayV3/TenPayTest.cs | https://github.com/jiehanlin/WeiXinMPSDK/blob/HEAD/src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/TenPayLibV3/TenPayV3/TenPayTest.cs | ghcode:00004:3e1bf00bde8a | apache-2.0 | codeparrot/github-code | 3e1bf00bde8a247d3dd881de0eef4ca90152f69012467c2071c3d24e2ed473e9 | 0.7 | testing_debugging_repair_refactoring | 248 | false | 2026-07-17 |
//
// Copyright 2013 Matthew Ducker
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... | xorxornop/ObscurCore | Obscur.Core.Tests/IOTestBase.cs | https://github.com/xorxornop/ObscurCore/blob/HEAD/Obscur.Core.Tests/IOTestBase.cs | ghcode:00004:735336f2be2c | apache-2.0 | codeparrot/github-code | 735336f2be2c43bceadea7b78d1dbe5f09f172fb696d041e837e19dfd3e968ab | 0.7 | testing_debugging_repair_refactoring | 793 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Text;
using Cosmos.Debug.Kernel;
using Cosmos.HAL.BlockDevice;
using Cosmos.System.FileSystem;
using Cosmos.System.FileSystem.FAT;
using Cosmos.System.FileSystem.VFS;
using NUnit.Framework;
namespace Cosmos.System.Tests
{
public class FatFileSystem_Should
{
... | CosmosOS/Cosmos | Tests/Cosmos.System.Tests/FatFileSystem_Should.cs | https://github.com/CosmosOS/Cosmos/blob/HEAD/Tests/Cosmos.System.Tests/FatFileSystem_Should.cs | ghcode:00004:66b8e271fe8e | bsd-3-clause | codeparrot/github-code | 66b8e271fe8e674c8e7ccd4cb7e7958f021d7f9fed5571ad80e914600b680dca | 0.6 | testing_debugging_repair_refactoring | 693 | false | 2026-07-17 |
using System.Text.RegularExpressions;
namespace Shouldly.MessageGenerators
{
internal class ShouldBeUniqueMessageGenerator : ShouldlyMessageGenerator
{
static readonly Regex Validator = new Regex("ShouldBeUnique");
public override bool CanProcess(IShouldlyAssertionContext context)
{
... | JoeMighty/shouldly | src/Shouldly/MessageGenerators/ShouldBeUniqueMessageGenerator.cs | https://github.com/JoeMighty/shouldly/blob/HEAD/src/Shouldly/MessageGenerators/ShouldBeUniqueMessageGenerator.cs | ghcode:00004:eef4fb3297d4 | bsd-3-clause | codeparrot/github-code | eef4fb3297d424788e9548f5c61d0c775a9d5ae228b66c8e9d0c0e5eb476ce61 | 0.6 | testing_debugging_repair_refactoring | 168 | false | 2026-07-17 |
//
// Copyright (c) 2004-2021 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of s... | NLog/NLog | tests/NLog.UnitTests/Contexts/MappedDiagnosticsLogicalContextTests.cs | https://github.com/NLog/NLog/blob/HEAD/tests/NLog.UnitTests/Contexts/MappedDiagnosticsLogicalContextTests.cs | ghcode:00004:84cd03741280 | bsd-3-clause | codeparrot/github-code | 84cd037412802e183449f5b8df714a61a90d45264714c43077bf314c3449d7d3 | 0.85 | testing_debugging_repair_refactoring | 5,424 | false | 2026-07-17 |
using System.Collections.Generic;
using AldursLab.Essentials.Collections;
using NUnit.Framework;
namespace AldursLab.Essentials.Tests.Collections
{
public class BidirectionalMapTests : AssertionHelper
{
BidirectionalMap<int, string> map;
[SetUp]
public void Setup()
{
... | mdsolver/WurmAssistant3 | src/Common/Essentials.Tests/Collections/BidirectionalMapTests.cs | https://github.com/mdsolver/WurmAssistant3/blob/HEAD/src/Common/Essentials.Tests/Collections/BidirectionalMapTests.cs | ghcode:00004:138651faee56 | mit | codeparrot/github-code | 138651faee56294f37c625f5c27e306e1e31bf3c1ebfc5b23e04a19a7f3fd24c | 0.75 | testing_debugging_repair_refactoring | 481 | false | 2026-07-17 |
using System;
using System.Linq;
using JiebaNet.Analyser;
using JiebaNet.Segmenter.PosSeg;
using NUnit.Framework;
namespace JiebaNet.Segmenter.Tests
{
[TestFixture]
public class TestDemo
{
[TestCase]
public void CutDemo()
{
var segmenter = new JiebaSegmenter();
... | andyshao/jieba.NET | Segmenter.Tests/TestDemo.cs | https://github.com/andyshao/jieba.NET/blob/HEAD/Segmenter.Tests/TestDemo.cs | ghcode:00004:df7f17f242c5 | mit | codeparrot/github-code | df7f17f242c57c8385c8bd89445a7703bf3fd56bd1e73b4d3f8f8b6df656389e | 0.85 | testing_debugging_repair_refactoring | 761 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Microsoft.R.Components.View;
using Microsoft.UnitTest... | AlexanderSher/RTVS | src/Windows/R/Components/Test/Fakes/VisualComponentFactories/ContainerFactoryBase.cs | https://github.com/AlexanderSher/RTVS/blob/HEAD/src/Windows/R/Components/Test/Fakes/VisualComponentFactories/ContainerFactoryBase.cs | ghcode:00004:3ad58d94a397 | mit | codeparrot/github-code | 3ad58d94a3976d7807614264e71168375aec4d25442f4a40991632034f401440 | 0.85 | testing_debugging_repair_refactoring | 334 | 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 Internal.Runtime.Augments;
namespace System.Threading
{
/// <summary>
/// A... | zenos-os/zenos | vendor/corert/src/System.Private.CoreLib/src/System/Threading/LowLevelSpinWaiter.cs | https://github.com/zenos-os/zenos/blob/HEAD/vendor/corert/src/System.Private.CoreLib/src/System/Threading/LowLevelSpinWaiter.cs | ghcode:00004:816f4559232b | mit | codeparrot/github-code | 816f4559232b5ee1b0edf5ed6030b9abb54c94337e01cddcd5faaddfcc2ef6e0 | 0.8 | testing_debugging_repair_refactoring | 1,102 | false | 2026-07-17 |
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSh... | Azure/azure-webjobs-sdk-script | tools/ExtensionsMetadataGenerator/test/ExtensionsMetadataGeneratorTests/GlobalSuppressions.cs | https://github.com/Azure/azure-webjobs-sdk-script/blob/HEAD/tools/ExtensionsMetadataGenerator/test/ExtensionsMetadataGeneratorTests/GlobalSuppressions.cs | ghcode:00004:07dd1ee319b6 | mit | codeparrot/github-code | 07dd1ee319b6aea02aa4bdc4ec9671214b3ad6da83ef6c4456dc8fb83599350c | 0.95 | testing_debugging_repair_refactoring | 161 | 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... | tonyqus/npoi | testcases/main/POIFS/FileSystem/TestFilteringDirectoryNode.cs | https://github.com/tonyqus/npoi/blob/HEAD/testcases/main/POIFS/FileSystem/TestFilteringDirectoryNode.cs | ghcode:00004:24df425c0a3f | apache-2.0 | codeparrot/github-code | 24df425c0a3f3585e1c53456e8af1f7c4bb1eefe1ebe83be880918d414d89ad1 | 0.85 | testing_debugging_repair_refactoring | 1,454 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2008 Charlie Poole
//
// 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, inclu... | mono/guiunit | src/framework/Internal/Builders/CombinatorialTestCaseProvider.cs | https://github.com/mono/guiunit/blob/HEAD/src/framework/Internal/Builders/CombinatorialTestCaseProvider.cs | ghcode:00004:24c108610eed | mit | codeparrot/github-code | 24c108610eede3a0925efce06502d6f632b891fd0a7b8fa598d96b890864f613 | 0.7 | testing_debugging_repair_refactoring | 848 | false | 2026-07-17 |
using Abc.Zebus.Core;
using Abc.Zebus.Testing.Extensions;
using Abc.Zebus.Tests.Messages;
using NUnit.Framework;
namespace Abc.Zebus.Tests.Core
{
[TestFixture]
public class RoundRobinPeerSelectorTests
{
[Test]
public void should_return_null_when_no_peer_can_handle_the_command()
{
... | biarne-a/Zebus | src/Abc.Zebus.Tests/Core/RoundRobinPeerSelectorTests.cs | https://github.com/biarne-a/Zebus/blob/HEAD/src/Abc.Zebus.Tests/Core/RoundRobinPeerSelectorTests.cs | ghcode:00004:4e2ce178a3aa | mit | codeparrot/github-code | 4e2ce178a3aad06923950bb8f7dedb0b1edaf3bc3c12d5c1223f69cfea88142f | 0.85 | testing_debugging_repair_refactoring | 1,024 | 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 Microsoft.Protocols.TestSuites.FileSharing.Common.Adapter;
using Microsoft.Protocols.TestSuites.FileSharing.FSA.Adapter;
using Microsoft.Protocols.TestTools;
usin... | dongruiqing/WindowsProtocolTestSuites | TestSuites/FileServer/src/FSA/TestSuite/TraditionalTestCases/FsControlRequest/FSCTL_OFFLOAD_WRITE.cs | https://github.com/dongruiqing/WindowsProtocolTestSuites/blob/HEAD/TestSuites/FileServer/src/FSA/TestSuite/TraditionalTestCases/FsControlRequest/FSCTL_OFFLOAD_WRITE.cs | ghcode:00004:d58e515bbd6a | mit | codeparrot/github-code | d58e515bbd6a186c4cfd9f3e685350ec7fa366cd06cd74718eb937c0b7bd9798 | 0.8 | testing_debugging_repair_refactoring | 825 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using Moq;
using NUnit.Framework;
namespace Cassandra.Tests
{
[TestFixture]
public class ControlConnectionTests
{
public ControlConnectionTests()
{
Diagnostics.CassandraTraceSwitch.Level = Syst... | jorgebay/csharp-driver | src/Cassandra.Tests/ControlConnectionTests.cs | https://github.com/jorgebay/csharp-driver/blob/HEAD/src/Cassandra.Tests/ControlConnectionTests.cs | ghcode:00004:cc7fefe06832 | apache-2.0 | codeparrot/github-code | cc7fefe068324986120ec4ad2b5c51d2e844613a5e0b5c92fc9f1134ae69ac8e | 0.85 | testing_debugging_repair_refactoring | 1,422 | 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.Text;
using System.Threading;
using System.Threading.Tasks;
using Xun... | mokchhya/corefx | src/System.IO.Compression/tests/DeflateStreamTests.cs | https://github.com/mokchhya/corefx/blob/HEAD/src/System.IO.Compression/tests/DeflateStreamTests.cs | ghcode:00004:8127c581c052 | mit | codeparrot/github-code | 8127c581c052802577ba88d8714f57596761771d13a29a12e010cf6142c94a8c | 0.95 | testing_debugging_repair_refactoring | 8,346 | false | 2026-07-17 |
#if net40
using System;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Shouldly.Tests.ShouldNotThrow
{
public class FuncOfTaskOfTWithTimeoutScenario
{
[Test]
public void ShouldThrowAWobbly()
{
var task = Task.Factory.StartNew(() =>
... | yannisgu/shouldly | src/Shouldly.Tests/ShouldNotThrow/FuncOfTaskOfTWithTimeoutScenario.cs | https://github.com/yannisgu/shouldly/blob/HEAD/src/Shouldly.Tests/ShouldNotThrow/FuncOfTaskOfTWithTimeoutScenario.cs | ghcode:00004:11b647a87f02 | bsd-3-clause | codeparrot/github-code | 11b647a87f023446731c6b58a5acec18c23c32be87e6b0a6b21a1e2e4d8e9d50 | 0.6 | testing_debugging_repair_refactoring | 278 | 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.Immutable;
using System.Diagnostics;
using System.Linq;
u... | sharwell/roslyn | src/Compilers/CSharp/Portable/Symbols/Source/SourceLocalSymbol.cs | https://github.com/sharwell/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Source/SourceLocalSymbol.cs | ghcode:00004:1b18e57263ec | mit | codeparrot/github-code | 1b18e57263ecf7f8ff8e5089460f1d99620a5947bef04bf38528ba84f5607bd4 | 0.85 | testing_debugging_repair_refactoring | 6,194 | 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;
using System... | CyrusNajmabadi/roslyn | src/Compilers/CSharp/Test/Semantic/Diagnostics/GetDiagnosticsTests.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Diagnostics/GetDiagnosticsTests.cs | ghcode:00004:0fb2ff2eb6da | mit | codeparrot/github-code | 0fb2ff2eb6da82396cf4fac3ad3b28ba7a57b15938aef7c0c5756a8034fe6322 | 0.95 | testing_debugging_repair_refactoring | 7,039 | false | 2026-07-17 |
#region License
/*
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | spring-projects/spring-net | test/Spring/Spring.Messaging.Nms.Tests/Messaging/Nms/Connections/TestMessageListener.cs | https://github.com/spring-projects/spring-net/blob/HEAD/test/Spring/Spring.Messaging.Nms.Tests/Messaging/Nms/Connections/TestMessageListener.cs | ghcode:00004:c9f1f7654e2e | apache-2.0 | codeparrot/github-code | c9f1f7654e2e69f35086e584b818cc993dc179870e25d54437f4bd4c992038ed | 0.85 | testing_debugging_repair_refactoring | 277 | false | 2026-07-17 |
/****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2008-2009 Jason Booth
Copyright (c) 2011-2012 openxlive.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files ... | TukekeSoft/CocosSharp | src/platform/CCDictMaker.cs | https://github.com/TukekeSoft/CocosSharp/blob/HEAD/src/platform/CCDictMaker.cs | ghcode:00004:7ce1bb97a6b0 | mit | codeparrot/github-code | 7ce1bb97a6b0dd34bd3fcc49703af462b4c73b140dafe5bd2871dd062d0aa63d | 0.7 | testing_debugging_repair_refactoring | 1,652 | 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,... | jstammers/EDMSuite | packages/Json60r8/Source/Src/Newtonsoft.Json.Tests/Linq/JPropertyTests.cs | https://github.com/jstammers/EDMSuite/blob/HEAD/packages/Json60r8/Source/Src/Newtonsoft.Json.Tests/Linq/JPropertyTests.cs | ghcode:00004:78cf2be0f74d | mit | codeparrot/github-code | 78cf2be0f74d3c2ef038143c724f2088ae255be401b9d783b306eb2224841cd5 | 0.95 | testing_debugging_repair_refactoring | 1,515 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.Tests;
using Test.Cryptogra... | zhenlan/corefx | src/Common/tests/System/Security/Cryptography/AlgorithmImplementations/EC/EccTestBase.cs | https://github.com/zhenlan/corefx/blob/HEAD/src/Common/tests/System/Security/Cryptography/AlgorithmImplementations/EC/EccTestBase.cs | ghcode:00004:1b3f9f63f613 | mit | codeparrot/github-code | 1b3f9f63f6132df98cc2e05a3350ed50b61270754184fa4c60e4d69b5e43fc89 | 0.95 | testing_debugging_repair_refactoring | 1,925 | false | 2026-07-17 |
using System;
using NSubstitute.Core;
using NSubstitute.Proxies;
using NSubstitute.Specs.Infrastructure;
using NUnit.Framework;
namespace NSubstitute.Specs.Proxies
{
public class ProxyFactorySpecs
{
public class Concern : ConcernFor<ProxyFactory>
{
protected IProxyFactory _delegateF... | huoxudong125/NSubstitute | Source/NSubstitute.Specs/Proxies/ProxyFactorySpecs.cs | https://github.com/huoxudong125/NSubstitute/blob/HEAD/Source/NSubstitute.Specs/Proxies/ProxyFactorySpecs.cs | ghcode:00004:0a0178044757 | bsd-3-clause | codeparrot/github-code | 0a017804475737b0cc892aa9b69c0806b44f3a06a2d478c6021c9a5c068ad4ba | 0.6 | testing_debugging_repair_refactoring | 495 | 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.Collections.Generic;
using System.Linq;
using Xunit;
using System.Diagnostics;
namespace System.Collections.Immutable.Tests
{
public abstract class Im... | Yanjing123/corefx | src/System.Collections.Immutable/tests/ImmutableListTestBase.cs | https://github.com/Yanjing123/corefx/blob/HEAD/src/System.Collections.Immutable/tests/ImmutableListTestBase.cs | ghcode:00004:46a42493d175 | mit | codeparrot/github-code | 46a42493d175c4c6a224cc6219f7e58a4b0416a88109b7bacf32233e342896d1 | 0.95 | testing_debugging_repair_refactoring | 4,844 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.IO.PortsTests;
using System.Text;
using System.Threading;
using System.Thread... | nbarbettini/corefx | src/System.IO.Ports/tests/SerialPort/WriteLine_Generic.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.IO.Ports/tests/SerialPort/WriteLine_Generic.cs | ghcode:00004:2b495212f5ed | mit | codeparrot/github-code | 2b495212f5ed5a5d49557f075bd9db4a60f0de8a1cc8d6b338c1abe9b3334793 | 0.95 | testing_debugging_repair_refactoring | 3,784 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
using Object = UnityEngine.Object;
using UnityEditor.SceneManagement;
namespace UnityTest
{
[CanEditMultipleObjects]
[CustomEditor(typeof(TestComponent))]
public class TestComponentEditor : Editor
{... | mfav/syrinj | UnityTestTools/IntegrationTestsFramework/TestRunner/Editor/TestComponentEditor.cs | https://github.com/mfav/syrinj/blob/HEAD/UnityTestTools/IntegrationTestsFramework/TestRunner/Editor/TestComponentEditor.cs | ghcode:00004:3ae388ec3a9c | mit | codeparrot/github-code | 3ae388ec3a9c057ba3024b0d933e83e0de973be944a3b23fc78d6634b853d830 | 0.75 | testing_debugging_repair_refactoring | 1,118 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics.Tracing;
using Xunit;
using System;
using System.Collections.Generic;
namespace BasicEvent... | krytarowski/corefx | src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/Harness/EventTestHarness.cs | https://github.com/krytarowski/corefx/blob/HEAD/src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/Harness/EventTestHarness.cs | ghcode:00004:fd1789aa5378 | mit | codeparrot/github-code | fd1789aa5378ad7154e1441226dc5a590e7e45cf429f5b49ec3a33debcfdce60 | 0.95 | testing_debugging_repair_refactoring | 1,448 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.Code... | pdelvo/roslyn | src/EditorFeatures/CSharpTest/Formatting/Indentation/FormatterTestsBase.cs | https://github.com/pdelvo/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Formatting/Indentation/FormatterTestsBase.cs | ghcode:00004:1c0cf8d61b72 | apache-2.0 | codeparrot/github-code | 1c0cf8d61b72d7c3e3a8dfd663ca3029d16b0bf30c1246cd67566d882d08361c | 0.85 | testing_debugging_repair_refactoring | 1,445 | false | 2026-07-17 |
using Xunit;
namespace Jint.Tests.Ecma
{
public class Test_15_9_5_35 : EcmaTest
{
[Fact]
[Trait("Category", "15.9.5.35")]
public void TheDatePrototypePropertySetutchoursHasDontenumAttributes()
{
RunTest(@"TestCases/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A1_T1.js", false);
... | fvaneijk/jint | Jint.Tests.Ecma/Ecma/15.9.5.35.cs | https://github.com/fvaneijk/jint/blob/HEAD/Jint.Tests.Ecma/Ecma/15.9.5.35.cs | ghcode:00004:1879c8c3bd5f | bsd-2-clause | codeparrot/github-code | 1879c8c3bd5fe28c0dc2b5490ac2ded3c210cc35373203678f561f460becaba3 | 0.68 | testing_debugging_repair_refactoring | 686 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.