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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// 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 Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Poole... | xasx/roslyn | src/Compilers/CSharp/Portable/Emitter/Model/GenericTypeInstanceReference.cs | https://github.com/xasx/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Emitter/Model/GenericTypeInstanceReference.cs | ghcode:00178:b981e4c92dff | apache-2.0 | codeparrot/github-code | b981e4c92dff05528e1c735c65a5f9389ce019591ae6a8a9a667e5a002e7c13c | 0.85 | testing_debugging_repair_refactoring | 480 | false | 2026-07-17 |
// Copyright (c) 2017 Jan Pluskal
//
//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 ... | nesfit/NetfoxDetective | Framework/ApplicationRecognizers/AppIdent.Tests/Features/Bases/MaxSegmentSizeBaseTests.cs | https://github.com/nesfit/NetfoxDetective/blob/HEAD/Framework/ApplicationRecognizers/AppIdent.Tests/Features/Bases/MaxSegmentSizeBaseTests.cs | ghcode:00178:9dc06bebc59a | apache-2.0 | codeparrot/github-code | 9dc06bebc59adc8816b9e04684f0c26d556f1d8086c27a13034f09e6e42cb13f | 0.85 | testing_debugging_repair_refactoring | 584 | false | 2026-07-17 |
using BEPUphysics.Entities.Prefabs;
using BEPUutilities;
using BEPUphysics.CollisionShapes;
using BEPUutilities.DataStructures;
using Microsoft.Xna.Framework.Graphics;
using BEPUphysics.BroadPhaseEntries;
using System;
using BEPUphysics.CollisionShapes.ConvexShapes;
using System.Collections.Generic;
using BEP... | Anomalous-Software/BEPUPhysics | BEPUphysicsDemos/BEPUphysicsDemos/Demos/Extras/Tests/MutableStaticGroupTestDemo.cs | https://github.com/Anomalous-Software/BEPUPhysics/blob/HEAD/BEPUphysicsDemos/BEPUphysicsDemos/Demos/Extras/Tests/MutableStaticGroupTestDemo.cs | ghcode:00178:991fdb0dc4e2 | apache-2.0 | codeparrot/github-code | 991fdb0dc4e2a47d92a6491726041914cdd25cf08e118eeae80b5b37ed13d376 | 0.95 | testing_debugging_repair_refactoring | 1,874 | false | 2026-07-17 |
using System;
using FluentAssertions;
using NUnit.Framework;
using SimpleSlack.WebAPI.Core.Exceptions;
using SimpleSlack.WebAPI.Tests.Common;
namespace SimpleSlack.WebAPI.Tests
{
[TestFixture]
internal class ErrorTests : SlackTestsBase
{
[Test]
public void ErrorResponseTest()
{
... | yanekk/SimpleSlack.NET | SimpleSlack/SimpleSlack.WebAPI.Tests/ErrorTests.cs | https://github.com/yanekk/SimpleSlack.NET/blob/HEAD/SimpleSlack/SimpleSlack.WebAPI.Tests/ErrorTests.cs | ghcode:00178:47a1bf049f94 | apache-2.0 | codeparrot/github-code | 47a1bf049f9425d6c133b5929c1ab43446cdb48107493aaa4ac4be960bdb3dd5 | 0.75 | testing_debugging_repair_refactoring | 125 | false | 2026-07-17 |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
namespace Microsoft.TestCommon
{
public abstract class EnumHelperTestBase<TEnum> where TEnum : IComparable, IFormattable, IConvertible
{
private Func<TEnu... | Terminator-Aaron/Katana | OData/test/Microsoft.TestCommon/EnumHelperTestBase.cs | https://github.com/Terminator-Aaron/Katana/blob/HEAD/OData/test/Microsoft.TestCommon/EnumHelperTestBase.cs | ghcode:00178:571304fed00a | apache-2.0 | codeparrot/github-code | 571304fed00a28b538964989ca7839cd59fc431205f1beb91e1390405f3fee2d | 0.95 | testing_debugging_repair_refactoring | 758 | false | 2026-07-17 |
using Xunit;
namespace Testify.Tests
{
public class AnonymousDecimalTests
{
[Fact]
public void AnyDecimal()
{
var anon = new AnonymousData();
var classifier = new Classifier<decimal>();
classifier.AddClassification("GT", d => d > 0);
clas... | wekempf/testify | src/Tests/Testify.Tests/AnonymousDecimalTests.cs | https://github.com/wekempf/testify/blob/HEAD/src/Tests/Testify.Tests/AnonymousDecimalTests.cs | ghcode:00178:cf01028092d1 | apache-2.0 | codeparrot/github-code | cf01028092d1a440800a4f7d2517904508209caef5c7cbf82ccfeb27190139ec | 0.85 | testing_debugging_repair_refactoring | 492 | false | 2026-07-17 |
using UnityEngine;
using System.Collections.Generic;
using Shouldly;
using Require;
public class RelaysSparksTest : TestBehaviour
{
MockCircuitComponent emitter;
RelaysSparks it;
MockCircuitComponent receiver;
public override void Spec()
{
Given("it relays sparks")
.And("an emi... | invisibledrygoods/Circuitry | Circuitry/Assets/Tests/RelaysSparksTest.cs | https://github.com/invisibledrygoods/Circuitry/blob/HEAD/Circuitry/Assets/Tests/RelaysSparksTest.cs | ghcode:00178:3a06adf62c71 | bsd-2-clause | codeparrot/github-code | 3a06adf62c71cc5af1e2817f7de500a8fe7f6959c08e6865869796786a44b4cb | 0.78 | testing_debugging_repair_refactoring | 274 | false | 2026-07-17 |
using System;
using BenchmarkDotNet.Attributes;
using Saritasa.Tools.Messages.Abstractions;
using Saritasa.Tools.Messages.Abstractions.Queries;
using Saritasa.Tools.Messages.Common;
using Saritasa.Tools.Messages.Queries;
namespace Saritasa.Tools.Messages.Benchmark
{
/// <summary>
/// Query pipeline benchmarks... | krasninja/SaritasaTools | test/Saritasa.Tools.Messages.Benchmark/QueriesBenchmarks.cs | https://github.com/krasninja/SaritasaTools/blob/HEAD/test/Saritasa.Tools.Messages.Benchmark/QueriesBenchmarks.cs | ghcode:00178:6c0be00e4325 | bsd-2-clause | codeparrot/github-code | 6c0be00e432591e3a36a5b03ee2b58a3d85e42850f50bf32ffefc4e1d2c834d6 | 0.78 | testing_debugging_repair_refactoring | 319 | false | 2026-07-17 |
/*
Copyright (c) 2014, Lars Brubaker
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the followi... | jlewin/agg-sharp | Tests/Agg.Tests/Agg.UI/MouseInteractionTests.cs | https://github.com/jlewin/agg-sharp/blob/HEAD/Tests/Agg.Tests/Agg.UI/MouseInteractionTests.cs | ghcode:00178:27dbd8dd1fd5 | bsd-2-clause | codeparrot/github-code | 27dbd8dd1fd54e730ee25f6206820d37af702405e9e1ae77407010b6eea4ab08 | 0.65 | testing_debugging_repair_refactoring | 17,230 | false | 2026-07-17 |
using FasterTests.Core.Integration.Nunit.SetupFixturesContexts.Trees;
using Machine.Fakes;
using Machine.Specifications;
namespace FasterTests.Tests.Core.Integration.Nunit.SetupFixturesContexts.Trees.RootSetupFixtureStubSpecs
{
[Subject(typeof(RootSetupFixtureStub))]
public class When_teardown_is_executed : W... | devoyster/FasterTests | Source/Tests/Core/Integration/Nunit/SetupFixturesContexts/Trees/RootSetupFixtureStubSpecs/When_teardown_is_executed.cs | https://github.com/devoyster/FasterTests/blob/HEAD/Source/Tests/Core/Integration/Nunit/SetupFixturesContexts/Trees/RootSetupFixtureStubSpecs/When_teardown_is_executed.cs | ghcode:00178:b369472e1109 | bsd-3-clause | codeparrot/github-code | b369472e1109aa82aa6e2be5c5a74f150ff680d7cd4382419d8004f5547e63bd | 0.85 | testing_debugging_repair_refactoring | 120 | false | 2026-07-17 |
using System.Collections.Generic;
using Toggl.Networking.Models;
using Toggl.Shared;
using Toggl.Shared.Models;
namespace Toggl.Core.Tests.Sync.Extensions
{
public static class ITimeEntryExtensions
{
public static ITimeEntry With(
this ITimeEntry timeEntry,
New<long> workspaceId... | toggl/mobileapp | Toggl.Core.Tests.Sync/Extensions/ITimeEntryExtensions.cs | https://github.com/toggl/mobileapp/blob/HEAD/Toggl.Core.Tests.Sync/Extensions/ITimeEntryExtensions.cs | ghcode:00178:408f667102ae | bsd-3-clause | codeparrot/github-code | 408f667102ae5adef4eb6fca84ce02f191dbef1e700ff942f540222930815646 | 0.75 | testing_debugging_repair_refactoring | 237 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nucleo.Presentation;
using Nucleo.Web.Presentation;
using Nucleo.Views;
using Nucleo.Web.Views;
using Nucleo.Web.Ajax;
namespace Nucleo.Web.Ajax
{
[TestClass]
public cla... | brianmains/Nucleo.NET | src_wip/Tests.Unit.MVP/Web/Ajax/PresenterProxyGeneratorTest.cs | https://github.com/brianmains/Nucleo.NET/blob/HEAD/src_wip/Tests.Unit.MVP/Web/Ajax/PresenterProxyGeneratorTest.cs | ghcode:00178:9567206c5a5e | mit | codeparrot/github-code | 9567206c5a5ec6e006cc7bf37ce98144c9d4c73a9eb183160956bb8e0273ea3e | 0.85 | testing_debugging_repair_refactoring | 261 | false | 2026-07-17 |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Collections.I... | MarimerLLC/csla | Source/Csla.Analyzers/Csla.Analyzers.Tests/EvaluateManagedBackingFieldsCodeFixTests.cs | https://github.com/MarimerLLC/csla/blob/HEAD/Source/Csla.Analyzers/Csla.Analyzers.Tests/EvaluateManagedBackingFieldsCodeFixTests.cs | ghcode:00178:2a01046c9375 | mit | codeparrot/github-code | 2a01046c9375eb5d1dbdd486af81ad4f3766a034b13837e02ae782be2eac1618 | 0.75 | testing_debugging_repair_refactoring | 888 | false | 2026-07-17 |
using DevExpress.Xpo;
using System;
using System.Threading.Tasks;
using Xunit;
namespace DevExtreme.AspNet.Data.Tests.Xpo {
public class Bug339 {
[Persistent(nameof(Bug339) + "_" + nameof(DataItem))]
public class DataItem {
[Key]
public Guid ID { get; set; }
}
... | AlekseyMartynov/DevExtreme.AspNet.Data | net/DevExtreme.AspNet.Data.Tests.Xpo/Bug339.cs | https://github.com/AlekseyMartynov/DevExtreme.AspNet.Data/blob/HEAD/net/DevExtreme.AspNet.Data.Tests.Xpo/Bug339.cs | ghcode:00178:6408904be394 | mit | codeparrot/github-code | 6408904be3945963c50f02f47d686de7967a903cc93b1994fd073171d57316dc | 0.75 | testing_debugging_repair_refactoring | 222 | false | 2026-07-17 |
using GenericMvc.Clients;
using GenericMvc.Models;
using GenericMvc.Test.Lib.Fixtures;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Xunit;
nam... | clarkis117/GenericMvcUtilities | src/GenericMvc.Test.Library/Controllers/BaseApiTest.cs | https://github.com/clarkis117/GenericMvcUtilities/blob/HEAD/src/GenericMvc.Test.Library/Controllers/BaseApiTest.cs | ghcode:00178:60d16e581dfc | mit | codeparrot/github-code | 60d16e581dfcac225ce33975dd3cf9c9fea99a86d3c172f6eb613cf204769fce | 0.85 | testing_debugging_repair_refactoring | 5,421 | false | 2026-07-17 |
using Xunit;
namespace Octokit.Tests.Integration.Fixtures
{
[CollectionDefinition(Name)]
public class OrganizationsHooksCollection : ICollectionFixture<OrganizationsHooksFixture>
{
public const string Name = "Organization Hooks Collection";
}
}
| octokit/octokit.net | Octokit.Tests.Integration/fixtures/OrganizationsHooksCollection.cs | https://github.com/octokit/octokit.net/blob/HEAD/Octokit.Tests.Integration/fixtures/OrganizationsHooksCollection.cs | ghcode:00178:cb66b9732819 | mit | codeparrot/github-code | cb66b97328198cb32a09ca4b4ce3bde11cbef66695e88453b63d171b5fe1e9a7 | 0.75 | testing_debugging_repair_refactoring | 51 | 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.Buffers;
using System.Collections.Concurrent;
using System.Diagnostics;
namespace System.IO.Pipelines
{
/// <summary>
/// Used to allocate and dis... | Vedin/corefxlab | src/System.IO.Pipelines/MemoryPool.cs | https://github.com/Vedin/corefxlab/blob/HEAD/src/System.IO.Pipelines/MemoryPool.cs | ghcode:00178:dc5502284426 | mit | codeparrot/github-code | dc5502284426f51aa7b73c8073acfa6acb7b5a941f5b484f4007c74b1e917edf | 0.85 | testing_debugging_repair_refactoring | 1,772 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics;
using osu.Framework.Testing;
using osu.G... | UselessToucan/osu | osu.Game.Rulesets.Taiko.Tests/Skinning/TestSceneTaikoPlayfield.cs | https://github.com/UselessToucan/osu/blob/HEAD/osu.Game.Rulesets.Taiko.Tests/Skinning/TestSceneTaikoPlayfield.cs | ghcode:00178:3c4f65defcac | mit | codeparrot/github-code | 3c4f65defcac8d3e53a24981c903618bbe24bd8273bece32e4055dfdac4b638b | 0.75 | testing_debugging_repair_refactoring | 466 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Azure.Communication.CallingServer.Tests
{
public class ServerCallTests : CallingServerTe... | Azure/azure-sdk-for-net | sdk/communication/Azure.Communication.CallingServer/tests/ServerCall/ServerCallTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/communication/Azure.Communication.CallingServer/tests/ServerCall/ServerCallTests.cs | ghcode:00178:2be4a2f74237 | mit | codeparrot/github-code | 2be4a2f74237b4223778cb437d535951170d4982abca334f69fa1d7e5f6134ff | 0.95 | testing_debugging_repair_refactoring | 4,108 | false | 2026-07-17 |
using FF12RNGHelper.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTests
{
[TestClass]
public class StealTests
{
[TestMethod]
public void CheckModulo()
{
Assert.AreEqual(
"Rare",
Steal.CheckSteal(100, 0, 0));
... | erickt420/RNGHelper | UnitTests/src/StealTests.cs | https://github.com/erickt420/RNGHelper/blob/HEAD/UnitTests/src/StealTests.cs | ghcode:00178:727229fd230e | mit | codeparrot/github-code | 727229fd230eff9b626b51cf32bf1b4def09bfeef331d3964943239233d18392 | 0.85 | testing_debugging_repair_refactoring | 873 | false | 2026-07-17 |
using System;
interface Iface {
int A ();
}
class Implementor : Iface {
public int A () {
return 1;
}
}
struct StructImplementor : Iface {
public int A () {
return 2;
}
}
class Run {
public static int Main ()
{
Iface iface;
Implementor i = new Implementor ();
iface = i;
if (iface.A () != 1)
r... | afrogeek/SharpNative | Tests/MonoTests/Basic/1-51/test-15.cs | https://github.com/afrogeek/SharpNative/blob/HEAD/Tests/MonoTests/Basic/1-51/test-15.cs | ghcode:00178:37ca82942857 | mit | codeparrot/github-code | 37ca8294285759fd3d5be28d1cd6d80d1c10493708d741afdda24ab73f8679fa | 0.75 | testing_debugging_repair_refactoring | 153 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading;
using AWSSDK_DotNet.IntegrationTests.Utils;
using Amazon.IdentityManagement;
using Amazon.IdentityManagement.Model;
namespace AWSSDK_DotNet.IntegrationTest... | rafd123/aws-sdk-net | sdk/test/IntegrationTests/Tests/IAM/LoginProfileTests.cs | https://github.com/rafd123/aws-sdk-net/blob/HEAD/sdk/test/IntegrationTests/Tests/IAM/LoginProfileTests.cs | ghcode:00178:94eaba0cf05c | apache-2.0 | codeparrot/github-code | 94eaba0cf05cf2bdf7c4004aae932dba8f10ee8402592f90a708bc46aab39201 | 0.95 | testing_debugging_repair_refactoring | 826 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using ServiceStack.Common;
using ServiceStack.Common.Utils;
using ServiceStack.Html;
using ServiceStack.Razor;
using ServiceStack.ServiceHost.Tests.Formats;
using ServiceStack.Service... | fanta-mnix/ServiceStack | tests/ServiceStack.ServiceHost.Tests/Formats_Razor/TemplateTests.cs | https://github.com/fanta-mnix/ServiceStack/blob/HEAD/tests/ServiceStack.ServiceHost.Tests/Formats_Razor/TemplateTests.cs | ghcode:00178:8b7cc5b235e9 | bsd-3-clause | codeparrot/github-code | 8b7cc5b235e92dbfc1acc7cd8250e10e5fab466c73e4962ca04fafd44d4ce2a2 | 0.85 | testing_debugging_repair_refactoring | 5,963 | false | 2026-07-17 |
// Authors:
// Rafael Mizrahi <rafim@mainsoft.com>
// Erez Lotan <erezl@mainsoft.com>
// Oren Gurfinkel <oreng@mainsoft.com>
// Ofer Borstein
//
// Copyright (c) 2004 Mainsoft Co.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated do... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.Data/Test/System.Data.Tests.Mainsoft/System.Data/DataTable/DataTable_OnColumnChanged_D.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.Data/Test/System.Data.Tests.Mainsoft/System.Data/DataTable/DataTable_OnColumnChanged_D.cs | ghcode:00178:7d75dfcf77c0 | mit | codeparrot/github-code | 7d75dfcf77c0ae2c57655afbd1e2541363f470f07b06e83d955eff2546b92351 | 0.95 | testing_debugging_repair_refactoring | 1,009 | false | 2026-07-17 |
namespace Nuget.Server.AzureStorage.Doman.Entities
{
using NuGet;
using System;
internal sealed class AzureVersionSpec
{
public AzureVersionSpec()
{
}
public AzureVersionSpec(IVersionSpec version)
{
this.IsMaxInclusive = version.IsMaxInclusive;
... | unipluss/Nuget.Server.AzureStorage | Sources/Nuget.Server.AzureStorage/Doman.Entities/AzureVersionSpec.cs | https://github.com/unipluss/Nuget.Server.AzureStorage/blob/HEAD/Sources/Nuget.Server.AzureStorage/Doman.Entities/AzureVersionSpec.cs | ghcode:00178:ad8d52b9d5cb | apache-2.0 | codeparrot/github-code | ad8d52b9d5cb9661bf7892161baaaa03d5f340c53127f1b8d04dc01aef9292af | 0.75 | testing_debugging_repair_refactoring | 351 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeStyle;
using Microso... | amcasey/roslyn | src/EditorFeatures/CSharpTest/UseExpressionBody/Analyzer/UseExpressionBodyForOperatorsAnalyzerTests.cs | https://github.com/amcasey/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/UseExpressionBody/Analyzer/UseExpressionBodyForOperatorsAnalyzerTests.cs | ghcode:00178:badbfd52eaf2 | apache-2.0 | codeparrot/github-code | badbfd52eaf29c84ea5e93c3d07aeafdcfddbc2e3afdc4c9b15504cc16a6898c | 0.85 | testing_debugging_repair_refactoring | 992 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.IO;
using Lucene.Net.Queries.Function;
using Lucene.Net.Queries.Function.DocValues;
using Lucene.Net.Search;
namespace Lucene.Net.Expressions
{
/// <summary>
/// A utility class to allow expressions to access the score as a
/// <see cref="Lucene.Net.Quer... | zmaruo/lucenenet | src/Lucene.Net.Expressions/ScoreFunctionValues.cs | https://github.com/zmaruo/lucenenet/blob/HEAD/src/Lucene.Net.Expressions/ScoreFunctionValues.cs | ghcode:00178:254d0bf49924 | apache-2.0 | codeparrot/github-code | 254d0bf499243cc7cea749dd5089656f3149f481276b625936986e89be71bb66 | 0.85 | testing_debugging_repair_refactoring | 198 | 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... | hovsepm/azure-powershell | src/ResourceManager/Resources/Commands.Resources.Test/ResourceGroups/NewAzureResourceGroupCommandTests.cs | https://github.com/hovsepm/azure-powershell/blob/HEAD/src/ResourceManager/Resources/Commands.Resources.Test/ResourceGroups/NewAzureResourceGroupCommandTests.cs | ghcode:00178:15184f9383c6 | apache-2.0 | codeparrot/github-code | 15184f9383c65977c324006fbdafe4f539b8a7a9a8697d423a5a140f37e2d252 | 0.85 | testing_debugging_repair_refactoring | 731 | 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 ... | DoudTechData/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Binary/BinaryBuilderSelfTest.cs | https://github.com/DoudTechData/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Binary/BinaryBuilderSelfTest.cs | ghcode:00178:21deadd5839f | apache-2.0 | codeparrot/github-code | 21deadd5839fa47b6de0c8ec66a8f5404bb586c0bee2fd8796da088995fd5a36 | 0.57 | testing_debugging_repair_refactoring | 14,635 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Azure.Messaging.EventHubs.Consumer;
using Azure.Messaging.EventHubs.Core;
using A... | brjohnstmsft/azure-sdk-for-net | sdk/eventhub/Azure.Messaging.EventHubs.Shared/tests/BlobCheckpointStore/BlobsCheckpointStoreLiveTests.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/eventhub/Azure.Messaging.EventHubs.Shared/tests/BlobCheckpointStore/BlobsCheckpointStoreLiveTests.cs | ghcode:00178:30bb24907edb | mit | codeparrot/github-code | 30bb24907edbc1d2dcf2013064912873010bc67279950db6ac6f529ff796a136 | 0.95 | testing_debugging_repair_refactoring | 8,602 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Containers;
using osu.Game.Overlays;
using osu.Framework.Graphics;
using osuTK;
namespace osu.Game.Tests.Visual.UserInterface
{
public ... | ppy/osu | osu.Game.Tests/Visual/UserInterface/TestSceneOverlayHeaderBackground.cs | https://github.com/ppy/osu/blob/HEAD/osu.Game.Tests/Visual/UserInterface/TestSceneOverlayHeaderBackground.cs | ghcode:00178:63645247639a | mit | codeparrot/github-code | 63645247639a28f625c263b0ff0d64ac419b3f9d7254b6fd3443c0ceae4f0021 | 0.75 | testing_debugging_repair_refactoring | 221 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Identity;
using Azure.Security.KeyVault.Keys.Cryptography;
using NUnit.Framework;
using System;
using System.Diagnostics;
using System.Text;
using System.Threading;
using Azure.Security.KeyVault.Tests;
namespa... | brjohnstmsft/azure-sdk-for-net | sdk/keyvault/Azure.Security.KeyVault.Keys/tests/samples/Sample4_EncryptDecrypt.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/samples/Sample4_EncryptDecrypt.cs | ghcode:00178:a940d97f3500 | mit | codeparrot/github-code | a940d97f35003772413e61d10c64a1ea76f4b9f81c642de7b3ed1f2f4e04ae01 | 0.95 | testing_debugging_repair_refactoring | 654 | 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.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
... | ilyes14/roslyn | src/Compilers/Core/Portable/CommandLine/CommonCommandLineParser.cs | https://github.com/ilyes14/roslyn/blob/HEAD/src/Compilers/Core/Portable/CommandLine/CommonCommandLineParser.cs | ghcode:00178:cad8fbc7a8fa | apache-2.0 | codeparrot/github-code | cad8fbc7a8fa0db36494f62f25978be1b317e8eaca401c2e36cef3887623410d | 0.85 | testing_debugging_repair_refactoring | 7,000 | false | 2026-07-17 |
// ****************************************************************
// This is free software licensed under the NUnit license. You
// may obtain a copy of the license as well as information regarding
// copyright ownership at http://nunit.org.
// ****************************************************************
using S... | prepare/LiteDB | NUnit-2.6.0.12051/src/NUnitCore/tests/FixtureSetUpTearDownTest.cs | https://github.com/prepare/LiteDB/blob/HEAD/NUnit-2.6.0.12051/src/NUnitCore/tests/FixtureSetUpTearDownTest.cs | ghcode:00178:09fc2ed13f33 | mit | codeparrot/github-code | 09fc2ed13f330754b6d67525501a58c8732770ea96a47bd33acdaf50e6371bde | 0.95 | testing_debugging_repair_refactoring | 3,205 | 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, inclu... | msgpack/msgpack-cli | test/NUnitLite/NUnitFramework/framework/Internal/TestParameters.cs | https://github.com/msgpack/msgpack-cli/blob/HEAD/test/NUnitLite/NUnitFramework/framework/Internal/TestParameters.cs | ghcode:00178:83e0ed4b9210 | apache-2.0 | codeparrot/github-code | 83e0ed4b921088bf46ef19c5f53ac423953170b0a7f0a259509906151674cd30 | 0.85 | testing_debugging_repair_refactoring | 1,007 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="AwaitAssertTests.cs" company="Akka.NET Project">
// Copyright (C) 2009-2015 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright... | nanderto/akka.net | src/core/Akka.TestKit.Tests/TestKitBaseTests/AwaitAssertTests.cs | https://github.com/nanderto/akka.net/blob/HEAD/src/core/Akka.TestKit.Tests/TestKitBaseTests/AwaitAssertTests.cs | ghcode:00178:6f7cf340d829 | apache-2.0 | codeparrot/github-code | 6f7cf340d829cb03ddc4b4095dfc07ad7c7219f1e5f617a70c7de5c74d7fb47f | 0.85 | testing_debugging_repair_refactoring | 274 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="RemoteNodeDeathWatchSpec.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>
// </c... | nanderto/akka.net | src/core/Akka.Remote.Tests.MultiNode/RemoteNodeDeathWatchSpec.cs | https://github.com/nanderto/akka.net/blob/HEAD/src/core/Akka.Remote.Tests.MultiNode/RemoteNodeDeathWatchSpec.cs | ghcode:00178:ee65746d3771 | apache-2.0 | codeparrot/github-code | ee65746d3771819032765b7b1918cad2897d95dd25ab2a8d0c5464a21533bc5c | 0.85 | testing_debugging_repair_refactoring | 4,455 | 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.Generic;
using Xunit;
namespace System.Linq.Tests
{
public class GroupJoinTests
{
private class AnagramEqualityC... | lydonchandra/corefx | src/System.Linq/tests/GroupJoinTests.cs | https://github.com/lydonchandra/corefx/blob/HEAD/src/System.Linq/tests/GroupJoinTests.cs | ghcode:00178:5fc899e59f35 | mit | codeparrot/github-code | 5fc899e59f354998728c856aacb3e04ea2557c2441155f6597c2d4c22926b9e8 | 0.95 | testing_debugging_repair_refactoring | 3,945 | false | 2026-07-17 |
#region CopyrightHeader
//
// Copyright by Contributors
//
// 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.txt
//
// Unless req... | marcsommer/mdo | mdo-test/src/mdo/dao/oracle/mhv/sm/AddresseeDaoTest.cs | https://github.com/marcsommer/mdo/blob/HEAD/mdo-test/src/mdo/dao/oracle/mhv/sm/AddresseeDaoTest.cs | ghcode:00178:c1cb0b110779 | apache-2.0 | codeparrot/github-code | c1cb0b110779f3af6815d16ed293714156fc3f127cd5ea973269d4eee6dc6eb1 | 0.8 | testing_debugging_repair_refactoring | 832 | 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. If ... | forki/FSharpVSPowerTools | tests/TestUtilities/AssertListener.cs | https://github.com/forki/FSharpVSPowerTools/blob/HEAD/tests/TestUtilities/AssertListener.cs | ghcode:00178:77681ebf1cd1 | apache-2.0 | codeparrot/github-code | 77681ebf1cd12f5125b8478b8c4e983c51c798668d6da796523bfdd708b6534d | 0.6 | testing_debugging_repair_refactoring | 578 | false | 2026-07-17 |
using Abp.Configuration;
using NUnit.Framework;
using Shouldly;
using Xunit;
namespace Abp.Tests.Configuration
{
public class DictionaryBasedConfig_Test
{
private readonly MyConfig _config;
public DictionaryBasedConfig_Test()
{
_config = new MyConfig();
}
... | hanu412/aspnetboilerplate | src/Tests/Abp.Tests/Configuration/DictionaryBasedConfig_Test.cs | https://github.com/hanu412/aspnetboilerplate/blob/HEAD/src/Tests/Abp.Tests/Configuration/DictionaryBasedConfig_Test.cs | ghcode:00178:578150fa3c9a | mit | codeparrot/github-code | 578150fa3c9ad3c6206c4975a319bfda583687022b89f0abb4120c207883edfb | 0.85 | testing_debugging_repair_refactoring | 339 | 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 Xunit;
namespace System.ComponentModel.Tests
{
public class LookupBindi... | BrennanConroy/corefx | src/System.ComponentModel.TypeConverter/tests/LookupBindingPropertiesAttributeTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.ComponentModel.TypeConverter/tests/LookupBindingPropertiesAttributeTests.cs | ghcode:00178:d2b894237105 | mit | codeparrot/github-code | d2b8942371057a1d8fb463fba36d37faeca9ff4d91be77e4be12b3298ce25c2d | 0.95 | testing_debugging_repair_refactoring | 906 | 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.Expressions;
using Xunit;
namespace System.Linq.Tests
{
public class SingleTests : Enumerable... | nbarbettini/corefx | src/System.Linq.Queryable/tests/SingleTests.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Linq.Queryable/tests/SingleTests.cs | ghcode:00178:0319d1924155 | mit | codeparrot/github-code | 0319d192415510426b01eba2f4c5995bc1c53fbc89d972df4cffaeab9986a472 | 0.95 | testing_debugging_repair_refactoring | 633 | false | 2026-07-17 |
namespace SqlStreamStore
{
using System;
using System.Threading.Tasks;
using Shouldly;
using SqlStreamStore.Streams;
using Xunit;
using Xunit.Abstractions;
public partial class StreamStoreAcceptanceTests
{
private StreamStoreAcceptanceTestFixture GetFixture(string schema = "foo... | danbarua/Cedar.EventStore | src/SqlStreamStore.Postgres.Tests/PostgresStreamStoreAcceptanceTests.cs | https://github.com/danbarua/Cedar.EventStore/blob/HEAD/src/SqlStreamStore.Postgres.Tests/PostgresStreamStoreAcceptanceTests.cs | ghcode:00178:635e0d6992c4 | mit | codeparrot/github-code | 635e0d6992c4bb5f4c77a01bb896222734826daf9821508e9548382410f93920 | 0.75 | testing_debugging_repair_refactoring | 815 | false | 2026-07-17 |
using CharacterGen.Alignments;
using CharacterGen.CharacterClasses;
using CharacterGen.Domain.Tables;
using CharacterGen.Races;
using NUnit.Framework;
namespace CharacterGen.Tests.Integration.Tables.Races.BaseRaces.Neutral
{
[TestFixture]
public class NeutralExpertBaseRacesTests : PercentileTests
{
... | DnDGen/CharacterGen | CharacterGen.Tests.Integration.Tables/Races/BaseRaces/Neutral/NeutralExpertBaseRacesTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Integration.Tables/Races/BaseRaces/Neutral/NeutralExpertBaseRacesTests.cs | ghcode:00178:323c20c4fbc1 | mit | codeparrot/github-code | 323c20c4fbc1fa2c738c19004362e87a59aab3f8ed2ff1c78e9185586e859f7a | 0.75 | testing_debugging_repair_refactoring | 425 | false | 2026-07-17 |
using System;
using FlitBit.Core;
using FlitBit.Emit;
using FlitBit.Wireup;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FlitBit.Dto.Tests
{
[DTO]
public interface IIntAndString
{
int IntProp { get; set; }
String StringProp { get; set; }
}
[TestClass]
public class DtoHashCodeAndEqualityTes... | flitbit-org/fbdto | FlitBit.Dto/FlitBit.Dto.Tests/DtoHashCodeAndEqualityTests.cs | https://github.com/flitbit-org/fbdto/blob/HEAD/FlitBit.Dto/FlitBit.Dto.Tests/DtoHashCodeAndEqualityTests.cs | ghcode:00178:621d74b999fd | mit | codeparrot/github-code | 621d74b999fd50da6a7ad111add80dbb5f7aad637fea291947942a77119d4738 | 0.75 | testing_debugging_repair_refactoring | 284 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using SevenDigital.Api.Schema.Artists;
using SevenDigital.Api.Schema.Charts;
using SevenDigital.Api.Schema.Integration.Tests.Infrastructure;
using SevenDigital.Api.Wrapper;
namespace SevenDigital.Api.Schema.Integration.Test... | gregsochanik/SevenDigital.Api.Schema | src/Schema.Integration.Tests/EndpointTests/Artists/ArtistChartTests.cs | https://github.com/gregsochanik/SevenDigital.Api.Schema/blob/HEAD/src/Schema.Integration.Tests/EndpointTests/Artists/ArtistChartTests.cs | ghcode:00178:100fddce35d7 | mit | codeparrot/github-code | 100fddce35d79513b3a9c965eb80af3c5cbd15bf90bf061c81215a06200c72f2 | 0.75 | testing_debugging_repair_refactoring | 416 | false | 2026-07-17 |
namespace Microsoft.Protocols.TestSuites.MS_OXCSTOR
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using Microsoft.Protocols.TestSuites.Common;
using Microsoft.Protocols.TestTools;
using Microsoft.VisualStudio.Test... | XinwLi/Interop-TestSuites-1 | ExchangeMAPI/Source/MS-OXCSTOR/TestSuite/S01_PrivateMailboxLogon.cs | https://github.com/XinwLi/Interop-TestSuites-1/blob/HEAD/ExchangeMAPI/Source/MS-OXCSTOR/TestSuite/S01_PrivateMailboxLogon.cs | ghcode:00178:238a0e67e90d | mit | codeparrot/github-code | 238a0e67e90d67e3e62b35ae240d606c9616a9f2e53ea6206dc9ca7b77a1cf95 | 0.65 | testing_debugging_repair_refactoring | 62,041 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HTLib2.Bioinfo
{
public partial class ForceField
{
public class MindyDihedral : IDihedral
{
// DIHEDRALS
// !
// !V(dihedral) = Kchi(1 + cos(n(chi) - delta))
// !
// !Kchi: k... | htna/HCsbLib | HCsbLib/HCsbLib/HTLib2.Bioinfo/ForceField/ForceField.MindyDihedral.cs | https://github.com/htna/HCsbLib/blob/HEAD/HCsbLib/HCsbLib/HTLib2.Bioinfo/ForceField/ForceField.MindyDihedral.cs | ghcode:00178:b667958ebdeb | mit | codeparrot/github-code | b667958ebdeb82843e0cc653c5c6f61085fee007966c8451f11c5c197baeed98 | 0.7 | testing_debugging_repair_refactoring | 6,464 | 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, ... | zoon/nunit-unity3d | Assets/Plugins/NUnitLite/NUnitLite-0.7.0/Constraints/BasicConstraint.cs | https://github.com/zoon/nunit-unity3d/blob/HEAD/Assets/Plugins/NUnitLite/NUnitLite-0.7.0/Constraints/BasicConstraint.cs | ghcode:00178:360582cd5ed9 | mit | codeparrot/github-code | 360582cd5ed9cacfaf6e12e96b9ea767bd637f8580d11d1c7d43fb77b9cb47a9 | 0.85 | testing_debugging_repair_refactoring | 560 | false | 2026-07-17 |
using System.Linq;
using tomware.Microwf.Domain;
using tomware.Microwf.Tests.Common.WorkflowDefinitions;
using Xunit;
namespace tomware.Microwf.Tests.Unit.AspNetCoreEngine
{
public class WorkflowTest
{
[Fact]
public void Workflow_Create_NewInstanceCreated()
{
// Arrange
var correlationId = ... | thomasduft/microwf | tests/Unit/AspNetCoreEngine/WorkflowTest.cs | https://github.com/thomasduft/microwf/blob/HEAD/tests/Unit/AspNetCoreEngine/WorkflowTest.cs | ghcode:00178:db50a678e0c4 | mit | codeparrot/github-code | db50a678e0c43dd655b6e3b02eec38eb4a5e0e9830eb45ea01ac55be94ec93f2 | 0.85 | testing_debugging_repair_refactoring | 473 | false | 2026-07-17 |
// Copyright (c) 2013, Eberhard Beilharz
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using NUnit.Framework;
namespace TntMPDConverter
{
[TestFixture]
public class ProcessDonorsTests
{
private static void AssertDonorEqual(Donor expected, Donor actual)
{
... | ermshiperete/TntMPDConverter | TntMPDConverterTests/ProcessDonorsTests.cs | https://github.com/ermshiperete/TntMPDConverter/blob/HEAD/TntMPDConverterTests/ProcessDonorsTests.cs | ghcode:00178:a34cc4826713 | mit | codeparrot/github-code | a34cc482671353092a18afbc737481b3e7db345e5cd60cc6fb69604aaaadcaaa | 0.85 | testing_debugging_repair_refactoring | 3,616 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TestStack.FluentMVCTesting;
using VlogRoom.Services.Data.Contracts;
using VlogRoom.Web.Controllers;
namespace VlogRoom.Web.Tests.Controllers.VideosControllerTests... | RosenUrkov/VlogRoom | VlogRoom/VlogRoom.Web.Tests/Controllers/VideosControllerTests/GetUploadShould.cs | https://github.com/RosenUrkov/VlogRoom/blob/HEAD/VlogRoom/VlogRoom.Web.Tests/Controllers/VideosControllerTests/GetUploadShould.cs | ghcode:00178:b9b5e0daeb13 | mit | codeparrot/github-code | b9b5e0daeb1349af7a7f6199e1342a293ad81c9c95fc26d3a1bb227fd5113055 | 0.6 | testing_debugging_repair_refactoring | 164 | 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 Test.Cryptography;
using Xunit;
namespace System.Security.Cryptography.Dsa.Tests
{
public partial class D... | marksmeltzer/corefx | src/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DSASignVerify.cs | https://github.com/marksmeltzer/corefx/blob/HEAD/src/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DSASignVerify.cs | ghcode:00178:417bda908f16 | mit | codeparrot/github-code | 417bda908f16730e821cbba1b994eecf831f5f7a63061032acbdef7a00e8ec18 | 0.95 | testing_debugging_repair_refactoring | 3,098 | false | 2026-07-17 |
using System;
using AmplaData.Records;
using NUnit.Framework;
namespace AmplaData.Dynamic
{
[TestFixture]
public class DynamicViewPointSaveUnitTests : DynamicViewPointTestFixture
{
private const string location = "Enterprise.Site.Area.Production";
private const string module = "Production"... | Ampla/Ampla-Data | src/AmplaData.Dynamic.Tests/DynamicViewPointSaveUnitTests.cs | https://github.com/Ampla/Ampla-Data/blob/HEAD/src/AmplaData.Dynamic.Tests/DynamicViewPointSaveUnitTests.cs | ghcode:00178:099476baf276 | mit | codeparrot/github-code | 099476baf2761b954c6c14e31e59a16024a8bc5250c16820b89f381705db2059 | 0.85 | testing_debugging_repair_refactoring | 645 | false | 2026-07-17 |
using Mono.Cecil;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text.RegularExpressions;
using WebApiToTypeScript.Block;
using WebApiToTypeScript.Types;
namespace WebApiToTypeScript.Interfaces
{
public class InterfaceService : ServiceAware
{
private Interf... | greymind/WebApiToTypeScript | src/WebApiToTypeScript/Interfaces/InterfaceService.cs | https://github.com/greymind/WebApiToTypeScript/blob/HEAD/src/WebApiToTypeScript/Interfaces/InterfaceService.cs | ghcode:00178:5a82b26347e1 | mit | codeparrot/github-code | 5a82b26347e152c72c74dffd1618429751ae01622a83c67aa27cd446a60affb8 | 0.6 | testing_debugging_repair_refactoring | 3,013 | false | 2026-07-17 |
namespace Microsoft.Protocols.TestSuites.MS_OXCPERM
{
using System.Collections.Generic;
using Microsoft.Protocols.TestSuites.Common;
using Microsoft.Protocols.TestTools;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/// <summary>
/// This scenario is designed to test the RopGetPer... | OfficeDev/Interop-TestSuites | ExchangeMAPI/Source/MS-OXCPERM/TestSuite/S02_ModifyFolderPermissions.cs | https://github.com/OfficeDev/Interop-TestSuites/blob/HEAD/ExchangeMAPI/Source/MS-OXCPERM/TestSuite/S02_ModifyFolderPermissions.cs | ghcode:00178:bbf96356d7d2 | mit | codeparrot/github-code | bbf96356d7d2dbc52cad46dd1354e5a2a4947279a4e972d78ade926283385f5c | 0.72 | testing_debugging_repair_refactoring | 16,330 | false | 2026-07-17 |
using Newtonsoft.Json.Linq;
using Should;
using Xunit;
namespace Hyperfriendly.WebApi.Tests
{
public class formatting_error_profile
{
private static readonly HyperfriendlyJsonMediaTypeFormatter _mediaFormatter = new HyperfriendlyJsonMediaTypeFormatter { Indent = true };
[Fact]
public ... | hyperfriendly/Hyperfriendly.WebApi | Hyperfriendly.WebApi.Tests/formatting_error_profile.cs | https://github.com/hyperfriendly/Hyperfriendly.WebApi/blob/HEAD/Hyperfriendly.WebApi.Tests/formatting_error_profile.cs | ghcode:00178:bdc0c718e065 | mit | codeparrot/github-code | bdc0c718e065cbd24fd799c782fde3f4e730fe89443205801f65c59956325bf3 | 0.6 | testing_debugging_repair_refactoring | 260 | false | 2026-07-17 |
using System;
using System.Linq;
using AutoFixture;
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Messages.Events;
using SFA.DAS.CommitmentsV2.TestHelpers;
using SFA.DAS.CommitmentsV2.Types;
using SFA.DAS.UnitOfWork.Context;
namespace SFA.DAS.CommitmentsV2.UnitTests.Models.ChangeOfPartyRequest.SetCohort
{
[T... | SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Models/ChangeOfPartyRequest/SetCohort/WhenCohortIsSet.cs | https://github.com/SkillsFundingAgency/das-commitments/blob/HEAD/src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Models/ChangeOfPartyRequest/SetCohort/WhenCohortIsSet.cs | ghcode:00178:e66fd3d8c0f4 | mit | codeparrot/github-code | e66fd3d8c0f407d4e0f0326edda9e79e4a946dbf33dd887fd2d678d748d90e9f | 0.75 | testing_debugging_repair_refactoring | 647 | false | 2026-07-17 |
namespace Sitecore.FakeDb.Serialization.Tests.Deserialize
{
using FluentAssertions;
using Xunit;
[Trait("Deserialize", "Deserializing a new item")]
public class DeserializeNewItem : DeserializeTestBase
{
public DeserializeNewItem()
{
this.Db.Add(this.DeserializedItem);
... | sergeyshushlyapin/Sitecore.FakeDb | test/Sitecore.FakeDb.Serialization.Tests/Deserialize/DeserializeNewItem.cs | https://github.com/sergeyshushlyapin/Sitecore.FakeDb/blob/HEAD/test/Sitecore.FakeDb.Serialization.Tests/Deserialize/DeserializeNewItem.cs | ghcode:00178:acde306c1ce7 | mit | codeparrot/github-code | acde306c1ce7fc7c0547555ea9f7feb8b11fefdb93df15417a7e3a8bf9580a45 | 0.6 | testing_debugging_repair_refactoring | 115 | false | 2026-07-17 |
using NUnit.Framework;
using SmartCardApi.Cryptography;
using SmartCardApi.Infrastructure;
namespace SmartCardApi.SecureMessaging.CC
{
[TestFixture]
public class ComputedCCTests
{
[Test]
[TestCase("BF8B92D635FF24F8", "887022120C06C227", "00A4020C02011E")]
[TestCase("ED6705417E96BA5... | kogoia/MRTD.NET | SmartCardApi/SecureMessaging/CC/ComputedCC.test.cs | https://github.com/kogoia/MRTD.NET/blob/HEAD/SmartCardApi/SecureMessaging/CC/ComputedCC.test.cs | ghcode:00178:eb6f71de2772 | mit | codeparrot/github-code | eb6f71de27727a6f18b9909332731c24e9b1e7d6d21437c1d6c767f0bc863d0f | 0.75 | testing_debugging_repair_refactoring | 292 | false | 2026-07-17 |
//-----------------------------------------------------------------------------
// <copyright file="ArrayHelpers.cs" company="WheelMUD Development Team">
// Copyright (c) WheelMUD Development Team. See LICENSE.txt. This file is
// subject to the Microsoft Public License. All other rights reserved.
// </copyrigh... | ArcherSys/ArcherSys | Mud/WheelMUD-master/src/FTPServer/Ftp/General/ArrayHelpers.cs | https://github.com/ArcherSys/ArcherSys/blob/HEAD/Mud/WheelMUD-master/src/FTPServer/Ftp/General/ArrayHelpers.cs | ghcode:00178:ae52c191bf75 | mit | codeparrot/github-code | ae52c191bf75cca60ed49d2eddd6c4ebe4a7c24dad96cd80b309751bb2cc029f | 0.95 | testing_debugging_repair_refactoring | 299 | false | 2026-07-17 |
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using Workstation.ServiceModel.Ua;
using Xunit;
namespace Workstation.UaClient.UnitTests
{
public class TypeLibraryTests
{
[Fact]
p... | convertersystems/opc-ua-client | UaClient.UnitTests/UnitTests/TypeLibraryTests.cs | https://github.com/convertersystems/opc-ua-client/blob/HEAD/UaClient.UnitTests/UnitTests/TypeLibraryTests.cs | ghcode:00178:9752d49e0fd6 | mit | codeparrot/github-code | 9752d49e0fd66f59709cc52233eb97bc27e5f6cf756fdec256eacd17fdc31797 | 0.75 | testing_debugging_repair_refactoring | 250 | false | 2026-07-17 |
namespace Microsoft.ApplicationInsights.Tests
{
using System;
using System.Net;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.ApplicationInsights.DependencyCollector.Implementation.Operation;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/// <summary>
/// Shared ... | pharring/ApplicationInsights-dotnet | WEB/Src/DependencyCollector/DependencyCollector.Tests/Implementation/Operation/ObjectInstanceBasedOperationHolderTests.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/WEB/Src/DependencyCollector/DependencyCollector.Tests/Implementation/Operation/ObjectInstanceBasedOperationHolderTests.cs | ghcode:00178:37c12cdf671f | mit | codeparrot/github-code | 37c12cdf671fbf5c8ea4d559fe8e042c735a40274a5409686ad2236847f31cd3 | 0.95 | testing_debugging_repair_refactoring | 1,003 | 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.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
public class S... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1608CSharp7UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1608CSharp7UnitTests.cs | ghcode:00178:6c1a8040f079 | mit | codeparrot/github-code | 6c1a8040f07973dd2d80cbafb243a88d6169815df1b8e190809fd860720071b8 | 0.75 | testing_debugging_repair_refactoring | 90 | false | 2026-07-17 |
using NUnit.Framework;
using Samotorcan.Tests.Core;
namespace Samotorcan.Tests
{
/// <summary>
/// All tests.
/// </summary>
[TestFixture]
public class AllTests : BaseUnitTest
{
#region Properties
#region Protected
#region ApplicationName
/// <summary>
... | Samotorcan/HtmlUi | src/Samotorcan.Tests/AllTests.cs | https://github.com/Samotorcan/HtmlUi/blob/HEAD/src/Samotorcan.Tests/AllTests.cs | ghcode:00178:0d5f75a22a88 | mit | codeparrot/github-code | 0d5f75a22a88f534b8fba4515061f8b592f14e0d24ac5c92df4329c9c21b4cd9 | 0.85 | testing_debugging_repair_refactoring | 373 | false | 2026-07-17 |
using Detached.Mappers;
using System;
using Xunit;
namespace Detached.Mappers.Tests.Mapping
{
public class ComplexTypeMapperTest
{
Mapper mapper = new Mapper();
[Fact]
public void MapSameType()
{
TargetTestType targetObj = new TargetTestType
{
... | leonardoporro/Detached | test/Detached.Mappers.Tests/Mapping/ComplexTypeMapperTest.cs | https://github.com/leonardoporro/Detached/blob/HEAD/test/Detached.Mappers.Tests/Mapping/ComplexTypeMapperTest.cs | ghcode:00178:f87b91c835c8 | mit | codeparrot/github-code | f87b91c835c86078e0e1181976a769499380f1b9c2cfc524b1f24196f9936275 | 0.75 | testing_debugging_repair_refactoring | 525 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CodeContracts.Fody.ContractDefinitions;
using CodeContracts.Fody.ContractInjectResolvers;
using CodeContracts.Fody.Tests.Internal;
using Mono.Cecil;
using Moq;
u... | NickRusinov/CodeContracts.Fody | CodeContracts.Fody.Tests/ContractInjectResolvers/RequiresEnsuresResolverTests.cs | https://github.com/NickRusinov/CodeContracts.Fody/blob/HEAD/CodeContracts.Fody.Tests/ContractInjectResolvers/RequiresEnsuresResolverTests.cs | ghcode:00178:21fc6ba28a67 | mit | codeparrot/github-code | 21fc6ba28a6774a534444340762336c14df16671b3f4631f57d1b1f64bb49ed1 | 0.75 | testing_debugging_repair_refactoring | 1,054 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MathBarld.Sudoku;
using System.Collections.Generic;
namespace MathBarldTest
{
[TestClass]
public class SudokuTests
{
List<int[,]> sudokuData = new List<int[,]>()
{
new int[9,9] {
{ 0,0,3,0,2... | barld/MathBarld | MathBarldTest/SudokuTests.cs | https://github.com/barld/MathBarld/blob/HEAD/MathBarldTest/SudokuTests.cs | ghcode:00178:2c18807e0427 | mit | codeparrot/github-code | 2c18807e04273abe30d1a82aca42ceeb130a0e5f4c121b3de2c0329e522e41ff | 0.75 | testing_debugging_repair_refactoring | 562 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text.RegularExpressions;
using NUnit.Framework;
using TddEbook.... | grzesiek-galezowski/tdd-toolkit | TddToolkitSpecification/AnySpecification.cs | https://github.com/grzesiek-galezowski/tdd-toolkit/blob/HEAD/TddToolkitSpecification/AnySpecification.cs | ghcode:00178:16a78c8174cb | mit | codeparrot/github-code | 16a78c8174cbacde9e44e7fa619d1a8795c788f4960b8747211730c86b8aa9de | 0.7 | testing_debugging_repair_refactoring | 8,394 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using recommender;
using System.Linq;
namespace Test
{
[TestFixture]
public class UnitTest1
{
private List<Resource> resources = null;
private VectorSpace space = null;
[SetUp]
public void Setup()
{
var serializer = Newtonsoft.Json... | eburgos/recommender | Test/UnitTest1.cs | https://github.com/eburgos/recommender/blob/HEAD/Test/UnitTest1.cs | ghcode:00178:e207a3c4a252 | mit | codeparrot/github-code | e207a3c4a252824ffcda612020016ec6f1cdcb86cf587b60f08c6724d7030764 | 0.7 | testing_debugging_repair_refactoring | 360 | false | 2026-07-17 |
using System.Collections.Generic;
using CherrySeed.EntityDataProvider;
using CherrySeed.Test.Asserts;
using CherrySeed.Test.Base.Repositories;
using CherrySeed.Test.Infrastructure;
using CherrySeed.Test.Mocks;
using CherrySeed.Test.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CherrySeed.Test.... | altmann/CherrySeed | src/CherrySeed.Test/IntegrationTests/PrimaryKeyTests/PrimaryKeyIdGenerationTests.cs | https://github.com/altmann/CherrySeed/blob/HEAD/src/CherrySeed.Test/IntegrationTests/PrimaryKeyTests/PrimaryKeyIdGenerationTests.cs | ghcode:00178:11b5f7b737bf | mit | codeparrot/github-code | 11b5f7b737bf28dce8bb22a21db96637cee097f0f89335d58962bf64cc1f277d | 0.85 | testing_debugging_repair_refactoring | 2,922 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using KGP.Direct3D11.Textures;
using KGP.Frames;
namespace KDP.Direct3D11.Tests.Textures
{
[TestClass]
public class DynamicColorRGBATextureTests : IDisposable
{
private SharpDX.Direct3D11.Device device;
public DynamicColorR... | mrvux/kgp | tests/KDP.Direct3D11.Tests/Textures/DynamicColorRGBATextureTests.cs | https://github.com/mrvux/kgp/blob/HEAD/tests/KDP.Direct3D11.Tests/Textures/DynamicColorRGBATextureTests.cs | ghcode:00178:d015d010e400 | mit | codeparrot/github-code | d015d010e40066beb75eee71d05a8627979183492f720f8597c78236c936b86c | 0.75 | testing_debugging_repair_refactoring | 289 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace WinCap.Test
{
/// <summary>
/// 設定ウィンドウのUIテスト。
/// </summary>
[TestClass]
public class SettingsWindowTest : TestBase<SettingsWindowTest>
{
/// <summary>
/// テストクラスを初期化します。
/// </summary>
... | thirdplay/WinCap | source/WinCap.Test/SettingsWindowTest.cs | https://github.com/thirdplay/WinCap/blob/HEAD/source/WinCap.Test/SettingsWindowTest.cs | ghcode:00178:f96041a30b49 | mit | codeparrot/github-code | f96041a30b490ba2c37827e6a4a0eae9f2b5ea7d4658f23bb239689acad2562b | 0.7 | testing_debugging_repair_refactoring | 1,605 | false | 2026-07-17 |
using System.Linq;
using Shouldly;
using SimpleValidation.Core.Builders;
using SimpleValidation.Core.Combination;
using SimpleValidation.Core.Common;
using SimpleValidation.Core.PredicateRules;
using Xunit;
namespace SimpleValidation.Priority.Test
{
public class PriorityHelpersTest
{
[Fact]
... | roman-g/SimpleValidation | SimpleValidation.Priority.Test/PriorityHelpersTest.cs | https://github.com/roman-g/SimpleValidation/blob/HEAD/SimpleValidation.Priority.Test/PriorityHelpersTest.cs | ghcode:00178:45f274e09647 | mit | codeparrot/github-code | 45f274e09647190fb34985c122db91543bde85cd023a3be2f7a1dd0169068f10 | 0.75 | testing_debugging_repair_refactoring | 922 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace StillDesign.PhysX.Tests
{
[TestClass]
public class CoreTests : TestBase
{
public CoreTests()
{
}
#region Additional test attributes
//
... | danteinforno/PhysX.Net | PhysX.Net/Tests/Core Tests.cs | https://github.com/danteinforno/PhysX.Net/blob/HEAD/PhysX.Net/Tests/Core Tests.cs | ghcode:00178:6853cfaf0e1a | mit | codeparrot/github-code | 6853cfaf0e1aa184b9eaccea1f6cac740482e828d2c18a9fe2d967a24cc31763 | 0.95 | testing_debugging_repair_refactoring | 874 | false | 2026-07-17 |
using NUnit.Framework;
namespace Company.TestProject1
{
public class Tests
{
[SetUp]
public void Setup()
{
}
[Test]
public void Test1()
{
Assert.Pass();
}
}
} | halex2005/dotnet-new-nunit | Content/dotnet-new-nunit-csharp/UnitTest1.cs | https://github.com/halex2005/dotnet-new-nunit/blob/HEAD/Content/dotnet-new-nunit-csharp/UnitTest1.cs | ghcode:00178:e720cb14d578 | mit | codeparrot/github-code | e720cb14d578ae425352cc45711a3dec60d81018fe989c3611775e34fddb7ff0 | 0.6 | testing_debugging_repair_refactoring | 52 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using SharepointCommon.Attributes;
using SharepointCommon.Test.ER.Entities;
namespace SharepointCommon.Test.ER.Receivers
{
public class UpdatedDocReceiverAsync : ListEventReceiver<UpdatedDocAsync>
{
[Async(true)]
public override void ItemUpdated(U... | gdbd/sharepointcommon | SharepointCommon.Test/ER/Receivers/UpdatedDocReceiverAsync.cs | https://github.com/gdbd/sharepointcommon/blob/HEAD/SharepointCommon.Test/ER/Receivers/UpdatedDocReceiverAsync.cs | ghcode:00178:acaeb009f2f5 | mit | codeparrot/github-code | acaeb009f2f5f05cb377dd085d340d980315e4305f0252c6e41b621589b8f1b5 | 0.75 | testing_debugging_repair_refactoring | 122 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using ChargifyDotNetTests.Base;
using ChargifyNET;
using System.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ChargifyDotNetTests
{
//[TestClass]
//public class MetafieldTests : ChargifyTestBase
//{
// [... | kfrancis/chargify-dot-net | Source/ChargifyDotNet.Tests/MetadataTests.cs | https://github.com/kfrancis/chargify-dot-net/blob/HEAD/Source/ChargifyDotNet.Tests/MetadataTests.cs | ghcode:00178:d6373fde3997 | mit | codeparrot/github-code | d6373fde399759534464e3f14da0b8d0cab34af49304d0bdb2fef3ae8ab84a92 | 0.85 | testing_debugging_repair_refactoring | 536 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Collections.Generic;
using Foundation;
using UIKit;
using MonoTouch.NUnit.UI;
using MvvmCross.iOS.Views.Presenters;
using MvvmCross.Core.ViewModels;
namespace Mobile.Conductor.Tests.iOS
{
// The UIApplicationDelegate for the application. This class is responsible for... | andCulture/xamarin-architecture | 03-Tests/Mobile.ViewModels.Tests.iOS/UnitTestAppDelegate.cs | https://github.com/andCulture/xamarin-architecture/blob/HEAD/03-Tests/Mobile.ViewModels.Tests.iOS/UnitTestAppDelegate.cs | ghcode:00178:b33c5339d2c1 | mit | codeparrot/github-code | b33c5339d2c18de35376892d15180f42992da007593e512027d0d29cca0441b2 | 0.85 | testing_debugging_repair_refactoring | 305 | false | 2026-07-17 |
using System;
using System.Diagnostics;
namespace Contoso.IO
{
public class MemJournalFile : VirtualFile
{
const int JOURNAL_CHUNKSIZE = 4096;
public class FileChunk
{
public FileChunk pNext; // Next chunk in the journal
p... | Grimace1975/gpustructs | src/Structs.Core/IO/MemJournalFile.cs | https://github.com/Grimace1975/gpustructs/blob/HEAD/src/Structs.Core/IO/MemJournalFile.cs | ghcode:00178:ce270c9eddfa | mit | codeparrot/github-code | ce270c9eddfad70595840d1691f921e055679afcea5deec807a8e5647f696c0b | 0.85 | testing_debugging_repair_refactoring | 1,288 | 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 ManagedIrbis.Infrastructure.Sockets;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace Uni... | amironov73/ManagedIrbis | Source/UnitTests/ManagedIrbis/Infrastructure/Commands/CreateDictionaryCommandTest.cs | https://github.com/amironov73/ManagedIrbis/blob/HEAD/Source/UnitTests/ManagedIrbis/Infrastructure/Commands/CreateDictionaryCommandTest.cs | ghcode:00178:3ff5fc412be9 | mit | codeparrot/github-code | 3ff5fc412be9710a1ecf9648370388342aa182c3b0d1688aad9aea83cd8c8ffc | 0.75 | testing_debugging_repair_refactoring | 614 | false | 2026-07-17 |
/* -*- mode: c -*-
* $Id$
* http://www.bagley.org/~doug/shootout/
*/
class Test {
static public int Main() {
//int NUM = ((argc == 2) ? atoi(argv[1]) : 1);
int NUM = 300;
byte[] flags = new byte[8192 + 1];
int i, k;
int count = 0;
while (NUM-- != 0) {
count = 0;
for (i=2; i <= 8192; i++)... | jbatonnet/system | Source/[Libraries]/Mono/mono/tests/sieve.cs | https://github.com/jbatonnet/system/blob/HEAD/Source/[Libraries]/Mono/mono/tests/sieve.cs | ghcode:00178:9db6289e4192 | mit | codeparrot/github-code | 9db6289e419240ee3f774b826052e792c02017e32a36b1187e55a2c84e3d7632 | 0.95 | testing_debugging_repair_refactoring | 237 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using MongoDB.Bson;
using MongoDB.Context.Bson;
using NUnit.Framework;
using MongoDB.Context.Tests.Entities;
namespace MongoDB.Context.Tests.Bson
{
[TestFixture]
public class BsonComparerTests
{
private BsonDocumentComparer<TestEntity, ObjectId> _Compar... | cadams93/MongoDB.Context | MongoDB.Context.Tests/Bson/BsonComparerTests.cs | https://github.com/cadams93/MongoDB.Context/blob/HEAD/MongoDB.Context.Tests/Bson/BsonComparerTests.cs | ghcode:00178:2a531cfd2cef | mit | codeparrot/github-code | 2a531cfd2cef332aef9c3f98a7e6b080f76aa952714b006dbc14a9dc87d18ee5 | 0.75 | testing_debugging_repair_refactoring | 2,295 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NClap.Exceptions;
namespace NClap.Tests.Exceptions
{
[TestClass]
public class InvalidCommandExceptionTests : ExceptionTests<InvalidCommandException>
{
}
}
| reubeno/NClap | src/Tests/UnitTests/Exceptions/InvalidCommandExceptionTests.cs | https://github.com/reubeno/NClap/blob/HEAD/src/Tests/UnitTests/Exceptions/InvalidCommandExceptionTests.cs | ghcode:00178:159cdaa9e84f | mit | codeparrot/github-code | 159cdaa9e84f6b05ccd8cd0200dbcbb7e6a0574e99bdee0f8e9e65fd25eea2d5 | 0.85 | testing_debugging_repair_refactoring | 48 | false | 2026-07-17 |
// The MIT License (MIT)
// Copyright (c) 2014 Ben Abelshausen
// 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, co... | rsaat/GTFS | GTFS.Test/FileNotDisposedTest.cs | https://github.com/rsaat/GTFS/blob/HEAD/GTFS.Test/FileNotDisposedTest.cs | ghcode:00178:67ac99fb52a2 | mit | codeparrot/github-code | 67ac99fb52a27b0b74d31856d9709a7d908140098888369bec4afc7ce7ec851d | 0.85 | testing_debugging_repair_refactoring | 654 | false | 2026-07-17 |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gnu.MP.BrickCoinProtocol.Tests
{
[JsonArray]
public class TestCase : List<object>
{
public T GetValue<T>(int i)
{
return (T)Convert.ChangeType... | thepunctuatedhorizon/BrickCoinAlpha.0.0.1 | GnuMP.Tests/Gnu.MP.Tests/Tests/TestCase.cs | https://github.com/thepunctuatedhorizon/BrickCoinAlpha.0.0.1/blob/HEAD/GnuMP.Tests/Gnu.MP.Tests/Tests/TestCase.cs | ghcode:00178:420e89efaf19 | mit | codeparrot/github-code | 420e89efaf19090521a43a81db44fea60d4079ac511a391e2192ea73ceeac3cf | 0.85 | testing_debugging_repair_refactoring | 254 | false | 2026-07-17 |
namespace QAAcademyDemo.Telerik.Core.Pages_02.BillingInformationPage
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
public static class BillingInformationPageAsserter
{
public static void AssertFirstNameLabel(this BillingInformationPage page)
{
Assert.IsTrue(page.Billing... | TelerikAcademy/QA-Academy | 23. Build Test Automation Framework/Demo II/BuildCustomTestFramework_DEMO/BuildCustomTestFramework_DEMO/QAAcademyDemo.Telerik.Core/Pages_02/BillingInformationPage/BillingInformationPageAsserter.cs | https://github.com/TelerikAcademy/QA-Academy/blob/HEAD/23. Build Test Automation Framework/Demo II/BuildCustomTestFramework_DEMO/BuildCustomTestFramework_DEMO/QAAcademyDemo.Telerik.Core/Pages_02/BillingInformationPage/BillingInformationPageAsserter.cs | ghcode:00178:5ab4ffbc36b6 | mit | codeparrot/github-code | 5ab4ffbc36b6426c8579a2dee99da1182b7cab54eb77597190e7a785edf1de37 | 0.6 | testing_debugging_repair_refactoring | 102 | false | 2026-07-17 |
// This file is part of YamlDotNet - A .NET library for YAML.
// Copyright (c) Antoine Aubry and contributors
//
// 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, inclu... | aaubry/YamlDotNet | YamlDotNet.Benchmark/YamlStreamBenchmark.cs | https://github.com/aaubry/YamlDotNet/blob/HEAD/YamlDotNet.Benchmark/YamlStreamBenchmark.cs | ghcode:00178:6a47a6683464 | mit | codeparrot/github-code | 6a47a668346479d713c04d71f7bec44b57d30bbcf1aa4a416a27559c1ccaf0c7 | 0.85 | testing_debugging_repair_refactoring | 383 | false | 2026-07-17 |
using System.IO.Abstractions;
using System.Threading.Tasks;
using FluentAssertions;
using MiniCover.CommandLine.Commands;
using MiniCover.CommandLine.Options;
using MiniCover.Core.Model;
using MiniCover.Reports.Clover;
using Moq;
using Xunit;
namespace MiniCover.UnitTests.CommandLine.Commands
{
public class Clove... | lucaslorentz/minicover | tests/MiniCover.UnitTests/CommandLine/Commands/CloverReportCommandTests.cs | https://github.com/lucaslorentz/minicover/blob/HEAD/tests/MiniCover.UnitTests/CommandLine/Commands/CloverReportCommandTests.cs | ghcode:00178:acea686903d8 | mit | codeparrot/github-code | acea686903d82cdf1a9701029c9c15fdbe7d122eb0092d8b4b3476149e7b7225 | 0.75 | testing_debugging_repair_refactoring | 351 | false | 2026-07-17 |
using System;
using System.Threading;
public class Test {
static int csum = 0;
public static void test_callback (object state) {
Console.WriteLine("test_callback:" + state);
Thread.Sleep (200);
Interlocked.Increment (ref csum);
}
public static int Main () {
int workerThreads;
int completionPortThrea... | jbatonnet/system | Source/[Libraries]/Mono/mono/tests/threadpool.cs | https://github.com/jbatonnet/system/blob/HEAD/Source/[Libraries]/Mono/mono/tests/threadpool.cs | ghcode:00178:0cff1f1d4933 | mit | codeparrot/github-code | 0cff1f1d493353861806e85e589dd78936fc5bd73a949cf7677595643ae28006 | 0.85 | testing_debugging_repair_refactoring | 326 | false | 2026-07-17 |
//
// Interop.DetectOS.cs
//
// Author:
// Natalia Portillo <claunia@claunia.com>
//
// Copyright (c) 2015 © Claunia.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without r... | claunia/Claunia.IO | Claunia.IO/Tests/Interop.DetectOS.cs | https://github.com/claunia/Claunia.IO/blob/HEAD/Claunia.IO/Tests/Interop.DetectOS.cs | ghcode:00178:92a76120f8bb | mit | codeparrot/github-code | 92a76120f8bb41675377e05339f80be0456fe8b2ffe810c9cc4ad8f8dee6ab10 | 0.95 | testing_debugging_repair_refactoring | 361 | false | 2026-07-17 |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.a... | citizenmatt/gallio | src/Extensions/MSTest/Gallio.MSTestAdapter.Tests/Integration/EnvironmentSetupTest.cs | https://github.com/citizenmatt/gallio/blob/HEAD/src/Extensions/MSTest/Gallio.MSTestAdapter.Tests/Integration/EnvironmentSetupTest.cs | ghcode:00178:c05ab50030e9 | apache-2.0 | codeparrot/github-code | c05ab50030e9d2d26daed740a94f87862a91fa00b66e0fe08c39e12c1e2eeada | 0.85 | testing_debugging_repair_refactoring | 707 | false | 2026-07-17 |
#region Copyright
/*Copyright (C) 2015 Kodestruct 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... | Kodestruct/Kodestruct.Design | Tests/Kodestruct.Steel.Tests/AISC/AISC360_10/F_Flexure/IBeam/F2_I_DoublySymmetricCompactTestsW12.cs | https://github.com/Kodestruct/Kodestruct.Design/blob/HEAD/Tests/Kodestruct.Steel.Tests/AISC/AISC360_10/F_Flexure/IBeam/F2_I_DoublySymmetricCompactTestsW12.cs | ghcode:00178:8504457d0734 | apache-2.0 | codeparrot/github-code | 8504457d073473dcd47b77f50f775f5b7c6ebdab6d1c6944ea37da9e40bbaf23 | 0.85 | testing_debugging_repair_refactoring | 569 | false | 2026-07-17 |
using Lucene.Net.Util;
using NUnit.Framework;
using System;
using System.Text;
namespace Lucene.Net.Search.VectorHighlight
{
/*
* 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 ... | laimis/lucenenet | src/Lucene.Net.Tests.Highlighter/VectorHighlight/SimpleBoundaryScannerTest.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Highlighter/VectorHighlight/SimpleBoundaryScannerTest.cs | ghcode:00178:365b6c647af6 | apache-2.0 | codeparrot/github-code | 365b6c647af6db0612ba7d3769f380a33378362e19f046da5381e54683173e92 | 0.85 | testing_debugging_repair_refactoring | 512 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.IO;
using NUnit.Framework.Interfaces;
using NUnit.Framework.Internal;
using NUnit.Framework.Internal.Filters;
using UnityEngine.TestRunner.NUnitExtensions.Filters;
namespace UnityEngine.TestTools.TestR... | IanFMartin/Character-Creator | Character creator/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEngine.TestRunner/TestRunner/TestRunnerFilter.cs | https://github.com/IanFMartin/Character-Creator/blob/HEAD/Character creator/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEngine.TestRunner/TestRunner/TestRunnerFilter.cs | ghcode:00178:c512212806ad | apache-2.0 | codeparrot/github-code | c512212806adfddd87efd619c915b1466cbf801add13cee092d8ad319fef595d | 0.85 | testing_debugging_repair_refactoring | 1,233 | false | 2026-07-17 |
using System.Security.Cryptography;
using EnvCrypt.Core.EncryptionAlgo;
using EnvCrypt.Core.Key;
using EnvCrypt.Core.Key.Mapper.Xml.ToXmlPoco;
using EnvCrypt.Core.Key.Rsa;
using EnvCrypt.Core.Utils;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using EnvCryptKey = EnvCrypt.Core.Key.XmlPoco.EnvCryptKey;
na... | lammichael/EnvCrypt.Core | src/EnvCrypt.Core.UnitTest/Key/Mapper/ToXmlPoco/RsaKeyToXmlMapperTest.cs | https://github.com/lammichael/EnvCrypt.Core/blob/HEAD/src/EnvCrypt.Core.UnitTest/Key/Mapper/ToXmlPoco/RsaKeyToXmlMapperTest.cs | ghcode:00178:676e497e9143 | apache-2.0 | codeparrot/github-code | 676e497e914381458795b71f882f27c7b857a1b91ff173c67247a4bac3f73232 | 0.7 | testing_debugging_repair_refactoring | 1,025 | false | 2026-07-17 |
using System.Threading.Tasks;
using Contentment.Api.Domain;
using NUnit.Framework;
namespace Contentment.Api.IntegrationTest.Controllers
{
[TestFixture]
public class InfoControllerTest : BaseIntegrationController {
[Test]
public async Task GetApiInfo_WhenCalled_ThenShouldReturnVendorContentType() {
var respo... | contentment-dot-io/contentment.api | test/Contentment.Api.IntegrationTest/Controllers/InfoControllerTest.cs | https://github.com/contentment-dot-io/contentment.api/blob/HEAD/test/Contentment.Api.IntegrationTest/Controllers/InfoControllerTest.cs | ghcode:00178:91ca91a4ac03 | apache-2.0 | codeparrot/github-code | 91ca91a4ac034ac03f91d11d967584d4f80db8ca5a8db6f90da2691ac6b5d247 | 0.6 | testing_debugging_repair_refactoring | 117 | false | 2026-07-17 |
namespace Sensorium.UnitTests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Subjects;
public class TestDevice : IDevice
{
public TestDevice(string id, string type)
{
this.Id = id;
this.Type = type;
... | kzu/Sensorium | Sensorium.UnitTests/TestDevice.cs | https://github.com/kzu/Sensorium/blob/HEAD/Sensorium.UnitTests/TestDevice.cs | ghcode:00178:065b6ea2b3ef | apache-2.0 | codeparrot/github-code | 065b6ea2b3eff5d318c0311493cbfe22f21bc60576db79fa4bdf614dd4b90a84 | 0.75 | testing_debugging_repair_refactoring | 179 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using Akka.Actor;
using Akka.Configuration;
using Akka.Configuration.Hocon;
using Akka.Event;
using Akka.TestKit;
using Akka.TestKit.Xunit;
using ... | rodrigovidal/akka.net | src/core/Akka.Remote.TestKit/MultiNodeSpec.cs | https://github.com/rodrigovidal/akka.net/blob/HEAD/src/core/Akka.Remote.TestKit/MultiNodeSpec.cs | ghcode:00178:b562ee7c595a | apache-2.0 | codeparrot/github-code | b562ee7c595afd0735864fd15186cc3a57d6920d3b3e22081d70c25609260748 | 0.85 | testing_debugging_repair_refactoring | 4,659 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.