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.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Moq; using NUnit.Framework; namespace TargetControl.Test { [TestFixture] public class TargetHitManagerTests { private Mock<ISerialCommandInterface> _serialInterface; ...
Defconbots/2015_target_controller
TargetControl/TargetControl.Test/TargetHitManagerTests.cs
https://github.com/Defconbots/2015_target_controller/blob/HEAD/TargetControl/TargetControl.Test/TargetHitManagerTests.cs
ghcode:00161:2031db6e436f
mit
codeparrot/github-code
2031db6e436febedd7101e3a37493cdc5a2d09361e2ab02ad3da5c9d2a720647
0.75
testing_debugging_repair_refactoring
315
false
2026-07-17
#region Copyright (c) 2014 Systematic // ********************************************************************************** // The MIT License (MIT) // // Copyright (c) 2014 Systematic // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation ...
systematic-com/nunit
src/Systematic.NUnit/PropertiesAssert.cs
https://github.com/systematic-com/nunit/blob/HEAD/src/Systematic.NUnit/PropertiesAssert.cs
ghcode:00161:5d8307cbee54
mit
codeparrot/github-code
5d8307cbee54bf76b2a9a559dbd4c04ccbaf0a903e7d991085fb9d78988b7b75
0.7
testing_debugging_repair_refactoring
318
false
2026-07-17
namespace PoliceUk.Tests.Unit.TestDataFactories { using Entities; using Entities.Location; using Entities.StreetLevel; public class CrimeDataFactory { #region Dummy data protected static readonly Crime DummyCrimeOne = new Crime { Category = "anti-social-behavio...
FlyingTopHat/PoliceUK.NET
PoliceUK.Tests.Unit/TestDataFactories/CrimeDataFactory.cs
https://github.com/FlyingTopHat/PoliceUK.NET/blob/HEAD/PoliceUK.Tests.Unit/TestDataFactories/CrimeDataFactory.cs
ghcode:00161:4a39c473ecbb
mit
codeparrot/github-code
4a39c473ecbba0c9ff0bb6c3041cdad451776e5caaaccd29fe73753aa0cd6249
0.75
testing_debugging_repair_refactoring
583
false
2026-07-17
namespace Aspose.Tasks.Examples.CSharp { using System; using System.Collections.Generic; using System.IO; using NUnit.Framework; [TestFixture] public class ExPrimaveraXmlReader : ApiExampleBase { [Test] public void ReadProjectUIDsFromXMLFile() { // ExSta...
aspose-tasks/Aspose.Tasks-for-.NET
Examples/CSharp/ExPrimaveraXmlReader.cs
https://github.com/aspose-tasks/Aspose.Tasks-for-.NET/blob/HEAD/Examples/CSharp/ExPrimaveraXmlReader.cs
ghcode:00161:81147e010aa3
mit
codeparrot/github-code
81147e010aa3f02f3d1549226bbcce6861e831d1c17c2cd8e69156eb08c8505f
0.7
testing_debugging_repair_refactoring
367
false
2026-07-17
namespace TensorSharp.Tests.Operations { using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using TensorSharp.Nodes; using TensorSharp.Operations; [TestClass] public class DivideDoubleOperationTests { [TestMethod] public voi...
ajlopez/TensorSharp
Src/TensorSharp.Tests/Operations/DivideDoubleOperationTests.cs
https://github.com/ajlopez/TensorSharp/blob/HEAD/Src/TensorSharp.Tests/Operations/DivideDoubleOperationTests.cs
ghcode:00161:be32fb5dab0a
mit
codeparrot/github-code
be32fb5dab0a5ac29b138aea8e59830775b4909ae46b2579756c17feb51a9b6b
0.75
testing_debugging_repair_refactoring
814
false
2026-07-17
// The MIT License (MIT) // // Copyright (c) 2015 Rasmus Mikkelsen // https://github.com/rasmus/EventFlow // // 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...
liemqv/EventFlow
Source/EventFlow.TestHelpers/Test.cs
https://github.com/liemqv/EventFlow/blob/HEAD/Source/EventFlow.TestHelpers/Test.cs
ghcode:00161:8379f292595e
mit
codeparrot/github-code
8379f292595ea16b255ca90c3bba2edab8c6f7e0eb098163d281546657c4cfe1
0.85
testing_debugging_repair_refactoring
764
false
2026-07-17
using System; using Moq; interface I { } class ObjectComparisonTest : I { public readonly ObjectComparisonTest Field1 = null; void M() { ObjectComparisonTest x = new ObjectComparisonTest(); ObjectComparisonTest y = new ObjectComparisonTest(); var b = x == y; // GOOD: but still re...
github/codeql
csharp/ql/test/query-tests/Likely Bugs/ObjectComparison/ObjectComparison.cs
https://github.com/github/codeql/blob/HEAD/csharp/ql/test/query-tests/Likely Bugs/ObjectComparison/ObjectComparison.cs
ghcode:00161:d6adb8bc91ca
mit
codeparrot/github-code
d6adb8bc91ca13ecfe6e11cbc008ba7c46558dbde99197a2f5fa13b50a8c0efb
0.95
testing_debugging_repair_refactoring
268
false
2026-07-17
using System; using VerifyXunit; using Xunit; using System.Threading.Tasks; [UsesVerify] public class RewritingMethods { [Fact] public Task RequiresNonNullArgumentForExplicitInterface() { var type = AssemblyWeaver.Assembly.GetType("ClassWithExplicitInterface"); var sample = (IComparable<str...
Fody/NullGuard
Tests/RewritingMethods.cs
https://github.com/Fody/NullGuard/blob/HEAD/Tests/RewritingMethods.cs
ghcode:00161:2f5eb1d276f7
mit
codeparrot/github-code
2f5eb1d276f7f391ef1bebbef49a8bd1d7641e8bfb32446d4adbb70549bea564
0.7
testing_debugging_repair_refactoring
1,980
false
2026-07-17
using AtleX.CommandLineArguments.Help; namespace AtleX.CommandLineArguments.Tests.Help { public class LinuxStyleHelpWriterTests : HelpWriterTests { public LinuxStyleHelpWriterTests() : base(new LinuxStyleHelpWriter()) { } } }
akamsteeg/AtleX.CommandLineArguments
src/AtleX.CommandLineArguments.Tests/Help/LinuxStyleHelpWriterTests.cs
https://github.com/akamsteeg/AtleX.CommandLineArguments/blob/HEAD/src/AtleX.CommandLineArguments.Tests/Help/LinuxStyleHelpWriterTests.cs
ghcode:00161:7c23f9a2b18b
mit
codeparrot/github-code
7c23f9a2b18bc1093823c1d4367561836a1801367e624b7a31e1396b6a6685a8
0.75
testing_debugging_repair_refactoring
60
false
2026-07-17
using System.Threading.Tasks; using NUnit.Framework; using SafeOrbit.Tests; namespace SafeOrbit.Memory.SafeBytesServices { /// <seealso cref="ISafeByte" /> /// <seealso cref="SafeByte" /> [TestFixture] internal class SafeBytePerformanceTests : TestsFor<ISafeByte> { [Test] ...
undergroundwires/SafeOrbit
src/tests/PerformanceTests/Memory/SafeBytes/SafeByte/SafeBytePerformanceTests.cs
https://github.com/undergroundwires/SafeOrbit/blob/HEAD/src/tests/PerformanceTests/Memory/SafeBytes/SafeByte/SafeBytePerformanceTests.cs
ghcode:00161:e17e29e05db5
mit
codeparrot/github-code
e17e29e05db526a5364f309aa5041dba733e70003f59fc64e00b5657608128d0
0.95
testing_debugging_repair_refactoring
190
false
2026-07-17
using System; using System.Text; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Poker; namespace PokerTest { [TestClass] public class CompareHandsTest { [TestMethod] [ExpectedException(typeof(ArgumentException))] public void TestCompareH...
DJBuro/Telerik
HighQualityCode/12. Test-Driven Development/PokerTests/CompareHandsTest.cs
https://github.com/DJBuro/Telerik/blob/HEAD/HighQualityCode/12. Test-Driven Development/PokerTests/CompareHandsTest.cs
ghcode:00161:4cf9a5b5b146
mit
codeparrot/github-code
4cf9a5b5b146e279e4f15b91080d0b4294a041803c0681dcfdff8451f458c112
0.75
testing_debugging_repair_refactoring
1,210
false
2026-07-17
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using Microsoft.VisualStudio.TestTools.UnitTesting; using TestDataGenerator.Core; using TestDataGenerator.Core....
SecretDeveloper/TestDataGenerator.Core
src/TestDataGenerator.Core.Tests/TextTests.cs
https://github.com/SecretDeveloper/TestDataGenerator.Core/blob/HEAD/src/TestDataGenerator.Core.Tests/TextTests.cs
ghcode:00161:67e178358e1c
mit
codeparrot/github-code
67e178358e1c3fc4eb918a86b2909e9adcc0e65f48513dba8f998fbb150e96be
0.72
testing_debugging_repair_refactoring
16,308
false
2026-07-17
using System; using System.Collections; using FluentAssertions; using NUnit.Framework; namespace Nerdle.Ensure.Tests { [TestFixture] public class When_ensuring_type_assignability { [TestFixture] public class On_a_type { [TestFixture] public class When_both_t...
edpollitt/Nerdle.Ensure
Nerdle.Ensure.Tests/When_ensuring_type_assignability.cs
https://github.com/edpollitt/Nerdle.Ensure/blob/HEAD/Nerdle.Ensure.Tests/When_ensuring_type_assignability.cs
ghcode:00161:da6b6763d956
mit
codeparrot/github-code
da6b6763d95657bcc33bd6159ecfd96d10796c35d6c89781dac84b04e099b303
0.6
testing_debugging_repair_refactoring
1,907
false
2026-07-17
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using...
diryboy/roslyn
src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalysisState.cs
https://github.com/diryboy/roslyn/blob/HEAD/src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalysisState.cs
ghcode:00161:8fc131df2bc5
mit
codeparrot/github-code
8fc131df2bc52390526e6b591f76d7fd0b6bcd08ce3da383a31166460bdcfca3
0.85
testing_debugging_repair_refactoring
6,253
false
2026-07-17
using System.Collections.Generic; using System.Linq; using Xunit; using Xunit.Abstractions; using Xunit.Sdk; namespace Sniper.Tests.Integration.Helpers { public class PaidAccountTestDiscoverer : IXunitTestCaseDiscoverer { private readonly IMessageSink diagnosticMessageSink; public PaidAccount...
bluetread/sniper
Sniper.Tests.Integration/Helpers/PaidAccountTestAttribute.cs
https://github.com/bluetread/sniper/blob/HEAD/Sniper.Tests.Integration/Helpers/PaidAccountTestAttribute.cs
ghcode:00161:6d7f48af9b8c
mit
codeparrot/github-code
6d7f48af9b8c533487ac4a4c212365dfd94852bf08e6d83c4e3456a64e07d547
0.75
testing_debugging_repair_refactoring
218
false
2026-07-17
using System.IO; using NUnit.Framework; namespace SikuliSharp.Tests.Unit { [TestFixture] public class AsyncTwoWayStreamsHandlerFactoryTests { [Test] public void CanCreateAnInstance() { var stdout = new StringReader(""); var stderr = new StringReader(""); var stdin = new StringWriter(); Assert.Th...
christianrondeau/SikuliSharp
SikuliSharp.Tests/Unit/AsyncTwoWayStreamsHandlerFactoryTests.cs
https://github.com/christianrondeau/SikuliSharp/blob/HEAD/SikuliSharp.Tests/Unit/AsyncTwoWayStreamsHandlerFactoryTests.cs
ghcode:00161:c008cb4c4e77
mit
codeparrot/github-code
c008cb4c4e774deee53c3bbc5f3412390146afb5de8a1dfa1716675213a36d55
0.75
testing_debugging_repair_refactoring
103
false
2026-07-17
using System; using ConsoleApplication1; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTestProjectTTT { [TestClass] public class TttTests { [TestMethod] public void HaveTwoCrossesInARowTrue() { IsTwoInARowCrossesTrue(ArrayFromString("XXXYYYXXX")); Is...
demns/demns.github.io
ttt solutions/ConsoleApplication1/UnitTestProjectTTT/TTTTests.cs
https://github.com/demns/demns.github.io/blob/HEAD/ttt solutions/ConsoleApplication1/UnitTestProjectTTT/TTTTests.cs
ghcode:00162:84a2e7cf023e
mit
codeparrot/github-code
84a2e7cf023ee1470229745d2033c93b6d3a5dda550707fce54cb59c3962a7d6
0.75
testing_debugging_repair_refactoring
671
false
2026-07-17
using OpenSage.Data.Map; using OpenSage.Data.Scb; using Xunit; using Xunit.Abstractions; namespace OpenSage.Tests.Data.Scb { public class ScbFileTests { private readonly ITestOutputHelper _output; public ScbFileTests(ITestOutputHelper output) { _output = output; } ...
feliwir/openSage
src/OpenSage.Game.Tests/Data/Scb/ScbFileTests.cs
https://github.com/feliwir/openSage/blob/HEAD/src/OpenSage.Game.Tests/Data/Scb/ScbFileTests.cs
ghcode:00162:cddb545fe422
mit
codeparrot/github-code
cddb545fe422fe31af9bab1cb184eda81f68eda1865139532f9ce02cf1af1965
0.75
testing_debugging_repair_refactoring
193
false
2026-07-17
#region Licence /* The MIT License (MIT) Copyright © 2014 Ian Cooper <ian_hammond_cooper@yahoo.co.uk> 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/MessagingGateway/When_acknowledge_is_called_on_a_channel.cs
https://github.com/dstockhammer/Brighter/blob/HEAD/tests/Paramore.Brighter.Tests/MessagingGateway/When_acknowledge_is_called_on_a_channel.cs
ghcode:00162:7b3dc0d6a300
mit
codeparrot/github-code
7b3dc0d6a3004a742f459a26a828a76074cf6668cd8393b0daeec336fb11a77f
0.6
testing_debugging_repair_refactoring
451
false
2026-07-17
#region license /* The MIT License (MIT) * Copyright (c) 2016 Skoth * 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 right...
Skoth/KSPCommEngr
CommEngrTest/GraphTests.cs
https://github.com/Skoth/KSPCommEngr/blob/HEAD/CommEngrTest/GraphTests.cs
ghcode:00162:c5caf696ad66
mit
codeparrot/github-code
c5caf696ad66671d66c1d317ac4fc400cc6f15b443fced6f169b0c3737622c66
0.85
testing_debugging_repair_refactoring
940
false
2026-07-17
using Newtonsoft.Json; namespace Alexa.NET.Management.Internals { public class TesterRequest { [JsonProperty("testers")] public TesterEmail[] Testers { get; set; } } }
stoiveyp/Alexa.NET.Management
Alexa.NET.Management/Internals/TesterRequest.cs
https://github.com/stoiveyp/Alexa.NET.Management/blob/HEAD/Alexa.NET.Management/Internals/TesterRequest.cs
ghcode:00162:db9c4904d690
mit
codeparrot/github-code
db9c4904d690fa3567cb385c778b32b5bbb078f2daa34abf31fb312999e2159b
0.5
testing_debugging_repair_refactoring
43
false
2026-07-17
 namespace H3Control.Tests { using System; using System.Diagnostics; using System.Net; using System.Net.Http; using Links; using NUnit.Framework; using Universe; using Universe.NancyCaching; [TestFixture] public class F0_Test_HttpClientExtentions : BaseTest { [Te...
devizer/h3control
H3Control.Tests/F0_Test_HttpClientExtentions.cs
https://github.com/devizer/h3control/blob/HEAD/H3Control.Tests/F0_Test_HttpClientExtentions.cs
ghcode:00162:3090bfb0031c
mit
codeparrot/github-code
3090bfb0031c4483dfd45670a50a91dd3c6313603d064a59918543bee99c2e3c
0.7
testing_debugging_repair_refactoring
611
false
2026-07-17
using Sniper.Http; using Sniper.TargetProcess.Routes; using Xunit; namespace Sniper.Tests.CRUD.Read.Common.GlobalSettings { public class ReadGlobalSettingsTests { [Fact] public void GlobalSettingsThrowsError() { var client = new TargetProcessClient { ...
bluetread/sniper
Sniper.Tests/CRUD/Read/Common/GlobalSettings/ReadGlobalSettingsTests.cs
https://github.com/bluetread/sniper/blob/HEAD/Sniper.Tests/CRUD/Read/Common/GlobalSettings/ReadGlobalSettingsTests.cs
ghcode:00162:cc0013d3b12b
mit
codeparrot/github-code
cc0013d3b12b1e7659711c2d0bfb552ca2d44a73832bf0de9f27d9199ca77c47
0.75
testing_debugging_repair_refactoring
110
false
2026-07-17
namespace Amalgam.Tests.EventManagement { using Amalgam.EventManagement; using NUnit.Framework; using Should; using SpecsFor; public class QueueManagerTests { internal class given_an_event_has_been_registered : SpecsFor<QueueManager> { public class FakeEvent { } [Test] public void then_it_should_r...
jjvdangelo/Amalgam
Amalgam.Tests/EventManagement/QueueManagerTests.cs
https://github.com/jjvdangelo/Amalgam/blob/HEAD/Amalgam.Tests/EventManagement/QueueManagerTests.cs
ghcode:00162:905e3d8fad4c
mit
codeparrot/github-code
905e3d8fad4cf4a13474bf36d4168abdbe42b7ab36d7261e453cf1113b0047a3
0.75
testing_debugging_repair_refactoring
129
false
2026-07-17
/* $Id$ * * Project: Swicli.Library - Two Way Interface for .NET and MONO to SWI-Prolog * Author: Douglas R. Miles * E-mail: logicmoo@gmail.com * WWW: http://www.logicmoo.com * Copyright (C): 2010-2012 LogicMOO Developement * * This library is free software; you can redistribut...
swi-to-yap/swicli
src/Swicli.Library/TypeSystem.cs
https://github.com/swi-to-yap/swicli/blob/HEAD/src/Swicli.Library/TypeSystem.cs
ghcode:00162:c4dc128e17b8
cc0-1.0
codeparrot/github-code
c4dc128e17b845af1417e22373acbe1c49ac428240e55a40c8ede95efda334f1
0.63
testing_debugging_repair_refactoring
5,788
false
2026-07-17
using System.Linq; using System.Windows; using NUnit.Framework; using TriumLabs.NonIntersectingLinesDrawer.BusinessServices.Model; namespace TriumLabs.NonIntersectingLinesDrawer.BusinessServices.Test { [TestFixture] public class CurveServiceTest { private ICurveService TestService; [SetUp...
triumlabs/NonIntersectingLinesDrawer
TriumLabs.NonIntersectingLinesDrawer.BusinessServices.Test/CurveServiceTest.cs
https://github.com/triumlabs/NonIntersectingLinesDrawer/blob/HEAD/TriumLabs.NonIntersectingLinesDrawer.BusinessServices.Test/CurveServiceTest.cs
ghcode:00162:14e7ceeb0935
unlicense
codeparrot/github-code
14e7ceeb09356dd56a72dc79ed143368bd0fa5e2516df39a059d44cdb18bd383
0.63
testing_debugging_repair_refactoring
1,380
false
2026-07-17
// ----------------------------------------------------------------------------------------- // <copyright file="CloudFileDirectoryTest.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...
MatthewSteeples/azure-storage-net
Test/WindowsRuntime/File/CloudFileDirectoryTest.cs
https://github.com/MatthewSteeples/azure-storage-net/blob/HEAD/Test/WindowsRuntime/File/CloudFileDirectoryTest.cs
ghcode:00162:b07a7d8bc6c6
apache-2.0
codeparrot/github-code
b07a7d8bc6c6ccfca6139fc560fb8d2bf95785a2382e191fcc6e3413a114a928
0.85
testing_debugging_repair_refactoring
5,302
false
2026-07-17
namespace JSLintNet.Specifications { using JSLintNet.QualityTools; using JSLintNet.QualityTools.Expectations; using Xunit; public class JSLintOptionsUnit { public class Merge : UnitBase { [Fact(DisplayName = "Should merge options")] public void Spec01() ...
ajayanandgit/jslintnet
specifications/JSLintNet.Specifications/JSLintOptionsUnit.cs
https://github.com/ajayanandgit/jslintnet/blob/HEAD/specifications/JSLintNet.Specifications/JSLintOptionsUnit.cs
ghcode:00162:f6acd29dd9ed
apache-2.0
codeparrot/github-code
f6acd29dd9ed9e7cadade67e44a16bc27c339c5ab6c9d0a46d3d9325a48417b6
0.75
testing_debugging_repair_refactoring
416
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OpenAPITest.Test { public class RatePlanTest : BaseTest<RatePlanCondition, RatePlanResult> { protected override bool RequriedHttps { get { return false; } } protected override string M...
leonmaybe/eLong-OpenAPI-csharp-demo
OpenAPITest/Test/RatePlanTest.cs
https://github.com/leonmaybe/eLong-OpenAPI-csharp-demo/blob/HEAD/OpenAPITest/Test/RatePlanTest.cs
ghcode:00162:0a0f7e234a6c
apache-2.0
codeparrot/github-code
0a0f7e234a6cac53123b40a000d64017fb2267ba749732bfa05d3279c72f6d9e
0.85
testing_debugging_repair_refactoring
158
false
2026-07-17
using System; using System.ComponentModel.Design; using System.Diagnostics; using System.IO; using System.Xml; namespace Microsoft.Web.XmlTransform.Extended { public class XmlTransformation : IServiceProvider, IDisposable { internal static readonly string TransformNamespace = "http://schemas.microsoft....
azurelogic/XdtExtended
XmlTransform/XmlTransformation.cs
https://github.com/azurelogic/XdtExtended/blob/HEAD/XmlTransform/XmlTransformation.cs
ghcode:00162:b85850dbcbad
apache-2.0
codeparrot/github-code
b85850dbcbad7288c9623e6e2a5f8250fbbf20097b589b9486260fc5ec99d4c5
0.7
testing_debugging_repair_refactoring
2,259
false
2026-07-17
// ----------------------------------------------------------------------- // <copyright file="SequenceSlaveDatabaseSelectorTests.cs" company="OSharp开源团队"> // Copyright (c) 2014-2021 OSharp. All rights reserved. // </copyright> // <site>http://www.osharp.org</site> // <last-editor>郭明锋</last-editor> // <last-...
i66soft/osharp-ns20
tests/OSharp.Tests/Entity/SequenceSlaveDatabaseSelectorTests.cs
https://github.com/i66soft/osharp-ns20/blob/HEAD/tests/OSharp.Tests/Entity/SequenceSlaveDatabaseSelectorTests.cs
ghcode:00162:bb1b3e6a56f5
apache-2.0
codeparrot/github-code
bb1b3e6a56f569289255ddfbc55ecfcf369800cfb4ac9b8909d483c05d08e140
0.85
testing_debugging_repair_refactoring
389
false
2026-07-17
using System.Collections.Generic; using Xunit.Abstractions; namespace Xunit.Sdk { /// <summary> /// A class implements this interface to participate in ordering tests /// for the test runner. Test case orderers are applied using the /// <see cref="TestCaseOrdererAttribute"/>, which can be applied at /// the asse...
cuteant/xunit-v2-net40-fork
xunit.core/Sdk/ITestCaseOrderer.cs
https://github.com/cuteant/xunit-v2-net40-fork/blob/HEAD/xunit.core/Sdk/ITestCaseOrderer.cs
ghcode:00162:f4c758114b14
apache-2.0
codeparrot/github-code
f4c758114b145c354cf05107c00dce55cef03925e4fc1a1219a2ad7d97acbc7c
0.85
testing_debugging_repair_refactoring
179
false
2026-07-17
/* Gabardine Copyright (c) Microsoft Corporation 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 THIS CODE IS PROVIDED ON AN *AS IS* ...
ollie-williams/gabardine
Gabardine.Core/RewriteSystem.cs
https://github.com/ollie-williams/gabardine/blob/HEAD/Gabardine.Core/RewriteSystem.cs
ghcode:00162:592754725138
apache-2.0
codeparrot/github-code
59275472513868d68fa25f6c524dfb971bb84e42a84b0a81836738c2bfc00b27
0.7
testing_debugging_repair_refactoring
2,160
false
2026-07-17
using System; using System.Collections; using System.Linq; using System.Threading.Tasks; using Xunit; namespace MediatR.Tests; public class ServiceFactoryTests { public class Ping : IRequest<Pong> { } public class Pong { public string Message { get; set; } } [Fact] public as...
jbogard/MediatR
test/MediatR.Tests/ServiceFactoryTests.cs
https://github.com/jbogard/MediatR/blob/HEAD/test/MediatR.Tests/ServiceFactoryTests.cs
ghcode:00162:8ea348e970e8
apache-2.0
codeparrot/github-code
8ea348e970e83ed41ab6ac1181a94bfcb7980a3603466afeac500183b301cb14
0.75
testing_debugging_repair_refactoring
165
false
2026-07-17
// Copyright 2020 Google LLC // // 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 ...
googlestadia/vsi-lldb
YetiVSI.Tests/DebugEngine/DebugStackFrameTests.cs
https://github.com/googlestadia/vsi-lldb/blob/HEAD/YetiVSI.Tests/DebugEngine/DebugStackFrameTests.cs
ghcode:00162:962f562cd788
apache-2.0
codeparrot/github-code
962f562cd7881f04c6b00957711cb8e9fa1d55738beb1d64208aa3f7b8c84129
0.85
testing_debugging_repair_refactoring
2,264
false
2026-07-17
using System.Collections.Generic; using PlantUmlStudio.Core.Dependencies.Update; using Xunit; namespace Tests.Unit.PlantUmlStudio.Core.Dependencies.Update { public class NormalizingVersionComparerTests { [Theory] [InlineData("2.3.4", "2.3.4", true)] [InlineData("2.3", "2.3.0", true)]...
mthamil/PlantUMLStudio
Tests.Unit/PlantUmlStudio.Core/Dependencies/Update/NormalizingVersionComparerTests.cs
https://github.com/mthamil/PlantUMLStudio/blob/HEAD/Tests.Unit/PlantUmlStudio.Core/Dependencies/Update/NormalizingVersionComparerTests.cs
ghcode:00162:0bb4ecd94392
apache-2.0
codeparrot/github-code
0bb4ecd94392ff3e063799cdb06d930dbc771abbc8fa11252100b17a859e36ce
0.75
testing_debugging_repair_refactoring
293
false
2026-07-17
#region [ license and copyright boilerplate ] /* MiscCorLib.Security.Cryptography Rfc2898DeriveBytesTests.cs Copyright (c) 2016 Jim Kropa (https://github.com/jimkropa) 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...
jimkropa/misc.corlib
tests/misc.corlib.Tests/Security/Cryptography/Rfc2898DeriveBytesTests.cs
https://github.com/jimkropa/misc.corlib/blob/HEAD/tests/misc.corlib.Tests/Security/Cryptography/Rfc2898DeriveBytesTests.cs
ghcode:00162:dc2d76f6b3c2
apache-2.0
codeparrot/github-code
dc2d76f6b3c2038ef608452d9f5c7d2de5bed5a09b6f833f8ff1952d0328ab04
0.85
testing_debugging_repair_refactoring
1,837
false
2026-07-17
// // Copyright 2019 Google LLC // // 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, Ver...
GoogleCloudPlatform/iap-desktop
sources/Google.Solutions.IapDesktop.Extensions.Activity.Test/Services/Adapters/TestStorageAdapter.cs
https://github.com/GoogleCloudPlatform/iap-desktop/blob/HEAD/sources/Google.Solutions.IapDesktop.Extensions.Activity.Test/Services/Adapters/TestStorageAdapter.cs
ghcode:00162:740500255aab
apache-2.0
codeparrot/github-code
740500255aabe7330f9b8ec53f5d8a8418fa0b8bd430bc0de913408f8b12f571
0.85
testing_debugging_repair_refactoring
1,071
false
2026-07-17
using System; using System.IO; using System.Linq; using Mono.Cecil; using Mono.Cecil.Cil; using Mono.Cecil.PE; using Mono.Cecil.Metadata; using NUnit.Framework; namespace Mono.Cecil.Tests { [TestFixture] public class ImageReadTests : BaseTestFixture { [Test] public void ImageSections () { using (var ima...
X-Sharp/XSharpPublic
VisualStudio/Mono.Cecil/Test/Mono.Cecil.Tests/ImageReadTests.cs
https://github.com/X-Sharp/XSharpPublic/blob/HEAD/VisualStudio/Mono.Cecil/Test/Mono.Cecil.Tests/ImageReadTests.cs
ghcode:00162:391bd1f286c6
apache-2.0
codeparrot/github-code
391bd1f286c6b9d797408d043e80f041cbfacdd070a68c78fc0d7a179650c832
0.85
testing_debugging_repair_refactoring
2,076
false
2026-07-17
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using CacheManager.Core; using CacheManager.Core.Internal; using FluentAssertions; using Xunit; namespace CacheManager.Tests { [ExcludeFromCodeCoverage] #if NET40 [Trait("Framework", "NET40")] #else [Trait("Framework", ...
huoxudong125/CacheManager
test/CacheManager.Tests/CacheManagerUpdateModeTests.cs
https://github.com/huoxudong125/CacheManager/blob/HEAD/test/CacheManager.Tests/CacheManagerUpdateModeTests.cs
ghcode:00162:2a97ed9d68c3
apache-2.0
codeparrot/github-code
2a97ed9d68c3da980ec657ddc72073a05d3458b36533bfe960ac1765ab4957fc
0.85
testing_debugging_repair_refactoring
564
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SimpleFramework.Xml.Filter; using SimpleFramework.Xml.Stream ; namespace SimpleFramework.Xml { public class TestSuite { public Type[] Suite() { return new Type[] { typeof(StackFilterTest...
ngallagher/simplexml
port/src/main/Xml/TestSuite.cs
https://github.com/ngallagher/simplexml/blob/HEAD/port/src/main/Xml/TestSuite.cs
ghcode:00162:ed4387d4554e
apache-2.0
codeparrot/github-code
ed4387d4554e922ada468a0f2f7baf7334202f1b89b987e95dbd6b2b38680247
0.85
testing_debugging_repair_refactoring
72
false
2026-07-17
// Copyright 2010 xUnit.BDDExtensions // // 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 ...
BjRo/xunitbddextensions
Source/xUnit.BDDExtensions.Reporting/Internal/Concern.cs
https://github.com/BjRo/xunitbddextensions/blob/HEAD/Source/xUnit.BDDExtensions.Reporting/Internal/Concern.cs
ghcode:00162:39961627b18a
apache-2.0
codeparrot/github-code
39961627b18a29b1de15814f8ada238646c112039d39b6cac22b0ee1b4839b40
0.7
testing_debugging_repair_refactoring
1,131
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...
haocs/azure-powershell
src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Commands/TestAzureRmDataLakeAnalyticsCatalogItem.cs
https://github.com/haocs/azure-powershell/blob/HEAD/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Commands/TestAzureRmDataLakeAnalyticsCatalogItem.cs
ghcode:00162:2206e1ffd936
apache-2.0
codeparrot/github-code
2206e1ffd936cdc20839f9545b876f4a8d63dc0cc79c338b3af46e0c1c086d90
0.85
testing_debugging_repair_refactoring
441
false
2026-07-17
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Abstractions; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.AspNetCore.Routing; using Microso...
aspnet/AspNetCore
src/Mvc/Mvc.Core/test/Infrastructure/ClientErrorResultFilterTest.cs
https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/Mvc.Core/test/Infrastructure/ClientErrorResultFilterTest.cs
ghcode:00162:c51c74484763
apache-2.0
codeparrot/github-code
c51c744847639e14e462bbd04509dab8834e43bb06266d84290da28d527ee71f
0.95
testing_debugging_repair_refactoring
730
false
2026-07-17
using System; using System.Collections.Generic; using System.Threading; using System.Xml.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Test_DevChallenge { [TestClass] public class Test_AbstractConnection_Collector { IEnumerable<XElement> testpool() { yiel...
MicaelBelin/devchallenge
DevChallenge.UnitTest/Test_AbstractConnection_Collector.cs
https://github.com/MicaelBelin/devchallenge/blob/HEAD/DevChallenge.UnitTest/Test_AbstractConnection_Collector.cs
ghcode:00162:5364d242fbb5
bsd-2-clause
codeparrot/github-code
5364d242fbb563037c9fecf01314107b30b0ad6a013cf3c27d2698cb02a8ed51
0.68
testing_debugging_repair_refactoring
612
false
2026-07-17
/* Copyright (c) 2013, HotDocs Limited Use, modification and redistribution of this source is subject to the New BSD License as set out in LICENSE.TXT. */ using System; using System.Text; using System.Collections.Generic; using System.Linq; using HotDocs.Sdk; using Microsoft.VisualStudio.TestTools.UnitTesting; ...
HotDocsCorp/hotdocs-open-sdk
HotDocs.SdkTest/AnswerSetTest.cs
https://github.com/HotDocsCorp/hotdocs-open-sdk/blob/HEAD/HotDocs.SdkTest/AnswerSetTest.cs
ghcode:00162:738668ca051f
bsd-3-clause
codeparrot/github-code
738668ca051f2dec7dce4f046cf082e0731e6897f6daafa25a9b632f60dafaa4
0.7
testing_debugging_repair_refactoring
2,694
false
2026-07-17
// <copyright file="Car.cs" company="dddlib contributors"> // Copyright (c) dddlib contributors. All rights reserved. // </copyright> namespace perftest.SqlServer { using dddlib; public class Car : AggregateRoot { } }
dddlib/dddlib
src/tests/perftest/SqlServer/Car.cs
https://github.com/dddlib/dddlib/blob/HEAD/src/tests/perftest/SqlServer/Car.cs
ghcode:00162:833e6b7b89b2
mit
codeparrot/github-code
833e6b7b89b20ac6c48e1da31de0515c0f36ba92e393630b6b486367aa8bb6af
0.95
testing_debugging_repair_refactoring
60
false
2026-07-17
using System; using System.Collections.Generic; using System.Threading.Tasks; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using WimdioApiProxy.v2.DataTransferObjects.DropBox; namespace WimdioApiProxy.v2.Tests { [TestClass()] public class DropboxTests : BaseTests ...
Tangerino/WIMD.IO
c-sharp/WimdioApiProxy.v2.Tests/DropboxTests.cs
https://github.com/Tangerino/WIMD.IO/blob/HEAD/c-sharp/WimdioApiProxy.v2.Tests/DropboxTests.cs
ghcode:00162:62876a067fac
mit
codeparrot/github-code
62876a067fac04990e52b7ae6747fd9b3896613be3d29ce067923cbdeea54491
0.75
testing_debugging_repair_refactoring
302
false
2026-07-17
using System.Linq; using System.Speech.Synthesis; using Cradiator.Audio; using NUnit.Framework; namespace Cradiator.Tests.Audio { [TestFixture] public class BigSpeechSynthesizer_Tests { [Test] public void CanGetInstalledVoices() { var bigSynth = new CradiatorSpeechSynthesizer(new SpeechSynthesizer()) { Rat...
xerxesb/cradiator
src/Cradiator.Tests/Audio/BigSpeechSynthesizer_Tests.cs
https://github.com/xerxesb/cradiator/blob/HEAD/src/Cradiator.Tests/Audio/BigSpeechSynthesizer_Tests.cs
ghcode:00162:85e9727bca2e
mit
codeparrot/github-code
85e9727bca2e4e4bb2deb1707d9d331603af0664604cd164c0590c642c8e3dae
0.75
testing_debugging_repair_refactoring
139
false
2026-07-17
using System; using System.Collections.Generic; using System.Threading.Tasks; using Cuemon.Data.Integrity; using Cuemon.Extensions.Xunit; using Cuemon.Extensions.Xunit.Hosting.AspNetCore; using Cuemon.Security; using Microsoft.AspNetCore.Builder; using Microsoft.Net.Http.Headers; using Xunit; using Xunit.Abstractions;...
gimlichael/CuemonCore
test/Cuemon.Extensions.AspNetCore.Tests/Http/HttpRequestExtensionsTest.cs
https://github.com/gimlichael/CuemonCore/blob/HEAD/test/Cuemon.Extensions.AspNetCore.Tests/Http/HttpRequestExtensionsTest.cs
ghcode:00162:8fa27ac966a8
mit
codeparrot/github-code
8fa27ac966a88971da640c746fb1cbb0f2b1cd69e3fd0dd9467c72fb108b8737
0.6
testing_debugging_repair_refactoring
961
false
2026-07-17
using System; namespace AzureNetQ.Tests.SimpleRequester { public interface ILatencyRecorder : IDisposable { void RegisterRequest(long requestId); void RegisterResponse(long responseId); } }
Roysvork/AzureNetQ
AzureNetQ.Tests.SimpleRequester/ILatencyRecorder.cs
https://github.com/Roysvork/AzureNetQ/blob/HEAD/AzureNetQ.Tests.SimpleRequester/ILatencyRecorder.cs
ghcode:00162:ce283e51674d
mit
codeparrot/github-code
ce283e51674d8e6bb6e6fc839e7842f3ca88c9588244b025a82d535ee49b318a
0.75
testing_debugging_repair_refactoring
43
false
2026-07-17
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using POESKillTree.Model.Builds; using POESKillTree.Model.Items; using POESKillTree.Mod...
MLanghof/PoESkillTree
UnitTests/TestCharacterSheet.cs
https://github.com/MLanghof/PoESkillTree/blob/HEAD/UnitTests/TestCharacterSheet.cs
ghcode:00162:d2a234da099d
mit
codeparrot/github-code
d2a234da099d12dd021bcbbd1a2b1b002980747ec917141ef82848db11a484c7
0.85
testing_debugging_repair_refactoring
1,173
false
2026-07-17
namespace Cedar.EventStore { using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using FluentAssertions; using Xunit; public abstract partial class EventStoreAcceptanceTests { [Theory] [MemberData("GetReadStreamTheories")] public async...
thefringeninja/SqlStreamStore
src/Cedar.EventStore.Tests/EventStoreAcceptanceTests.ReadStream.cs
https://github.com/thefringeninja/SqlStreamStore/blob/HEAD/src/Cedar.EventStore.Tests/EventStoreAcceptanceTests.ReadStream.cs
ghcode:00162:b24faf7b0d9a
mit
codeparrot/github-code
b24faf7b0d9a372bdebc906c4ac7ba65fd094304be5f9d074b6d31b51edd7316
0.6
testing_debugging_repair_refactoring
661
false
2026-07-17
extern alias TestAlias1; extern alias TestAlias2; using System; using System.Linq; using NUnit.Framework; using TestMonkeys.EntityTest.Engine.PropertyRuleSet; namespace EntityTest.Test.PropertySetValidatorTests { public class AliasNamespaceTests { [Ignore("Figure out how to test the internal clas...
TestMonkeys/Assert
EntityTest.Test/PropertySetValidatorTests/AliasNamespaceTests.cs
https://github.com/TestMonkeys/Assert/blob/HEAD/EntityTest.Test/PropertySetValidatorTests/AliasNamespaceTests.cs
ghcode:00162:725416a979a6
apache-2.0
codeparrot/github-code
725416a979a6f5f235895cfce84fe38444b297e0cafdf98f8fb60ca729f3c7ac
0.85
testing_debugging_repair_refactoring
267
false
2026-07-17
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.CodeFixes; using Mic...
AdamSpeight2008/roslyn-AdamSpeight2008
src/EditorFeatures/CSharpTest/Diagnostics/FixAllProvider/BatchFixerTests.cs
https://github.com/AdamSpeight2008/roslyn-AdamSpeight2008/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/FixAllProvider/BatchFixerTests.cs
ghcode:00162:1fe3ddb0477d
apache-2.0
codeparrot/github-code
1fe3ddb0477dfaa3be15eca18891004037aa76ccbe5666ac9c33a530ee7e68a5
0.85
testing_debugging_repair_refactoring
1,008
false
2026-07-17
using System; using System.Collections.Generic; using Bridge.Html5; using Bridge.Test.NUnit; namespace Bridge.ClientTest.Batch3.BridgeIssues { [Category(Constants.MODULE_ISSUES)] [TestFixture(TestNameFormat = "#2764 - {0}")] public class Bridge2764 { [Test] public static void TestNonGen...
AndreyZM/Bridge
Tests/Batch3/BridgeIssues/2700/N2764.cs
https://github.com/AndreyZM/Bridge/blob/HEAD/Tests/Batch3/BridgeIssues/2700/N2764.cs
ghcode:00162:1e9d690aa9f8
apache-2.0
codeparrot/github-code
1e9d690aa9f8e2d6930bc24ce2e52da54d6a4f9e982e2fc5ba4c6d2fa96a03c9
0.75
testing_debugging_repair_refactoring
146
false
2026-07-17
using System; using System.IO; using System.Net; using System.Threading; using NUnit.Framework; using ServiceStack.Common.Utils; using ServiceStack.Common.Web; using ServiceStack.Service; using ServiceStack.ServiceClient.Web; using ServiceStack.Text; using ServiceStack.WebHost.Endpoints.Tests.Support.Host; u...
meebey/ServiceStack
tests/ServiceStack.WebHost.Endpoints.Tests/FileUploadTests.cs
https://github.com/meebey/ServiceStack/blob/HEAD/tests/ServiceStack.WebHost.Endpoints.Tests/FileUploadTests.cs
ghcode:00162:d21b841b356b
bsd-3-clause
codeparrot/github-code
d21b841b356b47e0bde7b0a3b68f7ea0277e7efb26b83348aa9d0d60910641a3
0.85
testing_debugging_repair_refactoring
1,800
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.Collections.Generic; using System.Diagnostics; using System.Linq; using osu.Framework.Input.StateChanges; using osu.Framework.Utils; using osu.Game.Replays;...
2yangk23/osu
osu.Game.Rulesets.Osu/Replays/OsuFramedReplayInputHandler.cs
https://github.com/2yangk23/osu/blob/HEAD/osu.Game.Rulesets.Osu/Replays/OsuFramedReplayInputHandler.cs
ghcode:00162:8bf8678187ab
mit
codeparrot/github-code
8bf8678187ab97be33bcaf39d56ec42dc19e50d47618ded3b8e135b372134e3d
0.75
testing_debugging_repair_refactoring
328
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.WebSites.Test/UnitTests/Utilities/SimpleGithubManagement.cs
https://github.com/OctopusDeploy/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.WebSites.Test/UnitTests/Utilities/SimpleGithubManagement.cs
ghcode:00162:e5a251870fa1
apache-2.0
codeparrot/github-code
e5a251870fa17028427e4d6b6bf1552f85842a5872e6114918640481d561a16d
0.95
testing_debugging_repair_refactoring
1,996
false
2026-07-17
using System; using System.IO; using System.Messaging; using Castle.Windsor; using Castle.Windsor.Configuration.Interpreters; using Rhino.ServiceBus.Impl; using Rhino.ServiceBus.Msmq; using Xunit; namespace Rhino.ServiceBus.Tests { public class QueueCreationModuleTests : IDisposable { private readonly...
mtscout6/rhino-esb
Rhino.ServiceBus.Tests/QueueCreationModuleTests.cs
https://github.com/mtscout6/rhino-esb/blob/HEAD/Rhino.ServiceBus.Tests/QueueCreationModuleTests.cs
ghcode:00162:7da36783df5d
bsd-3-clause
codeparrot/github-code
7da36783df5d1f1869f100694fe722ea3ce3048314b9160a8e75219ecaa8befb
0.75
testing_debugging_repair_refactoring
683
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.CompilerServices; using System.Text.Internal; using System.Text.Unico...
shimingsg/corefx
src/System.Text.Encodings.Web/src/System/Text/Encodings/Web/DefaultJavaScriptEncoderBasicLatin.cs
https://github.com/shimingsg/corefx/blob/HEAD/src/System.Text.Encodings.Web/src/System/Text/Encodings/Web/DefaultJavaScriptEncoderBasicLatin.cs
ghcode:00162:8371cbd8ab06
mit
codeparrot/github-code
8371cbd8ab068ee675e608584b64d81b6740a744fd44da5ef4a683b13656b9a0
0.95
testing_debugging_repair_refactoring
3,296
false
2026-07-17
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2010-2012 FUJIWARA, Yusuke // // 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...
modulexcite/msgpack-cli
samples/Samples/Sample03_SerializationContextAndOptions.cs
https://github.com/modulexcite/msgpack-cli/blob/HEAD/samples/Samples/Sample03_SerializationContextAndOptions.cs
ghcode:00162:da8d54ed0fac
apache-2.0
codeparrot/github-code
da8d54ed0fac3146457ad1e5234575d1f8e8c8322976b57847450d1bd2b69613
0.85
testing_debugging_repair_refactoring
776
false
2026-07-17
// Copyright 2005-2011 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // 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...
xJom/mbunit-v3
src/MbUnit/MbUnit40.Tests/Framework/XmlDataObjectCartesianTests.cs
https://github.com/xJom/mbunit-v3/blob/HEAD/src/MbUnit/MbUnit40.Tests/Framework/XmlDataObjectCartesianTests.cs
ghcode:00162:beb23af44252
apache-2.0
codeparrot/github-code
beb23af44252e71b701f65c530984d8454482223d4c801aaf54e400531f97582
0.85
testing_debugging_repair_refactoring
2,164
false
2026-07-17
using System; using System.Diagnostics; namespace Lucene.Net.Codecs.Lucene40 { using Directory = Lucene.Net.Store.Directory; using DocValuesType_e = Lucene.Net.Index.FieldInfo.DocValuesType_e; using FieldInfo = Lucene.Net.Index.FieldInfo; using FieldInfos = Lucene.Net.Index.FieldInfos; using IndexF...
jpsullivan/lucenenet
src/Lucene.Net.TestFramework/Codecs/lucene40/Lucene40FieldInfosWriter.cs
https://github.com/jpsullivan/lucenenet/blob/HEAD/src/Lucene.Net.TestFramework/Codecs/lucene40/Lucene40FieldInfosWriter.cs
ghcode:00162:def8e0ab0767
apache-2.0
codeparrot/github-code
def8e0ab0767765d5109bc023836a90f5822d1bced0b1120c785c0ed01e3518b
0.85
testing_debugging_repair_refactoring
1,143
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...
ClogenyTechnologies/azure-powershell
src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/AvailableEndpointServicesTests.cs
https://github.com/ClogenyTechnologies/azure-powershell/blob/HEAD/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/AvailableEndpointServicesTests.cs
ghcode:00162:a474fe920341
apache-2.0
codeparrot/github-code
a474fe920341a79f433aef8c6e8e365def82011dc73f0fea57f58cb3de6b3dfc
0.85
testing_debugging_repair_refactoring
300
false
2026-07-17
using System.Text.RegularExpressions; using Shouldly.MessageGenerators; namespace Shouldly { internal class ShouldBeTypeMessageGenerator : ShouldlyMessageGenerator { static readonly Regex Validator = new Regex("ShouldBe(Not)?(OfType|AssignableTo)"); public override bool CanProcess(IShouldlyAs...
JoeMighty/shouldly
src/Shouldly/MessageGenerators/ShouldBeTypeMessageGenerator.cs
https://github.com/JoeMighty/shouldly/blob/HEAD/src/Shouldly/MessageGenerators/ShouldBeTypeMessageGenerator.cs
ghcode:00162:b9e483296c90
bsd-3-clause
codeparrot/github-code
b9e483296c900f234ea6c6136fc91b08074cb32ba5a9c1a9f9ce664502ad4751
0.75
testing_debugging_repair_refactoring
191
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,...
ze-pequeno/Newtonsoft.Json
Src/Newtonsoft.Json.Tests/Documentation/Samples/JsonPath/QueryJsonSelectTokenWithLinq.cs
https://github.com/ze-pequeno/Newtonsoft.Json/blob/HEAD/Src/Newtonsoft.Json.Tests/Documentation/Samples/JsonPath/QueryJsonSelectTokenWithLinq.cs
ghcode:00162:dd70abe07e61
mit
codeparrot/github-code
dd70abe07e6143283402970e75681da43bb81dd415404386dd80c2ffde772446
0.85
testing_debugging_repair_refactoring
671
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 ...
ascherbakoff/ignite
modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/Binary/BinaryConfigurationRetrievalTest.cs
https://github.com/ascherbakoff/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/Binary/BinaryConfigurationRetrievalTest.cs
ghcode:00162:48df535d65e2
apache-2.0
codeparrot/github-code
48df535d65e2acfd26aef3de30b15eab7c34ce18cccb9900737f93c88cac63bc
0.7
testing_debugging_repair_refactoring
2,267
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.ObjectModel; using System.Diagnostics; using Microsoft.Cod...
abock/roslyn
src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/CSharpCompileResult.cs
https://github.com/abock/roslyn/blob/HEAD/src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/CSharpCompileResult.cs
ghcode:00162:ec9027e003e9
mit
codeparrot/github-code
ec9027e003e9739ab5d8eb0796485fc931d5e84d49195f7b7857b9e30de27e2b
0.85
testing_debugging_repair_refactoring
221
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...
oaastest/azure-powershell
src/ResourceManager/Batch/Commands.Batch.Test/BatchTestHelpers.cs
https://github.com/oaastest/azure-powershell/blob/HEAD/src/ResourceManager/Batch/Commands.Batch.Test/BatchTestHelpers.cs
ghcode:00162:0fe6ac92d4dc
apache-2.0
codeparrot/github-code
0fe6ac92d4dcb4695c8e4bed481aea3260e8b4e5401ada27edf17fa7b64284bc
0.85
testing_debugging_repair_refactoring
2,583
false
2026-07-17
using System; using NUnit.Framework; using AutoTest.Core.Launchers; using AutoTest.Messages; namespace AutoTest.Test.Launchers { [TestFixture] public class EditorEngineMessageTests { [Test] public void Should_parse_empty_command() { var message = EditorEngineMessage.New(""); message.Command.ShouldEqual("...
continuoustests/AutoTest.Net
src/AutoTest.Test/Launchers/EditorEngineMessageTests.cs
https://github.com/continuoustests/AutoTest.Net/blob/HEAD/src/AutoTest.Test/Launchers/EditorEngineMessageTests.cs
ghcode:00162:39fb639d311d
mit
codeparrot/github-code
39fb639d311db16fab777a36964d73c88e584b7630c1ea3f22f24a9b165999a6
0.75
testing_debugging_repair_refactoring
423
false
2026-07-17
using Microsoft.Azure.ApplicationInsights.Query; using Microsoft.Azure.ApplicationInsights.Query.Models; using Microsoft.Rest.ClientRuntime.Azure.TestFramework; using System; using System.Threading.Tasks; using Xunit; namespace Data.ApplicationInsights.Tests.Events { public class EventsTests : EventsTestBase ...
ayeletshpigelman/azure-sdk-for-net
sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Events/EventsTests.cs
https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Events/EventsTests.cs
ghcode:00162:2bcf58603d7b
mit
codeparrot/github-code
2bcf58603d7be90f47e5a588bba91f9a0159989b3b5f1a4b61d36e88dc1cf57f
0.95
testing_debugging_repair_refactoring
534
false
2026-07-17
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Linq.Expressions; using Microsoft.Spark.CSharp.Core; using Microsoft.Spark.CSharp.Proxy; using Microsoft.Spark.CSharp.Sq...
cyruszhang/SparkCLR
csharp/AdapterTest/DataFrameWriterTest.cs
https://github.com/cyruszhang/SparkCLR/blob/HEAD/csharp/AdapterTest/DataFrameWriterTest.cs
ghcode:00162:a78480c56929
mit
codeparrot/github-code
a78480c5692900d6729fc2b2128a978b845b4cf3dcf9bd5238be8ec79caf5cf1
0.85
testing_debugging_repair_refactoring
1,880
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.Linq.Expressions.Tests { public static class BinaryNullableDivideTests { ...
shmao/corefx
src/System.Linq.Expressions/tests/BinaryOperators/Arithmetic/BinaryNullableDivideTests.cs
https://github.com/shmao/corefx/blob/HEAD/src/System.Linq.Expressions/tests/BinaryOperators/Arithmetic/BinaryNullableDivideTests.cs
ghcode:00162:6115e39d05f3
mit
codeparrot/github-code
6115e39d05f3ba5daa3b8dea45b4736cb8cb6de7becb45fa016a392d78909f3d
0.95
testing_debugging_repair_refactoring
2,963
false
2026-07-17
/* * Copyright (c) Citrix Systems, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1) Redistributions of source code must retain the above copyright * notice,...
robhoes/xenadmin
XenModel/XenAPI/Bond.cs
https://github.com/robhoes/xenadmin/blob/HEAD/XenModel/XenAPI/Bond.cs
ghcode:00162:85fb84168afb
bsd-2-clause
codeparrot/github-code
85fb84168afbc474bf8dd860c99c0903c25f06d1c8d464e3baf811289958e5a7
0.78
testing_debugging_repair_refactoring
6,314
false
2026-07-17
//--------------------------------------------------------------------- // <copyright file="RelatedEnd.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // // @owner [....] // @backupOwner [....] //----------------------------------------------------------...
akoeplinger/referencesource
System.Data.Entity/System/Data/Objects/DataClasses/RelatedEnd.cs
https://github.com/akoeplinger/referencesource/blob/HEAD/System.Data.Entity/System/Data/Objects/DataClasses/RelatedEnd.cs
ghcode:00162:c408e8d8958d
mit
codeparrot/github-code
c408e8d8958dce9af09e17966939e89f9a632d747ae19abd1326b1efe7dcea47
0.57
testing_debugging_repair_refactoring
22,537
false
2026-07-17
using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using System.Xml.Schema; namespace System.Xml { internal class XmlAsyncCheckReader : XmlReader { private readonly XmlReader coreReader = null; private Task lastTask = AsyncHelper.DoneTask; internal...
sekcheong/referencesource
System.Xml/System/Xml/Core/XmlAsyncCheckReader.cs
https://github.com/sekcheong/referencesource/blob/HEAD/System.Xml/System/Xml/Core/XmlAsyncCheckReader.cs
ghcode:00162:43c49b357568
mit
codeparrot/github-code
43c49b35756804f7af75ca576d9cecb52c36bde0884444a47a328740db4f2577
0.7
testing_debugging_repair_refactoring
5,137
false
2026-07-17
using Xunit; namespace Jint.Tests.Ecma { [Trait("Category","Pass")] public class Test_11_12 : EcmaTest { [Fact] [Trait("Category", "11.12")] public void WhiteSpaceAndLineTerminatorBetweenLogicalorexpressionAndOrBetweenAndAssignmentexpressionOrBetweenAssignmentexpressionAndOrBetweenA...
mgentile/jint
Jint.Tests.Ecma/Ecma/11.12.cs
https://github.com/mgentile/jint/blob/HEAD/Jint.Tests.Ecma/Ecma/11.12.cs
ghcode:00162:f5638d14acfb
bsd-2-clause
codeparrot/github-code
f5638d14acfbb69b49781f91481c8c4baa07942faba47475a83553a7585df73b
0.68
testing_debugging_repair_refactoring
1,003
false
2026-07-17
using System; using System.IO; using System.Threading.Tasks; using Autofac.Extras.FakeItEasy; using Elasticsearch.Net.Connection; using Elasticsearch.Net.ConnectionPool; using Elasticsearch.Net.Exceptions; using Elasticsearch.Net.Tests.Unit.Stubs; using FakeItEasy; using FluentAssertions; using NUnit.Framework; names...
geofeedia/elasticsearch-net
src/Tests/Elasticsearch.Net.Tests.Unit/Failover/Retries/ClientExceptionsWithoutPoolingTests.cs
https://github.com/geofeedia/elasticsearch-net/blob/HEAD/src/Tests/Elasticsearch.Net.Tests.Unit/Failover/Retries/ClientExceptionsWithoutPoolingTests.cs
ghcode:00162:2230b9b31e5f
apache-2.0
codeparrot/github-code
2230b9b31e5f1dee4a2f5b4e21c699ea87aae2ce8c5c0745dadeb92904f46341
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.Diagnostics.TraceSourceTests { using Method = TestTraceListener.Method; publ...
Jiayili1/corefx
src/System.Diagnostics.TraceSource/tests/TraceListenerClassTests.cs
https://github.com/Jiayili1/corefx/blob/HEAD/src/System.Diagnostics.TraceSource/tests/TraceListenerClassTests.cs
ghcode:00162:07aad1c7f1fd
mit
codeparrot/github-code
07aad1c7f1fd4f690588dbfe68c5a7c8eaa08aa34d2298cccf69645650562695
0.95
testing_debugging_repair_refactoring
2,267
false
2026-07-17
using System; using System.Collections.Generic; using System.IO; using System.Threading; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Storage.Common; using Microsoft.WindowsAzure.Commands.Storage.File; using Microsoft.WindowsAzure.Commands.Stor...
hovsepm/azure-powershell
src/Storage/Commands.Storage.Test/File/Cmdlet/GetAzureStorageFileContentTest.cs
https://github.com/hovsepm/azure-powershell/blob/HEAD/src/Storage/Commands.Storage.Test/File/Cmdlet/GetAzureStorageFileContentTest.cs
ghcode:00162:bd0f9455f994
apache-2.0
codeparrot/github-code
bd0f9455f994d05a3b28298c8461a4a9f1b57e1d410db321a4e440c8242187bc
0.75
testing_debugging_repair_refactoring
1,013
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 ManagedTests.DynamicCSharp.Conformance.dynamic.namedandoptional.usage.overload.overload01.ov...
ellismg/corefx
src/System.Dynamic.Runtime/tests/Dynamic.NamedAndOptional/Conformance.dynamic.namedandoptional.usage.overload.cs
https://github.com/ellismg/corefx/blob/HEAD/src/System.Dynamic.Runtime/tests/Dynamic.NamedAndOptional/Conformance.dynamic.namedandoptional.usage.overload.cs
ghcode:00162:678ea1382ee8
mit
codeparrot/github-code
678ea1382ee8adc80453964170902caecc68420404771e0fb249ed7860085908
0.82
testing_debugging_repair_refactoring
18,771
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. // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ // // OrderPreservingPipel...
dotnet-bot/corefx
src/System.Linq.Parallel/src/System/Linq/Parallel/Merging/OrderPreservingPipeliningMergeHelper.cs
https://github.com/dotnet-bot/corefx/blob/HEAD/src/System.Linq.Parallel/src/System/Linq/Parallel/Merging/OrderPreservingPipeliningMergeHelper.cs
ghcode:00162:a7132621ba61
mit
codeparrot/github-code
a7132621ba61d018d4dcd7783c9e830b8b03f52811fdec674d0407911f5e5820
0.95
testing_debugging_repair_refactoring
4,159
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.Threading; using System.Threading.Tasks; using Microsoft.Xunit.Performance; using Xu...
Ermiar/corefx
src/System.Collections.Concurrent/tests/Performance/Perf.ConcurrentStack.cs
https://github.com/Ermiar/corefx/blob/HEAD/src/System.Collections.Concurrent/tests/Performance/Perf.ConcurrentStack.cs
ghcode:00162:d44c72cbccde
mit
codeparrot/github-code
d44c72cbccde4d0798e4260d96c5366409a64df13e0e86b9bdb42b4ae61c2d9f
0.95
testing_debugging_repair_refactoring
1,158
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.Globalization; using Xunit; namespace System.Tests { public class IsDBNullTests ...
marksmeltzer/corefx
src/System.Runtime.Extensions/tests/System/Convert.netstandard.cs
https://github.com/marksmeltzer/corefx/blob/HEAD/src/System.Runtime.Extensions/tests/System/Convert.netstandard.cs
ghcode:00162:f96abb246872
mit
codeparrot/github-code
f96abb2468722eaeb5dc10419b49365b0792e34806a351f9c6cf275175f547b4
0.95
testing_debugging_repair_refactoring
1,149
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. /* This class is just meant to mock out the "MapTcpState" method in the shim. For the tests that parse stri...
billwert/corefx
src/System.Net.NetworkInformation/tests/FunctionalTests/MockMapTcpState.cs
https://github.com/billwert/corefx/blob/HEAD/src/System.Net.NetworkInformation/tests/FunctionalTests/MockMapTcpState.cs
ghcode:00162:ddc9688e2ca5
mit
codeparrot/github-code
ddc9688e2ca58d8ec4d4fca7d2349c4adc027c29b065d631cbace186090a9914
0.95
testing_debugging_repair_refactoring
484
false
2026-07-17
using CharacterGen.CharacterClasses; using CharacterGen.Domain.Generators.Items; using CharacterGen.Domain.Tables; using CharacterGen.Feats; using CharacterGen.Races; using DnDGen.Core.Selectors.Collections; using Moq; using NUnit.Framework; using System.Collections.Generic; using System.Linq; using TreasureGen; using...
DnDGen/CharacterGen
CharacterGen.Tests.Unit/Generators/Items/EquipmentGeneratorTests.cs
https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Unit/Generators/Items/EquipmentGeneratorTests.cs
ghcode:00162:50a559dcde31
mit
codeparrot/github-code
50a559dcde31e344ad2c28f2793861057d4afb42c7765fcdca05075f34b58827
0.75
testing_debugging_repair_refactoring
6,425
false
2026-07-17
using Merchant.Conversion; using Merchant.Exchanges; using Merchant.Query; using Merchant.Tools; using Moq; using NUnit.Framework; namespace Merchant.Tests { [TestFixture] class InterpretMonetaryValueQueryTests { [Test] public void Retrieves_first_exchange_rate() { ...
ofraski/Merchant
Merchant.Tests/InterpretMonetaryValueQueryTests.cs
https://github.com/ofraski/Merchant/blob/HEAD/Merchant.Tests/InterpretMonetaryValueQueryTests.cs
ghcode:00162:4cb655e9d98b
mit
codeparrot/github-code
4cb655e9d98bf1ccf581e96329cd6a51919e35a6089915bca4371a834b64c1b4
0.75
testing_debugging_repair_refactoring
480
false
2026-07-17
namespace jcDC.Tests.WebAPI.Areas.HelpPage.ModelDescriptions { public class KeyValuePairModelDescription : ModelDescription { public ModelDescription KeyModelDescription { get; set; } public ModelDescription ValueModelDescription { get; set; } } }
jcapellman/jcDC
jcDC.Tests.WebAPI/Areas/HelpPage/ModelDescriptions/KeyValuePairModelDescription.cs
https://github.com/jcapellman/jcDC/blob/HEAD/jcDC.Tests.WebAPI/Areas/HelpPage/ModelDescriptions/KeyValuePairModelDescription.cs
ghcode:00162:0ff11d8a7833
mit
codeparrot/github-code
0ff11d8a78332d78a46ce44d831ded29ed7b876988bf6971fe3406e938ceb237
0.75
testing_debugging_repair_refactoring
54
false
2026-07-17
namespace TypedRest.Endpoints.Rpc; [Collection("Endpoint")] public class ActionEndpointTest : EndpointTestBase { private readonly ActionEndpoint _endpoint; public ActionEndpointTest() { _endpoint = new(EntryEndpoint, "endpoint"); } [Fact] public async Task TestProbe() { Mo...
TypedRest/TypedRest-DotNet
src/UnitTests/Endpoints/Rpc/ActionEndpointTest.cs
https://github.com/TypedRest/TypedRest-DotNet/blob/HEAD/src/UnitTests/Endpoints/Rpc/ActionEndpointTest.cs
ghcode:00162:f23b1dfa9570
mit
codeparrot/github-code
f23b1dfa957006e43c7175d02d525a378ff86cb8ef29bf8c5f525da0e4728c12
0.6
testing_debugging_repair_refactoring
164
false
2026-07-17
using ReactiveDomain.Foundation.EventStore; using ReactiveDomain.Messaging; using ReactiveDomain.Messaging.Bus; using ReactiveDomain.Testing; using System.Threading; using Xunit; using Xunit.Sdk; namespace ReactiveDomain.Foundation.Tests.Logging { // ReSharper disable once InconsistentNaming [Collection(name...
PKI-InVivo/reactive-domain
src/ReactiveDomain.Foundation.Tests/Logging/when_logging_disabled_and_events_are_published.cs
https://github.com/PKI-InVivo/reactive-domain/blob/HEAD/src/ReactiveDomain.Foundation.Tests/Logging/when_logging_disabled_and_events_are_published.cs
ghcode:00162:dd4c0371bb80
mit
codeparrot/github-code
dd4c0371bb80c62e7180f70b5ededf9aecba5fe779112029831b15b7bd153ae3
0.85
testing_debugging_repair_refactoring
653
false
2026-07-17
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Threading.Tasks; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Cdn.Models; using Azure.ResourceManager.Cdn.Tests.Helper; using Azure.Core.TestFramework; using NUnit.Framework...
Azure/azure-sdk-for-net
sdk/cdn/Azure.ResourceManager.Cdn/tests/Scenario/CdnProfileCollectionTests.cs
https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/cdn/Azure.ResourceManager.Cdn/tests/Scenario/CdnProfileCollectionTests.cs
ghcode:00162:c906285246d3
mit
codeparrot/github-code
c906285246d37530abde7cbfb85072caf01088219f7d852feec30aba6f8d96a7
0.95
testing_debugging_repair_refactoring
700
false
2026-07-17
using System; using Treenumerable.Tests.TreeBuilder; using Xunit; namespace Treenumerable.Tests.TreeWalkerExtensionsTests { public class GetDegreeTests { [Fact] public void GetDegree_NullWalker_ArgumentNullExceptionThrown() { // Get a valid tree. var tree = Test...
jasonmcboyd/Treenumerable
Source/Treenumerable.Tests/TreeWalkerExtensionsTests/GetDegreeTests.cs
https://github.com/jasonmcboyd/Treenumerable/blob/HEAD/Source/Treenumerable.Tests/TreeWalkerExtensionsTests/GetDegreeTests.cs
ghcode:00162:3e587aeeb267
mit
codeparrot/github-code
3e587aeeb26713cded11b9f7887c7193c0d8fa8277fc4d8cda1e495d91994199
0.85
testing_debugging_repair_refactoring
318
false
2026-07-17
namespace Microsoft { namespace AspNetCore { namespace Html { // Generated from `Microsoft.AspNetCore.Html.HtmlString` in `Microsoft.AspNetCore.Html.Abstractions, Version=1.1.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlString : Microsoft.AspNet...
github/codeql
csharp/ql/test/query-tests/Security Features/CWE-079/XSS/corestubs.cs
https://github.com/github/codeql/blob/HEAD/csharp/ql/test/query-tests/Security Features/CWE-079/XSS/corestubs.cs
ghcode:00162:151a515feb81
mit
codeparrot/github-code
151a515feb81ff81d9299f58c8792d572d02b7326fc89aea074dff33cf73abab
0.95
testing_debugging_repair_refactoring
2,455
false
2026-07-17
using NUnit.Framework; using System.Collections.Generic; using CallfireApiClient.Api.Common.Model; using CallfireApiClient.Api.Keywords.Model; using System; namespace CallfireApiClient.Tests.Api.Keywords { [TestFixture] public class KeywordsApiTest : AbstractApiTest { [Test] public void Fi...
CallFire/callfire-api-client-csharp
src/CallfireApiClient.Tests/Api/Keywords/KeywordsApiTest.cs
https://github.com/CallFire/callfire-api-client-csharp/blob/HEAD/src/CallfireApiClient.Tests/Api/Keywords/KeywordsApiTest.cs
ghcode:00162:9325347859c1
mit
codeparrot/github-code
9325347859c115d70da88ea380196788cccbf7c665fdb4884e540db205889d79
0.6
testing_debugging_repair_refactoring
193
false
2026-07-17
 namespace GitHubFlowVersion.AcceptanceTests { using System.IO; using global::AcceptanceTests; using global::AcceptanceTests.Helpers; using global::AcceptanceTests.Properties; using Shouldly; using Xunit; public class MsBuildProjectArgTest { [Fact] public void RunsMsB...
potherca-contrib/GitVersion
AcceptanceTests/MsBuildProjectArgTest.cs
https://github.com/potherca-contrib/GitVersion/blob/HEAD/AcceptanceTests/MsBuildProjectArgTest.cs
ghcode:00162:53a26354b3fb
mit
codeparrot/github-code
53a26354b3fb1cd0ff97eba1d485a94eb3650a58df5a9e0a8ac1f54272dae83b
0.75
testing_debugging_repair_refactoring
210
false
2026-07-17
namespace IntegrationTests { using AspNet.Identity.MongoDB; using Microsoft.AspNet.Identity; using MongoDB.Driver; using NUnit.Framework; public class UserIntegrationTestsBase : AssertionHelper { protected MongoDatabase Database; protected MongoCollection<IdentityUser> Users; protected MongoCollection<Ide...
Malkiat-Singh/aspnet-identity-mongo
src/IntegrationTests/UserIntegrationTestsBase.cs
https://github.com/Malkiat-Singh/aspnet-identity-mongo/blob/HEAD/src/IntegrationTests/UserIntegrationTestsBase.cs
ghcode:00162:8e0ac55c92a6
mit
codeparrot/github-code
8e0ac55c92a6cec98fbc9caee30cc444b0e83346eb831b01045dc3c6c6e339c7
0.6
testing_debugging_repair_refactoring
260
false
2026-07-17
namespace Carbon { /* public class StreamTests { [Fact] public void Encrypt() { var protector = new PackageProtector("hi"); var sourceText = "the quick brown fox ran over the road"; using (var stream = new MemoryStream(Encoding.UTF8.GetBytes(sourceText))) { using (var encryp...
carbon/Platform
src/Carbon.Platform.Tests/StreamTests.cs
https://github.com/carbon/Platform/blob/HEAD/src/Carbon.Platform.Tests/StreamTests.cs
ghcode:00162:aee7d3e202ea
mit
codeparrot/github-code
aee7d3e202ea57ae6f751dbecd15f15e50e9e2792dcf0bd10e24749824d5446a
0.75
testing_debugging_repair_refactoring
136
false
2026-07-17
using System; using DeployTool.Executers; using DeployTool.Helpers; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DeployToolTests { [TestClass] public class UtilitiesTests { [TestMethod] public void VariableExpand() { var bag = new PipelineBag(); ...
raffaeler/DeployTool
DeployToolTests/UtilitiesTests.cs
https://github.com/raffaeler/DeployTool/blob/HEAD/DeployToolTests/UtilitiesTests.cs
ghcode:00162:24e435877ba6
mit
codeparrot/github-code
24e435877ba65abad3c494d921fa3ad9eda89ffd2eaa780cb2c3f3c2a77472f4
0.75
testing_debugging_repair_refactoring
336
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.CompilerServices; using EditorBrowsableState = System.ComponentModel....
neurospeech/coreclr
src/mscorlib/src/System/ReadOnlySpan.cs
https://github.com/neurospeech/coreclr/blob/HEAD/src/mscorlib/src/System/ReadOnlySpan.cs
ghcode:00162:7a7386768485
mit
codeparrot/github-code
7a738676848562c9e1f8c323b2703a860a1463f7b78857c6cfa57493f6459d21
0.8
testing_debugging_repair_refactoring
3,211
false
2026-07-17