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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Security.Cryptography.Encryption.RC2.Tests
{
using RC2 = System.Security.Cryptogr... | jlin177/corefx | src/System.Security.Cryptography.Algorithms/tests/RC2Tests.cs | https://github.com/jlin177/corefx/blob/HEAD/src/System.Security.Cryptography.Algorithms/tests/RC2Tests.cs | ghcode:00166:117d83fc8f09 | mit | codeparrot/github-code | 117d83fc8f096c40ae0c448cb17ee7224671741f5897e9d0428a101b807e9aca | 0.95 | testing_debugging_repair_refactoring | 997 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sriracha.Deploy.Data.Repository.Tests.RavenDB
{
public class RavenProjectRepositoryTests : ProjectRepositoryBaseTests
{
}
}
| mmooney/Sriracha.Deploy | Sriracha.Deploy.Data.Repository.Tests/RavenDB/RavenProjectRepositoryTests.cs | https://github.com/mmooney/Sriracha.Deploy/blob/HEAD/Sriracha.Deploy.Data.Repository.Tests/RavenDB/RavenProjectRepositoryTests.cs | ghcode:00166:a20e1b91e88d | mit | codeparrot/github-code | a20e1b91e88d1d5307a04dfe6c659763f9d9a15b1720e7fc33e2ba5592d5ca46 | 0.75 | testing_debugging_repair_refactoring | 52 | false | 2026-07-17 |
//-------------
// <copyright file="PodCastTests.cs" company="Uncas">
// Copyright (c) Ole Lynge Sørensen. All rights reserved.
// </copyright>
//-------------
namespace Uncas.PodCastPlayer.Tests.ModelTests
{
using System;
using System.Diagnostics;
using NUnit.Framework;
using Uncas.Pod... | uncas/PodCastPlayer | src/Uncas.PodCastPlayer.Tests/ModelTests/PodCastTests.cs | https://github.com/uncas/PodCastPlayer/blob/HEAD/src/Uncas.PodCastPlayer.Tests/ModelTests/PodCastTests.cs | ghcode:00166:371c41bb4133 | mit | codeparrot/github-code | 371c41bb413312c29adaa6ed56b6aee7763f5c6133b88d48898b5a33d943bf74 | 0.85 | testing_debugging_repair_refactoring | 230 | false | 2026-07-17 |
using System;
namespace Sniper.Tests.Integration.Helpers
{
internal sealed class EnterpriseUserContext : IDisposable
{
internal EnterpriseUserContext(IConnection connection, User user)
{
_connection = connection;
User = user;
UserId = user.Id;
Us... | bluetread/sniper | Sniper.Tests.Integration/Helpers/EnterpriseUserContext.cs | https://github.com/bluetread/sniper/blob/HEAD/Sniper.Tests.Integration/Helpers/EnterpriseUserContext.cs | ghcode:00166:c2d46e76f72c | mit | codeparrot/github-code | c2d46e76f72c55a38341f2c550c67e2a996aa6cc8bbf3ad9f4a1e5d160c7cfa1 | 0.75 | testing_debugging_repair_refactoring | 146 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace PEG.Tests
{
[TestFixture]
public class QutoedStringTests
{
[Test]
public void EscapedQuote()
{
var body = (-(!('"'._() | @"\") + Peg.Any | @"\\" | @"\""")).Capture();
var pattern = '"' + body + '"';
... | kswoll/npeg | PEG.Tests/QutoedStringTests.cs | https://github.com/kswoll/npeg/blob/HEAD/PEG.Tests/QutoedStringTests.cs | ghcode:00166:d7f08c06ce40 | mit | codeparrot/github-code | d7f08c06ce405a84115d9aa91156aabb347159dc8152733865366e9e886e3a8e | 0.75 | testing_debugging_repair_refactoring | 106 | false | 2026-07-17 |
using NUnit.Framework;
using Shouldly;
namespace HadoukInput.Tests
{
[TestFixture]
public class MoveListTests
{
MoveList moves;
[SetUp]
public void Setup()
{
moves = new MoveList();
}
[Test]
public void AddMove()
{
moves.AddMove("hadouken", EKeystroke.Down, EKeystroke.Forward, EKeystroke.A)... | dmanning23/HadoukInput | HadoukInput/HadoukInput.Tests/MoveListTests.cs | https://github.com/dmanning23/HadoukInput/blob/HEAD/HadoukInput/HadoukInput.Tests/MoveListTests.cs | ghcode:00166:dbab5b496ceb | mit | codeparrot/github-code | dbab5b496cebab50e5d0446ddada09e8b5b685248ad1db4d5ba0f861449bdd5f | 0.75 | testing_debugging_repair_refactoring | 1,625 | false | 2026-07-17 |
namespace Easy.Common.Tests.Unit.TypeExtensions
{
using System.Linq;
using System.Reflection;
using Easy.Common.Extensions;
using NUnit.Framework;
using Shouldly;
[TestFixture]
public sealed class GettingPropertiesTests : Context
{
[Test]
public void When_getting_valid_p... | NimaAra/Easy.Common | Easy.Common.Tests.Unit/TypeExtensions/GettingPropertiesTests.cs | https://github.com/NimaAra/Easy.Common/blob/HEAD/Easy.Common.Tests.Unit/TypeExtensions/GettingPropertiesTests.cs | ghcode:00166:dbec84e7d53b | mit | codeparrot/github-code | dbec84e7d53b2fd195ba62d83e7054c9fc83c1a4d17ef54d6e2f47fd758b6e78 | 0.75 | testing_debugging_repair_refactoring | 311 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.IO;
using System.Text;
namespace GildedRose.Test
{
[TestFixture]
public class GildedRoseTests
{
[Test]
public void VerifyAgainstGoldenMaster()
{
for (var i = 0; i < 31; i++)
{
var fakeoutput... | pedromsantos/GildedRose-Refactoring-Kata | csharp/GildedRose/GildedRose.Test/GildedRoseTests.cs | https://github.com/pedromsantos/GildedRose-Refactoring-Kata/blob/HEAD/csharp/GildedRose/GildedRose.Test/GildedRoseTests.cs | ghcode:00166:a2f500f2acf4 | mit | codeparrot/github-code | a2f500f2acf403cc26eafb7744b0c357d48694befa06a4efa2c8b5d40164cea4 | 0.75 | testing_debugging_repair_refactoring | 300 | false | 2026-07-17 |
using System.Collections.Generic;
using CodingProblemsTests.Utils;
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
using NUnit.Framework;
namespace CodingProblemsTests
{
[TestFixture]
public class LRUCache_Problem
{
// https://leetcode.com/problems/lru-cache/
[Test, Category(categor... | vbodurov/sample-code | MiscCode/CodingProblems/CodingProblemsTests/LRUCache_Problem.cs | https://github.com/vbodurov/sample-code/blob/HEAD/MiscCode/CodingProblems/CodingProblemsTests/LRUCache_Problem.cs | ghcode:00166:a5120589bc7b | mit | codeparrot/github-code | a5120589bc7baf10eae2327a85b83b37a7549c95674f6af1ac0e777b0af31c9d | 0.75 | testing_debugging_repair_refactoring | 841 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using CommonCache.Test.Common;
namespace CommonCache.Test.MsalJava
{
public class JavaLa... | AzureAD/microsoft-authentication-library-for-dotnet | tests/CacheCompat/CommonCache.Test.MsalJava/JavaLanguageExecutor.cs | https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/HEAD/tests/CacheCompat/CommonCache.Test.MsalJava/JavaLanguageExecutor.cs | ghcode:00166:40007a039df8 | mit | codeparrot/github-code | 40007a039df808bdbc681971bcfe933f2abdaa77d5253b32f19cb8f3643913e0 | 0.85 | testing_debugging_repair_refactoring | 356 | false | 2026-07-17 |
using CodeFormatter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Microsoft.DotNet.CodeFormatting.Tests
{
public class CommandLineParserTests
{
private CommandLineOptions Parse(params string[] args)
{... | mmitche/codeformatter | src/Microsoft.DotNet.CodeFormatting.Tests/CommandLineParserTests.cs | https://github.com/mmitche/codeformatter/blob/HEAD/src/Microsoft.DotNet.CodeFormatting.Tests/CommandLineParserTests.cs | ghcode:00166:21e1b9fbbbd3 | mit | codeparrot/github-code | 21e1b9fbbbd3f6189e0e25ac905409b8a628d2a10b40d3499c3d88e209203f36 | 0.75 | testing_debugging_repair_refactoring | 774 | false | 2026-07-17 |
namespace QA.TelerikAcademy.Admin.Tests.CandidateExams
{
#region using directives
using Core.Constants.Attributes;
using Core.Constants.Pages;
using Core.Facades;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestingFramework.Core.Base;
using TestingFramework.Core.Data;
... | Team-Griffin-SQA-2015/TelerikAcademyCustomTestFramework | TelerikAcademyCustomTestFramework/QA.TelerikAcademy.Admin.Tests/CandidateExams/AddCandidateExamTests.cs | https://github.com/Team-Griffin-SQA-2015/TelerikAcademyCustomTestFramework/blob/HEAD/TelerikAcademyCustomTestFramework/QA.TelerikAcademy.Admin.Tests/CandidateExams/AddCandidateExamTests.cs | ghcode:00166:6312654979fe | mit | codeparrot/github-code | 6312654979fe97f5b5ceabe29b78d7d09d723b0f4d054eb4b63f3365afbcc72a | 0.75 | testing_debugging_repair_refactoring | 820 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
namespace NUnit.Framework
{
public class ValueSourceAttribute : Attribute
{
public ValueSourceAttribute(string name) { }
public ValueSourceAttribute(Type t, string name) { }
}
public class TestCaseSourceAttribute : Attribute
{
... | github/codeql | csharp/ql/test/query-tests/Dead Code/Tests/nunit.cs | https://github.com/github/codeql/blob/HEAD/csharp/ql/test/query-tests/Dead Code/Tests/nunit.cs | ghcode:00166:044bd2c6ba7f | mit | codeparrot/github-code | 044bd2c6ba7f072a66da5792c75f9f2962c3a7b556da86a6c31cf5ea74f87415 | 0.95 | testing_debugging_repair_refactoring | 257 | false | 2026-07-17 |
// Copyright (c) Costin Morariu. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using NUnit.Framework;
namespace Basics
{
[TestFixture]
public class CountBitsTests
{
[TestCase(0, 0)]
[TestCase(1, 1)]
... | stonemonkey/AlgorithmsSample | AlgorithmsSample/CountBitsTests.cs | https://github.com/stonemonkey/AlgorithmsSample/blob/HEAD/AlgorithmsSample/CountBitsTests.cs | ghcode:00166:9c4eab7facb2 | mit | codeparrot/github-code | 9c4eab7facb20c4aca784dd2f54060d0ba0bc75e632c9f810646bd96c74faf2b | 0.75 | testing_debugging_repair_refactoring | 166 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Ritter.Infra.Crosscutting.Tests.Mocks;
using Xunit;
namespace Ritter.Infra.Crosscutting.Tests.Extensions
{
public class Enumerable_ForEach
{
[Fact]
public void NotThrowExce... | aritters/Ritter | tests/Infra.Crosscutting.Tests/Extensions/Enumerable_ForEach.cs | https://github.com/aritters/Ritter/blob/HEAD/tests/Infra.Crosscutting.Tests/Extensions/Enumerable_ForEach.cs | ghcode:00166:63f454fbe675 | mit | codeparrot/github-code | 63f454fbe675634a58d4d0027b7361658a0a1302b5bb31a0646d41f7c5fb4b19 | 0.6 | testing_debugging_repair_refactoring | 532 | 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.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.V... | JosephTremoulet/coreclr | src/mscorlib/shared/System/ReadOnlySpan.cs | https://github.com/JosephTremoulet/coreclr/blob/HEAD/src/mscorlib/shared/System/ReadOnlySpan.cs | ghcode:00166:3c475145cf1b | mit | codeparrot/github-code | 3c475145cf1bb7dcf93630be05a2caa48fd741cf989a15659c8bf9f451a4e51a | 0.7 | testing_debugging_repair_refactoring | 3,264 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="TfsLegacyCoverageReportProcessorTests.cs" company="SonarSource SA and Microsoft Corporation">
// Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License... | jango2015/sonar-msbuild-runner | Tests/SonarQube.TeamBuild.Integration.Tests/TfsLegacyCoverageReportProcessorTests.cs | https://github.com/jango2015/sonar-msbuild-runner/blob/HEAD/Tests/SonarQube.TeamBuild.Integration.Tests/TfsLegacyCoverageReportProcessorTests.cs | ghcode:00166:4d9a88c4fcd6 | mit | codeparrot/github-code | 4d9a88c4fcd6509bb4b7ac8cc93bac79c1b3356364cc00da77707fb0fbfcc72b | 0.85 | testing_debugging_repair_refactoring | 1,717 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using MangaReader.Core.Manga;
using MangaReader.Core.NHibernate;
using MangaReader.Core.Services;
using NUnit.Framework;
namespace Tests.Entities.CRUD
{
[TestFixture]
public class MangaHistory : TestClass
{
[Test]
public async Task MangaHist... | MonkAlex/MangaReader | Tests/Tests.Entities/CRUD/MangaHistory.cs | https://github.com/MonkAlex/MangaReader/blob/HEAD/Tests/Tests.Entities/CRUD/MangaHistory.cs | ghcode:00166:323abdd854f4 | mit | codeparrot/github-code | 323abdd854f4a627515ffe8dabdab05b45a3551d48829bfdccd6ae9ca22fcf52 | 0.6 | testing_debugging_repair_refactoring | 590 | false | 2026-07-17 |
namespace ArmyOfCreatures.Tests.Extended.DoubleDamageTests
{
using System;
using ArmyOfCreatures.Extended.Specialties;
using ArmyOfCreatures.Logic.Battles;
using ArmyOfCreatures.Logic.Creatures;
using NUnit.Framework;
[TestFixture]
public class DoubleDamage_Should
{
[TestCase(... | Valsinev/ComponentTestingWithC | WritedTestsForExams/OOP - 06 April 2015 - Evening/2/ArmyOfCreatures.Tests/Extended/DoubleDamageTests/DoubleDamage_Should.cs | https://github.com/Valsinev/ComponentTestingWithC/blob/HEAD/WritedTestsForExams/OOP - 06 April 2015 - Evening/2/ArmyOfCreatures.Tests/Extended/DoubleDamageTests/DoubleDamage_Should.cs | ghcode:00166:a956c86019ac | mit | codeparrot/github-code | a956c86019ac62521735b902b59f179e84889b0319b796a05fc364ae1098888f | 0.6 | testing_debugging_repair_refactoring | 430 | false | 2026-07-17 |
namespace Autofac.Test.Scenarios.ScannedAssembly
{
/// <summary>
/// A command class that implements the open generic interface
/// type by inheriting from the abstract base class.
/// </summary>
public class DeleteCommand : CommandBase<DeleteCommandData>
{
public override void Execute(D... | laizhan/autofac | test/Autofac.Test.Scenarios.ScannedAssembly/DeleteCommand.cs | https://github.com/laizhan/autofac/blob/HEAD/test/Autofac.Test.Scenarios.ScannedAssembly/DeleteCommand.cs | ghcode:00166:59a727485719 | mit | codeparrot/github-code | 59a7274857197eed6032f52e7e46fba590a53cacc30b41772852e6dc36f64957 | 0.85 | testing_debugging_repair_refactoring | 78 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using LiteDB;
using FluentAssertions;
using Xunit;
namespace LiteDB.Tests.Database
{
public class AutoId_Tests
{
#region Model
public class EntityInt
{
public int Id { get; set; }
public string Name { get; set; ... | mbdavid/LiteDB | LiteDB.Tests/Database/AutoId_Tests.cs | https://github.com/mbdavid/LiteDB/blob/HEAD/LiteDB.Tests/Database/AutoId_Tests.cs | ghcode:00166:68202ec3d4d2 | mit | codeparrot/github-code | 68202ec3d4d24b97cd846d161268e4779eb7c46ff6a890734c36c6e6809661a2 | 0.85 | testing_debugging_repair_refactoring | 2,777 | false | 2026-07-17 |
using FluentAssertions;
using NUnit.Framework;
namespace NEdifis.Attributes
{
[TestFixtureFor(typeof(TestFixtureForAttribute))]
// ReSharper disable once InconsistentNaming
internal class TestFixtureForAttribute_Should
{
[Test]
public void Be_Creatable()
{
var sut = ... | awesome-inc/NEdifis | NEdifis/Attributes/TestFixtureForAttribute_Should.cs | https://github.com/awesome-inc/NEdifis/blob/HEAD/NEdifis/Attributes/TestFixtureForAttribute_Should.cs | ghcode:00166:4fa720622d6b | mit | codeparrot/github-code | 4fa720622d6b0062712f36a227205e83811e9d5310522c5208b4ba29fcc2c6e4 | 0.75 | testing_debugging_repair_refactoring | 88 | 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.Threading;
using System.Windows;
namespace MahApps.Metro.Tests.TestHelpers
{
using System.Diagnos... | ye4241/MahApps.Metro | src/Mahapps.Metro.Tests/TestHelpers/TestHost.cs | https://github.com/ye4241/MahApps.Metro/blob/HEAD/src/Mahapps.Metro.Tests/TestHelpers/TestHost.cs | ghcode:00166:68fcafa95e1b | mit | codeparrot/github-code | 68fcafa95e1b633d13c353cc3250b18e78afae3936f2b4c50c88e1cea4e2c7d2 | 0.85 | testing_debugging_repair_refactoring | 518 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Azure.Messaging.ServiceBus;
using NUnit.Framework;
namespace Microsoft.Azure.WebJobs.ServiceBus.UnitTests
{
... | Azure/azure-sdk-for-net | sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/tests/ServiceBusTriggerStrategyTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/tests/ServiceBusTriggerStrategyTests.cs | ghcode:00166:3d712e04991d | mit | codeparrot/github-code | 3d712e04991d02623fffa485e02b8b4040bec1beb7c163edb6103c0121921363 | 0.95 | testing_debugging_repair_refactoring | 1,839 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Zyan.Async.TestInterfaces;
namespace Zyan.Async.Tests
{
class GenericInterfaceTests
{
private void Check<T, U>(Action<IGenericInterface<T, ... | yallie/Zyan.Async | Zyan.Async.Tests/GenericInterfaceTests.cs | https://github.com/yallie/Zyan.Async/blob/HEAD/Zyan.Async.Tests/GenericInterfaceTests.cs | ghcode:00166:c2b434b6654d | mit | codeparrot/github-code | c2b434b6654d9b7d9040b835059754065ed169f8b05624c116528fb15d8663a8 | 0.75 | testing_debugging_repair_refactoring | 494 | false | 2026-07-17 |
using FluentAssertions;
using FluentAssertions.Extensions;
using Xunit;
namespace Meziantou.Framework.Tests;
public class ValueStopwatchTest
{
[Fact]
public void IsActiveIsFalseForDefaultValueStopwatch()
{
default(ValueStopwatch).IsActive.Should().BeFalse();
}
[Fact]
public void IsAct... | meziantou/Meziantou.Framework | tests/Meziantou.Framework.ValueStopwatch.Tests/ValueStopwatchTest.cs | https://github.com/meziantou/Meziantou.Framework/blob/HEAD/tests/Meziantou.Framework.ValueStopwatch.Tests/ValueStopwatchTest.cs | ghcode:00166:739c23f27949 | mit | codeparrot/github-code | 739c23f279490f0ede2301d1dad5a59286646f8279b536495880922f504fe772 | 0.75 | testing_debugging_repair_refactoring | 211 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Punku;
[TestFixture]
[Category ("Validate")]
public class Validate_PersonalIdentityNumberSweden
{
[Test]
public void IsPersonnummer01 ()
{
Assert.AreEqual (PersonalIdentityNumberSweden.IsValid ("8112189876"), true);
}
[Test]
public void IsPersonnummer02 ()
{
Asse... | martinlindhe/Punku | PunkuTests/Validate/PersonalIdentityNumberSweden.cs | https://github.com/martinlindhe/Punku/blob/HEAD/PunkuTests/Validate/PersonalIdentityNumberSweden.cs | ghcode:00166:8b8787b18d8e | mit | codeparrot/github-code | 8b8787b18d8ef100ffc008da6468ab35fc4d809f0b7ccfd00c81557e1654da05 | 0.6 | testing_debugging_repair_refactoring | 340 | false | 2026-07-17 |
using System;
using FluentAssertions;
using Xunit;
namespace InfluxDB.WriteOnly.Tests
{
public class LoginInformationTests
{
[Theory]
[InlineData(null)]
[InlineData("")]
[InlineData(" ")]
public void WhitespaceOrNullUsernameIsNotAllowed(string username)
{
... | kichristensen/InfluxDB.WriteOnly | tests/InfluxDB.WriteOnly.Tests/LoginInformationTests.cs | https://github.com/kichristensen/InfluxDB.WriteOnly/blob/HEAD/tests/InfluxDB.WriteOnly.Tests/LoginInformationTests.cs | ghcode:00166:89aa0ffb4c9d | mit | codeparrot/github-code | 89aa0ffb4c9dcfbf855a69efe7db50299be6d017570ed2d4a401d3ce8f1dbfb8 | 0.75 | testing_debugging_repair_refactoring | 145 | false | 2026-07-17 |
using Xunit;
namespace Cosmos.Encryption.NfxTests.Hash {
public class Md4Tests {
[Fact]
public void Md5_bit16() {
var signature = MD4HashingProvider.Signature("image");
Assert.Equal("0849E54FDE86FE2091E1B8FB5713BE65", signature);
}
}
} | CosmosProgramme/Cosmos.Core | Encryption/tests/Cosmos.Encryption.NfxTests/Hash/Md4Tests.cs | https://github.com/CosmosProgramme/Cosmos.Core/blob/HEAD/Encryption/tests/Cosmos.Encryption.NfxTests/Hash/Md4Tests.cs | ghcode:00166:1f31d9e39860 | mit | codeparrot/github-code | 1f31d9e39860fd5c3f28b9b1d2c61be0e96877342dd9d38ebaee07254a928620 | 0.85 | testing_debugging_repair_refactoring | 87 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using F23.PresentationModelLnL.Contracts.Repositories;
using F23.PresentationModelLnL.Domain.ReadModels;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace F23.PresentationModelLnL.Presentation.Tests
{
[TestClass]
public class CaseSheetPresentat... | IndifferentDisdain/PresentationModelLunchAndLearn | F23.PresentationModelLnL.Presentation.Tests/CaseSheetPresentationFactoryTests.cs | https://github.com/IndifferentDisdain/PresentationModelLunchAndLearn/blob/HEAD/F23.PresentationModelLnL.Presentation.Tests/CaseSheetPresentationFactoryTests.cs | ghcode:00166:34cc623ccbbd | mit | codeparrot/github-code | 34cc623ccbbd57e64c45709117c42c8e10daf9b047a2e32d86186b7f56298545 | 0.85 | testing_debugging_repair_refactoring | 298 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace SourceMax.DataAccess.Fakes {
internal class TestDbAsyncEnumerator<T> : IDbAsyncEnumerator<T> {
private readonly I... | sourcemax/SourceMax.DataAccess.Fakes | src/SourceMax.DataAccess.Fakes/TestDbAsyncEnumerator.cs | https://github.com/sourcemax/SourceMax.DataAccess.Fakes/blob/HEAD/src/SourceMax.DataAccess.Fakes/TestDbAsyncEnumerator.cs | ghcode:00166:2ec3d7c6e754 | mit | codeparrot/github-code | 2ec3d7c6e75461c2159369e39ee05fb10d86459151e03187341f7061d5bca336 | 0.75 | testing_debugging_repair_refactoring | 155 | false | 2026-07-17 |
using NUnit.Framework;
[TestFixture]
public class EmbedNet35WeavingTaskTests : BaseTaskTests
{
public EmbedNet35WeavingTaskTests()
: base(@"EmbedTestAssemblies\AssemblyToProcess\AssemblyToProcess.csproj")
{
}
} | uniquegodwin/Costura | CosturaTests/EmbedNet35WeavingTaskTests.cs | https://github.com/uniquegodwin/Costura/blob/HEAD/CosturaTests/EmbedNet35WeavingTaskTests.cs | ghcode:00166:fe5cedd3caa9 | mit | codeparrot/github-code | fe5cedd3caa932a7dc1fd7caa6a29132704e6913b6ad8424d2ae34f01aa5aa18 | 0.75 | testing_debugging_repair_refactoring | 58 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Box2D;
using Box2D.Collision;
using Box2D.Common;
using Box2D.Collision.Shapes;
using Box2D.Dynamics;
using Box2D.Dynamics.Contacts;
using Microsoft.Xna.Framework;
using CocosSharp;
using Random = CocosSharp.CCRandom;
namespace tests
{
internal class CCPhysicsS... | netonjm/CocosSharp | tests/tests/classes/tests/Box2DTest/Box2DTest.cs | https://github.com/netonjm/CocosSharp/blob/HEAD/tests/tests/classes/tests/Box2DTest/Box2DTest.cs | ghcode:00166:a0c0c80e6d5f | mit | codeparrot/github-code | a0c0c80e6d5fe175a7900ccf819192dda2f96783c9d1d4d58b8793fb69349350 | 0.95 | testing_debugging_repair_refactoring | 2,796 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SharedClassLib.Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
}
}
}
| axelnyberg/iBeaconRetail | SharedClassLib.Tests/UnitTest1.cs | https://github.com/axelnyberg/iBeaconRetail/blob/HEAD/SharedClassLib.Tests/UnitTest1.cs | ghcode:00166:e1bc930b28f8 | mit | codeparrot/github-code | e1bc930b28f8e23bf3b5b5d1fa373176f1f7bacb061808018f1e6103036962f8 | 0.6 | testing_debugging_repair_refactoring | 47 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using S22.Sasl.Mechanisms;
using S22.Sasl.Mechanisms.Ntlm;
using System;
using System.Linq;
using System.Text;
namespace S22.Sasl.Test {
/// <summary>
/// Contains unit tests for the NTLM Sasl mechanism.
/// </summary>
[TestClass]
public class NtmlTest {
/// ... | smiley22/S22.Sasl | Tests/NtlmTest.cs | https://github.com/smiley22/S22.Sasl/blob/HEAD/Tests/NtlmTest.cs | ghcode:00166:c81da40398e6 | mit | codeparrot/github-code | c81da40398e608e29a2b288b152adc8b52b730a7eb79ed013199998266f0ed27 | 0.7 | testing_debugging_repair_refactoring | 9,159 | false | 2026-07-17 |
using UnityEngine;
namespace Atlas.Test
{
public sealed class AttributesTest : MonoBehaviour
{
[SerializeField, ScenePath] private string m_scenePath;
[SerializeField, MaxValue( 1.0f )] private float m_floatMax;
[SerializeField, MinValue( 0.0f )] private float m_floatMin;
[Seri... | david-knopp/Atlas | Assets/Test/Scripts/Runtime/Demo/Utility/Attributes/AttributesTest.cs | https://github.com/david-knopp/Atlas/blob/HEAD/Assets/Test/Scripts/Runtime/Demo/Utility/Attributes/AttributesTest.cs | ghcode:00166:e8201312f9e5 | mit | codeparrot/github-code | e8201312f9e5c9737b7261e88ac8255ce0f92720799f834721992912c6050f95 | 0.85 | testing_debugging_repair_refactoring | 123 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2010 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,... | zoon/nunit-unity3d | Assets/Plugins/NUnitLite/NUnitLite-0.7.0/Internal/Commands/MaxTimeCommand.cs | https://github.com/zoon/nunit-unity3d/blob/HEAD/Assets/Plugins/NUnitLite/NUnitLite-0.7.0/Internal/Commands/MaxTimeCommand.cs | ghcode:00166:a008ff7d1dda | mit | codeparrot/github-code | a008ff7d1dda75cc786a345033afa4b1fbf2bfc5a1383a9eee5230e4cb3f3e12 | 0.85 | testing_debugging_repair_refactoring | 605 | false | 2026-07-17 |
using NUnit.Framework;
namespace RollGen.Tests.Unit
{
[TestFixture]
public class LimitsTests
{
[Test]
public void ProductLimit()
{
Assert.That(Limits.ProductOfQuantityAndDie, Is.EqualTo(int.MaxValue));
}
[Test]
public void QuantityLimit()
... | Lirusaito/RollGen | RollGen.Tests.Unit/LimitsTests.cs | https://github.com/Lirusaito/RollGen/blob/HEAD/RollGen.Tests.Unit/LimitsTests.cs | ghcode:00166:d87d7619b5ec | mit | codeparrot/github-code | d87d7619b5ec591f2a803aea4b0f996dc029cb58d02c58cb9eff3feb24583f9b | 0.75 | testing_debugging_repair_refactoring | 116 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace JPBetley.Tiny_DotNet.Test
{
[TestFixture]
public class TinyTest
{
private Tiny tiny;
[SetUp]
public void Initialize()
{
this.tiny = new Tiny("5SX0TEjkR1mLOw8Gvq2VyJxIFhgCAYidrclDWaM3so9bfzZpuUenKtP74QNH6B");
... | JPBetley/tiny-dotnet | JPBetley.Tiny-DotNet.Test/TinyTest.cs | https://github.com/JPBetley/tiny-dotnet/blob/HEAD/JPBetley.Tiny-DotNet.Test/TinyTest.cs | ghcode:00166:841872be2ab4 | mit | codeparrot/github-code | 841872be2ab47a42753679359cf8a337a0a655e06c47825fdd65535fb8bbf307 | 0.6 | testing_debugging_repair_refactoring | 237 | false | 2026-07-17 |
using NUnit.Framework;
using VkNet.Enums.SafetyEnums;
namespace VkNet.Tests.Enum.SafetyEnums
{
[TestFixture]
public class GroupTypeTest
{
[Test]
public void GetGroupType_IterateAllValues_Success()
{
Assert.That(GroupType.Page.ToString(), Is.EqualTo("page"));
Assert.T... | HarkBack/vk | VkNet.Tests/Enum/SafetyEnums/GroupTypeTest.cs | https://github.com/HarkBack/vk/blob/HEAD/VkNet.Tests/Enum/SafetyEnums/GroupTypeTest.cs | ghcode:00166:5a9e643bdfc2 | mit | codeparrot/github-code | 5a9e643bdfc2a88161b31cf76fd05ef349fd76f4b83c756cffda4334163df92d | 0.6 | testing_debugging_repair_refactoring | 113 | false | 2026-07-17 |
using Custom.BigQuery.Service;
using Google.Apis.Bigquery.v2;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CustomBigQuery.Test
{
... | M3LiNdRu/BigQuery.Net.Service | CustomBigQuery.Test/UnitTestQuery.cs | https://github.com/M3LiNdRu/BigQuery.Net.Service/blob/HEAD/CustomBigQuery.Test/UnitTestQuery.cs | ghcode:00166:5bb66630888f | mit | codeparrot/github-code | 5bb66630888f62323638404a34988b8f0a71524c4d5c21ca49d5c0492d6a8ddd | 0.6 | testing_debugging_repair_refactoring | 280 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using System.Text;
using LibGit2Sharp.Tests.TestHelpers;
using Xunit;
using Xunit.Extensions;
namespace LibGit2Sharp.Tests
{
public class ObjectDatabaseFixture : BaseFixture
{
[Theory]
[InlineData("8496071c1b46c854b31185ea97743be6a8774479", tru... | paulgmiller/libgit2sharp | LibGit2Sharp.Tests/ObjectDatabaseFixture.cs | https://github.com/paulgmiller/libgit2sharp/blob/HEAD/LibGit2Sharp.Tests/ObjectDatabaseFixture.cs | ghcode:00166:e1a7a6f5b592 | mit | codeparrot/github-code | e1a7a6f5b592d25d64dc91f88eb61aef87796251da87ca9a653ec649ac191f61 | 0.7 | testing_debugging_repair_refactoring | 4,651 | false | 2026-07-17 |
using Moq;
using Xunit;
namespace Stashbox.Tests.IssueTests
{
public class ComposeByWithInstanceOrInjection
{
[Fact]
public void ComposeByWithInstance()
{
var mock = new Mock<ICompositionRoot>();
var container = new StashboxContainer().ComposeBy(mock.Object);
... | z4kn4fein/stashbox | test/IssueTests/53_ComposeBy_with_instance_or_injection.cs | https://github.com/z4kn4fein/stashbox/blob/HEAD/test/IssueTests/53_ComposeBy_with_instance_or_injection.cs | ghcode:00166:c06b021d4bdc | mit | codeparrot/github-code | c06b021d4bdc4ffacb598ebe6d3f2af79a6b958a82659f81863c1b51b69e02bc | 0.75 | testing_debugging_repair_refactoring | 426 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MD5ZipFolderCheck;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO.Compression;
using System.IO;
using System.Security.Cryptography;
namespace MD5ZipFolderCheck.Tests
{
[Tes... | Octoate/Md5ZipFolderCheck | MD5ZipFolderCheckTests/Md5ComparisonTests.cs | https://github.com/Octoate/Md5ZipFolderCheck/blob/HEAD/MD5ZipFolderCheckTests/Md5ComparisonTests.cs | ghcode:00166:91b9eda8767d | mit | codeparrot/github-code | 91b9eda8767dd21007a82e8af6d1a8c4ce924ac76d25baee57ed3674e706b58a | 0.75 | testing_debugging_repair_refactoring | 1,524 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using Analyzer.Utilities.Extensions;
using Anal... | mavasani/roslyn-analyzers | src/Utilities/FlowAnalysis/FlowAnalysis/Analysis/PropertySetAnalysis/PropertySetAnalysis.cs | https://github.com/mavasani/roslyn-analyzers/blob/HEAD/src/Utilities/FlowAnalysis/FlowAnalysis/Analysis/PropertySetAnalysis/PropertySetAnalysis.cs | ghcode:00166:8a59afa7d2e6 | apache-2.0 | codeparrot/github-code | 8a59afa7d2e69bc5727ca27b705ba79561b5ecb92131cd6297739db20c83e54d | 0.85 | testing_debugging_repair_refactoring | 3,154 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StackExchange.Redis;
using System.Threading;
using System.Diagnostics;
namespace Features.Test
{
class TestFloatsInts
{
private static ConnectionMultiplexer Redis = ... | Jens-G/Redis-Samples | Features/Test/TestFloatsInts.cs | https://github.com/Jens-G/Redis-Samples/blob/HEAD/Features/Test/TestFloatsInts.cs | ghcode:00166:fc462fe55bc5 | apache-2.0 | codeparrot/github-code | fc462fe55bc535edd5ce645b5bad0e8561508be2d448c6478da3b7014c99e6b1 | 0.85 | testing_debugging_repair_refactoring | 366 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Messaging.EventHubs.Consumer;
using Azure.Messaging.EventHubs.Cor... | markcowl/azure-sdk-for-net | sdk/eventhub/Azure.Messaging.EventHubs/tests/Primitives/PartitionReceiverTests.cs | https://github.com/markcowl/azure-sdk-for-net/blob/HEAD/sdk/eventhub/Azure.Messaging.EventHubs/tests/Primitives/PartitionReceiverTests.cs | ghcode:00166:ab74579830b4 | apache-2.0 | codeparrot/github-code | ab74579830b4302b6f6c82c79dcc8db8d6b490b962ed4d1a3f9bf78e782776db | 0.82 | testing_debugging_repair_refactoring | 12,158 | false | 2026-07-17 |
/********************************************************************************************
Copyright (c) Microsoft Corporation
All rights reserved.
Microsoft Public License:
This license governs use of the accompanying software. If you use the software, you
accept this license. If you do not accept th... | YaccConstructor/VisualFStar | src/MPFProj12/Dev12/Tests/UnitTests/TokenProcessorTest.cs | https://github.com/YaccConstructor/VisualFStar/blob/HEAD/src/MPFProj12/Dev12/Tests/UnitTests/TokenProcessorTest.cs | ghcode:00166:8ec8f95c63ad | apache-2.0 | codeparrot/github-code | 8ec8f95c63ad8d079a117edda4daa82e986d74f2d4c926486c6cf6b82de79d1e | 0.95 | testing_debugging_repair_refactoring | 1,307 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework.Interfaces;
using UnityEditor.TestTools.TestRunner.Api;
using UnityEngine.TestRunner.TestLaunchers;
using UnityEngine.TestTools;
namespace UnityEditor.TestTools.TestRunner
{
internal class TestListCache : ITestListCache
{
private readonly ITestAda... | IanFMartin/Character-Creator | Character creator/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Utils/TestListCache.cs | https://github.com/IanFMartin/Character-Creator/blob/HEAD/Character creator/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Utils/TestListCache.cs | ghcode:00166:9c007ee303dc | apache-2.0 | codeparrot/github-code | 9c007ee303dc0de62d5d20c051b039e18aa852ff5f63bb0a87856b60ce526036 | 0.75 | testing_debugging_repair_refactoring | 421 | false | 2026-07-17 |
using MeTLLib.DataTypes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Divelements.SandRibbon;
namespace MeTLLibTests
{
/// <summary>
///This is a test class for QuizContainerTest and is intended
///to contain all QuizContainerTest Unit Tests
///</summar... | StackableRegiments/metl2011 | MeTLMeeting/MeTLLibTests/QuizContainerTest.cs | https://github.com/StackableRegiments/metl2011/blob/HEAD/MeTLMeeting/MeTLLibTests/QuizContainerTest.cs | ghcode:00166:724c88554601 | apache-2.0 | codeparrot/github-code | 724c885546019cd98dce7026cec1d73b87d4771728212af14fe8a784bb38abf3 | 0.85 | testing_debugging_repair_refactoring | 592 | false | 2026-07-17 |
//
// LogTest.cs
//
// Author:
// Jim Borden <jim.borden@couchbase.com>
//
// Copyright (c) 2016 Couchbase, 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
//
... | brettharrisonzya/couchbase-lite-net | src/Couchbase.Lite.Tests.Shared/LogTest.cs | https://github.com/brettharrisonzya/couchbase-lite-net/blob/HEAD/src/Couchbase.Lite.Tests.Shared/LogTest.cs | ghcode:00166:57d1f114b57a | apache-2.0 | codeparrot/github-code | 57d1f114b57aed120218d9c4a6e190623d4cc6a431a6f562daf1dc13ef0e789c | 0.85 | testing_debugging_repair_refactoring | 1,887 | false | 2026-07-17 |
// <copyright file="TestExecutionEventArgs.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.apac... | angelovstanton/AutomateThePlanet | dotnet/Design-Architecture-Series/ObserverDesignPatternEventsDelegates/TestExecutionEventArgs.cs | https://github.com/angelovstanton/AutomateThePlanet/blob/HEAD/dotnet/Design-Architecture-Series/ObserverDesignPatternEventsDelegates/TestExecutionEventArgs.cs | ghcode:00166:4d4adb535a5a | apache-2.0 | codeparrot/github-code | 4d4adb535a5a0e87afde40aab221b634904b0beca9aa2df23694dfd88e7418f0 | 0.85 | testing_debugging_repair_refactoring | 311 | false | 2026-07-17 |
// <copyright file="CategoryPage.Assert.cs" company="Automate The Planet Ltd.">
// Copyright 2017 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.apache.... | angelovstanton/AutomateThePlanet | dotnet/Conferences/AutomationTestDay/1. Facades/Pages/CategoryPage/CategoryPage.Assert.cs | https://github.com/angelovstanton/AutomateThePlanet/blob/HEAD/dotnet/Conferences/AutomationTestDay/1. Facades/Pages/CategoryPage/CategoryPage.Assert.cs | ghcode:00166:a805190507fe | apache-2.0 | codeparrot/github-code | a805190507fe4c13d7927d6cf33e5635424c2de4ff1aa727bb8a7dae1a58f798 | 0.85 | testing_debugging_repair_refactoring | 253 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Integer.Domain.Agenda;
using Integer.Domain.Paroquia;
using Integer.Infrastructure.Validation;
using DbC;
using Rhino.Mocks;
using Xunit;
namespace Integer.UnitTests.Domain.Agenda
{
public class Reserva_Nova_Validacoes
... | integercal/integer | src/Test/Domain/Agenda/Reserva_Nova_Validacoes.cs | https://github.com/integercal/integer/blob/HEAD/src/Test/Domain/Agenda/Reserva_Nova_Validacoes.cs | ghcode:00166:2779dd73b23b | apache-2.0 | codeparrot/github-code | 2779dd73b23bb3c950f9b3c07c1202770436ea658874f57d0911b217e902ed6b | 0.85 | testing_debugging_repair_refactoring | 166 | false | 2026-07-17 |
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | ctaggart/google-cloud-dotnet | apis/Google.Storage.V1/Google.Storage.V1.IntegrationTests/CopyObjectTest.cs | https://github.com/ctaggart/google-cloud-dotnet/blob/HEAD/apis/Google.Storage.V1/Google.Storage.V1.IntegrationTests/CopyObjectTest.cs | ghcode:00166:182c550178d7 | apache-2.0 | codeparrot/github-code | 182c550178d7a82b422851738ce8ba50ae365272c911156b970d8672a9ba0e15 | 0.7 | testing_debugging_repair_refactoring | 554 | false | 2026-07-17 |
//
// Copyright (C) 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 applicable la... | datastax/csharp-driver | src/Cassandra.Tests/DataStax/Insights/InsightsClientTests.cs | https://github.com/datastax/csharp-driver/blob/HEAD/src/Cassandra.Tests/DataStax/Insights/InsightsClientTests.cs | ghcode:00166:44e83f763cb5 | apache-2.0 | codeparrot/github-code | 44e83f763cb5a06a83b6c51097388a1df1fad7e79a06f82ee84826f66870c1a0 | 0.85 | testing_debugging_repair_refactoring | 6,061 | 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 Y... | Neuzilla/NStorage | NStorage.Test/Utility/TestLittleEndianStreams.cs | https://github.com/Neuzilla/NStorage/blob/HEAD/NStorage.Test/Utility/TestLittleEndianStreams.cs | ghcode:00166:ce34552ffeeb | apache-2.0 | codeparrot/github-code | ce34552ffeeb35d91db1ca4824905cdb68d1dbeeeea4cfc456e4d3e6a6e8ba28 | 0.85 | testing_debugging_repair_refactoring | 851 | 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 System.Threading.Tasks;
using Microsoft.CodeAnal... | mavasani/roslyn-analyzers | src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Performance/UsePropertyInsteadOfCountMethodWhenAvailableTests.cs | https://github.com/mavasani/roslyn-analyzers/blob/HEAD/src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Performance/UsePropertyInsteadOfCountMethodWhenAvailableTests.cs | ghcode:00166:7bd26d64c55b | apache-2.0 | codeparrot/github-code | 7bd26d64c55beef7059e657cf6c987af9b8ded503fdfbc12bcbf8630b613a549 | 0.85 | testing_debugging_repair_refactoring | 6,979 | false | 2026-07-17 |
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using Xunit;
namespace Moq.Tests
{
public class MockedEventsFixture
{
... | ocoanet/moq4 | tests/Moq.Tests/MockedEventsFixture.cs | https://github.com/ocoanet/moq4/blob/HEAD/tests/Moq.Tests/MockedEventsFixture.cs | ghcode:00166:1252113a7b1c | bsd-3-clause | codeparrot/github-code | 1252113a7b1ca30bc0e02335644aa2e7cccf724acf1c0f0a672814c4e7180389 | 0.7 | testing_debugging_repair_refactoring | 5,494 | false | 2026-07-17 |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// 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 ... | alaendle/rhino-mocks | Rhino.Mocks.Tests/Expectations/AnyArgsExpectationTests.cs | https://github.com/alaendle/rhino-mocks/blob/HEAD/Rhino.Mocks.Tests/Expectations/AnyArgsExpectationTests.cs | ghcode:00166:66932b46ad30 | bsd-3-clause | codeparrot/github-code | 66932b46ad30d5427f3e2be7e07c0670fd3d6cdafc57d4e5d022273166f32e02 | 0.85 | testing_debugging_repair_refactoring | 884 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2014-2017, Institute for Software & Systems Engineering
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including wi... | maul-esel/ssharp | SafetySharpTests/Analysis/Invariants/Violated/multiple choices 2.cs | https://github.com/maul-esel/ssharp/blob/HEAD/SafetySharpTests/Analysis/Invariants/Violated/multiple choices 2.cs | ghcode:00166:66f76557d176 | mit | codeparrot/github-code | 66f76557d176960e91e1a391c4060f46637e2579b700b8eb6f08e43c1b55001e | 0.85 | testing_debugging_repair_refactoring | 441 | false | 2026-07-17 |
using System;
using Xunit;
namespace LionFire.Core.Tests
{
public class UnitTest1
{
[Fact]
public void Test1()
{
}
}
}
| jaredthirsk/Core | src/LionFire.Core.Tests/UnitTest1.cs | https://github.com/jaredthirsk/Core/blob/HEAD/src/LionFire.Core.Tests/UnitTest1.cs | ghcode:00166:85254842c217 | mit | codeparrot/github-code | 85254842c2174cc2a02ec7efcf9edfb89876b238477cfa8e4968808cafef080e | 0.5 | testing_debugging_repair_refactoring | 39 | false | 2026-07-17 |
using System;
namespace FunctionalTests.MVC.Tests.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} | pharring/ApplicationInsights-dotnet | NETCORE/test/FunctionalTests.MVC.Tests/Models/ErrorViewModel.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/NETCORE/test/FunctionalTests.MVC.Tests/Models/ErrorViewModel.cs | ghcode:00166:899ea16aa8ca | mit | codeparrot/github-code | 899ea16aa8cadb73ad6ca9367c9712368a622e0b8b42989ea2d52046b4d6d2e9 | 0.85 | testing_debugging_repair_refactoring | 46 | false | 2026-07-17 |
using Cake.Core.IO;
namespace Cake.Common.Tools.XUnit
{
/// <summary>
/// Contains settings used by <see cref="XUnit2Runner"/>.
/// </summary>
public sealed class XUnit2Settings
{
/// <summary>
/// Gets or sets a value indicating whether tests should be run as a shadow copy.
... | wallymathieu/cake | src/Cake.Common/Tools/XUnit/XUnit2Settings.cs | https://github.com/wallymathieu/cake/blob/HEAD/src/Cake.Common/Tools/XUnit/XUnit2Settings.cs | ghcode:00166:f80786c8781d | mit | codeparrot/github-code | f80786c8781db7f4f1d3dc803d52150a4580c562021215866b733969285dd9b7 | 0.85 | testing_debugging_repair_refactoring | 533 | false | 2026-07-17 |
using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Testing;
using Shouldly;
using Xunit;
namespace AbpAspNetCoreDemo.IntegrationTests.Tests
{
public class RazorUowPageFilterTests : IClassFixture<WebApplicationFactory<Startup>>
{
private ... | andmattia/aspnetboilerplate | test/aspnet-core-demo/AbpAspNetCoreDemo.Tests/Tests/RazorUowPageFilterTests.cs | https://github.com/andmattia/aspnetboilerplate/blob/HEAD/test/aspnet-core-demo/AbpAspNetCoreDemo.Tests/Tests/RazorUowPageFilterTests.cs | ghcode:00166:81851ce0f783 | mit | codeparrot/github-code | 81851ce0f7835f43027225b27a9a346bb58987adb472bfcd9aef87052a0f510e | 0.95 | testing_debugging_repair_refactoring | 385 | false | 2026-07-17 |
using System.Linq;
using Melanchall.DryWetMidi.Composing;
using Melanchall.DryWetMidi.MusicTheory;
using NUnit.Framework;
namespace Melanchall.DryWetMidi.Tests.Composing
{
[TestFixture]
public sealed partial class PatternUtilitiesTests
{
#region Test methods
[Test]
public void Spl... | melanchall/drymidi | DryWetMidi.Tests/Composing/PatternUtilities/PatternUtilitiesTests.SplitAtMarker.cs | https://github.com/melanchall/drymidi/blob/HEAD/DryWetMidi.Tests/Composing/PatternUtilities/PatternUtilitiesTests.SplitAtMarker.cs | ghcode:00166:fbeeb20f88bc | mit | codeparrot/github-code | fbeeb20f88bc3c16a42eb9808ee5ee480dd470092dfd5719e404bf20f9cfedc6 | 0.75 | testing_debugging_repair_refactoring | 1,102 | 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.Diagnostics;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mania.Objects.Drawables
{
/// <summary>
/// ... | UselessToucan/osu | osu.Game.Rulesets.Mania/Objects/Drawables/DrawableHoldNoteTail.cs | https://github.com/UselessToucan/osu/blob/HEAD/osu.Game.Rulesets.Mania/Objects/Drawables/DrawableHoldNoteTail.cs | ghcode:00166:5389fecdee9f | mit | codeparrot/github-code | 5389fecdee9fd33964a587eea10b0d94e3538d2bb128f83a39c555b50c238199 | 0.85 | testing_debugging_repair_refactoring | 531 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using EasyNetQ.AutoSubscribe;
using EasyNetQ.Tests.Mocking;
using Xunit;
using NSubstitute;
using System.Linq;
using System.Reflection;
using FluentAssertions;
namespace EasyNetQ.Tests.AutoSubscriberTests
{
public class When_autosubscribing_with_assembly_scanning : I... | ar7z1/EasyNetQ | Source/EasyNetQ.Tests/AutoSubscriberTests/When_autosubscribing_with_assembly_scanning.cs | https://github.com/ar7z1/EasyNetQ/blob/HEAD/Source/EasyNetQ.Tests/AutoSubscriberTests/When_autosubscribing_with_assembly_scanning.cs | ghcode:00166:53768bc9a426 | mit | codeparrot/github-code | 53768bc9a42673b15fbd1385245abac6695f66ff822eec1de1a2817b5c12ed8f | 0.75 | testing_debugging_repair_refactoring | 653 | false | 2026-07-17 |
/*
Copyright (c) 2014 Antmicro <www.antmicro.com>
Authors:
* Konrad Kruczynski (kkruczynski@antmicro.com)
* Piotr Zierhoffer (pzierhoffer@antmicro.com)
* Mateusz Holenko (mholenko@antmicro.com)
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associat... | modulexcite/Migrant | PerformanceTester/TestType.cs | https://github.com/modulexcite/Migrant/blob/HEAD/PerformanceTester/TestType.cs | ghcode:00166:01395635f593 | mit | codeparrot/github-code | 01395635f5934f87bb257af990760bb93da2bb84780d9dc5ac6b616cde78755e | 0.75 | testing_debugging_repair_refactoring | 323 | false | 2026-07-17 |
using UnityEngine;
using System.Collections;
[RequireComponent(typeof(MMT.MobileMovieTexture))]
public class TestMobileTexture : MonoBehaviour
{
private MMT.MobileMovieTexture m_movieTexture;
void Awake()
{
m_movieTexture = GetComponent<MMT.MobileMovieTexture>();
m_movieTexture.onFinish... | li6834300/360_video | Assets/MobileMovieTexture/TestMobileTexture.cs | https://github.com/li6834300/360_video/blob/HEAD/Assets/MobileMovieTexture/TestMobileTexture.cs | ghcode:00166:72f650306576 | mit | codeparrot/github-code | 72f650306576a68f3ff3ba5c205f5aac2982ffc40f36f56ea8b68dcbd3378ca1 | 0.75 | testing_debugging_repair_refactoring | 321 | false | 2026-07-17 |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using Microsoft.Extensions.PlatformAbstractions;
using System.IO;
using System.Security.Cryptography.X509Certificates;
namespace IdentityServ... | siyo-wang/IdentityServer4 | test/IdentityServer.IntegrationTests/Common/TestCert.cs | https://github.com/siyo-wang/IdentityServer4/blob/HEAD/test/IdentityServer.IntegrationTests/Common/TestCert.cs | ghcode:00166:e2647f69f750 | apache-2.0 | codeparrot/github-code | e2647f69f750fd677b94577c3fba7852d40149c3a5e1abd75a87437bc173588f | 0.75 | testing_debugging_repair_refactoring | 136 | false | 2026-07-17 |
using Lucene.Net.Analysis.Core;
using NUnit.Framework;
namespace Lucene.Net.Analysis.It
{
/*
* 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 owners... | jeme/lucenenet | src/Lucene.Net.Tests.Analysis.Common/Analysis/It/TestItalianLightStemFilter.cs | https://github.com/jeme/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Analysis.Common/Analysis/It/TestItalianLightStemFilter.cs | ghcode:00166:0258068fe9a0 | apache-2.0 | codeparrot/github-code | 0258068fe9a0d9123b3aedccdead9a86ae683f8e8d4d6c5f8d684816afb620da | 0.85 | testing_debugging_repair_refactoring | 486 | 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.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Extens... | nguerrera/roslyn | src/Features/CSharp/Portable/EditAndContinue/SyntaxUtilities.cs | https://github.com/nguerrera/roslyn/blob/HEAD/src/Features/CSharp/Portable/EditAndContinue/SyntaxUtilities.cs | ghcode:00166:c753c9eed817 | apache-2.0 | codeparrot/github-code | c753c9eed817b57ee415b47b47399bcc1d410d2a60c8a545c7f8b11eacd8aeb4 | 0.85 | testing_debugging_repair_refactoring | 2,099 | false | 2026-07-17 |
#region LGPL License
/*
Axiom Graphics Engine Library
Copyright © 2003-2011 Axiom Project Team
The overall design, and a majority of the core engine and rendering code
contained within this library is a derivative of the open source Object Oriented
Graphics Engine OGRE, which can be found at http://ogre.sourceforge.n... | objuan/picodex | src/Picodex.Unity/Axiom/Core/Viewport.cs | https://github.com/objuan/picodex/blob/HEAD/src/Picodex.Unity/Axiom/Core/Viewport.cs | ghcode:00166:676e71b9e144 | apache-2.0 | codeparrot/github-code | 676e71b9e144ee82e2d810ae71301ff8289c3c90739edad5c981536397eb766e | 0.85 | testing_debugging_repair_refactoring | 5,036 | false | 2026-07-17 |
using NUnit.Framework;
namespace DotLiquid.Tests.Tags
{
[TestFixture]
public class RawTests
{
[Test]
public void TestTagInRaw ()
{
Helper.AssertTemplateResult ("{% comment %} test {% endcomment %}",
"{% raw %}{% comment %} test {% endcomment %}{% endraw %... | lunet-io/scriban | src/Scriban.Tests/LiquidTests/RawTests.cs | https://github.com/lunet-io/scriban/blob/HEAD/src/Scriban.Tests/LiquidTests/RawTests.cs | ghcode:00166:ffff10d6f78a | bsd-2-clause | codeparrot/github-code | ffff10d6f78a6c99bbc0d23ec7e55d3ea1e06464c2497491c2c4cc1f923f3877 | 0.68 | testing_debugging_repair_refactoring | 167 | false | 2026-07-17 |
using NUnit.Framework;
namespace UnitTests.TiffCP
{
[TestFixture]
public class Jpeg
{
private static string[] Files
{
get
{
return new string[]
{
"tiger-minisblack-strip-08.tif",
"... | nagyistoce/libtiff.net | UnitTests/TiffCP/Jpeg.cs | https://github.com/nagyistoce/libtiff.net/blob/HEAD/UnitTests/TiffCP/Jpeg.cs | ghcode:00166:352f9ece2bbb | bsd-3-clause | codeparrot/github-code | 352f9ece2bbb37fd29f3a9aa1d4c064a16bc48e508f63712310a1e8aeeceadec | 0.6 | testing_debugging_repair_refactoring | 250 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Xml.Linq;
using GSoft.Dynamite.Fields;
using GSoft.Dynamite.Fields.Types;
using GSoft.Dynamite.Globalization;
using GSoft.Dynamite.ServiceLocator;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace GSoft.Dynamite.UnitTests.Fields
{
/// <summa... | NunoEdgarGub1/Dynamite | Source/GSoft.Dynamite.UnitTests/Fields/TextFieldInfoTest.cs | https://github.com/NunoEdgarGub1/Dynamite/blob/HEAD/Source/GSoft.Dynamite.UnitTests/Fields/TextFieldInfoTest.cs | ghcode:00166:6c4dfeb6f1b5 | mit | codeparrot/github-code | 6c4dfeb6f1b522d8b4c645dd61d7eac1992e054e47594fffdda44b56d3d5000e | 0.7 | testing_debugging_repair_refactoring | 780 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
using Azure.Search.Documents.Indexes;
using Azure.Search.Documents.Indexes.Models;
#if EXPERIMENTAL_SPATIAL
using Azure.Core.GeoJson;
#e... | brjohnstmsft/azure-sdk-for-net | sdk/search/Azure.Search.Documents/tests/Models/ReflectableModel.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/search/Azure.Search.Documents/tests/Models/ReflectableModel.cs | ghcode:00166:101a19f0f01a | mit | codeparrot/github-code | 101a19f0f01ad6c1a57bd8ea4146f183faf6cfd7366fc00c3f3638c6f315b3b0 | 0.95 | testing_debugging_repair_refactoring | 1,570 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using Algorithms.Strings;
namespace C_Sharp_Algorithms.AlgorithmsTests
{
public static class StringPermutationTests
{
public static void DoTest()
{
var alphabets = "abcdefg";
var permutations = Permutations.ComputeDistinct(alpha... | VShangxiao/C-Sharp-Algorithms | MainProgram/AlgorithmsTests/StringPermutationTests.cs | https://github.com/VShangxiao/C-Sharp-Algorithms/blob/HEAD/MainProgram/AlgorithmsTests/StringPermutationTests.cs | ghcode:00166:ce3289d95a04 | mit | codeparrot/github-code | ce3289d95a04443e7e23556a61aac5e1d9235611b8a4e2d012edf66e54d461a2 | 0.85 | testing_debugging_repair_refactoring | 308 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using CommonServiceLocator;
using Moroco;
namespace SolrNet.Tests.Mocks {
public class MServiceLocator : IServiceLocator {
public MFunc<Type, object> getService;
public static MFunc<Type, object> Table(IDictionary<Type, object> services) {
... | mausch/SolrNet | SolrNet.Tests.Common/Mocks/MServiceLocator.cs | https://github.com/mausch/SolrNet/blob/HEAD/SolrNet.Tests.Common/Mocks/MServiceLocator.cs | ghcode:00166:99ca1ee9dbde | apache-2.0 | codeparrot/github-code | 99ca1ee9dbdedfb964f55aca9a82bb9a5b6fdcf5ef1cf417564b3254f0d54b2a | 0.75 | testing_debugging_repair_refactoring | 286 | false | 2026-07-17 |
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// 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, co... | broderickhyman/InnovatorAdmin | ICSharpCode.AvalonEdit/Document/UndoStack.cs | https://github.com/broderickhyman/InnovatorAdmin/blob/HEAD/ICSharpCode.AvalonEdit/Document/UndoStack.cs | ghcode:00166:349cc96f9308 | mit | codeparrot/github-code | 349cc96f93085f8c26131c3cdad78066d551bf0285dc0cd19b33f67aa4c6bea5 | 0.85 | testing_debugging_repair_refactoring | 3,783 | 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 ... | jpsullivan/lucenenet | src/Lucene.Net.Tests/core/Util/TestLongBitSet.cs | https://github.com/jpsullivan/lucenenet/blob/HEAD/src/Lucene.Net.Tests/core/Util/TestLongBitSet.cs | ghcode:00166:12d08bb71859 | apache-2.0 | codeparrot/github-code | 12d08bb71859d99e9337f8cee25e9b28465073af0e6ace2c9ade434efa571015 | 0.85 | testing_debugging_repair_refactoring | 3,502 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
public delegate byte ModDele(sbyte p1, ref string p2);
public enum ModEnum : ulong
{
None = 0, Red = 255, White = 255255, Blue=1
}
public interface ModIBase
{
object ReadOnlyProp { get; }
object M(ref object p1, out object p2, params object[] ary);
}
name... | arnononline/corefx | src/System.Reflection.Metadata/tests/Resources/NetModule/ModuleCS00.cs | https://github.com/arnononline/corefx/blob/HEAD/src/System.Reflection.Metadata/tests/Resources/NetModule/ModuleCS00.cs | ghcode:00166:7ab10c100434 | mit | codeparrot/github-code | 7ab10c10043401de64059f4ae9b73136491fe0783c776ab3dc1acd0e68f27a0f | 0.85 | testing_debugging_repair_refactoring | 289 | 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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Timing;
using osu.Game.Beatmaps;
using osu.Game.Beatmap... | UselessToucan/osu | osu.Game.Rulesets.Catch.Tests/TestSceneFruitObjects.cs | https://github.com/UselessToucan/osu/blob/HEAD/osu.Game.Rulesets.Catch.Tests/TestSceneFruitObjects.cs | ghcode:00166:5bf58e5f8c02 | mit | codeparrot/github-code | 5bf58e5f8c0248414bd40652ee551726b3e8344b142c5c8ff14e9fb2f4c56e74 | 0.75 | testing_debugging_repair_refactoring | 771 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using NUnit.Framework;
namespace WebApiContribTests.Helpers
{
[TestFixture]
public class DeepComparerTests
{
[Test]
public void TestNulls()
{
Assert.AreEqual(0, DeepComparer.Compa... | TerraVenil/WebAPIContrib | test/WebApiContribTests/Helpers/DeepComparerTests.cs | https://github.com/TerraVenil/WebAPIContrib/blob/HEAD/test/WebApiContribTests/Helpers/DeepComparerTests.cs | ghcode:00166:19869aa795e3 | mit | codeparrot/github-code | 19869aa795e3ac18e7cc24e71c80863406c29a52c17ae39dff9107484ccdc798 | 0.75 | testing_debugging_repair_refactoring | 471 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics;
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Text.Formatting;
using Xunit;
[assembly: CollectionBehavior(... | jamesqo/corefxlab | src/System.Text.Formatting/tests/PerformanceTests.cs | https://github.com/jamesqo/corefxlab/blob/HEAD/src/System.Text.Formatting/tests/PerformanceTests.cs | ghcode:00166:7a3830bda892 | mit | codeparrot/github-code | 7a3830bda892858c91021e03120036175f4f778c085528bccb9c5173e09d8c64 | 0.85 | testing_debugging_repair_refactoring | 1,935 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2009 Charlie Poole, Rob Prouse
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restr... | ggeurts/nunit | src/NUnitFramework/tests/Syntax/CollectionTests.cs | https://github.com/ggeurts/nunit/blob/HEAD/src/NUnitFramework/tests/Syntax/CollectionTests.cs | ghcode:00166:b8b9d74e54f1 | mit | codeparrot/github-code | b8b9d74e54f11b3b585e96e3a02e6d0faf85e2d16ecd60795bb32d8893a665b4 | 0.95 | testing_debugging_repair_refactoring | 1,113 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Palaso.UI.WindowsForms.WritingSystems;
using Palaso.WritingSystems;
namespace PalasoUIWindowsForms.Tests.WritingSystems
{
[TestFixture, Ignore("Not Yet")]
public class WritingSystemTreeItemTests
{
... | darcywong00/libpalaso | PalasoUIWindowsForms.Tests/WritingSystems/Tree/WritingSystemTreeItemTests.cs | https://github.com/darcywong00/libpalaso/blob/HEAD/PalasoUIWindowsForms.Tests/WritingSystems/Tree/WritingSystemTreeItemTests.cs | ghcode:00166:e8fb9e942470 | mit | codeparrot/github-code | e8fb9e9424704c0d06d6707f3bb50ce4e6ad6dcf61a966f64e86de596d11b216 | 0.75 | testing_debugging_repair_refactoring | 154 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;
using System.Threading;
using NUnit.Framework;
using Microsoft.Build.BuildE... | nikson/msbuild | src/OrcasEngine/UnitTests/DualQueue_Tests.cs | https://github.com/nikson/msbuild/blob/HEAD/src/OrcasEngine/UnitTests/DualQueue_Tests.cs | ghcode:00166:279a819adf65 | mit | codeparrot/github-code | 279a819adf651ed20cc08170e71a0760f8c932a064cc61358d2816eb893b5601 | 0.85 | testing_debugging_repair_refactoring | 1,005 | 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.Diagnostics;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CodeGen
{
/// <summary>
/// Unique identification o... | amcasey/roslyn | src/Compilers/Core/Portable/CodeGen/DebugId.cs | https://github.com/amcasey/roslyn/blob/HEAD/src/Compilers/Core/Portable/CodeGen/DebugId.cs | ghcode:00166:87bb5993a307 | apache-2.0 | codeparrot/github-code | 87bb5993a3078a2c20d219e429f74ecf7cb19fe023c709ba197ab1bf3cc3337f | 0.85 | testing_debugging_repair_refactoring | 407 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
// using ApiManagement.Management.Tests;
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using ApiManagement... | yugangw-msft/azure-sdk-for-net | sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/tests/ManagementApiTests/ApiRevisionTests.cs | https://github.com/yugangw-msft/azure-sdk-for-net/blob/HEAD/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/tests/ManagementApiTests/ApiRevisionTests.cs | ghcode:00166:6b7c0aa29c1d | apache-2.0 | codeparrot/github-code | 6b7c0aa29c1d507fd0464adbc32043b7a7dd0b1b62439c2b4fcbcaa7572accfd | 0.95 | testing_debugging_repair_refactoring | 2,304 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using NUnit.Framework;
namespace Tesseract.Tests
{
[TestFixture]
public class BaseApiTests
{
[Test,
Ignore("GetVersion doesn't work for x64, probably compilation related.")]
public void GetVersion_Is302()
{
var version = Interop.TessApi.Native.GetVersi... | anshul1912/tesseract-1 | src/Tesseract.Tests/BaseApiTests.cs | https://github.com/anshul1912/tesseract-1/blob/HEAD/src/Tesseract.Tests/BaseApiTests.cs | ghcode:00166:4ba7a1a09246 | apache-2.0 | codeparrot/github-code | 4ba7a1a09246601a6914b4cf33941eef9895d255e141395db3889aadd712a76f | 0.75 | testing_debugging_repair_refactoring | 97 | 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.Diagnostics;
using System.Linq;
namespace System.Net.NetworkInformation
{
internal abstract class UnixNetworkInterfa... | Yanjing123/corefx | src/System.Net.NetworkInformation/src/System/Net/NetworkInformation/UnixNetworkInterface.cs | https://github.com/Yanjing123/corefx/blob/HEAD/src/System.Net.NetworkInformation/src/System/Net/NetworkInformation/UnixNetworkInterface.cs | ghcode:00166:ae8d2e993aa9 | mit | codeparrot/github-code | ae8d2e993aa91eeba85545a856271cfe6134eee4cb01998474a1a6f3c90950ff | 0.95 | testing_debugging_repair_refactoring | 778 | 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.Xunit.Performance;
using System;
using System.Linq;
using System.Runtime.CompilerServices;
using Sys... | roncain/coreclr | tests/src/JIT/Performance/CodeQuality/Inlining/ConstantArgsByte.cs | https://github.com/roncain/coreclr/blob/HEAD/tests/src/JIT/Performance/CodeQuality/Inlining/ConstantArgsByte.cs | ghcode:00166:4834a2f422d0 | mit | codeparrot/github-code | 4834a2f422d02bf89d25fd5383f71e4f3f4821097e3cd9b37bfa5f79703ad3c3 | 0.95 | testing_debugging_repair_refactoring | 5,618 | 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.Net.Sockets;
using System.Net.Test.Common;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abst... | tijoytom/corefx | src/System.Net.NetworkInformation/tests/FunctionalTests/NetworkInterfaceIPv4Statistics.cs | https://github.com/tijoytom/corefx/blob/HEAD/src/System.Net.NetworkInformation/tests/FunctionalTests/NetworkInterfaceIPv4Statistics.cs | ghcode:00166:0e39b6374055 | mit | codeparrot/github-code | 0e39b6374055432df96bacb349dae9a76e1bb93cb31003d557794db8d262aa9d | 0.95 | testing_debugging_repair_refactoring | 1,121 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using Xunit;
namespace System.Linq.Tests.LegacyTests
{
public class WhereTests
{
public class Where003
... | dkorolev/corefx | src/System.Linq/tests/LegacyTests/WhereTests.cs | https://github.com/dkorolev/corefx/blob/HEAD/src/System.Linq/tests/LegacyTests/WhereTests.cs | ghcode:00166:2d9820edb253 | mit | codeparrot/github-code | 2d9820edb2531b62969ad4d8df260f953ca1cfcbea4d4a2b473ed0d322602b88 | 0.95 | testing_debugging_repair_refactoring | 3,088 | false | 2026-07-17 |
using System;
using System.IO;
using System.Threading.Tasks;
using NSubstitute;
using Octokit.Tests.Helpers;
using Xunit;
namespace Octokit.Tests.Clients
{
public class ReleasesClientTests
{
public class TheGetReleasesMethod
{
[Fact]
public void RequestsCorrectUrl()
... | fake-organization/octokit.net | Octokit.Tests/Clients/ReleasesClientTests.cs | https://github.com/fake-organization/octokit.net/blob/HEAD/Octokit.Tests/Clients/ReleasesClientTests.cs | ghcode:00166:574e4d9af041 | mit | codeparrot/github-code | 574e4d9af04144f1e291312022a7a4d4b16c22b1dd56f411aeaabb05c17c9802 | 0.85 | testing_debugging_repair_refactoring | 2,417 | 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.Generic;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
... | ptoonen/corefx | src/System.Threading/tests/MonitorTests.cs | https://github.com/ptoonen/corefx/blob/HEAD/src/System.Threading/tests/MonitorTests.cs | ghcode:00166:9381a805ea1e | mit | codeparrot/github-code | 9381a805ea1e05b0ead37af36fa2b94922ad26aa58b2e04c597ee206d002e904 | 0.95 | testing_debugging_repair_refactoring | 2,882 | 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;
using System.Collections.Generic;
using Xunit;
using Tests.HashSet_HashSetTestSupport;
using Tests.HashSet_SetCollectionRelation... | fffej/corefx | src/System.Collections/tests/Generic/HashSet/HashSet_OverlapsTests.cs | https://github.com/fffej/corefx/blob/HEAD/src/System.Collections/tests/Generic/HashSet/HashSet_OverlapsTests.cs | ghcode:00166:b14e8564c572 | mit | codeparrot/github-code | b14e8564c572049562285d2416b0e526cea19bbeae6b6a44d0db0eeb2dc5ec23 | 0.95 | testing_debugging_repair_refactoring | 13,271 | false | 2026-07-17 |
using Mono.Cecil;
using NUnit.Framework;
using SampleLibrary;
namespace Deflector.Tests
{
[TestFixture]
public class AssemblyVerificationTests : BaseAssemblyVerificationTestFixture
{
[Test]
public void Should_emit_valid_assembly()
{
var assemblyLocation = typeof (Sample... | philiplaureano/Deflector.NET | Deflector/Deflector.Tests/AssemblyVerificationTests.cs | https://github.com/philiplaureano/Deflector.NET/blob/HEAD/Deflector/Deflector.Tests/AssemblyVerificationTests.cs | ghcode:00166:cf6c1e92c522 | mit | codeparrot/github-code | cf6c1e92c522b378959ba948ca8ff05c5869127a95850a589f4850c02c617b12 | 0.75 | testing_debugging_repair_refactoring | 128 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.