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.Net.Http; using System.Threading.Tasks; using FluentAssertions; using Xunit; namespace ApplicationInsights.OwinExtensions.Tests { public class OperationIdContextTests : IDisposable { public OperationIdContextTests() { OperationIdContext.Clear(); }...
marcinbudny/applicationinsights-owinextensions
src/ApplicationInsights.OwinExtensions.Tests/OperationIdContextTests.cs
https://github.com/marcinbudny/applicationinsights-owinextensions/blob/HEAD/src/ApplicationInsights.OwinExtensions.Tests/OperationIdContextTests.cs
ghcode:00000:83442aeef45e
mit
codeparrot/github-code
83442aeef45eec3856a02057f3cf49a39e0e877623dc82452e5198017ceccfa6
0.75
testing_debugging_repair_refactoring
262
false
2026-07-17
/* * Velcro Physics: * Copyright (c) 2017 Ian Qvist */ using System.Collections.Generic; using Microsoft.Xna.Framework; using QEngine.Physics.Shared; using QEngine.Physics.Tools.Triangulation.Delaunay.Delaunay; using QEngine.Physics.Tools.Triangulation.Delaunay.Delaunay.Sweep; namespace QEngine.Physics.Tools.Triangu...
Quincy9000/QEngine.Framework
QEngine/Code/Physics/Tools/Triangulation/Delaunay/CDTDecomposer.cs
https://github.com/Quincy9000/QEngine.Framework/blob/HEAD/QEngine/Code/Physics/Tools/Triangulation/Delaunay/CDTDecomposer.cs
ghcode:00000:51af44871750
mit
codeparrot/github-code
51af448717505bc4803aefed2b95412ca7d1b487d6e51f66258e912ccf6d87d3
0.7
testing_debugging_repair_refactoring
528
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HTLib2.Bioinfo { public partial class ForceField { public class PwVdw : INonbonded, IHessBuilder4PwIntrAct { public virtual string[] FrcFldType { get { return new string[] { "...
htna/HCsbLib
HCsbLib/HCsbLib/HTLib2.Bioinfo/ForceField/ForceField.Pw/ForceField.PwVdw.cs
https://github.com/htna/HCsbLib/blob/HEAD/HCsbLib/HCsbLib/HTLib2.Bioinfo/ForceField/ForceField.Pw/ForceField.PwVdw.cs
ghcode:00000:b1553eb519b4
mit
codeparrot/github-code
b1553eb519b48dde661924d5a7b33183d7f7b4e5b0bfaf2a3cad5ea8455721d3
0.7
testing_debugging_repair_refactoring
2,981
false
2026-07-17
using Lux.IO; using NUnit.Framework; namespace Lux.Tests.IO { [TestFixture] public class PathHelperTests { [TestCase] [Category("ExcludeBuildAgent")] // todo: fix so be able to... public void GetRootParent() { const string expected = "C:/"; const...
LazyTarget/Lux
src/Lux.Tests/IO/PathHelperTests.cs
https://github.com/LazyTarget/Lux/blob/HEAD/src/Lux.Tests/IO/PathHelperTests.cs
ghcode:00000:05a5bea154e4
mit
codeparrot/github-code
05a5bea154e41de7b2395f86436e8eb120b73a7a3993029c5931eb9d1b1dbbe2
0.75
testing_debugging_repair_refactoring
379
false
2026-07-17
using System; using Microsoft.Hadoop.MapReduce; namespace MapReduceSamples.Utils { public class TestReducerCombinerContext : ReducerCombinerContext { public TestReducerCombinerContext(bool isCombiner) : base(isCombiner) { } public override void EmitKeyValue(string key, string ...
SaschaDittmann/MapReduceSamples
MapReduceSamples/MapReduceSamples.Utils/TestReducerCombinerContext.cs
https://github.com/SaschaDittmann/MapReduceSamples/blob/HEAD/MapReduceSamples/MapReduceSamples.Utils/TestReducerCombinerContext.cs
ghcode:00000:37f6cbf5bacf
mit
codeparrot/github-code
37f6cbf5bacfd132b9edfe2e8982725423eb60e82b158a3737d15ca8f72ce022
0.75
testing_debugging_repair_refactoring
285
false
2026-07-17
using System.Data.Common; using System.Linq; using System.Reflection; namespace FluentMethods.UnitTests { public class MethodInfoFixture { #if NetCore [Xunit.Fact] #else [NUnit.Framework.Test] #endif public void IsAsync() { var methodOpenAsync= typeof...
edwardmeng/FluentMethods
test/Core/System.Reflection.MethodInfo/IsAsync.cs
https://github.com/edwardmeng/FluentMethods/blob/HEAD/test/Core/System.Reflection.MethodInfo/IsAsync.cs
ghcode:00000:842c3d2edb5f
mit
codeparrot/github-code
842c3d2edb5f9ae60c5305139fb23664ad9d23d6c384a74d020129419f295fe8
0.6
testing_debugging_repair_refactoring
210
false
2026-07-17
using System; using System.Collections; using System.Collections.Generic; using Bender; using Bender.Collections; using Bender.Extensions; using Bender.Reflection; using NUnit.Framework; using Should; using Tests.Collections.Implementations; namespace Tests.Serializer.Json { [TestFixture] public...
mikeobrien/Bender
src/Tests/Serializer/Json/ArrayTests.cs
https://github.com/mikeobrien/Bender/blob/HEAD/src/Tests/Serializer/Json/ArrayTests.cs
ghcode:00000:8d4bec86392e
mit
codeparrot/github-code
8d4bec86392e668205d3e755b1f97cfc57c4489e102d9784d044a9dd3c9a1292
0.95
testing_debugging_repair_refactoring
3,503
false
2026-07-17
using Moq; using RestSharp; using System.Collections.Generic; using Xunit; namespace MarvelAPI.Test.Requests.StoryRequestTests { public class GetStoryTests : StoryRequestTestBase { [Fact] public void Success() { // arrange var storyId = 1; var data =...
foilking/MarvelAPI
MarvelAPI.Test/Requests/StoryRequestTests/GetStoryTests.cs
https://github.com/foilking/MarvelAPI/blob/HEAD/MarvelAPI.Test/Requests/StoryRequestTests/GetStoryTests.cs
ghcode:00000:3b557ab13f79
mit
codeparrot/github-code
3b557ab13f7994f3fba4b2e7c998cf5dc45a703de7e56397ac55d60be2fe109b
0.85
testing_debugging_repair_refactoring
196
false
2026-07-17
using BenchmarkDotNet.Attributes; using Obj2ObjMapBench.Models; using System.Collections.Generic; using System.Linq; namespace Obj2ObjMapBench { public abstract class BaseBenchmark { const int iterations = 10000; protected IEnumerable<SimplePoco> _simpleData; protected IEnumerable<Nes...
lusocoding/dotnet-objmap-benchmark
Obj2ObjMapBench/Benchmarks/BaseBenchmark.cs
https://github.com/lusocoding/dotnet-objmap-benchmark/blob/HEAD/Obj2ObjMapBench/Benchmarks/BaseBenchmark.cs
ghcode:00000:9965ba4325e0
mit
codeparrot/github-code
9965ba4325e03f0b86915ccfa3950226e41fba48aa4680000d6eed165bad167a
0.6
testing_debugging_repair_refactoring
575
false
2026-07-17
using Xunit; namespace ZabbixApiTests.Integration { public class EventServiceIntegrationTest : IntegrationTestBase { [Fact] public void MustGetAny() { var result = context.Events.Get(); Assert.NotNull(result); } } }
HenriqueCaires/ZabbixApi
ZabbixApiTests/Integration/EventServiceIntegrationTest.cs
https://github.com/HenriqueCaires/ZabbixApi/blob/HEAD/ZabbixApiTests/Integration/EventServiceIntegrationTest.cs
ghcode:00000:fad088c35be6
mit
codeparrot/github-code
fad088c35be6a31b160fd2ab7e38c9625e1a8ca0bb7f7e429513193c3b97b588
0.6
testing_debugging_repair_refactoring
57
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Inference.Interpreter; using Inference.Interpreter.LISP; using Inference.Interpreter.Scheme; using Inference.Parser; using NUnit.Framework; namespace Inference.Tests.Interpreter.Scheme ...
tom-weatherhead/inference
InferenceLibs/Inference.Tests/Interpreter/Scheme/Parser_Fixture.cs
https://github.com/tom-weatherhead/inference/blob/HEAD/InferenceLibs/Inference.Tests/Interpreter/Scheme/Parser_Fixture.cs
ghcode:00000:6219c7df6cbb
mit
codeparrot/github-code
6219c7df6cbb0b0b23bb9e0280084f61a61e357367c56cdcf0a316876ed48bbf
0.57
testing_debugging_repair_refactoring
18,154
false
2026-07-17
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.TextAnalytics.Tests { [ClientTestFixture( ...
Azure/azure-sdk-for-net
sdk/textanalytics/Azure.AI.TextAnalytics/tests/AnalyzeOperationTests.cs
https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/textanalytics/Azure.AI.TextAnalytics/tests/AnalyzeOperationTests.cs
ghcode:00000:35c310be859b
mit
codeparrot/github-code
35c310be859b2e2eafe17096e4e2047eaaaf79d27c23014e1f049dc9fad204ab
0.95
testing_debugging_repair_refactoring
6,686
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; namespace Meow.Diagnostic.Tests.Support { public class TestSuite : Suite { public override IEnumerable<ITask> GetTasks() { return new List<ITask> { new PassingTa...
jaredmcguire/Meow.Diagnostic
Meow.Diagnostic.Tests/Support/TestSuite.cs
https://github.com/jaredmcguire/Meow.Diagnostic/blob/HEAD/Meow.Diagnostic.Tests/Support/TestSuite.cs
ghcode:00000:052ce574f493
mit
codeparrot/github-code
052ce574f493aee237576a7ccb8442fee021d7c7eaee833f9d2e603e2867654c
0.75
testing_debugging_repair_refactoring
72
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Hapil.Testing.NUnit; using NUnit.Framework; namespace Hapil.UnitTests.Statements { [TestFixture] public class CallStatementTests : NUnitEmittedTypesTestBase { [Test] public void CanCallVoidMethodOnReferenceTypeTarget() ...
felix-b/Hapil
Source/Hapil.UnitTests/Statements/CallStatementTests.cs
https://github.com/felix-b/Hapil/blob/HEAD/Source/Hapil.UnitTests/Statements/CallStatementTests.cs
ghcode:00000:24d2dfd2b6b2
mit
codeparrot/github-code
24d2dfd2b6b2d3b84da40b8410c92bd41f2d5bde6fd7b2b700a9e1ee988a2caa
0.85
testing_debugging_repair_refactoring
1,117
false
2026-07-17
using AlgorithmsLibrary; using Xunit; namespace Tests { public class QuickFindTests { [Fact] public void IsConnected_NotConnectedByDefault() { var algorithm = new QuickFind(2); Assert.Equal(0, algorithm.Result[0]); Assert.Equal(1, algor...
Sufflavus/Algorithms
Source/Tests/QuickFindTests.cs
https://github.com/Sufflavus/Algorithms/blob/HEAD/Source/Tests/QuickFindTests.cs
ghcode:00000:168d3a1054e2
mit
codeparrot/github-code
168d3a1054e2ddd58ce5552080b0aed19031f1412783cf219f47e2d3f2089401
0.85
testing_debugging_repair_refactoring
270
false
2026-07-17
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading.Tasks; namespace Hstar.Lara.Cache.Tests { [TestClass] public class SimpleMemoryCacheTest { private static CacheItem<int> intCache; private static int cacheValue = 1; [ClassInitialize] public static v...
hstarorg/Hstar.Core
test/Lara.Cache.Tests/SimpleMemoryCacheTest.cs
https://github.com/hstarorg/Hstar.Core/blob/HEAD/test/Lara.Cache.Tests/SimpleMemoryCacheTest.cs
ghcode:00000:6ed0802ca5fa
mit
codeparrot/github-code
6ed0802ca5fafb9915574f3c8293e30b7827396603dd1605caa7b8c6de024a2c
0.6
testing_debugging_repair_refactoring
230
false
2026-07-17
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Diagnostics; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; us...
peppy/osu-new
osu.Game/Overlays/Profile/Sections/Historical/DrawableMostPlayedBeatmap.cs
https://github.com/peppy/osu-new/blob/HEAD/osu.Game/Overlays/Profile/Sections/Historical/DrawableMostPlayedBeatmap.cs
ghcode:00000:8cdb492cb63d
mit
codeparrot/github-code
8cdb492cb63dd9fba73882bff1f8f1299f524d6320292db06eb443d53698696e
0.6
testing_debugging_repair_refactoring
1,200
false
2026-07-17
using BulletML; using BulletML.Enums; using BulletML.Nodes; using NUnit.Framework; using Tests.Utils; namespace Tests.Node { [TestFixture] [Category("NodeTest")] public class ActionNodeTest { [Test] public void TestOneTop() { var filename = TestUtils.GetFilePath(@"Co...
Noxalus/BulletML
Tests/Node/ActionNodeTest.cs
https://github.com/Noxalus/BulletML/blob/HEAD/Tests/Node/ActionNodeTest.cs
ghcode:00000:766323cd5f66
mit
codeparrot/github-code
766323cd5f6689a12ca9eeb6b5e2f6f847b7ce765bd6f738f6ad1ef4895076d9
0.6
testing_debugging_repair_refactoring
304
false
2026-07-17
using Stranne.BooliLib.Models; using Xunit.Abstractions; namespace Stranne.BooliLib.Tests.Models { public class DimensionSerializable : Dimension, IXunitSerializable { public DimensionSerializable() { } public DimensionSerializable(int height, int width) : base(hei...
stranne/BooliLib
Stranne.BooliLib.Tests/Models/DimensionSerializable.cs
https://github.com/stranne/BooliLib/blob/HEAD/Stranne.BooliLib.Tests/Models/DimensionSerializable.cs
ghcode:00000:a61bf279bd4a
mit
codeparrot/github-code
a61bf279bd4a1865c6b550c74c2dea262e6149830159dcede97facddda246a55
0.6
testing_debugging_repair_refactoring
141
false
2026-07-17
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Threading.Tasks; using Azure.Core.TestFramework; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; using NUnit.Framework; namespace Azure.ResourceManager.Tests { public ...
Azure/azure-sdk-for-net
sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementLockObjectOperationsTests.cs
https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementLockObjectOperationsTests.cs
ghcode:00000:3fe04af90c47
mit
codeparrot/github-code
3fe04af90c478623befe459ba2777c34e32f95f7ca6bc71dffabebfff89d969d
0.95
testing_debugging_repair_refactoring
211
false
2026-07-17
/* * SonarScanner for MSBuild * Copyright (C) 2016-2019 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 3 o...
SonarSource/sonar-msbuild-runner
src/SonarScanner.MSBuild.Tasks/TaskUtilities.cs
https://github.com/SonarSource/sonar-msbuild-runner/blob/HEAD/src/SonarScanner.MSBuild.Tasks/TaskUtilities.cs
ghcode:00000:d9430a1231e9
mit
codeparrot/github-code
d9430a1231e9eabbae6773e936ce98d18084f7461a71520c27ec54693a5718b9
0.7
testing_debugging_repair_refactoring
802
false
2026-07-17
#region Licence /* The MIT License (MIT) Copyright © 2014 Francesco Pighi <francesco.pighi@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitat...
dstockhammer/Brighter
tests/Paramore.Brighter.Tests/CommandStore/Sqlite/When_writing_a_message_to_the_command_store.cs
https://github.com/dstockhammer/Brighter/blob/HEAD/tests/Paramore.Brighter.Tests/CommandStore/Sqlite/When_writing_a_message_to_the_command_store.cs
ghcode:00000:19b99ad58c87
mit
codeparrot/github-code
19b99ad58c879d50a14c060727b5a7aa10a76983478e552bfc8aff06820a7189
0.7
testing_debugging_repair_refactoring
576
false
2026-07-17
using Shouldly; using Specify.Samples.Domain.Atm; using TestStack.BDDfy; namespace Specify.Samples.Specs.ATM { public class CardHasBeenDisabled : ScenarioFor<Atm, AccountHolderWithdrawsCashStory> { private Card _card; public void Given_the_Card_is_disabled() { _card = new ...
mwhelan/Specify
src/Samples/Specify.Samples/Specs/ATM/CardHasBeenDisabled.cs
https://github.com/mwhelan/Specify/blob/HEAD/src/Samples/Specify.Samples/Specs/ATM/CardHasBeenDisabled.cs
ghcode:00000:6d0c91c19d7f
mit
codeparrot/github-code
6d0c91c19d7fc8a2fa54e39610f39e87106cbf83072abd8f230bd63ab0f16170
0.75
testing_debugging_repair_refactoring
207
false
2026-07-17
using System; using System.Collections.Generic; namespace VanEmdeBoasTree.Tests { internal static class YFastPerfectHashTableTests { public static void RunAllTests() { Insert_Contains_SyntheticTestCase(); } static void Insert_Contains_SyntheticTestCase() { ...
RegiSV2/IntroToAlgorithmsSolutions
20/VanEmdeBoasTree/VanEmdeBoasTree/Tests/YFastPerfectHashTableTests.cs
https://github.com/RegiSV2/IntroToAlgorithmsSolutions/blob/HEAD/20/VanEmdeBoasTree/VanEmdeBoasTree/Tests/YFastPerfectHashTableTests.cs
ghcode:00000:21cec8842dd8
mit
codeparrot/github-code
21cec8842dd8b4f38d8a3f232f64b3ceff4855a65f6cdea93a1b16df2eb5fbdc
0.85
testing_debugging_repair_refactoring
445
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.Concurrent; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; usi...
FiveTimesTheFun/corefx
src/System.Collections.Concurrent/tests/ConcurrentDictionaryTests.cs
https://github.com/FiveTimesTheFun/corefx/blob/HEAD/src/System.Collections.Concurrent/tests/ConcurrentDictionaryTests.cs
ghcode:00000:049f31bc6d72
mit
codeparrot/github-code
049f31bc6d72ac0032e6dde84b636724e680f3769fce3a9368ad41ff92099fcc
0.95
testing_debugging_repair_refactoring
8,114
false
2026-07-17
using System.Linq; using Xunit; namespace Farity.Tests { public class FilterTests { [Fact] public void FilterFiltersElementsInTheList() { var expected = new[] {1, 2, 3}; var actual = F.Filter(x => x < 4, new[] {1, 2, 3, 4, 5}); Assert.Equal(expected,...
farity/farity
Farity.Tests/FilterTests.cs
https://github.com/farity/farity/blob/HEAD/Farity.Tests/FilterTests.cs
ghcode:00000:89c811f7bd6c
mit
codeparrot/github-code
89c811f7bd6c17e0196512eaaebba3c2ebbd5c36d936fea208a77c94559944b1
0.75
testing_debugging_repair_refactoring
207
false
2026-07-17
// Description: C# Extension Methods | Enhance the .NET Framework and .NET Core with over 1000 extension methods. // Website & Documentation: https://csharp-extension.com/ // Issues: https://github.com/zzzprojects/Z.ExtensionMethods/issues // License (MIT): https://github.com/zzzprojects/Z.ExtensionMethods/blob/master/...
zzzprojects/Z.ExtensionMethods
test/Z.Reflection.Test/GetSignature/Field/InternalField.cs
https://github.com/zzzprojects/Z.ExtensionMethods/blob/HEAD/test/Z.Reflection.Test/GetSignature/Field/InternalField.cs
ghcode:00000:190db02ca9a9
mit
codeparrot/github-code
190db02ca9a915361c00161c2c1884d5b403a6bc615f232ce9ee242234f39bd1
0.7
testing_debugging_repair_refactoring
212
false
2026-07-17
using System; using System.Collections.Generic; using System.Data.Entity; using System.IO; using System.Linq; using System.Threading.Tasks; using Lucca.Upgrading.Abstractions; using Lucca.Upgrading.Discovery; using Lucca.Upgrading.Strategy; using Lucca.Upgrading.Test.EfDb; using Lucca.Upgrading.Test.Fakes; using Xunit...
LuccaSA/Lucca.Upgrading
test/Lucca.Upgrading.Test/SqlExecutionTests.cs
https://github.com/LuccaSA/Lucca.Upgrading/blob/HEAD/test/Lucca.Upgrading.Test/SqlExecutionTests.cs
ghcode:00000:076fcde5725f
mit
codeparrot/github-code
076fcde5725f857f90699ddbadeb46f9f80658b5bef7620b9f00478a41bab1f5
0.75
testing_debugging_repair_refactoring
848
false
2026-07-17
using System; using System.Collections.Generic; using Ghpr.Core.Core.Common; using Ghpr.Core.Core.Extensions; using Ghpr.Core.Core.Processors; using NUnit.Framework; namespace Ghpr.Tests.Core.Processors { [TestFixture] public class TestRunDtoProcessorTests { [Test] public void TestProcessR...
GHPReporter/Ghpr.Core
Ghpr.Tests/Core/Processors/TestRunDtoProcessorTests.cs
https://github.com/GHPReporter/Ghpr.Core/blob/HEAD/Ghpr.Tests/Core/Processors/TestRunDtoProcessorTests.cs
ghcode:00000:54b45d39e228
mit
codeparrot/github-code
54b45d39e228eb9e32a0dca5129d222da2a4057e332c42b5c654fd7f80d8a6c8
0.75
testing_debugging_repair_refactoring
1,489
false
2026-07-17
using System; using System.Diagnostics; using Pgno = System.UInt32; using PTRMAP = Contoso.Core.MemPage.PTRMAP; using Contoso.Threading; namespace Contoso.Core { public partial class BtShared { internal RC allocateBtreePage(ref MemPage ppPage, ref Pgno pPgno, Pgno nearby, byte exact) ...
Grimace1975/gpustructs
src/Structs.Data.Btree/Core+Btree/BtShared+Alloc.cs
https://github.com/Grimace1975/gpustructs/blob/HEAD/src/Structs.Data.Btree/Core+Btree/BtShared+Alloc.cs
ghcode:00000:735dd0968cba
mit
codeparrot/github-code
735dd0968cbaced96c2cd379c07ed1214bd3b345a7ea6240df2c8bf26847e13a
0.7
testing_debugging_repair_refactoring
4,076
false
2026-07-17
#region License // Pomona is open source software released under the terms of the LICENSE specified in the // project's repository, or alternatively at http://pomona.io/ #endregion using System.Linq; using Critters.Client; using NUnit.Framework; using Pomona.Example.Models; namespace Pomona.SystemTests { [T...
Pomona/Pomona
tests/Pomona.SystemTests/VirtualPropertyTests.cs
https://github.com/Pomona/Pomona/blob/HEAD/tests/Pomona.SystemTests/VirtualPropertyTests.cs
ghcode:00000:5d1b9cddbae6
mit
codeparrot/github-code
5d1b9cddbae6577e11daa157f8719bb977ad8a68e90ae070c50efa29d51dbd3a
0.85
testing_debugging_repair_refactoring
395
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Serialization; namespace HTLib2.Bioinfo { public partial class Pdb { [Serializable] public class Model : Element, IComparable<Model>, IBinarySerializable { /// http://www.wwpd...
htna/HCsbLib
HCsbLib/HCsbLib/HTLib2.Bioinfo/Pdb/Pdb.Element/CoordinateSection/Pdb.Model.cs
https://github.com/htna/HCsbLib/blob/HEAD/HCsbLib/HCsbLib/HTLib2.Bioinfo/Pdb/Pdb.Element/CoordinateSection/Pdb.Model.cs
ghcode:00000:8d7190ca0e12
mit
codeparrot/github-code
8d7190ca0e1223988b1674973967716631504c3d0af85d7bf966875f273ae840
0.7
testing_debugging_repair_refactoring
1,410
false
2026-07-17
using System; using System.Linq; using NUnit.Framework; namespace StringCalcKata { [TestFixture] public class StringCalcKataTests { public StringCalculator Calculator; [TestFixtureSetUp] public void CreateCalculator() { Calculator = new StringCalculator(); ...
StormPooper/CSharpKatas
StringCalcKata/StringCalcKataTests.cs
https://github.com/StormPooper/CSharpKatas/blob/HEAD/StringCalcKata/StringCalcKataTests.cs
ghcode:00000:9000d9c7849e
unlicense
codeparrot/github-code
9000d9c7849eb163ab27bf73178fc09674e74c52050f068cdec1890103f3adf2
0.78
testing_debugging_repair_refactoring
557
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.AspNetCore.Mvc.RazorPages; namespace RazorPagesWebSite { public class PageWithModel : PageModel { } }
aspnet/AspNetCore
src/Mvc/test/WebSites/RazorPagesWebSite/Pages/CustomBaseType/PageWithModel.cs
https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/CustomBaseType/PageWithModel.cs
ghcode:00000:0cdf0d963cb0
apache-2.0
codeparrot/github-code
0cdf0d963cb0db9886f55fc43e6e8b77c77c4cb47f578e6c67901802badde8d4
0.85
testing_debugging_repair_refactoring
58
false
2026-07-17
#region Copyright (c) 2011 Atif Aziz. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by app...
elmah/Fabmail
src/App_Packages/StackTraceFormatter/StackTraceFormatter.cs
https://github.com/elmah/Fabmail/blob/HEAD/src/App_Packages/StackTraceFormatter/StackTraceFormatter.cs
ghcode:00000:d4874c80ac98
apache-2.0
codeparrot/github-code
d4874c80ac982d88a48152bba7f5a8879c3ab14bef42442e90ff8f32a1257a9d
0.7
testing_debugging_repair_refactoring
1,367
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.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions...
aspnet/AspNetCore
src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithBasePath.cs
https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithBasePath.cs
ghcode:00000:d3ba26c0883f
apache-2.0
codeparrot/github-code
d3ba26c0883f3ee5798bacb7046efc98e062c217b85a26bc51710defb4c5d9ab
0.85
testing_debugging_repair_refactoring
323
false
2026-07-17
using System.Reflection; using FluentValidation; using ScaffoldR.Core.Validation; using ScaffoldR.Infrastructure.FluentValidation; using ScaffoldR.Tests.Infrastructure.Commands.Fakes; using ScaffoldR.Tests.Infrastructure.Queries.Fakes; using SimpleInjector; using Xunit; namespace ScaffoldR.Tests.Infrastructure.Fluent...
hartmanns/ScaffoldR
src/ScaffoldR.Tests/Infrastructure/FluentValidation/ValidationProcessorTests.cs
https://github.com/hartmanns/ScaffoldR/blob/HEAD/src/ScaffoldR.Tests/Infrastructure/FluentValidation/ValidationProcessorTests.cs
ghcode:00000:da8cc3d90d03
apache-2.0
codeparrot/github-code
da8cc3d90d03f389a9c3247a1ad5c38899e6e730d71cb87ad17864dddeb7250a
0.75
testing_debugging_repair_refactoring
282
false
2026-07-17
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2019 Atif Aziz. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http:...
morelinq/MoreLINQ
MoreLinq.Test/AggregateTest.cs
https://github.com/morelinq/MoreLINQ/blob/HEAD/MoreLinq.Test/AggregateTest.cs
ghcode:00000:8318e71a8e56
apache-2.0
codeparrot/github-code
8318e71a8e5601a5bf3716556417c4302ecd88414de8d78679df3910fbf19ae6
0.7
testing_debugging_repair_refactoring
2,015
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using NUnit.Framework; namespace Salient.JsonClient.Tests { [TestFixture] public class CacheFixture : LoggingFixtureBase { [Test] public void ItemCanBeCached() { ...
bitpusher/Salient.JsonClient
src/Salient.JsonClient.35.Tests/CacheFixture.cs
https://github.com/bitpusher/Salient.JsonClient/blob/HEAD/src/Salient.JsonClient.35.Tests/CacheFixture.cs
ghcode:00000:2f4a07211f53
apache-2.0
codeparrot/github-code
2f4a07211f53a4737387f2163767fa6a1e1dfd1adb246cd85fbab605a8697000
0.6
testing_debugging_repair_refactoring
298
false
2026-07-17
// Copyright 2011, Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
stevemanderson/googleads-dotnet-lib
tests/Dfp/BaseTests.cs
https://github.com/stevemanderson/googleads-dotnet-lib/blob/HEAD/tests/Dfp/BaseTests.cs
ghcode:00000:c9ec3e017b00
apache-2.0
codeparrot/github-code
c9ec3e017b00e517a1c27840b8520fbd6da1cd3468f71545aec45187bb480c38
0.85
testing_debugging_repair_refactoring
319
false
2026-07-17
using MvcTemplate.Data.Core; using MvcTemplate.Data.Migrations; using MvcTemplate.Objects; using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Reflection; using System.Resources; using Xunit; namespace MvcTemplate.Tests.Unit.Resources {...
liyanippon/working
data/work/asp.net/MVC6.Template-develop/test/MvcTemplate.Tests/Unit/Resources/ResourcesTests.cs
https://github.com/liyanippon/working/blob/HEAD/data/work/asp.net/MVC6.Template-develop/test/MvcTemplate.Tests/Unit/Resources/ResourcesTests.cs
ghcode:00000:ab7977d8e4d6
apache-2.0
codeparrot/github-code
ab7977d8e4d6e0cda9a016610dcab4103489b1efdffc630a1f342db2dcf0bcdc
0.85
testing_debugging_repair_refactoring
658
false
2026-07-17
namespace Summer.Batch.CoreTests { } // // Copyright 2015 Blu Age Corporation - Plano, Texas // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apac...
pkubryk/SummerBatch
Summer.Batch.CoreTests/TestDBDataSet.cs
https://github.com/pkubryk/SummerBatch/blob/HEAD/Summer.Batch.CoreTests/TestDBDataSet.cs
ghcode:00000:c60e45e0168f
apache-2.0
codeparrot/github-code
c60e45e0168f36285ba2731829d37ca1d92c51c000022c90193f6819a5708898
0.85
testing_debugging_repair_refactoring
162
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Canvas.v1.Managers; using Canvas.v1.Models; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Canvas.v1.Test.Managers { [TestClass] public class AccountsManagerTests : ResourceManagerTest { ...
unizin/canvas-windows-sdk-v1
Canvas.v1.Test/Managers/AccountsManagerTests.cs
https://github.com/unizin/canvas-windows-sdk-v1/blob/HEAD/Canvas.v1.Test/Managers/AccountsManagerTests.cs
ghcode:00000:50bf0b0fe775
apache-2.0
codeparrot/github-code
50bf0b0fe775f99d43303e16666b8847105b1e3228622b02dece8cb09418974d
0.75
testing_debugging_repair_refactoring
841
false
2026-07-17
//----------------------------------------------------------------------- // <copyright file="TypeExtensionsTests.cs" company="Akka.NET Project"> // Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyrig...
simonlaroche/akka.net
src/core/Akka.Tests/Util/AkkaVersionSpec.cs
https://github.com/simonlaroche/akka.net/blob/HEAD/src/core/Akka.Tests/Util/AkkaVersionSpec.cs
ghcode:00000:17064629e245
apache-2.0
codeparrot/github-code
17064629e2451cac77cb957ad309a825a16d50fe7b87122717928fb829c4971d
0.85
testing_debugging_repair_refactoring
1,614
false
2026-07-17
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CalculatorTest.cs" company="bbv Software Services AG"> // Copyright (c) 2014 - 2020 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not u...
mmarkovic/CleanCode.Academy
source/Testing.Sample/2 Fody EnableFakting Sample/CalculatorTest.cs
https://github.com/mmarkovic/CleanCode.Academy/blob/HEAD/source/Testing.Sample/2 Fody EnableFakting Sample/CalculatorTest.cs
ghcode:00000:1b182831250d
apache-2.0
codeparrot/github-code
1b182831250de56941f07df058a05ea9048f5f8d27e94209e0ad47956ac46283
0.7
testing_debugging_repair_refactoring
868
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 Roslyn.Utilities; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; usin...
MichalStrehovsky/roslyn
src/Compilers/CSharp/Portable/Symbols/TypeWithAnnotations.cs
https://github.com/MichalStrehovsky/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/TypeWithAnnotations.cs
ghcode:00000:1c3b89764f2b
apache-2.0
codeparrot/github-code
1c3b89764f2be75c3a4c64b26d139481e2f289ece107476af2875072cf7ee217
0.7
testing_debugging_repair_refactoring
7,674
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using Should; namespace BoDi.Tests { [TestFixture] public class NamedRegistrationTests { [Test] public void ShouldBeAbleToRegisterTypeWithName() { ...
gasparnagy/BoDi
BoDi.Tests/NamedRegistrationTests.cs
https://github.com/gasparnagy/BoDi/blob/HEAD/BoDi.Tests/NamedRegistrationTests.cs
ghcode:00000:342f5f0bd12e
apache-2.0
codeparrot/github-code
342f5f0bd12e828466f4775b3db2c1941ddca00ec7c3b8ab838cd5c09a82e566
0.85
testing_debugging_repair_refactoring
1,205
false
2026-07-17
using System; using System.Linq; using System.Threading.Tasks; using Box.V2.Managers; using Box.V2.Models; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; namespace Box.V2.Test { [TestClass] public class BoxEventsManagerTest : BoxResourceManagerTest { private readonly BoxEventsManage...
box/box-windows-sdk-v2
Box.V2.Test/BoxEventsManagerTest.cs
https://github.com/box/box-windows-sdk-v2/blob/HEAD/Box.V2.Test/BoxEventsManagerTest.cs
ghcode:00000:4b24c52dd32f
apache-2.0
codeparrot/github-code
4b24c52dd32fca1b7701c42bd5a39b63d4bbebb7991965734ed90a57bd1d3008
0.7
testing_debugging_repair_refactoring
4,315
false
2026-07-17
using System; using System.Linq; using FluentAssertions; using NSubstitute; using NUnit.Framework; using Ponics.Analysis.Levels.Ammonia.Commands; using Ponics.Analysis.Levels.Iron.Commands; using Ponics.Analysis.Levels.Nitrate.Commands; using Ponics.Analysis.Levels.Nitrite.Commands; using Ponics.Analysis.Levels.Ph.Com...
gravypower/Auto.Aquaponics
src/Ponics.Api.Tests/CompositionRoot/ToleranceCommands/BootstrapToleranceCommandsTests.cs
https://github.com/gravypower/Auto.Aquaponics/blob/HEAD/src/Ponics.Api.Tests/CompositionRoot/ToleranceCommands/BootstrapToleranceCommandsTests.cs
ghcode:00000:4856e5b8d0d0
apache-2.0
codeparrot/github-code
4856e5b8d0d0bec436ff31ef3182b335ab95e026cf3042c9f78973ff569cce5d
0.85
testing_debugging_repair_refactoring
916
false
2026-07-17
using NUnit.Framework; using Spring.Objects.Factory; using Spring.Objects.Factory.Xml; /* * Copyright 2002-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the...
spring-projects/spring-net
test/Spring/Spring.Aop.Tests/Aop/Target/SimplePoolTargetSourceTests.cs
https://github.com/spring-projects/spring-net/blob/HEAD/test/Spring/Spring.Aop.Tests/Aop/Target/SimplePoolTargetSourceTests.cs
ghcode:00000:a293bd53bbf3
apache-2.0
codeparrot/github-code
a293bd53bbf360fccd1b0ad304b04b859df70c93da9d124b57b4486ba8494b00
0.85
testing_debugging_repair_refactoring
734
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.Immutable; using System.IO; using System.Linq; using System.Reflection.Metadata; using System.Reflection.PortableExecu...
ManishJayaswal/roslyn
src/Compilers/CSharp/Test/Emit/Attributes/InternalsVisibleToAndStrongNameTests.cs
https://github.com/ManishJayaswal/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/Attributes/InternalsVisibleToAndStrongNameTests.cs
ghcode:00000:f6c7751f5380
apache-2.0
codeparrot/github-code
f6c7751f5380a39b7c9b8f20fb05570355c5cba4a2fbd1d7a64a5acbcc76fa6d
0.82
testing_debugging_repair_refactoring
25,999
false
2026-07-17
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Diagnostics; using System.Globalization; using System.IO; using System.IO.Compression; using System.Linq; using System.Net; using System.Reactive.Linq; using System.Reactive.Subjects; using System.Text.RegularExpressions;...
cstlaurent/elasticsearch-net
src/Tests/Framework/Integration/Process/ElasticsearchNode.cs
https://github.com/cstlaurent/elasticsearch-net/blob/HEAD/src/Tests/Framework/Integration/Process/ElasticsearchNode.cs
ghcode:00000:dee8a42fb3f7
apache-2.0
codeparrot/github-code
dee8a42fb3f72f591137602b2b4da3e01b9b8486b3650131fa839374aaaff05d
0.95
testing_debugging_repair_refactoring
4,336
false
2026-07-17
using Xunit; namespace Jint.Tests.Test262.BuiltIns { public class GeneratorTests : Test262Test { [Theory(DisplayName = "built-ins\\GeneratorFunction", Skip = "TODO")] [MemberData(nameof(SourceFiles), "built-ins\\GeneratorFunction", false)] [MemberData(nameof(SourceFiles), "built-ins\\Ge...
sebastienros/jint
Jint.Tests.Test262/BuiltIns/GeneratorTests.cs
https://github.com/sebastienros/jint/blob/HEAD/Jint.Tests.Test262/BuiltIns/GeneratorTests.cs
ghcode:00000:8d870b400b6c
bsd-2-clause
codeparrot/github-code
8d870b400b6c20a2a8c3b0a6911c95ba2309bd7a87ff853d5d0b7187c2e0853d
0.68
testing_debugging_repair_refactoring
186
false
2026-07-17
using System; using Microservice.Membership.Subsys.v1.Actions; using StoryLine; using StoryLine.Rest.Actions; using StoryLine.Rest.Expectations; using StoryLine.Rest.Expectations.Extensions; using StoryLine.Rest.Extensions; using StoryLine.Rest.Services.Http; using StoryLine.Utils.Actions; using StoryLine.Utils.Servic...
DiamondDragon/StoryLine.Rest
Examples/Microservice.Membership.Subsys/v1/Resources/User/Get.cs
https://github.com/DiamondDragon/StoryLine.Rest/blob/HEAD/Examples/Microservice.Membership.Subsys/v1/Resources/User/Get.cs
ghcode:00000:a10e3c8de281
bsd-3-clause
codeparrot/github-code
a10e3c8de2817dc105d116add7a48bcb626eb0c4859bd4cf5951d23054595d1c
0.6
testing_debugging_repair_refactoring
387
false
2026-07-17
/*! * Cloudeo SDK C# bindings. * http://www.cloudeo.tv * * Copyright (C) SayMama Ltd 2012 * Released under the BSD license. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using CDO; using System.Threading; namespace CDOTest { [TestFixture] ...
cloudeolive/cdo_sdk_c_sharp
CDO/CDOTest/CloudeoServiceConnectivityTest.cs
https://github.com/cloudeolive/cdo_sdk_c_sharp/blob/HEAD/CDO/CDOTest/CloudeoServiceConnectivityTest.cs
ghcode:00000:fe3a811b5399
bsd-3-clause
codeparrot/github-code
fe3a811b5399afcf67775fee335e9a154b360c07010c8a2f016ba57e2d4c9eb3
0.6
testing_debugging_repair_refactoring
1,723
false
2026-07-17
namespace Merchello.Tests.IntegrationTests.ObjectResolution { using Merchello.Core.EntityCollections; using Merchello.Core.EntityCollections.Providers; using Merchello.Tests.Base.TestHelpers; using Merchello.Web.Models.ContentEditing.Collections; using NUnit.Framework; [TestFixture] publi...
MindfireTechnology/Merchello
test/Merchello.Tests.IntegrationTests/ObjectResolution/EntityCollectionResolution.cs
https://github.com/MindfireTechnology/Merchello/blob/HEAD/test/Merchello.Tests.IntegrationTests/ObjectResolution/EntityCollectionResolution.cs
ghcode:00000:8070b4a67d8f
mit
codeparrot/github-code
8070b4a67d8f287c3a846fff3ac68afc0caab85f8c5ba9effe259f36d4fcfb0d
0.85
testing_debugging_repair_refactoring
492
false
2026-07-17
#define WINDOWS_PHONE #define SILVERLIGHT /* Copyright (C) 2008-2011, Bit Miracle * http://www.bitmiracle.com * * Copyright (C) 1994-1996, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * */ /* * This ...
wwqly12/Snaker
Assets/Plugins/Reign/Platforms/Shared/ImageTools/JPG/LibJpeg/Classic/jvirt_array.cs
https://github.com/wwqly12/Snaker/blob/HEAD/Assets/Plugins/Reign/Platforms/Shared/ImageTools/JPG/LibJpeg/Classic/jvirt_array.cs
ghcode:00000:f90c6d980025
mit
codeparrot/github-code
f90c6d98002509469e2087b7f6c4e6ba56a30813b474d84ea8ef8cec6c38178d
0.7
testing_debugging_repair_refactoring
785
false
2026-07-17
using System; using System.Linq; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Columns; using BenchmarkDotNet.Configs; using BenchmarkDotNet.Exporters; using BenchmarkDotNet.Loggers; using BenchmarkDotNet.Reports; using BenchmarkDotNet.Tests.Mocks; using Xunit; using Xunit.Abstractions; namespace BenchmarkD...
Ky7m/BenchmarkDotNet
tests/BenchmarkDotNet.Tests/Reports/DefaultColumnProvidersTests.cs
https://github.com/Ky7m/BenchmarkDotNet/blob/HEAD/tests/BenchmarkDotNet.Tests/Reports/DefaultColumnProvidersTests.cs
ghcode:00000:4edd5faeb95d
mit
codeparrot/github-code
4edd5faeb95d537bca0a77444e514ef67dc553d389ff44a5715bf4378cc7a53f
0.75
testing_debugging_repair_refactoring
491
false
2026-07-17
using EncompassRest.Loans; using EncompassRest.Utilities; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace EncompassRest.Tests { [TestClass] public class JsonHelperTests { [TestMethod] public void PopulateArray_HandlesDuplicateIds() { var customField = new ...
hfcjweinstock/EncompassREST
src/EncompassRest.Tests/JsonHelperTests.cs
https://github.com/hfcjweinstock/EncompassREST/blob/HEAD/src/EncompassRest.Tests/JsonHelperTests.cs
ghcode:00000:c8a4cf947123
mit
codeparrot/github-code
c8a4cf94712349a07bc29fb2fbac440a7ee23792e9785e4685c14449fc4560d7
0.75
testing_debugging_repair_refactoring
192
false
2026-07-17
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy,...
brjohnstmsft/Newtonsoft.Json
Src/Newtonsoft.Json.Tests/Converters/StringEnumConverterTests.cs
https://github.com/brjohnstmsft/Newtonsoft.Json/blob/HEAD/Src/Newtonsoft.Json.Tests/Converters/StringEnumConverterTests.cs
ghcode:00000:7921656c63cc
mit
codeparrot/github-code
7921656c63cca5a82abdcbd8b88d310c422e9c8d054960fab50232b08fd2deec
0.85
testing_debugging_repair_refactoring
7,623
false
2026-07-17
namespace GraphQLCore.Tests.Execution { using GraphQLCore.Execution; using GraphQLCore.Type; using GraphQLCore.Type.Directives; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; ...
mkmarek/graphql-dotnetcore
test/GraphQLCore.Tests/Execution/ExecutionContext_Arguments.cs
https://github.com/mkmarek/graphql-dotnetcore/blob/HEAD/test/GraphQLCore.Tests/Execution/ExecutionContext_Arguments.cs
ghcode:00000:3c335df76439
mit
codeparrot/github-code
3c335df76439260da19b9c187b80daf4e91214c84b42a7c1aba3e289bc105f26
0.6
testing_debugging_repair_refactoring
2,736
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.Collections.Immutable; using System.ComponentModel.Composition; usin...
abock/roslyn
src/EditorFeatures/CSharpTest/Formatting/CodeCleanupTests.cs
https://github.com/abock/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Formatting/CodeCleanupTests.cs
ghcode:00000:1548ba5a30ba
mit
codeparrot/github-code
1548ba5a30ba2c91dc396654d04288eee97fd947a831758bfdd40ff0c550df8f
0.85
testing_debugging_repair_refactoring
1,635
false
2026-07-17
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using Azure.Core.TestFramework; using NUnit.Framework; using Azure.Data.Tables.Tests; using System.Net; namespace Azure.Data.Tables.Samples { public partial class TablesSamples : TablesTestEnvironment ...
Azure/azure-sdk-for-net
sdk/tables/Azure.Data.Tables/tests/samples/Sample7_Troubleshooting.cs
https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/tables/Azure.Data.Tables/tests/samples/Sample7_Troubleshooting.cs
ghcode:00000:a3e2ed92dc8c
mit
codeparrot/github-code
a3e2ed92dc8c86bfaad457bf3f38cb0f81cbafb30207e5485e622d6f18daee0b
0.95
testing_debugging_repair_refactoring
239
false
2026-07-17
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
mwilliamson-firefly/aws-sdk-net
sdk/test/UnitTests/Custom/Marshalling/LambdaMarshallingTests.extensions.cs
https://github.com/mwilliamson-firefly/aws-sdk-net/blob/HEAD/sdk/test/UnitTests/Custom/Marshalling/LambdaMarshallingTests.extensions.cs
ghcode:00000:d4a4dd471b15
apache-2.0
codeparrot/github-code
d4a4dd471b150df35a93cce5439bdedd9d119b38c7455a1169818bbd8c1a4c46
0.85
testing_debugging_repair_refactoring
442
false
2026-07-17
//----------------------------------------------------------------------- // <copyright file="WeightedRouteesSpec.cs" company="Akka.NET Project"> // Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyrig...
simonlaroche/akka.net
src/contrib/cluster/Akka.Cluster.Metrics.Tests/WeightedRouteesSpec.cs
https://github.com/simonlaroche/akka.net/blob/HEAD/src/contrib/cluster/Akka.Cluster.Metrics.Tests/WeightedRouteesSpec.cs
ghcode:00000:c46d0b9de5a2
apache-2.0
codeparrot/github-code
c46d0b9de5a2892c1dca210ec728ae6778c57aa69c33b6cd48c528f186178222
0.85
testing_debugging_repair_refactoring
1,507
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 Bridge.Test.NUnit; using System; using System.Collections.Generic; using System.IO; using System.Linq; using S...
AndreyZM/Bridge
Tests/Batch1/IO/StreamWriter/StreamWriter.FlushTests.cs
https://github.com/AndreyZM/Bridge/blob/HEAD/Tests/Batch1/IO/StreamWriter/StreamWriter.FlushTests.cs
ghcode:00000:f9aa7bdf1129
apache-2.0
codeparrot/github-code
f9aa7bdf112945f9e9fbc5ba1d41df2460ce8f9527d3b5aafbdb44ef85cff38e
0.85
testing_debugging_repair_refactoring
226
false
2026-07-17
using System; using Nest; using Tests.Framework.Integration; using Tests.Framework.MockData; using static Nest.Infer; namespace Tests.Aggregations.Bucket.Children { /** * A special single bucket aggregation that enables aggregating from buckets on parent document types to * buckets on child documents. * * Be...
UdiBen/elasticsearch-net
src/Tests/Aggregations/Bucket/Children/ChildrenAggregationUsageTests.cs
https://github.com/UdiBen/elasticsearch-net/blob/HEAD/src/Tests/Aggregations/Bucket/Children/ChildrenAggregationUsageTests.cs
ghcode:00000:212c445a01ba
apache-2.0
codeparrot/github-code
212c445a01ba0ed065e3652c4a3a4f769f0bab4e74e48e02aff1e8b9e290c2d9
0.85
testing_debugging_repair_refactoring
451
false
2026-07-17
using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Moq; using NBitcoin; using Stratis.Bitcoin.Configuration; using Stratis.Bitcoin.Features.Consensus; using Stratis.Bitcoin.Features.Consensus.CoinViews; using Stratis.Bitcoin.Features.MemoryPool.Fee; using Stratis....
mikedennis/StratisBitcoinFullNode
src/Stratis.Bitcoin.Features.MemoryPool.Tests/MempoolManagerTest.cs
https://github.com/mikedennis/StratisBitcoinFullNode/blob/HEAD/src/Stratis.Bitcoin.Features.MemoryPool.Tests/MempoolManagerTest.cs
ghcode:00000:7c59d417325d
mit
codeparrot/github-code
7c59d417325d83dacff8196993eba579b887ea11d292ee7b52fe54c6be20e7c3
0.7
testing_debugging_repair_refactoring
987
false
2026-07-17
using System; using System.IO; using System.Threading; using JetBrains.Annotations; // ReSharper disable once CheckNamespace namespace BenchmarkDotNet.Loggers { // BASEDON: https://github.com/dotnet/BenchmarkDotNet/blob/master/src/BenchmarkDotNet.Core/Loggers/StreamLogger.cs /// <summary> /// Implementation of <...
rsdn/CodeJam
PerfTests[WIP]/src/[L0_PortToBenchmerkDotNet]/Loggers/LazySynchronizedStreamLogger.cs
https://github.com/rsdn/CodeJam/blob/HEAD/PerfTests[WIP]/src/[L0_PortToBenchmerkDotNet]/Loggers/LazySynchronizedStreamLogger.cs
ghcode:00000:aea1e9912430
mit
codeparrot/github-code
aea1e9912430897baaa236752c7a2a1ae8a76aa0cb37d069645a980b9f23bdf4
0.8
testing_debugging_repair_refactoring
620
false
2026-07-17
//----------------------------------------------------------------------- // <copyright file="BootstrapperExeTests.cs" company="SonarSource SA and Microsoft Corporation"> // Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the proje...
HSAR/sonar-msbuild-runner
Tests/SonarQube.Bootstrapper.Tests/BootstrapperExeTests.cs
https://github.com/HSAR/sonar-msbuild-runner/blob/HEAD/Tests/SonarQube.Bootstrapper.Tests/BootstrapperExeTests.cs
ghcode:00000:e25b1589970c
mit
codeparrot/github-code
e25b1589970c72fc2f0388e13cf6ef0b9b0a4d123f1d8bf2592d86a0226fd95b
0.85
testing_debugging_repair_refactoring
3,279
false
2026-07-17
using System; using System.IO; using System.Threading; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using Renci.SshNet.Sftp; namespace Renci.SshNet.Tests.Classes.Sftp { [TestClass] public class SftpFileStreamTest_Ctor_FileModeCreateNew_FileAccessWrite : SftpFileStreamTestBase { p...
Bloomcredit/SSH.NET
src/Renci.SshNet.Tests/Classes/Sftp/SftpFileStreamTest_Ctor_FileModeCreateNew_FileAccessWrite.cs
https://github.com/Bloomcredit/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileStreamTest_Ctor_FileModeCreateNew_FileAccessWrite.cs
ghcode:00000:8913f5732c7a
mit
codeparrot/github-code
8913f5732c7ac808c7a96adc92478855e39617e5de0985374eaac3934e7662cc
0.6
testing_debugging_repair_refactoring
1,016
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using ZeroMQ; namespace Examples { static partial class Program { public static void FLServer1(string[] args) { // // Freelance server - Model 1 // Trivial echo service // // Author: met...
soscpd/bee
root/tests/zguide/examples/C#/flserver1.cs
https://github.com/soscpd/bee/blob/HEAD/root/tests/zguide/examples/C#/flserver1.cs
ghcode:00000:1002387da873
mit
codeparrot/github-code
1002387da873ca208e44809fe6aaa12bade8a6606554b739110689343c551a91
0.95
testing_debugging_repair_refactoring
363
false
2026-07-17
using System.Linq; using Shouldly; using Xunit; namespace Marten.Testing.Bugs { public class Bug_337_certain_boolean_searches_are_not_using_searchable_field : IntegratedFixture { [Fact] public void use_searchable_fields_in_generated_sql() { StoreOptions(_ => { ...
jmbledsoe/marten
src/Marten.Testing/Bugs/Bug_337_certain_boolean_searches_are_not_using_searchable_field.cs
https://github.com/jmbledsoe/marten/blob/HEAD/src/Marten.Testing/Bugs/Bug_337_certain_boolean_searches_are_not_using_searchable_field.cs
ghcode:00000:64029ec0f2a9
mit
codeparrot/github-code
64029ec0f2a93075f811c40b1ecec1250c67dbc0db77dbffe19492f630319ce7
0.6
testing_debugging_repair_refactoring
343
false
2026-07-17
using System.Collections.Generic; using System.Linq; using Microsoft.Extensions.Logging; using Moq; using NBitcoin; using Stratis.Bitcoin.AsyncWork; using Stratis.Bitcoin.Base; using Stratis.Bitcoin.Base.Deployments; using Stratis.Bitcoin.Configuration; using Stratis.Bitcoin.Configuration.Logging; using Stratis.Bitcoi...
fassadlr/StratisBitcoinFullNode
src/Stratis.Bitcoin.Features.PoA.Tests/PoATestsBase.cs
https://github.com/fassadlr/StratisBitcoinFullNode/blob/HEAD/src/Stratis.Bitcoin.Features.PoA.Tests/PoATestsBase.cs
ghcode:00000:cc25f0235175
mit
codeparrot/github-code
cc25f023517524c05eba2968481a6613fd6e371c5d50c22ec3012644fb6f1425
0.6
testing_debugging_repair_refactoring
1,817
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...
OctopusDeploy/azure-sdk-tools
WindowsAzurePowershell/src/Management.ScenarioTest/CloudServiceTests/EmulatorTests.cs
https://github.com/OctopusDeploy/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.ScenarioTest/CloudServiceTests/EmulatorTests.cs
ghcode:00000:0118c92db249
apache-2.0
codeparrot/github-code
0118c92db2499ad358ae4a2a46e0cbc445a86a1374fdbd70975d2219eccdd30c
0.95
testing_debugging_repair_refactoring
558
false
2026-07-17
/* * C# Version Ported by Matt Bettcher and Ian Qvist 2009-2010 * * Original C++ Version Copyright (c) 2007 Eric Jordan * * 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 this software. * Permission i...
Blucky87/Nez
Nez.FarseerPhysics/Farseer/Common/Decomposition/EarclipDecomposer.cs
https://github.com/Blucky87/Nez/blob/HEAD/Nez.FarseerPhysics/Farseer/Common/Decomposition/EarclipDecomposer.cs
ghcode:00000:ce0b104756f9
mit
codeparrot/github-code
ce0b104756f9991239e846683ddb180ec97a6f5c723f99189fc311680b67a2e2
0.7
testing_debugging_repair_refactoring
3,890
false
2026-07-17
using Moq; namespace Cassette { public abstract class UrlGeneratorTestsBase { protected readonly Mock<IUrlModifier> UrlModifier = new Mock<IUrlModifier>(); protected readonly FakeFileSystem SourceDirectory = new FakeFileSystem(); internal readonly UrlGenerator UrlGenerator; ...
honestegg/cassette
src/Cassette.UnitTests/UrlGeneratorTestsBase.cs
https://github.com/honestegg/cassette/blob/HEAD/src/Cassette.UnitTests/UrlGeneratorTestsBase.cs
ghcode:00000:c8fa76d79236
mit
codeparrot/github-code
c8fa76d79236b98508e4d10309413b3f4f83092902d4b81ece105e249320ae94
0.6
testing_debugging_repair_refactoring
117
false
2026-07-17
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Identity; using NUnit.Framework; using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; using Azure.Security.KeyVault.Tests; namespace Azure.Security.KeyVault.Secrets...
ayeletshpigelman/azure-sdk-for-net
sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/samples/Sample3_GetSecrets.cs
https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/samples/Sample3_GetSecrets.cs
ghcode:00000:84616852f94e
mit
codeparrot/github-code
84616852f94e49f19ba764f5cbbb310f9486eb4f2f523e722aa799bb1fd9e174
0.95
testing_debugging_repair_refactoring
909
false
2026-07-17
//----------------------------------------------------------------------- // <copyright file="GraphMatValueSpec.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...
willieferguson/akka.net
src/core/Akka.Streams.Tests/Dsl/GraphMatValueSpec.cs
https://github.com/willieferguson/akka.net/blob/HEAD/src/core/Akka.Streams.Tests/Dsl/GraphMatValueSpec.cs
ghcode:00000:cd06f1cb7ca4
apache-2.0
codeparrot/github-code
cd06f1cb7ca4246dc337d8551694587fb9c98974704d97a3891eb0aae82635f4
0.85
testing_debugging_repair_refactoring
3,082
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.Concurrent; using System.Collections.Generic; using System.Collections.Immut...
ErikSchierboom/roslyn
src/Compilers/Core/Portable/Compilation/Compilation.cs
https://github.com/ErikSchierboom/roslyn/blob/HEAD/src/Compilers/Core/Portable/Compilation/Compilation.cs
ghcode:00000:a880001ac844
apache-2.0
codeparrot/github-code
a880001ac8444859c5e05946d08d94b6a59a19297b77a8f02785f8e9d01fc142
0.72
testing_debugging_repair_refactoring
25,491
false
2026-07-17
using System.Reflection; namespace Lucene.Net.Codecs { /* * 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 fi...
sisve/lucenenet
src/Lucene.Net.TestFramework/Support/Codecs/TestDocValuesFormatFactory.cs
https://github.com/sisve/lucenenet/blob/HEAD/src/Lucene.Net.TestFramework/Support/Codecs/TestDocValuesFormatFactory.cs
ghcode:00000:c33393f0cea6
apache-2.0
codeparrot/github-code
c33393f0cea69b0414a9c84a4c41b1f6523ad5511f92f8f058de0d0559006f3b
0.85
testing_debugging_repair_refactoring
273
false
2026-07-17
using NUnit.Framework; namespace Lucene.Net.Index { /* * 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 ...
apache/lucenenet
src/Lucene.Net.Tests/Index/TestLogMergePolicy.cs
https://github.com/apache/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Index/TestLogMergePolicy.cs
ghcode:00000:f4d4fbe38660
apache-2.0
codeparrot/github-code
f4d4fbe386600f1214a2bddb966485ee6b367e4c0bf501dff24d194508541796
0.75
testing_debugging_repair_refactoring
234
false
2026-07-17
using System.Collections.Generic; using System.Xml.Linq; using NUnit.Framework; namespace SIL.Lexicon.Tests { [TestFixture] public class ProjectLexiconSettingsDataMapperTests { [Test] public void Read_ValidXml_SetsAllProperties() { const string projectSettingsXml = @"<ProjectLexiconSettings> <WritingSys...
mccarthyrb/libpalaso
SIL.Lexicon.Tests/ProjectLexiconSettingsDataMapperTests.cs
https://github.com/mccarthyrb/libpalaso/blob/HEAD/SIL.Lexicon.Tests/ProjectLexiconSettingsDataMapperTests.cs
ghcode:00000:caa3b632d75f
mit
codeparrot/github-code
caa3b632d75f954a7edaf9c12cb7f0d3b42f1301060c778b74d9049a5a017649
0.75
testing_debugging_repair_refactoring
676
false
2026-07-17
using System; using System.Threading.Tasks; using Octokit; using Octokit.Tests.Integration; using Xunit; using Octokit.Tests.Integration.Helpers; public class DeploymentStatusClientTests : IDisposable { private readonly IDeploymentsClient _deploymentsClient; private readonly RepositoryContext _context; pr...
dampir/octokit.net
Octokit.Tests.Integration/Clients/DeploymentStatusClientTests.cs
https://github.com/dampir/octokit.net/blob/HEAD/Octokit.Tests.Integration/Clients/DeploymentStatusClientTests.cs
ghcode:00000:4335b425ac9e
mit
codeparrot/github-code
4335b425ac9e80c18fdbda31ce7e972a86f4312530e084c874bf63421aef99fe
0.75
testing_debugging_repair_refactoring
2,138
false
2026-07-17
using System; using System.Collections.Generic; using System.Text; using NUnit.Framework; using System.Collections.ObjectModel; namespace OpenQA.Selenium { [TestFixture] public class ElementEqualityTest : DriverTestFixture { [Test] public void SameElementLookedUpDifferentWaysSho...
jmt4/Selenium2
dotnet/test/WebDriver.Common.Tests/ElementEqualityTest.cs
https://github.com/jmt4/Selenium2/blob/HEAD/dotnet/test/WebDriver.Common.Tests/ElementEqualityTest.cs
ghcode:00000:017fdca5c4d1
apache-2.0
codeparrot/github-code
017fdca5c4d1ea2eeb507b6f9079eb9c9a784defd27745631f2d72f5f708469f
0.95
testing_debugging_repair_refactoring
329
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CocosSharp; namespace tests { public class SpriteBatchNodeOffsetAnchorRotation : SpriteTestDemo { const int numOfSprites = 3; CCSprite[] sprites; CCSprite[] pointSprites; CCAnimation anim...
haithemaraissia/CocosSharp
tests/tests/classes/tests/SpriteTest/SpriteBatchNodeOffsetAnchorRotation.cs
https://github.com/haithemaraissia/CocosSharp/blob/HEAD/tests/tests/classes/tests/SpriteTest/SpriteBatchNodeOffsetAnchorRotation.cs
ghcode:00000:21aa7f24f350
mit
codeparrot/github-code
21aa7f24f350d7f1fd47eafa61d639ee00d88a435aae009b90338500bc0f8f83
0.85
testing_debugging_repair_refactoring
768
false
2026-07-17
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy,...
pWnH/CarsonAgainstHumanity
lib/Json90r1/Source/Src/Newtonsoft.Json.Tests/Linq/JArrayTests.cs
https://github.com/pWnH/CarsonAgainstHumanity/blob/HEAD/lib/Json90r1/Source/Src/Newtonsoft.Json.Tests/Linq/JArrayTests.cs
ghcode:00000:f249f8ce3db6
apache-2.0
codeparrot/github-code
f249f8ce3db661381d10d11a481728f70af7b12409b1985315e47195592199fe
0.95
testing_debugging_repair_refactoring
3,840
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 osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Game.Graphics; using osuTK; using osuT...
ppy/osu
osu.Game.Tests/Visual/UserInterface/TestSceneDrawableDate.cs
https://github.com/ppy/osu/blob/HEAD/osu.Game.Tests/Visual/UserInterface/TestSceneDrawableDate.cs
ghcode:00000:3c7409e40f5a
mit
codeparrot/github-code
3c7409e40f5afe8da239eea1def94ffc83dd852107623be5c38515aebe0a4e37
0.75
testing_debugging_repair_refactoring
436
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.Linq; using System.Security.Cryptography.X509Certificates; using Test.Cryptography; using Xunit; names...
zhenlan/corefx
src/System.Security.Cryptography.Pkcs/tests/Rfc3161/TimestampTokenTests.cs
https://github.com/zhenlan/corefx/blob/HEAD/src/System.Security.Cryptography.Pkcs/tests/Rfc3161/TimestampTokenTests.cs
ghcode:00000:53f51863961d
mit
codeparrot/github-code
53f51863961d90fd207ff93c8df0843282dbb4e4b5954c0e43c528f31e629456
0.95
testing_debugging_repair_refactoring
8,866
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.Linq; using System.Text; using Xunit; namespace NetCor...
Vedin/corefxlab
samples/NetCoreSample/NetCoreXunitTestLibrary/UnitTest1.cs
https://github.com/Vedin/corefxlab/blob/HEAD/samples/NetCoreSample/NetCoreXunitTestLibrary/UnitTest1.cs
ghcode:00000:820e03a297d4
mit
codeparrot/github-code
820e03a297d45162fedaaeb41180a9ac2e748ac6a4ae3b5a4db2fb3a57659655
0.7
testing_debugging_repair_refactoring
110
false
2026-07-17
using NUnit.Framework; using Nest.Tests.MockData.Domain; namespace Nest.Tests.Unit.Search.Query.Singles { [TestFixture] public class HasChildQueryJson { [Test] public void HasChildThisQuery() { var s = new SearchDescriptor<ElasticsearchProject>() .From(0) .Size(10) .Query(q => q .HasChild...
joehmchan/elasticsearch-net
src/Tests/Nest.Tests.Unit/Search/Query/Singles/HasChildQueryJson.cs
https://github.com/joehmchan/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Unit/Search/Query/Singles/HasChildQueryJson.cs
ghcode:00000:11965689b512
apache-2.0
codeparrot/github-code
11965689b512cf112d7cbf4ba31fa10da04c8055ec7a4f7aba70184a1aaddb52
0.85
testing_debugging_repair_refactoring
422
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.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.CSharp.UnitTests.Emit; using Microsoft....
paladique/roslyn
src/Compilers/CSharp/Test/Emit/CodeGen/CompoundAssignmentForDelegate.cs
https://github.com/paladique/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/CompoundAssignmentForDelegate.cs
ghcode:00000:dcb543219461
apache-2.0
codeparrot/github-code
dcb5432194615d261a116766c188917cf425e1f9e2d49c5aef30eba3ea30fbc2
0.95
testing_debugging_repair_refactoring
6,810
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.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Micros...
shyamnamboodiripad/roslyn
src/EditorFeatures/CSharpTest/Diagnostics/Configuration/ConfigureSeverity/CSharpCodeStyleOptionBasedSeverityConfigurationTests.cs
https://github.com/shyamnamboodiripad/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/Configuration/ConfigureSeverity/CSharpCodeStyleOptionBasedSeverityConfigurationTests.cs
ghcode:00000:67dd01bfc74f
apache-2.0
codeparrot/github-code
67dd01bfc74f4cffd1fa96302f176b3085a27bb0162eb8e4b3f6e53c7008acde
0.85
testing_debugging_repair_refactoring
2,139
false
2026-07-17
/* * Copyright 2016 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
felixguendling/osrm-backend
third_party/flatbuffers/tests/FlatBuffers.Test/FuzzTestData.cs
https://github.com/felixguendling/osrm-backend/blob/HEAD/third_party/flatbuffers/tests/FlatBuffers.Test/FuzzTestData.cs
ghcode:00000:44ecf4304dd1
bsd-2-clause
codeparrot/github-code
44ecf4304dd1434841278e1f81b4e5657fd17f15e49092142465ab1ca92b78af
0.88
testing_debugging_repair_refactoring
495
false
2026-07-17
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Reflection; using System.Text; using EOLib.IO.Pub; using EOLib.IO.Services; using NUnit.Framework; namespace EOLib.IO.Test.Pub { [TestFixture, ExcludeFromCodeCoverage] public class EIFRecordT...
ethanmoffat/EndlessClient
EOLib.IO.Test/Pub/EIFRecordTest.cs
https://github.com/ethanmoffat/EndlessClient/blob/HEAD/EOLib.IO.Test/Pub/EIFRecordTest.cs
ghcode:00000:02284f3867f6
mit
codeparrot/github-code
02284f3867f695c3a3a575fba509b67c1e1362f42a8092071e7ccfea11847960
0.6
testing_debugging_repair_refactoring
2,348
false
2026-07-17
using Nimbus.MessageContracts; namespace Nimbus.Tests.Unit.InfrastructureTests.MessageContracts { public class SimpleEvent : IBusEvent { } }
NimbusAPI/Nimbus
src/Nimbus.Tests.Unit/InfrastructureTests/MessageContracts/SimpleEvent.cs
https://github.com/NimbusAPI/Nimbus/blob/HEAD/src/Nimbus.Tests.Unit/InfrastructureTests/MessageContracts/SimpleEvent.cs
ghcode:00000:8c475256cf6c
mit
codeparrot/github-code
8c475256cf6cc8e61829a248227d54d4d39ff8bc7e4e792b68c6ed5234e0c2e6
0.5
testing_debugging_repair_refactoring
30
false
2026-07-17
using System.Collections.Generic; using System.Threading.Tasks; using MQTTnet.Server; namespace MQTTnet.Tests.Mockups { public class TestServerStorage : IMqttServerStorage { public IList<MqttApplicationMessage> Messages = new List<MqttApplicationMessage>(); public Task SaveRetainedMessagesAsy...
chkr1011/MQTTnet
Tests/MQTTnet.Core.Tests/Mockups/TestServerStorage.cs
https://github.com/chkr1011/MQTTnet/blob/HEAD/Tests/MQTTnet.Core.Tests/Mockups/TestServerStorage.cs
ghcode:00000:3efdfe7b7c54
mit
codeparrot/github-code
3efdfe7b7c546aefc5b79fc01bc0159e71ba401af76917e8d5a5e8a51794303b
0.75
testing_debugging_repair_refactoring
115
false
2026-07-17
using System; using System.Globalization; using NLog; using NLog.Mustache; using NUnit.Framework; using Should; namespace Tests { [TestFixture] public class LogEventInfoModelTests { [Test] public void should_map_log_event_info_and_exceptions() { var logEv...
mikeobrien/NLog.Mustache
src/Tests/LogEventInfoModelTests.cs
https://github.com/mikeobrien/NLog.Mustache/blob/HEAD/src/Tests/LogEventInfoModelTests.cs
ghcode:00000:22eaa10f08ed
mit
codeparrot/github-code
22eaa10f08ed5c7273d104c83a08a7f2f55999fb2e90597fb3c0aa94dd8374a2
0.85
testing_debugging_repair_refactoring
428
false
2026-07-17
using System; using System.Reflection; using System.Text.RegularExpressions; using NUnit.Framework; using SharpTestsEx; namespace BehaveN.Tests { [TestFixture] public class PatternMaker_Tests { [Test] public void it_generates_patterns_for_int_arguments() { ...
xingh/behaven
BehaveN.Tests/PatternMaker_Tests.cs
https://github.com/xingh/behaven/blob/HEAD/BehaveN.Tests/PatternMaker_Tests.cs
ghcode:00000:9f33a2913652
mit
codeparrot/github-code
9f33a291365202820a0debca03e847d4e899525918a4823274ddf80e4368dd9f
0.75
testing_debugging_repair_refactoring
1,801
false
2026-07-17
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace DocoptNet { public class Docopt { public event EventHandler<PrintExitEventArgs> PrintExit; public IDictionary<string, ValueObject> Ap...
Comandermuffif/docopt.net
src/DocoptNet/Docopt.cs
https://github.com/Comandermuffif/docopt.net/blob/HEAD/src/DocoptNet/Docopt.cs
ghcode:00000:154189361946
mit
codeparrot/github-code
154189361946f77218caa8a9bf30290182b43918751c5566df0f8d41711abd71
0.7
testing_debugging_repair_refactoring
3,469
false
2026-07-17