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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | glorylee/FluentValidation | src/FluentValidation.Tests/MessageFormatterTests.cs | https://github.com/glorylee/FluentValidation/blob/HEAD/src/FluentValidation.Tests/MessageFormatterTests.cs | ghcode:00004:905eebaac465 | apache-2.0 | codeparrot/github-code | 905eebaac4651562bff3a12508d3245fb4c3530a5050c9aa19cea4affac049c4 | 0.85 | testing_debugging_repair_refactoring | 374 | 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.Collections.Generic;
using System.Collections.Immutable;
using System... | CyrusNajmabadi/roslyn | src/Compilers/CSharp/CSharpAnalyzerDriver/CSharpDeclarationComputer.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/Compilers/CSharp/CSharpAnalyzerDriver/CSharpDeclarationComputer.cs | ghcode:00004:7901cce65e7d | mit | codeparrot/github-code | 7901cce65e7d3495f0dba0c87f124cfaca1c4a1e9606430d424bac7c4ad66813 | 0.85 | testing_debugging_repair_refactoring | 2,966 | 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.Diagnostics;
using Microsoft.CSharp.RuntimeBinder.Errors;
using Micro... | dotnet-bot/corefx | src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/ExpressionBinder.cs | https://github.com/dotnet-bot/corefx/blob/HEAD/src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/ExpressionBinder.cs | ghcode:00004:42acae4c3f7b | mit | codeparrot/github-code | 42acae4c3f7be6ab822b0b956512841f74d5d313209b5762f5fe0138f2d5f2f4 | 0.82 | testing_debugging_repair_refactoring | 20,670 | 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.Reflection;
using System.Runtime.CompilerServices;
#if SRM
nam... | mafiya69/corefx | src/System.Reflection.Metadata/src/System/Reflection/BlobWriterImpl.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/System.Reflection.Metadata/src/System/Reflection/BlobWriterImpl.cs | ghcode:00004:a050dc78a985 | mit | codeparrot/github-code | a050dc78a985ba3119405a6b43712c7985da2ce2f61e261fffd7cf0b6485395a | 0.95 | testing_debugging_repair_refactoring | 1,977 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="BatchBoundaryAnnotation.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/DataOData/Common/OData/Common/Annotations/BatchBoundaryAnnotation.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Common/OData/Common/Annotations/BatchBoundaryAnnotation.cs | ghcode:00004:d6d0df42e399 | mit | codeparrot/github-code | d6d0df42e399fa2c11ea8b78b2d14ad303af7a0d8bb30e717d664112d5313411 | 0.95 | testing_debugging_repair_refactoring | 579 | false | 2026-07-17 |
using System;
using System.Linq;
using Moq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Configuration.UmbracoSettings;
using Umbraco.Core.IO;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Core.Models.Rdbms;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persist... | abryukhov/Umbraco-CMS | src/Umbraco.Tests/Persistence/Repositories/TagRepositoryTest.cs | https://github.com/abryukhov/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Persistence/Repositories/TagRepositoryTest.cs | ghcode:00004:1a08262f3f4e | mit | codeparrot/github-code | 1a08262f3f4e88cb741ef2e63272e22a8f4e7aef48c801736a70314890b7e58e | 0.7 | testing_debugging_repair_refactoring | 8,095 | 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.IO;
using System.Text;
using System.Xml;
using System.Diagnostics;
using System.Collectio... | Ermiar/corefx | src/System.Private.Xml/src/System/Xml/Core/XmlWellFormedWriter.cs | https://github.com/Ermiar/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/Core/XmlWellFormedWriter.cs | ghcode:00004:a598956a7079 | mit | codeparrot/github-code | a598956a707935a7405ed567d45f5e2cf796d8d89be2ce12fe4aae8c56109bdf | 0.82 | testing_debugging_repair_refactoring | 15,683 | false | 2026-07-17 |
using FluentAssertions;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
namespace Nest.Tests.Unit.QueryParsers.Queries
{
[TestFixture]
public class TermsQueryTests : ParseQueryTestsBase
{
[Test]
public void Terms_Deserializes()
{
var q = this.SerializeThenDeserialize(
f=>f.Terms,
f=>f.Term... | joehmchan/elasticsearch-net | src/Tests/Nest.Tests.Unit/QueryParsers/Queries/TermsQueryTests.cs | https://github.com/joehmchan/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Unit/QueryParsers/Queries/TermsQueryTests.cs | ghcode:00004:0134d3a3e7e6 | apache-2.0 | codeparrot/github-code | 0134d3a3e7e62f97985d93111e530c754fb137896226203b4ac38a5adc863817 | 0.85 | testing_debugging_repair_refactoring | 383 | 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.IO;
using System.Diagnostics;
using System.Data.Common;
using System.Xml;
using System.Xml.Schema;
usin... | shimingsg/corefx | src/System.Data.Common/src/System/Data/SQLTypes/SQLChars.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Data.Common/src/System/Data/SQLTypes/SQLChars.cs | ghcode:00004:9ba5843ceef7 | mit | codeparrot/github-code | 9ba5843ceef7de527b3a98f69b2a34a3afae5c271bc5668c4dfa11319b9ef95e | 0.95 | testing_debugging_repair_refactoring | 4,315 | 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 OLEDB.Test.ModuleCore;
namespace System.Xml.Tests
{
public partial class TCCloseInput : TCXMLReaderBaseGeneral
{
// Type is System.Xml.Tests.TCC... | comdiv/corefx | src/System.Xml.ReaderWriter/tests/Readers/ReaderSettings/TCCloseInput.cs | https://github.com/comdiv/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/Readers/ReaderSettings/TCCloseInput.cs | ghcode:00004:aace441ca318 | mit | codeparrot/github-code | aace441ca318a1116a80efd9f624e476be193175af8a128366458e3325f352d3 | 0.95 | testing_debugging_repair_refactoring | 130 | 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.Globalization.Tests
{
public class DateTimeFormatInfoShortestDayNames
{
... | benjamin-bader/corefx | src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoShortestDayNames.cs | https://github.com/benjamin-bader/corefx/blob/HEAD/src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoShortestDayNames.cs | ghcode:00004:edb60158d88f | mit | codeparrot/github-code | edb60158d88f6ee2e712df048f4a13ec7b04d353a0e3b564e44e611cf31c75af | 0.95 | testing_debugging_repair_refactoring | 399 | 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.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Syst... | BrennanConroy/corefx | src/System.Linq.Parallel/tests/QueryOperators/GetEnumeratorTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Linq.Parallel/tests/QueryOperators/GetEnumeratorTests.cs | ghcode:00004:64cb4b609cc8 | mit | codeparrot/github-code | 64cb4b609cc8b1e336a607e58359a69f8d3c85141c48182c27be8dc67fb01dc4 | 0.95 | testing_debugging_repair_refactoring | 1,672 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.Xunit.Performance.Api;
namespace JitBench
{
public static class BenchviewResultExporter
{
public static void ConvertRunResult(ScenarioBenchmark scenario, BenchmarkRunResult runResult)
{
scenario.Tests ... | ruben-ayrapetyan/coreclr | tests/src/performance/Scenario/JitBench/Runner/BenchviewResultExporter.cs | https://github.com/ruben-ayrapetyan/coreclr/blob/HEAD/tests/src/performance/Scenario/JitBench/Runner/BenchviewResultExporter.cs | ghcode:00004:fe0caa5f2dab | mit | codeparrot/github-code | fe0caa5f2dabad2cfc2a9b61291df436ac7c8f6ebd52941da21a677e9004a67e | 0.95 | testing_debugging_repair_refactoring | 743 | 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 Xunit;
using System;
using System.Reflection;
using System.Collections.Generic;
#pragma warning disable 0067
namespace System.Reflection.Tests
{
public clas... | vs-team/corefx | src/System.Reflection/tests/EventInfo/EventInfo_PropertyTests.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Reflection/tests/EventInfo/EventInfo_PropertyTests.cs | ghcode:00004:b1ed50054835 | mit | codeparrot/github-code | b1ed500548350d69210b987948facca248b965eda37db32f6e6e6761bc2f7445 | 0.95 | testing_debugging_repair_refactoring | 1,890 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AecCloud.PluginInstallation;
using AecCloud.PluginInstallation.RevitPlugins;
using AecCloud.PluginInstallation.VaultApps;
namespace AecCloud.ClientConsole
{
class Tests
{
internal ... | FinchYang/test | AecPrivateCloud.ALL/Client/AecCloud.ClientConsole/Tests.cs | https://github.com/FinchYang/test/blob/HEAD/AecPrivateCloud.ALL/Client/AecCloud.ClientConsole/Tests.cs | ghcode:00004:ae619284ee64 | mit | codeparrot/github-code | ae619284ee6406b60b56bb525d3d1dae8b201f8190289176afd2b452c267e327 | 0.75 | testing_debugging_repair_refactoring | 504 | false | 2026-07-17 |
//using Microsoft.CodeAnalysis;
//using Microsoft.CodeAnalysis.CSharp;
//using Microsoft.CodeAnalysis.Emit;
//using QueryFirst;
//using System.Collections.Generic;
//using System.IO;
//using System.Linq;
//using System.Reflection;
//using Xunit;
//using System.Text;
//using System.Runtime.Serialization.Json;
//using S... | bbsimonbb/query-first | QueryFirstTests/CompilationTests/FirstIntegrationTest.cs | https://github.com/bbsimonbb/query-first/blob/HEAD/QueryFirstTests/CompilationTests/FirstIntegrationTest.cs | ghcode:00004:42b33eba172c | mit | codeparrot/github-code | 42b33eba172c9f9e949f15ee59de8f625c1cc9950a8bea9b983ce5d1674a07c5 | 0.7 | testing_debugging_repair_refactoring | 606 | false | 2026-07-17 |
using Xunit;
namespace TaurusSoftware.WebUntisNet.Tests
{
public class UntisClientTest
{
[Fact]
public void LoginAndLogout()
{
var client = new WebUntisClient("https://demo.webuntis.com/WebUntis/jsonrpc.do", "demo_inf", "Schueler", "");
Assert.True(client.IsLogg... | martinhey/WebUntisNet | TaurusSoftware.WebUntisNet.Tests/UntisClientTest.cs | https://github.com/martinhey/WebUntisNet/blob/HEAD/TaurusSoftware.WebUntisNet.Tests/UntisClientTest.cs | ghcode:00004:760e1160f271 | mit | codeparrot/github-code | 760e1160f271227e799e6d67eb845529308bfa86f3ffc1193f6bf8261d77a901 | 0.6 | testing_debugging_repair_refactoring | 95 | false | 2026-07-17 |
using SharepointCommon.Attributes;
namespace SharepointCommon.Test.Application
{
public class TestAppNoVirtualProperty : AppBase<TestAppNoVirtualProperty>
{
[List(Id = "8A083287-CAEF-4DFA-8246-E8236676F5A1")]
public IQueryList<Item> Test { get; set; }
}
} | gdbd/sharepointcommon | SharepointCommon.Test/Application/TestAppNoVirtualProperty.cs | https://github.com/gdbd/sharepointcommon/blob/HEAD/SharepointCommon.Test/Application/TestAppNoVirtualProperty.cs | ghcode:00004:a06ed13ef004 | mit | codeparrot/github-code | a06ed13ef0049d35aa4c4f158b694ffa92b476be17ee7b63e8a7f7fb65c3bab7 | 0.75 | testing_debugging_repair_refactoring | 89 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Obacher.RandomOrgSharp.Core;
using Obacher.RandomOrgSharp.Core.Parameter;
using Should.Fluent;
namespace RandomOrgSharp.UnitTest.Parameter
{
[TestClass]
public class GuassianParametersTest
{
[TestMethod, ExpectedException(typeof(RandomOrgRu... | gsteinbacher/RandomOrgSharp | Obacher.RandomOrgSharp.UnitTest/Parameter/GuassianParametersTest.cs | https://github.com/gsteinbacher/RandomOrgSharp/blob/HEAD/Obacher.RandomOrgSharp.UnitTest/Parameter/GuassianParametersTest.cs | ghcode:00004:4ed8379784b2 | mit | codeparrot/github-code | 4ed8379784b2b40de7a48742abb9807afe9e0ee712da8574b0b50adcce5299ca | 0.7 | testing_debugging_repair_refactoring | 1,028 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using MathNet.Numerics.LinearAlgebra.Double;
using System.Globalization;
using MathNet.Numerics.LinearAlgebra.Double.Solvers.StopCriterium;
using MathNet.Numerics.LinearAlgebra.Double.Solvers;
using MathNet.Numerics.LinearAlgebra.Double.Solvers.Iterative;
using System.Collections.Ge... | massimo-nocentini/network-reasoner | it.unifi.dsi.stlab.math.algebra.tests/MathDotNetLearningTest.cs | https://github.com/massimo-nocentini/network-reasoner/blob/HEAD/it.unifi.dsi.stlab.math.algebra.tests/MathDotNetLearningTest.cs | ghcode:00004:d177b5b94c75 | mit | codeparrot/github-code | d177b5b94c75ff09f0d351790a6da04382350c8cfaa0a6365cc5a8c6afffb467 | 0.7 | testing_debugging_repair_refactoring | 2,058 | false | 2026-07-17 |
using System.Threading.Tasks;
using Joonasw.AspNetCore.SecurityHeaders.XFrameOptions;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Options;
using Xunit;
namespace Joonasw.AspNetCore.SecurityHeaders.Tests
{
public class FrameOptionsMiddlewareTests
{
[Theory]
[InlineData(XFrameOpt... | juunas11/aspnetcore-security-headers | test/Joonasw.AspNetCore.SecurityHeaders.Tests/FrameOptionsMiddlewareTests.cs | https://github.com/juunas11/aspnetcore-security-headers/blob/HEAD/test/Joonasw.AspNetCore.SecurityHeaders.Tests/FrameOptionsMiddlewareTests.cs | ghcode:00004:3ce886d940df | mit | codeparrot/github-code | 3ce886d940dfe21a1268c49b81cdd931982c23058ab8655392c3f9bfa11e59ce | 0.75 | testing_debugging_repair_refactoring | 274 | false | 2026-07-17 |
// Copyright (c) 2015 ZZZ Projects. All rights reserved
// Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
// Website: http://www.zzzprojects.com/
// Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927
// All ZZZ Projects products: Entity Framework ... | huoxudong125/Z.ExtensionMethods | test/Z.Reflection.Test/GetSignature/Type/StaticClass.cs | https://github.com/huoxudong125/Z.ExtensionMethods/blob/HEAD/test/Z.Reflection.Test/GetSignature/Type/StaticClass.cs | ghcode:00004:e39ed376b8c6 | mit | codeparrot/github-code | e39ed376b8c6f850856c914da016c3cc10f7a568262fc396cc6fd10f637a7b59 | 0.7 | testing_debugging_repair_refactoring | 187 | false | 2026-07-17 |
using System.Data;
using NUnit.Framework;
using Smooth.IoC.Repository.UnitOfWork.Tests.TestHelpers;
namespace Smooth.IoC.Repository.UnitOfWork.Tests.ExampleTests.Repository
{
[TestFixture]
public class RepositoryCountTests : CommonTestDataSetup
{
[Test, Category("Integration")]
public stat... | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | test/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/ExampleTests/Repository/RepositoryCountTests.cs | https://github.com/generik0/Smooth.IoC.Dapper.Repository.UnitOfWork/blob/HEAD/test/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/ExampleTests/Repository/RepositoryCountTests.cs | ghcode:00004:3be976794c27 | mit | codeparrot/github-code | 3be976794c277322c4fbc4754581c4f3df33e546d0f64c9f758661d9fe4bded2 | 0.75 | testing_debugging_repair_refactoring | 479 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
usin... | Azure/azure-sdk-for-net | sdk/identity/Azure.Identity/tests/ClientAssertionCredentialLiveTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/identity/Azure.Identity/tests/ClientAssertionCredentialLiveTests.cs | ghcode:00004:6c8267bc7b5a | mit | codeparrot/github-code | 6c8267bc7b5a6b9b856e544960554c1ac83b3002afdec5fe1ff33015a47cabe1 | 0.95 | testing_debugging_repair_refactoring | 1,029 | false | 2026-07-17 |
using Ctrip.SOA.Comm.Check;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Ctrip.SOA.Comm;
namespace Ctrip.SOA.Comm.Test
{
/// <summary>
///This is a test class for ClientCheckTest and is intended
///to contain all ClientCheckTest Unit Tests
///</summary>
[TestCl... | mt830813/code | Project/fx.esb.client.1.6.0.0/UnitTest/Ctrip.SOA.Comm.Test/ClientCheckTest.cs | https://github.com/mt830813/code/blob/HEAD/Project/fx.esb.client.1.6.0.0/UnitTest/Ctrip.SOA.Comm.Test/ClientCheckTest.cs | ghcode:00004:768a1f767148 | mit | codeparrot/github-code | 768a1f7671483d03d7c77ded9aa8ea389d8c43fe4ffaa296c54c3156d741e14a | 0.7 | testing_debugging_repair_refactoring | 350 | false | 2026-07-17 |
using DotJEM.NUnit.Json.Constraints;
using DotJEM.NUnit.Json.Extensions;
using Newtonsoft.Json.Linq;
using NUnit.Framework.Constraints;
namespace DotJEM.NUnit.Json
{
public static class JsonHas
{
public static IResolveConstraint Properties(object expected)
{
return new HasJsonPrope... | dotJEM/json-nunit | DotJEM.NUnit.Json/JsonHas.cs | https://github.com/dotJEM/json-nunit/blob/HEAD/DotJEM.NUnit.Json/JsonHas.cs | ghcode:00004:59cfccb2906d | mit | codeparrot/github-code | 59cfccb2906d7e817296742ff45715111f09d817664ab27debb23fbfb9f471cf | 0.6 | testing_debugging_repair_refactoring | 77 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
public class SA... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1214CSharp10UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1214CSharp10UnitTests.cs | ghcode:00004:4b1c6863696f | mit | codeparrot/github-code | 4b1c6863696f3229f9a2b33f69f5af3583ed995dc76d93e6fb2aae52d8660add | 0.75 | testing_debugging_repair_refactoring | 98 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2008 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... | cPetru/nunit-params | src/NUnitFramework/tests/Assertions/AssertThatTests.cs | https://github.com/cPetru/nunit-params/blob/HEAD/src/NUnitFramework/tests/Assertions/AssertThatTests.cs | ghcode:00004:fef8486951b9 | mit | codeparrot/github-code | fef8486951b9e575e2638a459bdb562cbac65323de5fd2f21263d6c2a0300ac1 | 0.95 | testing_debugging_repair_refactoring | 3,070 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework;
using PokerFace.Model;
namespace PokerFace.Test
{
[TestFixture]
internal class PokerHandNamerTests
{
private readonly CardHand _highCardHand = new CardHand()
{
Cards = new List<Card>()
{
new Ca... | neilgrattan/poker-face | PokerFace.Test/PokerHandNamerTests.cs | https://github.com/neilgrattan/poker-face/blob/HEAD/PokerFace.Test/PokerHandNamerTests.cs | ghcode:00004:6ebe06c79ffe | mit | codeparrot/github-code | 6ebe06c79ffef201abf6785615ba859f115ded20d2e253ec9e0986524a0bb127 | 0.75 | testing_debugging_repair_refactoring | 2,136 | false | 2026-07-17 |
using Gwent.NET.Commands;
using Gwent.NET.Model;
using Gwent.NET.Model.States;
using Gwent.NET.Model.States.Substates;
using Xunit;
namespace Gwent.NET.Test.Commands
{
public class EndRedrawCardCommandTest
{
[Fact]
public void EndRedraw()
{
var redrawPlayer1Substate = new R... | Atvaark/Gwent.NET | Gwent.NET.Test/Commands/EndRedrawCardCommandTest.cs | https://github.com/Atvaark/Gwent.NET/blob/HEAD/Gwent.NET.Test/Commands/EndRedrawCardCommandTest.cs | ghcode:00004:c09ab1a03897 | mit | codeparrot/github-code | c09ab1a038978e19bae1a9e6d69d8f9eba9dec7e714cef7ff6e00fa99ebccc95 | 0.6 | testing_debugging_repair_refactoring | 507 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
usin... | sean-gilliam/msbuild | src/Build.UnitTests/BackEnd/BuildManager_Tests.cs | https://github.com/sean-gilliam/msbuild/blob/HEAD/src/Build.UnitTests/BackEnd/BuildManager_Tests.cs | ghcode:00004:464462dfe4e3 | mit | codeparrot/github-code | 464462dfe4e3b33a96b94bc5d42130beb53439f006292a0a1477304ea457cc31 | 0.65 | testing_debugging_repair_refactoring | 36,602 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using Cocos2D;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
#if OPENGL
#if MACOS
using MonoMac.OpenGL;
#elif WINDOWS || LINUX
using OpenTK.Graphics.OpenGL;
#elif GLES
using OpenTK.... | mono/cocos2d-xna | tests/tests/classes/tests/Texture2dTest/Texture2dTest.cs | https://github.com/mono/cocos2d-xna/blob/HEAD/tests/tests/classes/tests/Texture2dTest/Texture2dTest.cs | ghcode:00004:38165bd20a99 | mit | codeparrot/github-code | 38165bd20a99297eb9c7385575167d63b02793b017ccd3e72109e4bcd889bbdd | 0.95 | testing_debugging_repair_refactoring | 13,150 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cocos2D;
namespace tests
{
public class Atlas4 : AtlasDemo
{
//ccTime m_time;
float m_time;
public Atlas4()
{
m_time = 0;
// Upper Label
CCLabelBMFon... | mono/cocos2d-xna | tests/tests/classes/tests/LabelTest/Atlas4.cs | https://github.com/mono/cocos2d-xna/blob/HEAD/tests/tests/classes/tests/LabelTest/Atlas4.cs | ghcode:00004:ab0c1eddf602 | mit | codeparrot/github-code | ab0c1eddf602f64d38886876de5ebf7bd62a423395e761837f4bb1232bf7809e | 0.95 | testing_debugging_repair_refactoring | 903 | false | 2026-07-17 |
/*
The MIT License(MIT)
Copyright(c) 2015 IgorSoft
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, modify, merge, publi... | viciousviper/PowerShellCloudProvider | PowerShellCloudProvider.Tests/Provider/NewItemAsyncTests.cs | https://github.com/viciousviper/PowerShellCloudProvider/blob/HEAD/PowerShellCloudProvider.Tests/Provider/NewItemAsyncTests.cs | ghcode:00004:3ae1f2f86c95 | mit | codeparrot/github-code | 3ae1f2f86c9501ac1f9cd860438d5d9feb01da839a843b7f026aaeaa11745780 | 0.75 | testing_debugging_repair_refactoring | 3,967 | false | 2026-07-17 |
/*
http://www.cgsoso.com/forum-211-1.html
CG搜搜 Unity3d 每日Unity3d插件免费更新 更有VIP资源!
CGSOSO 主打游戏开发,影视设计等CG资源素材。
插件如若商用,请务必官网购买!
daily assets update for try.
U should buy the asset from home store if u use it in your project!
*/
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
using System;
using ... | SeongBongJang/amuzlabBonRepo | NGUI_Test/NGUI_Sample/Assets/Best HTTP (Pro)/BestHTTP/SecureProtocol/math/ec/ECFieldElement.cs | https://github.com/SeongBongJang/amuzlabBonRepo/blob/HEAD/NGUI_Test/NGUI_Sample/Assets/Best HTTP (Pro)/BestHTTP/SecureProtocol/math/ec/ECFieldElement.cs | ghcode:00004:67846531cd8d | mit | codeparrot/github-code | 67846531cd8d422948bd1933af84141c1fa4f1622d940810a1ccdaae2683c91c | 0.7 | testing_debugging_repair_refactoring | 6,785 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ManagedObject.cs" company="">
//
// </copyright>
// <summary>
// The managed object.
// </summary>
// ------------------------------------------------------------------------... | red2901/sandbox | exceldna/Source/ADM.Data.Services.UnitTests/ManagedObject.cs | https://github.com/red2901/sandbox/blob/HEAD/exceldna/Source/ADM.Data.Services.UnitTests/ManagedObject.cs | ghcode:00004:98873b960744 | mit | codeparrot/github-code | 98873b9607442b65bf99af3e37c95a1e8c6ac016fc151e3d12354cfc432634e1 | 0.7 | testing_debugging_repair_refactoring | 283 | false | 2026-07-17 |
using Core.Scheduler.Jobs;
using System.Threading;
using Core.Models.Persistent;
using Core.Interfaces.Components.Logging;
using System.Collections.Generic;
using Scheduler.Interfaces;
namespace Test.Plugins.Mocks
{
public class UnitTestJobConfiugration : RunProgramJobConfiguration
{
}
public class ... | SAEnergy/Infrastructure | Src/Test/Test.Plugins.Mocks/UnitTestJob.cs | https://github.com/SAEnergy/Infrastructure/blob/HEAD/Src/Test/Test.Plugins.Mocks/UnitTestJob.cs | ghcode:00004:84f3d0d609f3 | mit | codeparrot/github-code | 84f3d0d609f38b92b90296b0a5a33e030e2aa369600e140759b767081f5a2d06 | 0.85 | testing_debugging_repair_refactoring | 198 | false | 2026-07-17 |
using BenchmarkDotNet.Attributes;
using Roy_T.AStar.Grids;
using Roy_T.AStar.Paths;
using Roy_T.AStar.Primitives;
namespace Roy_T.AStar.Benchmark
{
/// <summary>
/// For more thorough explanation, and benchmark history, see BenchmarkHistory.md
/// </summary>
public class AStarBenchmark
{
p... | roy-t/AStar | Roy-T.AStar.Benchmark/Benchmarks.cs | https://github.com/roy-t/AStar/blob/HEAD/Roy-T.AStar.Benchmark/Benchmarks.cs | ghcode:00004:ab1a478b0b2d | mit | codeparrot/github-code | ab1a478b0b2d808cc81c1d6cfbe563325e17a9f41d19927e01f969c074a98667 | 0.7 | testing_debugging_repair_refactoring | 890 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using BEPUphysics.Entities.Prefabs;
using BEPUutilities;
using BEPUutilities.DataStructures;
using BEPUphysics.CollisionShapes;
namespace BEPUphysicsDemos.Demos.Extras.Tests
{
/// <summary>
/// Demo testing convex hulls.
/// </summary>
public class Conve... | karrtmomil/coms437_assignment2 | 3DAsteroids/3DAsteroids/BEPUphysicsDemos/BEPUphysicsDemos/Demos/Extras/Tests/ConvexHullTestDemo.cs | https://github.com/karrtmomil/coms437_assignment2/blob/HEAD/3DAsteroids/3DAsteroids/BEPUphysicsDemos/BEPUphysicsDemos/Demos/Extras/Tests/ConvexHullTestDemo.cs | ghcode:00004:7237dcd78557 | mit | codeparrot/github-code | 7237dcd785573715296fdc1b82016c2a557d33a110e7324c29e3add96bfdf22a | 0.95 | testing_debugging_repair_refactoring | 564 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading;
using Azure.AI.Translation.Document.Tests;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.AI.Translation.Document.Samples
{
public partial class DocumentTr... | AsrOneSdk/azure-sdk-for-net | sdk/translation/Azure.AI.Translation.Document/tests/samples/Sample_StartTranslation.cs | https://github.com/AsrOneSdk/azure-sdk-for-net/blob/HEAD/sdk/translation/Azure.AI.Translation.Document/tests/samples/Sample_StartTranslation.cs | ghcode:00004:09116c49a8a6 | mit | codeparrot/github-code | 09116c49a8a6b6d398bef518ba75ebef3c769029ca329f22248c2d59c80cb24b | 0.85 | testing_debugging_repair_refactoring | 597 | false | 2026-07-17 |
#region Copyright
/* The MIT License (MIT)
Copyright (c) 2014 Anderson Luiz Mendes Matos (Brazil)
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 limitatio... | ALMMa/datatables.aspnet | src/DataTables.AspNet.WebApi2.Tests/DataTablesExtensionsTests.cs | https://github.com/ALMMa/datatables.aspnet/blob/HEAD/src/DataTables.AspNet.WebApi2.Tests/DataTablesExtensionsTests.cs | ghcode:00004:7fb76e2228a5 | mit | codeparrot/github-code | 7fb76e2228a59dd378a6eee08824ae9fba96a328862839afd298a15dc6da2d8c | 0.85 | testing_debugging_repair_refactoring | 1,072 | false | 2026-07-17 |
namespace LongestSubsequence.Tests
{
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class LongestSubsequenceSearcherTests
{
[TestMethod]
public void RunShouldReturnCorrectResultNormalCase()
{
var searche... | vassildinev/Data-Structures-and-Algorithms | 02.LinearDataStructuresHomework/04.LongestSubsequence.Tests/LongestSubsequenceSearcherTests.cs | https://github.com/vassildinev/Data-Structures-and-Algorithms/blob/HEAD/02.LinearDataStructuresHomework/04.LongestSubsequence.Tests/LongestSubsequenceSearcherTests.cs | ghcode:00004:4313c0cd3ef9 | mit | codeparrot/github-code | 4313c0cd3ef92ef16ee2b81ebaa386028fd5cadb5cb1a976e191be41974126f0 | 0.75 | testing_debugging_repair_refactoring | 315 | false | 2026-07-17 |
/*
* SonarScanner for MSBuild
* Copyright (C) 2016-2019 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 o... | SonarSource/sonar-msbuild-runner | Tests/SonarScanner.MSBuild.PreProcessor.Tests/RoslynAnalyzerProviderTests.cs | https://github.com/SonarSource/sonar-msbuild-runner/blob/HEAD/Tests/SonarScanner.MSBuild.PreProcessor.Tests/RoslynAnalyzerProviderTests.cs | ghcode:00004:9f0e497b2696 | mit | codeparrot/github-code | 9f0e497b26960200809786fd6c6028d068e201f780460108581c130f73fa4266 | 0.85 | testing_debugging_repair_refactoring | 3,973 | false | 2026-07-17 |
namespace ApiCheck.Test.Project.AddedOrRemoved
{
#if VERSION1
public class TypeElementsAddedOrRemoved
{
public TypeElementsAddedOrRemoved(int i) {}
public void OldMethod() {}
public int oldField;
public int OldProp { get; set; }
public delegate void Delegate();
public event Delegate OldEven... | PMudra/ApiCheck | ApiCheck.Test.Project/AddedOrRemoved/TypeElementsAddedOrRemoved.cs | https://github.com/PMudra/ApiCheck/blob/HEAD/ApiCheck.Test.Project/AddedOrRemoved/TypeElementsAddedOrRemoved.cs | ghcode:00004:0a13a42071ef | mit | codeparrot/github-code | 0a13a42071efdedd04753127f99b5c388520e4405b11575fbd3a23fa6c853fd0 | 0.75 | testing_debugging_repair_refactoring | 144 | false | 2026-07-17 |
using FluentAssertions;
using Xunit;
namespace ChangeTracking.Tests
{
public class IRevertibleChangeTrackingTests
{
[Fact]
public void AsTrackable_Should_Make_Object_Implement_IRevertibleChangeTracking()
{
var order = Helper.GetOrder();
Order trackable = order.... | joelweiss/ChangeTracking | Source/ChangeTracking.Tests/IRevertibleChangeTrackingTests.cs | https://github.com/joelweiss/ChangeTracking/blob/HEAD/Source/ChangeTracking.Tests/IRevertibleChangeTrackingTests.cs | ghcode:00004:f3c972b1b189 | mit | codeparrot/github-code | f3c972b1b189e08bd459df7d0993851f5883d5f23e12fb227ad1f96a2b6863c8 | 0.75 | testing_debugging_repair_refactoring | 93 | false | 2026-07-17 |
using Toppler.Core;
using System.Linq;
using Xunit;
namespace Toppler.Tests.Unit.Core
{
public class ProgressionTest
{
[Fact]
public void Progression_None()
{
var NbItems = 5;
var actual = Enumerable.Range(0, NbItems).Select(k => WeightFunction.Empty.Weight(k, ... | Cybermaxs/Toppler | tests/Toppler.Tests.Unit/Core/ProgressionTest.cs | https://github.com/Cybermaxs/Toppler/blob/HEAD/tests/Toppler.Tests.Unit/Core/ProgressionTest.cs | ghcode:00004:6e14ca3dcaf3 | mit | codeparrot/github-code | 6e14ca3dcaf363b3d0ac52e962ceb1e0a3b99e50ef8459ca52448d390129b120 | 0.75 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Collections.Generic;
using Algorithms.Common;
using DataStructures.Graphs;
using DataStructures.Heaps;
namespace Algorithms.Graphs
{
public class BellmanFordShortestPaths<TGraph, TVertex>
where TGraph : IGraph<TVertex>, IWeightedGraph<TVertex>
... | qdimka/C-Sharp-Algorithms | Algorithms/Graphs/BellmanFordShortestPaths.cs | https://github.com/qdimka/C-Sharp-Algorithms/blob/HEAD/Algorithms/Graphs/BellmanFordShortestPaths.cs | ghcode:00004:057eae28cc1b | mit | codeparrot/github-code | 057eae28cc1b8ad6587ec5c4a404d066bc91ea980bcf9403bbd38481933a4111 | 0.7 | testing_debugging_repair_refactoring | 1,939 | false | 2026-07-17 |
using FluentAssertions;
using Xunit;
namespace SoftwarePassion.LogBridge.UmbracoLog4Net.Tests.Unit.UmbracoLog4NetWrapperTests
{
public class When_logging_debug_messages
: SoftwarePassion.LogBridge.Tests.Shared.When_logging_debug_messages
{
public When_logging_debug_messages() : base(n... | TorbenRahbekKoch/LogBridge | Source/LogBridge.UmbracoLog4Net.Tests.Unit/UmbracoLog4NetWrapperTests/When_logging_debug_messages.cs | https://github.com/TorbenRahbekKoch/LogBridge/blob/HEAD/Source/LogBridge.UmbracoLog4Net.Tests.Unit/UmbracoLog4NetWrapperTests/When_logging_debug_messages.cs | ghcode:00004:4e226aaa6fff | mit | codeparrot/github-code | 4e226aaa6fff1facda53c7c584bd32bb682d63e8b92969efe119b7f01f5cdcc9 | 0.75 | testing_debugging_repair_refactoring | 103 | false | 2026-07-17 |
using Swetugg.Tix.Activity.Commands;
using Swetugg.Tix.Activity.Events;
using Swetugg.Tix.Tests.Helpers;
using System;
using System.Linq;
using Xunit;
using Xunit.Abstractions;
namespace Swetugg.Tix.Activity.Domain.Tests
{
public class when_reserving_seat_on_unlimited_ticket_type_on_full_activity : with_activity
... | andlju/swetugg-tix | test/Swetugg.Tix.Activity.Domain.Tests/when_reserving_seat_on_unlimited_ticket_type_on_full_activity.cs | https://github.com/andlju/swetugg-tix/blob/HEAD/test/Swetugg.Tix.Activity.Domain.Tests/when_reserving_seat_on_unlimited_ticket_type_on_full_activity.cs | ghcode:00004:2f7ec81af642 | mit | codeparrot/github-code | 2f7ec81af6426038489d8aa3ac694adcf3c8b2d69c1c7869449e392db41bfea9 | 0.6 | testing_debugging_repair_refactoring | 420 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Hapil.Expressions;
using Hapil.Members;
using Hapil.Writers;
using NUnit.Framework;
// ReSharper disable ConvertToLambdaExpression
namespace Hapil.UnitTests.Writers
{
[TestFixture]
public class DecorationClassWriterTests : ClassPerTestCaseFixtureBase
{
[Test]... | felix-b/Hapil | Source/Hapil.UnitTests/Writers/DecorationClassWriterTests.cs | https://github.com/felix-b/Hapil/blob/HEAD/Source/Hapil.UnitTests/Writers/DecorationClassWriterTests.cs | ghcode:00004:79c868e01139 | mit | codeparrot/github-code | 79c868e011393cc5b4d32365f514df5b95848afbf377dc7828648fc608d374b4 | 0.85 | testing_debugging_repair_refactoring | 1,897 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using SFA.DAS.EmployerFinance.Infrastructure.OuterApiRequests;
using SFA.DAS.EmployerFinance.Infrastructure.OuterApiResponses;
using SFA.DAS.EmployerFinance.Interfaces.OuterApi;
using SFA.DAS.EmployerFinance.Services;... | SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerFinance.UnitTests/Services/ProviderServiceTests/ProviderServiceRemote/WhenIGetAProvider.cs | https://github.com/SkillsFundingAgency/das-employerapprenticeshipsservice/blob/HEAD/src/SFA.DAS.EmployerFinance.UnitTests/Services/ProviderServiceTests/ProviderServiceRemote/WhenIGetAProvider.cs | ghcode:00004:00d3ffa20dcf | mit | codeparrot/github-code | 00d3ffa20dcf651ec5ee8818ed1bc8a3c5daac5ba788d3ef4464b190e7d98be6 | 0.85 | testing_debugging_repair_refactoring | 898 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Ical.Net.CalendarComponents;
using Ical.Net.DataTypes;
using Ical.Net.Serialization;
using NUnit.Framework;
namespace Ical.Net.CoreUnitTests
{
public class VTimeZoneTest
{
[Test, Category("VTimeZone")]
public void InvalidTzIdShouldThrowExce... | rianjs/ical.net | src/Ical.Net.CoreUnitTests/VTimeZoneTest.cs | https://github.com/rianjs/ical.net/blob/HEAD/src/Ical.Net.CoreUnitTests/VTimeZoneTest.cs | ghcode:00004:42558a413359 | mit | codeparrot/github-code | 42558a4133591543ac3fb4bc604b8011eb57595e2532728ce27107ff7117cbdc | 0.7 | testing_debugging_repair_refactoring | 3,567 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Pilipala.FlightSimulator.Properties;
namespace Pilipala.FlightSimulator.Tests
{
[TestFixture]
public class CityTests
{
[Test]
public void CanCreateCity()
{
var city = new City("Bristol\t(GMT) Dublin, Edinburgh, Lisbon, London... | AnturGyffrous/pilipala-flightsimulator | Pilipala.FlightSimulator.Tests/CityTests.cs | https://github.com/AnturGyffrous/pilipala-flightsimulator/blob/HEAD/Pilipala.FlightSimulator.Tests/CityTests.cs | ghcode:00004:776975920c14 | mit | codeparrot/github-code | 776975920c14f823cd9198bd73f01652e4543a1d45294a7e20da1378d90d5936 | 0.75 | testing_debugging_repair_refactoring | 691 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using CommonCache.Test.Common;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
namespace CommonCache.Test.AdalV4
{
public static cla... | AzureAD/microsoft-authentication-library-for-dotnet | tests/CacheCompat/CommonCache.Test.AdalV4/Program.cs | https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/HEAD/tests/CacheCompat/CommonCache.Test.AdalV4/Program.cs | ghcode:00004:ff2513c02580 | mit | codeparrot/github-code | ff2513c0258051a10b59428ebaf81e16af277e9836d88bff7fa85d0bb165fab8 | 0.85 | testing_debugging_repair_refactoring | 514 | false | 2026-07-17 |
using Jeffijoe.MessageFormat.Formatting.Formatters;
using Xunit;
namespace Jeffijoe.MessageFormat.Tests.MetadataGenerator
{
public class PluralContextTests
{
[Theory]
[InlineData("-12312.213213", 12312.213213)]
[InlineData("12312.213213", 12312.213213)]
[InlineData("-12312", 12... | jeffijoe/messageformat.net | src/Jeffijoe.MessageFormat.Tests/MetadataGenerator/PluralContextTests.cs | https://github.com/jeffijoe/messageformat.net/blob/HEAD/src/Jeffijoe.MessageFormat.Tests/MetadataGenerator/PluralContextTests.cs | ghcode:00004:3a8d0870931b | mit | codeparrot/github-code | 3a8d0870931b2bd5231e1601989aade8e91ea2aff4a2115a60a3f40e1167720c | 0.85 | testing_debugging_repair_refactoring | 1,046 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using RankOne.Helpers;
using RankOne.Interfaces;
using RankOne.Services;
using System;
namespace RankOne.Tests.Services
{
[TestClass]
public class UrlStatusServiceTest
{
private Mock<IWebRequestHelper> _webRequestHelperMock;
pr... | markwemekamp/RankOne-Umbraco-SEO-Tool | src/RankOne.Tests/Services/UrlStatusServiceTest.cs | https://github.com/markwemekamp/RankOne-Umbraco-SEO-Tool/blob/HEAD/src/RankOne.Tests/Services/UrlStatusServiceTest.cs | ghcode:00004:977b129ed01b | mit | codeparrot/github-code | 977b129ed01bc3bd1e1c224814bf0d4c057966867c4f84890775e70966d31f5b | 0.7 | testing_debugging_repair_refactoring | 520 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using LanguageExt;
using static LanguageExt.Prelude;
using Xunit;
using Newtonsoft.Json;
using System.Runtime.Serialization;
namespace LanguageExt.Tests
{
public class SerialisationTests
{
[Fact]
public void MapTest()
{
v... | StefanBertels/language-ext | LanguageExt.Tests/SerialisationTests.cs | https://github.com/StefanBertels/language-ext/blob/HEAD/LanguageExt.Tests/SerialisationTests.cs | ghcode:00004:1d8de05dd96f | mit | codeparrot/github-code | 1d8de05dd96f59596615e3f2481e2a04504e761e16de95789f2d2f379bf5a2af | 0.75 | testing_debugging_repair_refactoring | 1,293 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using System.Linq;
namespace EndToEndMailCourse._03
{
[TestFixture]
public class Workshop03Tests
{
private string testUrl = "https://suvroc.github.io/selenium-mail-course/03/workshop.html"... | suvroc/selenium-mail-course | EndToEndMailCourse/EndToEndMailCourse/03/Workshop03Tests.cs | https://github.com/suvroc/selenium-mail-course/blob/HEAD/EndToEndMailCourse/EndToEndMailCourse/03/Workshop03Tests.cs | ghcode:00004:db23c2494ad6 | mit | codeparrot/github-code | db23c2494ad6adb89432e23554112ff848164d5c4e8730f5e2ed224daa86b619 | 0.75 | testing_debugging_repair_refactoring | 362 | false | 2026-07-17 |
using System.Threading.Tasks;
using Reinforced.Typings.Fluent;
using Xunit;
namespace Reinforced.Typings.Tests.SpecificCases
{
public record Person(string FirstName, string LastName);
public partial class SpecificTestCases
{
[Fact]
public void Records()
{
const string... | reinforced/Reinforced.Typings | Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.Records.cs | https://github.com/reinforced/Reinforced.Typings/blob/HEAD/Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.Records.cs | ghcode:00004:ffc953b02f99 | mit | codeparrot/github-code | ffc953b02f9938ff8e302a845aae2a7c6cc1538e6141bee0f7118694f4070fd0 | 0.6 | testing_debugging_repair_refactoring | 144 | false | 2026-07-17 |
using System;
using Firestorm.Testing.Http.Tests;
using JetBrains.Annotations;
using Xunit;
namespace Firestorm.AspNetCore2.IntegrationTests
{
[UsedImplicitly]
public class StandardStartupIntegratedTests : BasicIntegrationTestsBase, IClassFixture<IntegratedFixture>
{
public StandardStartupIntegrat... | connellw/Firestorm | tests/Firestorm.AspNetCore2.IntegrationTests/StandardStartupIntegratedTests.cs | https://github.com/connellw/Firestorm/blob/HEAD/tests/Firestorm.AspNetCore2.IntegrationTests/StandardStartupIntegratedTests.cs | ghcode:00004:83d1df8693c6 | mit | codeparrot/github-code | 83d1df8693c6efd7c4c1842c21c68904606d24e992f74d11396d87633738d8d7 | 0.75 | testing_debugging_repair_refactoring | 150 | false | 2026-07-17 |
/* Copyright (C) 2008-2017 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov
*
* 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 t... | alphaleonis/AlphaFS | tests/AlphaFS.UnitTest/AlphaFS Device Class/AlphaFS Volume Class/AlphaFS_Volume.GetUniqueVolumeNameForPath.cs | https://github.com/alphaleonis/AlphaFS/blob/HEAD/tests/AlphaFS.UnitTest/AlphaFS Device Class/AlphaFS Volume Class/AlphaFS_Volume.GetUniqueVolumeNameForPath.cs | ghcode:00004:a0285b0bbb1a | mit | codeparrot/github-code | a0285b0bbb1ad4500a6289b9cc16532b58f50bcb6165c187fbe40d23024b3f63 | 0.7 | testing_debugging_repair_refactoring | 758 | 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.Linq;
using System... | AmadeusW/roslyn | src/Features/Core/Portable/SolutionCrawler/WorkCoordinator.cs | https://github.com/AmadeusW/roslyn/blob/HEAD/src/Features/Core/Portable/SolutionCrawler/WorkCoordinator.cs | ghcode:00004:2bd48fbced5a | apache-2.0 | codeparrot/github-code | 2bd48fbced5a726b629ebed351ebda13aa08ad470ca27392cdab5d3973ebbb24 | 0.85 | testing_debugging_repair_refactoring | 6,428 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using SecurityWebSite;
using Xunit;
namespace Microsoft.AspNetCore.Mvc.FunctionalTests
{
pu... | aspnet/AspNetCore | src/Mvc/test/Mvc.FunctionalTests/AntiforgeryAuthTests.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/Mvc.FunctionalTests/AntiforgeryAuthTests.cs | ghcode:00004:79ca1b2ef498 | apache-2.0 | codeparrot/github-code | 79ca1b2ef498d325cc4fd157d9e77b0b73902748b3be65621ebacfa0d2c1af5f | 0.95 | testing_debugging_repair_refactoring | 422 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ... | StefanoRaggi/Lean | Tests/Common/Util/ExtensionsTests.cs | https://github.com/StefanoRaggi/Lean/blob/HEAD/Tests/Common/Util/ExtensionsTests.cs | ghcode:00004:5e9fe1eed9f2 | apache-2.0 | codeparrot/github-code | 5e9fe1eed9f2bc8b3331c56336092c32204eff2fcfa197a70eebce996a454712 | 0.85 | testing_debugging_repair_refactoring | 12,708 | 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.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
u... | Shiney/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenDeconstructTests.cs | https://github.com/Shiney/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenDeconstructTests.cs | ghcode:00004:3e923054ef08 | apache-2.0 | codeparrot/github-code | 3e923054ef08fab33703348260bc0ffea16116a729237c3846dcd8c8e5d00e14 | 0.75 | testing_debugging_repair_refactoring | 45,754 | 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.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
us... | aelij/roslyn | src/Compilers/CSharp/Portable/Binder/LocalScopeBinder.cs | https://github.com/aelij/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/LocalScopeBinder.cs | ghcode:00004:cdf6f86c5075 | apache-2.0 | codeparrot/github-code | cdf6f86c5075dad13b4406306500421e7f4d5ad22fe5af036d27190221f33ac4 | 0.85 | testing_debugging_repair_refactoring | 3,624 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using nl.fhict.IntelliCloud.Common.DataTransfer;
using nl.fhict.IntelliCloud.Data.IntelliCloud.Context;
using nl.fhict.IntelliCloud.Data.IntelliCloud.Model;
using System;
using System.Linq;
using System.Data.Entity;
namespace nl.fhict.IntelliCloud.Service.Integratio... | fhict-Intellicloud/nl.fhict.intellicloud.backend | IntelliCloud/IntelliCloud.Service.IntegrationTest/ReviewServiceTest.cs | https://github.com/fhict-Intellicloud/nl.fhict.intellicloud.backend/blob/HEAD/IntelliCloud/IntelliCloud.Service.IntegrationTest/ReviewServiceTest.cs | ghcode:00004:2c5635a65d99 | apache-2.0 | codeparrot/github-code | 2c5635a65d9914a5e0276b166e3d2b9957ca95b737ba21c3cacfbac6481ae11b | 0.7 | testing_debugging_repair_refactoring | 1,571 | false | 2026-07-17 |
/*
* Copyright 2012-2016 The Pkcs11Interop Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | thearkhelist/Pkcs11Interop | src/Pkcs11Interop/Pkcs11InteropTests/LowLevelAPI80/_06_SessionTest.cs | https://github.com/thearkhelist/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop/Pkcs11InteropTests/LowLevelAPI80/_06_SessionTest.cs | ghcode:00004:f795c4869b02 | apache-2.0 | codeparrot/github-code | f795c4869b02bd8723801626199b9a097dba1058ffab0399f5d107be335ad982 | 0.85 | testing_debugging_repair_refactoring | 1,331 | false | 2026-07-17 |
using Fan.Helpers;
using Fan.Membership;
using System.Collections.Generic;
using Xunit;
namespace Fan.Tests.Helpers
{
/// <summary>
/// Test for <see cref="Serializer"/> class.
/// </summary>
public class SerializerTest
{
[Fact]
public async void Serializer_Can_Serialize_Object_To_... | FanrayMedia/Fanray | test/Fan.Tests/Helpers/SerializerTest.cs | https://github.com/FanrayMedia/Fanray/blob/HEAD/test/Fan.Tests/Helpers/SerializerTest.cs | ghcode:00004:a8304172cbb4 | apache-2.0 | codeparrot/github-code | a8304172cbb40dbb231e59f7c75aee640dc32673c65cb96763155e5c4d107ecf | 0.7 | testing_debugging_repair_refactoring | 188 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ScheduledActivitySourceFixture.cs" company="Rare Crowds Inc">
// Copyright 2012-2013 Rare Crowds, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in complianc... | chinnurtb/OpenAdStack | Scheduling/ScheduledActivityUnitTests/ScheduledActivitySourceFixture.cs | https://github.com/chinnurtb/OpenAdStack/blob/HEAD/Scheduling/ScheduledActivityUnitTests/ScheduledActivitySourceFixture.cs | ghcode:00004:a76613c21b80 | apache-2.0 | codeparrot/github-code | a76613c21b8046e839294a825ea85081523f9afd1dd94dfceaf88ae9835928ce | 0.7 | testing_debugging_repair_refactoring | 2,425 | false | 2026-07-17 |
// SampSharp.UI
// Copyright 2016 Tim Potze
//
// 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 la... | ikkentim/SampSharp-UI | src/SampSharp.UI/TextDrawControl.cs | https://github.com/ikkentim/SampSharp-UI/blob/HEAD/src/SampSharp.UI/TextDrawControl.cs | ghcode:00005:736998b9e3b5 | apache-2.0 | codeparrot/github-code | 736998b9e3b5ad29afbef6dbdaa5d8da08a6aae6471257e8512fac6531175426 | 0.7 | testing_debugging_repair_refactoring | 2,102 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WizardsChessTest.Mocks.Movement.Drv;
using WizardsChess.Movement;
using WizardsChess.Movement.Drv;
using System.Threading.Tasks;
namespace WizardsChessTest.Movement
{
[TestClass]
public class MotorLocatorTest
{
[TestMethod]
public void Tes... | MorganR/wizards-chess | WizardsChess/WizardsChessTest/Movement/Motor/MotorLocatorTest.cs | https://github.com/MorganR/wizards-chess/blob/HEAD/WizardsChess/WizardsChessTest/Movement/Motor/MotorLocatorTest.cs | ghcode:00005:503097a79e2d | apache-2.0 | codeparrot/github-code | 503097a79e2d47d88630062a0ea7814a5a83a1c3324508aaac68b04585c0d462 | 0.6 | testing_debugging_repair_refactoring | 540 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Enyim.Caching.Memcached;
using Enyim.Caching.Configuration;
using Enyim.Caching;
using System.Threading;
using Xunit;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace MemcachedTest
... | DukeCheng/EnyimMemcachedCore | MemcachedTest/FailurePolicyTest.cs | https://github.com/DukeCheng/EnyimMemcachedCore/blob/HEAD/MemcachedTest/FailurePolicyTest.cs | ghcode:00005:870623cf5132 | apache-2.0 | codeparrot/github-code | 870623cf513264f92646a41672fa8793522cd2cfe8ab83ee8c05f4c43be76ece | 0.6 | testing_debugging_repair_refactoring | 589 | 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.Diagno... | tannergooding/roslyn | src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_ForEachStatement.cs | https://github.com/tannergooding/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_ForEachStatement.cs | ghcode:00005:c714794d0a56 | apache-2.0 | codeparrot/github-code | c714794d0a568e3a7cb9177203465c2f5cce67e988fab4c8222c9389df34e857 | 0.7 | testing_debugging_repair_refactoring | 10,791 | false | 2026-07-17 |
using System;
using System.IO;
namespace SoundLibrary.Wave
{
/// <summary>
/// RIFF Wave 形式のファイルから音声データを読み出す。
/// </summary>
public class WaveReader : IDisposable
{
BinaryReader reader;
FormatHeader header;
uint dataLength = 0;
public WaveReader(){}
/// <summary>
/// ファイル名を指定して開く。
/// </summary>
... | ufcpp/UfcppSample | Chapters/Old/SoundLibrary/Wave/WaveReader.cs | https://github.com/ufcpp/UfcppSample/blob/HEAD/Chapters/Old/SoundLibrary/Wave/WaveReader.cs | ghcode:00005:86c260f41864 | apache-2.0 | codeparrot/github-code | 86c260f41864dff571e9500a2b66490864ab1f96ce6c375188f9d6b48ac01a95 | 0.7 | testing_debugging_repair_refactoring | 5,453 | false | 2026-07-17 |
namespace StripeTests
{
using System;
using System.Net;
using System.Net.Http;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Moq.Protected;
using Stripe;
using Xunit;
public class NetworkRetriesTest : BaseStripeTest
... | stripe/stripe-dotnet | src/StripeTests/Functional/NetworkRetriesTest.cs | https://github.com/stripe/stripe-dotnet/blob/HEAD/src/StripeTests/Functional/NetworkRetriesTest.cs | ghcode:00005:b6c822c6c492 | apache-2.0 | codeparrot/github-code | b6c822c6c4929a0135b838e5a76706181228a28b5f153390c1bc67232ebbf5ad | 0.6 | testing_debugging_repair_refactoring | 1,532 | false | 2026-07-17 |
// Copyright 2011-2013 Anodyne.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... | Kostassoid/Anodyne | src/specs/Anodyne-DataAccess-Specs/DataAccessContextSpecs.cs | https://github.com/Kostassoid/Anodyne/blob/HEAD/src/specs/Anodyne-DataAccess-Specs/DataAccessContextSpecs.cs | ghcode:00005:3e3cafba1bf6 | apache-2.0 | codeparrot/github-code | 3e3cafba1bf66a602e2484d004266d5bd139cb8316bf964e6a0c9f49e5e4f365 | 0.7 | testing_debugging_repair_refactoring | 1,109 | false | 2026-07-17 |
using System;
using System.Collections.Concurrent;
using System.Threading;
using Akka.Actor;
using Akka.Actor.Internal;
using Akka.Configuration;
using Akka.Event;
using Akka.TestKit.Internal;
using Akka.Util;
using Akka.Util.Internal;
namespace Akka.TestKit
{
/// <summary>
/// <remarks>Unless you're creating... | forki/akka.net | src/core/Akka.TestKit/TestKitBase.cs | https://github.com/forki/akka.net/blob/HEAD/src/core/Akka.TestKit/TestKitBase.cs | ghcode:00005:cf92e944f7f2 | apache-2.0 | codeparrot/github-code | cf92e944f7f259432765e276285a02e3622bc1c5951d1a3da3daa51549cf11e6 | 0.85 | testing_debugging_repair_refactoring | 3,778 | false | 2026-07-17 |
using Okra.DependencyInjection;
using Okra.Tests.Mocks;
using Xunit;
namespace Okra.Tests.DependencyInjection
{
public class ServiceProviderExtensionsFixture
{
[Fact]
public void InjectService_SetsValueInServiceInjector()
{
var service = new MockService();
var s... | OkraFramework/Okra.Core | test/Okra.Core.Tests/DependencyInjection/ServiceProviderExtensionsFixture.cs | https://github.com/OkraFramework/Okra.Core/blob/HEAD/test/Okra.Core.Tests/DependencyInjection/ServiceProviderExtensionsFixture.cs | ghcode:00005:24844a5f2e47 | apache-2.0 | codeparrot/github-code | 24844a5f2e47493f576db195181bc65327c353199a5d4ad30d9bb3ca2171c937 | 0.6 | testing_debugging_repair_refactoring | 228 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// Symbooglix
//
//
// Copyright 2014-2017 Daniel Liew
//
// This file is licensed under the MIT license.
// See LICENSE.txt for details.
//------------------------------------------------------------------... | symbooglix/symbooglix | src/Symbooglix/Executor/Executor.cs | https://github.com/symbooglix/symbooglix/blob/HEAD/src/Symbooglix/Executor/Executor.cs | ghcode:00005:6b2dcc13357b | bsd-2-clause | codeparrot/github-code | 6b2dcc13357b76aaed511326d139a03b609fe5996d6cf92c0f89d4c517a8b0b1 | 0.5 | testing_debugging_repair_refactoring | 15,097 | false | 2026-07-17 |
using System.Xml.Linq;
using DataExplorer.Domain.Sources;
using DataExplorer.Persistence.Common.Serializers;
using DataExplorer.Persistence.Projects;
using DataExplorer.Persistence.Sources.Serializers;
using DataExplorer.Persistence.Tests.Common.Serializers;
using DataExplorer.Persistence.Tests.Projects;
using NUnit.F... | dataexplorer/dataexplorer | Persistence.Tests/Sources/Serializers/SourceSerializerTests.cs | https://github.com/dataexplorer/dataexplorer/blob/HEAD/Persistence.Tests/Sources/Serializers/SourceSerializerTests.cs | ghcode:00005:8cbb8bc2f00b | bsd-3-clause | codeparrot/github-code | 8cbb8bc2f00b5038ae9b64f39f601e14e4e6f41558e9792b9ddf4ec93d0264f9 | 0.75 | testing_debugging_repair_refactoring | 285 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Assman
{
[TestFixture]
public class TestVirtualPathResolver
{
private const string _appPath = "C:\\MyTestDir\\";
private IPathResolver _resolver = new VirtualPathResolver(_appPath);
[Test]
public void MapsApplicationPath()
{
string mappedP... | andyalm/assman | src/Assman.UnitTests/TestVirtualPathResolver.cs | https://github.com/andyalm/assman/blob/HEAD/src/Assman.UnitTests/TestVirtualPathResolver.cs | ghcode:00005:d8b352064888 | bsd-3-clause | codeparrot/github-code | d8b3520648880a4ba9653df65efe4caa852dfb8588429647841e16320625354b | 0.75 | testing_debugging_repair_refactoring | 163 | false | 2026-07-17 |
using NSpec;
using Shouldly;
using System;
namespace SampleSpecs
{
class ParentSpec : nspec
{
protected SampleSystem.SystemUnderTest systemUnderTest;
void before_each()
{
systemUnderTest = new SampleSystem.SystemUnderTest();
}
[Tag("Tag-1A Tag-1B")]
... | BrainCrumbz/NSpec.VsAdapter | sln/test/Samples/test/SampleSpecs/desc_SystemUnderTest.cs | https://github.com/BrainCrumbz/NSpec.VsAdapter/blob/HEAD/sln/test/Samples/test/SampleSpecs/desc_SystemUnderTest.cs | ghcode:00005:7fd95516ff77 | mit | codeparrot/github-code | 7fd95516ff7766dd38874b6b69a866a621784819b024204e7024d009e05f3bd4 | 0.95 | testing_debugging_repair_refactoring | 464 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.T... | abock/roslyn | src/EditorFeatures/Test/SolutionCrawler/WorkCoordinatorTests.cs | https://github.com/abock/roslyn/blob/HEAD/src/EditorFeatures/Test/SolutionCrawler/WorkCoordinatorTests.cs | ghcode:00005:413e3765b171 | mit | codeparrot/github-code | 413e3765b17188e2b502f7b1fa96174bda6f756b05cf19dcb7587016adab0cbf | 0.82 | testing_debugging_repair_refactoring | 14,605 | false | 2026-07-17 |
using MediaBrowser.Model.Entities;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace Emby.Naming.Tests.Video
{
[TestClass]
public class VideoResolverTests : BaseVideoTest
{
[TestMethod]
public void TestSimpleFile()
{
var parser = GetParser();
... | MediaBrowser/MediaBrowser.Naming | Emby.Naming.Tests/Video/VideoResolverTests.cs | https://github.com/MediaBrowser/MediaBrowser.Naming/blob/HEAD/Emby.Naming.Tests/Video/VideoResolverTests.cs | ghcode:00005:93fd79deb089 | mit | codeparrot/github-code | 93fd79deb0894f747f6e85c0f7bb3d2216ea2662496a9506cb60bc4573899774 | 0.85 | testing_debugging_repair_refactoring | 2,061 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2015 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... | nivanov1984/nunit | src/NUnitFramework/nunitlite/AutoRun.cs | https://github.com/nivanov1984/nunit/blob/HEAD/src/NUnitFramework/nunitlite/AutoRun.cs | ghcode:00005:f5fc9fc90245 | mit | codeparrot/github-code | f5fc9fc902456be1ca2ae090d9846c6717ebdf915b6c59151a62d8cb712e01c3 | 0.7 | testing_debugging_repair_refactoring | 842 | 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 ... | kainazzzo/FRBInput | Apache.NMS.Stomp/src/test/csharp/Util/MessageDispatchChannelTest.cs | https://github.com/kainazzzo/FRBInput/blob/HEAD/Apache.NMS.Stomp/src/test/csharp/Util/MessageDispatchChannelTest.cs | ghcode:00005:931b5b1ca10c | mit | codeparrot/github-code | 931b5b1ca10c01b903bc1f5f40d1f69c4dbebcde3ec5a9b0d5b0efda45d98110 | 0.85 | testing_debugging_repair_refactoring | 1,524 | false | 2026-07-17 |
namespace Gu.State.Tests.Internals
{
using NUnit.Framework;
public class ReferencePairTests
{
[Test]
public void ReturnsSame()
{
var o1 = new object();
var o2 = new object();
using var pair1 = ReferencePair.GetOrCreate(o1, o2);
using ... | JohanLarsson/Gu.ChangeTracking | Gu.State.Tests/Internals/ReferencePairTests.cs | https://github.com/JohanLarsson/Gu.ChangeTracking/blob/HEAD/Gu.State.Tests/Internals/ReferencePairTests.cs | ghcode:00005:6fb352c96960 | mit | codeparrot/github-code | 6fb352c96960f2d55aba9d74e6282c4158b8daf757203152b5d5cf665fd5113b | 0.75 | testing_debugging_repair_refactoring | 351 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Akka.Configuration;
using Akka.Routing;
using Akka.Util;
using Akka.Util.Internal;
namespace Akka.Actor
{
public class Deployer
{
private readonly Config _default;
private readonly Settings _sett... | rodrigovidal/akka.net | src/core/Akka/Actor/Deployer.cs | https://github.com/rodrigovidal/akka.net/blob/HEAD/src/core/Akka/Actor/Deployer.cs | ghcode:00005:cb65df54cd98 | apache-2.0 | codeparrot/github-code | cb65df54cd9823e7410ee23aa9a0a196d8cd33ac2d96ad7e88879a7ae3dd4d2b | 0.75 | testing_debugging_repair_refactoring | 710 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Text.Json;
using Azure.Security.KeyVault.Tests;
using NUnit.Framework;
namespace Azure.Security.KeyVault.Certificates.Tests
{
public class CertificateIssuerTests
{
[Test]
... | markcowl/azure-sdk-for-net | sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/CertificateIssuerTests.cs | https://github.com/markcowl/azure-sdk-for-net/blob/HEAD/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/CertificateIssuerTests.cs | ghcode:00005:34531ce08caa | apache-2.0 | codeparrot/github-code | 34531ce08caa1562046d33e2762823331db77ca557667d5898d412eb0ca1dd0c | 0.95 | testing_debugging_repair_refactoring | 1,156 | 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 ... | antony-liu/npoi | testcases/main/SS/UserModel/TestFractionFormat.cs | https://github.com/antony-liu/npoi/blob/HEAD/testcases/main/SS/UserModel/TestFractionFormat.cs | ghcode:00005:e18ecafe931d | apache-2.0 | codeparrot/github-code | e18ecafe931d9669fa486e381c15b68107d5e6163146d1e6f24213b844833d20 | 0.85 | testing_debugging_repair_refactoring | 722 | false | 2026-07-17 |
using CodeCracker.CSharp.Design;
using Microsoft.CodeAnalysis;
using Xunit;
namespace CodeCracker.Test.CSharp.Design
{
public class UseInvokeMethodToFireEventTests : CodeFixVerifier<UseInvokeMethodToFireEventAnalyzer, UseInvokeMethodToFireEventCodeFixProvider>
{
[Fact]
public async void Warnin... | ElemarJR/code-cracker | test/CSharp/CodeCracker.Test/Design/UseInvokeMethodToFireEventTests.cs | https://github.com/ElemarJR/code-cracker/blob/HEAD/test/CSharp/CodeCracker.Test/Design/UseInvokeMethodToFireEventTests.cs | ghcode:00005:4ae6efe3e306 | apache-2.0 | codeparrot/github-code | 4ae6efe3e306e7845337f44fcb4c645dcff7b85aef0418172416ca899e28f179 | 0.75 | testing_debugging_repair_refactoring | 2,022 | false | 2026-07-17 |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using System;
using System.Threading.Tasks;
using Microsoft.Azure.Zumo.Win8.Test;
using Microsoft... | xamarin/azure-mobile-services | sdk/windows/test/Microsoft.Azure.Zumo.Windows.CSharp.Test/Tests/Functional/DataSourceTest.cs | https://github.com/xamarin/azure-mobile-services/blob/HEAD/sdk/windows/test/Microsoft.Azure.Zumo.Windows.CSharp.Test/Tests/Functional/DataSourceTest.cs | ghcode:00005:14bd46101ea9 | apache-2.0 | codeparrot/github-code | 14bd46101ea96841ece5bfbd2ec379bda4db4a63541f6c50a6bc72753f042541 | 0.95 | testing_debugging_repair_refactoring | 387 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using Moq;
using Prism.Navigation;
using Prism.Regions;
using Prism.Regions.Navigation;
using Xunit;
namespace Prism.Forms.Regions.Tests
{
public class RegionManagerRequestNavigateFixture
{
const string region = "Region";
const... | karlfl/Prism | tests/Forms/Prism.Forms.Regions.Tests/Tests/RegionManagerRequestNavigateFixture.cs | https://github.com/karlfl/Prism/blob/HEAD/tests/Forms/Prism.Forms.Regions.Tests/Tests/RegionManagerRequestNavigateFixture.cs | ghcode:00005:a87ba10be98c | apache-2.0 | codeparrot/github-code | a87ba10be98ca5485c194ce341f0166691b200a30c5de8b06933d574029a46ab | 0.85 | testing_debugging_repair_refactoring | 1,068 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using Mic... | slozier/ironpython2 | Src/IronPython/Runtime/Operations/ArrayOps.cs | https://github.com/slozier/ironpython2/blob/HEAD/Src/IronPython/Runtime/Operations/ArrayOps.cs | ghcode:00005:20d8c257b8bb | apache-2.0 | codeparrot/github-code | 20d8c257b8bb4710d6348544b899313e725cc05a9e8baf4222dc8efad9896590 | 0.7 | testing_debugging_repair_refactoring | 3,015 | false | 2026-07-17 |
//
// Copyright (c) 2004-2017 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// 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 s... | ie-zero/NLog | tests/NLog.UnitTests/LayoutRenderers/DateTests.cs | https://github.com/ie-zero/NLog/blob/HEAD/tests/NLog.UnitTests/LayoutRenderers/DateTests.cs | ghcode:00005:0ec1c51c211c | bsd-3-clause | codeparrot/github-code | 0ec1c51c211cd68fecd694ce04c4f2897b5f71c0e5d7514baf7a2dcad7a7451d | 0.85 | testing_debugging_repair_refactoring | 992 | false | 2026-07-17 |
using MbUnit.Framework;
using Subtext.Framework.Util;
namespace UnitTests.Subtext.Framework.Util
{
/// <summary>
/// Unit tests for the <see cref="KeyWords"/> class.
/// </summary>
[TestFixture]
public class KeywordsTests
{
}
} | jeuvin/Subtext | src/UnitTests.Subtext/Framework/Util/KeywordsTests.cs | https://github.com/jeuvin/Subtext/blob/HEAD/src/UnitTests.Subtext/Framework/Util/KeywordsTests.cs | ghcode:00005:0ad443cfbd7c | mit | codeparrot/github-code | 0ad443cfbd7c9dfea050e0cba50f24aa764e5976fd62b90de7999e37258d99d5 | 0.85 | testing_debugging_repair_refactoring | 60 | false | 2026-07-17 |
namespace Volante
{
using System;
using System.Collections;
public class TestIndex4 : ITest
{
public class StringInt : Persistent
{
public string s;
public int no;
public StringInt()
{
}
public StringI... | kjk/volante | tests/Tests/TestIndex4.cs | https://github.com/kjk/volante/blob/HEAD/tests/Tests/TestIndex4.cs | ghcode:00005:bd2f2ee47c5d | mit | codeparrot/github-code | bd2f2ee47c5d1afc885dbac296462375423fc7a780c4fae158a545b8d867f475 | 0.85 | testing_debugging_repair_refactoring | 425 | 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.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
namespace Microsoft.CodeAnalysis.CSharp
{
/// <summary>
/// Information to be... | jcouv/roslyn | src/Compilers/CSharp/Portable/Binder/ForEachEnumeratorInfo.cs | https://github.com/jcouv/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/ForEachEnumeratorInfo.cs | ghcode:00005:8e670f181ded | apache-2.0 | codeparrot/github-code | 8e670f181ded575e3ef1f8b02e20c56463afaa816ae4ac4912115b9a7449baee | 0.7 | testing_debugging_repair_refactoring | 939 | false | 2026-07-17 |
using System.Collections.Generic;
using NSubstitute;
using NUnit.Framework;
using SbManager.BusHelpers;
using SbManager.InternalCommandHandlers;
using SbManager.Models.ViewModels;
using TestStack.BDDfy;
namespace SbManager.Tests.InternalCommandHandlers
{
[TestFixture]
public class RefreshCachedOverviewCommand... | droyad/SbManager | src/SbManager.Tests/InternalCommandHandlers/RefreshCachedOverviewCommandHandlerTests.cs | https://github.com/droyad/SbManager/blob/HEAD/src/SbManager.Tests/InternalCommandHandlers/RefreshCachedOverviewCommandHandlerTests.cs | ghcode:00005:0c781dc5fd1e | apache-2.0 | codeparrot/github-code | 0c781dc5fd1ece1cc344f03002188c23346811142dac56867eed94f0a8a3e458 | 0.75 | testing_debugging_repair_refactoring | 334 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.