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 AlexaCore.Tests.Function; using NUnit.Framework; namespace AlexaCore.Tests { [TestFixture] class AllIntentTests { [Test] public void WhenAllIntentsAreRun_TestCompletes() { new TestFunctionTestRunner() .RunInitialFunction("LaunchIntent") ...
boro2g/AlexaCore
AlexaCore.Tests/AllIntentTests.cs
https://github.com/boro2g/AlexaCore/blob/HEAD/AlexaCore.Tests/AllIntentTests.cs
ghcode:00171:e9c25705c387
mit
codeparrot/github-code
e9c25705c3877208e36697495d5b27d75822b5eaba65a05f8acbb497e28c8fb4
0.75
testing_debugging_repair_refactoring
121
false
2026-07-17
using UnityEngine; using System.Collections; public class Test_xscalechange : MonoBehaviour { enum xscaletype { Daily = 0, Weekly, Monthly, Yearly, }; [Range((int)xscaletype.Daily, (int)xscaletype.Yearly)] public int xtype = 0; private int pretype = -1; float accTime = 0.0f; void Update () { a...
yasokada/unity-150908-udpTimeGraph
Assets/Test_xscalechange.cs
https://github.com/yasokada/unity-150908-udpTimeGraph/blob/HEAD/Assets/Test_xscalechange.cs
ghcode:00171:5620f64a3042
mit
codeparrot/github-code
5620f64a3042075cbf0e42be5293268f0c3472c868ac8f15af247e0cccd4f062
0.75
testing_debugging_repair_refactoring
180
false
2026-07-17
using System; using System.Diagnostics; using System.Linq.Custom; using System.Text; using JetBrains.Annotations; namespace Reusable.Tests { /// <inheritdoc /> /// <summary> /// Executes commands in a new instance of the Windows command interpreter. /// </summary> [UsedImplicitly] public class...
he-dev/Reusable
Reusable.Tests.MSTest/src/Core/CmdExecutor.cs
https://github.com/he-dev/Reusable/blob/HEAD/Reusable.Tests.MSTest/src/Core/CmdExecutor.cs
ghcode:00171:260ed7a20bc7
mit
codeparrot/github-code
260ed7a20bc7604b625684558e19e2029cdc41b20deaad1cd5295ccd7bed372a
0.95
testing_debugging_repair_refactoring
436
false
2026-07-17
using System; using System.Linq; using BenchmarkDotNet.Attributes; using CacheManager.Core; using Enyim.Caching; using Enyim.Caching.Configuration; namespace CacheManager.Benchmarks { [Config(typeof(CacheManagerBenchConfig))] public abstract class BaseCacheBenchmark { private static ICacheManagerC...
mjharwood/CacheManager
test/CacheManager.Benchmarks/BaseCacheManagerBenchmark.cs
https://github.com/mjharwood/CacheManager/blob/HEAD/test/CacheManager.Benchmarks/BaseCacheManagerBenchmark.cs
ghcode:00171:c66e3f44d337
apache-2.0
codeparrot/github-code
c66e3f44d337ae992d25748dc305dace184d4af0757ceabb54bddf3d268e22ac
0.75
testing_debugging_repair_refactoring
1,142
false
2026-07-17
// Copyright 2014 The Rector & Visitors of the University of Virginia // // 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 req...
DARdk/IBA
Sensus.Shared.Tests/Sensus.Shared/SensusServiceHelperTests.cs
https://github.com/DARdk/IBA/blob/HEAD/Sensus.Shared.Tests/Sensus.Shared/SensusServiceHelperTests.cs
ghcode:00171:9f97612044f9
apache-2.0
codeparrot/github-code
9f97612044f98158310f19bbe5e25a86d3e5f0d70653b73aa4827c4df41baba0
0.85
testing_debugging_repair_refactoring
1,378
false
2026-07-17
using System.Collections.Generic; using DotVVM.Framework.Compilation.ControlTree.Resolved; using DotVVM.Framework.Controls; using DotVVM.Testing.SeleniumGenerator.Tests.Helpers; using DotVVM.Testing.SeleniumGenerator.Tests.Visitors; namespace DotVVM.Testing.SeleniumGenerator.Tests.Visitors { public class UiNamesT...
riganti/dotvvm
src/Tools/Tests/SeleniumGenerator/Visitors/UiNamesTestingVisitor.cs
https://github.com/riganti/dotvvm/blob/HEAD/src/Tools/Tests/SeleniumGenerator/Visitors/UiNamesTestingVisitor.cs
ghcode:00171:1c3b1cad86ca
apache-2.0
codeparrot/github-code
1c3b1cad86ca1714c2c1a57ec3cf2a6456a114d1c91c2ef1ed032396d3f4e21d
0.85
testing_debugging_repair_refactoring
181
false
2026-07-17
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using...
binsys/roslyn_java
Src/Workspaces/Core/Workspace/Solution/Solution.CompilationTracker.cs
https://github.com/binsys/roslyn_java/blob/HEAD/Src/Workspaces/Core/Workspace/Solution/Solution.CompilationTracker.cs
ghcode:00171:45e1c18ed66d
apache-2.0
codeparrot/github-code
45e1c18ed66df13d1d4ca76be2ed6d1b1aa51daf31a919d2cd266a4887c42ab7
0.85
testing_debugging_repair_refactoring
6,092
false
2026-07-17
using System; using Inforigami.Regalo.Interfaces; using NUnit.Framework; using Inforigami.Regalo.Core; using Inforigami.Regalo.Core.Tests.DomainModel.SalesOrders; namespace Inforigami.Regalo.ObjectCompare.Tests.Unit { [TestFixture] public class PropertyIgnoringTests { [Test] public void Ign...
nbarnwell/Inforigami.Regalo
Inforigami.Regalo.ObjectCompare.Tests.Unit/PropertyIgnoringTests.cs
https://github.com/nbarnwell/Inforigami.Regalo/blob/HEAD/Inforigami.Regalo.ObjectCompare.Tests.Unit/PropertyIgnoringTests.cs
ghcode:00171:9835a1dcdfb4
apache-2.0
codeparrot/github-code
9835a1dcdfb4c8f06f9230690f5b9eb1e733436a51cc9e03acfb0f0982dd11f6
0.75
testing_debugging_repair_refactoring
435
false
2026-07-17
namespace ThroughputTest { using System; using System.Diagnostics; using System.Threading; using ZeroMQ.Sockets; internal class Program { private static readonly int[] MessageSizes = { 4, 8, 64, 128, 256, 512 }; private const int MessageCount = 1000000; ...
jgoz/netzmq
src/perf/ThroughputTest/Program.cs
https://github.com/jgoz/netzmq/blob/HEAD/src/perf/ThroughputTest/Program.cs
ghcode:00171:942b36f6a088
apache-2.0
codeparrot/github-code
942b36f6a08872ce1e0b22782c343da7e2e1ab6b8fc18fee83142fe93ee01150
0.85
testing_debugging_repair_refactoring
576
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Cassandra.Data.Linq; using Cassandra.Mapping; using Cassandra.Serialization; using Cassandra.Tasks; using Cassandra.Tests.Mapping.FluentMappings; #if !NETCORE using Moq; #endif using NUnit.Framewor...
trurl123/csharp-driver
src/Cassandra.Tests/Mapping/MappingTestBase.cs
https://github.com/trurl123/csharp-driver/blob/HEAD/src/Cassandra.Tests/Mapping/MappingTestBase.cs
ghcode:00171:19be37b9a22f
apache-2.0
codeparrot/github-code
19be37b9a22ffe00e39c26dfb2c5581fc931431d8fdd83c6b1cdc7916211c515
0.85
testing_debugging_repair_refactoring
770
false
2026-07-17
using ElmahLogAnalyzer.Core.Domain; using ElmahLogAnalyzer.TestHelpers.Fakes; using NUnit.Framework; namespace ElmahLogAnalyzer.IntegrationTests.Domain { [TestFixture][Ignore("Unable to load the native components of SQL Server Compact")] public class SqlServerCompactErrorLogSourceTests : IntegrationTestBase ...
pellehenriksson/elmah-loganalyzer
src/ElmahLogAnalyzer.IntegrationTests/Domain/SqlServerCompactErrorLogSourceTests.cs
https://github.com/pellehenriksson/elmah-loganalyzer/blob/HEAD/src/ElmahLogAnalyzer.IntegrationTests/Domain/SqlServerCompactErrorLogSourceTests.cs
ghcode:00171:f46b51ee0a1a
apache-2.0
codeparrot/github-code
f46b51ee0a1acac4820f04f188fb048d4372b20f8b24e8d1334c0bac5b22955b
0.75
testing_debugging_repair_refactoring
270
false
2026-07-17
using Commander.Runtime; using Commander.StructureMap; using Commander.Tests.Scenarios; using NUnit.Framework; using Rhino.Mocks; using StructureMap; namespace Commander.Tests { [TestFixture] public class EntityBuilderTester { [Test] public void dependencies_are_resolved_for_en...
RexMorgan/Commander
Source/Commander.Tests/EntityBuilderTester.cs
https://github.com/RexMorgan/Commander/blob/HEAD/Source/Commander.Tests/EntityBuilderTester.cs
ghcode:00171:33f7030d7290
apache-2.0
codeparrot/github-code
33f7030d7290d28a0dd64686da825382ce42780961c79c1e88c726794dece6ab
0.6
testing_debugging_repair_refactoring
286
false
2026-07-17
using System; using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; //using TRL.Common.Extensions.Data; using TRL.Common.Extensions; namespace TRL.Common.Test.Extensions { [TestClass] public class CrossLinesTests { [TestMethod] ...
wouldyougo/TRx
TRL.Common.Test/Extensions/CrossLinesTests.cs
https://github.com/wouldyougo/TRx/blob/HEAD/TRL.Common.Test/Extensions/CrossLinesTests.cs
ghcode:00171:bbb3edcf3c9f
apache-2.0
codeparrot/github-code
bbb3edcf3c9f4376f4ab437ebe136dea349f26cc4859a764588f2c7e7f1584dc
0.75
testing_debugging_repair_refactoring
525
false
2026-07-17
#region License and Terms // CustomExtensions - Custom Extension Methods For C# // Copyright (c) 2011 - 2013 Jonathan Comtois. 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...
jcomtois/CustomExtensions
CustomExtensions.UnitTests/ForStringsTests/DecryptTest.cs
https://github.com/jcomtois/CustomExtensions/blob/HEAD/CustomExtensions.UnitTests/ForStringsTests/DecryptTest.cs
ghcode:00171:5b9c759ebac8
apache-2.0
codeparrot/github-code
5b9c759ebac8572d89ed23a74e895bec75021cf2e4fa940334b83df9dcb65c50
0.85
testing_debugging_repair_refactoring
1,611
false
2026-07-17
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET. // Licensed under the Apache License, Version 2.0. using ImageMagick; using ImageMagick.Formats; using Xunit; namespace Magick.NET.Tests { public partial class DdsWriteDefinesTests { public class TheConstructor { [F...
dlemstra/Magick.NET
tests/Magick.NET.Tests/Formats/Dds/DdsWriteDefinesTests/TheConstructor.cs
https://github.com/dlemstra/Magick.NET/blob/HEAD/tests/Magick.NET.Tests/Formats/Dds/DdsWriteDefinesTests/TheConstructor.cs
ghcode:00171:644c5298be55
apache-2.0
codeparrot/github-code
644c5298be55c642d925abdc1c82c51d5433dd9862b261bc2db6693631988123
0.85
testing_debugging_repair_refactoring
228
false
2026-07-17
using NUnit.Framework; using System; using System.Collections; using System.Collections.Generic; using Genetics; using GeneticsTests.TestCases; namespace GeneticsTests { [TestFixture] public class EnumerableMappingTests : TestBase { [Test] public void GetEnumerableElementTypeTest() ...
mattleibow/Genetics
GeneticsTests/EnumerableMappingTests.cs
https://github.com/mattleibow/Genetics/blob/HEAD/GeneticsTests/EnumerableMappingTests.cs
ghcode:00171:6f553172d1e4
apache-2.0
codeparrot/github-code
6f553172d1e4fc971c30bd873be9e7791003f393162f26c2a086259ad2dff3ae
0.75
testing_debugging_repair_refactoring
508
false
2026-07-17
using Xunit; using MagicCanHappen = SeeingSharp.Sub.MagicCanHappen; namespace SeeingSharp.Tests { public class MagicCanHappenTests { //CTRL + SHIFT + ALT + 8 [Fact] public void Test() { var magicCanHappen = new MagicCanHappen(); magicCanH...
cyberzed/SeeingSharp
src/SeeingSharp.Tests/01 Medium/MagicCanHappenTests.cs
https://github.com/cyberzed/SeeingSharp/blob/HEAD/src/SeeingSharp.Tests/01 Medium/MagicCanHappenTests.cs
ghcode:00171:8bc13678e30e
bsd-3-clause
codeparrot/github-code
8bc13678e30e27d941a1a3af8c53880b898570a39fe55e99da34e5fe11615a3f
0.75
testing_debugging_repair_refactoring
81
false
2026-07-17
using Selenium.Tests.Internals; using A = NUnit.Framework.Assert; using SetUp = NUnit.Framework.SetUpAttribute; using TestCase = NUnit.Framework.TestCaseAttribute; using TestFixture = NUnit.Framework.TestFixtureAttribute; namespace Selenium.Tests { [TestFixture(Browser.Firefox)] [TestFixture(Browser.Opera)] ...
florentbr/SeleniumBasic
Selenium.Tests/TS_Select.cs
https://github.com/florentbr/SeleniumBasic/blob/HEAD/Selenium.Tests/TS_Select.cs
ghcode:00171:ecc23a98e514
bsd-3-clause
codeparrot/github-code
ecc23a98e514f5c9f93765cc4fc780ec67b71643170010ff993a92bcd4b843ac
0.6
testing_debugging_repair_refactoring
331
false
2026-07-17
using System; using Moq; using Ploeh.AutoFixture.Xunit2; using Xunit; namespace ReactiveMvvm.Tests { using static Stream<User, string>; using static Times; public class ConnectionExtensionsTest { [Theory AutoData] public void EmitRelaysWithModelInstance(User user) { ...
envicase/ReactiveMvvm
test/ReactiveMvvm.Tests/ConnectionExtensionsTest.cs
https://github.com/envicase/ReactiveMvvm/blob/HEAD/test/ReactiveMvvm.Tests/ConnectionExtensionsTest.cs
ghcode:00171:b3e3a9e5f037
mit
codeparrot/github-code
b3e3a9e5f037b09ad86bbb0f5e393050b99511de1d1c5f231267868f0b7c5f41
0.6
testing_debugging_repair_refactoring
126
false
2026-07-17
using System.Threading; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Configs; using BenchmarkDotNet.Jobs; using BenchmarkDotNet.Mathematics; namespace BenchmarkDotNet.Samples { [Config(typeof(Config))] public class IntroOutliers { private class Config : ManualConfig { ...
alinasmirnova/BenchmarkDotNet
samples/BenchmarkDotNet.Samples/IntroOutliers.cs
https://github.com/alinasmirnova/BenchmarkDotNet/blob/HEAD/samples/BenchmarkDotNet.Samples/IntroOutliers.cs
ghcode:00171:662ed0cb72c5
mit
codeparrot/github-code
662ed0cb72c59ec02ccf70f865425121567f4dfaa7438174569eb2543dc073b6
0.75
testing_debugging_repair_refactoring
210
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using BenchmarkDotNet.Helpers; using BenchmarkDotNet.Loggers; using BenchmarkDotNet.Portability; using BenchmarkDotNet.Portability.Cpu; using BenchmarkDotNet.Properties; using BenchmarkDotNet.Reports; using BenchmarkDotNet.Toolchains...
Ky7m/BenchmarkDotNet
src/BenchmarkDotNet/Environments/HostEnvironmentInfo.cs
https://github.com/Ky7m/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Environments/HostEnvironmentInfo.cs
ghcode:00171:3aec68b0b720
mit
codeparrot/github-code
3aec68b0b7203160047d20d31fd41d8272b258483b95f47f44f21bac443a1e59
0.85
testing_debugging_repair_refactoring
1,172
false
2026-07-17
using GenFx.Components.SelectionOperators; using System; using System.Collections.Generic; using System.Linq; using TestCommon.Mocks; using Xunit; namespace GenFx.Components.Tests { /// <summary> /// Contains unit tests for the <see cref="RouletteWheelSampler"/> class. /// </summary> public class Roul...
mthalman/GenFx
src/GenFx.Components.Tests/RouletteWheelSamplerTest.cs
https://github.com/mthalman/GenFx/blob/HEAD/src/GenFx.Components.Tests/RouletteWheelSamplerTest.cs
ghcode:00171:465da15e24b1
mit
codeparrot/github-code
465da15e24b177f4293a495f576e9af323944eaa7ed0dc439d43c4f1dd19febe
0.7
testing_debugging_repair_refactoring
1,189
false
2026-07-17
using NJsonApi.Test.TestModel; using NJsonApi.Conventions.Impl; using Xunit; namespace NJsonApi.Test.Conventions { public class SimpleLinkedIdConventionTests { [Fact] public void For_collection_links_gracefully_fails() { // Arrange var convention = new SimpleLin...
miclip/NJsonApiCore
test/NJsonApiCore.Test/Conventions/SimpleLinkedIdConventionTests.cs
https://github.com/miclip/NJsonApiCore/blob/HEAD/test/NJsonApiCore.Test/Conventions/SimpleLinkedIdConventionTests.cs
ghcode:00171:5bd5542998f1
mit
codeparrot/github-code
5bd5542998f1e71f7a5264c709456290f225e84c8aa455f2e4262ff1c7026f24
0.85
testing_debugging_repair_refactoring
265
false
2026-07-17
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Exercism.CSharp.Exercises; using Exercism.CSharp.Helpers; using Exercism.CSharp.Input; using Exercism.CSharp.Output.Rendering; namespace Exercism.CSharp.Output { public class Tes...
robkeim/xcsharp
generators/Output/TestMethodOutput.cs
https://github.com/robkeim/xcsharp/blob/HEAD/generators/Output/TestMethodOutput.cs
ghcode:00171:315131c31be2
mit
codeparrot/github-code
315131c31be2ca75fceaba63953910e97b5c4bad5777e4579a6c086b5da42b8d
0.75
testing_debugging_repair_refactoring
1,240
false
2026-07-17
// Copyright © Microsoft Corporation. All Rights Reserved. // This code released under the terms of the // Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.) using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Diagnostics; namespace Micro...
adamdriscoll/TfsIntegrationPlatform
IntegrationPlatform/Core/Toolkit/Utility.cs
https://github.com/adamdriscoll/TfsIntegrationPlatform/blob/HEAD/IntegrationPlatform/Core/Toolkit/Utility.cs
ghcode:00171:54293889306f
mit
codeparrot/github-code
54293889306fcc93cc1f92f7918fc7aa0661b3440a44d6794eea08c531895d65
0.85
testing_debugging_repair_refactoring
637
false
2026-07-17
using System.Collections.Generic; using Newtonsoft.Json; using NJsonSchema.Infrastructure; using Xunit; namespace NJsonSchema.Tests.Infrastructure { public class PropertyRenameAndIgnoreSerializerContractResolverTests { [Fact] public void When_property_is_renamed_then_it_does_not_land_in_extens...
NJsonSchema/NJsonSchema
src/NJsonSchema.Tests/Infrastructure/PropertyRenameAndIgnoreSerializerContractResolverTests.cs
https://github.com/NJsonSchema/NJsonSchema/blob/HEAD/src/NJsonSchema.Tests/Infrastructure/PropertyRenameAndIgnoreSerializerContractResolverTests.cs
ghcode:00171:f8cf8a63bc6f
mit
codeparrot/github-code
f8cf8a63bc6f428608a3d8e462975169b863b9c6e84b47cf22ae843c6e30aa1a
0.85
testing_debugging_repair_refactoring
621
false
2026-07-17
using Bridge.Test.NUnit; namespace Bridge.ClientTest.Batch3.BridgeIssues { [Category(Constants.MODULE_ISSUES)] [TestFixture(TestNameFormat = "#1058 - {0}")] public class Bridge1058 { [Test] public static void TestNameLowerCase() { Assert.AreEqual("Bridge.ClientTest.B...
AndreyZM/Bridge
Tests/Batch3/BridgeIssues/1000/N1058.cs
https://github.com/AndreyZM/Bridge/blob/HEAD/Tests/Batch3/BridgeIssues/1000/N1058.cs
ghcode:00171:d7761872934c
apache-2.0
codeparrot/github-code
d7761872934cac0aa9033f497426fdbb97ae50b4c40c4c40ed7ac0ffa5b1d194
0.85
testing_debugging_repair_refactoring
441
false
2026-07-17
using NServiceBus; using NServiceBus.Testing; using NUnit.Framework; namespace UnitTesting.AdditionalDependencies { #region TestingAdditionalDependencies public class MyTest { [Test] public void RunWithDependencyInjection() { Test.Initialize(); var mockSe...
SzymonPobiega/docs.particular.net
Snippets/Snippets_5/UnitTesting/AdditionalServices.cs
https://github.com/SzymonPobiega/docs.particular.net/blob/HEAD/Snippets/Snippets_5/UnitTesting/AdditionalServices.cs
ghcode:00171:7b55bd7517bc
apache-2.0
codeparrot/github-code
7b55bd7517bcde6777948167f964553ebd3a5a6af1f95e74654b2934569c9240
0.6
testing_debugging_repair_refactoring
170
false
2026-07-17
using System; using Elasticsearch.Net; using Nest; using Tests.Framework; using Tests.Framework.Integration; using Tests.Framework.ManagedElasticsearch.Clusters; using Tests.Framework.MockData; using Xunit; namespace Tests.Search.Scroll.ClearScroll { // ReadOnlyCluster because eventhough its technically a write acti...
CSGOpenSource/elasticsearch-net
src/Tests/Search/Scroll/ClearScroll/ClearScrollApiTests.cs
https://github.com/CSGOpenSource/elasticsearch-net/blob/HEAD/src/Tests/Search/Scroll/ClearScroll/ClearScrollApiTests.cs
ghcode:00171:c44462b21729
apache-2.0
codeparrot/github-code
c44462b21729124344e6bd5d348774e1170c2eff850c0bdedd7946b5e26e6ea3
0.85
testing_debugging_repair_refactoring
436
false
2026-07-17
using System.Collections.Generic; using System.Reflection; using NUnit.Framework; using Orchard.Workflows.Activities; namespace Orchard.Tests.Modules.Workflows.Activities { [TestFixture] public class WebRequestActivityTests { private readonly MethodInfo _parseKeyValueString = typeof(WebReque...
TheMrCPlay/PusdKop
src/Orchard.Tests.Modules/Workflows/Activities/WebRequestActivityTests.cs
https://github.com/TheMrCPlay/PusdKop/blob/HEAD/src/Orchard.Tests.Modules/Workflows/Activities/WebRequestActivityTests.cs
ghcode:00171:095eaf9c5abf
bsd-3-clause
codeparrot/github-code
095eaf9c5abff9f1e7e0854c480d79b1e3d4cd9ed1d662a5bdb1e5d15051f924
0.75
testing_debugging_repair_refactoring
371
false
2026-07-17
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Diagnostics; namespace ReactNative.Collections { /// <summary> /// Heap based priority queue. For precise algorithm please see wikipedia. /// Not th...
bluejeans/react-native-windows
ReactWindows/ReactNative.Shared/Collections/HeapBasedPriorityQueue.cs
https://github.com/bluejeans/react-native-windows/blob/HEAD/ReactWindows/ReactNative.Shared/Collections/HeapBasedPriorityQueue.cs
ghcode:00171:80e4cf214fb6
mit
codeparrot/github-code
80e4cf214fb698949f41c2c9b1f67bc8b414cf83317f3282ea357a4c7d237447
0.85
testing_debugging_repair_refactoring
2,113
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. //----------------------------------------------------------------------- // </copyright> // <summary>Unit tests for EventArgsTests</summary> //------------------------...
akoeplinger/msbuild
src/Framework/UnitTests/EventArgs_Tests.cs
https://github.com/akoeplinger/msbuild/blob/HEAD/src/Framework/UnitTests/EventArgs_Tests.cs
ghcode:00171:02d1bac6e9b4
mit
codeparrot/github-code
02d1bac6e9b40b5b464b4700a5ef48029a517903de47a7b2231fd7b2d1402923
0.85
testing_debugging_repair_refactoring
1,918
false
2026-07-17
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using PetaPoco; namespace OpenPermit.SQL.Tests { [TestClass] public class SQLOpenPermitAdapterTests { [TestMethod] public void TestNoMatchByAddress() { PermitFilter filt...
permithub/OpenPermit.NET
Src/OpenPermit.SQL.Tests/SQLOpenPermitAdapterTests.cs
https://github.com/permithub/OpenPermit.NET/blob/HEAD/Src/OpenPermit.SQL.Tests/SQLOpenPermitAdapterTests.cs
ghcode:00171:402ab3d3dbd8
mit
codeparrot/github-code
402ab3d3dbd877aff09a4c4100affaa60d99ae626c68fad876515f4eac75a9cc
0.75
testing_debugging_repair_refactoring
3,845
false
2026-07-17
// *********************************************************************** // Copyright (c) 2014 Charlie Poole, Rob Prouse // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restri...
OmicronPersei/nunit
src/NUnitFramework/framework/Internal/Commands/SetUpTearDownCommand.cs
https://github.com/OmicronPersei/nunit/blob/HEAD/src/NUnitFramework/framework/Internal/Commands/SetUpTearDownCommand.cs
ghcode:00171:5fa8a6db1765
mit
codeparrot/github-code
5fa8a6db1765e2074a6ccb106ae603f7062c8eb7fd6d89f9c10f1f41afc5bd34
0.85
testing_debugging_repair_refactoring
518
false
2026-07-17
using System.Linq; using Merchello.Core; using Merchello.Core.Models; using Merchello.Core.Services; using Merchello.Tests.IntegrationTests.TestHelpers; using NUnit.Framework; namespace Merchello.Tests.IntegrationTests.Services.Customer { using System; using Merchello.Tests.Base.DataMakers; [TestFixture...
BarryFogarty/Merchello
test/Merchello.Tests.IntegrationTests/Services/Customer/CustomerServiceTests.cs
https://github.com/BarryFogarty/Merchello/blob/HEAD/test/Merchello.Tests.IntegrationTests/Services/Customer/CustomerServiceTests.cs
ghcode:00171:81ef33b6a752
mit
codeparrot/github-code
81ef33b6a752ed21eae9031b08266485d15b8c4b8d9e0367122c56471b70d6c5
0.85
testing_debugging_repair_refactoring
2,966
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
test/MsgPack.UnitTest/MessagePackObjectTest.Miscs.cs
https://github.com/modulexcite/msgpack-cli/blob/HEAD/test/MsgPack.UnitTest/MessagePackObjectTest.Miscs.cs
ghcode:00172:10af02150a62
apache-2.0
codeparrot/github-code
10af02150a6249433d63f1dad91c0fcf46bd2604ebc3a1cb391037541ebbb461
0.85
testing_debugging_repair_refactoring
2,288
false
2026-07-17
using System.Collections.Generic; using NUnit.Framework; using ServiceStack.Common.Extensions; using ServiceStack.ServiceInterface.ServiceModel; namespace ServiceStack.Common.Tests { public enum UserFileType { DefaultProfile, OriginalProfile, Profile75X75, Profile66X66, Profile63X63, } public class Test...
fanta-mnix/ServiceStack
tests/ServiceStack.Common.Tests/ReflectionExtensionsTests.cs
https://github.com/fanta-mnix/ServiceStack/blob/HEAD/tests/ServiceStack.Common.Tests/ReflectionExtensionsTests.cs
ghcode:00172:36945c90bc2e
bsd-3-clause
codeparrot/github-code
36945c90bc2e72e06e16be753d49375209a587f5c0c433322a31bb9ae5ca9020
0.75
testing_debugging_repair_refactoring
728
false
2026-07-17
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
OpenSimian/opensimulator
OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAgentTests.cs
https://github.com/OpenSimian/opensimulator/blob/HEAD/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAgentTests.cs
ghcode:00172:597ce6b496e1
bsd-3-clause
codeparrot/github-code
597ce6b496e1623a4ee424d760ed60eafea1e795044edafc4f1460b3a3d12b99
0.95
testing_debugging_repair_refactoring
2,665
false
2026-07-17
using System; using Baseline; using Marten.Events; using Marten.Events.Projections; using Shouldly; using Xunit; namespace Marten.Testing.Events.Projections { public class AggregatorTests { private readonly Aggregator<QuestParty> theAggregator = new Aggregator<QuestParty>(); [Fact] pu...
jokokko/marten
src/Marten.Testing/Events/Projections/AggregatorTests.cs
https://github.com/jokokko/marten/blob/HEAD/src/Marten.Testing/Events/Projections/AggregatorTests.cs
ghcode:00172:48d4e22d70df
mit
codeparrot/github-code
48d4e22d70dfa8e1ede1cb4fc9cbcf292ea54ae37109ec1219cb20374ca522e3
0.75
testing_debugging_repair_refactoring
1,190
false
2026-07-17
// Copyright (c) Umbraco. // See LICENSE for more details. using System.Collections.Generic; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Moq; using NUnit.Framework; using Umbraco.Cms.Web.BackOffice.Authorization; using Umbraco.Cms.Web.BackOffice.Security;...
umbraco/Umbraco-CMS
tests/Umbraco.Tests.UnitTests/Umbraco.Web.BackOffice/Authorization/DenyLocalLoginHandlerTests.cs
https://github.com/umbraco/Umbraco-CMS/blob/HEAD/tests/Umbraco.Tests.UnitTests/Umbraco.Web.BackOffice/Authorization/DenyLocalLoginHandlerTests.cs
ghcode:00172:de8c1c89a7b5
mit
codeparrot/github-code
de8c1c89a7b543e4fe37e5e6304c8fabd23e871aaf24bba951050da620fd6ecd
0.75
testing_debugging_repair_refactoring
433
false
2026-07-17
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using JetBrains.Annotations; using osu.Framework.Allocation; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Te...
ppy/osu
osu.Game/Tests/Visual/PlayerTestScene.cs
https://github.com/ppy/osu/blob/HEAD/osu.Game/Tests/Visual/PlayerTestScene.cs
ghcode:00172:d02c76835215
mit
codeparrot/github-code
d02c7683521524c972ded92b34bc2dea02bed93eb9cc325560941879fbef53ed
0.95
testing_debugging_repair_refactoring
646
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.Diagnostics; using Roslyn.Utilities; namespace Microsoft.Cci { /// <summary> ...
abock/roslyn
src/Compilers/Core/Portable/PEWriter/AssemblyReferenceAlias.cs
https://github.com/abock/roslyn/blob/HEAD/src/Compilers/Core/Portable/PEWriter/AssemblyReferenceAlias.cs
ghcode:00172:24fc7a0bdba9
mit
codeparrot/github-code
24fc7a0bdba951053abf504c3b579b3cd6b37bf5b7048b4af5358a1047bdcc97
0.85
testing_debugging_repair_refactoring
204
false
2026-07-17
using System.Linq; using System.Threading.Tasks; using AllReady.Areas.Admin.Features.Tasks; using AllReady.Models; using Xunit; namespace AllReady.UnitTest.Areas.Admin.Features.Tasks { public class DeleteTaskCommandHandlerShould : InMemoryContextTest { private const int TaskId = 1; public Dele...
forestcheng/allReady
AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Tasks/DeleteTaskCommandHandlerShould.cs
https://github.com/forestcheng/allReady/blob/HEAD/AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Tasks/DeleteTaskCommandHandlerShould.cs
ghcode:00172:5237c9cad77d
mit
codeparrot/github-code
5237c9cad77d25ce8bf7b0e8292ed58fd8f24c93a0ff2c29cc8fce4905aef3c1
0.75
testing_debugging_repair_refactoring
150
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.Diagnostics; using System.Text; using Internal.TypeSystem; namespace ILCompiler { ...
zenos-os/zenos
vendor/corert/src/ILCompiler.ReadyToRun/src/Compiler/ReadyToRunHashCode.cs
https://github.com/zenos-os/zenos/blob/HEAD/vendor/corert/src/ILCompiler.ReadyToRun/src/Compiler/ReadyToRunHashCode.cs
ghcode:00172:50976f0380dd
mit
codeparrot/github-code
50976f0380dd56415084540a9be2d5f6ceee6940910c392ee5627dabc6111ef9
0.95
testing_debugging_repair_refactoring
2,380
false
2026-07-17
// *********************************************************************** // Copyright (c) 2009 Charlie Poole // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, incl...
undeadlabs/msgpack-cli
test/NUnitLite/src/tests/Assertions/AssertInconclusiveTests.cs
https://github.com/undeadlabs/msgpack-cli/blob/HEAD/test/NUnitLite/src/tests/Assertions/AssertInconclusiveTests.cs
ghcode:00172:9040e5b76f11
apache-2.0
codeparrot/github-code
9040e5b76f11e442a8b8ae157b002c26a808342d3210df67dc740ccc10c5bb79
0.95
testing_debugging_repair_refactoring
413
false
2026-07-17
using System.Diagnostics; namespace Community.CsharpSqlite { using System; using sqlite3_int64 = System.Int64; using u32 = System.UInt32; public partial class Sqlite3 { /* ** 2001 September 15 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ...
ddpruitt/MatterControl
Community.CsharpSqlite/src/malloc_c.cs
https://github.com/ddpruitt/MatterControl/blob/HEAD/Community.CsharpSqlite/src/malloc_c.cs
ghcode:00172:9a8118fd07e5
bsd-2-clause
codeparrot/github-code
9a8118fd07e56f1fdb5c200be0c4ae0b546a5e1f856f7229a7c1494e9123fea1
0.88
testing_debugging_repair_refactoring
9,764
false
2026-07-17
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.CSharp.Test.Utilities; using Xunit; namespace Microsoft.CodeAnalysis.CSharp.UnitTests.Emit { public class Perf : CSharpTest...
DustinCampbell/roslyn
src/Compilers/CSharp/Test/Emit/Perf.cs
https://github.com/DustinCampbell/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/Perf.cs
ghcode:00172:074bf258a16a
apache-2.0
codeparrot/github-code
074bf258a16a95d50e197538c3b7ed0a1f3794f5341aba2d29ef7cbef05fbc60
0.95
testing_debugging_repair_refactoring
372
false
2026-07-17
using NUnit.Framework; using RefactoringEssentials.CSharp.Diagnostics; namespace RefactoringEssentials.Tests.CSharp.Diagnostics { [TestFixture] public class ThreadStaticAtInstanceFieldTests : CSharpDiagnosticTestBase { [Test] public void TestInspectorCase1() { Analyze<Th...
mrward/RefactoringEssentials
Tests/CSharp/Diagnostics/ThreadStaticAtInstanceFieldTests.cs
https://github.com/mrward/RefactoringEssentials/blob/HEAD/Tests/CSharp/Diagnostics/ThreadStaticAtInstanceFieldTests.cs
ghcode:00172:322bce4fe827
mit
codeparrot/github-code
322bce4fe827c84f845dbc92ab4c5e5b10a8038c20abaa4dcf35091a48cf2d00
0.75
testing_debugging_repair_refactoring
461
false
2026-07-17
//--------------------------------------------------------------------- // <copyright file="DataServiceStreamProvider.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //---------------------------...
hotchandanisagar/odata.net
test/FunctionalTests/Tests/DataServices/UnitTests/ServerUnitTests/Stubs/DataServiceStreamProvider.cs
https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataServices/UnitTests/ServerUnitTests/Stubs/DataServiceStreamProvider.cs
ghcode:00172:6e3a81121997
mit
codeparrot/github-code
6e3a811219970fdc505f7e0a15945a1ef8a705979187a7a6f1d5ae50f01a6273
0.95
testing_debugging_repair_refactoring
5,170
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...
zhencui/azure-powershell
src/ResourceManager/Insights/Commands.Insights.Test/ScenarioTests/TestsController.cs
https://github.com/zhencui/azure-powershell/blob/HEAD/src/ResourceManager/Insights/Commands.Insights.Test/ScenarioTests/TestsController.cs
ghcode:00172:07ba112b9f6a
apache-2.0
codeparrot/github-code
07ba112b9f6ad8a7233e91b48478d208672eb2ec237ce4353279fdafffb41191
0.85
testing_debugging_repair_refactoring
1,060
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.Diagnostics; using System.Linq; ...
physhi/roslyn
src/Features/Core/Portable/CodeRefactorings/AddMissingImports/AbstractAddMissingImportsFeatureService.cs
https://github.com/physhi/roslyn/blob/HEAD/src/Features/Core/Portable/CodeRefactorings/AddMissingImports/AbstractAddMissingImportsFeatureService.cs
ghcode:00172:b50a9990b057
apache-2.0
codeparrot/github-code
b50a9990b057de18ef7023557014c4d66ee03bb2100df24259e59e8ed9266ab4
0.85
testing_debugging_repair_refactoring
2,974
false
2026-07-17
using Microsoft.VisualStudio.TestTools.UnitTesting; using Serilog.Context; namespace Serilog.Tests.Context { [TestClass] public class SerilogTest { [TestInitialize] public void TestInitialize() { LogContext.PermitCrossAppDomainCalls = true; } [TestMethod...
Applicita/serilog
test/Serilog.MsTests/SerilogTest.cs
https://github.com/Applicita/serilog/blob/HEAD/test/Serilog.MsTests/SerilogTest.cs
ghcode:00172:928d6487b26e
apache-2.0
codeparrot/github-code
928d6487b26ec7bac9506ee9d444b345a4936d25dbe5c95535b490a77c3baeec
0.75
testing_debugging_repair_refactoring
290
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 Cake.Common.Tests.Fixtures.Tools.Chocolatey.Installer; using Cake.Testing; using Cake.Testing.Xunit; using Xu...
phenixdotnet/cake
src/Cake.Common.Tests/Unit/Tools/Chocolatey/Install/ChocolateyInstallerTests.cs
https://github.com/phenixdotnet/cake/blob/HEAD/src/Cake.Common.Tests/Unit/Tools/Chocolatey/Install/ChocolateyInstallerTests.cs
ghcode:00172:0f11771fdfb5
mit
codeparrot/github-code
0f11771fdfb57938c24d90b6a5785bc2f59729e818e2f7302465c7327ab07aa1
0.85
testing_debugging_repair_refactoring
5,316
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.Diagnostics.Contracts; using System.Globalization; using System.Text; namesp...
tijoytom/corefx
src/System.Net.Http/src/System/Net/Http/HttpRuleParser.cs
https://github.com/tijoytom/corefx/blob/HEAD/src/System.Net.Http/src/System/Net/Http/HttpRuleParser.cs
ghcode:00172:cfbe0b09348f
mit
codeparrot/github-code
cfbe0b09348f797f031e2a59237430447003f62e26c037d55db01bd777f7d922
0.95
testing_debugging_repair_refactoring
3,973
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.Threading; using System.Threading.Tasks; namespace System.IO.Pipelines { ...
shimingsg/corefx
src/System.IO.Pipelines/src/System/IO/Pipelines/PipeWriterStream.cs
https://github.com/shimingsg/corefx/blob/HEAD/src/System.IO.Pipelines/src/System/IO/Pipelines/PipeWriterStream.cs
ghcode:00172:6597881d48ac
mit
codeparrot/github-code
6597881d48acfb7912d1a0d8640abee6bd84071d48fae55d6660006aee852b2d
0.95
testing_debugging_repair_refactoring
704
false
2026-07-17
using System; using System.Linq; using Microsoft.SharePoint.Client; using Microsoft.VisualStudio.TestTools.UnitTesting; using OfficeDevPnP.Core.Framework.Provisioning.Model; using OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers; namespace OfficeDevPnP.Core.Tests.Framework.ObjectHandlers { [TestClass] ...
rajashekarusa/PnP-Sites-Core
Core/OfficeDevPnP.Core.Tests/Framework/ObjectHandlers/ObjectFeaturesTests.cs
https://github.com/rajashekarusa/PnP-Sites-Core/blob/HEAD/Core/OfficeDevPnP.Core.Tests/Framework/ObjectHandlers/ObjectFeaturesTests.cs
ghcode:00172:f69afd6fd110
mit
codeparrot/github-code
f69afd6fd110b98e8458d13d91f9e571df861ec739742f3f161e9b9c1b1a6df5
0.75
testing_debugging_repair_refactoring
419
false
2026-07-17
using System; using QUnit; namespace CoreLib.TestScript { [TestFixture] public class IFormattableTests { class MyFormattable : IFormattable { public string ToString(string format) { return format + " success"; } } [Test] public void IFormattableIsRecordedInInterfaceList() { Assert.IsTrue(typeo...
drysart/SaltarelleCompiler
Runtime/CoreLib.TestScript/IFormattableTests.cs
https://github.com/drysart/SaltarelleCompiler/blob/HEAD/Runtime/CoreLib.TestScript/IFormattableTests.cs
ghcode:00172:e3b846054726
apache-2.0
codeparrot/github-code
e3b846054726ce21945578a696e5c4d87db7d7dcb2c7694204ca78d2cc33d19e
0.75
testing_debugging_repair_refactoring
194
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. #region Assembly Microsoft.VisualStudio.Debugger.Engine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a // References\Debugger\v2.0\Micros...
mmitche/roslyn
src/ExpressionEvaluator/Core/Test/ResultProvider/Debugger/Engine/IDkmClrFullNameProvider.cs
https://github.com/mmitche/roslyn/blob/HEAD/src/ExpressionEvaluator/Core/Test/ResultProvider/Debugger/Engine/IDkmClrFullNameProvider.cs
ghcode:00172:a8c89be8d35c
apache-2.0
codeparrot/github-code
a8c89be8d35c40fb833f5d8cc58e0421fe194e85517ea6b31106d2038adab57e
0.85
testing_debugging_repair_refactoring
446
false
2026-07-17
using System; using System.Collections.Generic; using System.IO; using System.Xml; using Fake; using Machine.Specifications; namespace Test.FAKECore.ConfigHandling { public class when_modifying_app_settings_inside_of_configuration { const string OriginalFile = "ConfigFiles/SmallConfig.txt"; sta...
JonCanning/FAKE
src/test/Test.FAKECore/ConfigFiles/ConfigSpecs.cs
https://github.com/JonCanning/FAKE/blob/HEAD/src/test/Test.FAKECore/ConfigFiles/ConfigSpecs.cs
ghcode:00172:55fbc6a93110
apache-2.0
codeparrot/github-code
55fbc6a931101e8841ebad595e77a55655c542dcaf9a7fb2b5d71fc15e3a5502
0.85
testing_debugging_repair_refactoring
395
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. // // // This test represents a case where csc.exe puts a base/peer ctor callsite outside of the // first block of the derived ctor. // // Specifically covers: "Instanc...
serenabenny/coreclr
tests/src/JIT/Directed/CheckedCtor/Test_CSharp_Peer_4.cs
https://github.com/serenabenny/coreclr/blob/HEAD/tests/src/JIT/Directed/CheckedCtor/Test_CSharp_Peer_4.cs
ghcode:00172:2c23eda32b78
mit
codeparrot/github-code
2c23eda32b78654f079a8dc86aeee231a4d571849fa4cc36b4dd82661ecf9d27
0.95
testing_debugging_repair_refactoring
314
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...
zhencui/azure-powershell
src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureMemcacheRoleTests.cs
https://github.com/zhencui/azure-powershell/blob/HEAD/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureMemcacheRoleTests.cs
ghcode:00172:499aa493ccd2
apache-2.0
codeparrot/github-code
499aa493ccd2832c9768ed35067c0ae173e3d2d5542494a673c88365f28e47ef
0.85
testing_debugging_repair_refactoring
4,553
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.Text; using System.Data.SqlTypes; using System.IO; using Microsoft.SqlServer.Server; [S...
shimingsg/corefx
src/System.Data.SqlClient/tests/ManualTests/SQL/UdtTest/UDTs/Circle/Circle.cs
https://github.com/shimingsg/corefx/blob/HEAD/src/System.Data.SqlClient/tests/ManualTests/SQL/UdtTest/UDTs/Circle/Circle.cs
ghcode:00172:899736540867
mit
codeparrot/github-code
8997365408676bd6aff32df2890ee5768907fad97547e98d7015e606daff2d53
0.95
testing_debugging_repair_refactoring
752
false
2026-07-17
using System.IO; using System.Text; class ƒvƒ‰ƒlƒeƒX { public static void Main() { File.WriteAllText("output.txt", "¯–ì ”ª˜Y‘¾", Encoding.GetEncoding(932)); } }
physhi/roslyn
src/Compilers/Test/Resources/Core/Encoding/sjis.cs
https://github.com/physhi/roslyn/blob/HEAD/src/Compilers/Test/Resources/Core/Encoding/sjis.cs
ghcode:00172:f1fe6d68fac1
apache-2.0
codeparrot/github-code
f1fe6d68fac1998d4ef9874c55dca44822890c280ce97e2c7d446950dd35d40b
0.6
testing_debugging_repair_refactoring
70
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.Composition; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; namespace ...
jhendrixMSFT/roslyn
src/EditorFeatures/Test/CodeFixes/ErrorCases/CodeFixExceptionInRegisterMethod.cs
https://github.com/jhendrixMSFT/roslyn/blob/HEAD/src/EditorFeatures/Test/CodeFixes/ErrorCases/CodeFixExceptionInRegisterMethod.cs
ghcode:00172:000829ada7d2
apache-2.0
codeparrot/github-code
000829ada7d2da6add8b6c0fca23e1c1ca8a65d46e72841ee8e0af81bc2959bd
0.85
testing_debugging_repair_refactoring
164
false
2026-07-17
using NUnit.Framework; namespace SignifyCS.Test { public class SigCryptoFileTests { [Test] public void CheckSigAlg_GoodSignature_ReturnsExpected() { string test_sig = getTestSignature(); Signature res_sig = SigCryptoFile.CheckSig(test_sig); string res_alg = res_sig.Algorithm; Assert.That...
sbennett1990/signify.cs
Test/SigCryptoFileTests.cs
https://github.com/sbennett1990/signify.cs/blob/HEAD/Test/SigCryptoFileTests.cs
ghcode:00172:d3d9003142a8
isc
codeparrot/github-code
d3d9003142a86a0fac9443a4a9b33e4f056d2219eff67cdce1775a342036d9f4
0.75
testing_debugging_repair_refactoring
407
false
2026-07-17
using System; using System.IO; using System.Linq; using LibGit2Sharp.Tests.TestHelpers; using Xunit; using Xunit.Extensions; namespace LibGit2Sharp.Tests { public class CheckoutFixture : BaseFixture { private static readonly string originalFilePath = "a.txt"; private static readonly string ori...
jamill/libgit2sharp
LibGit2Sharp.Tests/CheckoutFixture.cs
https://github.com/jamill/libgit2sharp/blob/HEAD/LibGit2Sharp.Tests/CheckoutFixture.cs
ghcode:00172:6506cbb45230
mit
codeparrot/github-code
6506cbb452308c7a65851f53cea6a6484115c56ffaa2e5d4da96bb12f9650fee
0.7
testing_debugging_repair_refactoring
7,833
false
2026-07-17
 using System; using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using PholioVisualisation.Formatting; using PholioVisualisation.PholioObjects; namespace PholioVisualisation.FormattingTest { [TestClass] public class TimePeriodFormatterT...
PublicHealthEngland/fingertips-open
PholioVisualisationWS/FormattingTest/TimePeriodFormatterTest.cs
https://github.com/PublicHealthEngland/fingertips-open/blob/HEAD/PholioVisualisationWS/FormattingTest/TimePeriodFormatterTest.cs
ghcode:00172:51b2585b4980
mit
codeparrot/github-code
51b2585b4980cfd9105778a768135595809f0a11da4249c235f7f1687b5b7db1
0.85
testing_debugging_repair_refactoring
3,658
false
2026-07-17
using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using GeneticAlgorithms.Genetics; using GeneticAlgorithms.Utility; namespace GeneticAlgorithms { /// <summary> /// Represents a Population of Chromosomes. /// Implements the Chromosome...
paulcalcraft/lion-hunting
GeneticAlgorithms/Population.cs
https://github.com/paulcalcraft/lion-hunting/blob/HEAD/GeneticAlgorithms/Population.cs
ghcode:00172:33ac32e02134
mit
codeparrot/github-code
33ac32e021340bd305506af9d426755194b858a58c6c808d7cb8648e9d2b08db
0.7
testing_debugging_repair_refactoring
1,225
false
2026-07-17
using System; using System.Net.Sockets; using Codestellation.Statsd.Channels; using FluentAssertions; using Xunit; namespace Codestellation.Statsd.Tests.Channels { public class UdpChannelSettingsTests { [Fact] public void Should_parse_uri_properly() { var uri = new Uri("udp...
Codestellation/statsd
src/Tests/Channels/UdpChannelSettingsTests.cs
https://github.com/Codestellation/statsd/blob/HEAD/src/Tests/Channels/UdpChannelSettingsTests.cs
ghcode:00172:2f1950231427
mit
codeparrot/github-code
2f195023142718f0cfb14e3c5ae97a7ef346729b84f307bfd6ec3cf47bc6c040
0.85
testing_debugging_repair_refactoring
183
false
2026-07-17
using Microsoft.VisualStudio.TestTools.UnitTesting; using Ev3Controller.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Ev3Controller.Ev3Command; namespace Ev3Controller.Model.Tests { [TestClass()] public class BrickU...
CountrySideEngineer/Ev3Controller
dev/src/Ev3ControllerTests/Model/BrickUpdater_50_01_Tests.cs
https://github.com/CountrySideEngineer/Ev3Controller/blob/HEAD/dev/src/Ev3ControllerTests/Model/BrickUpdater_50_01_Tests.cs
ghcode:00172:9b259acbaf85
mit
codeparrot/github-code
9b259acbaf85884d58d496e66cb0ad0c5f89c3e0048057012a8efe63eacf39b1
0.85
testing_debugging_repair_refactoring
1,491
false
2026-07-17
/* Copyright 2017-2019 by Alexandru Ciobanu (alex+git@ciobanu.org) * * 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, c...
pavkam/abacaxi
Abacaxi.Tests/StringExtensions/FindDuplicatesTests.cs
https://github.com/pavkam/abacaxi/blob/HEAD/Abacaxi.Tests/StringExtensions/FindDuplicatesTests.cs
ghcode:00172:8bb473d01844
mit
codeparrot/github-code
8bb473d01844e242793e342a760b5a41e9a3230ffff261373f8021dc0379fbab
0.75
testing_debugging_repair_refactoring
412
false
2026-07-17
namespace AutoMapperSample.Tests { using System.Net.Http; using System.Net.Http.Formatting; using System.Threading.Tasks; using Microsoft.Owin.Testing; using NUnit.Framework; public abstract class CommonTestSetup { protected TestServer TestServer; protected...
gep13/AutoMapperSample
AutoMapperSample.Tests/CommonTestSetup.cs
https://github.com/gep13/AutoMapperSample/blob/HEAD/AutoMapperSample.Tests/CommonTestSetup.cs
ghcode:00172:b4977395699a
mit
codeparrot/github-code
b4977395699a01c4c7179ffc17972cd3a6cb0651e42659ceeeda03d86732b5d0
0.6
testing_debugging_repair_refactoring
370
false
2026-07-17
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Diagnostics.CodeAnalysis; using System.Windows; using Twice.Converters; namespace Twice.Tests.Converters { [TestClass, ExcludeFromCodeCoverage] [SuppressMessage( "ReSharper", "PossibleNullReferenceException" )] public class InvertBoolTests { [Test...
TheSylence/Twice
Twice.Tests/Converters/InvertBoolTests.cs
https://github.com/TheSylence/Twice/blob/HEAD/Twice.Tests/Converters/InvertBoolTests.cs
ghcode:00172:288f00ee2e7f
mit
codeparrot/github-code
288f00ee2e7f676fe7374bad5c856275682d0682ff8e3c9fbb1b76482cb0a3c8
0.85
testing_debugging_repair_refactoring
304
false
2026-07-17
using System; using System.ComponentModel.Design; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.VisualStudio.OLE.Interop; using Microsoft.VisualStudio.Shell.Interop; using Microsoft.VisualStudio.Shell; using Microsoft.VsSDK.IntegrationTestLibrary; using Microsoft.VSSDK.Tools.VsIdeTesting; ...
run00/GitWorkItems
GitWorkItems/GitWorkItems_IntegrationTests/ToolWindowTest.cs
https://github.com/run00/GitWorkItems/blob/HEAD/GitWorkItems/GitWorkItems_IntegrationTests/ToolWindowTest.cs
ghcode:00172:b9c3b193b069
mit
codeparrot/github-code
b9c3b193b069d78349a41d6bf4d03ae796f7cbcca18f2bdb3bce3e19188e33ee
0.7
testing_debugging_repair_refactoring
366
false
2026-07-17
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LambdaCore_Solution_Tests { using LambdaCore_Solution.Collection; using LambdaCore_Solution.Interfaces; using LambdaCore_Solution.Models.Fragments; [TestClass] public class LStackTests { private LSta...
KaloyanDragiev/OOP-C-Sharp-Advanced
LambdaCoreAuthorSolution/LambdaCore-Solution-Tests/LStackTests.cs
https://github.com/KaloyanDragiev/OOP-C-Sharp-Advanced/blob/HEAD/LambdaCoreAuthorSolution/LambdaCore-Solution-Tests/LStackTests.cs
ghcode:00172:733f7d43f341
mit
codeparrot/github-code
733f7d43f3417c947b86d1e9f8f04aafee8d5e8afc1ff550d8df6c08579da36e
0.75
testing_debugging_repair_refactoring
839
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, ...
extesla/OpenGamingLibrary
Source/test/OpenGamingLibrary.Json.Test/TestObjects/ClassWithGuid.cs
https://github.com/extesla/OpenGamingLibrary/blob/HEAD/Source/test/OpenGamingLibrary.Json.Test/TestObjects/ClassWithGuid.cs
ghcode:00172:af1a45a9f02d
mit
codeparrot/github-code
af1a45a9f02d6e27c68248edd6a41b052d6c467aef2e12531b78c412224e9b87
0.95
testing_debugging_repair_refactoring
277
false
2026-07-17
using System.Collections.Generic; using Moq; using NUnit.Framework; using TestStack.FluentMVCTesting; using Parser.Data.Services.Contracts; using Parser.Data.ViewModels.Leaderboard; using Parser.MvcClient.Controllers; namespace Parser.MvcClient.Tests.ControllersTests.LeaderboardControllerTests { [TestFixture] ...
shakuu/Parser
Parser/Tests/Parser.MvcClient.Tests/ControllersTests/LeaderboardControllerTests/PostHealing_Should.cs
https://github.com/shakuu/Parser/blob/HEAD/Parser/Tests/Parser.MvcClient.Tests/ControllersTests/LeaderboardControllerTests/PostHealing_Should.cs
ghcode:00172:7cbe2f397675
mit
codeparrot/github-code
7cbe2f3976757069b733a0349327860943fbc9d5b97a0f4474000033fef5d87c
0.95
testing_debugging_repair_refactoring
708
false
2026-07-17
////#define SkipAssert //using System; //using System.Collections.Generic; //using System.Diagnostics; //using System.Linq; //using System.Text; //using GSF.IO.Unmanaged; //using NUnit.Framework; //namespace openHistorian.Collections.Generic //{ // [TestFixture] // public class LeafNodeIndexerTest // { // ...
GridProtectionAlliance/openHistorian
Source/Libraries/Tests/GSF.SortedTreeStore.Test/SortedTreeStore/Tree/Generic/LeafNodeIndexerTest.cs
https://github.com/GridProtectionAlliance/openHistorian/blob/HEAD/Source/Libraries/Tests/GSF.SortedTreeStore.Test/SortedTreeStore/Tree/Generic/LeafNodeIndexerTest.cs
ghcode:00172:1750feba3fc6
mit
codeparrot/github-code
1750feba3fc62afcd3a1e593fd71245fa75465169973175c47b650acd0af5a71
0.95
testing_debugging_repair_refactoring
2,520
false
2026-07-17
// // LinqDefer - a library which extends LINQ query handling for data access - // allowing for expressions not otherwise supported by the provider. // // Copyright (c) Red River Software Ltd. All rights reserved. // // This source code is made available under the terms of the MIT General License. // using System; us...
RedRiverSoftware/LinqDefer
LinqDefer.Tests/UnitTests/ExpressionNodePathTests.cs
https://github.com/RedRiverSoftware/LinqDefer/blob/HEAD/LinqDefer.Tests/UnitTests/ExpressionNodePathTests.cs
ghcode:00172:832da4f1a4c8
mit
codeparrot/github-code
832da4f1a4c815ec2ef1a0566a8bbadce2167a67f40c9645cf14a9b3df2192ea
0.85
testing_debugging_repair_refactoring
246
false
2026-07-17
using System.Diagnostics; using System.Text.RegularExpressions; namespace Meziantou.Framework.DependencyScanning.Scanners; public sealed class RegexScanner : DependencyScanner { private const string NameGroupName = "name"; private const string VersionGroupName = "version"; public string? RegexPattern { g...
meziantou/Meziantou.Framework
src/Meziantou.Framework.DependencyScanning/Scanners/RegexScanner.cs
https://github.com/meziantou/Meziantou.Framework/blob/HEAD/src/Meziantou.Framework.DependencyScanning/Scanners/RegexScanner.cs
ghcode:00172:4ecbc98442b1
mit
codeparrot/github-code
4ecbc98442b147712e3e12904cf50268b27a0ff98ba70d872e4aa6436826962c
0.75
testing_debugging_repair_refactoring
290
false
2026-07-17
using System.Collections.Generic; using Motherlode.Data.NHibernate.Tests.Cfg.Providers; using Motherlode.Data.NHibernate.Tests.Domain.Model; using NHibernate; using NHibernate.Cfg; using NHibernate.Metadata; using NHibernate.Tool.hbm2ddl; using NUnit.Framework; namespace Motherlode.Data.NHibernate.Tests.Domain.Tests....
xSkara/Motherlode
src/Motherlode.Data.NHibernate.Tests/Domain/Tests/Schema/SchemaTestFixture.cs
https://github.com/xSkara/Motherlode/blob/HEAD/src/Motherlode.Data.NHibernate.Tests/Domain/Tests/Schema/SchemaTestFixture.cs
ghcode:00172:feec53106b3b
mit
codeparrot/github-code
feec53106b3ba50fac66da423b9b041e8a042815de7c30b7782fc8c5365dc5fe
0.85
testing_debugging_repair_refactoring
269
false
2026-07-17
using System.Linq; using NUnit.Framework; using Ploeh.AutoFixture; using Ploeh.AutoFixture.AutoMoq; namespace Reversal.Tests { [TestFixture] public class DirectionTestFixture { private IFixture fixture; [SetUp] public void Setup() { fixture = new...
kenkam/reversal
Reversal.Tests/DirectionTestFixture.cs
https://github.com/kenkam/reversal/blob/HEAD/Reversal.Tests/DirectionTestFixture.cs
ghcode:00172:b636b31188d3
mit
codeparrot/github-code
b636b31188d390fc61fe830695ed3f0f86e4d3c49aeb1be45aeeb0552b767014
0.7
testing_debugging_repair_refactoring
1,036
false
2026-07-17
using System; using System.Threading.Tasks; using Xunit; namespace Louw.PublicSuffix.UnitTests { public class TldRuleTest { [Fact] public void InvalidRuleTest1() { var ex = Assert.Throws<ArgumentException>(() => new TldRule("")); Assert.Equal("RuleData is emtpy"...
louislouw/Louw.PublicSuffix
test/Louw.PublicSuffix.UnitTests/TldRuleTest.cs
https://github.com/louislouw/Louw.PublicSuffix/blob/HEAD/test/Louw.PublicSuffix.UnitTests/TldRuleTest.cs
ghcode:00172:c842d65f3c73
mit
codeparrot/github-code
c842d65f3c735a635c964776cb1773a29c4aae80189337f434936db3a93d30a1
0.6
testing_debugging_repair_refactoring
817
false
2026-07-17
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Azure.Tests.Common; using Microsoft.Azure.Management.Network.Fluent; using Microsoft.Azure.Management.Network.Fluent.Models; using Microsoft.Rest.ClientRun...
hovsepm/azure-libraries-for-net
Tests/Fluent.Tests/Network/ApplicationGateway/PublicMinimal.cs
https://github.com/hovsepm/azure-libraries-for-net/blob/HEAD/Tests/Fluent.Tests/Network/ApplicationGateway/PublicMinimal.cs
ghcode:00172:7257b77cfd0d
mit
codeparrot/github-code
7257b77cfd0d9291b2dd6282edb99decd13b9185bfbd560224abe247d2dc6429
0.85
testing_debugging_repair_refactoring
1,441
false
2026-07-17
using System; using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Diagnostics; using System.Threading; using JoymonOnline.Orchestration.Core; using JoymonOnline.Orchestration.Orchestrators; namespace JoymonOnline.Orchestration.Tests ...
joymon/Orchestration
tests/JoymonOnline.Orchestration.Tests/TPLBasedParallelOperationsOrchestrator{OperationContextType}_Start.cs
https://github.com/joymon/Orchestration/blob/HEAD/tests/JoymonOnline.Orchestration.Tests/TPLBasedParallelOperationsOrchestrator{OperationContextType}_Start.cs
ghcode:00172:a92c224a7404
mit
codeparrot/github-code
a92c224a74048fe8dcce520b8e956fb28ac790703029c10c508859ea7bef1dd0
0.7
testing_debugging_repair_refactoring
637
false
2026-07-17
using System.Collections.Generic; using Xunit; namespace Pidgin.Tests { public class ParserTestBase { protected void AssertSuccess<TToken, T>(Result<TToken, T> result, T expected, bool consumedInput) { Assert.True(result.Success); Assert.Equal(expected, result.Value); ...
benjamin-hodgson/Pidgin
Pidgin.Tests/ParserTestBase.cs
https://github.com/benjamin-hodgson/Pidgin/blob/HEAD/Pidgin.Tests/ParserTestBase.cs
ghcode:00172:09c4dd4aba94
mit
codeparrot/github-code
09c4dd4aba94e6408c8faf0e0847f4d0c5885b3b06d5b196fa129c7381fcc244
0.75
testing_debugging_repair_refactoring
147
false
2026-07-17
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace CTRC.Tests { [TestClass] public class MethodTest { [TestMethod] public void MethodCountTest() { var methods = CTRCHelper.GetMethodInfos<MethodTestModel>(); foreach (var m in methods)...
chsword/ctrc
src/CTRC.Tests/MethodTest.cs
https://github.com/chsword/ctrc/blob/HEAD/src/CTRC.Tests/MethodTest.cs
ghcode:00172:f19b4241e0cd
mit
codeparrot/github-code
f19b4241e0cdca5a7838cb47314388cf63fd581b870adf01b3fc457638e832d9
0.75
testing_debugging_repair_refactoring
148
false
2026-07-17
// *********************************************************************** // Copyright (c) 2011 Charlie Poole, Terje Sandstrom // // 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 r...
nunit/nunit-vs-adapter
src/NUnitTestAdapterTests/TestConverterTests.cs
https://github.com/nunit/nunit-vs-adapter/blob/HEAD/src/NUnitTestAdapterTests/TestConverterTests.cs
ghcode:00172:3ec15cae1905
mit
codeparrot/github-code
3ec15cae1905b33f2de11fa688d81b1448ceb8108b7cce8c06ba054fd5fe1c17
0.85
testing_debugging_repair_refactoring
1,101
false
2026-07-17
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
Squidex/squidex
backend/tests/Squidex.Domain.Apps.Core.Tests/Operations/DefaultValues/DefaultValuesTests.cs
https://github.com/Squidex/squidex/blob/HEAD/backend/tests/Squidex.Domain.Apps.Core.Tests/Operations/DefaultValues/DefaultValuesTests.cs
ghcode:00172:b7102af66a97
mit
codeparrot/github-code
b7102af66a978e8d80abd69ae07ce41ec7ead4a21cd1da8606e645d9de0f099e
0.95
testing_debugging_repair_refactoring
2,454
false
2026-07-17
using System; using NUnit.Framework; using SocialToolBox.Core.Database; using SocialToolBox.Core.Database.Index; namespace SocialToolBox.Core.Tests.Database.Index { [TestFixture] public class index_field_type { [Test] public void integer() { var ft = new IndexFieldType(...
VictorNicollet/SocialToolBox
SocialToolBox.Core.Tests/Database/Index/index_field_type.cs
https://github.com/VictorNicollet/SocialToolBox/blob/HEAD/SocialToolBox.Core.Tests/Database/Index/index_field_type.cs
ghcode:00172:89b3b200b3b5
mit
codeparrot/github-code
89b3b200b3b5aeb8d4d8f150638484be60396fbd0a8747cdbfdf19b03f84cdd7
0.6
testing_debugging_repair_refactoring
791
false
2026-07-17
namespace LiveDocs.Diagrams.Graph.Executable.UnitTests.Attributes { using System; using System.Reflection; using Ploeh.AutoFixture; using Ploeh.AutoFixture.Xunit2; [AttributeUsage(AttributeTargets.Parameter, AllowMultiple = true)] public class CustomizeWithAttribute : CustomizeAttribute {...
devdigital/LiveDocs
Source/LiveDocs.Diagrams.Graph.Executable.UnitTests/Attributes/CustomizeWithAttribute.cs
https://github.com/devdigital/LiveDocs/blob/HEAD/Source/LiveDocs.Diagrams.Graph.Executable.UnitTests/Attributes/CustomizeWithAttribute.cs
ghcode:00172:141730ea9ba2
mit
codeparrot/github-code
141730ea9ba2585d76725d92e87887f677f5cf890c9ab437bac2691d16f12651
0.75
testing_debugging_repair_refactoring
176
false
2026-07-17
namespace School.TestsWithNUnit { using System; using NUnit.Framework; [TestFixture] public class SchoolTests { [Test] public void AddingNullAsStudentShouldThrow() { var school = new School("Greendale"); Student student = null; Assert.Thr...
mpenchev86/Telerik-Academy
High-Quality-Code/Unit-Testing-Homework/TestsWithNUnit/SchoolTests.cs
https://github.com/mpenchev86/Telerik-Academy/blob/HEAD/High-Quality-Code/Unit-Testing-Homework/TestsWithNUnit/SchoolTests.cs
ghcode:00172:ac83f61b785f
mit
codeparrot/github-code
ac83f61b785f854f4242adecafac4fa9ad054b8235b14988630347f286fc8533
0.75
testing_debugging_repair_refactoring
84
false
2026-07-17
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Net; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Azure.Core; using Azure.Messaging.EventHubs.Authorization; using Azure....
AsrOneSdk/azure-sdk-for-net
sdk/eventhub/Azure.Messaging.EventHubs/tests/Connection/EventHubConnectionTests.cs
https://github.com/AsrOneSdk/azure-sdk-for-net/blob/HEAD/sdk/eventhub/Azure.Messaging.EventHubs/tests/Connection/EventHubConnectionTests.cs
ghcode:00172:9e0aed41a4ad
mit
codeparrot/github-code
9e0aed41a4adeec4857b9b087be887f1746a6ba3855233ffb2dcef60239406d8
0.95
testing_debugging_repair_refactoring
10,649
false
2026-07-17
using ClosedXML.Excel; using NUnit.Framework; using System; using System.Linq; using ClosedXML.Excel.CalcEngine; using ClosedXML.Excel.CalcEngine.Exceptions; namespace ClosedXML_Tests.Excel.CalcEngine { [TestFixture] public class StatisticalTests { private double tolerance = 1e-6; private X...
b0bi79/ClosedXML
ClosedXML_Tests/Excel/CalcEngine/StatisticalTests.cs
https://github.com/b0bi79/ClosedXML/blob/HEAD/ClosedXML_Tests/Excel/CalcEngine/StatisticalTests.cs
ghcode:00172:64461f954b1f
mit
codeparrot/github-code
64461f954b1f91362e5d8cb36b6553cf6cdbabf421617910738ae9e7835e4350
0.75
testing_debugging_repair_refactoring
6,580
false
2026-07-17
using System.Collections.Generic; using Moq; using NuGet.Extensions.Tests.Mocks; namespace NuGet.Extensions.Tests.TestObjects { static internal class Utilities { public static IPackageRepositoryFactory GetFactory() { var repositoryA = new MockPackageRepository ...
BenPhegan/NuGet.Extensions
NuGet.Extensions.Tests/TestObjects/Utilities.cs
https://github.com/BenPhegan/NuGet.Extensions/blob/HEAD/NuGet.Extensions.Tests/TestObjects/Utilities.cs
ghcode:00172:c876f0b81b51
mit
codeparrot/github-code
c876f0b81b5114b09b0da96bf5413f43c5c8cf6d125d805cb4a72f7020ec3f8d
0.75
testing_debugging_repair_refactoring
1,015
false
2026-07-17
using System; using System.Threading; using BTDB.KVDBLayer; using BTDB.ODBLayer; using Xunit; using static BTDBTest.ObjectDbTest; namespace BTDBTest { public class KeyValueDBRollbackTest { [Fact] public void CanRollback() { using var fileCollection = new InMemoryFileCollect...
karasek/BTDB
BTDBTest/KeyValueDBRollbackTest.cs
https://github.com/karasek/BTDB/blob/HEAD/BTDBTest/KeyValueDBRollbackTest.cs
ghcode:00172:0744d95b455a
mit
codeparrot/github-code
0744d95b455a4ac573177b73906f1d1f3502d3637d23284d1b7ff80b03a6af14
0.85
testing_debugging_repair_refactoring
4,910
false
2026-07-17
namespace PeregrineDb.Tests.Dialects { using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Data; using System.Diagnostics.CodeAnalysis; using FluentAssertions; using Moq; using Pagination; using PeregrineDb; using PeregrineDb.Dialects;...
berkeleybross/Dapper.MicroCRUD
tests/PeregrineDb.Tests/Dialects/SqlServer2012DialectTests.cs
https://github.com/berkeleybross/Dapper.MicroCRUD/blob/HEAD/tests/PeregrineDb.Tests/Dialects/SqlServer2012DialectTests.cs
ghcode:00172:7a905a838e2f
mit
codeparrot/github-code
7a905a838e2f0702aaa0f97c0645183ca14351c078a147ed2b90472fda4d0079
0.85
testing_debugging_repair_refactoring
6,083
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using Alexa.NET.Request; using Alexa.NET.Request.Type; using Alexa.NET.Response; using AlexaCore.Intents; using Amazon.Lambda.TestUtilities; using Autofac; using NUnit.Framework; namespace AlexaCore.Testing { public abstract class AlexaCoreTestRun...
boro2g/AlexaCore
AlexaCore.Testing/AlexaCoreTestRunner.cs
https://github.com/boro2g/AlexaCore/blob/HEAD/AlexaCore.Testing/AlexaCoreTestRunner.cs
ghcode:00172:af1c166e6980
mit
codeparrot/github-code
af1c166e6980d888bad2ee5513b1e59efba98dcea5c0900206abbd19ca316453
0.75
testing_debugging_repair_refactoring
1,771
false
2026-07-17
using System.Diagnostics; using smartcardLib.Logging; using smartcardLib.Core; namespace smartcardLib.PKCS15 { /// <summary> /// CommonPublicKeyAttributes ::= SEQUENCE { /// subjectName Name OPTIONAL, /// ..., /// trustedUsage[0] Usage OPTIONAL /// } /// </summary> public class PKCS15C...
IbrahimAlshorafah/SmartCardLibrary
PKCS15/PKCS15/PKCS15CommonPublicKeyAttributes.cs
https://github.com/IbrahimAlshorafah/SmartCardLibrary/blob/HEAD/PKCS15/PKCS15/PKCS15CommonPublicKeyAttributes.cs
ghcode:00172:b18ef8d4987b
mit
codeparrot/github-code
b18ef8d4987b5495acaae6e1531fd80076ea4c36fa08f0bb416a44011f0d4170
0.7
testing_debugging_repair_refactoring
261
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 Xunit; namespace System.Linq.Expressions.Tests { public static class UnaryArithmeticNegateCheckedNullableTests { #region Test meth...
mellinoe/corefx
src/System.Linq.Expressions/tests/Unary/UnaryArithmeticNegateCheckedNullableTests.cs
https://github.com/mellinoe/corefx/blob/HEAD/src/System.Linq.Expressions/tests/Unary/UnaryArithmeticNegateCheckedNullableTests.cs
ghcode:00172:c14ef1214ff9
mit
codeparrot/github-code
c14ef1214ff9179e635287d92f537373e0afe29e160bca41270d2f276f5d8ab6
0.95
testing_debugging_repair_refactoring
2,500
false
2026-07-17