text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using System;
using System.Collections;
using System.Linq;
using Xunit;
namespace Popsql.Tests
{
public class SqlValuesTests
{
[Fact]
public void Add_WithNullValues_ThrowsArgumentNull()
{
var values = new SqlValues();
Assert.Throws<ArgumentNullException>(() => values.Add(null));
}
[Fact]
public v... | WouterDemuynck/popsql | src/Popsql.Tests/SqlValuesTests.cs | https://github.com/WouterDemuynck/popsql/blob/HEAD/src/Popsql.Tests/SqlValuesTests.cs | ghcode:00000:b2e0b66544c6 | mit | codeparrot/github-code | b2e0b66544c6236b4c208501fe6fd023920c2cb7fb52fc53a5ff07cbfa74ce72 | 0.75 | testing_debugging_repair_refactoring | 311 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using IdentityServer3.Core.Events;
using IdentityServer3.ElasticSearchEventService.Extensions;
using IdentityServer3.ElasticSearchEventService.Mapping;
using IdentityServer3.ElasticSearchEventService.Mapping.Configuration... | johnkors/IdentityServer3.Contrib.ElasticSearchEventService | source/Unittests/DefaultLogEventMapperTests.cs | https://github.com/johnkors/IdentityServer3.Contrib.ElasticSearchEventService/blob/HEAD/source/Unittests/DefaultLogEventMapperTests.cs | ghcode:00000:62c95991ce59 | mit | codeparrot/github-code | 62c95991ce59dd48b18266846fca83773d612e8adb6834a610e83571190b3fb6 | 0.75 | testing_debugging_repair_refactoring | 871 | false | 2026-07-17 |
using NUnit.Framework;
using Ploeh.AutoFixture;
using RememBeer.Models.Dtos;
using RememBeer.Tests.Utils;
namespace RememBeer.Tests.Models.Dtos
{
[TestFixture]
public class BeerDtoTests : TestClassBase
{
[Test]
public void Setters_ShouldSetProperties()
{
var id = this... | J0hnyBG/RememBeerMe | src/RememBeer.Tests/Models/Dtos/BeerDtoTests.cs | https://github.com/J0hnyBG/RememBeerMe/blob/HEAD/src/RememBeer.Tests/Models/Dtos/BeerDtoTests.cs | ghcode:00000:7688df069cee | mit | codeparrot/github-code | 7688df069cee061d06a9cf4763145c8d0d19ffb2df2db9b651302c5f860ccdcc | 0.75 | testing_debugging_repair_refactoring | 202 | false | 2026-07-17 |
using Academy.Core.Contracts;
using Academy.Commands.Adding;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Academy.Tests.Commands.Mocks;
namespace Academy.Tests.Commands.AddingTests.AddStudentToSea... | TelerikAcademy/Unit-Testing | Topics/04. Workshops/Workshop (Students)/Academy/Workshop/Academy.Tests/Commands/Adding/AddStudentToSeasonCommandTests/Constructor_Should.cs | https://github.com/TelerikAcademy/Unit-Testing/blob/HEAD/Topics/04. Workshops/Workshop (Students)/Academy/Workshop/Academy.Tests/Commands/Adding/AddStudentToSeasonCommandTests/Constructor_Should.cs | ghcode:00000:cf98a61ff470 | mit | codeparrot/github-code | cf98a61ff470b7bc8d239d3b2fcca5f8417c77c3972b82cc8d282a752d246ccc | 0.7 | testing_debugging_repair_refactoring | 376 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.AccessControl;
using System.Text;
using System.Threading.Tasks;
namespace DynamicSerializer.Test
{
public class IX
{
public int IP { get; set; }
}
[Serializable]
public class A
{
public A()
{
... | conwid/IL-boss | DynamicSerializer.Test/TestClasses.cs | https://github.com/conwid/IL-boss/blob/HEAD/DynamicSerializer.Test/TestClasses.cs | ghcode:00000:b0599c88794e | mit | codeparrot/github-code | b0599c88794e212ffd1bb5eefd7ef1ddbed5f1468c90b2771320f4f3596c696e | 0.75 | testing_debugging_repair_refactoring | 509 | false | 2026-07-17 |
using System;
using System.Linq;
using Cresce.Datasources.Sql;
using Cresce.Models;
using NUnit.Framework;
namespace Cresce.Business.Tests.Integration.Sql
{
[TestFixture]
internal class InvoiceRepositoryTests : SqlTests
{
private SqlInvoiceRepository _repository;
private Patient _patient;
... | AlienEngineer/Cresce | Cresce.Tests.Integration/Sql/InvoiceRepositoryTests.cs | https://github.com/AlienEngineer/Cresce/blob/HEAD/Cresce.Tests.Integration/Sql/InvoiceRepositoryTests.cs | ghcode:00000:0fab7c20c2fc | mit | codeparrot/github-code | 0fab7c20c2fcbae7a0c5b16bd7438ce567627b99c246efde169061a8690ad3e6 | 0.85 | testing_debugging_repair_refactoring | 815 | false | 2026-07-17 |
using Humanizer.Localisation;
using Xunit;
using Xunit.Extensions;
namespace Humanizer.Tests.Localisation.ptBR
{
public class DateHumanizeTests : AmbientCulture
{
public DateHumanizeTests() : base("pt-BR") { }
[Theory]
[InlineData(-2, "2 segundos atrás")]
[InlineData(-1, "um s... | hhariri/Humanizer | src/Humanizer.Tests/Localisation/pt-BR/DateHumanizeTests.cs | https://github.com/hhariri/Humanizer/blob/HEAD/src/Humanizer.Tests/Localisation/pt-BR/DateHumanizeTests.cs | ghcode:00000:e78becb08234 | mit | codeparrot/github-code | e78becb0823444efdca505f6006b4400a44f5a223c1ca32c876a9391bd38597c | 0.75 | testing_debugging_repair_refactoring | 798 | false | 2026-07-17 |
/* ----------------------------------------------------------------------------
* Copyright (C) 2013 Arne F. Claassen
* geekblog [at] claassen [dot] net
* http://github.com/sdether/Calculon
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated d... | sdether/Calculon | Calculon.Tests/BuilderTests.cs | https://github.com/sdether/Calculon/blob/HEAD/Calculon.Tests/BuilderTests.cs | ghcode:00000:800c1738db87 | mit | codeparrot/github-code | 800c1738db8760aeb30eac1200717484322497eedf0fc53c319c086230619d48 | 0.75 | testing_debugging_repair_refactoring | 436 | false | 2026-07-17 |
using System;
using Xunit;
using System.Linq;
using hihapi.Models;
using hihapi.Controllers;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.OData.Results;
using hihapi.test.common;
namespace hihapi.unittest.Finance
{
[Collection("HIHAPI_Un... | alvachien/achihapi | test/hihapi.test/UnitTests/Finance/Config/FinanceDocumentTypesControllerTest.cs | https://github.com/alvachien/achihapi/blob/HEAD/test/hihapi.test/UnitTests/Finance/Config/FinanceDocumentTypesControllerTest.cs | ghcode:00000:6b7704666b9c | mit | codeparrot/github-code | 6b7704666b9c1f641faefa6934fbcb6881dba4477ef13b10d17a3a3c3b6ccf3e | 0.7 | testing_debugging_repair_refactoring | 847 | false | 2026-07-17 |
using System;
using System.Diagnostics;
namespace Oragon.Architecture.IO.Path
{
partial class PathHelpers
{
#region Private Classes
private sealed class RelativeFilePath : RelativePathBase, IRelativeFilePath
{
#region Internal Constructors
internal RelativeFilePath(string pathString)
: base(pathStr... | luizcarlosfaria/Oragon.Architecture | [source]/Oragon.Architecture/IO/Path/PathHelpers+RelativeFilePath.cs | https://github.com/luizcarlosfaria/Oragon.Architecture/blob/HEAD/[source]/Oragon.Architecture/IO/Path/PathHelpers+RelativeFilePath.cs | ghcode:00000:a4a3103dcd0d | mit | codeparrot/github-code | a4a3103dcd0db38c9ac782114b26051a7c6c94efb8c8368c50011f9fb583e761 | 0.7 | testing_debugging_repair_refactoring | 987 | false | 2026-07-17 |
using System.Threading;
using CodeTiger;
using Xunit;
namespace UnitTests.CodeTiger
{
public class LazyTests
{
public class Create1
{
[Fact]
public void SetsIsValueCreatedToFalse()
{
var target = Lazy.Create<object>();
Assert... | csdahlberg/CodeTigerLib | UnitTests/UnitTests.CodeTiger.Core/LazyTests.cs | https://github.com/csdahlberg/CodeTigerLib/blob/HEAD/UnitTests/UnitTests.CodeTiger.Core/LazyTests.cs | ghcode:00000:0833948d9d3d | mit | codeparrot/github-code | 0833948d9d3d7214c66498d03bef1b0854abb5e89e4fda99ab178734f4e60d40 | 0.75 | testing_debugging_repair_refactoring | 1,176 | false | 2026-07-17 |
using System.Threading.Tasks;
using FluentAssertions;
using Histrio.Testing;
using Xunit;
namespace Histrio.Tests.Cell
{
public class When_getting_a_value_from_a_cell : GivenWhenThen
{
[Theory,
InlineData(true),
InlineData(333),
InlineData(new[] {true, true}),
Inline... | MCGPPeters/Histrio | old/src/Histrio.Tests/Cell/When_getting_a_value_from_a_cell.cs | https://github.com/MCGPPeters/Histrio/blob/HEAD/old/src/Histrio.Tests/Cell/When_getting_a_value_from_a_cell.cs | ghcode:00000:55722cdd779d | mit | codeparrot/github-code | 55722cdd779de79110ed76fe75bf284bf35d78a7fa59dedac5bea519eb2b2a7a | 0.7 | testing_debugging_repair_refactoring | 249 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ModelAppServiceInfoProviderTest.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE fi... | quartz-software/kephas | src/Tests/Kephas.Model.Tests/ModelAppServiceInfoProviderTest.cs | https://github.com/quartz-software/kephas/blob/HEAD/src/Tests/Kephas.Model.Tests/ModelAppServiceInfoProviderTest.cs | ghcode:00000:84df201141dc | mit | codeparrot/github-code | 84df201141dc50911478f83c0f7a6316bceacc76ec482595fe78052da1f42cb2 | 0.95 | testing_debugging_repair_refactoring | 317 | false | 2026-07-17 |
using System.IO;
using System.Diagnostics;
using NDepend.Path;
namespace NDepend.Test.Unit {
public static class DirForTest {
public static IAbsoluteDirectoryPath ExecutingAssemblyDir {
get {
// If this following line doesn't work, it is because of ShadowCopyCache with NUnit
... | psmacchia/NDepend.Path | NDepend.Path.Tests/DirForTest.cs | https://github.com/psmacchia/NDepend.Path/blob/HEAD/NDepend.Path.Tests/DirForTest.cs | ghcode:00000:6732923fde6f | mit | codeparrot/github-code | 6732923fde6f0fc174f6575c0f19d3d864e10fdf49673948c6df54d1738e0166 | 0.7 | testing_debugging_repair_refactoring | 724 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Xunit;
namespace MR.AspNetCore.Jobs.Server
{
public class InfiniteRetryProcessorTest
{
[Fact]
public async Task Process_ThrowingProcessingCanceledException_Returns()
{
// Arr... | mrahhal/MR.AspNetCore.Jobs | test/MR.AspNetCore.Jobs.Tests/Server/InfiniteRetryProcessorTest.cs | https://github.com/mrahhal/MR.AspNetCore.Jobs/blob/HEAD/test/MR.AspNetCore.Jobs.Tests/Server/InfiniteRetryProcessorTest.cs | ghcode:00000:2084f9a17c20 | mit | codeparrot/github-code | 2084f9a17c20905529eeeb8b48bf620db6b160405c0ba61d4a2a6e77f32b494b | 0.6 | testing_debugging_repair_refactoring | 185 | false | 2026-07-17 |
namespace RapidFTP.Chilkat.Tests.Utilities
{
using System.Diagnostics;
using RapidFTP.Models;
using RapidFTP.Utilities;
using Xunit;
using Xunit.Extensions;
public class UnixPathTest
{
[InlineData("/lv1", 1)]
[InlineData("/lv1/lv2", 2)]
[InlineData("/lv1/lv2/", 2)... | khoale/RapidFTP | src/RapidFTP.Chilkat.Tests/Utilities/UnixPathTest.cs | https://github.com/khoale/RapidFTP/blob/HEAD/src/RapidFTP.Chilkat.Tests/Utilities/UnixPathTest.cs | ghcode:00000:3df1a7e2411b | mit | codeparrot/github-code | 3df1a7e2411babc769d4d95e840d61e837f83e9bda0dd24948df1d7138808782 | 0.6 | testing_debugging_repair_refactoring | 357 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using Reinforced.Typings.Fluent;
using Xunit;
namespace Reinforced.Typings.Tests.SpecificCases
{
public partial class SpecificTestCases
{
[Fact]
public void ReferencesPart6ByDanielWest()
{
/**
* Specific test ca... | reinforced/Reinforced.Typings | Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ReferencesPart6ByDanielWest.cs | https://github.com/reinforced/Reinforced.Typings/blob/HEAD/Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ReferencesPart6ByDanielWest.cs | ghcode:00000:96c6f879a28e | mit | codeparrot/github-code | 96c6f879a28e175ac2e845234c792e4b598e15938c585132661ee9304523c3eb | 0.6 | testing_debugging_repair_refactoring | 330 | false | 2026-07-17 |
namespace UrlBuilderTests
{
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Se.Url;
[TestClass]
public class QueryParamTest
{
[TestMethod]
public void DefaultQueryParam()
{
var url = new UrlBuilde... | shoutem/UrlBuilder | UrlBuilderTests/QueryParamTest.cs | https://github.com/shoutem/UrlBuilder/blob/HEAD/UrlBuilderTests/QueryParamTest.cs | ghcode:00000:4937306189eb | mit | codeparrot/github-code | 4937306189eb006d90592d94969ceb96bfba81b1b93c7184ecfb53ed67528b18 | 0.7 | testing_debugging_repair_refactoring | 1,174 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Test.Utilities;
using Xunit;
using VerifyCS = Test.Utilities.CSharpCodeFixVerifier<
Microsoft.CodeQuality.Analyzers.ApiDesignGuidelin... | dotnet/roslyn-analyzers | src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/EnumsShouldHaveZeroValueTests.Fixer.cs | https://github.com/dotnet/roslyn-analyzers/blob/HEAD/src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/EnumsShouldHaveZeroValueTests.Fixer.cs | ghcode:00000:69fb81f06b5e | mit | codeparrot/github-code | 69fb81f06b5e4bcf90c043b1b1f8feb093ba933fdfb3a65f8765ed2c58913c1b | 0.7 | testing_debugging_repair_refactoring | 2,703 | false | 2026-07-17 |
//
// PgpMimeTests.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2022 .NET Foundation and Contributors
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Soft... | jstedfast/MimeKit | UnitTests/Cryptography/PgpMimeTests.cs | https://github.com/jstedfast/MimeKit/blob/HEAD/UnitTests/Cryptography/PgpMimeTests.cs | ghcode:00000:aca8107dc99f | mit | codeparrot/github-code | aca8107dc99fd7a408a8568f2729692369a5adf320322237f9d1520911b55e94 | 0.72 | testing_debugging_repair_refactoring | 24,267 | false | 2026-07-17 |
using System;
using System.IO;
using Xunit;
namespace OpenSage.Tests.Data
{
internal static class TestUtility
{
public static T DoRoundtripTest<T>(
Func<Stream> getOriginalStream,
Func<Stream, T> parseCallback,
Action<T, Stream> serializeCallback,
bool s... | feliwir/openSage | src/OpenSage.Game.Tests/Data/TestUtility.cs | https://github.com/feliwir/openSage/blob/HEAD/src/OpenSage.Game.Tests/Data/TestUtility.cs | ghcode:00000:ecc693f1e704 | mit | codeparrot/github-code | ecc693f1e70482d389a401b0b838efa4578e8f5dae3174bb3b5e4693d2dd86e1 | 0.75 | testing_debugging_repair_refactoring | 325 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using PholioVisualisation.DataAccess;
using PholioVisualisation.DataConstruction;
using PholioVisualisation.Export;
using PholioVisualisation.Export.FileBuilder.Containers;
using PholioVisualisation.Export.FileBuilder.SupportModels;
using PholioVisualisati... | PublicHealthEngland/fingertips-open | PholioVisualisationWS/ExportTest/FileBuilder/Writers/CsvBuilderIndicatorDataWriterTest.cs | https://github.com/PublicHealthEngland/fingertips-open/blob/HEAD/PholioVisualisationWS/ExportTest/FileBuilder/Writers/CsvBuilderIndicatorDataWriterTest.cs | ghcode:00000:671920d52e2f | mit | codeparrot/github-code | 671920d52e2f08e82efcb37877f2b2c56c8b0cc7369b84f4f2e183739b222eaa | 0.6 | testing_debugging_repair_refactoring | 1,250 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace MyApp.Repository.Testing
{
internal class InMemoryRepositoryTests
{
//================================================================================
[Test]
public void Standard()
{
var repo... | antanta/MyApp | MyApp.Repository/Testing/Tests.cs | https://github.com/antanta/MyApp/blob/HEAD/MyApp.Repository/Testing/Tests.cs | ghcode:00000:f2bb11d2088d | mit | codeparrot/github-code | f2bb11d2088dafaa27ab530c6ecf3788d3295d141439bdff90386276f6f63255 | 0.85 | testing_debugging_repair_refactoring | 431 | false | 2026-07-17 |
// ReSharper disable RedundantNameQualifier
// ReSharper disable InconsistentNaming
namespace Gu.Analyzers.Benchmarks.Benchmarks
{
public class GU0050IgnoreEventsWhenSerializingBenchmarks
{
private static readonly Gu.Roslyn.Asserts.Benchmark Benchmark = Gu.Roslyn.Asserts.Benchmark.Create(Code.AnalyzersP... | JohanLarsson/Gu.Analyzers | Gu.Analyzers.Benchmarks/Benchmarks/GU0050IgnoreEventsWhenSerializingBenchmarks.cs | https://github.com/JohanLarsson/Gu.Analyzers/blob/HEAD/Gu.Analyzers.Benchmarks/Benchmarks/GU0050IgnoreEventsWhenSerializingBenchmarks.cs | ghcode:00000:a7a66d8353a8 | mit | codeparrot/github-code | a7a66d8353a821a4450c94c3ab32e9308a0a7a109138cdbb65a2e19968cf5ba4 | 0.6 | testing_debugging_repair_refactoring | 124 | false | 2026-07-17 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by Brian Nelson 2016. *
* See license in repo for more information *
* https://github.com/sharpHDF/sharpHDF *
* ... | sharpHDF/sharpHDF | src/sharpHDFTests/Objects/Hdf5AttributeTests.cs | https://github.com/sharpHDF/sharpHDF/blob/HEAD/src/sharpHDFTests/Objects/Hdf5AttributeTests.cs | ghcode:00000:e57e44b358f3 | mit | codeparrot/github-code | e57e44b358f3e52b88b97968c8af1586ccedfa59e74837bf76eeb929b49b01b2 | 0.75 | testing_debugging_repair_refactoring | 4,932 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Moq;
using NUnit.Framework;
using Ploeh.AutoFixture;
using RememBeer.Models.Contracts;
using RememBeer.Models.Dtos;
using RememBeer.Models.Factories;
using RememBeer.Services.RankingStrategies;
using RememBeer.Tests.Utils;
namespace RememBee... | J0hnyBG/RememBeerMeMvc | src/RememBeer.Tests/Services/RankingStrategies/DoubleOverallScoreStrategyTests/GetBeerRank_Should.cs | https://github.com/J0hnyBG/RememBeerMeMvc/blob/HEAD/src/RememBeer.Tests/Services/RankingStrategies/DoubleOverallScoreStrategyTests/GetBeerRank_Should.cs | ghcode:00000:a42eb10ecd07 | mit | codeparrot/github-code | a42eb10ecd077c4ff7bc5e3f3bf50e669c234077855afc451d462778d0c1b0a7 | 0.7 | testing_debugging_repair_refactoring | 1,160 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using CommonCache.Test.Common;
using Microso... | AzureAD/microsoft-authentication-library-for-dotnet | tests/CacheCompat/CommonCache.Test.Unit/Utils/CacheTestExecutor.cs | https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/HEAD/tests/CacheCompat/CommonCache.Test.Unit/Utils/CacheTestExecutor.cs | ghcode:00000:4f30d9d8aafe | mit | codeparrot/github-code | 4f30d9d8aafe66e9952f30af5f5b6d7d9178b1baf5f143b2ae5b7a9e9870ec1f | 0.75 | testing_debugging_repair_refactoring | 911 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
namespace RefinId.Specs
{
public class TestStorage : ILongIdStorage
{
private List<long> _values;
public TestStorage(params long[] values)
{
_values = new List<long>(values);
}
public List<long> Values
{
get { return _values; }
}
public List<l... | OlegAxenow/refinid | Refinid.Specs/TestStorage.cs | https://github.com/OlegAxenow/refinid/blob/HEAD/Refinid.Specs/TestStorage.cs | ghcode:00000:78864d93940e | mit | codeparrot/github-code | 78864d93940ec74c407b1b2c2f95b304bc041a328517aa19c7822b97cce5c7d7 | 0.75 | testing_debugging_repair_refactoring | 196 | false | 2026-07-17 |
/*
* 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/Integration.Vsix/Delegates/SonarAnalyzerConnectedWorkflow.cs | https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/blob/HEAD/src/Integration.Vsix/Delegates/SonarAnalyzerConnectedWorkflow.cs | ghcode:00000:5c8b3792e4dd | mit | codeparrot/github-code | 5c8b3792e4dd8c7cc5be1fa55b06b3daeea837c79009ebcfb154dfe47589fd93 | 0.7 | testing_debugging_repair_refactoring | 504 | false | 2026-07-17 |
using System;
using MooGet;
using NUnit.Framework;
namespace MooGet.Specs {
[TestFixture]
public class SearchSpec : MooGetSpec {
/*
[TestFixture]
public class API : SearchSpec {
[Test][Ignore]
public void can_search_for_packages_with_an_exact_id() {
}
[Test][Ignore]
public void can_search_fo... | remi/mooget | old/spec/SearchSpec.cs | https://github.com/remi/mooget/blob/HEAD/old/spec/SearchSpec.cs | ghcode:00000:9e2ddbfffa17 | mit | codeparrot/github-code | 9e2ddbfffa17d4f1bb067c88872fbeab88fc60dc282462e7f576b994cb37aa09 | 0.75 | testing_debugging_repair_refactoring | 499 | false | 2026-07-17 |
using Xunit;
using Shouldly;
using System.Linq;
using System;
using System.Text.RegularExpressions;
namespace AutoMapper.UnitTests
{
public class MapFromReverseResolveUsing : AutoMapperSpecBase
{
public class Source
{
public int Total { get; set; }
}
public class De... | mjalil/AutoMapper | src/UnitTests/ReverseMapping.cs | https://github.com/mjalil/AutoMapper/blob/HEAD/src/UnitTests/ReverseMapping.cs | ghcode:00000:270b637c9b10 | mit | codeparrot/github-code | 270b637c9b107b36f8843c5bdf57ed9f602139ecfa2004d822bfeff2c9a7d3ef | 0.7 | testing_debugging_repair_refactoring | 3,358 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml;
using Diagnostics.Tracing;
using Diagnostics.Tracing.Parsers;
using FastSerialization;
using Ut... | brian-dot-net/writeasync | projects/TraceSample/source/TraceEvent/DynamicTraceEventParser.cs | https://github.com/brian-dot-net/writeasync/blob/HEAD/projects/TraceSample/source/TraceEvent/DynamicTraceEventParser.cs | ghcode:00000:60eecbe15d93 | unlicense | codeparrot/github-code | 60eecbe15d93df090ee603c7181655d4e4a1c941e5efd4b2e1c1f034e4650c8d | 0.78 | testing_debugging_repair_refactoring | 8,627 | false | 2026-07-17 |
using IronFoundry.Warden.Containers;
using Xunit;
namespace IronFoundry.Warden.Test
{
using System;
public class ContainerHandleTests
{
[Theory]
[InlineData(1, "idq1ypm7dyb")]
[InlineData(2, "1of9dl2qia1")]
public void GeneratesIdFromRandomGenerator(int input, string expec... | cloudfoundry-incubator/if_warden | IronFoundry.Warden.Test/Containers/ContainerHandleTests.cs | https://github.com/cloudfoundry-incubator/if_warden/blob/HEAD/IronFoundry.Warden.Test/Containers/ContainerHandleTests.cs | ghcode:00000:34ea82aca3bb | apache-2.0 | codeparrot/github-code | 34ea82aca3bb46e197a1ae4d728ac5a97a40c913ddb0fbe23fdb3992caf7d0b6 | 0.75 | testing_debugging_repair_refactoring | 182 | false | 2026-07-17 |
using System.Diagnostics;
namespace Lucene.Net.Index
{
using Lucene.Net.Util;
/*
* 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.
... | laimis/lucenenet | src/Lucene.Net.TestFramework/Index/AllDeletedFilterReader.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.TestFramework/Index/AllDeletedFilterReader.cs | ghcode:00000:5ffea0b5cfb3 | apache-2.0 | codeparrot/github-code | 5ffea0b5cfb38fd1fa2c34bec72bfb0fb97caa2e56981a301d439ac85ff9fa88 | 0.7 | testing_debugging_repair_refactoring | 352 | false | 2026-07-17 |
using System;
namespace NativeAppFabricConsoleUI
{
internal static class CreateRegionTests
{
internal static void CreateRegionWithNonEmptyString()
{
try
{
Logger.PrintTestStartInformation("Creating Region with non-empty string value");
st... | Alachisoft/NCache-Wrapper-For-AppFabric | samples/AppFabricWrapperTest/NativeAppFabricConsoleUI/RegionLevelBasicOperations/CreateRegionTests.cs | https://github.com/Alachisoft/NCache-Wrapper-For-AppFabric/blob/HEAD/samples/AppFabricWrapperTest/NativeAppFabricConsoleUI/RegionLevelBasicOperations/CreateRegionTests.cs | ghcode:00000:c024e342b16f | apache-2.0 | codeparrot/github-code | c024e342b16f69bc3c3221b7ad4988670b41cd31ab5ff7960c8b24782097264f | 0.75 | testing_debugging_repair_refactoring | 435 | false | 2026-07-17 |
using Google.GData.YouTube;
using NUnit.Framework;
namespace Google.GData.Client.UnitTests.YouTube
{
/// <summary>
///This is a test class for PositionTest and is intended
///to contain all PositionTest Unit Tests
///</summary>
[TestFixture]
[Category("YouTube")]
public class PositionTest... | jonny-novikov/google-gdata | src/unittests/youtube/PositionTest.cs | https://github.com/jonny-novikov/google-gdata/blob/HEAD/src/unittests/youtube/PositionTest.cs | ghcode:00000:5fb39b0f6ab1 | apache-2.0 | codeparrot/github-code | 5fb39b0f6ab15034f20480159118cf82e820863a7dd8ab9a5c326113937bde7e | 0.7 | testing_debugging_repair_refactoring | 405 | false | 2026-07-17 |
using FluentAssertions;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
namespace Nest.Tests.Integration.Template
{
[TestFixture]
public class TemplateTests : IntegrationTests
{
[Test]
public void SimplePutAndGet()
{
this.Client.DeleteTemplate("put-template-with-settings");
var putResponse... | Grastveit/NEST | src/Tests/Nest.Tests.Integration/Template/TemplateTests.cs | https://github.com/Grastveit/NEST/blob/HEAD/src/Tests/Nest.Tests.Integration/Template/TemplateTests.cs | ghcode:00000:d2bda280baf9 | apache-2.0 | codeparrot/github-code | d2bda280baf9e8441399c170b5f07b6deaf6e0b1425a380437a2d3aaa5a3b147 | 0.95 | testing_debugging_repair_refactoring | 891 | false | 2026-07-17 |
/*
Copyright 2011 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | MarcWeb/google-api-dotnet-client | Src/GoogleApis.Tools.CodeGen.Tests/Decorator/ResourceDecorator/DefaultEnglishCommentCreatorTest.cs | https://github.com/MarcWeb/google-api-dotnet-client/blob/HEAD/Src/GoogleApis.Tools.CodeGen.Tests/Decorator/ResourceDecorator/DefaultEnglishCommentCreatorTest.cs | ghcode:00000:cb3e1ca42cd5 | apache-2.0 | codeparrot/github-code | cb3e1ca42cd5a2682259226d8821a90727cc49aaf483fbc7bf6be8ac31caa782 | 0.7 | testing_debugging_repair_refactoring | 1,129 | false | 2026-07-17 |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright 2014 Thomas Barnekow (cloning, Flat OPC (with Eric White))
using System;
using System.Diagnostics;
using System.Collection... | tarunchopra/Open-XML-SDK | DocumentFormat.OpenXml/src/Framework/OpenXmlPackage.cs | https://github.com/tarunchopra/Open-XML-SDK/blob/HEAD/DocumentFormat.OpenXml/src/Framework/OpenXmlPackage.cs | ghcode:00000:a1c8d0b2569e | apache-2.0 | codeparrot/github-code | a1c8d0b2569ed9e3bd7fb705550193249b592ec373eb6bd60e9c5d6f91f7c366 | 0.67 | testing_debugging_repair_refactoring | 17,585 | false | 2026-07-17 |
using IntelliTect.Coalesce.CodeGeneration.Generation;
using IntelliTect.Coalesce.Tests.Util;
using IntelliTect.Coalesce.Validation;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Text;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System... | IntelliTect/Coalesce | src/IntelliTect.Coalesce.CodeGeneration.Tests/CodeGenTestBase.cs | https://github.com/IntelliTect/Coalesce/blob/HEAD/src/IntelliTect.Coalesce.CodeGeneration.Tests/CodeGenTestBase.cs | ghcode:00000:e722746bdec2 | apache-2.0 | codeparrot/github-code | e722746bdec2529b3d1f2527164503d6618b6998aab58d8f937cdd9b791b038c | 0.6 | testing_debugging_repair_refactoring | 510 | false | 2026-07-17 |
using UnityEngine;
namespace DefaultNamespace
{
public class FieldGenerationWithRespectToCodeStyleTest : MonoBehaviour
{
public void Update()
{
int[,] test = new int[2,2];
test[0, 0] = 5;
test[test[0,{caret} 1], test[0, test[0,1]]] = 5;
}
}
} | JetBrains/resharper-unity | resharper/resharper-unity/test/data/Unity/CSharp/Intentions/QuickFixes/InefficientMultidimensionalArrayUsage/LocalDeclarationType2.cs | https://github.com/JetBrains/resharper-unity/blob/HEAD/resharper/resharper-unity/test/data/Unity/CSharp/Intentions/QuickFixes/InefficientMultidimensionalArrayUsage/LocalDeclarationType2.cs | ghcode:00000:4c49a46458df | apache-2.0 | codeparrot/github-code | 4c49a46458df8fe7589ef0d73ae0312b42a8bed01caea32f985385f231d17415 | 0.85 | testing_debugging_repair_refactoring | 87 | false | 2026-07-17 |
using System;
using System.IO;
using System.Reflection;
using Moq;
using NUnit.Framework;
using Weald.Service;
namespace Weald.Tests
{
[TestFixture]
public class VisualSvnServerInfoProviderTests
{
private string _tempFilePath;
[SetUp]
public void SetUp()
{
_t... | devopsonwindows/Weald | Weald.Tests/VisualSvnServerInfoProviderTests.cs | https://github.com/devopsonwindows/Weald/blob/HEAD/Weald.Tests/VisualSvnServerInfoProviderTests.cs | ghcode:00000:12fc32c61441 | apache-2.0 | codeparrot/github-code | 12fc32c614416735cc3d8b1cf7d4fe0f59e95a8733634268dcd00c5180758323 | 0.75 | testing_debugging_repair_refactoring | 510 | false | 2026-07-17 |
using System;
using NDatabase.Api;
using NUnit.Framework;
using Test.NDatabase.Odb.Test.VO.Human;
namespace Test.NDatabase.Odb.Test.Query.Criteria
{
public class TestPolyMorphic : ODBTest
{
private const string DbName = "TestPolyMorphic.ndb";
[Test]
public void Test1()
... | WaltChen/NDatabase | tests/NDatabase.Old.UnitTests/NDatabase/Odb/Test/Query/Criteria/TestPolyMorphic.cs | https://github.com/WaltChen/NDatabase/blob/HEAD/tests/NDatabase.Old.UnitTests/NDatabase/Odb/Test/Query/Criteria/TestPolyMorphic.cs | ghcode:00000:8c4b9276489a | apache-2.0 | codeparrot/github-code | 8c4b9276489a4c9a876505ae1dfc636ec13e6c2a607cf172a07390fa495047a7 | 0.85 | testing_debugging_repair_refactoring | 1,335 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
#if USE_FASTQUANT
namespace FastQuant.Tests
#else
namespace SmartQuant.Tests
#endif
{
public class TickSeriesTest
{
[Fact]
public void TestGetIndex()
{
var ts = new... | fastquant/fastquant.dll | test/FastQuant.Tests.Shared/TickSeriesTest.cs | https://github.com/fastquant/fastquant.dll/blob/HEAD/test/FastQuant.Tests.Shared/TickSeriesTest.cs | ghcode:00000:83c2f505b95c | apache-2.0 | codeparrot/github-code | 83c2f505b95c71b22d2c6c863137592c0f9f5f723e6fa787c711f0d60a49798b | 0.85 | testing_debugging_repair_refactoring | 907 | false | 2026-07-17 |
using Foundation.Data.Hibernate;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using NHibernate;
using NHibernate.Context;
using NHibernate.Engine;
namespace Foundation.Tests.Data.Hibernate
{
[TestClass]
public class HibernateUnitOfWorkTests
{
[TestMethod]
pub... | DavidMoore/Foundation | Tests/UnitTests/Foundation.Tests/Data/Hibernate/HibernateUnitOfWorkTests.cs | https://github.com/DavidMoore/Foundation/blob/HEAD/Tests/UnitTests/Foundation.Tests/Data/Hibernate/HibernateUnitOfWorkTests.cs | ghcode:00000:5dfb56b757fd | apache-2.0 | codeparrot/github-code | 5dfb56b757fd93c845b52c64cb645967a8bb468135fce07e643c44f94f623d6d | 0.75 | testing_debugging_repair_refactoring | 886 | false | 2026-07-17 |
// Copyright (c) kuicker.org. All rights reserved.
// Modified By YYYY-MM-DD
// kevinjong 2016-02-11 - Creation
using System.IO;
using System.Linq;
using Xunit;
namespace IsTo.Tests
{
public class TestHelper
{
internal static void StreamComparison(
Stream stream1,
Stream stream2)
... | Kuick/IsTo | IsTo.Tests/Misc/TestHelper.cs | https://github.com/Kuick/IsTo/blob/HEAD/IsTo.Tests/Misc/TestHelper.cs | ghcode:00000:1e1e472ec106 | apache-2.0 | codeparrot/github-code | 1e1e472ec10691f822f04a077aee0d6c8e6cebd3c0a26b154fd34337ccdcd0b0 | 0.85 | testing_debugging_repair_refactoring | 212 | false | 2026-07-17 |
// [[[[INFO>
// Copyright 2015 Epicycle (http://epicycle.org, https://github.com/open-epicycle)
//
// 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... | open-epicycle/Epicycle.Input-cs | projects/Epicycle.Input_cs-Test/Keyboard/KeyEventArgsTest.cs | https://github.com/open-epicycle/Epicycle.Input-cs/blob/HEAD/projects/Epicycle.Input_cs-Test/Keyboard/KeyEventArgsTest.cs | ghcode:00000:1accb235b811 | apache-2.0 | codeparrot/github-code | 1accb235b811fa1403491ad8bfed6d5cb0a39d2f01dde65e6d0c14c319e89891 | 0.7 | testing_debugging_repair_refactoring | 294 | 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.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Linq;
using Microsoft.CodeAnalysis.CSharp;
using Micr... | kelltrick/roslyn | src/EditorFeatures/CSharpTest/ExtractMethod/ExtractMethodTests.cs | https://github.com/kelltrick/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/ExtractMethod/ExtractMethodTests.cs | ghcode:00000:0ef49f2ab1d6 | apache-2.0 | codeparrot/github-code | 0ef49f2ab1d67721c967eeb4e9d559f5d5cefbc9ffc0de2c0cadca314b27180e | 0.65 | testing_debugging_repair_refactoring | 52,548 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.... | davkean/roslyn | src/EditorFeatures/CSharpTest/Diagnostics/DiagnosticAnalyzerDriver/DiagnosticAnalyzerDriverTests.cs | https://github.com/davkean/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/DiagnosticAnalyzerDriver/DiagnosticAnalyzerDriverTests.cs | ghcode:00000:1932993149ec | apache-2.0 | codeparrot/github-code | 1932993149ec31e51f7a7e257f5a6f4142e97f5706ce629cb116aa0a950145ee | 0.85 | testing_debugging_repair_refactoring | 6,715 | false | 2026-07-17 |
// -----------------------------------------------------------------------------------------
// <copyright file="TableSasUnitTests.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in comp... | MatthewSteeples/azure-storage-net | Test/ClassLibraryCommon/Table/SAS/TableSasUnitTests.cs | https://github.com/MatthewSteeples/azure-storage-net/blob/HEAD/Test/ClassLibraryCommon/Table/SAS/TableSasUnitTests.cs | ghcode:00000:419fde7263e9 | apache-2.0 | codeparrot/github-code | 419fde7263e96bc0262ac270d36f7d83019226b98642bb1fcf7438a05575b24d | 0.72 | testing_debugging_repair_refactoring | 12,645 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using CoolNameGenerator.GA.Chromosomes;
using CoolNameGenerator.GA.Crossovers;
using NUnit.Framework;
using Rhino.Mocks;
using TestSharp;
namespace Test.GA.Crossovers
{
[TestFixture]
[Category("Crossovers")]
public class OrderedCrossoverTest
{
... | Behzadkhosravifar/CoolNameGenerator | src/Test/GA/Crossovers/OrderedCrossoverTest.cs | https://github.com/Behzadkhosravifar/CoolNameGenerator/blob/HEAD/src/Test/GA/Crossovers/OrderedCrossoverTest.cs | ghcode:00000:6df53c6a962b | apache-2.0 | codeparrot/github-code | 6df53c6a962b635e7a6265a53ed9a1645f661411026932318316dc24bc8e48bf | 0.95 | testing_debugging_repair_refactoring | 1,214 | false | 2026-07-17 |
#define SQLITE_ASCII
#define SQLITE_DISABLE_LFS
#define SQLITE_ENABLE_OVERSIZE_CELL_CHECK
#define SQLITE_MUTEX_OMIT
#define SQLITE_OMIT_AUTHORIZATION
#define SQLITE_OMIT_DEPRECATED
#define SQLITE_OMIT_GET_TABLE
#define SQLITE_OMIT_INCRBLOB
#define SQLITE_OMIT_LOOKASIDE
#define SQLITE_OMIT_SHARED_CACHE
#define SQLITE_OM... | hsu1994/Terminator | Client/Assets/Scripts/Air2000/Utility/Sqlite/Sqlite3/source/src/attach_c.cs | https://github.com/hsu1994/Terminator/blob/HEAD/Client/Assets/Scripts/Air2000/Utility/Sqlite/Sqlite3/source/src/attach_c.cs | ghcode:00000:5a6a342f5d9b | apache-2.0 | codeparrot/github-code | 5a6a342f5d9bb5f95951f88a22f3ce996648677b5f87bcd072b284ab176b52b4 | 0.8 | testing_debugging_repair_refactoring | 5,639 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ocronet.Dynamic.Recognizers;
using Ocronet.Dynamic.OcroFST;
using Ocronet.Dynamic;
using Ocronet.Dynamic.ImgLib;
using Ocronet.Dynamic.Interfaces;
using Ocronet.Dynamic.Utils;
using Ocronet.Dynamic.IOData;
using System.IO;
usin... | nickun/OCRonet | Ocronet.Dynamic/Tests/TestLinerec.cs | https://github.com/nickun/OCRonet/blob/HEAD/Ocronet.Dynamic/Tests/TestLinerec.cs | ghcode:00000:942e912670e1 | bsd-2-clause | codeparrot/github-code | 942e912670e1010bc0642b457056156d43119b4f91e8c788d168dc8a9853fdee | 0.88 | testing_debugging_repair_refactoring | 3,035 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using Newtonsoft.Json.Linq;
using ReactNative.Bridge;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace ReactNative.Tests.Bridge
{
... | bluejeans/react-native-windows | ReactWindows/ReactNative.Tests/Bridge/ReactInstanceTests.cs | https://github.com/bluejeans/react-native-windows/blob/HEAD/ReactWindows/ReactNative.Tests/Bridge/ReactInstanceTests.cs | ghcode:00000:7acc50ac6c03 | mit | codeparrot/github-code | 7acc50ac6c03b0022896cceea1384072c9168ea5faa7ac122588cf83afe37617 | 0.85 | testing_debugging_repair_refactoring | 1,268 | false | 2026-07-17 |
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.Extensions.IEnumerableExtensions;
using OpenTK;
using osu.Framework.Graphics;... | NeoAdonis/osu | osu.Game.Tests/Visual/TestCaseScrollingHitObjects.cs | https://github.com/NeoAdonis/osu/blob/HEAD/osu.Game.Tests/Visual/TestCaseScrollingHitObjects.cs | ghcode:00000:114f8cd91c8c | mit | codeparrot/github-code | 114f8cd91c8c78151d6b8b9faa91082260d73e42b5e198c94d0459564660e9c5 | 0.85 | testing_debugging_repair_refactoring | 1,204 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="GetNodeScriptsTest.cs" company="automotiveMastermind and contributors">
// © automotiveMastermind and contributors. Licensed under MIT. See LICENSE and CREDITS for details.
// </... | automotiveMastermind/condo | test/AM.Condo.Test/Tasks/GetNodeScriptsTest.cs | https://github.com/automotiveMastermind/condo/blob/HEAD/test/AM.Condo.Test/Tasks/GetNodeScriptsTest.cs | ghcode:00000:ea06319f7ae1 | mit | codeparrot/github-code | ea06319f7ae1d2b47e01aaab3b155083b3c39feab1a3632e574e1a4169f91422 | 0.7 | testing_debugging_repair_refactoring | 367 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace UnitTests
{
[TestFixture]
public class ProjectTests
{
[TestFixtureSetUp]
public void Initialize()
{
}
[Test]
public void TestCsvRename()
... | GorillaOne/FlatRedBall | FRBDK/Glue/UnitTests/ProjectTests.cs | https://github.com/GorillaOne/FlatRedBall/blob/HEAD/FRBDK/Glue/UnitTests/ProjectTests.cs | ghcode:00000:8d626fa04d20 | mit | codeparrot/github-code | 8d626fa04d200418a6f01d0fb8e34e965a5c1bfefec14a60ce39712732fef52e | 0.75 | testing_debugging_repair_refactoring | 69 | false | 2026-07-17 |
namespace Nancy.Swagger.Tests
{
public class TestModel
{
public int SomeInt { get; set; }
public long SomeLong { get; set; }
public long? SomeNullableLong { get; set; }
}
} | khellang/Nancy.Swagger | test/Nancy.Swagger.Tests/TestModel.cs | https://github.com/khellang/Nancy.Swagger/blob/HEAD/test/Nancy.Swagger.Tests/TestModel.cs | ghcode:00000:e5b2b97fbb96 | mit | codeparrot/github-code | e5b2b97fbb96f1133e6d213ad34bef410c292184b2db7d139c5e8d0e205c43e5 | 0.75 | testing_debugging_repair_refactoring | 54 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using NSubstitute;
using Nancy;
using Nancy.Routing;
using PactNet.Logging;
using PactNet.Mocks.MockHttpService;
using PactNet.Mocks.MockHttpService.Nancy;
using Xunit;
namespace PactNet.Tests.Mock... | humblelistener/pact-net | PactNet.Tests/Mocks/MockHttpService/Nancy/MockProviderNancyRequestDispatcherTests.cs | https://github.com/humblelistener/pact-net/blob/HEAD/PactNet.Tests/Mocks/MockHttpService/Nancy/MockProviderNancyRequestDispatcherTests.cs | ghcode:00000:6c0fe3ac3758 | mit | codeparrot/github-code | 6c0fe3ac37588f1c82963c0819b81198e6cb5ba8776889f0bfe288154d7cfd9e | 0.75 | testing_debugging_repair_refactoring | 1,671 | 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.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects;
namespace osu.Game.Tests.Visual
{
public abstract cl... | 2yangk23/osu | osu.Game/Tests/Visual/ModPerfectTestScene.cs | https://github.com/2yangk23/osu/blob/HEAD/osu.Game/Tests/Visual/ModPerfectTestScene.cs | ghcode:00000:2a32fc5d9892 | mit | codeparrot/github-code | 2a32fc5d98924374ba0fe1b87deb7ae9153ea1f860e0bbcf1e79b9ab01341a53 | 0.85 | testing_debugging_repair_refactoring | 422 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="NUnitAssertions.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//... | skotzko/akka.net | src/contrib/testkits/Akka.TestKit.NUnit/NUnitAssertions.cs | https://github.com/skotzko/akka.net/blob/HEAD/src/contrib/testkits/Akka.TestKit.NUnit/NUnitAssertions.cs | ghcode:00000:90816338112b | apache-2.0 | codeparrot/github-code | 90816338112b5d3b69eb6e042a0431a6600cd80b5dcd794e444febc4ac791a5a | 0.85 | testing_debugging_repair_refactoring | 373 | 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.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using Syst... | EricArndt/roslyn | src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs | https://github.com/EricArndt/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs | ghcode:00000:d71fac3ad666 | apache-2.0 | codeparrot/github-code | d71fac3ad6667cfeced23f05332f0a4caf724370b0b5fed01b3531b046e78807 | 0.57 | testing_debugging_repair_refactoring | 21,713 | false | 2026-07-17 |
using Akka.Actor;
using Akka.Actor.Internals;
using Akka.TestKit;
using Xunit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Akka.Tests.Actor
{
public class ActorRefProviderSpec : AkkaSpec
{
[Fact]
public void... | rodrigovidal/akka.net | src/core/Akka.Tests/Actor/ActorRefProviderSpec.cs | https://github.com/rodrigovidal/akka.net/blob/HEAD/src/core/Akka.Tests/Actor/ActorRefProviderSpec.cs | ghcode:00000:700aee9ffaf3 | apache-2.0 | codeparrot/github-code | 700aee9ffaf35046139933bfb6f153275b1a0b7590129456c155a4b0e1902e63 | 0.75 | testing_debugging_repair_refactoring | 118 | false | 2026-07-17 |
extern alias SSmDsClient;
using System;
using System.Collections.Generic;
using System.Linq;
using OpenRiaServices.DomainServices.Client;
using Cities;
using Microsoft.Silverlight.Testing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DataTests.Northwind.LTS;
using System.ComponentModel.DataAnnotations;
us... | jeffhandley/OpenRiaServices | OpenRiaServices.DomainServices.Client/Test/Silverlight/Data/OperationTests.cs | https://github.com/jeffhandley/OpenRiaServices/blob/HEAD/OpenRiaServices.DomainServices.Client/Test/Silverlight/Data/OperationTests.cs | ghcode:00000:9e8a361c66ba | apache-2.0 | codeparrot/github-code | 9e8a361c66ba2068e10bc0f887b1b73f5d0caa2a5a8b6a9e4eb8caa6a98f124f | 0.95 | testing_debugging_repair_refactoring | 2,964 | 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.CSharp.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen
{
... | aelij/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenStringConcat.cs | https://github.com/aelij/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenStringConcat.cs | ghcode:00000:c620a6450a39 | apache-2.0 | codeparrot/github-code | c620a6450a39b9208d5e82b1f83016b5326f90cd035c6fef2fef2a87ad39ed2a | 0.95 | testing_debugging_repair_refactoring | 20,124 | false | 2026-07-17 |
using TestMonkeys.EntityTest.Framework;
namespace UsageExample.PropertySetValidatorTests.TestObjects
{
public class TestObjectImproperGreaterThan
{
[ValidateActualGreaterThan(0)]
public object GreaterThanValue { get; set; }
}
} | TestMonkeys/Assert | UsageExample/PropertySetValidatorTests/TestObjects/TestObjectImproperGreaterThan.cs | https://github.com/TestMonkeys/Assert/blob/HEAD/UsageExample/PropertySetValidatorTests/TestObjects/TestObjectImproperGreaterThan.cs | ghcode:00000:ff83ec5a2a15 | apache-2.0 | codeparrot/github-code | ff83ec5a2a15ffaf9ab1fd911789c88aa069642d5ad779f035050348b95ede73 | 0.75 | testing_debugging_repair_refactoring | 53 | 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.Linq;
using System.Threading;
using System.Threading.Tasks;
using Roslyn.Test.Utilities;
using Xunit;
using LSP = Microsoft.VisualStudio.Language... | nguerrera/roslyn | src/Features/LanguageServer/ProtocolUnitTests/Definitions/GoToDefinitionTests.cs | https://github.com/nguerrera/roslyn/blob/HEAD/src/Features/LanguageServer/ProtocolUnitTests/Definitions/GoToDefinitionTests.cs | ghcode:00000:de141ee04454 | apache-2.0 | codeparrot/github-code | de141ee0445456440dcb5a9f3c9e529996b8e45ea043b02358feb7e4ca09117e | 0.75 | testing_debugging_repair_refactoring | 483 | false | 2026-07-17 |
// ---------------------------------------------------------------------------------------------
#region // Copyright (c) 2014, SIL International. All Rights Reserved.
// <copyright from='2008' to='2014' company='SIL International'>
// Copyright (c) 2014, SIL International. All Rights Reserved.
//
// Distribut... | mccarthyrb/libpalaso | SIL.Scripture/VersificationTable.cs | https://github.com/mccarthyrb/libpalaso/blob/HEAD/SIL.Scripture/VersificationTable.cs | ghcode:00000:09509457be66 | mit | codeparrot/github-code | 09509457be6699f2ecacc07f2c49c5acdf9b4195073e05c690d59660ad9dfcf0 | 0.85 | testing_debugging_repair_refactoring | 2,410 | false | 2026-07-17 |
using System;
using Marten.Services;
using Marten.Testing.Documents;
using Marten.Testing.Harness;
using Xunit;
namespace Marten.Testing.CoreFunctionality
{
public class foreign_key_persisting_Tests: IntegrationContext
{
[Fact]
public void persist_and_overwrite_foreign_key()
{
... | ericgreenmix/marten | src/Marten.Testing/CoreFunctionality/foreign_key_persisting_Tests.cs | https://github.com/ericgreenmix/marten/blob/HEAD/src/Marten.Testing/CoreFunctionality/foreign_key_persisting_Tests.cs | ghcode:00000:e192dec97255 | mit | codeparrot/github-code | e192dec97255bbeb9424121b7620232af2d33b3e777c47e838ac119de858b358 | 0.75 | testing_debugging_repair_refactoring | 736 | 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.IO;
using System.Linq;
using System.Xml;
using FluentAssertions;
using Microsoft.OData.Edm;
using Micros... | ysanghi/Vipr | test/ODataReader.v4UnitTests/Given_an_ODataVocabularyReader.cs | https://github.com/ysanghi/Vipr/blob/HEAD/test/ODataReader.v4UnitTests/Given_an_ODataVocabularyReader.cs | ghcode:00000:d67be6e3f092 | mit | codeparrot/github-code | d67be6e3f09221d7efaa86714e84db0cae484e520a91e78b19a09f18289fa35e | 0.7 | testing_debugging_repair_refactoring | 2,045 | false | 2026-07-17 |
/*
* Farseer Physics Engine:
* Copyright (c) 2012 Ian Qvist
*
* Original source Box2D:
* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of t... | Blucky87/Nez | Nez.FarseerPhysics/Farseer/Dynamics/Joints/DistanceJoint.cs | https://github.com/Blucky87/Nez/blob/HEAD/Nez.FarseerPhysics/Farseer/Dynamics/Joints/DistanceJoint.cs | ghcode:00000:9432a0cb37b1 | mit | codeparrot/github-code | 9432a0cb37b1dadd188fb6ec6b0fc0cb2dda972969858bc0af8c01ccc5249137 | 0.7 | testing_debugging_repair_refactoring | 3,070 | 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... | shroman/ignite | modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/CacheConfiguration.cs | https://github.com/shroman/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/CacheConfiguration.cs | ghcode:00000:d45fd22c34c1 | apache-2.0 | codeparrot/github-code | d45fd22c34c1d6f94d043c2c972563ceeeb1f3c66253235090ec46e297c12ea6 | 0.7 | testing_debugging_repair_refactoring | 8,706 | false | 2026-07-17 |
using System;
using FluentNHibernate.Conventions;
using FluentNHibernate.Conventions.AcceptanceCriteria;
using FluentNHibernate.Conventions.Instances;
using FluentNHibernate.Conventions.Inspections;
using FluentNHibernate.Mapping;
using NUnit.Framework;
namespace FluentNHibernate.Testing.ConventionFinderTests
... | mtscout6/fluent-nhibernate | src/FluentNHibernate.Testing/ConventionFinderTests/AddingTypeTests.cs | https://github.com/mtscout6/fluent-nhibernate/blob/HEAD/src/FluentNHibernate.Testing/ConventionFinderTests/AddingTypeTests.cs | ghcode:00000:041ff9c28a94 | bsd-3-clause | codeparrot/github-code | 041ff9c28a94ae274f34192912ae83975a29f5f644780f12d217b02e3cb5eebe | 0.75 | testing_debugging_repair_refactoring | 475 | false | 2026-07-17 |
using System;
using Xunit;
namespace HealthMonitoring.AcceptanceTests.Helpers
{
static class CustomAssertions
{
public static void EqualNotStrict(string first, string second)
{
bool equal = string.Equals(first, second, StringComparison.CurrentCultureIgnoreCase);
Assert.... | wongatech/HealthMonitoring | HealthMonitoring.AcceptanceTests/Helpers/CusomAssertions.cs | https://github.com/wongatech/HealthMonitoring/blob/HEAD/HealthMonitoring.AcceptanceTests/Helpers/CusomAssertions.cs | ghcode:00000:12238500fefc | mit | codeparrot/github-code | 12238500fefcd146a06d6880550172601bfcfffdb3e044338c72c5b04f0973e9 | 0.6 | testing_debugging_repair_refactoring | 69 | 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;
using System;
using System.Collections;
using System.Collections.Specialized;
namespace System.Collect... | mafiya69/corefx | src/System.Collections.Specialized/tests/NameObjectCollectionBase/GetEnumeratorTests.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/System.Collections.Specialized/tests/NameObjectCollectionBase/GetEnumeratorTests.cs | ghcode:00000:759227a3b069 | mit | codeparrot/github-code | 759227a3b069448941ecc2ce11ba3c7adfd2d9a46de0a365b48fb04ebdb5160b | 0.95 | testing_debugging_repair_refactoring | 1,135 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using FluentAssertions.Collections;
using FluentAssertions.Common;
using FluentAssertions.Equivalency;
using FluentAssertions.Numeric;
using FluentAssertions.Primitives;
using FluentAssertions.... | SaroTasciyan/FluentAssertions | Src/Core/InternalAssertionExtensions.cs | https://github.com/SaroTasciyan/FluentAssertions/blob/HEAD/Src/Core/InternalAssertionExtensions.cs | ghcode:00000:c24a5d42b340 | apache-2.0 | codeparrot/github-code | c24a5d42b340512d8078c64283dd51a705222cefda599d4ab4d5608f6b611422 | 0.7 | testing_debugging_repair_refactoring | 3,856 | 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... | praveennet/azure-powershell | src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs | https://github.com/praveennet/azure-powershell/blob/HEAD/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs | ghcode:00000:fe6845712703 | apache-2.0 | codeparrot/github-code | fe68457127038b22cb5e3c0728b60e23727576505c8d5031109848b8e203b1bd | 0.7 | testing_debugging_repair_refactoring | 3,741 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="SourceSpec.cs" company="Akka.NET Project">
// Copyright (C) 2015-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//---... | derwasp/akka.net | src/core/Akka.Streams.Tests/Dsl/SourceSpec.cs | https://github.com/derwasp/akka.net/blob/HEAD/src/core/Akka.Streams.Tests/Dsl/SourceSpec.cs | ghcode:00000:5a717e557d18 | apache-2.0 | codeparrot/github-code | 5a717e557d185022423c346a6dfa666ae2def7a9cc04a3ba56a67a7a5bf407ee | 0.85 | testing_debugging_repair_refactoring | 3,095 | 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... | amarzavery/azure-powershell | src/ServiceManagement/Services/Commands.Test/CloudService/Development/GetAzureServiceProjectRuntimesTest.cs | https://github.com/amarzavery/azure-powershell/blob/HEAD/src/ServiceManagement/Services/Commands.Test/CloudService/Development/GetAzureServiceProjectRuntimesTest.cs | ghcode:00000:92b10d60bf22 | apache-2.0 | codeparrot/github-code | 92b10d60bf2220f043ca3192cb73e48087337213dd44d2470c259f36124e5fe1 | 0.7 | testing_debugging_repair_refactoring | 481 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace AutoTest.TestRunners.XUnit.Tests.TestResource
{
public class Class2
{
[Fact]
public void Anothger_passing_test()
{
Assert.Equal(1, 1);
}
}
}
| acken/AutoTest.Net | src/AutoTest.TestRunner/Plugins/AutoTest.TestRunners.XUnit.Tests.TestResource/Class2.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/src/AutoTest.TestRunner/Plugins/AutoTest.TestRunners.XUnit.Tests.TestResource/Class2.cs | ghcode:00000:d180f7f3283b | mit | codeparrot/github-code | d180f7f3283bde5cb179815a7a4c62c299de56b9eb1034ee26aadba74a1fbdb4 | 0.75 | testing_debugging_repair_refactoring | 70 | 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 ... | tkpanther/ignite | modules/platforms/dotnet/Apache.Ignite.Core/Impl/Messaging/MessageListenerHolder.cs | https://github.com/tkpanther/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Messaging/MessageListenerHolder.cs | ghcode:00000:cc47d9c99422 | apache-2.0 | codeparrot/github-code | cc47d9c9942267e7eb75ccaaa337bd6379bbad3e4e79da47cea8d2a353018418 | 0.7 | testing_debugging_repair_refactoring | 1,252 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tas... | Ermiar/corefx | src/System.Net.Sockets/src/System/Net/Sockets/MultipleConnectAsync.cs | https://github.com/Ermiar/corefx/blob/HEAD/src/System.Net.Sockets/src/System/Net/Sockets/MultipleConnectAsync.cs | ghcode:00000:edaef7856267 | mit | codeparrot/github-code | edaef785626791dcad3e4f96d5f85a0a81082cfc41166320d28c69b6e14e409c | 0.8 | testing_debugging_repair_refactoring | 3,224 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using NSubstitute;
using Xunit;
using System.Threading.Tasks;
namespace Octokit.Tests.Clients
{
/// <summary>
/// Client tests mostly just need to make sure they call the IApiConnection with the correct
/// relative Uri... | hitesh97/octokit.net | Octokit.Tests/Clients/SearchClientTests.cs | https://github.com/hitesh97/octokit.net/blob/HEAD/Octokit.Tests/Clients/SearchClientTests.cs | ghcode:00000:10f898a170f2 | mit | codeparrot/github-code | 10f898a170f21d6829d62828eba9dcfb3eae3b98cbdcf34826524f0f3b2d68ae | 0.72 | testing_debugging_repair_refactoring | 13,889 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ProjectItemInstance_Tests.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <summary>Tests for ProjectItemInstance public members</summary>
//-----------------------... | MetSystem/msbuild | src/XMakeBuildEngine/UnitTestsPublicOM/Instance/ProjectItemInstance_Tests.cs | https://github.com/MetSystem/msbuild/blob/HEAD/src/XMakeBuildEngine/UnitTestsPublicOM/Instance/ProjectItemInstance_Tests.cs | ghcode:00000:f9945eab231c | mit | codeparrot/github-code | f9945eab231c52335a46438aa086358db4f9ced782e59103256ea9708e42c9b9 | 0.85 | testing_debugging_repair_refactoring | 6,346 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.ResourceManager;
using Microsoft.Azure.Management.ResourceManager.Models;
using Microsoft.Azure.Management.Sql;
using Microsoft.... | SiddharthChatrolaMs/azure-sdk-for-net | src/SDKs/SqlManagement/Sql.Tests/UsageScenarioTests.cs | https://github.com/SiddharthChatrolaMs/azure-sdk-for-net/blob/HEAD/src/SDKs/SqlManagement/Sql.Tests/UsageScenarioTests.cs | ghcode:00000:60cb60a61db0 | apache-2.0 | codeparrot/github-code | 60cb60a61db019d45aa7d3b4811e4e84db714a49ade35e0e44f835186a9876f7 | 0.85 | testing_debugging_repair_refactoring | 457 | false | 2026-07-17 |
namespace Simple.Data.UnitTest
{
using System;
using System.Collections.Generic;
using NUnit.Framework;
[TestFixture]
public class AdapterFactoryTest
{
private static AdapterFactory CreateTarget()
{
return new CachingAdapterFactory(new StubComposer());
... | ronnyek/Simple.Data | Simple.Data.UnitTest/AdapterFactoryTest.cs | https://github.com/ronnyek/Simple.Data/blob/HEAD/Simple.Data.UnitTest/AdapterFactoryTest.cs | ghcode:00000:f168ba6c7782 | mit | codeparrot/github-code | f168ba6c7782e312068b489d80e980c6a51d12d64474404f7dbaa1ac191f2451 | 0.6 | testing_debugging_repair_refactoring | 501 | false | 2026-07-17 |
using NUnit.Framework;
using Nest.Tests.MockData.Domain;
namespace Nest.Tests.Unit.Search.Query.Singles
{
[TestFixture]
public class ConditionlessQueryJson
{
[Test]
public void FallbackTerm()
{
var s = new SearchDescriptor<ElasticsearchProject>().From(0).Size(10)
.Query(q=>q
.Conditionless(qs=>qs... | joehmchan/elasticsearch-net | src/Tests/Nest.Tests.Unit/Search/Query/Modes/ConditionlessQueryJson.cs | https://github.com/joehmchan/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Unit/Search/Query/Modes/ConditionlessQueryJson.cs | ghcode:00000:972a57e61091 | apache-2.0 | codeparrot/github-code | 972a57e6109143bd23b1aa25d22313c80b50ef90a3497488e52f5609d46ee39e | 0.85 | testing_debugging_repair_refactoring | 713 | 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 Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnalysis.CSharp.Syntax;
u... | KevinRansom/roslyn | src/Workspaces/CSharp/Portable/Formatting/Rules/SpacingFormattingRule.cs | https://github.com/KevinRansom/roslyn/blob/HEAD/src/Workspaces/CSharp/Portable/Formatting/Rules/SpacingFormattingRule.cs | ghcode:00000:ce8f4d3e7c6a | apache-2.0 | codeparrot/github-code | ce8f4d3e7c6af93674012536aff8ffe513940f274abc4d35fd1f1488f543d9d2 | 0.7 | testing_debugging_repair_refactoring | 3,504 | 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 Xunit;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;... | OmarTawfik/roslyn | src/Compilers/CSharp/Test/Syntax/Parsing/RefStructs.cs | https://github.com/OmarTawfik/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Syntax/Parsing/RefStructs.cs | ghcode:00000:649aab9ab27a | apache-2.0 | codeparrot/github-code | 649aab9ab27ae0d7e197bee70a70272d1c94b9ecab3e8f6b652aa7343324bfc4 | 0.95 | testing_debugging_repair_refactoring | 2,380 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using Microsoft.CodeAnalysis.ErrorReporting;
using Roslyn.Test.Utilities;
using Ro... | AmadeusW/roslyn | src/Workspaces/CoreTest/UtilityTest/ExceptionHelpersTests.cs | https://github.com/AmadeusW/roslyn/blob/HEAD/src/Workspaces/CoreTest/UtilityTest/ExceptionHelpersTests.cs | ghcode:00000:f362f112a276 | apache-2.0 | codeparrot/github-code | f362f112a2765144c07c9eab94638c27322ffabce6272c46b2adebe6612a8331 | 0.85 | testing_debugging_repair_refactoring | 283 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using Microso... | shyamnamboodiripad/roslyn | src/Workspaces/CSharp/Portable/Simplification/Reducers/CSharpExtensionMethodReducer.cs | https://github.com/shyamnamboodiripad/roslyn/blob/HEAD/src/Workspaces/CSharp/Portable/Simplification/Reducers/CSharpExtensionMethodReducer.cs | ghcode:00000:ddc4186ce079 | apache-2.0 | codeparrot/github-code | ddc4186ce079430de7607045aac99014fa539dafb7acb18c976983805eb345db | 0.85 | testing_debugging_repair_refactoring | 1,008 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
#if NETCOREAPP
using System;
using System.IO;
using System.Text;
using System.Threading;
using ... | brettfo/roslyn | src/Test/Utilities/Portable/Platform/CoreClr/SharedConsoleOutWriter.cs | https://github.com/brettfo/roslyn/blob/HEAD/src/Test/Utilities/Portable/Platform/CoreClr/SharedConsoleOutWriter.cs | ghcode:00000:524baa5ee890 | apache-2.0 | codeparrot/github-code | 524baa5ee89025b68e6e3665e1dbd218540e37f4173778d1a07c4d982f26995d | 0.95 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.WebMatrix.Extensibility;
using NuGet;
using NuGet.WebMatrix.Data;
namespace NuGet.WebM... | mrward/NuGet.V2 | WebMatrixExtension/NuGetExtension/Core/FilterManager.cs | https://github.com/mrward/NuGet.V2/blob/HEAD/WebMatrixExtension/NuGetExtension/Core/FilterManager.cs | ghcode:00000:a4b600d1bf72 | apache-2.0 | codeparrot/github-code | a4b600d1bf72f9555229910e5dab34d2e1fb22cc9d1d36561141a795ce266ede | 0.7 | testing_debugging_repair_refactoring | 2,322 | false | 2026-07-17 |
namespace Nancy.Tests.Unit.Json
{
using System;
public class TestPrimitiveConverterType : IEquatable<TestPrimitiveConverterType>
{
public int Data;
public bool Equals(TestPrimitiveConverterType other)
{
if (other == null)
return false;
return (this.Data == other.Data);
}
... | anton-gogolev/Nancy | test/Nancy.Tests/Unit/Json/TestPrimitiveConverterType.cs | https://github.com/anton-gogolev/Nancy/blob/HEAD/test/Nancy.Tests/Unit/Json/TestPrimitiveConverterType.cs | ghcode:00000:fc9a4962e897 | mit | codeparrot/github-code | fc9a4962e8978c24ce83a4bba9f24cdd1c49294638a1f3d4ad7cafde9e5a455e | 0.75 | testing_debugging_repair_refactoring | 116 | 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.Reflection;
using Xunit;
namespace System.Globalization.Tests
{
... | shimingsg/corefx | src/System.Globalization/tests/NumberFormatInfo/NumberFormatInfoTests.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Globalization/tests/NumberFormatInfo/NumberFormatInfoTests.cs | ghcode:00000:0bdef85faef8 | mit | codeparrot/github-code | 0bdef85faef8e82440d3036b3e82d9f6c4c1db045cdc257ab97dacc58e4a03c9 | 0.95 | testing_debugging_repair_refactoring | 1,375 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class StringInfoGe... | ellismg/corefx | src/System.Globalization/tests/StringInfo/StringInfoGetTextElementEnumerator.cs | https://github.com/ellismg/corefx/blob/HEAD/src/System.Globalization/tests/StringInfo/StringInfoGetTextElementEnumerator.cs | ghcode:00000:acff3700ff3b | mit | codeparrot/github-code | acff3700ff3bf7ddeecac5bf979219e8a98ada4e74927cd9da801797b5b1c3cf | 0.95 | testing_debugging_repair_refactoring | 724 | 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.Numerics.Tests
{
public class op_leftshiftTest
{
private static int s... | DnlHarvey/corefx | src/System.Runtime.Numerics/tests/BigInteger/op_leftshift.cs | https://github.com/DnlHarvey/corefx/blob/HEAD/src/System.Runtime.Numerics/tests/BigInteger/op_leftshift.cs | ghcode:00000:95dd363d28d3 | mit | codeparrot/github-code | 95dd363d28d3aa7c8f4c6e45a9b13f79d8a0ae2e4f3d137124edd4f57968659b | 0.95 | testing_debugging_repair_refactoring | 1,832 | 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 SortedDictionaryTests.SortedDictionary_SortedDictionary_KeyCollection;
usin... | Frank125/corefx | src/System.Collections/tests/Generic/SortedDictionary/SortedDictionary_KeyCollection.cs | https://github.com/Frank125/corefx/blob/HEAD/src/System.Collections/tests/Generic/SortedDictionary/SortedDictionary_KeyCollection.cs | ghcode:00000:cf62a96fe36f | mit | codeparrot/github-code | cf62a96fe36f1f1baf128671dba3bb7386c4eccb5ed13f621365570042352a07 | 0.95 | testing_debugging_repair_refactoring | 4,037 | false | 2026-07-17 |
using System.Security.Cryptography.X509Certificates;
using Xunit;
namespace OpenGost.Security.Cryptography.X509Certificates
{
public class GostECDsaCertificateExtensionsTests : CryptoConfigRequiredTest
{
[Theory]
[InlineData("GostECDsa256")]
[InlineData("GostECDsa512")]
public ... | sergezhigunov/gost | tests/OpenGost.Security.Cryptography.Tests/X509Certificates/GostECDsaCertificateExtensionsTests.cs | https://github.com/sergezhigunov/gost/blob/HEAD/tests/OpenGost.Security.Cryptography.Tests/X509Certificates/GostECDsaCertificateExtensionsTests.cs | ghcode:00000:0b4726d4cfb9 | mit | codeparrot/github-code | 0b4726d4cfb9b73e5b9d2ccf6e6c1cf5014917697ce01e660f0aa51a47bcabc4 | 0.75 | testing_debugging_repair_refactoring | 155 | false | 2026-07-17 |
using System;
//using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestClass = NUnit.Framework.TestFixtureAttribute;
using TestMethod = NUnit.Framework.TestAttribute;
using NUnit.Framework;
using BrowserStack;
using System.Text;
using System.IO;
namespace BrowserStack_Unit_Tests
{
[TestClass]
public class... | browserstack/browserstack-local-csharp | BrowserStackLocal/BrowserStackLocal Unit Tests/BrowserStackTunnelTests.cs | https://github.com/browserstack/browserstack-local-csharp/blob/HEAD/BrowserStackLocal/BrowserStackLocal Unit Tests/BrowserStackTunnelTests.cs | ghcode:00000:235b86cc3e10 | mit | codeparrot/github-code | 235b86cc3e10c66e5f48549bbad5f625299ccbff81a1343ecdbba78e7f57fa6c | 0.75 | testing_debugging_repair_refactoring | 794 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.