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 Nest.Tests.MockData.Domain; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Nest.Tests.Unit.Search.Query.Singles { [TestFixture] public class TemplateQueryJson : BaseJsonTests { [Test] public void Templat...
amyzheng424/elasticsearch-net
src/Tests/Nest.Tests.Unit/Search/Query/Singles/TemplateQueryJson.cs
https://github.com/amyzheng424/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Unit/Search/Query/Singles/TemplateQueryJson.cs
ghcode:00012:69c8f15e16e7
apache-2.0
codeparrot/github-code
69c8f15e16e7d9adbb3918b0f99eec971f861b50eabd24f73fc2afe2fedae3bb
0.85
testing_debugging_repair_refactoring
408
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...
shyamnamboodiripad/roslyn
src/Workspaces/Core/MSBuild/MSBuild/MSBuildWorkspace.cs
https://github.com/shyamnamboodiripad/roslyn/blob/HEAD/src/Workspaces/Core/MSBuild/MSBuild/MSBuildWorkspace.cs
ghcode:00012:dd69b8aabd06
apache-2.0
codeparrot/github-code
dd69b8aabd06479aa9080d8411c0b3f18fd7cc4e8f15b250882fba17d8eb9b23
0.85
testing_debugging_repair_refactoring
4,566
false
2026-07-17
/* * Location Intelligence APIs * * Incorporate our extensive geodata into everyday applications, business processes and workflows. * * OpenAPI spec version: 8.5.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git * * Licensed under the Apache License, Version 2.0 (the "License"); * you m...
PitneyBowes/LocationIntelligenceSDK-CSharp
src/pb.locationIntelligence.Test/Model/PoiBoundaryPreferencesTests.cs
https://github.com/PitneyBowes/LocationIntelligenceSDK-CSharp/blob/HEAD/src/pb.locationIntelligence.Test/Model/PoiBoundaryPreferencesTests.cs
ghcode:00012:0ebb67f4bd96
apache-2.0
codeparrot/github-code
0ebb67f4bd962c8efdb642a77563bb2eceb8e3eff2dc0f10a8deb60a4df4f643
0.85
testing_debugging_repair_refactoring
641
false
2026-07-17
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="DataServiceFixture.cs" company="Rare Crowds Inc"> // Copyright 2012-2013 Rare Crowds, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not...
chinnurtb/OpenAdStack
ApiLayer/ApiLayerUnitTests/DataServiceFixture.cs
https://github.com/chinnurtb/OpenAdStack/blob/HEAD/ApiLayer/ApiLayerUnitTests/DataServiceFixture.cs
ghcode:00012:8e1960931ce9
apache-2.0
codeparrot/github-code
8e1960931ce990682935f9a76091984fd2a47665f295468b054925da3a96df4f
0.7
testing_debugging_repair_refactoring
362
false
2026-07-17
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using TestHelper; using NonVirtualEventAnalyzer; namespace NonVirtualEventAnalyzer.Test { [TestClass] public class UnitTest : CodeFi...
BillWagner/NonVirtualEventAnalyzer
NonVirtualEventAnalyzer/NonVirtualEventAnalyzer.Test/UnitTests.cs
https://github.com/BillWagner/NonVirtualEventAnalyzer/blob/HEAD/NonVirtualEventAnalyzer/NonVirtualEventAnalyzer.Test/UnitTests.cs
ghcode:00012:79a22554ca96
apache-2.0
codeparrot/github-code
79a22554ca9681a18bc6697ee6a15ac320ba1135c83bfc8601ca37f3a2f5a099
0.75
testing_debugging_repair_refactoring
1,073
false
2026-07-17
using System; using System.Collections.Generic; using Exceptionless.Core.Billing; using Exceptionless.Core.Models; using Exceptionless.Core.Extensions; using Foundatio.Repositories.Utility; namespace Exceptionless.Tests.Utility { internal static class OrganizationData { public static IEnumerable<Organizat...
adamzolotarev/Exceptionless
Source/Tests/Utility/OrganizationData.cs
https://github.com/adamzolotarev/Exceptionless/blob/HEAD/Source/Tests/Utility/OrganizationData.cs
ghcode:00012:f4fa0b7b570c
apache-2.0
codeparrot/github-code
f4fa0b7b570c0995860f693aac6d49a7c9f7b86d47a4d5e4ace138bf5ff58795
0.85
testing_debugging_repair_refactoring
458
false
2026-07-17
// Copyright 2020 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
GoogleCloudPlatform/dotnet-docs-samples
storage/api/Storage.Samples.Tests/ListFilesWithPrefixTest.cs
https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/HEAD/storage/api/Storage.Samples.Tests/ListFilesWithPrefixTest.cs
ghcode:00012:904f3e9aa4e1
apache-2.0
codeparrot/github-code
904f3e9aa4e1f9bd929a17302a4ad6c311ca3e761d00daed7f4401dacf754755
0.85
testing_debugging_repair_refactoring
428
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"); y...
laimis/lucenenet
src/Lucene.Net.Tests.QueryParser/Util/QueryParserTestBase.cs
https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests.QueryParser/Util/QueryParserTestBase.cs
ghcode:00012:5e3bf2fbbfdd
apache-2.0
codeparrot/github-code
5e3bf2fbbfdd677b431ffe188fbdca5e99b622e012aa43c29c7970c0c40db084
0.72
testing_debugging_repair_refactoring
14,222
false
2026-07-17
using System.Configuration.Core; using System.Configuration.Core.Dcxml; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace System.Configuration.Core.Tests { [TestClass] public class InheritTest { public TestContext TestContext { get; set; } public TestDirectory RootDirecto...
MyErpSoft/System.Configuration
src/System.Configuration.Core.Tests/InheritTest.cs
https://github.com/MyErpSoft/System.Configuration/blob/HEAD/src/System.Configuration.Core.Tests/InheritTest.cs
ghcode:00012:7b30d89f38c7
apache-2.0
codeparrot/github-code
7b30d89f38c70d59db56cfa2fc54e48116abb03eb0d24edebed0dc22c711711b
0.6
testing_debugging_repair_refactoring
326
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Kodestruct.Tests.Common; using Kodestruct.Concrete.ACI318_14; using Xunit; namespace Kodestruct.Concrete.ACI318_14.Tests { public partial class AciTensionDevelopmentTests { [Fact] public void G...
Kodestruct/Kodestruct.Design
Tests/Kodestruct.Concrete.Tests/SplicesDevelopmentDetails/Tension/TensionDevelopmenKtrTests.cs
https://github.com/Kodestruct/Kodestruct.Design/blob/HEAD/Tests/Kodestruct.Concrete.Tests/SplicesDevelopmentDetails/Tension/TensionDevelopmenKtrTests.cs
ghcode:00012:8304878cda09
apache-2.0
codeparrot/github-code
8304878cda093b9bf58b3ea3e7a7eac9d01980fe5b94e499a1913b089e589385
0.75
testing_debugging_repair_refactoring
866
false
2026-07-17
// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
namratab/azure-sdk-for-net
src/Search/Search.Tests/Tests/SearchServiceClientTests.cs
https://github.com/namratab/azure-sdk-for-net/blob/HEAD/src/Search/Search.Tests/Tests/SearchServiceClientTests.cs
ghcode:00012:12bda88cb7bc
apache-2.0
codeparrot/github-code
12bda88cb7bcdaf6e64eb02b25b8308524392a78b501c1efc5aa76cc571f9edb
0.95
testing_debugging_repair_refactoring
515
false
2026-07-17
using BehaveAsSakura.Tasks; using NUnit.Framework; namespace BehaveAsSakura.Tests { [TestFixture] class ConditionEvaluatorTaskTests { [Test] public void TestInvalidVariable() { var treeManagerOwner = new BehaviorTreeManagerOwner(); var treeManager = new Beha...
wuyuntao/BehaveAsSakura
BehaveAsSakuraTests/Tasks/ConditionEvaluatorTaskTests.cs
https://github.com/wuyuntao/BehaveAsSakura/blob/HEAD/BehaveAsSakuraTests/Tasks/ConditionEvaluatorTaskTests.cs
ghcode:00012:cce33c5f0bd5
apache-2.0
codeparrot/github-code
cce33c5f0bd51fdc5c031c5a788e9521019b4dc14fb26d612e0378c3c9dbf114
0.75
testing_debugging_repair_refactoring
138
false
2026-07-17
namespace dotless.Core.Test.Specs.Functions { using NUnit.Framework; public class ComplementFixture : SpecFixtureBase { [Test] public void TestComplement() { AssertExpression("#ccbbaa", "complement(#abc)"); AssertExpression("#00ffff", "complement(#f00)"); ...
dotless/dotless
tests/dotless.Core.Test/Specs/Functions/ComplementFixture.cs
https://github.com/dotless/dotless/blob/HEAD/tests/dotless.Core.Test/Specs/Functions/ComplementFixture.cs
ghcode:00012:0fbb2e0a87e0
apache-2.0
codeparrot/github-code
0fbb2e0a87e04084b7a9ea2c1bc310948b88b2fcaadb518c48f61ad226d6a9b4
0.6
testing_debugging_repair_refactoring
232
false
2026-07-17
using Lucene.Net.Util; using NUnit.Framework; using System; using System.Reflection; using Lucene.Net.Index; namespace Lucene.Net.Codecs { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for ...
laimis/lucenenet
src/Lucene.Net.Tests/Support/Codecs/TestDefaultDocValuesFormatFactory.cs
https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Support/Codecs/TestDefaultDocValuesFormatFactory.cs
ghcode:00012:1c4ba5582892
apache-2.0
codeparrot/github-code
1c4ba55828925aedc7201a54772998670e758afefdec2d48926b29a70c4f4bc1
0.85
testing_debugging_repair_refactoring
1,942
false
2026-07-17
using System; using Akka.Actor; using Akka.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Akka.Remote.Tests { [TestClass] public class EndpointRegistrySpec : AkkaSpec { private ActorRef actorA; private ActorRef actorB; Address address1 = new Address("...
Horusiath/akka.net
test/Akka.Remote.Tests/EndpointRegistrySpec.cs
https://github.com/Horusiath/akka.net/blob/HEAD/test/Akka.Remote.Tests/EndpointRegistrySpec.cs
ghcode:00012:6f3584936176
apache-2.0
codeparrot/github-code
6f358493617607956f810c8085233da291cde316ba806ccf450f567bd688853c
0.75
testing_debugging_repair_refactoring
1,294
false
2026-07-17
// Copyright 2021 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
GoogleCloudPlatform/dotnet-docs-samples
storage/api/Storage.Samples.Tests/ObjectCsekToCmekTest.cs
https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/HEAD/storage/api/Storage.Samples.Tests/ObjectCsekToCmekTest.cs
ghcode:00012:2d667e14186c
apache-2.0
codeparrot/github-code
2d667e14186c193799bb7d8a810bd32352326f8fb16cec249d2d8806a7647b70
0.85
testing_debugging_repair_refactoring
441
false
2026-07-17
using J2N.Collections.Generic.Extensions; using J2N.Text; using Lucene.Net.Analysis; using Lucene.Net.Analysis.TokenAttributes; using Lucene.Net.Attributes; using Lucene.Net.Diagnostics; using Lucene.Net.Documents; using Lucene.Net.Util; using NUnit.Framework; using System; using System.Collections.Generic; using Syst...
NightOwl888/lucenenet
src/Lucene.Net.Tests.Suggest/Suggest/Analyzing/AnalyzingSuggesterTest.cs
https://github.com/NightOwl888/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Suggest/Suggest/Analyzing/AnalyzingSuggesterTest.cs
ghcode:00012:949402d962d9
apache-2.0
codeparrot/github-code
949402d962d9c2fe675e3b2169b8e31b6aee668c38165f9e4ea78276b68fef98
0.85
testing_debugging_repair_refactoring
12,164
false
2026-07-17
// Copyright 2017 the original author or authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
SteelToeOSS/Configuration
test/Steeltoe.Extensions.Configuration.CloudFoundryBase.Test/JsonStreamConfigurationSourceTest.cs
https://github.com/SteelToeOSS/Configuration/blob/HEAD/test/Steeltoe.Extensions.Configuration.CloudFoundryBase.Test/JsonStreamConfigurationSourceTest.cs
ghcode:00012:f2e08b758312
apache-2.0
codeparrot/github-code
f2e08b75831274867a8a4bd8c398ee4326d54822f18abe0d598af1e9c6f1b6c6
0.7
testing_debugging_repair_refactoring
733
false
2026-07-17
using System; using FluentAssertions; using NSubstitute; using NUnit.Framework; using Ponics.Analysis.Levels.Commands; using Ponics.Analysis.Levels.Handlers; using Ponics.Organisms; using Ponics.Organisms.Commands; namespace Ponics.Tests.Command.ToleranceTests { [TestFixture] public class AddToleranceTests : ...
gravypower/Auto.Aquaponics
src/Ponics.Tests/Command/ToleranceTests/AddToleranceTests.cs
https://github.com/gravypower/Auto.Aquaponics/blob/HEAD/src/Ponics.Tests/Command/ToleranceTests/AddToleranceTests.cs
ghcode:00012:3a4458692cac
apache-2.0
codeparrot/github-code
3a4458692cac943053cbfc16d18bd3a093339f9fa0b5866ee83bb4c4b920244e
0.85
testing_debugging_repair_refactoring
451
false
2026-07-17
using System.Threading; using JetBrains.Metadata.Reader.API; using JetBrains.ProjectModel; using JetBrains.ProjectModel.Impl; using JetBrains.ReSharper.FeaturesTestFramework.UnitTesting; using JetBrains.ReSharper.UnitTestFramework; using JetBrains.Util; using XunitContrib.Runner.ReSharper.UnitTestProvider; namespace X...
xunit/resharper-xunit
resharper/test/src/tests/AcceptanceTests/XunitMetadataTestBase.cs
https://github.com/xunit/resharper-xunit/blob/HEAD/resharper/test/src/tests/AcceptanceTests/XunitMetadataTestBase.cs
ghcode:00012:439a2761a418
apache-2.0
codeparrot/github-code
439a2761a418b29ab10e4ad4878d0718484fe493192d6275bef9078c0131134b
0.85
testing_debugging_repair_refactoring
351
false
2026-07-17
// Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information. #if !NO_INTERNALS_VISIBLE_TO namespace Narvalo.Mvp { using Narvalo.Mvp.Properties; using Xunit; using Assert = Narvalo.AssertExtended; public static class LocalizationFacts { ...
chtoucas/Narvalo.NET
tests/Narvalo.Mvp.Facts/LocalizationFacts.cs
https://github.com/chtoucas/Narvalo.NET/blob/HEAD/tests/Narvalo.Mvp.Facts/LocalizationFacts.cs
ghcode:00012:16a17a2a35c4
bsd-2-clause
codeparrot/github-code
16a17a2a35c48949d4e2b58cc176fc7bb1043479a1dc4fdb6bd7e1179c77b0c1
0.53
testing_debugging_repair_refactoring
105
false
2026-07-17
// Copyright (c) 2015-2020, Saritasa. All rights reserved. // Licensed under the BSD license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Collections.Specialized; using Xunit; using Saritasa.Tools.Common.Utils; namespace Saritasa.Too...
Saritasa/SaritasaTools
test/Saritasa.Tools.Common.Tests/DictionaryTests.cs
https://github.com/Saritasa/SaritasaTools/blob/HEAD/test/Saritasa.Tools.Common.Tests/DictionaryTests.cs
ghcode:00012:137da098bf86
bsd-2-clause
codeparrot/github-code
137da098bf86bb6c8c9d81a931c0b7146e6866b11b0c8b93b9b41e389135d804
0.78
testing_debugging_repair_refactoring
559
false
2026-07-17
using System.Collections.Generic; using System.Diagnostics; using PCLAppConfig; using Virgil.SDK.Common; namespace Virgil.SDK.Tests { public class AppSettings { static AppSettings(){ } public static string AppId = ConfigurationManager.AppSettings["virgil:AppID"]; public static...
VirgilSecurity/virgil-sdk-net
SDK/Source/Tests/Virgil.SDK.Tests.Droid/AppSettings.cs
https://github.com/VirgilSecurity/virgil-sdk-net/blob/HEAD/SDK/Source/Tests/Virgil.SDK.Tests.Droid/AppSettings.cs
ghcode:00012:c6f34714e164
bsd-3-clause
codeparrot/github-code
c6f34714e1645aca281e9704a5baa3fd64a28c241f76a41ddec5f50058834d8f
0.85
testing_debugging_repair_refactoring
401
false
2026-07-17
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using FluentAssertions; using Polly.Specs.Helpers; using Polly.Utilities; using Xunit; using Scenario = Polly.Specs.Helpers.PolicyTResultExtensionsAsync.ResultAndOrCancellationScenario; namespace Polly.Specs.Fallbac...
michael-wolfenden/Polly
src/Polly.Specs/Fallback/FallbackTResultAsyncSpecs.cs
https://github.com/michael-wolfenden/Polly/blob/HEAD/src/Polly.Specs/Fallback/FallbackTResultAsyncSpecs.cs
ghcode:00012:e3588df5aab5
bsd-3-clause
codeparrot/github-code
e3588df5aab590c5be0c0b77199f1866887312d54b86d19d444e91849ba4b91b
0.6
testing_debugging_repair_refactoring
6,691
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BrightstarDB.InternalTests { internal static class TestConfiguration { public static string DataLocation = "..\\..\\Data\\"; } }
kentcb/BrightstarDB
src/core/BrightstarDB.InternalTests/TestConfiguration.cs
https://github.com/kentcb/BrightstarDB/blob/HEAD/src/core/BrightstarDB.InternalTests/TestConfiguration.cs
ghcode:00012:02b565e03292
mit
codeparrot/github-code
02b565e03292ad9a1b5fd53df1928b4d1f80dd2a2d902bb65b2ea20126a7221c
0.75
testing_debugging_repair_refactoring
50
false
2026-07-17
using System; using FluentAssertions; using Microsoft.AspNetCore.Http; using NUnit.Framework; namespace ZipkinTracer.Test { [TestFixture] public class ZipkinConfigTests { [Test] public void Ctor_NullArguments_ThrowException() { Func<HttpRequest, Uri> domainResolverFunc ...
sdadek/ZipkinTracer
test/ZipkinTracer.Test/ZipkinConfigTests.cs
https://github.com/sdadek/ZipkinTracer/blob/HEAD/test/ZipkinTracer.Test/ZipkinConfigTests.cs
ghcode:00012:21ee1c99fc78
mit
codeparrot/github-code
21ee1c99fc7872e6e67217687408cf8d280e4ee22c19b2fae07e590610d1417a
0.85
testing_debugging_repair_refactoring
605
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.Diagnostics; using System.Linq; using Microsoft.TeamFoundation.Migratio...
adamdriscoll/TfsIntegrationPlatform
Features/IntegrationPlatform-svn/Core/Toolkit/VC/VCTranslationService.cs
https://github.com/adamdriscoll/TfsIntegrationPlatform/blob/HEAD/Features/IntegrationPlatform-svn/Core/Toolkit/VC/VCTranslationService.cs
ghcode:00012:fba858179f2d
mit
codeparrot/github-code
fba858179f2d0f11f972e9be232111782adc455b300a0925468ca27b7fc1c4c0
0.7
testing_debugging_repair_refactoring
1,721
false
2026-07-17
using System; using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Nucleo.Lookups { [TestClass] public class LookupTest { #region " Tests " [TestMethod] public void CreatingLookupWorksAsExpected() { //Arrange //Act ...
brianmains/Nucleo.NET
src_wip/Tests.Unit.Core/Lookups/LookupTest.cs
https://github.com/brianmains/Nucleo.NET/blob/HEAD/src_wip/Tests.Unit.Core/Lookups/LookupTest.cs
ghcode:00012:13d97e35a0a0
mit
codeparrot/github-code
13d97e35a0a0b6853e9eb86e7fdae1d5a677f3286e95ce34927a957cb426214b
0.7
testing_debugging_repair_refactoring
233
false
2026-07-17
using Microsoft.AspNetCore.Mvc; namespace NSwag.Generation.AspNetCore.Tests.Web.Controllers.Responses { [ApiController] [Route("api/[controller]")] public class TextProducesController : Controller { [Produces("text/html")] [HttpPost("ProducesOnOperation")] public ActionResult<s...
quails4Eva/NSwag
src/NSwag.Generation.AspNetCore.Tests.Web/Controllers/Responses/TextProducesController.cs
https://github.com/quails4Eva/NSwag/blob/HEAD/src/NSwag.Generation.AspNetCore.Tests.Web/Controllers/Responses/TextProducesController.cs
ghcode:00012:dd9842104453
mit
codeparrot/github-code
dd9842104453c5155d42b4d95a0bfc01a48e8c18bb814a651b71191643554225
0.75
testing_debugging_repair_refactoring
82
false
2026-07-17
// Copyright (c) DotSpatial Team. All rights reserved. // Licensed under the MIT license. See License.txt file in the project root for full license information. using System.Data; using NetTopologySuite.Geometries; using NUnit.Framework; namespace DotSpatial.Data.Tests { /// <summary> /// Tests for...
pergerch/DotSpatial
Source/DotSpatial.Data.Tests/FeatureListTests.cs
https://github.com/pergerch/DotSpatial/blob/HEAD/Source/DotSpatial.Data.Tests/FeatureListTests.cs
ghcode:00012:142237688a47
mit
codeparrot/github-code
142237688a4780975f422363a601f24034bccc0590df2afafb244827c2901069
0.85
testing_debugging_repair_refactoring
209
false
2026-07-17
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2019 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. 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 ...
lishewen/WeiXinMPSDK
src/Senparc.Weixin.Work/Senparc.Weixin.Work.Test/AdvancedAPIs/Chat/ChatTest.cs
https://github.com/lishewen/WeiXinMPSDK/blob/HEAD/src/Senparc.Weixin.Work/Senparc.Weixin.Work.Test/AdvancedAPIs/Chat/ChatTest.cs
ghcode:00012:416f59ffa1c0
apache-2.0
codeparrot/github-code
416f59ffa1c0262cdf57018b3f72457de846fa859950e67849a6283eb1b5eeed
0.7
testing_debugging_repair_refactoring
618
false
2026-07-17
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using System.Diagnostics; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using ...
orthoxerox/roslyn
src/Compilers/CSharp/Portable/BoundTree/BoundExpression.cs
https://github.com/orthoxerox/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/BoundTree/BoundExpression.cs
ghcode:00012:5accb1a4062d
apache-2.0
codeparrot/github-code
5accb1a4062d3fe715d049239d90e520b8e3fd221fc7c2ac8a8d845a3ac14f40
0.7
testing_debugging_repair_refactoring
4,243
false
2026-07-17
using Lucene.Net.Analysis.Core; using Lucene.Net.Analysis.Miscellaneous; using Lucene.Net.Analysis.Util; using NUnit.Framework; namespace Lucene.Net.Analysis.Gl { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed wi...
jeme/lucenenet
src/Lucene.Net.Tests.Analysis.Common/Analysis/Gl/TestGalicianMinimalStemFilter.cs
https://github.com/jeme/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Analysis.Common/Analysis/Gl/TestGalicianMinimalStemFilter.cs
ghcode:00012:ed02bd9b8620
apache-2.0
codeparrot/github-code
ed02bd9b8620e4b0793e89aace57c31678342ce7d1a5a34bb65a7263e1fe756f
0.85
testing_debugging_repair_refactoring
703
false
2026-07-17
//----------------------------------------------------------------------- // <copyright file="ORMultiDictionarySpec.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copy...
eisendle/akka.net
src/contrib/cluster/Akka.DistributedData.Tests/ORMultiDictionarySpec.cs
https://github.com/eisendle/akka.net/blob/HEAD/src/contrib/cluster/Akka.DistributedData.Tests/ORMultiDictionarySpec.cs
ghcode:00012:8e490930e115
apache-2.0
codeparrot/github-code
8e490930e11550a7fee070df50f77cef987e44fb85a9665efd3bb081d1b1220c
0.85
testing_debugging_repair_refactoring
1,685
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. #if DEBUG // We use a struct rather than a class to represent the state for efficiency // for data flow analysis, with 32 bits of data inline. Merely copying...
lorcanmooney/roslyn
src/Compilers/CSharp/Portable/FlowAnalysis/DataFlowPass.cs
https://github.com/lorcanmooney/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/FlowAnalysis/DataFlowPass.cs
ghcode:00012:92dfb11e5b50
apache-2.0
codeparrot/github-code
92dfb11e5b50d220ea743aef15dbb24753091d9901e550897aec0ba0542ec6a5
0.57
testing_debugging_repair_refactoring
16,965
false
2026-07-17
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.CSharp.Test.Utilitie...
jgglg/roslyn
src/Compilers/CSharp/Test/Emit/CodeGen/IndexerTests.cs
https://github.com/jgglg/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/IndexerTests.cs
ghcode:00012:f7ee948da631
apache-2.0
codeparrot/github-code
f7ee948da631707e9e481000a0172c6411741e1b7869cf475ed2b2f96bd26430
0.95
testing_debugging_repair_refactoring
12,012
false
2026-07-17
// // Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net> // // All rights reserved. // // 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 retain the above co...
breyed/NLog
tests/NLog.UnitTests/Config/VariableTests.cs
https://github.com/breyed/NLog/blob/HEAD/tests/NLog.UnitTests/Config/VariableTests.cs
ghcode:00012:3e9ea849b92d
bsd-3-clause
codeparrot/github-code
3e9ea849b92d586a52ad7b580459b9233be57170a2d026627ca98203c6e363aa
0.85
testing_debugging_repair_refactoring
1,243
false
2026-07-17
/* * Copyright 2017 Google Inc. All Rights Reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file or at * https://developers.google.com/open-source/licenses/bsd */ using System; using Xunit; namespace Google.Api.Gax.Tests { public class BatchingSetting...
googleapis/gax-dotnet
Google.Api.Gax.Tests/BatchingSettingsTest.cs
https://github.com/googleapis/gax-dotnet/blob/HEAD/Google.Api.Gax.Tests/BatchingSettingsTest.cs
ghcode:00012:512ac5e40d2c
bsd-3-clause
codeparrot/github-code
512ac5e40d2c4379390c905f9858b70a6ad18c707eceb2a0dcc345ef15832eb9
0.6
testing_debugging_repair_refactoring
270
false
2026-07-17
using System; using System.Collections.Generic; using System.IO; using System.Linq; using NUnit.Framework; using ServiceStack.Common.Utils; using ServiceStack.ServiceInterface.ServiceModel; using ServiceStack.Text; namespace ServiceStack.ServiceHost.Tests.Formats { public class Page { public Page() ...
xamarin/ServiceStack
tests/ServiceStack.ServiceHost.Tests/Formats/UseCaseTests.cs
https://github.com/xamarin/ServiceStack/blob/HEAD/tests/ServiceStack.ServiceHost.Tests/Formats/UseCaseTests.cs
ghcode:00012:d6b00869edb8
bsd-3-clause
codeparrot/github-code
d6b00869edb814dfd22d81bcb787d4f1d7477cd3f62cc740231706cca583d3a4
0.85
testing_debugging_repair_refactoring
1,347
false
2026-07-17
using Kentico.KInspector.Modules; using NUnit.Framework; namespace Kentico.KInspector.Tests { [TestFixture] public class UIElementsDiffTests { [TestCase("<helptopicname>{% EditedObject.IssueIsABTest|(user)administrator|(hash)12572368016007acd9b60a90ba5bae7a67c8072a68ff693f2fff3e4b95071765%}</helpt...
TheEskhaton/KInspector
KInspector.Tests/UIElementsDiffTests.cs
https://github.com/TheEskhaton/KInspector/blob/HEAD/KInspector.Tests/UIElementsDiffTests.cs
ghcode:00012:fa302367f04f
mit
codeparrot/github-code
fa302367f04fee5d7adc5c1593e54aa98144d1c8ee317fa9027924f7bca7eff8
0.75
testing_debugging_repair_refactoring
184
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,...
cgourlay/Newtonsoft.Json
Src/Newtonsoft.Json.Tests/Documentation/Samples/Json/CustomJsonReader.cs
https://github.com/cgourlay/Newtonsoft.Json/blob/HEAD/Src/Newtonsoft.Json.Tests/Documentation/Samples/Json/CustomJsonReader.cs
ghcode:00012:6b3bdd440d15
mit
codeparrot/github-code
6b3bdd440d15e94b51cc99ded5226915d038552de96bb577b0aee862c2ccd57e
0.7
testing_debugging_repair_refactoring
3,498
false
2026-07-17
using Entitas; using UnityEngine; using Entitas.Unity.VisualDebugging; public class SystemsController : MonoBehaviour { Systems _systems; Pool _pool; void Start() { _pool = new Pool(ComponentIds.TotalComponents); new PoolObserver(_pool, "Systems Pool"); _systems = createSystems()...
SvDvorak/Entitas-CSharp
Entitas.Unity.VisualDebugging/Assets/Tests/SystemsController.cs
https://github.com/SvDvorak/Entitas-CSharp/blob/HEAD/Entitas.Unity.VisualDebugging/Assets/Tests/SystemsController.cs
ghcode:00012:feac5acb2e5a
mit
codeparrot/github-code
feac5acb2e5af4b3709be15fdba6353f8d8fb3aa2150bc8d424d1e395958c9a2
0.85
testing_debugging_repair_refactoring
301
false
2026-07-17
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Xunit; namespace System.Numerics.Tests { public class ComparisonTest { private const int Numb...
BrennanConroy/corefx
src/System.Runtime.Numerics/tests/BigInteger/Comparison.cs
https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Runtime.Numerics/tests/BigInteger/Comparison.cs
ghcode:00012:77631fc198ea
mit
codeparrot/github-code
77631fc198ea905723637e5d66ccda84d17b4afc5ec88e44ab6e81dc9b44cf86
0.95
testing_debugging_repair_refactoring
6,090
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...
jeme/lucenenet
src/Lucene.Net.Tests.TestFramework.DependencyInjection/Startup.cs
https://github.com/jeme/lucenenet/blob/HEAD/src/Lucene.Net.Tests.TestFramework.DependencyInjection/Startup.cs
ghcode:00012:92f598972836
apache-2.0
codeparrot/github-code
92f59897283616c28b149831dd51897b091495c3eb4684862c310bcab0a8227f
0.85
testing_debugging_repair_refactoring
673
false
2026-07-17
namespace dotless.Test.Specs.Functions { using NUnit.Framework; public class RedFixture : SpecFixtureBase { [Test] public void TestRedInfo() { var redInfo1 = "red(color, number) is not supported by less.js, so this will work but not compile with other less implementation...
rytmis/dotless
src/dotless.Test/Specs/Functions/RedFixture.cs
https://github.com/rytmis/dotless/blob/HEAD/src/dotless.Test/Specs/Functions/RedFixture.cs
ghcode:00012:e93d7c5f7ff0
apache-2.0
codeparrot/github-code
e93d7c5f7ff07fd3e1514fe06f0e6d3850f55b5b640f8fe2a0e17cc188abf75a
0.6
testing_debugging_repair_refactoring
254
false
2026-07-17
// Lucene version compatibility level 4.8.1 using Lucene.Net.Analysis.Core; using NUnit.Framework; using System.IO; namespace Lucene.Net.Analysis.En { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * thi...
apache/lucenenet
src/Lucene.Net.Tests.Analysis.Common/Analysis/En/TestEnglishMinimalStemFilter.cs
https://github.com/apache/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Analysis.Common/Analysis/En/TestEnglishMinimalStemFilter.cs
ghcode:00012:4e993645f320
apache-2.0
codeparrot/github-code
4e993645f3208570ba00fa6bdf17ea87fc9d65a1ba54a5f5747bedd49d1d7cdc
0.85
testing_debugging_repair_refactoring
608
false
2026-07-17
namespace Xunit.Sdk { /// <summary> /// Exception thrown when an object reference is unexpectedly not null. /// </summary> public class NullException : AssertActualExpectedException { /// <summary> /// Creates a new instance of the <see cref="NullException"/> class. ...
andycmaj/cake
src/Cake.Testing.Xunit/Asserts/Sdk/Exceptions/NullException.cs
https://github.com/andycmaj/cake/blob/HEAD/src/Cake.Testing.Xunit/Asserts/Sdk/Exceptions/NullException.cs
ghcode:00012:8e675cb9cbf5
mit
codeparrot/github-code
8e675cb9cbf5b76f1502d1035b8209963cdc79d03fd3c69339551574470e8eee
0.7
testing_debugging_repair_refactoring
103
false
2026-07-17
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.IO; using System.Reflection; namespace Microsoft.CodeAnalysis.Test.Utilities { public static class AppDomainUtils { ...
yeaicc/roslyn
src/Test/Utilities/Desktop/AppDomainUtils.cs
https://github.com/yeaicc/roslyn/blob/HEAD/src/Test/Utilities/Desktop/AppDomainUtils.cs
ghcode:00012:ab744cb8978d
apache-2.0
codeparrot/github-code
ab744cb8978de9498e771d4d1b14de720e3dc49162d4efd8a6ad1b5fb487acef
0.95
testing_debugging_repair_refactoring
358
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...
devigned/azure-powershell
src/ResourceManager/AzureBatch/Commands.Batch.Test/Tasks/GetBatchTaskCommandTests.cs
https://github.com/devigned/azure-powershell/blob/HEAD/src/ResourceManager/AzureBatch/Commands.Batch.Test/Tasks/GetBatchTaskCommandTests.cs
ghcode:00012:b43fc02c2852
apache-2.0
codeparrot/github-code
b43fc02c2852837305162f95e5adb900f485b353779fd6d3f1f34bba515720d4
0.85
testing_debugging_repair_refactoring
3,408
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...
AzureAutomationTeam/azure-powershell
src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheController.cs
https://github.com/AzureAutomationTeam/azure-powershell/blob/HEAD/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheController.cs
ghcode:00012:d0eccae23225
apache-2.0
codeparrot/github-code
d0eccae232251ad5a53c4e33ee64108619dea5768b74e2637a0a718cd876f14d
0.85
testing_debugging_repair_refactoring
895
false
2026-07-17
// *********************************************************************** // Copyright (c) 2008 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 restr...
OmicronPersei/nunit
src/NUnitFramework/framework/Internal/Builders/ProviderCache.cs
https://github.com/OmicronPersei/nunit/blob/HEAD/src/NUnitFramework/framework/Internal/Builders/ProviderCache.cs
ghcode:00012:ed01527a5195
mit
codeparrot/github-code
ed01527a51951b3a1eaffd2228682c6d88f6f26e447e37bff4fa339a040a3861
0.85
testing_debugging_repair_refactoring
555
false
2026-07-17
using ICU4N.Text; using Lucene.Net.Analysis; using Lucene.Net.Util; using NUnit.Framework; using System.Globalization; namespace Lucene.Net.Collation { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * t...
apache/lucenenet
src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationKeyAnalyzer.cs
https://github.com/apache/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Analysis.ICU/Collation/TestICUCollationKeyAnalyzer.cs
ghcode:00012:4b28ea9f22ee
apache-2.0
codeparrot/github-code
4b28ea9f22ee3c9ea28c5a5b1c35a3446672ae6425483969a8589f14941192f4
0.85
testing_debugging_repair_refactoring
951
false
2026-07-17
#if NET40 using NUnit.Framework; namespace ServiceStack.Text.Tests { [TestFixture] public class DynamicJsonTests { [Test] public void Can_serialize_dynamic_instance() { var dog = new { Name = "Spot" }; var json = DynamicJson.Serialize(dog); Asse...
telerik/ServiceStack.Text
tests/ServiceStack.Text.Net40.Tests/DynamicJsonTests.cs
https://github.com/telerik/ServiceStack.Text/blob/HEAD/tests/ServiceStack.Text.Net40.Tests/DynamicJsonTests.cs
ghcode:00012:727bc54de1ed
bsd-3-clause
codeparrot/github-code
727bc54de1ed8f7ad379aa9cff2a2170215594df3f080117be9b5ccd55a19701
0.75
testing_debugging_repair_refactoring
148
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 namespace Dnn.PersonaBar.Users.Tests { using Dnn.PersonaBar.Library.Prompt.Models; using Dnn.PersonaBar....
nvisionative/Dnn.Platform
Dnn.AdminExperience/Tests/Dnn.PersonaBar.Users.Tests/DeleteUserUnitTests.cs
https://github.com/nvisionative/Dnn.Platform/blob/HEAD/Dnn.AdminExperience/Tests/Dnn.PersonaBar.Users.Tests/DeleteUserUnitTests.cs
ghcode:00012:92f3cbb47299
mit
codeparrot/github-code
92f3cbb47299050a577056c251e483d9dbfddf064c6d69853b543e7fda45270d
0.95
testing_debugging_repair_refactoring
788
false
2026-07-17
using System.Collections.Generic; using System.Linq; using Fake; using Machine.Specifications; using Microsoft.FSharp.Core; namespace Test.FAKECore { public class when_parsing_semver_strings_and_printing_the_result { It should_keep_0_1_2 = () => SemVerHelper.parse("0.1.2").ToString().Shoul...
neoeinstein/FAKE
src/test/Test.FAKECore/SemVerHelperSpecs.cs
https://github.com/neoeinstein/FAKE/blob/HEAD/src/test/Test.FAKECore/SemVerHelperSpecs.cs
ghcode:00012:83d67bec0ea3
apache-2.0
codeparrot/github-code
83d67bec0ea3b55f498e9a124dfedab15cd9fbb317367e651abdd5066c5c82fc
0.85
testing_debugging_repair_refactoring
1,295
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/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs
https://github.com/OpenSimian/opensimulator/blob/HEAD/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs
ghcode:00012:d8e56525ccd3
bsd-3-clause
codeparrot/github-code
d8e56525ccd3ad0f714bc9d38ce3becde7a97b7c1c47b717acdd0aca89db008d
0.95
testing_debugging_repair_refactoring
2,318
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using System.Reflection; using Duality; using Duality.Cloning; using Duality.Drawing; using Duality.Resources; using Duality.Components; using Duality.Components.Renderers; using NUnit.Framework; namespace Duality...
enguard/duality
UnitTesting/DualityTests/Cloning/HelperObjects/SkipFieldTestObject.cs
https://github.com/enguard/duality/blob/HEAD/UnitTesting/DualityTests/Cloning/HelperObjects/SkipFieldTestObject.cs
ghcode:00012:09db5e6b72b9
mit
codeparrot/github-code
09db5e6b72b9b88987d0c094cbeac50732a0ed046c16e0b7d0e775a355b1bde2
0.6
testing_debugging_repair_refactoring
245
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.Linq; using Microsoft.CodeAnalysis.CodeGen; using Microsoft.CodeAnalysis.CSharp.Symbols; using ...
sharadagrawal/Roslyn
src/ExpressionEvaluator/CSharp/Test/ExpressionCompiler/HoistedThisTests.cs
https://github.com/sharadagrawal/Roslyn/blob/HEAD/src/ExpressionEvaluator/CSharp/Test/ExpressionCompiler/HoistedThisTests.cs
ghcode:00012:dd91ec42610a
apache-2.0
codeparrot/github-code
dd91ec42610a19a071185de82286e7f90ad636d0ab36044c30c8412d9e103936
0.95
testing_debugging_repair_refactoring
10,090
false
2026-07-17
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Immutable; using System.IO; using System.Linq; using System.Reflection.Metadata; using System.Reflection.PortableExecu...
pdelvo/roslyn
src/Compilers/CSharp/Test/Emit/Attributes/InternalsVisibleToAndStrongNameTests.cs
https://github.com/pdelvo/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/Attributes/InternalsVisibleToAndStrongNameTests.cs
ghcode:00012:762e7b683114
apache-2.0
codeparrot/github-code
762e7b683114cf5ab6359303eec6422b2076f38d2c1b21350568f67de3dca1c2
0.82
testing_debugging_repair_refactoring
30,052
false
2026-07-17
// ----------------------------------------------------------------------------------------- // <copyright file="TableSasFunctionalTests.cs" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except i...
sandorfr/azure-storage-net
Test/ClassLibraryCommon/Table/SAS/TableSasFunctionalTests.cs
https://github.com/sandorfr/azure-storage-net/blob/HEAD/Test/ClassLibraryCommon/Table/SAS/TableSasFunctionalTests.cs
ghcode:00012:e002f482fbf2
apache-2.0
codeparrot/github-code
e002f482fbf229140683edbf4902eb65119e98e733a670f273d2eb99ddc40d09
0.85
testing_debugging_repair_refactoring
3,484
false
2026-07-17
using NUnit.Framework; using RefactoringEssentials.CSharp.CodeRefactorings; namespace RefactoringEssentials.Tests.CSharp.CodeRefactorings { [TestFixture] public class ConvertSwitchToIfTests : CSharpCodeRefactoringTestBase { [Test] public void TestReturn() { Test<ConvertS...
vcsjones/RefactoringEssentials
Tests/CSharp/CodeRefactorings/ConvertSwitchToIfTests.cs
https://github.com/vcsjones/RefactoringEssentials/blob/HEAD/Tests/CSharp/CodeRefactorings/ConvertSwitchToIfTests.cs
ghcode:00012:2bac059952ba
mit
codeparrot/github-code
2bac059952ba9930126cbb393cf6a0cfc0d8d14107a4777084b6bf68afd9794f
0.75
testing_debugging_repair_refactoring
1,024
false
2026-07-17
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using System.Diagnostics; using System.Linq; using Microsoft.CodeAnalysis; using M...
brettfo/roslyn
src/VisualStudio/CSharp/Impl/CodeModel/CSharpCodeModelService.NodeLocator.cs
https://github.com/brettfo/roslyn/blob/HEAD/src/VisualStudio/CSharp/Impl/CodeModel/CSharpCodeModelService.NodeLocator.cs
ghcode:00012:324eb8cad2fc
apache-2.0
codeparrot/github-code
324eb8cad2fc94c235fc528b231f272f3e3b8724ef7154a846d6d357323217e2
0.85
testing_debugging_repair_refactoring
9,996
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 System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Text; usin...
SiddharthChatrolaMs/azure-sdk-for-net
src/SDKs/MachineLearning/MachineLearning.Tests/ScenarioTests/WebServiceTests.cs
https://github.com/SiddharthChatrolaMs/azure-sdk-for-net/blob/HEAD/src/SDKs/MachineLearning/MachineLearning.Tests/ScenarioTests/WebServiceTests.cs
ghcode:00012:54b07528105a
apache-2.0
codeparrot/github-code
54b07528105a4fcc39e37d35b9f32ffca2951a3c7168ec0a4ac0f47f82248db4
0.85
testing_debugging_repair_refactoring
5,136
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.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes.Suppression; using Microsoft.CodeAnalys...
ericfe-ms/roslyn
src/EditorFeatures/CSharpTest/Diagnostics/Suppression/SuppressionAllCodeTests.cs
https://github.com/ericfe-ms/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/Suppression/SuppressionAllCodeTests.cs
ghcode:00012:9d11cca5edfe
apache-2.0
codeparrot/github-code
9d11cca5edfe7dfd3ea895502adcbd0dfcb1a6ccb42157af19e35899d8083846
0.85
testing_debugging_repair_refactoring
494
false
2026-07-17
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution....
xNUTs/PTVS
Python/Product/PythonTools/PythonTools/PythonAnalysisClassifier.cs
https://github.com/xNUTs/PTVS/blob/HEAD/Python/Product/PythonTools/PythonTools/PythonAnalysisClassifier.cs
ghcode:00012:0df5813c3aa4
apache-2.0
codeparrot/github-code
0df5813c3aa43dae570d2718ac473af63844e6a6040ffbd194366cf1152bd852
0.7
testing_debugging_repair_refactoring
3,974
false
2026-07-17
using System; using Xunit; namespace PortableTestApp { public class Program { [Fact] public void PassingTest() { Console.WriteLine("Pass!"); return; } [Fact] public void FailingTest() { throw new Exception("Fail!"); ...
zamont/core-setup
src/test/Assets/TestProjects/PortableTestApp/Program.cs
https://github.com/zamont/core-setup/blob/HEAD/src/test/Assets/TestProjects/PortableTestApp/Program.cs
ghcode:00012:fd0fef34c6dd
mit
codeparrot/github-code
fd0fef34c6dd3c4182fbaed04a0784c4f0becd3a1b509a4f01a3f447867a5899
0.85
testing_debugging_repair_refactoring
67
false
2026-07-17
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System.Diagnostics; using Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis {...
AlekseyTs/roslyn
src/Compilers/Core/Portable/Symbols/Attributes/CommonFieldWellKnownAttributeData.cs
https://github.com/AlekseyTs/roslyn/blob/HEAD/src/Compilers/Core/Portable/Symbols/Attributes/CommonFieldWellKnownAttributeData.cs
ghcode:00012:cd4abfda7e0a
mit
codeparrot/github-code
cd4abfda7e0a83569fe85aa65f065d9697639613112e653cf5088d9ffec6937b
0.85
testing_debugging_repair_refactoring
662
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.Numerics; using Xunit; namespace System.Security.Cryptography.Rsa.Tests { publi...
DnlHarvey/corefx
src/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/ImportExport.cs
https://github.com/DnlHarvey/corefx/blob/HEAD/src/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/ImportExport.cs
ghcode:00012:6bef0f23a07d
mit
codeparrot/github-code
6bef0f23a07dd73bde91fe65a7b737341eddbbcf6275a28e8d1c299b9408ed5d
0.95
testing_debugging_repair_refactoring
3,001
false
2026-07-17
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using R...
MatthieuMEZIL/roslyn
src/Workspaces/Core/Portable/FindSymbols/FindReferences/Finders/LinkedFileReferenceFinder.cs
https://github.com/MatthieuMEZIL/roslyn/blob/HEAD/src/Workspaces/Core/Portable/FindSymbols/FindReferences/Finders/LinkedFileReferenceFinder.cs
ghcode:00012:0e29b9629804
apache-2.0
codeparrot/github-code
0e29b96298044c2e5a321f05493cdf92bef880ecd6b3d88f5377073b37a955c3
0.85
testing_debugging_repair_refactoring
577
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.IO.Tests { public static class FileNotFoundExceptionTests { [Fact] ...
nbarbettini/corefx
src/System.Runtime/tests/System/IO/FileNotFoundExceptionTests.cs
https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Runtime/tests/System/IO/FileNotFoundExceptionTests.cs
ghcode:00012:8052fb0670ea
mit
codeparrot/github-code
8052fb0670eac5a8e96ca29ba0fa805217bbf42d22a534a83e052a75309b1e6a
0.95
testing_debugging_repair_refactoring
701
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.Reflect...
Ermiar/corefx
src/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/Encoding/ControlFlowBuilder.cs
https://github.com/Ermiar/corefx/blob/HEAD/src/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/Encoding/ControlFlowBuilder.cs
ghcode:00012:ad20fd14436d
mit
codeparrot/github-code
ad20fd14436d0daade2ba2a22aaac27578cc01e5bf86e2070fb7b59b76ffcb2b
0.95
testing_debugging_repair_refactoring
3,260
false
2026-07-17
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using FireworksNet.Distances; using FireworksNet.Distributions; using FireworksNet.Explode; using FireworksNet.Extensions; using FireworksNet.Generation; using FireworksNet.Model; using FireworksNet.Problems; using FireworksNe...
sleshJdev/Fireworks.NET
src/FireworksNet/Algorithm/Implementation/FireworksAlgorithm.cs
https://github.com/sleshJdev/Fireworks.NET/blob/HEAD/src/FireworksNet/Algorithm/Implementation/FireworksAlgorithm.cs
ghcode:00012:4016f7be162a
mit
codeparrot/github-code
4016f7be162acea76c6c787b65b05d54740efe83bf48e4dea1b01f149004ed8e
0.7
testing_debugging_repair_refactoring
2,811
false
2026-07-17
using System.Diagnostics.CodeAnalysis; using Maxxor.PCL.Result; using Maxxor.PCL.Tests.Tests.Base; using NUnit.Framework; namespace Maxxor.PCL.Tests.Tests.MxResultsTests.MxErrorTests { [TestFixture, ExcludeFromCodeCoverage] public class SourceErrorTests : BaseUnitTest { [Test] public void ...
Maxxor-Business-Solutions/Maxxor.PCL
Maxxor.PCL.Tests/Tests/MxResultsTests/MxErrorTests/SourceErrorTests.cs
https://github.com/Maxxor-Business-Solutions/Maxxor.PCL/blob/HEAD/Maxxor.PCL.Tests/Tests/MxResultsTests/MxErrorTests/SourceErrorTests.cs
ghcode:00012:fa8752f41089
mit
codeparrot/github-code
fa8752f410893010ded4e40db2ae20f10514555165c7f20ab511cfc2b7a66584
0.95
testing_debugging_repair_refactoring
279
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using Anotar.NLog; using LinqToTwitter; using Twice.Models.Cache; using Twice.Models.Columns; using Twice.Models.Twitter.Entities; namespace Twice.Models.Twitter.Streaming { internal class StreamingRepository : IStreamingRepository { // ReSharper ...
TheSylence/Twice
Twice/Models/Twitter/Streaming/StreamingRepository.cs
https://github.com/TheSylence/Twice/blob/HEAD/Twice/Models/Twitter/Streaming/StreamingRepository.cs
ghcode:00012:5c1880461953
mit
codeparrot/github-code
5c1880461953c21c84e4a35f3659feca424af74dbc65216e83f10791e95b1ef4
0.6
testing_debugging_repair_refactoring
820
false
2026-07-17
using System.Runtime.Versioning; using MarkdownSharp; using NuGet; using Squirrel; using Squirrel.Tests.TestHelpers; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Xml.Linq; using Squirrel.SimpleSplat; using Xunit; namespace Squirrel.Tests.Cor...
Squirrel/Squirrel.Windows
test/ReleasePackageTests.cs
https://github.com/Squirrel/Squirrel.Windows/blob/HEAD/test/ReleasePackageTests.cs
ghcode:00012:b94a5139f450
mit
codeparrot/github-code
b94a5139f450abeee896d8b2d277ccb320db115982243afbf9c8385692da1e74
0.85
testing_debugging_repair_refactoring
2,536
false
2026-07-17
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Security.Permissions; using System.Text; using System.Threading.Tasks; using NLog; namespace ScanMonitorApp { class ScanFolderWatcher { private static Logger logger = LogManager.G...
robdobsn/ScanMonitor
ScanMonitorApp/ScanMonitorApp/ScanFolderWatcher.cs
https://github.com/robdobsn/ScanMonitor/blob/HEAD/ScanMonitorApp/ScanMonitorApp/ScanFolderWatcher.cs
ghcode:00012:dd26b2c05194
mit
codeparrot/github-code
dd26b2c0519499568e9cbc27d523eebfdeaa498ff3c14fb965803dbae810c1ef
0.7
testing_debugging_repair_refactoring
538
false
2026-07-17
using System.Threading.Tasks; using Firestorm.Client; using Xunit; namespace Firestorm.Client.Tests { public class RestClientScalarTests { private const string BASE_PATH = "scalar/here/siiiick/"; private const string FULL_BASE_URL = MockHttpClientCreator.BaseUrl + BASE_PATH; private r...
connellw/Firestorm
tests/Firestorm.Client.Tests/RestClientScalarTests.cs
https://github.com/connellw/Firestorm/blob/HEAD/tests/Firestorm.Client.Tests/RestClientScalarTests.cs
ghcode:00012:22e7088d12fd
mit
codeparrot/github-code
22e7088d12fddbc0dfe7d0aab6be9570e1892b25362cb678bc6d02ed26767278
0.75
testing_debugging_repair_refactoring
272
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SpirvNet.Spirv.Enums; // This file is auto-generated and should not be modified manually. namespace SpirvNet.Spirv.Ops.RelationalAndLogical { /// <summary> /// OpFUnordEqual /// /...
Philip-Trettner/SpirvNet
SpirvNet/SpirvNet/Spirv/Ops/RelationalAndLogical/OpFUnordEqual.cs
https://github.com/Philip-Trettner/SpirvNet/blob/HEAD/SpirvNet/SpirvNet/Spirv/Ops/RelationalAndLogical/OpFUnordEqual.cs
ghcode:00012:4a1845cd0562
mit
codeparrot/github-code
4a1845cd0562b373263db0462f56aec5afebade5dcbcdc238a8ccc82e3c61003
0.85
testing_debugging_repair_refactoring
496
false
2026-07-17
using System; using System.Collections.Generic; using Entitas; public class MultiTriggeredMultiReactiveSystemSpy : MultiReactiveSystem<IMyEntity, Contexts> { public int didExecute { get { return _didExecute; } } public IEntity[] entities { get { return _entities; } } public Action<List<IMyEntit...
sschmid/Entitas-CSharp
Tests/Tests/Fixtures/Systems/MultiTriggeredMultiReactiveSystemSpy.cs
https://github.com/sschmid/Entitas-CSharp/blob/HEAD/Tests/Tests/Fixtures/Systems/MultiTriggeredMultiReactiveSystemSpy.cs
ghcode:00012:78b9aefdfc53
mit
codeparrot/github-code
78b9aefdfc534b6ea5727d2dfdedf641cd9b4f8c35dd6ef63c48910f5367d402
0.85
testing_debugging_repair_refactoring
241
false
2026-07-17
using System; using NUnit.Framework; using Rhino.Mocks; using StickEmApp.Dal; using StickEmApp.Entities; using StickEmApp.Windows.Infrastructure.Events; using StickEmApp.Windows.ViewModel; namespace StickEmApp.Windows.UnitTest.ViewModel { [TestFixture] public class StickerSalesPeriodDetailViewModelTestFixture...
jdt/StickEmApp
Source/StickEmApp/StickEmApp.Windows.UnitTest/ViewModel/StickerSalesPeriodDetailViewModelTestFixture.cs
https://github.com/jdt/StickEmApp/blob/HEAD/Source/StickEmApp/StickEmApp.Windows.UnitTest/ViewModel/StickerSalesPeriodDetailViewModelTestFixture.cs
ghcode:00012:c9f2e9f222f0
mit
codeparrot/github-code
c9f2e9f222f0e442a45b7a077eb3ca8b248aa47807a1a30d5bd964bd021d2d5a
0.7
testing_debugging_repair_refactoring
434
false
2026-07-17
using System; using System.IO; using System.Text; using AM.IO; using AM.Runtime; using AM.Text; using ManagedIrbis; using ManagedIrbis.Infrastructure; using ManagedIrbis.Infrastructure.Commands; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; namespace UnitTests.ManagedIrbis.Infrastructure.Commands...
amironov73/ManagedIrbis
Source/UnitTests/ManagedIrbis/Infrastructure/Commands/ReadRawRecordCommandTest.cs
https://github.com/amironov73/ManagedIrbis/blob/HEAD/Source/UnitTests/ManagedIrbis/Infrastructure/Commands/ReadRawRecordCommandTest.cs
ghcode:00013:faddd50108ed
mit
codeparrot/github-code
faddd50108edcf225834bdb5ce5909f02d66005646c121cfe0e2ca0a28ccfee0
0.75
testing_debugging_repair_refactoring
228
false
2026-07-17
using System; using System.Collections.Generic; using System.Text; using Xunit; namespace xmisc.core.authentication.tests.fixtures { [CollectionDefinition(nameof(TestCollection))] public class TestCollection: ICollectionFixture<Fixture> { } }
reexmonkey/xmisc
solution/xmisc.core.authentication.tests/fixtures/collection.cs
https://github.com/reexmonkey/xmisc/blob/HEAD/solution/xmisc.core.authentication.tests/fixtures/collection.cs
ghcode:00013:e743585bcb95
mit
codeparrot/github-code
e743585bcb951dd8804d5afe781f980474946d017120c4e905deb251991c93b7
0.6
testing_debugging_repair_refactoring
49
false
2026-07-17
using System; using System.Collections.Generic; using Liquid.NET.Constants; using Liquid.NET.Filters.Array; using Liquid.NET.Utils; using Xunit; namespace Liquid.NET.Tests.Filters.Array { public class SizeFilterTests { [Fact] public void It_Should_Measure_The_Size_Of_An_Array...
mikebridge/Liquid.NET
Liquid.NET.Tests/Filters/Array/SizeFilterTests.cs
https://github.com/mikebridge/Liquid.NET/blob/HEAD/Liquid.NET.Tests/Filters/Array/SizeFilterTests.cs
ghcode:00013:e3fbfb452cdb
mit
codeparrot/github-code
e3fbfb452cdbb4de99245c0fb93e073c32e38c8f13b1400c0c6f2a2ff7f30a40
0.85
testing_debugging_repair_refactoring
801
false
2026-07-17
using System; using System.Diagnostics; using System.IO; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace NSwag.CodeGeneration.Tests.CommandLine { [TestClass] public class WebApiCommandLineTests { [TestMethod] public async Task When_we...
aelbatal/NSwag
src/NSwag.CodeGeneration.Tests/CommandLine/WebApiCommandLineTests.cs
https://github.com/aelbatal/NSwag/blob/HEAD/src/NSwag.CodeGeneration.Tests/CommandLine/WebApiCommandLineTests.cs
ghcode:00013:cb195d67f0e1
mit
codeparrot/github-code
cb195d67f0e1e4556dd7f762f4679207fe48977d0144b02dd7c8f1893e98d63d
0.85
testing_debugging_repair_refactoring
499
false
2026-07-17
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="MefDataSpaceTest.cs" company="Kephas Software SRL"> // Copyright (c) Kephas Software SRL. All rights reserved. // Licensed under the MIT license. See LICENSE file in the proje...
quartz-software/kephas
src/Tests/Kephas.Data.Tests/Composition.Mef/MefDataSpaceTest.cs
https://github.com/quartz-software/kephas/blob/HEAD/src/Tests/Kephas.Data.Tests/Composition.Mef/MefDataSpaceTest.cs
ghcode:00013:60eb6e354fac
mit
codeparrot/github-code
60eb6e354fac9f434984ef2582c8859eb215080204ff44ca408ca93a82469f28
0.95
testing_debugging_repair_refactoring
169
false
2026-07-17
// The MIT License (MIT) // // Copyright (c) 2014-2016, Institute for Software & Systems Engineering // // 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 wi...
cubeme/ssharp
Tests/Serialization/Compaction/mixed 3.cs
https://github.com/cubeme/ssharp/blob/HEAD/Tests/Serialization/Compaction/mixed 3.cs
ghcode:00013:45fbf0585903
mit
codeparrot/github-code
45fbf0585903f68a4c7b68abacaad8ec0485569ffd654a32a67c07c8c79254e1
0.85
testing_debugging_repair_refactoring
475
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.Globalization; using System.Linq; using Roslyn.Test.Utilities; using Xunit; namespace Microsoft.CodeAnalysi...
reudismam/Refazer
ProgramSynthesis/benchmarksm/CommonCommandLineParserTestsB_2.cs
https://github.com/reudismam/Refazer/blob/HEAD/ProgramSynthesis/benchmarksm/CommonCommandLineParserTestsB_2.cs
ghcode:00013:6eba5ba3532b
mit
codeparrot/github-code
6eba5ba3532bed998d2230381198ce88561e8647e7dc0a4ab87b0097f369f9ef
0.7
testing_debugging_repair_refactoring
12,353
false
2026-07-17
using System.Linq; using Xunit; using Xunit.Extensions; namespace Ploeh.AutoFixture.AutoFakeItEasy2.UnitTest { public class DependencyConstraints { [Theory] [InlineData("Rhino.Mocks")] [InlineData("Moq")] [InlineData("xunit")] [InlineData("xunit.extensions")] [Inl...
sbrockway/AutoFixture
Src/AutoFakeItEasy2.UnitTest/DependencyConstraints.cs
https://github.com/sbrockway/AutoFixture/blob/HEAD/Src/AutoFakeItEasy2.UnitTest/DependencyConstraints.cs
ghcode:00013:2899b8068b95
mit
codeparrot/github-code
2899b8068b95a52b44a072c7c996a71b2b8b1046145dc0db2612070afac77d83
0.85
testing_debugging_repair_refactoring
248
false
2026-07-17
using System.Linq; using NUnit.Framework; namespace SeptaBus { [TestFixture] public class MessageBaseTests { public class MyCommand : MessageBase { } private MyCommand command; [SetUp] public void SetUp() { command = new MyCommand(); command...
jkodroff/SeptaBus
src/SeptaBus.Core.Tests/MessageBaseTests.cs
https://github.com/jkodroff/SeptaBus/blob/HEAD/src/SeptaBus.Core.Tests/MessageBaseTests.cs
ghcode:00013:4df05b35308f
mit
codeparrot/github-code
4df05b35308f6f9a64ae72931258aaa3bf6bb1cb6a31cb4ebf12b94f5b5153c7
0.75
testing_debugging_repair_refactoring
183
false
2026-07-17
using System.Collections.Generic; namespace Specify.Tests.Stubs { abstract class TestableUnitScenario<TSut> : ScenarioFor<TSut> where TSut : class { private List<string> _steps = new List<string>(); public List<string> Steps { get { return _steps; } } } }
ericgutt10/Specify
src/Specify.Tests/Stubs/TestableUnitScenario.cs
https://github.com/ericgutt10/Specify/blob/HEAD/src/Specify.Tests/Stubs/TestableUnitScenario.cs
ghcode:00013:98645e2454f7
mit
codeparrot/github-code
98645e2454f75826ed199e76a7c4c9763c2ae1a584d14aa609c647e1d21f18a1
0.75
testing_debugging_repair_refactoring
72
false
2026-07-17
using Communist.Security; namespace Communist.Tests { public static class TestRoles { [Role("role1", "role 1", Permissions = new[] { TestPermissions.Permission1, TestPermissions.Permission2 })] public const string Role1 = "role1"; [Role("role2", "role 2", Permissions = new[] { TestPer...
bsheldrick/communist
test/Communist.Tests/TestClasses/TestRoles.cs
https://github.com/bsheldrick/communist/blob/HEAD/test/Communist.Tests/TestClasses/TestRoles.cs
ghcode:00013:698a95110c9f
mit
codeparrot/github-code
698a95110c9f4be7b0717ddb8237285c1252fce8cac994b88ec41879c22399b6
0.75
testing_debugging_repair_refactoring
94
false
2026-07-17
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Xunit; namespace CorpAlgoCourse.Spock { /// <summary> /// Codeforces: Order Book /// https://codeforces.com/gym/269631/problem/B /// </summary> [Trait("Category", "Corporate Algorithmic Course: Spock,...
tim-f/Education
src/Algorithms/CorpAlgoCourse/Spock/HW-1-2/B-Reposts.cs
https://github.com/tim-f/Education/blob/HEAD/src/Algorithms/CorpAlgoCourse/Spock/HW-1-2/B-Reposts.cs
ghcode:00013:5b0c50220123
mit
codeparrot/github-code
5b0c50220123bfa422f0fbf5d73455a841fa741ef2089df8c8e27b5a90575eda
0.7
testing_debugging_repair_refactoring
654
false
2026-07-17
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.Input; using NUnit.Framework; using System.Collections; using UnityEditor; using UnityEngine.TestTools; namespace Microsoft.MixedReality.Toolkit.Tests { class PointerProfileTests : BasePlayModeTests ...
DDReaper/MixedRealityToolkit-Unity
Assets/MRTK/Tests/PlayModeTests/PointerProfileTests.cs
https://github.com/DDReaper/MixedRealityToolkit-Unity/blob/HEAD/Assets/MRTK/Tests/PlayModeTests/PointerProfileTests.cs
ghcode:00013:5bffdb55cd1a
mit
codeparrot/github-code
5bffdb55cd1a8dcb528eb7f38969f92e588aac549eb99f10cea276c52314205c
0.95
testing_debugging_repair_refactoring
388
false
2026-07-17
using System; using System.Linq.Expressions; using Xunit; namespace Sprache.Tests.Scenarios { public class ExpressionGrammarTests { [Fact] public void DroppedClosingParenthesisProducesMeaningfulError() { const string input = "1 + (2 * 3"; var x = Assert.Throws<P...
sprache/Sprache
test/Sprache.Tests/Scenarios/ExpressionGrammarTests.cs
https://github.com/sprache/Sprache/blob/HEAD/test/Sprache.Tests/Scenarios/ExpressionGrammarTests.cs
ghcode:00013:c05f7c533ab3
mit
codeparrot/github-code
c05f7c533ab3ef7e3ace044d961dd68cc718a6bb6ec590105e43b77a4956e2af
0.75
testing_debugging_repair_refactoring
523
false
2026-07-17
namespace Samples.Specifications.Tests.Contracts.ScreenObjects { public interface IExitScreenObject { bool IsDisplayed(); void ExitWithSave(); void ExitWithoutSave(); void Cancel(); } }
LogoFX/Samples.Specifications
Samples.Specifications.Tests.Contracts/ScreenObjects/IExitScreenObject.cs
https://github.com/LogoFX/Samples.Specifications/blob/HEAD/Samples.Specifications.Tests.Contracts/ScreenObjects/IExitScreenObject.cs
ghcode:00013:a50ef772559d
mit
codeparrot/github-code
a50ef772559d41832e4b322cee7e9a2c864f9beeeaef588fb4eda38e3ef61cd0
0.75
testing_debugging_repair_refactoring
44
false
2026-07-17
using System; using System.Globalization; using Humanizer.Localisation; using Xunit; using Xunit.Extensions; namespace Humanizer.Tests { public class TimeSpanHumanizeTests : AmbientCulture { public TimeSpanHumanizeTests() : base("en-US") { } [Theory] [InlineData(14, "2 weeks")] ...
HalidCisse/Humanizer
src/Humanizer.Tests/TimeSpanHumanizeTests.cs
https://github.com/HalidCisse/Humanizer/blob/HEAD/src/Humanizer.Tests/TimeSpanHumanizeTests.cs
ghcode:00013:85942bc86235
mit
codeparrot/github-code
85942bc8623594a06a6854ce9445fe22f5b86a419136aec27d3544fca5c9104d
0.75
testing_debugging_repair_refactoring
2,377
false
2026-07-17
using System.Collections.Generic; using System.Threading.Tasks; using System.Linq; using Moq; using NUnit.Framework; using SFA.DAS.EmployerUsers.Application.Commands.RegisterUser; using SFA.DAS.EmployerUsers.Application.Services.Password; using SFA.DAS.EmployerUsers.Application.Validation; namespace SFA.DAS.EmployerU...
SkillsFundingAgency/das-employerusers
src/SFA.DAS.EmployerUsers.Application.UnitTests/CommandsTests/RegisterUserTests/RegisterUserCommandValidatorTests/WhenValidatingTheRequest.cs
https://github.com/SkillsFundingAgency/das-employerusers/blob/HEAD/src/SFA.DAS.EmployerUsers.Application.UnitTests/CommandsTests/RegisterUserTests/RegisterUserCommandValidatorTests/WhenValidatingTheRequest.cs
ghcode:00013:e86bc7398231
mit
codeparrot/github-code
e86bc739823128f7f2e3120c6d3442786922062aec369b9648dfc9dd774b7adb
0.7
testing_debugging_repair_refactoring
1,585
false
2026-07-17
using System; using LibGD; using NUnit.Framework; [TestFixture] public class GlobalMembersBug00011 { [Test] public void TestBug00011() { gdImageStruct im; IntPtr fp; string path = new string(new char[2048]); path = string.Format("{0}/png/emptyfile", GlobalMembersGdtest.DefineConstants.G...
imazen/deprecated-gd-bindings-generator-old
LibGD.Tests/png/bug00011.cs
https://github.com/imazen/deprecated-gd-bindings-generator-old/blob/HEAD/LibGD.Tests/png/bug00011.cs
ghcode:00013:43031e01e635
mit
codeparrot/github-code
43031e01e63577501bfb66211c230850ecc643fbf19e6145d03acd753d07e5a2
0.6
testing_debugging_repair_refactoring
179
false
2026-07-17
using System; using System.Collections.Generic; using System.Text; namespace Tests { public class TestLdToken { private int myField; public void Run() { TestApi.WriteLine(typeof(int).Name); } } }
elasota/clarity
Tests/TestLdToken.cs
https://github.com/elasota/clarity/blob/HEAD/Tests/TestLdToken.cs
ghcode:00013:1b5fe899f766
mit
codeparrot/github-code
1b5fe899f76663b243990898193eb387238ea1869420c4d39a42ba0a657a07f7
0.75
testing_debugging_repair_refactoring
53
false
2026-07-17
using System; using System.Text; using System.Collections.Generic; namespace OrangeTentacle.Sample { public interface IVehicle { } public enum Interesting { } public class Engine<IVehicle> { } public partial class Car : Bus, IVehicle { const string ICONSTANT = "T...
ruchee/vimrc
vimfiles/bundle/vim-csharp/test/sample.cs
https://github.com/ruchee/vimrc/blob/HEAD/vimfiles/bundle/vim-csharp/test/sample.cs
ghcode:00013:6c43ca5fdb32
mit
codeparrot/github-code
6c43ca5fdb32a75ee6d59ea7e278d182fe36ce2b9b435a43009c1145598d0206
0.85
testing_debugging_repair_refactoring
375
false
2026-07-17