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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2021 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version ... | SonarSource-VisualStudio/sonarlint-visualstudio | src/IssueViz.Security.UnitTests/Taint/TaintList/TaintToolWindowTests.cs | https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/blob/HEAD/src/IssueViz.Security.UnitTests/Taint/TaintList/TaintToolWindowTests.cs | ghcode:00170:b6b5131add81 | mit | codeparrot/github-code | b6b5131add811a31fd1661bc54c2770c5647157d983dbf47c5e4a98a8df0ae2a | 0.75 | testing_debugging_repair_refactoring | 741 | false | 2026-07-17 |
#region License
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ReferenceEqualityComparerTests.cs" company="MorseCode Software">
// Copyright (c) 2015 MorseCode Software
// </copyright>
// <summary>
// The MIT License (MIT)
//... | jam40jeff/FrameworkExtensions | Source/MorseCode.FrameworkExtensions/Tests/ReferenceEqualityComparerTests.cs | https://github.com/jam40jeff/FrameworkExtensions/blob/HEAD/Source/MorseCode.FrameworkExtensions/Tests/ReferenceEqualityComparerTests.cs | ghcode:00170:036e7ff2ed4e | mit | codeparrot/github-code | 036e7ff2ed4e4b883e813fb56188c4d2101fb7b7836e9317e2307687b701daea | 0.95 | testing_debugging_repair_refactoring | 1,223 | false | 2026-07-17 |
using Xunit;
namespace DotNetCross.Memory.Tests
{
public class Unsafe_AsPointer_Test
{
[Fact]
public unsafe void Int()
{
var ptr = stackalloc int[1];
*ptr = 42;
var actualPtr = Unsafe.AsPointer<int>(ref *ptr);
Assert.True(ptr == actualPtr)... | DotNetCross/Memory.Unsafe | src/DotNetCross.Memory.Unsafe.Tests/Unsafe.AsPointer.Test.cs | https://github.com/DotNetCross/Memory.Unsafe/blob/HEAD/src/DotNetCross.Memory.Unsafe.Tests/Unsafe.AsPointer.Test.cs | ghcode:00170:38e93b3902e5 | mit | codeparrot/github-code | 38e93b3902e5a2ea2d137d60f2e724644b40afc4b4eef801518ec22c0e4c6d41 | 0.75 | testing_debugging_repair_refactoring | 132 | false | 2026-07-17 |
//___________________________________________________________________________________
//
// Copyright (C) 2021, Mariusz Postol LODZ POLAND.
//
// To be in touch join the community at GITTER: https://gitter.im/mpostol/OPC-UA-OOI
//___________________________________________________________________________________
us... | mpostol/OPC-UA-OOI | SemanticData/Tests/USNodeSetValidationUnitTestProject/Helpers/TraceDiagnosticFixture.cs | https://github.com/mpostol/OPC-UA-OOI/blob/HEAD/SemanticData/Tests/USNodeSetValidationUnitTestProject/Helpers/TraceDiagnosticFixture.cs | ghcode:00170:d6dad1b58201 | mit | codeparrot/github-code | d6dad1b582012e3d7fde18b83845b102f68318489177fdf02b71969c6be68c05 | 0.95 | testing_debugging_repair_refactoring | 203 | false | 2026-07-17 |
using System.Device.Location;
using System.Diagnostics.CodeAnalysis;
using System.Threading;
using System.Threading.Tasks;
using TripToPrint.Core;
using TripToPrint.Core.Logging;
using TripToPrint.Core.Models;
using TripToPrint.Presenters;
namespace TripToPrint
{
[ExcludeFromCodeCoverage]
public class Testin... | hwndmaster/trip2print | TripToPrint/TestingEnv.cs | https://github.com/hwndmaster/trip2print/blob/HEAD/TripToPrint/TestingEnv.cs | ghcode:00170:452723721227 | mit | codeparrot/github-code | 452723721227cdf05b92515fcb4ad6f7383ee7ae92c3ff99d2dca8ba419573fd | 0.85 | testing_debugging_repair_refactoring | 518 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using Braintree.Exceptions;
namespace Braintree.Tests
{
//NOTE: good
[TestFixture(Category = "NeedFix")]
public class AddressTest
{
private BraintreeGateway gateway;
[SetUp]
public ... | ronin1/braintree_dotnet | Braintree.Tests/AddressTest.cs | https://github.com/ronin1/braintree_dotnet/blob/HEAD/Braintree.Tests/AddressTest.cs | ghcode:00170:1d773b1e28dc | mit | codeparrot/github-code | 1d773b1e28dc49e4666b6abfa8668e94c439ec5a0bc9b73254cc84642e1d3a3b | 0.6 | testing_debugging_repair_refactoring | 2,257 | false | 2026-07-17 |
using System.Data.Common;
using System.Data.OracleClient;
using System.Diagnostics;
using System.Data;
using ALinq.SqlClient;
namespace ALinq.Oracle
{
[System.Obsolete]
class OracleTypeSystemProvider : SqlTypeSystem.Sql2000Provider
{
public override IProviderType Parse(string stype)
{
... | ansiboy/ALinq | ALinq.Orcale/OracleTypeSystemProvider.cs | https://github.com/ansiboy/ALinq/blob/HEAD/ALinq.Orcale/OracleTypeSystemProvider.cs | ghcode:00170:80c3e7862cd1 | mit | codeparrot/github-code | 80c3e7862cd1484d9773f59a78eb4513d8d4c058483a595fd634ea4651ce2ab6 | 0.6 | testing_debugging_repair_refactoring | 783 | false | 2026-07-17 |
using Sniper.Common;
using Sniper.Http;
using Sniper.TargetProcess.Routes;
using Xunit;
namespace Sniper.Tests.CRUD.Update.Common.TeamProjectAllocations
{
public class UpdateTeamProjectAllocationTests
{
[Fact]
public void TeamProjectAllocationThrowsError()
{
var client =... | bluetread/sniper | Sniper.Tests/CRUD/Update/Common/TeamProjectAllocations/UpdateTeamProjectAllocationTests.cs | https://github.com/bluetread/sniper/blob/HEAD/Sniper.Tests/CRUD/Update/Common/TeamProjectAllocations/UpdateTeamProjectAllocationTests.cs | ghcode:00170:eb3e70ffcc0d | mit | codeparrot/github-code | eb3e70ffcc0d95b624ddf820ce86269b1c6b5767dbaf7ebc10f257bf9226dff0 | 0.75 | testing_debugging_repair_refactoring | 120 | false | 2026-07-17 |
using System;
using Abp.AspNetCore;
using Abp.AspNetCore.TestBase;
using Abp.Dependency;
using AbpCoreEf6Sample.Authentication.JwtBearer;
using AbpCoreEf6Sample.Configuration;
using AbpCoreEf6Sample.Identity;
using AbpCoreEf6Sample.Web.Resources;
using AbpCoreEf6Sample.Web.Startup;
using Castle.MicroKernel.Registratio... | aspnetboilerplate/aspnetboilerplate-samples | AbpCoreEf6Sample/aspnet-core/test/AbpCoreEf6Sample.Web.Tests/Startup.cs | https://github.com/aspnetboilerplate/aspnetboilerplate-samples/blob/HEAD/AbpCoreEf6Sample/aspnet-core/test/AbpCoreEf6Sample.Web.Tests/Startup.cs | ghcode:00170:c999859493f6 | mit | codeparrot/github-code | c999859493f6c83f2e63ae038ac72f410d851bf2e5cdf383d97f1a2ba0423a3f | 0.85 | testing_debugging_repair_refactoring | 434 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using Newtonsoft.Json.Linq;
using ReactNative.Bridge;
using ReactNative.Bridge.Queue;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace ReactNative.Tests.Bridge
{
[TestClass]
public class ReactInstanceTests
{
[... | lbochenek/react-native-windows | ReactWindows/ReactNative.Tests/Bridge/ReactInstanceTests.cs | https://github.com/lbochenek/react-native-windows/blob/HEAD/ReactWindows/ReactNative.Tests/Bridge/ReactInstanceTests.cs | ghcode:00170:e326c43aee40 | mit | codeparrot/github-code | e326c43aee40875b724de2c24bdd9428dcfc576efdc6b04a5c63b7893065cf9a | 0.85 | testing_debugging_repair_refactoring | 1,250 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using MathNet.Numerics.LinearAlgebra.Double;
using System.Collections.Generic;
using it.unifi.dsi.stlab.utilities.value_holders;
namespace it.unifi.dsi.stlab.math.algebra.tests
{
[TestFixture()]
public class Matrix_rightProductMethodTest
{
[Test()]
public void identity_matri... | massimo-nocentini/network-reasoner | it.unifi.dsi.stlab.math.algebra.tests/Matrix_rightProductMethodTest.cs | https://github.com/massimo-nocentini/network-reasoner/blob/HEAD/it.unifi.dsi.stlab.math.algebra.tests/Matrix_rightProductMethodTest.cs | ghcode:00170:b7a0353556bc | mit | codeparrot/github-code | b7a0353556bce2174e02f030f1d4e54cd476e1052770c6131063cd74376a99b7 | 0.75 | testing_debugging_repair_refactoring | 1,800 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using BudgetAnalyser.Engine.Budget;
using BudgetAnalyser.Engine.Widgets;
using JetBrains.Annotations;
namespace BudgetAnalyser.En... | Benrnz/BudgetAnalyser | BudgetAnalyser.Engine/Services/DashboardService.cs | https://github.com/Benrnz/BudgetAnalyser/blob/HEAD/BudgetAnalyser.Engine/Services/DashboardService.cs | ghcode:00170:95a7f2a7d448 | mit | codeparrot/github-code | 95a7f2a7d4480a54ada0613d3ea573a4e51ee9758fb0b0356a241738bfa9bb18 | 0.7 | testing_debugging_repair_refactoring | 2,266 | false | 2026-07-17 |
using Testura.Android.PageObjectCreator.Models;
using NUnit.Framework;
namespace Testura.Android.PageObjectCreator.Tests.Models
{
[TestFixture]
public class PageObjectTests
{
private PageObject _pageObject;
[SetUp]
public void SetUp()
{
_pageObject = new PageObj... | Testura/Testura.Android.PageObjectCreator | src/Testura.Android.PageObjectCreator.Tests/Models/PageObjectTests.cs | https://github.com/Testura/Testura.Android.PageObjectCreator/blob/HEAD/src/Testura.Android.PageObjectCreator.Tests/Models/PageObjectTests.cs | ghcode:00170:31684bbb6418 | mit | codeparrot/github-code | 31684bbb64185e200bc76dce7d527dd09f10964b1942bf731af5fbc9d7087845 | 0.75 | testing_debugging_repair_refactoring | 70 | false | 2026-07-17 |
using AsyncRestClient.IntegrationTests.Service;
using FluentAssertions;
using NUnit.Framework;
namespace AsyncRestClient.IntegrationTests
{
public class When_getting_a_hello_response
{
[Test]
public void Then_response_should_be_hello()
{
var response = SetUpFixture.AsyncCli... | JonCanning/AsyncRestClient | src/AsyncRestClient.IntegrationTests/When_getting_a_hello_response.cs | https://github.com/JonCanning/AsyncRestClient/blob/HEAD/src/AsyncRestClient.IntegrationTests/When_getting_a_hello_response.cs | ghcode:00170:7ee5505ff778 | mit | codeparrot/github-code | 7ee5505ff77821e4ad86f613316e89520e2a23e12ce6590676e1e3af480afc2b | 0.6 | testing_debugging_repair_refactoring | 88 | false | 2026-07-17 |
using System;
using System.Net;
using System.Net.Http;
using FluentAssertions;
using Hepsi.Http.Client.QoS;
using Hepsi.Http.Client.Testing;
using NUnit.Framework;
namespace Hepsi.Http.Client.UnitTests.QoS
{
[TestFixture]
public class When_http_requests_have_permissible_amount_of_transient_failures
{
... | hepsiburada/HepsiHttpClient | src/tests/Hepsi.Http.Client.UnitTests/QoS/When_http_requests_have_permissible_amount_of_transient_failures.cs | https://github.com/hepsiburada/HepsiHttpClient/blob/HEAD/src/tests/Hepsi.Http.Client.UnitTests/QoS/When_http_requests_have_permissible_amount_of_transient_failures.cs | ghcode:00170:09fe2dc50d69 | mit | codeparrot/github-code | 09fe2dc50d69d20bdd0d06c291d97d39d746f503deee023de5e8a631911e356d | 0.85 | testing_debugging_repair_refactoring | 273 | false | 2026-07-17 |
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace US.WordProcessor.Tests
{
[TestClass]
public class CorrectionsTests
{
[TestMethod]
public void ProperNounsSuffixedWithSNeedAnAposBeforeTheSCorrect()
{
var p = new Paragraph("Susan owns a hat... | accidentaldeveloper/word-processor | WordProcessor/US.WordProcessor.Tests/CorrectionsTests.cs | https://github.com/accidentaldeveloper/word-processor/blob/HEAD/WordProcessor/US.WordProcessor.Tests/CorrectionsTests.cs | ghcode:00170:14a9fad035be | mit | codeparrot/github-code | 14a9fad035bea236efb139d4c5b7a1243b3d9f921561420b68502e9d17cd3f12 | 0.75 | testing_debugging_repair_refactoring | 805 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using TypeMock.ArrangeActAssert;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nucleo.Reflection;
using Nucleo.Web;
using Nucleo.Web.Mvc.ButtonControls;
namespace Nucleo.Web.Mvc.Content
{
[TestClass]
public class ContentManagerTest
{
#region " Tests "
... | brianmains/Nucleo.NET | src/Nucleo.UnitTests.40.MS/Web/Mvc/Content/ContentManagerTest.cs | https://github.com/brianmains/Nucleo.NET/blob/HEAD/src/Nucleo.UnitTests.40.MS/Web/Mvc/Content/ContentManagerTest.cs | ghcode:00170:a437a007afe9 | mit | codeparrot/github-code | a437a007afe963017b5bb6ed697f70b35aeb619e57edacd722e18e1bc530935b | 0.85 | testing_debugging_repair_refactoring | 194 | false | 2026-07-17 |
// Copyright (c) 2017 Trevor Redfern
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
namespace Tests.Actions.CharacterGeneration.ClassFeatures
{
using Xunit;
using SilverNeedle.Actions.CharacterGeneration.ClassFeatures;
using SilverNeedle.Characters;
using... | shortlegstudio/silverneedle-web | silverneedle-tests/Actions/CharacterGeneration/ClassFeatures/SelectRogueTalentTests.cs | https://github.com/shortlegstudio/silverneedle-web/blob/HEAD/silverneedle-tests/Actions/CharacterGeneration/ClassFeatures/SelectRogueTalentTests.cs | ghcode:00170:1712d9f0811d | mit | codeparrot/github-code | 1712d9f0811d26528f1e2105d5210e676c112ffae9c51dd9e146c86dd1641c17 | 0.85 | testing_debugging_repair_refactoring | 579 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Test
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(char.ToLower('4'));
}
}
}
| sevdalin/Software-University-SoftUni | C-sharp-Web-Developer/C# Advanced/Exams/Exam 13 March 2016/Test/Program.cs | https://github.com/sevdalin/Software-University-SoftUni/blob/HEAD/C-sharp-Web-Developer/C# Advanced/Exams/Exam 13 March 2016/Test/Program.cs | ghcode:00170:d8a1e1a2e9f9 | mit | codeparrot/github-code | d8a1e1a2e9f9ac5d2af60990e3b8f58e17f48d3513b0edffed1157674d0da58b | 0.85 | testing_debugging_repair_refactoring | 54 | false | 2026-07-17 |
namespace Test.Radical.Extensions
{
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Rhino.Mocks;
using Topics.Radical.Reflection;
using SharpTestsEx;
using System.Collections;
using System.Collections.Generic;
[TestClass]
public class ... | micdenny/radical | src/net40/Test.Radical/Extensions/TypeExtensionsTests.cs | https://github.com/micdenny/radical/blob/HEAD/src/net40/Test.Radical/Extensions/TypeExtensionsTests.cs | ghcode:00170:cd23f4d87efa | mit | codeparrot/github-code | cd23f4d87efac869918560582b7ac1b9bfcf56a86061687a217a78a9bb1cddfb | 0.75 | testing_debugging_repair_refactoring | 519 | false | 2026-07-17 |
using System.IO;
using NUnit.Framework;
using RDumont.Frankie.Core;
namespace RDumont.Frankie.Tests
{
[TestFixture]
public class SiteConfigurationTests
{
public class IsExcluded
{
[TestCase("**/*.abc", "path/to/some/file.abc")]
[TestCase("*.abc", "path/to/some/file.... | rdumont/frankie | src/Tests/SiteConfigurationTests.cs | https://github.com/rdumont/frankie/blob/HEAD/src/Tests/SiteConfigurationTests.cs | ghcode:00170:c353fb952c05 | mit | codeparrot/github-code | c353fb952c05d276401285c719e0b0f71efa324e3e8c1f539624868141a12382 | 0.95 | testing_debugging_repair_refactoring | 901 | false | 2026-07-17 |
// Patterns: 1
// Matches: Single.cs
// NotMatches: CommonImpl1.cs
using StructureMap;
using StructureMap.Graph;
namespace TestApplication.StructureMap.ScanTests
{
public class ScanTheCallingAssemblySingleImplementationsOfInterface
{
public ScanTheCallingAssemblySingleImplementationsOfInte... | hmemcpy/AgentMulder | src/Test/Data/StructureMap/ScanTests/ScanTheCallingAssemblySingleImplementationsOfInterface.cs | https://github.com/hmemcpy/AgentMulder/blob/HEAD/src/Test/Data/StructureMap/ScanTests/ScanTheCallingAssemblySingleImplementationsOfInterface.cs | ghcode:00170:e00eac3b9a48 | mit | codeparrot/github-code | e00eac3b9a4813feb0df2eb7176ad1422c320317c5af3628aac00bc020ef2c58 | 0.95 | testing_debugging_repair_refactoring | 106 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Waf.MusicManager.Presentation;
namespace Test.MusicManager.Presentation;
[TestClass]
public class DisposableTest
{
[TestMethod]
public void DisposeCalled()
{
var disposable = new MockDisposable();
Assert.AreEqual(0, disposable.Disp... | jbe2277/musicmanager | src/MusicManager/MusicManager.Presentation.Test/DisposableTest.cs | https://github.com/jbe2277/musicmanager/blob/HEAD/src/MusicManager/MusicManager.Presentation.Test/DisposableTest.cs | ghcode:00170:ab34f68bec4e | mit | codeparrot/github-code | ab34f68bec4ef79b7bd9e1a5fe27173be2ac5747205437c2a28d45ee8c5ad876 | 0.6 | testing_debugging_repair_refactoring | 149 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Xunit;
namespace Idg.AsyncTest.Tests.CompletionSourceWithArgsTests.NoResult
{
public class WhenOneExceptionSuppliedBeforeTaskFetched : CompletionSourceNoResultAndArgumentTestBase
{
private Task[] _tasks;
public WhenOneExceptionSuppliedBeforeTa... | idg10/AsyncTestTools | src/Idg.AsyncTestTools.Tests/CompletionSourceWithArgsTests/NoResult/WhenOneExceptionSuppliedBeforeTaskFetched.cs | https://github.com/idg10/AsyncTestTools/blob/HEAD/src/Idg.AsyncTestTools.Tests/CompletionSourceWithArgsTests/NoResult/WhenOneExceptionSuppliedBeforeTaskFetched.cs | ghcode:00170:8b0816e474e8 | mit | codeparrot/github-code | 8b0816e474e8f3422695642c96e13a1d06f3e3121156fb6126ac05af688ec056 | 0.6 | testing_debugging_repair_refactoring | 275 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Python.Runtime;
namespace Python.EmbeddingTest
{
public class PyInitializeTest
{
/// <summary>
/// Tests issue with multiple simple Initialize/Shutdowns.
/// Fixed by #343
/// </summary>
[Test]
public static void StartAn... | yagweb/pythonnet | src/embed_tests/pyinitialize.cs | https://github.com/yagweb/pythonnet/blob/HEAD/src/embed_tests/pyinitialize.cs | ghcode:00170:477096cb7c12 | mit | codeparrot/github-code | 477096cb7c12a591890642a5be58f60cbb26d5ec00fad14e521b4acee18808ed | 0.85 | testing_debugging_repair_refactoring | 967 | false | 2026-07-17 |
using System;
using Iyzipay.Model;
using Iyzipay.Model.V2;
using Iyzipay.Model.V2.Subscription;
using Iyzipay.Request.V2.Subscription;
using NUnit.Framework;
namespace Iyzipay.Tests.Functional
{
public class SubscriptionProductTest : BaseTest
{
[Test]
public void Should_Create_Product()
... | iyzico/iyzipay-dotnet | Iyzipay.Tests/Functional/SubscriptionProductTest.cs | https://github.com/iyzico/iyzipay-dotnet/blob/HEAD/Iyzipay.Tests/Functional/SubscriptionProductTest.cs | ghcode:00170:7b08887355d9 | mit | codeparrot/github-code | 7b08887355d9736b425ed48c622d283f3818149f82b740d1cc53aa6be82d7f3d | 0.6 | testing_debugging_repair_refactoring | 1,143 | false | 2026-07-17 |
using QuickUnity.Timers;
using System;
using UnityEngine;
namespace QuickUnity.Tests.IntegrationTests
{
/// <summary>
/// Integration test of Timer with stopOnDisable is true.
/// </summary>
/// <seealso cref="UnityEngine.MonoBehaviour"/>
[IntegrationTest.DynamicTest("TimerTests")]
... | cosmos53076/QuickUnity | Assets/Tests/IntegrationTests/Timers/StopOnDisableTimerTest.cs | https://github.com/cosmos53076/QuickUnity/blob/HEAD/Assets/Tests/IntegrationTests/Timers/StopOnDisableTimerTest.cs | ghcode:00170:1fe31516e5a9 | mit | codeparrot/github-code | 1fe31516e5a932716c997df656e47665641aa01e07448b66e73a9dab1303e13c | 0.95 | testing_debugging_repair_refactoring | 370 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Shouldly;
using Xunit;
namespace LightningQueues.Tests
{
[Collection("SharedTestDirectory")]
public class IntegrationTests : IDisposable
{
private Queue _receiver;
private Queue _sender;
private readonly Recording... | LightningQueues/LightningQueues | src/LightningQueues.Tests/IntegrationTests.cs | https://github.com/LightningQueues/LightningQueues/blob/HEAD/src/LightningQueues.Tests/IntegrationTests.cs | ghcode:00170:0394f28c900f | mit | codeparrot/github-code | 0394f28c900f9d6c6b364bb46b2f8153271fb7c6b3cc95085893cbfb8a36db3e | 0.75 | testing_debugging_repair_refactoring | 302 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nager.PublicSuffix.Extensions;
using System.Collections.Generic;
namespace Nager.PublicSuffix.UnitTest
{
[TestClass]
public class DomainNameTestsWithInitializedStructure : DomainNameTest
{
protected override DomainParser GetParserForRules(L... | tinohager/Nager.PublicSuffix | src/Nager.PublicSuffix.UnitTest/DomainNameTestsWithInitializedStructure.cs | https://github.com/tinohager/Nager.PublicSuffix/blob/HEAD/src/Nager.PublicSuffix.UnitTest/DomainNameTestsWithInitializedStructure.cs | ghcode:00170:da1693c5794f | mit | codeparrot/github-code | da1693c5794f4601dc50d9f08f1434e65a85c9a036b685d20594b6e4fcf45586 | 0.6 | testing_debugging_repair_refactoring | 100 | false | 2026-07-17 |
using System;
using System.Reflection;
using NUnit.Framework;
using NUnit.Framework.SyntaxHelpers;
using LateBindingHelper.Exceptions;
namespace LateBindingHelper.Tests
{
[TestFixture]
public class LateBindingHelperTestFixture
{
#region Test Members
IDynamic _lateBindingFaca... | rickyah/DynoBind | unit-tests/Tests.cs | https://github.com/rickyah/DynoBind/blob/HEAD/unit-tests/Tests.cs | ghcode:00170:68b9b1a5c2fa | mit | codeparrot/github-code | 68b9b1a5c2fac1c963065d35fa36813ead0ada9cfb6de675dd0b66ec3abbe594 | 0.85 | testing_debugging_repair_refactoring | 1,512 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Content.Server.AI.Utility;
using Content.Server.AI.Utility.Actions;
using Content.Server.AI.Utility.AiLogic;
using NUnit.Framework;
using Robust.Shared.Prototypes;
using Robust.Shared.Reflection;
namespace Content.IntegrationTests... | space-wizards/space-station-14 | Content.IntegrationTests/Tests/AI/BehaviorSetsTest.cs | https://github.com/space-wizards/space-station-14/blob/HEAD/Content.IntegrationTests/Tests/AI/BehaviorSetsTest.cs | ghcode:00170:e184ce140829 | mit | codeparrot/github-code | e184ce140829346c5b33666047856394437fd02aff15689aee7ad63ea72fdb16 | 0.85 | testing_debugging_repair_refactoring | 383 | false | 2026-07-17 |
using NUnit.Framework;
namespace Jynd.Tests
{
[TestFixture]
public class JyndFalseTests
{
[Test]
public void CanAccessDeserializedFalse()
{
string json = @"{""value"":false}";
dynamic data = JyndConvert.Deserialize(json);
Assert.That(data.value,... | amacal/jynd | sources/Jynd.Tests/JyndFalseTests.cs | https://github.com/amacal/jynd/blob/HEAD/sources/Jynd.Tests/JyndFalseTests.cs | ghcode:00170:0389e01877e3 | mit | codeparrot/github-code | 0389e01877e3be2f9dd71c233d03fe993c8f77c86b4adb679bd7541413d4462d | 0.75 | testing_debugging_repair_refactoring | 134 | false | 2026-07-17 |
using Cofoundry.Core.Validation.Internal;
using FluentAssertions;
using FluentAssertions.Execution;
using System;
using System.Linq;
using Xunit;
namespace Cofoundry.Domain.Tests.Domain.AccessRules
{
public class UpdateAccessRuleSetCommandBaseTests
{
[Fact]
public void Validate_WhenAccessRuleI... | cofoundry-cms/cofoundry | test/Cofoundry.Domain.Tests/Domain/AccessRules/Commands/UpdateAccessRuleSetCommandBaseTests.cs | https://github.com/cofoundry-cms/cofoundry/blob/HEAD/test/Cofoundry.Domain.Tests/Domain/AccessRules/Commands/UpdateAccessRuleSetCommandBaseTests.cs | ghcode:00170:fb9dac4d6a51 | mit | codeparrot/github-code | fb9dac4d6a5118d93076759f10db50c6238ce4e321ce8b30425be8a9558089b7 | 0.75 | testing_debugging_repair_refactoring | 988 | false | 2026-07-17 |
using System;
#if NUNIT
using NUnit.Framework;
using TestClassAttribute = NUnit.Framework.TestFixtureAttribute;
using TestMethodAttribute = NUnit.Framework.TestCaseAttribute;
#else
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endif
using Ooui;
namespace Tests
{
[TestClass]
public class WindowTests
... | praeclarum/Ooui | Tests/WindowTests.cs | https://github.com/praeclarum/Ooui/blob/HEAD/Tests/WindowTests.cs | ghcode:00170:a871acca2881 | mit | codeparrot/github-code | a871acca28810b2acb30bd0b06ffd81a244d83f16a4c8a342083be938aaf37c3 | 0.85 | testing_debugging_repair_refactoring | 585 | false | 2026-07-17 |
namespace LearningInterpreter.Parsing.Code.Conditions
{
using LearningInterpreter.Basic.Code;
using LearningInterpreter.Basic.Code.Conditions;
using LearningInterpreter.Basic.Code.Expressions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class LessThanOrEqualTests
... | markshevchenko/learning-interpreter | LearningInterpreter.Test/Parsing/Code/Conditions/LessThanOrEqualTests.cs | https://github.com/markshevchenko/learning-interpreter/blob/HEAD/LearningInterpreter.Test/Parsing/Code/Conditions/LessThanOrEqualTests.cs | ghcode:00171:7c3f02ebeefc | unlicense | codeparrot/github-code | 7c3f02ebeefc048d1f2eeae3e84640bcf0f148408e091f89503a2b013fc8f312 | 0.68 | testing_debugging_repair_refactoring | 210 | false | 2026-07-17 |
using System;
using Knapcode.StandardSerializer.Extensions;
using Knapcode.StandardSerializer.Test.TestSupport;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Knapcode.StandardSerializer.Test.Extensions
{
/// <summary>
/// Unit tests for <see cref="StringExtensions" />.
/// </summary>
[... | joelverhagen/StandardSerializer | Knapcode.StandardSerializer.Test/Extensions/StringExtensionsTest.cs | https://github.com/joelverhagen/StandardSerializer/blob/HEAD/Knapcode.StandardSerializer.Test/Extensions/StringExtensionsTest.cs | ghcode:00171:23f22286bceb | unlicense | codeparrot/github-code | 23f22286bceb25701d5f6ec4c31b005a93f953da8a98ebdc453b6c0eafcf5958 | 0.63 | testing_debugging_repair_refactoring | 1,550 | false | 2026-07-17 |
namespace SecurePages.Mvc.Tests.Tests {
using SecurePages.Infrastructure;
using SecurePages.Mvc.Tests.App_Start;
using SecurePages.TestHelpers;
using Xunit;
public class SecureUrlTests {
#region Constructors and Destructors
public SecureUrlTests() {
SecureP... | webadvanced/Secure-Page-manager-for-asp.net | SecurePages.MVC.Tests/Tests/SecureUrlTests.cs | https://github.com/webadvanced/Secure-Page-manager-for-asp.net/blob/HEAD/SecurePages.MVC.Tests/Tests/SecureUrlTests.cs | ghcode:00171:107ad5954717 | apache-2.0 | codeparrot/github-code | 107ad5954717148d2b741fe9c7f672874b56761a322a80ff7449780130a2805a | 0.95 | testing_debugging_repair_refactoring | 399 | 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 Microsoft.Extensions.Primitives;
namespace HtmlGenerationWebSite
{
public interface ISignalTokenProviderService<TKey>
{
IChangeToken GetToken(object key);
... | aspnet/AspNetCore | src/Mvc/test/WebSites/HtmlGenerationWebSite/ISignalTokenProviderService.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/WebSites/HtmlGenerationWebSite/ISignalTokenProviderService.cs | ghcode:00171:2c66f906deb3 | apache-2.0 | codeparrot/github-code | 2c66f906deb34e7652cb2d445938a3bb0540df76a086f47fae5796e8a73eb3dd | 0.85 | testing_debugging_repair_refactoring | 72 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Diagnostics;
using Test.Utilities;
using Xunit;
namespace Microsoft.NetCore.Analyzers.Runtime.UnitTests
{
public class Provi... | heejaechang/roslyn-analyzers | src/Microsoft.NetCore.Analyzers/UnitTests/Runtime/ProvideCorrectArgumentsToFormattingMethodsTests.cs | https://github.com/heejaechang/roslyn-analyzers/blob/HEAD/src/Microsoft.NetCore.Analyzers/UnitTests/Runtime/ProvideCorrectArgumentsToFormattingMethodsTests.cs | ghcode:00171:34d3ab707176 | apache-2.0 | codeparrot/github-code | 34d3ab707176a4c486cb060e61fd8ec94531130e7a2ed20dd3b28b12321f137d | 0.85 | testing_debugging_repair_refactoring | 3,785 | false | 2026-07-17 |
#region Copyright (Apache 2.0)
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// <copyright file="UpdateExemptionAmountTests.cs" company="SCVNGR, Inc. d/b/a LevelUp">
// Copyright(c) 2017 SCVNGR, Inc. d/b/a LevelUp. All rights reserved.
// </copyright>
// <lic... | TheLevelUp/pos-proposed-orders-csharp | Grubhub.ProposedOrders.Tests/UpdateExemptionAmountTests.cs | https://github.com/TheLevelUp/pos-proposed-orders-csharp/blob/HEAD/Grubhub.ProposedOrders.Tests/UpdateExemptionAmountTests.cs | ghcode:00171:d8d7508e63b5 | apache-2.0 | codeparrot/github-code | d8d7508e63b54628a787c925cbf1b3c43f34f55b95a8881c9f960ae1c0575877 | 0.85 | testing_debugging_repair_refactoring | 2,171 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.SharePoint.Client;
using OfficeDevPnP.Core.Utilities;
using System.Collections.Generic;
namespace OfficeDevPnP.Core.Tests.AppModelExtensions
{
[TestClass]
public class FileFolderExtensionsTests
{
private ClientContex... | ifaham/Test | OfficeDevPnP.Core/OfficeDevPnP.Core.Tests/AppModelExtensions/FileFolderExtensionsTests.cs | https://github.com/ifaham/Test/blob/HEAD/OfficeDevPnP.Core/OfficeDevPnP.Core.Tests/AppModelExtensions/FileFolderExtensionsTests.cs | ghcode:00171:b818602a4f1d | apache-2.0 | codeparrot/github-code | b818602a4f1d3cce914195cf3361ff1bcca66ed31a84325cd0c0bbf675ae5bbd | 0.85 | testing_debugging_repair_refactoring | 1,629 | false | 2026-07-17 |
#pragma warning disable 67
namespace Typewriter.Tests.CodeModel.Support
{
/// <summary>
/// summary
/// </summary>
[AttributeInfo]
public partial class PartialClassInfo
{
public PartialClassInfo()
{
}
public const string Constant1 = "";
public delegate v... | frhagn/Typewriter | src/Tests/CodeModel/Support/PartialClassInfo.cs | https://github.com/frhagn/Typewriter/blob/HEAD/src/Tests/CodeModel/Support/PartialClassInfo.cs | ghcode:00171:4ea09a8aed8d | apache-2.0 | codeparrot/github-code | 4ea09a8aed8dd3afbf6c6539f14ec12302f2cae58a1ae80e7b312c712009cca5 | 0.95 | testing_debugging_repair_refactoring | 181 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using Manufacturing.Framework.Dto;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Manufacturing.Framework.Datasource
{
[TestClass]
public class SampleEventTests
{
[TestMethod]
public void UnitId_GetSet()
... | ytechie/Manufacturing.Framework | Tests/Datasource/SampleEvent.cs | https://github.com/ytechie/Manufacturing.Framework/blob/HEAD/Tests/Datasource/SampleEvent.cs | ghcode:00171:c5d98cd2103d | apache-2.0 | codeparrot/github-code | c5d98cd2103d95d116dd2e02d8e82d530c0db96c1892e7d8bbc9d2af692ebff0 | 0.6 | testing_debugging_repair_refactoring | 277 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LeetCodeUnitTest
{
using LeetCode;
using Assert = Microsoft.VisualStudio.TestTools.UnitTesting.Assert;
/// <summary>
/// Summary description for ImplementStrStr
/// </... | datadigger/LeetCodeCS | LeetCodeUnitTest/ImplementStrStrTest.cs | https://github.com/datadigger/LeetCodeCS/blob/HEAD/LeetCodeUnitTest/ImplementStrStrTest.cs | ghcode:00171:121f9237729a | apache-2.0 | codeparrot/github-code | 121f9237729ab3a5de5658c8e0cd3dd9e7942cd13b49fc70dcfc57ae526d203b | 0.7 | testing_debugging_repair_refactoring | 179 | false | 2026-07-17 |
#region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2017 Jonas Nyrup. 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
//
// htt... | morelinq/MoreLINQ | MoreLinq.Test/CompareCountTest.cs | https://github.com/morelinq/MoreLINQ/blob/HEAD/MoreLinq.Test/CompareCountTest.cs | ghcode:00171:c0620f8bfcb4 | apache-2.0 | codeparrot/github-code | c0620f8bfcb4cb5b48b806857398debdf9340e58a3ae886f88dd6274f86f97eb | 0.7 | testing_debugging_repair_refactoring | 1,507 | false | 2026-07-17 |
#region Copyright & License
// Copyright © 2012 - 2013 François Chabot, Yves Dierick
//
// 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/LICEN... | icraftsoftware/BizTalk.Factory | src/ServiceModel.Tests/ServiceModel/Channels/XlangMessageFixture.cs | https://github.com/icraftsoftware/BizTalk.Factory/blob/HEAD/src/ServiceModel.Tests/ServiceModel/Channels/XlangMessageFixture.cs | ghcode:00171:ac8960207508 | apache-2.0 | codeparrot/github-code | ac8960207508fdcfce249084c0e33359d6ad2b85f31a5dfdcabc553d9b10df8b | 0.85 | testing_debugging_repair_refactoring | 1,298 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FluentAssertions;
using NFugue.Patterns;
using NFugue.Theory;
using Xunit;
namespace NFugue.Tests.Patterns
{
public class ReplacementFormatUtilTests
{
[Fact]
public void Test_simple_replacement()
{
var patterns = new Lis... | mdileep/NFugue | tests/NFugue.Tests/Patterns/ReplacementFormatUtilTests.cs | https://github.com/mdileep/NFugue/blob/HEAD/tests/NFugue.Tests/Patterns/ReplacementFormatUtilTests.cs | ghcode:00171:7cff71ed1952 | apache-2.0 | codeparrot/github-code | 7cff71ed19526575768e0f59fe4745af94e6a7b020949bcaf497e7ae25827fc9 | 0.75 | testing_debugging_repair_refactoring | 814 | false | 2026-07-17 |
namespace Virtlink.Utilib.Collections
{
/// <summary>
/// Tests the <see cref="Dictionary"/> class.
/// </summary>
public partial class DictionaryTests
{
}
}
| Virtlink/utilib | test/Virtlink.Utilib.Tests/Collections/DictionaryTests.cs | https://github.com/Virtlink/utilib/blob/HEAD/test/Virtlink.Utilib.Tests/Collections/DictionaryTests.cs | ghcode:00171:83f8da23fc68 | apache-2.0 | codeparrot/github-code | 83f8da23fc68e2083d30ca6e5f433632076b2367e7712bb57a31855c3fc73865 | 0.6 | testing_debugging_repair_refactoring | 42 | false | 2026-07-17 |
using System.Net;
using RestSharp.Tests.Shared.Fixtures;
namespace RestSharp.Tests.Integrated;
public sealed class ResourceStringParametersTests : IDisposable {
readonly SimpleServer _server;
public ResourceStringParametersTests() => _server = SimpleServer.Create(RequestHandler.Handle);
public void Dis... | restsharp/RestSharp | test/RestSharp.Tests.Integrated/ResourceStringParametersTests.cs | https://github.com/restsharp/RestSharp/blob/HEAD/test/RestSharp.Tests.Integrated/ResourceStringParametersTests.cs | ghcode:00171:cbfb597090b0 | apache-2.0 | codeparrot/github-code | cbfb597090b06e7fedd5d40ce9eeb1cbb6e60d75138fda4c6fd288c7666d8c38 | 0.75 | testing_debugging_repair_refactoring | 190 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Plywood;
using System.Diagnostics;
namespace Plywood.Tests.Functional
{
static class TargetAppTests
{
public static void Run(ControllerConfiguration context, Guid targetKey, Guid appKey)
{
v... | danielrbradley/Plywood | PlywoodFunctionalTesting/TargetAppTests.cs | https://github.com/danielrbradley/Plywood/blob/HEAD/PlywoodFunctionalTesting/TargetAppTests.cs | ghcode:00171:70eb7c569212 | apache-2.0 | codeparrot/github-code | 70eb7c569212a3ad6297a225748a917c81c264052b931c317d79b5cb4f01a040 | 0.75 | testing_debugging_repair_refactoring | 373 | false | 2026-07-17 |
namespace Cassandra.IntegrationTests.Core
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Cassandra.IntegrationTests.TestBase;
using Cassandra.IntegrationTests.TestClusterManagement.Simulacron;
using NUnit.Framework;
[TestFixtu... | mintsoft/csharp-driver | src/Cassandra.IntegrationTests/Core/SchemaAgreementSimulacronTests.cs | https://github.com/mintsoft/csharp-driver/blob/HEAD/src/Cassandra.IntegrationTests/Core/SchemaAgreementSimulacronTests.cs | ghcode:00171:f23512c3bf52 | apache-2.0 | codeparrot/github-code | f23512c3bf521145201b2645d94a23891764f4119e429812608ec22b95c8e68b | 0.75 | testing_debugging_repair_refactoring | 1,026 | false | 2026-07-17 |
/*
* Forge SDK
*
* The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
*
* OpenAPI spec version: 0.1.0
* Contact: forge.help@autodesk.com
* Ge... | Autodesk-Forge/forge-api-dotnet-client | src/Autodesk.Forge.Test/Model/CreateFolderTests.cs | https://github.com/Autodesk-Forge/forge-api-dotnet-client/blob/HEAD/src/Autodesk.Forge.Test/Model/CreateFolderTests.cs | ghcode:00171:7d405da41100 | apache-2.0 | codeparrot/github-code | 7d405da411006a74b460e57f2c063f898a654e8c971d6e361a8f920b6772a861 | 0.85 | testing_debugging_repair_refactoring | 589 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Xunit;
namespace Microsoft.AspNetCore.Builder.Extensions
{
using Predicate = Func<HttpContext,... | aspnet/AspNetCore | src/Http/Http.Abstractions/test/MapPredicateMiddlewareTests.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Http/Http.Abstractions/test/MapPredicateMiddlewareTests.cs | ghcode:00171:5c821c48cd98 | apache-2.0 | codeparrot/github-code | 5c821c48cd98829d89f39802b16e20a06fa7c42f3261ac9fc5a201f85de17a17 | 0.85 | testing_debugging_repair_refactoring | 750 | false | 2026-07-17 |
/*
Copyright (c) 2016, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following ... | mmoening/MatterControl | Tests/MatterControl.Tests/SceneTests.cs | https://github.com/mmoening/MatterControl/blob/HEAD/Tests/MatterControl.Tests/SceneTests.cs | ghcode:00171:054852b4f166 | bsd-2-clause | codeparrot/github-code | 054852b4f1666167753415f9c98d270986bf0e59fbcce8503825cdabe0a14a7e | 0.78 | testing_debugging_repair_refactoring | 4,771 | false | 2026-07-17 |
using NMoneys;
using NMoneys.Exchange;
using NUnit.Framework;
public class Rate_Provider
{
[Test]
public void Configuring_Provider()
{
var customProvider = new TabulatedExchangeRateProvider();
customProvider.Add(CurrencyIsoCode.EUR, CurrencyIsoCode.USD, 0);
ExchangeRateProvider.Factory = () => customProvide... | dgg/NMoneys.Web | src/Web/Content/src/CodeProject_Exchange/02.Rate_Provider.cs | https://github.com/dgg/NMoneys.Web/blob/HEAD/src/Web/Content/src/CodeProject_Exchange/02.Rate_Provider.cs | ghcode:00171:8578e8efda61 | bsd-2-clause | codeparrot/github-code | 8578e8efda616e59aacc3dff6f68eb1da1567757bf5fed4f54c3740db285bdad | 0.78 | testing_debugging_repair_refactoring | 139 | false | 2026-07-17 |
using Xunit;
namespace Jint.Tests.Test262.Language
{
public class BlockScopeTests : Test262Test
{
[Theory(DisplayName = "language\\block-scope")]
[MemberData(nameof(SourceFiles), "language\\block-scope", false)]
[MemberData(nameof(SourceFiles), "language\\block-scope", true, Skip = "Ski... | sebastienros/jint | Jint.Tests.Test262/Language/BlockScopeTests.cs | https://github.com/sebastienros/jint/blob/HEAD/Jint.Tests.Test262/Language/BlockScopeTests.cs | ghcode:00171:b9a435c487f3 | bsd-2-clause | codeparrot/github-code | b9a435c487f3021f7ead4c3ac6f59c7c5aeebd7cebe50b58925ab1eb85371c70 | 0.68 | testing_debugging_repair_refactoring | 106 | false | 2026-07-17 |
// Generated by MyGeneration Version # (1.1.3.0)
using System;
namespace MyGeneration.dOOdads.Tests.SQL
{
public class FullNameView : _FullNameView
{
public FullNameView()
{
}
}
}
| cafephin/mygeneration | src/doodads/Tests/CSharp/SQL/FullNameView.cs | https://github.com/cafephin/mygeneration/blob/HEAD/src/doodads/Tests/CSharp/SQL/FullNameView.cs | ghcode:00171:26b85f1199c6 | bsd-3-clause | codeparrot/github-code | 26b85f1199c607619b94f04e22da466d74031b36f603e3752a43cb330fdbeed2 | 0.85 | testing_debugging_repair_refactoring | 57 | false | 2026-07-17 |
using System;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Extensions;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Portability;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Toolchains.CoreRt;
using BenchmarkDotNet.Toolchains.CsProj;
using BenchmarkDotNet.Toolchains.DotNetCli;
using Benchmark... | PerfDotNet/BenchmarkDotNet | src/BenchmarkDotNet/Toolchains/ToolchainExtensions.cs | https://github.com/PerfDotNet/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Toolchains/ToolchainExtensions.cs | ghcode:00171:0b3682583ca8 | mit | codeparrot/github-code | 0b3682583ca87da80376cebd56eb3375f10ae63614981e90ddfb9197e3fb931e | 0.75 | testing_debugging_repair_refactoring | 1,285 | false | 2026-07-17 |
using NUnit.Framework;
namespace DotSpatial.Projections.Tests
{
[TestFixture]
class SpheroidTests
{
/// <summary>
/// Checks that parsing an ESRI string with [ and ] in the spheroid name gets the complete name and doesn't throw an exception.
/// </summary>
[Test(Description... | pergerch/DotSpatial | Source/DotSpatial.Projections.Tests/SpheroidTests.cs | https://github.com/pergerch/DotSpatial/blob/HEAD/Source/DotSpatial.Projections.Tests/SpheroidTests.cs | ghcode:00171:8e068c58add1 | mit | codeparrot/github-code | 8e068c58add13ca766c40a7fba064037d1296701fad779ba7e8d97747004197a | 0.85 | testing_debugging_repair_refactoring | 597 | 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;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using NUnit.Framework;
using osu.Framewor... | UselessToucan/osu | osu.Game.Tests/Beatmaps/Formats/LegacyBeatmapEncoderTest.cs | https://github.com/UselessToucan/osu/blob/HEAD/osu.Game.Tests/Beatmaps/Formats/LegacyBeatmapEncoderTest.cs | ghcode:00171:415500115f3d | mit | codeparrot/github-code | 415500115f3d28d9e105db0d6607ac7d278646abd574e9883c398781f760c3fc | 0.85 | testing_debugging_repair_refactoring | 1,417 | false | 2026-07-17 |
using System.Buffers;
using System.Collections.Generic;
using Xunit;
namespace System.Buffers.Tests
{
public class MultispanTests
{
[Fact]
public void BasicsWork()
{
var ints = new Multispan<int>();
Assert.Equal(0, ints.Count);
int index1 = ints.App... | nguerrera/corefxlab | tests/System.Buffers.Experimental.Tests/MultispanUnitTests.cs | https://github.com/nguerrera/corefxlab/blob/HEAD/tests/System.Buffers.Experimental.Tests/MultispanUnitTests.cs | ghcode:00171:108865c54b33 | mit | codeparrot/github-code | 108865c54b337559707fd57d7d338b681cbba3225c14ece692cf199de12fafcc | 0.75 | testing_debugging_repair_refactoring | 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 Xunit;
namespace System.Reflection.Emit.Tests
{
publ... | alphonsekurian/corefx | src/System.Reflection.Emit.ILGeneration/tests/CustomAttributeBuilder/CustomAttributeBuilderCtor2.cs | https://github.com/alphonsekurian/corefx/blob/HEAD/src/System.Reflection.Emit.ILGeneration/tests/CustomAttributeBuilder/CustomAttributeBuilderCtor2.cs | ghcode:00171:f315c7a5db92 | mit | codeparrot/github-code | f315c7a5db929efce1bb4f0425a9268ed9dc35123052decf8fac076aac0d5f51 | 0.95 | testing_debugging_repair_refactoring | 1,818 | 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.Immutable;
using System.Diagnostics;
using System.Globalization;
using System.Threading;
namespace Microsoft.CodeAnalysis.CSharp.Sy... | aelij/roslyn | src/Compilers/CSharp/Portable/Symbols/Wrapped/WrappedFieldSymbol.cs | https://github.com/aelij/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Wrapped/WrappedFieldSymbol.cs | ghcode:00171:8425bafa446f | apache-2.0 | codeparrot/github-code | 8425bafa446f428001f52df04cb0d7d9596e22b4324f7b4982f87b6ecf187c85 | 0.85 | testing_debugging_repair_refactoring | 909 | false | 2026-07-17 |
/*
Copyright 2016 ParticleNET
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | ParticleNET/ParticleSDK | ParticleSDKTests.NUnit/ParticleCloudTests.cs | https://github.com/ParticleNET/ParticleSDK/blob/HEAD/ParticleSDKTests.NUnit/ParticleCloudTests.cs | ghcode:00171:71da64cfb06b | apache-2.0 | codeparrot/github-code | 71da64cfb06b072403be54548d31ca5f630529596065bd1e5337cce90bc1b4e8 | 0.85 | testing_debugging_repair_refactoring | 2,661 | false | 2026-07-17 |
namespace Stact.Data
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Internal;
public class An_ordered_sequence
{
void Should_put_things_in_order()
{
var random = new Random();
int[] values = Enumerable.Range(0, 10000)
.Select(x ... | phatboyg/Stact | src/Stact.Playground/Data/Ordered_Tests.cs | https://github.com/phatboyg/Stact/blob/HEAD/src/Stact.Playground/Data/Ordered_Tests.cs | ghcode:00171:77d0681044f5 | apache-2.0 | codeparrot/github-code | 77d0681044f551d920bfdea89f61ad68a615aa93a75c74b116b730bf06cfd85f | 0.75 | testing_debugging_repair_refactoring | 297 | 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... | bravelittlescientist/opensim-performance | OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAgentTests.cs | https://github.com/bravelittlescientist/opensim-performance/blob/HEAD/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAgentTests.cs | ghcode:00171:cd28bb1fa706 | bsd-3-clause | codeparrot/github-code | cd28bb1fa706f56711cbd842bddbd3ab467dbf476ed9b1de7febb52c9c78c575 | 0.95 | testing_debugging_repair_refactoring | 2,814 | 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.IO;
using System.Text;
using System.Xml;
using System.Resources;
using System.Reflection;
using System.Diagnostics... | ValMenn/msbuild | src/XMakeTasks/ResGenDependencies.cs | https://github.com/ValMenn/msbuild/blob/HEAD/src/XMakeTasks/ResGenDependencies.cs | ghcode:00171:c8c6d5ddb515 | mit | codeparrot/github-code | c8c6d5ddb515e0105f2ba8615045a1b0c113584fffe080504619be50ba780ad6 | 0.85 | testing_debugging_repair_refactoring | 2,822 | false | 2026-07-17 |
using System.Threading.Tasks;
using Marten.Services;
using Marten.Testing.Documents;
using Marten.Testing.Harness;
using Xunit;
namespace Marten.Testing.Bugs
{
public class Bug_339_async_cache_problem: IntegrationContext
{
[Fact]
public async Task pending_with_dirty_checks_async()
{
... | ericgreenmix/marten | src/Marten.Testing/Bugs/Bug_339_async_cache_problem.cs | https://github.com/ericgreenmix/marten/blob/HEAD/src/Marten.Testing/Bugs/Bug_339_async_cache_problem.cs | ghcode:00171:06b8714a2bf5 | mit | codeparrot/github-code | 06b8714a2bf50b6843dd382e90d9034de20bc87071f073150917d4ff006e65d7 | 0.75 | testing_debugging_repair_refactoring | 187 | 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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics.UserIn... | 2yangk23/osu | osu.Game.Tests/Visual/UserInterface/TestScenePopupDialog.cs | https://github.com/2yangk23/osu/blob/HEAD/osu.Game.Tests/Visual/UserInterface/TestScenePopupDialog.cs | ghcode:00171:d9fa7e8d4764 | mit | codeparrot/github-code | d9fa7e8d476412aecb36b5510e15f2b31546d80af42a04a3c413c65fb015330d | 0.75 | testing_debugging_repair_refactoring | 323 | 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.IO;
using System.Linq;
using System.Text;
using System.Thread... | basoundr/roslyn | src/Test/Utilities/Shared/Compilation/IRuntimeEnvironment.cs | https://github.com/basoundr/roslyn/blob/HEAD/src/Test/Utilities/Shared/Compilation/IRuntimeEnvironment.cs | ghcode:00171:cc9d2187d251 | apache-2.0 | codeparrot/github-code | cc9d2187d2514d1b4d0592e8a0db086f8df16e6b497c3c91a02fb32686776ffa | 0.95 | testing_debugging_repair_refactoring | 2,060 | 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.Diagnostics;
using System.IO;
namespace Roslyn.Utilities
{
internal static class FileUtilit... | AArnott/roslyn | src/Compilers/Core/Portable/FileSystem/FileUtilities.cs | https://github.com/AArnott/roslyn/blob/HEAD/src/Compilers/Core/Portable/FileSystem/FileUtilities.cs | ghcode:00171:e48427def864 | apache-2.0 | codeparrot/github-code | e48427def864b0db63d1c44a4b9be6460606ddb5735d8ad50327774110d7e7fe | 0.85 | testing_debugging_repair_refactoring | 2,256 | 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.Collections.Immutable;
using System.IO;
using System.L... | physhi/roslyn | src/Compilers/Core/CodeAnalysisTest/Analyzers/AnalyzerFileReferenceTests.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Compilers/Core/CodeAnalysisTest/Analyzers/AnalyzerFileReferenceTests.cs | ghcode:00171:607faf24a270 | apache-2.0 | codeparrot/github-code | 607faf24a270377c6320691f2afa82ee07f30db1b483aeda978b7dad42ee7a30 | 0.85 | testing_debugging_repair_refactoring | 6,243 | 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 System.Linq;
namespace IdentityServer4.UnitTests.Common
{
internal static class TestExtensions
{
public static string ... | chrisowhite/IdentityServer4 | test/IdentityServer.UnitTests/Common/TestExtensions.cs | https://github.com/chrisowhite/IdentityServer4/blob/HEAD/test/IdentityServer.UnitTests/Common/TestExtensions.cs | ghcode:00171:27dc65c55eda | apache-2.0 | codeparrot/github-code | 27dc65c55eda1df8d92074c3d0658717d0c7492fb9bf0ea02b096d017d171e60 | 0.75 | testing_debugging_repair_refactoring | 108 | false | 2026-07-17 |
using NUnit.Framework;
using Nest.Tests.MockData.Domain;
namespace Nest.Tests.Unit.Search.Query.Singles
{
[TestFixture]
public class SpanOrQueryJson
{
[Test]
public void SpanOrQuery()
{
var s = new SearchDescriptor<ElasticsearchProject>()
.From(0)
.Size(10)
.Query(q => q
.SpanOr(sn => sn
... | NickCraver/NEST | src/Tests/Nest.Tests.Unit/Search/Query/Singles/SpanOrQueryJson.cs | https://github.com/NickCraver/NEST/blob/HEAD/src/Tests/Nest.Tests.Unit/Search/Query/Singles/SpanOrQueryJson.cs | ghcode:00171:07a80f4a2053 | apache-2.0 | codeparrot/github-code | 07a80f4a20537e4832061316154d818a7bac736103ba14f3268ecc7003900bec | 0.85 | testing_debugging_repair_refactoring | 332 | 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.Immutable;
using System.IO;
namespace System.Reflection.Metadata.Tests
{
internal stat... | Priya91/corefx-1 | src/System.Reflection.Metadata/tests/Resources/TestResources.cs | https://github.com/Priya91/corefx-1/blob/HEAD/src/System.Reflection.Metadata/tests/Resources/TestResources.cs | ghcode:00171:9bfb85c21324 | mit | codeparrot/github-code | 9bfb85c21324772c60d497505c4084bd333294e0ae254e50aaac533fe865f784 | 0.95 | testing_debugging_repair_refactoring | 1,489 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | samaitra/ignite | modules/platforms/dotnet/Apache.Ignite.Core/Impl/PlatformJniTarget.cs | https://github.com/samaitra/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core/Impl/PlatformJniTarget.cs | ghcode:00171:5660f5df9817 | apache-2.0 | codeparrot/github-code | 5660f5df9817bed6f6132c11d9fb74c56dc20e9e59619fa9d5c2c9f9bfe2e2de | 0.85 | testing_debugging_repair_refactoring | 4,161 | false | 2026-07-17 |
using System;
using Autofac.Integration.Owin;
using Microsoft.Owin;
using Moq;
using NUnit.Framework;
namespace Autofac.Tests.Integration.Owin
{
[TestFixture]
public class OwinContextExtensionsFixture
{
[Test]
public void GetAutofacLifetimeScopeReturnsInstanceFromContext()
{
... | IdentityServer/Autofac.Owin | tests/Autofac.Tests.Integration.Owin/OwinContextExtensionsFixture.cs | https://github.com/IdentityServer/Autofac.Owin/blob/HEAD/tests/Autofac.Tests.Integration.Owin/OwinContextExtensionsFixture.cs | ghcode:00171:41ac02dae8d2 | mit | codeparrot/github-code | 41ac02dae8d22c8c4f526a8ec2d11908232af532ef237d24e6442166e4b28a0d | 0.75 | testing_debugging_repair_refactoring | 177 | 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.IO;
using System.Text.RegularExpressions;
using Microsoft.NodejsTools.Debugger;
using Microsoft.NodejsTools.Debugger.Commands;
usin... | lukedgr/nodejstools | Nodejs/Tests/Core/Debugger/Commands/SetBreakpointCommandTests.cs | https://github.com/lukedgr/nodejstools/blob/HEAD/Nodejs/Tests/Core/Debugger/Commands/SetBreakpointCommandTests.cs | ghcode:00171:96dd4a63553b | apache-2.0 | codeparrot/github-code | 96dd4a63553b8af7fe7b11103efb3b7ee0c25e1fd324aa229bb9beb2c5770c64 | 0.95 | testing_debugging_repair_refactoring | 2,112 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | samaitra/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistenceTest.cs | https://github.com/samaitra/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistenceTest.cs | ghcode:00171:8b8a115d64e2 | apache-2.0 | codeparrot/github-code | 8b8a115d64e296f0d2f8ed6b4071baebb1c61a087bf21396ad328a9725a2c8ce | 0.85 | testing_debugging_repair_refactoring | 2,876 | 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.IO;
using System.Linq;
using System.Xml;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utilities;
using ... | VSadov/roslyn | src/Compilers/CSharp/Test/Emit/PDB/CSharpPDBTestBase.cs | https://github.com/VSadov/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/PDB/CSharpPDBTestBase.cs | ghcode:00171:46a76a0d3f86 | apache-2.0 | codeparrot/github-code | 46a76a0d3f86b46fb07582e33c25f350014e10c270222b8bc47b0d91acd963ad | 0.85 | testing_debugging_repair_refactoring | 550 | 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.IO;
/// <summary>Extensions to enable the tests to use the span-based Read/Write methods... | krk/corefx | src/Common/tests/System/IO/StreamSpanExtensions.netstandard.cs | https://github.com/krk/corefx/blob/HEAD/src/Common/tests/System/IO/StreamSpanExtensions.netstandard.cs | ghcode:00171:dc6e25f4f66f | mit | codeparrot/github-code | dc6e25f4f66fc116c9fe4b78291b8c2f097565250455ca96cd8a465dd481af35 | 0.95 | testing_debugging_repair_refactoring | 199 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Threading;
usin... | DustinCampbell/roslyn | src/VisualStudio/Core/Def/Implementation/TableDataSource/VisualStudioBaseTodoListTable.cs | https://github.com/DustinCampbell/roslyn/blob/HEAD/src/VisualStudio/Core/Def/Implementation/TableDataSource/VisualStudioBaseTodoListTable.cs | ghcode:00171:3de97da33a16 | apache-2.0 | codeparrot/github-code | 3de97da33a16dbf7bd68c29420d69e611e5625d8258b212e2879daea2829b235 | 0.85 | testing_debugging_repair_refactoring | 2,222 | false | 2026-07-17 |
using System;
using System.Reflection;
namespace Ploeh.AutoFixture.Xunit2
{
/// <summary>
/// Base class for customizing parameters in methods decorated with
/// <see cref="AutoDataAttribute"/>.
/// </summary>
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = true)]
public abstract c... | mrinaldi/AutoFixture | Src/AutoFixture.xUnit.net2/CustomizeAttribute.cs | https://github.com/mrinaldi/AutoFixture/blob/HEAD/Src/AutoFixture.xUnit.net2/CustomizeAttribute.cs | ghcode:00171:3c3c39803f95 | mit | codeparrot/github-code | 3c3c39803f95742568acb8b45a7321c6d2269a749be57871e07c6921a11abe82 | 0.7 | testing_debugging_repair_refactoring | 136 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | mayurid/azure-powershell | src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/RemoveBatchPoolCommandTests.cs | https://github.com/mayurid/azure-powershell/blob/HEAD/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/RemoveBatchPoolCommandTests.cs | ghcode:00171:7a08d3eb171f | apache-2.0 | codeparrot/github-code | 7a08d3eb171f4569da442e65b8659e59896a0b9a3bd56a2106bf0d438e461a2f | 0.85 | testing_debugging_repair_refactoring | 518 | 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.Buffers;
using System.Buffers.Text;
using System.Collections.Generic;
using System.Diagnostics;
using S... | ViktorHofer/corefx | src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnection.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnection.cs | ghcode:00171:7860fa027fcb | mit | codeparrot/github-code | 7860fa027fcbb28db7eb75fd2576ce31a5e227aee177b23da83eb379305fac6a | 0.82 | testing_debugging_repair_refactoring | 16,187 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.Un... | jkotas/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/DefineKeywordRecommenderTests.cs | https://github.com/jkotas/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/DefineKeywordRecommenderTests.cs | ghcode:00171:00a8c1370f41 | apache-2.0 | codeparrot/github-code | 00a8c1370f416a6ed0b0195e37469353e63a4c0a6f17720b3bdb17271ca3c6e2 | 0.75 | testing_debugging_repair_refactoring | 583 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.IO;
using System.Reflection;
using Xunit;
namespace System.Diagnostics.TraceSourceTests
{
public p... | ptoonen/corefx | src/System.Diagnostics.TraceSource/tests/DefaultTraceListenerClassTests.cs | https://github.com/ptoonen/corefx/blob/HEAD/src/System.Diagnostics.TraceSource/tests/DefaultTraceListenerClassTests.cs | ghcode:00171:8fec276fd9d3 | mit | codeparrot/github-code | 8fec276fd9d3867ab525caf4ba972d0e4c1413a2bf8c0da75c884ccdb5ac9d03 | 0.95 | testing_debugging_repair_refactoring | 802 | 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 Xunit;
namespace System.Security.Cryptography.ECDiffieHellman.Tests
{
public class ECDiffieHellmanPublicK... | dotnet-bot/corefx | src/System.Security.Cryptography.Algorithms/tests/ECDiffieHellmanPublicKeyTests.cs | https://github.com/dotnet-bot/corefx/blob/HEAD/src/System.Security.Cryptography.Algorithms/tests/ECDiffieHellmanPublicKeyTests.cs | ghcode:00171:4e5e268e6d1a | mit | codeparrot/github-code | 4e5e268e6d1a2a653edbc23562c2a1fff7c6f06c6e417621ba63245a21ece05e | 0.95 | testing_debugging_repair_refactoring | 244 | false | 2026-07-17 |
using System.Threading.Tasks;
using Xunit;
using Shouldly;
using ProGaudi.Tarantool.Client.Model;
namespace ProGaudi.Tarantool.Client.Tests.Box
{
public class Eval_Should : TestBase
{
[Fact]
public async Task evaluate_expression()
{
using (var tarantoolClient = await Cli... | aensidhe/tarantool-csharp | tests/progaudi.tarantool.tests/Box/Eval_Should.cs | https://github.com/aensidhe/tarantool-csharp/blob/HEAD/tests/progaudi.tarantool.tests/Box/Eval_Should.cs | ghcode:00171:f9cdabb16b40 | mit | codeparrot/github-code | f9cdabb16b403c36a3ad9a917329e8c501694b7db11d61595f2e3185139073a0 | 0.6 | testing_debugging_repair_refactoring | 434 | false | 2026-07-17 |
using System;
using System.Linq;
using Lightmap.Modeling;
using Lightmap.Models;
using Moq;
namespace Lightmap
{
public class DataModelTests
{
public void Example_of_API()
{
// Arrange
var dataModel = new DataModel();
// String based
ITableBuilde... | scionwest/Lightmap | src/Lightmap.Core/tests/Example_API.cs | https://github.com/scionwest/Lightmap/blob/HEAD/src/Lightmap.Core/tests/Example_API.cs | ghcode:00171:48423b22ecdd | mit | codeparrot/github-code | 48423b22ecdd40d43e0713ae1e5aedc4f3ac96bfc8ca57764c76362520dd6406 | 0.95 | testing_debugging_repair_refactoring | 504 | false | 2026-07-17 |
using System;
using System.Data;
using System.IO;
using System.Linq;
using LinqToDB;
using LinqToDB.Data;
using LinqToDB.DataProvider.Access;
using LinqToDB.SchemaProvider;
using NUnit.Framework;
using Tests;
using Tests.Model;
// for unknown reason order doesn't help on ubuntu 18, so namespace were... | LinqToDB4iSeries/Linq2DB4iSeries | Tests/Linq/Create/CreateData.cs | https://github.com/LinqToDB4iSeries/Linq2DB4iSeries/blob/HEAD/Tests/Linq/Create/CreateData.cs | ghcode:00171:25047462f31c | mit | codeparrot/github-code | 25047462f31cd2500ad314c6233e8f017b6795da03eeace1533686afd6debdd9 | 0.85 | testing_debugging_repair_refactoring | 6,184 | false | 2026-07-17 |
namespace Account.ViewServices
{
using GenderPayGap.BusinessLogic.Account.Abstractions;
using GenderPayGap.Core;
using GenderPayGap.Tests.TestHelpers;
using GenderPayGap.WebUI.Areas.Account.Abstractions;
using GenderPayGap.WebUI.Areas.Account.ViewServices;
using Microsoft.AspNetCore.Mvc;
u... | DFEAGILEDEVOPS/gender-pay-gap | Beta/GenderPayGap.UnitTests/GenderPayGap.WebUI.Tests/Services/Account/ChangeEmailViewServiceTests.cs | https://github.com/DFEAGILEDEVOPS/gender-pay-gap/blob/HEAD/Beta/GenderPayGap.UnitTests/GenderPayGap.WebUI.Tests/Services/Account/ChangeEmailViewServiceTests.cs | ghcode:00171:faa1a8ef4a77 | mit | codeparrot/github-code | faa1a8ef4a7711eb850ffde45fb064f109313107e2d2d9c2c5cf6c872d187da9 | 0.85 | testing_debugging_repair_refactoring | 509 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MathML;
namespace MathML.Tests
{
[TestClass]
public class MathMLPaddedTests
{
private MathMLSerializer _serializer;
... | BenjaminTMilnes/MathML | MathML.Tests/MathMLPaddedTests.cs | https://github.com/BenjaminTMilnes/MathML/blob/HEAD/MathML.Tests/MathMLPaddedTests.cs | ghcode:00171:289e7cdbbd84 | mit | codeparrot/github-code | 289e7cdbbd84117e89c34f8f3c250724df32a7321e8d542fd14ed8a443c73a04 | 0.75 | testing_debugging_repair_refactoring | 291 | false | 2026-07-17 |
using System.Numerics;
using Xunit;
namespace LinqToCompute.Tests
{
public class Matrix3x2Test
{
[Fact]
public void MemoryLayout()
{
Matrix3x2[] input = { new Matrix3x2(1, 2, 3, 4, 5, 6), new Matrix3x2(7, 8, 9, 10, 11, 12) };
Matrix3x2[] expectedOutput = { new M... | discosultan/LinqToCompute | Tests/Matrix3x2Test.cs | https://github.com/discosultan/LinqToCompute/blob/HEAD/Tests/Matrix3x2Test.cs | ghcode:00171:b501a26b454f | mit | codeparrot/github-code | b501a26b454fa975dd46885fe628099996a3cf25b74e3ef2fb1ba1098c4419b7 | 0.6 | testing_debugging_repair_refactoring | 881 | 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 osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Testing;
using osuTK;
using osuTK.Graphics;
... | Tom94/osu-framework | osu.Framework.Tests/Visual/TestCaseSprites/TestCaseSmoothedEdges.cs | https://github.com/Tom94/osu-framework/blob/HEAD/osu.Framework.Tests/Visual/TestCaseSprites/TestCaseSmoothedEdges.cs | ghcode:00171:f01d79898e90 | mit | codeparrot/github-code | f01d79898e90fb0d89ea1ba1ee8bf408e11ccfdbe33d0b1c3f95e8ccdd421ce8 | 0.75 | testing_debugging_repair_refactoring | 357 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using NUnit.Framework;
using SimpleContainer.Configuration;
using SimpleContainer.Infection;
using SimpleContainer.Interface;
using SimpleContainer.Tests.Helpers;
namespace SimpleContainer.Tests
{
public abstract c... | gusev-p/simple-container | _Src/Tests/BasicTest.cs | https://github.com/gusev-p/simple-container/blob/HEAD/_Src/Tests/BasicTest.cs | ghcode:00171:d2d4b1554b13 | mit | codeparrot/github-code | d2d4b1554b132fe360b569687de395a4a920e18eee12161edc567f7a68c20fd5 | 0.85 | testing_debugging_repair_refactoring | 9,821 | false | 2026-07-17 |
// Copyright (c) the authors of nanoGames. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt in the project root.
using Xunit;
namespace NanoGames.Tests
{
public class VectorTests
{
[Fact]
public void ObjectEquals()
{
var a = new Vector(1, 2);
... | codeflo/nanogames | NanoGames.Tests/VectorTests.cs | https://github.com/codeflo/nanogames/blob/HEAD/NanoGames.Tests/VectorTests.cs | ghcode:00171:e254e2cd99e8 | mit | codeparrot/github-code | e254e2cd99e8fb906683c4ca9cacbb6296dad43253fc5bc1f4cf12bdce5c6004 | 0.75 | testing_debugging_repair_refactoring | 345 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.LayoutRules
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAn... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test/LayoutRules/SA1500/SA1500UnitTests.Properties.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test/LayoutRules/SA1500/SA1500UnitTests.Properties.cs | ghcode:00171:068361a1b865 | mit | codeparrot/github-code | 068361a1b865ebec75db0bda7f1b5277adcd89b6e6a717ff6de9bebe199a874a | 0.85 | testing_debugging_repair_refactoring | 2,972 | false | 2026-07-17 |
using System.IO;
using Oryza.Infrastructure.Parsing;
using Oryza.TestBase;
using Oryza.TestBase.Composition;
using Xunit;
namespace Oryza.Infrastructure.Tests.Parsing
{
public class PriceTableParserBlockTest : Test
{
[Fact]
public void Parse_InputHtml_ReturnsHtmlPriceTable()
{
... | sonbua/Oryza | src/Oryza.Infrastructure.Tests/Parsing/PriceTableParserBlockTest.cs | https://github.com/sonbua/Oryza/blob/HEAD/src/Oryza.Infrastructure.Tests/Parsing/PriceTableParserBlockTest.cs | ghcode:00171:26656bcbade4 | mit | codeparrot/github-code | 26656bcbade4b4102d800b3467b8670ddaf1b31dd4f2128c2fb144e3d2093f89 | 0.7 | testing_debugging_repair_refactoring | 139 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Globalization;
using System.Threading;
using System.IO;
using System.Collections;
using System.Linq;
namespace AlviSharp.Parser.ITests
{
[TestFixture("pl-PL")]
//[TestFixture("tr-TR")]
public class FileTests
{
private static readonly string TestPath =TestUtiliti... | arekbee/AlviSharp | Src/AlviSharp/Tests/AlviSharp.Parser.ITests/Test.cs | https://github.com/arekbee/AlviSharp/blob/HEAD/Src/AlviSharp/Tests/AlviSharp.Parser.ITests/Test.cs | ghcode:00171:b83df47c84c8 | mit | codeparrot/github-code | b83df47c84c87d67109f1c53c696d12979dd9629546dbe2747b4aae400e66331 | 0.85 | testing_debugging_repair_refactoring | 519 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.