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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
namespace dotless.Test.Specs
{
using NUnit.Framework;
using System.Collections.Generic;
public class MediaFixture : SpecFixtureBase
{
[Test]
public void MediaDirective()
{
var input = @"
@media all and (min-width: 640px) {
#header {
background-color: #123456;
... | r2i-sitecore/dotless | src/dotless.Test/Specs/MediaFixture.cs | https://github.com/r2i-sitecore/dotless/blob/HEAD/src/dotless.Test/Specs/MediaFixture.cs | ghcode:00012:5c6ff0cfa1fc | apache-2.0 | codeparrot/github-code | 5c6ff0cfa1fc55fddaca42b17ff95490c6435e248d57c6ff1d94fab2b6e79b0e | 0.6 | testing_debugging_repair_refactoring | 2,608 | false | 2026-07-17 |
using System.Linq;
using Elasticsearch.Net;
using Nest;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
namespace Tests.Framework
{
public abstract class ApiIntegrationAgainstNewIndexTestBase<TCluster, TResponse, TInterface, TDescriptor, TInitializer>
: ApiIntegrationTestBase... | CSGOpenSource/elasticsearch-net | src/Tests/Framework/EndpointTests/ApiIntegrationAgainstNewIndexTestBase.cs | https://github.com/CSGOpenSource/elasticsearch-net/blob/HEAD/src/Tests/Framework/EndpointTests/ApiIntegrationAgainstNewIndexTestBase.cs | ghcode:00012:640a01b52874 | apache-2.0 | codeparrot/github-code | 640a01b528747315159e38242ddcff4eddbe103ca0228a84003d3ab3fb2b63f8 | 0.85 | testing_debugging_repair_refactoring | 260 | false | 2026-07-17 |
using Bridge.Test.NUnit;
using System.Reflection;
namespace Bridge.ClientTest.Batch3.BridgeIssues
{
[TestFixture(TestNameFormat = "#3867 - {0}")]
public class Bridge3867
{
[Reflectable]
public class MyModel
{
public int Prop { get; set; }
}
[Test]
... | AndreyZM/Bridge | Tests/Batch3/BridgeIssues/3800/N3867.cs | https://github.com/AndreyZM/Bridge/blob/HEAD/Tests/Batch3/BridgeIssues/3800/N3867.cs | ghcode:00012:518e1a5f3361 | apache-2.0 | codeparrot/github-code | 518e1a5f336198cd31b051b669750145d3f832576fae0e111b23e18143af3080 | 0.75 | testing_debugging_repair_refactoring | 266 | false | 2026-07-17 |
/*
* Copyright 2002-2015 Drew Noakes
*
* Modified by Yakov Danilov <yakodani@gmail.com> for Imazen LLC (Ported from Java to C#)
* 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 Licen... | imazen/n-metadata-extractor | Com.Drew.Tests/Com/drew/lang/GeoLocationTest.cs | https://github.com/imazen/n-metadata-extractor/blob/HEAD/Com.Drew.Tests/Com/drew/lang/GeoLocationTest.cs | ghcode:00012:8a8aa59cd50c | apache-2.0 | codeparrot/github-code | 8a8aa59cd50c47f29c9294979841255b0fe04462c688cbacd0d9e61587a33f28 | 0.7 | testing_debugging_repair_refactoring | 569 | false | 2026-07-17 |
using System;
using System.Threading;
using System.Threading.Tasks;
using LightBDD.Framework.Messaging;
using LightBDD.Framework.UnitTests.Messaging.Helpers;
using NUnit.Framework;
namespace LightBDD.Framework.UnitTests.Messaging
{
[TestFixture]
[FixtureLifeCycle(LifeCycle.InstancePerTestCase)]
public cla... | Suremaker/LightBDD | test/LightBDD.Framework.UnitTests/Messaging/MessageListener_EnsureReceived_tests.cs | https://github.com/Suremaker/LightBDD/blob/HEAD/test/LightBDD.Framework.UnitTests/Messaging/MessageListener_EnsureReceived_tests.cs | ghcode:00012:c637b1140eb5 | bsd-2-clause | codeparrot/github-code | c637b1140eb56bf573f6d90b3763718be59b6d9b0c8f147a221f0b86374addfa | 0.68 | testing_debugging_repair_refactoring | 1,041 | false | 2026-07-17 |
// Copyright (c) 2012, Event Store LLP
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// Redistributions of source code must retain the above copyright notice,
// this list of condi... | msbahrul/EventStore | src/EventStore/EventStore.Core.Tests/TransactionLog/when_reading_physical_bytes_bulk_from_a_chunk.cs | https://github.com/msbahrul/EventStore/blob/HEAD/src/EventStore/EventStore.Core.Tests/TransactionLog/when_reading_physical_bytes_bulk_from_a_chunk.cs | ghcode:00012:d6547ec1ef06 | bsd-3-clause | codeparrot/github-code | d6547ec1ef067606d2f155bcdcc5a33b3a4eacb58755b12061f3885b93a9c2d4 | 0.7 | testing_debugging_repair_refactoring | 1,230 | false | 2026-07-17 |
//
// Copyright (c) 2004-2016 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... | tetrodoxin/NLog | tests/NLog.UnitTests/LayoutRenderers/ProcessTimeLayoutRendererTests.cs | https://github.com/tetrodoxin/NLog/blob/HEAD/tests/NLog.UnitTests/LayoutRenderers/ProcessTimeLayoutRendererTests.cs | ghcode:00012:f9e7fa0d595f | bsd-3-clause | codeparrot/github-code | f9e7fa0d595f1866d52018271fda541e348bb251752e1f1308ed8a96b0ec65c9 | 0.85 | testing_debugging_repair_refactoring | 992 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using SysCommand.ConsoleApp;
using SysCommand.ConsoleApp.Files;
using SysCommand.Mapping;
using static SysCommand.Helpers.ReflectionHelper;
namespace SysCommand.Tests.ConsoleApp
{
public class TaskSaveCommand : Command
{
public bool CleanEmptys { get; se... | juniorgasparotto/SysCommand | src/SysCommand.Tests.ConsoleApp.NetCore20/Commands/TaskSaveCommand.cs | https://github.com/juniorgasparotto/SysCommand/blob/HEAD/src/SysCommand.Tests.ConsoleApp.NetCore20/Commands/TaskSaveCommand.cs | ghcode:00012:6161b10c25d8 | mit | codeparrot/github-code | 6161b10c25d885b6d547feaf1bc4ab0bb0cb7548e04a0ddf3d3e9af54e5c0683 | 0.75 | testing_debugging_repair_refactoring | 470 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using AutoFixture.AutoMoq.UnitTest.TestTypes;
using AutoFixture.Kernel;
using Moq;
using TestTypeFoundation;
using Xunit;
namespace AutoFixture.AutoMoq.UnitTest
{
public class FixtureIntegrationWithAutoMoqCustomizationTest... | Pvlerick/AutoFixture | Src/AutoMoqUnitTest/FixtureIntegrationWithAutoMoqCustomizationTest.cs | https://github.com/Pvlerick/AutoFixture/blob/HEAD/Src/AutoMoqUnitTest/FixtureIntegrationWithAutoMoqCustomizationTest.cs | ghcode:00012:253e74611eb3 | mit | codeparrot/github-code | 253e74611eb3ec1b8d96fc92c6ff9a845fc6b7f9ff2cd53e4bc7b91d4b86fe5c | 0.85 | testing_debugging_repair_refactoring | 4,092 | false | 2026-07-17 |
namespace Volante
{
using System;
public class TestIndexFloat : ITest
{
public class Record : Persistent
{
public float nval; // native value
public Record(float v)
{
nval = v;
}
public Record()
... | kjk/volante | tests/Tests/TestIndexFloat.cs | https://github.com/kjk/volante/blob/HEAD/tests/Tests/TestIndexFloat.cs | ghcode:00012:3dcd8feca54a | mit | codeparrot/github-code | 3dcd8feca54a881dd19ef0e4f95bdb3b19a5e02ed232a62ffab74839e650b247 | 0.85 | testing_debugging_repair_refactoring | 848 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Linq.Expressions;
using LinqToDB;
using LinqToDB.Mapping;
using NUnit.Framework;
namespace Tests.UserTests
{
[TestFixture]
public class Issue1974Tests : TestBase
{
public class Person1974
{
[Column]
public int ID {get; set;}
[Column]
public string? Nam... | linq2db/linq2db | Tests/Linq/UserTests/Issue1974Tests.cs | https://github.com/linq2db/linq2db/blob/HEAD/Tests/Linq/UserTests/Issue1974Tests.cs | ghcode:00012:4fafa694004e | mit | codeparrot/github-code | 4fafa694004eea3a734288dee6eccfd0a696f082736d1428007794db2ed77f55 | 0.75 | testing_debugging_repair_refactoring | 506 | false | 2026-07-17 |
// Visual Studio Shared Project
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//
... | DEVSENSE/PTVS | Common/Tests/Utilities/Mocks/MockTextCaret.cs | https://github.com/DEVSENSE/PTVS/blob/HEAD/Common/Tests/Utilities/Mocks/MockTextCaret.cs | ghcode:00012:d96251437d2a | apache-2.0 | codeparrot/github-code | d96251437d2afdb09505dccae96804987a42fc75edc1943dae818ab4919a7fc1 | 0.95 | testing_debugging_repair_refactoring | 986 | false | 2026-07-17 |
// Lucene version compatibility level 4.8.1
using Lucene.Net.Analysis.Util;
using NUnit.Framework;
using System;
using System.IO;
namespace Lucene.Net.Analysis.Hi
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed ... | apache/lucenenet | src/Lucene.Net.Tests.Analysis.Common/Analysis/Hi/TestHindiFilters.cs | https://github.com/apache/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Analysis.Common/Analysis/Hi/TestHindiFilters.cs | ghcode:00012:43c80dafaa25 | apache-2.0 | codeparrot/github-code | 43c80dafaa25ff66e2c3833ee2ed044504414331ec794cd328c7b0acff2f41ef | 0.85 | testing_debugging_repair_refactoring | 820 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Palaso.DictionaryServices.Model;
using Palaso.Lift;
using Palaso.Tests.Code;
using Palaso.Text;
namespace Palaso.DictionaryServices.Tests.Model
{
[TestFixture]
public class LexNoteIClonableGenericTests... | hatton/libpalaso | Palaso.DictionaryServices.Tests/Model/LexNoteTests.cs | https://github.com/hatton/libpalaso/blob/HEAD/Palaso.DictionaryServices.Tests/Model/LexNoteTests.cs | ghcode:00012:a4b9b8bf3e25 | mit | codeparrot/github-code | a4b9b8bf3e25fabff801d48c4eaa3c5fdac5ab509eecf6279785125a69cae820 | 0.75 | testing_debugging_repair_refactoring | 422 | false | 2026-07-17 |
using FluentMigrator.Runner.Generators.Firebird;
using FluentMigrator.Runner.Processors.Firebird;
using NUnit.Framework;
using Shouldly;
namespace FluentMigrator.Tests.Unit.Generators.Firebird
{
[TestFixture]
public class FirebirdIndexTests : BaseIndexTests
{
protected FirebirdGenerator Generator... | fluentmigrator/fluentmigrator | test/FluentMigrator.Tests/Unit/Generators/Firebird/FirebirdIndexTests.cs | https://github.com/fluentmigrator/fluentmigrator/blob/HEAD/test/FluentMigrator.Tests/Unit/Generators/Firebird/FirebirdIndexTests.cs | ghcode:00012:91d090113642 | apache-2.0 | codeparrot/github-code | 91d09011364268ff47c69866cad89e05e9f4a361870c7f45603d9172020c8812 | 0.75 | testing_debugging_repair_refactoring | 750 | false | 2026-07-17 |
#region License
//
// Copyright (c) 2018, Fluent Migrator 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 ... | schambers/fluentmigrator | test/FluentMigrator.Tests/Unit/Generators/Oracle/OracleColumnTests.cs | https://github.com/schambers/fluentmigrator/blob/HEAD/test/FluentMigrator.Tests/Unit/Generators/Oracle/OracleColumnTests.cs | ghcode:00012:64d72a3f8b40 | apache-2.0 | codeparrot/github-code | 64d72a3f8b40ee1d6eb7807f6ca4d06382470426cb1083f7c3e141e1875b4ece | 0.85 | testing_debugging_repair_refactoring | 313 | 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... | mlorbetske/azure-sdk-tools | WindowsAzurePowershell/src/Management.Test/CloudService/Utilities/AzureServiceTests.cs | https://github.com/mlorbetske/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.Test/CloudService/Utilities/AzureServiceTests.cs | ghcode:00012:24ed54f158cd | apache-2.0 | codeparrot/github-code | 24ed54f158cdf16360817fec6fafd53b80242c60becb6cfa1f42ef7f88c24ebd | 0.95 | testing_debugging_repair_refactoring | 5,942 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
using Microsoft.Azure.Management.ApiManagement.Models;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using System.Collections.Generic;
using Xun... | stankovski/azure-sdk-for-net | sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/tests/ResourceProviderTests/ResourceProviderTestBase.cs | https://github.com/stankovski/azure-sdk-for-net/blob/HEAD/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/tests/ResourceProviderTests/ResourceProviderTestBase.cs | ghcode:00012:6e8a77b00478 | apache-2.0 | codeparrot/github-code | 6e8a77b0047815fe4ce65447c88de7efb2a4e4f448b6774ba31d79e7817d779d | 0.95 | testing_debugging_repair_refactoring | 371 | 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.Reflection;
using Xunit;
namespace System.Linq.Expressions.Tests
{
public static cla... | janhenke/corefx | src/System.Linq.Expressions/tests/Lifted/LiftedMultiplyCheckedNullableTests.cs | https://github.com/janhenke/corefx/blob/HEAD/src/System.Linq.Expressions/tests/Lifted/LiftedMultiplyCheckedNullableTests.cs | ghcode:00012:cf2e2b558fdc | mit | codeparrot/github-code | cf2e2b558fdc489e58459eafa5b863d54a916ff997053e84faa005208560442e | 0.95 | testing_debugging_repair_refactoring | 4,573 | false | 2026-07-17 |
using System;
using System.Reflection;
namespace Nop.Tests
{
public static class AttributeExtensions
{
/// <summary>
/// Will return true if the attributeTarget is decorated with an attribute of type TAttribute.
/// Will return false if not.
/// </summary>
/// <typepara... | jornfilho/nopCommerce | source/Tests/Nop.Tests/AttributeExtensions.cs | https://github.com/jornfilho/nopCommerce/blob/HEAD/source/Tests/Nop.Tests/AttributeExtensions.cs | ghcode:00012:d9b6b70a2601 | apache-2.0 | codeparrot/github-code | d9b6b70a2601cf86204218a63ef908551729ff304704cab2e07868b1df5d9272 | 0.95 | testing_debugging_repair_refactoring | 239 | 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.IO;
using Roslyn.Test.Utilities;
using Roslyn.Utilities;
using Xunit;
namespace Mi... | physhi/roslyn | src/Compilers/Core/CodeAnalysisTest/FileSystem/PathUtilitiesTests.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Compilers/Core/CodeAnalysisTest/FileSystem/PathUtilitiesTests.cs | ghcode:00012:d1f1765ad3e8 | apache-2.0 | codeparrot/github-code | d1f1765ad3e8e161e1c9eecfb3ac263a5129100e41d1e4a7343ab0460cff512e | 0.85 | testing_debugging_repair_refactoring | 4,039 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilitie... | VPashkov/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/ConditionalOperatorTests.cs | https://github.com/VPashkov/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/ConditionalOperatorTests.cs | ghcode:00012:f1787514ff73 | apache-2.0 | codeparrot/github-code | f1787514ff73eb84ac970405ba34bb11c6807df3e7ed9418f8a072091eab030f | 0.95 | testing_debugging_repair_refactoring | 14,636 | 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... | mayurid/azure-powershell | src/ResourceManager/Insights/Commands.Insights.Test/ScenarioTests/UsageMetricsTests.cs | https://github.com/mayurid/azure-powershell/blob/HEAD/src/ResourceManager/Insights/Commands.Insights.Test/ScenarioTests/UsageMetricsTests.cs | ghcode:00012:5c998f15b353 | apache-2.0 | codeparrot/github-code | 5c998f15b3538067c058cb7236e41da3467c2c6704a02056791878936c122e5e | 0.85 | testing_debugging_repair_refactoring | 221 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.Un... | mmitche/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/ContinueKeywordRecommenderTests.cs | https://github.com/mmitche/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/ContinueKeywordRecommenderTests.cs | ghcode:00012:050e2f0ad52f | apache-2.0 | codeparrot/github-code | 050e2f0ad52f032c50dcef9f74e447bb2eb2262b8b02b666e7b28d21eb4e7687 | 0.75 | testing_debugging_repair_refactoring | 1,079 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Editor.CSharp.Outlining;
using Microsoft.CodeAnalysis.... | MatthieuMEZIL/roslyn | src/EditorFeatures/CSharpTest/Outlining/EnumDeclarationOutlinerTests.cs | https://github.com/MatthieuMEZIL/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Outlining/EnumDeclarationOutlinerTests.cs | ghcode:00012:5de39adc6c66 | apache-2.0 | codeparrot/github-code | 5de39adc6c66684f101c8604d32990691406b03fbf141a7481c900c9dd9d7e7e | 0.85 | testing_debugging_repair_refactoring | 416 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
using Microsoft.Azure.KeyVault;
using System;
using Xunit;
namespace Microsoft.Azure.KeyVault.Tests
{
public class ObjectIdentifierTests
{
st... | ScottHolden/azure-sdk-for-net | src/SDKs/KeyVault/dataPlane/Microsoft.Azure.KeyVault.Tests/ObjectIdentifierTests.cs | https://github.com/ScottHolden/azure-sdk-for-net/blob/HEAD/src/SDKs/KeyVault/dataPlane/Microsoft.Azure.KeyVault.Tests/ObjectIdentifierTests.cs | ghcode:00012:f782d347e02f | mit | codeparrot/github-code | f782d347e02f69de904e982eb80bbe6814cf8f2cb0dfd3bb53e7e5f6ec6fb8aa | 0.85 | testing_debugging_repair_refactoring | 1,582 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.type.SubEqual.bol.bo... | ellismg/corefx | src/System.Dynamic.Runtime/tests/Dynamic.Context/Conformance.dynamic.context.operator.compound.type.SubEqual.cs | https://github.com/ellismg/corefx/blob/HEAD/src/System.Dynamic.Runtime/tests/Dynamic.Context/Conformance.dynamic.context.operator.compound.type.SubEqual.cs | ghcode:00012:8585aa821580 | mit | codeparrot/github-code | 8585aa821580ed4b4a60bf83e85372004e4fe2427a08c4c3400a18e56f263632 | 0.82 | testing_debugging_repair_refactoring | 17,764 | 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.Text;
using Xunit;
namespace System.Buffers.Tests
{
public clas... | ptoonen/corefx | src/System.Memory/tests/BuffersExtensions/BuffersExtensionsTests.cs | https://github.com/ptoonen/corefx/blob/HEAD/src/System.Memory/tests/BuffersExtensions/BuffersExtensionsTests.cs | ghcode:00012:6de5e5d6af72 | mit | codeparrot/github-code | 6de5e5d6af725977bb3473fc6afbe34355fab9917d01b40580f2cf90bae40a14 | 0.95 | testing_debugging_repair_refactoring | 647 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... | PaulKolozsvari/Figlut-Suite | source/trunk/Windows/SDK/Json70r1/Source/Src/Newtonsoft.Json.Tests/Serialization/DefaultValueHandlingTests.cs | https://github.com/PaulKolozsvari/Figlut-Suite/blob/HEAD/source/trunk/Windows/SDK/Json70r1/Source/Src/Newtonsoft.Json.Tests/Serialization/DefaultValueHandlingTests.cs | ghcode:00012:b1dc91085c6c | mit | codeparrot/github-code | b1dc91085c6c6224051bbf987f4103a2a98f662dd002afedc91111753fb35908 | 0.95 | testing_debugging_repair_refactoring | 3,384 | 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 System.Reflection;
using Xunit;
namespace System.Reflection.Compatibility.UnitTests.FieldInfoTests
{
// Syste... | dkorolev/corefx | src/System.Reflection.TypeExtensions/tests/FieldInfo/FieldInfoIsFamilyOrAssembly.cs | https://github.com/dkorolev/corefx/blob/HEAD/src/System.Reflection.TypeExtensions/tests/FieldInfo/FieldInfoIsFamilyOrAssembly.cs | ghcode:00012:0bb62559feef | mit | codeparrot/github-code | 0bb62559feef9344aacd0a94695ed8e3f86b688e7b458d8303e92733d31d3f0e | 0.95 | testing_debugging_repair_refactoring | 1,178 | false | 2026-07-17 |
// ---------------------------------------------------------------------------
// <copyright company="Microsoft Corporation" file="XmlDiffPathMultiNodeList.cs">
// Copyright (c) Microsoft Corporation 2005
// </copyright>
// <project>
// XmlDiffView
// </project>
// <summary>
// Methods to handle nodes whi... | TwineTree/XmlNotepad | src/XmlDiffView/XmlDiffPathMultiNodeList.cs | https://github.com/TwineTree/XmlNotepad/blob/HEAD/src/XmlDiffView/XmlDiffPathMultiNodeList.cs | ghcode:00012:0326f15401d5 | mit | codeparrot/github-code | 0326f15401d57bf32b5c9561e8db27ce93329626e4d289ec5f95aa6149a2b428 | 0.7 | testing_debugging_repair_refactoring | 1,386 | false | 2026-07-17 |
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
namespace UnitTest.Rollbar
{
using global::Rollbar;
using global::Rollbar.Infrastructure;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
[TestClass]
... | rollbar/Rollbar.NET | UnitTest.Rollbar/RollbarUtilFixture.cs | https://github.com/rollbar/Rollbar.NET/blob/HEAD/UnitTest.Rollbar/RollbarUtilFixture.cs | ghcode:00012:dd4fe0da7798 | mit | codeparrot/github-code | dd4fe0da77989e77b65937bcf985dcbe98e70a39d2054555481161e593d8273e | 0.7 | testing_debugging_repair_refactoring | 668 | false | 2026-07-17 |
using NUnit.Framework;
using SeriousGameToolbox.Logging;
using SeriousGameToolbox.Tests._utils;
using SeriousGameToolbox.Tests.Logging.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SeriousGameToolbox.Tests.Logging
{
[TestFixture]
[Category("Logs")]
p... | Groutcho/SeriousGameToolbox | SeriousGameToolbox/tests/SeriousGameToolbox.Tests/Logging/Logger.Tests.cs | https://github.com/Groutcho/SeriousGameToolbox/blob/HEAD/SeriousGameToolbox/tests/SeriousGameToolbox.Tests/Logging/Logger.Tests.cs | ghcode:00012:0c4f85d723f6 | mit | codeparrot/github-code | 0c4f85d723f6d3f5af7bc942933e00bf7b464854a72c7a54b846883da5021d46 | 0.85 | testing_debugging_repair_refactoring | 364 | false | 2026-07-17 |
using System;
using System.Threading;
using System.Reflection;
class T {
[ThreadStatic]
static int var = 5;
static bool tfailed = true;
static void thread () {
tfailed = false;
if (var != 0)
tfailed = true;
Console.WriteLine ("start value: {0}", var);
for (int i = 0; i < 10; ++i) {
var += 10;
Th... | jbatonnet/system | Source/[Libraries]/Mono/mono/tests/thread-static.cs | https://github.com/jbatonnet/system/blob/HEAD/Source/[Libraries]/Mono/mono/tests/thread-static.cs | ghcode:00012:720139d2b548 | mit | codeparrot/github-code | 720139d2b5483901076dcacf7ff834dc4e45ee5380d356c639d9b0d5b4827b10 | 0.85 | testing_debugging_repair_refactoring | 355 | false | 2026-07-17 |
using Xunit;
namespace Carbon.Data.Sql.Tests
{
using Adapters;
using Annotations;
public class AddIndexCommandTests
{
[Fact]
public void A()
{
var index = new IndexInfo(new[] {
new IndexMember("a"),
new IndexMember("b")... | Carbon/Data | Carbon.Sql.Tests/Commands/AddIndexCommandTests.cs | https://github.com/Carbon/Data/blob/HEAD/Carbon.Sql.Tests/Commands/AddIndexCommandTests.cs | ghcode:00012:d11274fe12bd | mit | codeparrot/github-code | d11274fe12bd53959f01b41b81e1ec81935103bf883973ea23fa147b6982816a | 0.75 | testing_debugging_repair_refactoring | 280 | false | 2026-07-17 |
//#define LOG
using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;
using System.IO;
using System.Diagnostics;
namespace ICSimulator
{
public abstract class Router
{
public Coord coord;
public int subnet;
public int ID { get { return co... | anderson1008/NOCulator | hring/src/Net/Router.cs | https://github.com/anderson1008/NOCulator/blob/HEAD/hring/src/Net/Router.cs | ghcode:00012:27cde280aada | mit | codeparrot/github-code | 27cde280aada8ea7702bf9e1cfea9481a74f545616217d2c4b37eb75ae0e63b9 | 0.8 | testing_debugging_repair_refactoring | 5,880 | false | 2026-07-17 |
using System.Linq;
using ApiTemplate.Api.Domain.Common.FluentResult;
using ApiTemplate.Api.Domain.Common.Guards;
using FluentAssertions;
using FluentResults;
using Specs.Library.Builders;
using Specs.Library.Builders.ObjectMothers;
namespace Specs.Unit.ApiTemplate.Domain.Common
{
public abstract class EnsureScena... | mwhelan/Specify | src/Samples/AspNetCoreApi/specs/Specs.Unit/Domain/Common/EnsureSpecs.cs | https://github.com/mwhelan/Specify/blob/HEAD/src/Samples/AspNetCoreApi/specs/Specs.Unit/Domain/Common/EnsureSpecs.cs | ghcode:00012:ed1b318a9150 | mit | codeparrot/github-code | ed1b318a9150164508e03cbad82fa4d6ae14f51af4dc0d0c72a2e3e383f8e1f4 | 0.75 | testing_debugging_repair_refactoring | 875 | false | 2026-07-17 |
using System;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace System.IO.Pipelines.Tests
{
public class UnownedBufferReaderFacts
{
[Fact]
public async Task CanConsumeData()
{
var stream = new CallbackStream(asy... | alexperovich/corefxlab | tests/System.IO.Pipelines.Tests/UnownedBufferReaderFacts.cs | https://github.com/alexperovich/corefxlab/blob/HEAD/tests/System.IO.Pipelines.Tests/UnownedBufferReaderFacts.cs | ghcode:00012:8ae80fecb11f | mit | codeparrot/github-code | 8ae80fecb11f96e29cba4296a191102255be247818e2590c52307f25da04f172 | 0.85 | testing_debugging_repair_refactoring | 3,700 | false | 2026-07-17 |
namespace Nancy.AspNet.WebSockets.Tests.StandardSite
{
public class WsModule : WebSocketNancyModule
{
public WsModule(ILog log) : base("/ws")
{
WebSocket["/reverse"] = _ => new ReverseHandler(log, GetClientName());
}
private string GetClientName()
{
... | provegard/Nancy.AspNet.WebSockets | src/Nancy.AspNet.WebSockets.Tests.StandardSite/WsModule.cs | https://github.com/provegard/Nancy.AspNet.WebSockets/blob/HEAD/src/Nancy.AspNet.WebSockets.Tests.StandardSite/WsModule.cs | ghcode:00012:25ce52219b8d | mit | codeparrot/github-code | 25ce52219b8dbfe45c91b6e39d2b95cf2d64fd63702060acb93a9bdc03a6b760 | 0.75 | testing_debugging_repair_refactoring | 84 | false | 2026-07-17 |
using Bitretsmah.Data.LiteDB.Internal;
using CG.Web.MegaApiClient;
using System;
using System.Linq;
using System.Net;
namespace Bitretsmah.Tests.Integration
{
public static class TestCleanUpHelper
{
public static void CleanUpMegaAccount(NetworkCredential credential)
{
Console.Write... | zbigniew-klasik/Bitretsmah | src/Bitretsmah.Tests.Integration/TestCleanUpHelper.cs | https://github.com/zbigniew-klasik/Bitretsmah/blob/HEAD/src/Bitretsmah.Tests.Integration/TestCleanUpHelper.cs | ghcode:00012:e300dac1d76f | mit | codeparrot/github-code | e300dac1d76feadfd17d57e76202dd9329d6a93912f0638859478a7fe446ece6 | 0.75 | testing_debugging_repair_refactoring | 231 | false | 2026-07-17 |
// MIT License
//
// Copyright(c) 2022 ICARUS Consulting GmbH
//
// 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, cop... | icarus-consulting/Yaapii.Atoms | tests/Yaapii.Atoms.Tests/Bytes/BytesBase64Test.cs | https://github.com/icarus-consulting/Yaapii.Atoms/blob/HEAD/tests/Yaapii.Atoms.Tests/Bytes/BytesBase64Test.cs | ghcode:00012:adced586cf77 | mit | codeparrot/github-code | adced586cf77aeb42cde727ab68841f1c9f3a7f064b4ab54b7475a381ba2ba20 | 0.85 | testing_debugging_repair_refactoring | 332 | false | 2026-07-17 |
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Security.Cryptography;
// State object for reading client data asynchronously
public class StateObject {
// Client socket.
public Socket workSocket = null;
// Size of receive buffer... | bigpeng2046/miqi-server | c#/test/src/TestAsyncSocketListener.cs | https://github.com/bigpeng2046/miqi-server/blob/HEAD/c#/test/src/TestAsyncSocketListener.cs | ghcode:00012:1f7f7ff3168d | mit | codeparrot/github-code | 1f7f7ff3168d360db46935d4d5f719a1513e1dd588a04f0c4c9101e0c2dc6d71 | 0.95 | testing_debugging_repair_refactoring | 1,500 | false | 2026-07-17 |
namespace AngleSharp.Core.Tests.Css
{
using AngleSharp.Html.Dom;
using NUnit.Framework;
[TestFixture]
public class WebsiteQueryTests
{
[Test]
public void HtmlCodeTutorialFindTableChildren()
{
var content = Helper.StreamFromBytes(Assets.htmlcodetutorial);
... | AngleSharp/AngleSharp | src/AngleSharp.Core.Tests/Css/WebsiteQuery.cs | https://github.com/AngleSharp/AngleSharp/blob/HEAD/src/AngleSharp.Core.Tests/Css/WebsiteQuery.cs | ghcode:00012:cc7c58711a75 | mit | codeparrot/github-code | cc7c58711a7537b9d895ba195cc3d2c32d9093f017134c5d6c3ddf8d88392b51 | 0.6 | testing_debugging_repair_refactoring | 219 | false | 2026-07-17 |
namespace BullsAndCows.Test
{
using System;
using System.IO;
using System.Reflection;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class GameEngineTests
{
[TestMethod]
public void GameEngineConstructorTest()
{
... | SVGN/BullsAndCows | BullsAndCows/BullsAndCows.Test/GameEngineTests.cs | https://github.com/SVGN/BullsAndCows/blob/HEAD/BullsAndCows/BullsAndCows.Test/GameEngineTests.cs | ghcode:00012:08dc855c0459 | mit | codeparrot/github-code | 08dc855c0459176f5aaad0413f12745e39b1ff1cd60243a0e3d75ff1feaf602e | 0.75 | testing_debugging_repair_refactoring | 2,229 | false | 2026-07-17 |
class IntGetHashCode
{
void Test()
{
// These are all bad:
default(uint).GetHashCode();
default(int).GetHashCode();
default(long).GetHashCode();
default(ulong).GetHashCode();
default(short).GetHashCode();
default(ushort).GetHashCode();
default(byte... | github/codeql | csharp/ql/test/query-tests/Useless Code/IntGetHashCode/IntGetHashCode.cs | https://github.com/github/codeql/blob/HEAD/csharp/ql/test/query-tests/Useless Code/IntGetHashCode/IntGetHashCode.cs | ghcode:00012:d717dd84455f | mit | codeparrot/github-code | d717dd84455fbf2222f4842683e097bdfe07926f1cad3f38dd78eb350299314d | 0.85 | testing_debugging_repair_refactoring | 123 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using System.Text;
using System.Threading;
using NUnit.TestUtilities;
namespace NUnit.Framework.Internal.Execution
{
public class TestWorkerTests
{
private WorkItemQueue _queue;
private TestWorker _worke... | nunit/nunit | src/NUnitFramework/tests/Internal/TestWorkerTests.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/tests/Internal/TestWorkerTests.cs | ghcode:00012:2cc2c526e4f3 | mit | codeparrot/github-code | 2cc2c526e4f3e54c63e1664658076a5717568d50d2d9561e50f5c5f3e35287a3 | 0.85 | testing_debugging_repair_refactoring | 302 | false | 2026-07-17 |
using NUnit.Framework;
using Roadmapp.Entities;
namespace Roadmapp_NTest.Entities
{
[TestFixture]
public class RealisationEntity_Test
{
//-------------------------------------------------------------------------
private EntityFactory Factory = new EntityFactory( new EntityRelationshipManager() );
p... | grae22/Roadmap | Roadmap_NTest/Entities/RealisationEntity_Test.cs | https://github.com/grae22/Roadmap/blob/HEAD/Roadmap_NTest/Entities/RealisationEntity_Test.cs | ghcode:00012:0f0e4f466f28 | mit | codeparrot/github-code | 0f0e4f466f281d67f7a2c8be0801667367e7ac40f814eb7245166d7bf0ad960a | 0.7 | testing_debugging_repair_refactoring | 372 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using Moq;
using Newtonsoft.Json;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Cache;
using Umbraco.Core.Composing;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Core.Profiling;
using Umbraco.Core.Proper... | lars-erik/Umbraco-CMS | src/Umbraco.Tests/PropertyEditors/MultiValuePropertyEditorTests.cs | https://github.com/lars-erik/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/PropertyEditors/MultiValuePropertyEditorTests.cs | ghcode:00012:b9f1720c7699 | mit | codeparrot/github-code | b9f1720c7699fef77d50debe5447f621d59838d72affa58156fc71c38da8b969 | 0.85 | testing_debugging_repair_refactoring | 1,127 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Renci.SshNet.Channels;
using Renci.SshNet.Common;
using Renci.SshNet.Messages.Connection;
using Renci.SshNet.Tests.Common;
namespace Renci.SshNet.Tests.Classes.Channels
{
[T... | sshnet/SSH.NET | src/Renci.SshNet.Tests/Classes/Channels/ChannelSessionTest_Dispose_SessionIsConnectedAndChannelIsOpen_ChannelCloseAndChannelEofReceived_DisposeInEventHandler.cs | https://github.com/sshnet/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/Channels/ChannelSessionTest_Dispose_SessionIsConnectedAndChannelIsOpen_ChannelCloseAndChannelEofReceived_DisposeInEventHandler.cs | ghcode:00012:9107a2fdcf99 | mit | codeparrot/github-code | 9107a2fdcf991bffa4f1233944c7bd9bcbf03eaaf6fd2942b9685af1b8e0ec37 | 0.6 | testing_debugging_repair_refactoring | 1,133 | false | 2026-07-17 |
//C:\\Users\\t-kevimi\\Documents\\Engineering\\Lua Files for Testing\Assignments.lua
using LanguageModel.Tests.TestGeneration;
using LanguageService;
using Xunit;
namespace LanguageModel.Tests.GeneratedTestFiles
{
class Assignments_Generated
{
[Fact]
public void Test(Tester t)
{
... | xiangyan99/VSLua | src/LanguageModel.Tests/TestGeneration/ValidatedGeneratedTests/Assignments_Generated.cs | https://github.com/xiangyan99/VSLua/blob/HEAD/src/LanguageModel.Tests/TestGeneration/ValidatedGeneratedTests/Assignments_Generated.cs | ghcode:00012:73c961c85aa1 | mit | codeparrot/github-code | 73c961c85aa13aee7e7fda22b565145787cab29d5814cb16621607c64417ea73 | 0.6 | testing_debugging_repair_refactoring | 592 | false | 2026-07-17 |
using System;
using Holidays;
using NUnit.Framework;
namespace HolidaysTests {
[TestFixture]
public class FixedHolidaysTests {
[TestCase(2016, "2016/01/01")]
[TestCase(2020, "2020/01/01")]
[TestCase(2025, "2025/01/01")]
[TestCase(2030, "2030/01/01")]
public void NewYear... | reboucaslinhares/BrazilianHolidays | Holidays/Holidays.Tests/FixedHolidaysTests.cs | https://github.com/reboucaslinhares/BrazilianHolidays/blob/HEAD/Holidays/Holidays.Tests/FixedHolidaysTests.cs | ghcode:00012:3bbb6aa35e52 | mit | codeparrot/github-code | 3bbb6aa35e5232284c0386765bd9e69228473546c276a70a98f6452deabb248d | 0.75 | testing_debugging_repair_refactoring | 1,142 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Runtime.Remoting;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Backlog4net.Test
{
using Api;
using Api.Option;
using Backlog4net.Internal.Json;... | ats124/backlog4net | src/Backlog4net.Test/SpaceMethodsTest.cs | https://github.com/ats124/backlog4net/blob/HEAD/src/Backlog4net.Test/SpaceMethodsTest.cs | ghcode:00012:b0ad5fbe9953 | mit | codeparrot/github-code | b0ad5fbe995348eed4947fd886b5e3263c6be801545ef0f5991847f86ce36124 | 0.6 | testing_debugging_repair_refactoring | 1,659 | false | 2026-07-17 |
using NUnit.Framework;
using GildedRose.Tests.Core.Extensions;
using FluentAssertions;
using GildedRose;
using GildedRose.Entities;
using GildedRose.Policies;
using System.Collections.Generic;
using static GildedRose.Policies.PolicyNames;
using static GildedRose.Tests.Core.Hosts.GildedRoseTestHost;
namespace GildedRos... | scmallorca/gilded-rose-dojo | jrogalan_csharp/test/GildedRose.Tests/GildedRoseTests.cs | https://github.com/scmallorca/gilded-rose-dojo/blob/HEAD/jrogalan_csharp/test/GildedRose.Tests/GildedRoseTests.cs | ghcode:00012:35e1acdb7a4e | mit | codeparrot/github-code | 35e1acdb7a4ea82aafbc9694244fef35c522d8144468b7af6c420706176c53c5 | 0.95 | testing_debugging_repair_refactoring | 1,027 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TestOutHelperExtensions.cs" company="Hukano">
// Copyright (c) Hukano. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full licens... | hugener/Sundew.Quantities | Source/Sundew.Quantities.Samples/TestOutHelperExtensions.cs | https://github.com/hugener/Sundew.Quantities/blob/HEAD/Source/Sundew.Quantities.Samples/TestOutHelperExtensions.cs | ghcode:00012:321ab6dfae67 | mit | codeparrot/github-code | 321ab6dfae67e1f59db6c84e12f9d03362bddb2884d55fd1af53a76b75ba3a98 | 0.85 | testing_debugging_repair_refactoring | 113 | false | 2026-07-17 |
using System;
using System.IO;
using System.Text;
using UnityEngine;
/// <summary>
/// An improved BinaryReader for Unity.
/// </summary>
public class UnityBinaryReader : IDisposable
{
public Stream BaseStream
{
get { return reader.BaseStream; }
}
public UnityBinaryReader(Stream input)
{
... | ColeDeanShepherd/TESUnity | Assets/Scripts/Core/UnityBinaryReader.cs | https://github.com/ColeDeanShepherd/TESUnity/blob/HEAD/Assets/Scripts/Core/UnityBinaryReader.cs | ghcode:00012:e64ec96b59ef | mit | codeparrot/github-code | e64ec96b59efa01b4e3d3a3fa9157cab164d1de0449086d1c695b0e596d16cce | 0.7 | testing_debugging_repair_refactoring | 3,315 | false | 2026-07-17 |
using Microsoft.eShopOnContainers.Services.Ordering.API.Application.IntegrationEvents;
namespace UnitTest.Ordering.Application;
using Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate;
public class NewOrderRequestHandlerTest
{
private readonly Mock<IOrderRepository> _orderRepos... | dotnet-architecture/eShopOnContainers | src/Services/Ordering/Ordering.UnitTests/Application/NewOrderCommandHandlerTest.cs | https://github.com/dotnet-architecture/eShopOnContainers/blob/HEAD/src/Services/Ordering/Ordering.UnitTests/Application/NewOrderCommandHandlerTest.cs | ghcode:00012:fc737657f623 | mit | codeparrot/github-code | fc737657f623241fb2ae7351489bfc25001b4ee5fd81233e42bd1b550790c611 | 0.7 | testing_debugging_repair_refactoring | 867 | false | 2026-07-17 |
using System;
using AzureFromTheTrenches.Commanding.Tests.Acceptance.Helpers;
using Xbehave;
using Xunit;
namespace AzureFromTheTrenches.Commanding.Tests.Acceptance.ErrorPaths
{
public class ThrownExceptionFromHandlerPropagatesOut : AbstractDispatchTestBase
{
public ThrownExceptionFromHandlerPropagate... | JamesRandall/AccidentalFish.Commanding | Tests/AzureFromTheTrenches.Commanding.Tests.Acceptance/ErrorPaths/ThrownExceptionFromHandlerPropagatesOut.cs | https://github.com/JamesRandall/AccidentalFish.Commanding/blob/HEAD/Tests/AzureFromTheTrenches.Commanding.Tests.Acceptance/ErrorPaths/ThrownExceptionFromHandlerPropagatesOut.cs | ghcode:00012:c3866b29f31f | mit | codeparrot/github-code | c3866b29f31f80545fd98685ccda0e06eb5dfd91c3182833d170ef09dbe09075 | 0.75 | testing_debugging_repair_refactoring | 286 | false | 2026-07-17 |
namespace Nilgiri.Examples
{
using Xunit;
using Nilgiri.Tests.Common;
using static Nilgiri.Assertions;
public partial class ExampleOf_Expect
{
[Fact]
public void To_Not_Equal()
{
Expect(1).To.Not.Equal(1612316);
Expect(@"I'm a string!").To.Not.Equal(@"I'm another string");
}
}
}... | brycekbargar/Nilgiri | Nilgiri.Tests/Examples/Expect/ToNotEqual.cs | https://github.com/brycekbargar/Nilgiri/blob/HEAD/Nilgiri.Tests/Examples/Expect/ToNotEqual.cs | ghcode:00012:6509fd687e5c | mit | codeparrot/github-code | 6509fd687e5c16a92944c8bcee669d1fd41d39f34506306ecb0cdd80cac482f3 | 0.6 | testing_debugging_repair_refactoring | 93 | false | 2026-07-17 |
namespace Admin.UnitTest.Events
{
using Admin.UnitTest.Framework;
using Common.Events;
using Common.Extensions;
using Microsoft.Practices.EnterpriseLibrary.Logging;
using Microsoft.Practices.Prism.Events;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shell.ViewModels;
[Te... | RWE-Nexus/EnergyTrading-MDM-Sample | Code/AdminUi/Admin.UnitTest/Events/entity_selected_event_specs.cs | https://github.com/RWE-Nexus/EnergyTrading-MDM-Sample/blob/HEAD/Code/AdminUi/Admin.UnitTest/Events/entity_selected_event_specs.cs | ghcode:00012:acc678cacbce | mit | codeparrot/github-code | acc678cacbce90341227ff5be2304c4a03fbcfde9619d1ec1ea0ba82b1d6f0fe | 0.6 | testing_debugging_repair_refactoring | 193 | false | 2026-07-17 |
using Nop.Tests;
using NUnit.Framework;
namespace Nop.Data.Tests.Catalog
{
[TestFixture]
public class ProductTemplatePersistenceTests : PersistenceTest
{
[Test]
public void Can_save_and_load_productTemplate()
{
var productTemplate = this.GetTestProductTemplate();
... | Anovative/Nop39 | Tests/Nop.Data.Tests/Catalog/ProductTemplatePersistenceTests.cs | https://github.com/Anovative/Nop39/blob/HEAD/Tests/Nop.Data.Tests/Catalog/ProductTemplatePersistenceTests.cs | ghcode:00012:fe03a2715306 | mit | codeparrot/github-code | fe03a271530652ba017de7ad4c7ed633809882b784f3238e22e6842d657aa36e | 0.75 | testing_debugging_repair_refactoring | 98 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pliant.Builders.Expressions;
using Pliant.Charts;
using Pliant.Grammars;
namespace Pliant.Tests.Unit
{
/// <summary>
/// Summary description for ChartTests
/// </summary>
[TestClass]
public class ChartTests
{
[TestMethod]
... | bilsaboob/Pliant | tests/Pliant.Tests.Unit/Charts/ChartTests.cs | https://github.com/bilsaboob/Pliant/blob/HEAD/tests/Pliant.Tests.Unit/Charts/ChartTests.cs | ghcode:00012:8b828769dbc4 | mit | codeparrot/github-code | 8b828769dbc4dcabcb99038a6e182117c61751d87662d16618a0f4e21001f76c | 0.85 | testing_debugging_repair_refactoring | 226 | false | 2026-07-17 |
using System;
namespace Tynamix.ObjectFiller.Test.TestPoco
{
[Flags]
public enum TestEnum
{
ValueOne,
ValueTwo,
ValueThree,
ValueFour
}
} | Tynamix/ObjectFiller.NET | Tynamix.ObjectFiller.Test/TestPoco/TestEnum.cs | https://github.com/Tynamix/ObjectFiller.NET/blob/HEAD/Tynamix.ObjectFiller.Test/TestPoco/TestEnum.cs | ghcode:00012:dd36a88e4842 | mit | codeparrot/github-code | dd36a88e4842e7b0adedf81eea40e08d104756a678741a5505bb335657eac8b2 | 0.5 | testing_debugging_repair_refactoring | 47 | false | 2026-07-17 |
using System.Threading.Tasks;
using Nimbus.Configuration;
using Nimbus.IntegrationTests.Tests.SimpleRequestResponseTests.MessageContracts;
using Nimbus.Tests.Common.TestScenarioGeneration.ScenarioComposition;
using Nimbus.Tests.Common.TestScenarioGeneration.TestCaseSources;
using NUnit.Framework;
using Shouldly;
name... | KodrAus/Nimbus | src/Tests/Nimbus.IntegrationTests/Tests/SimpleRequestResponseTests/WhenSendingARequestOnTheBus.cs | https://github.com/KodrAus/Nimbus/blob/HEAD/src/Tests/Nimbus.IntegrationTests/Tests/SimpleRequestResponseTests/WhenSendingARequestOnTheBus.cs | ghcode:00012:5d5d9a4ebb40 | mit | codeparrot/github-code | 5d5d9a4ebb40b75d18d7b81a8eac5035afc09bc20eece555c17ca7f999873deb | 0.85 | testing_debugging_repair_refactoring | 206 | false | 2026-07-17 |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | Squidex/squidex | backend/tests/Squidex.Domain.Apps.Core.Tests/Model/Apps/LanguagesConfigJsonTests.cs | https://github.com/Squidex/squidex/blob/HEAD/backend/tests/Squidex.Domain.Apps.Core.Tests/Model/Apps/LanguagesConfigJsonTests.cs | ghcode:00012:11b8d970cbb2 | mit | codeparrot/github-code | 11b8d970cbb2054f87ad8bac4d10f3baa5a63dd2c51e6c9be82b163be5ebdcf7 | 0.95 | testing_debugging_repair_refactoring | 186 | false | 2026-07-17 |
using System;
using Xunit;
using com.tms.datastruct;
using com.tms.turing;
namespace com.tms.test
{
public class TestLoadXML
{
private const string ADD_ONE_TM = @"<?xml version='1.0'?>
<turing-machine version='0.1'>
<!-- This Turing machine (TM) adds one to a whole number.
For example, i... | sanelli/tms | csharp/com.tms.test/Tests.cs | https://github.com/sanelli/tms/blob/HEAD/csharp/com.tms.test/Tests.cs | ghcode:00012:61f4443ec5cd | unlicense | codeparrot/github-code | 61f4443ec5cdd95f90f4136396c7cba855e297f88bee36f1b0c1020c748fb48b | 0.78 | testing_debugging_repair_refactoring | 3,138 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Responsible.Utilities.Extensions;
namespace Responsible.Utilities.Tests
{
[TestClass]
public class CharTests
{
[TestMethod]
public void Two_Characters_Are_Same_Case_Insensitive()
{
var characterBigA = 'A';
... | naeemafzal/Responsible | Responsible.Utilities.Tests/CharTests.cs | https://github.com/naeemafzal/Responsible/blob/HEAD/Responsible.Utilities.Tests/CharTests.cs | ghcode:00012:2a57eb797c1f | unlicense | codeparrot/github-code | 2a57eb797c1fb976faeace3bdb7c44ba2d91639efcf2b5482d35f818bf7d1782 | 0.68 | testing_debugging_repair_refactoring | 317 | false | 2026-07-17 |
// -----------------------------------------------------------------------------------------
// <copyright file="CloudFileDirectoryTest.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in... | SaschaDittmann/azure-storage-net | Test/ClassLibraryCommon/File/CloudFileDirectoryTest.cs | https://github.com/SaschaDittmann/azure-storage-net/blob/HEAD/Test/ClassLibraryCommon/File/CloudFileDirectoryTest.cs | ghcode:00012:525b15a7339f | apache-2.0 | codeparrot/github-code | 525b15a7339ff9a4d51f056d42684d7c0ea24ab9534443d76ca62dd31047df46 | 0.7 | testing_debugging_repair_refactoring | 7,242 | false | 2026-07-17 |
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using ImageMagick;
using ImageMagick.Formats;
using Xunit;
namespace Magick.NET.Tests
{
public partial class CaptionReadDefinesTests
{
public class TheConstructor
{
... | dlemstra/Magick.NET | tests/Magick.NET.Tests/Formats/Caption/CaptionReadDefinesTests/TheConstructor.cs | https://github.com/dlemstra/Magick.NET/blob/HEAD/tests/Magick.NET.Tests/Formats/Caption/CaptionReadDefinesTests/TheConstructor.cs | ghcode:00012:6996b8331346 | apache-2.0 | codeparrot/github-code | 6996b8331346fa40bff53075db670a2789c4ceb65e1df651afdf76a58e50afcf | 0.7 | testing_debugging_repair_refactoring | 152 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Intercom.Clients;
using Intercom.Converters.ClassConverters;
using Intercom.Core;
using Intercom.Data;
using Intercom.Exceptions;
using Moq;
using Newtonsoft.Json;
using NUnit.Framework;
using RestSharp;
using RestSharp.Authentic... | intercom/intercom-dotnet | src/Intercom.Tests/Converters/ClassConverters/ConversationAdminCountJsonConverterTest.cs | https://github.com/intercom/intercom-dotnet/blob/HEAD/src/Intercom.Tests/Converters/ClassConverters/ConversationAdminCountJsonConverterTest.cs | ghcode:00012:4f88401aca2c | apache-2.0 | codeparrot/github-code | 4f88401aca2cf97ae8f8432675c2e693bfeb8e44267e669d79a1441540e16959 | 0.6 | testing_debugging_repair_refactoring | 482 | false | 2026-07-17 |
#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... | IRlyDontKnow/FluentValidation | src/FluentValidation.Tests/GreaterThanOrEqualToValidatorTester.cs | https://github.com/IRlyDontKnow/FluentValidation/blob/HEAD/src/FluentValidation.Tests/GreaterThanOrEqualToValidatorTester.cs | ghcode:00012:9fb43ec0570b | apache-2.0 | codeparrot/github-code | 9fb43ec0570bc5cd446ea5156b7d8a40ecbf87755e68c62c1398ad25169fcc50 | 0.7 | testing_debugging_repair_refactoring | 1,257 | 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... | Jay-Jay-D/LeanSTP | Tests/Common/Brokerages/FxcmBrokerageModelTests.cs | https://github.com/Jay-Jay-D/LeanSTP/blob/HEAD/Tests/Common/Brokerages/FxcmBrokerageModelTests.cs | ghcode:00012:c002e0bc24f8 | apache-2.0 | codeparrot/github-code | c002e0bc24f8692b520ecbe52f3e41a54a7a266710257a4aef0ab149e52e95eb | 0.85 | testing_debugging_repair_refactoring | 2,020 | false | 2026-07-17 |
using Foundatio.Tests.Utility;
using StackExchange.Redis;
namespace Foundatio.Redis.Tests {
public static class SharedConnection {
private static ConnectionMultiplexer _muxer;
public static ConnectionMultiplexer GetMuxer() {
if (ConnectionStrings.Get("RedisConnectionString") == null)
... | vebin/Foundatio | src/Redis/Tests/SharedConnection.cs | https://github.com/vebin/Foundatio/blob/HEAD/src/Redis/Tests/SharedConnection.cs | ghcode:00012:b8cf97733128 | apache-2.0 | codeparrot/github-code | b8cf977331280e76190af6d855aff213b579da933d4a1b342ba421b54d510144 | 0.85 | testing_debugging_repair_refactoring | 98 | false | 2026-07-17 |
using NBi.Core.Scalar.Comparer;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Testing.Core.Scalar.Comparer
{
public class NumericToleranceFactoryTest
{
[Test]
public void Instantiate_Abso... | Seddryck/NBi | NBi.Testing.Core/Scalar/Comparer/NumericToleranceFactoryTest.cs | https://github.com/Seddryck/NBi/blob/HEAD/NBi.Testing.Core/Scalar/Comparer/NumericToleranceFactoryTest.cs | ghcode:00012:5c2d48e839b5 | apache-2.0 | codeparrot/github-code | 5c2d48e839b502217238d45a0a1283f6261aaab90eedce9f261ca2ce1d4142b1 | 0.6 | testing_debugging_repair_refactoring | 997 | false | 2026-07-17 |
using UnityEngine;
namespace DefaultNamespace
{
public class CorrectNameGeneration : MonoBehaviour
{
public void Update()
{
if (GetComponent<Transform>() ={caret}= null) {
}
}
}
} | JetBrains/resharper-unity | resharper/resharper-unity/test/data/Unity/CSharp/Intentions/QuickFixes/MoveNullComparison/CorrectNameGeneration2.cs | https://github.com/JetBrains/resharper-unity/blob/HEAD/resharper/resharper-unity/test/data/Unity/CSharp/Intentions/QuickFixes/MoveNullComparison/CorrectNameGeneration2.cs | ghcode:00012:ad9224fe7810 | apache-2.0 | codeparrot/github-code | ad9224fe781092d1e95113d0b0937ba5546a7020c989c98b61bae3c7c6528fac | 0.85 | testing_debugging_repair_refactoring | 47 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Journalist.EventStore.Connection;
using Journalist.EventStore.Journal;
using Journalist.EventStore.Notifications;
using Journalist.EventStore.Notifications.Channels;
using Journalist.EventStore.Notifications.Listeners;
using Journalist.EventStore.Notifications.Types;
us... | ar3cka/Journalist | test/Journalist.EventStore.UnitTests/Notifications/Listeners/NotificationListenerSubscriptionTest.cs | https://github.com/ar3cka/Journalist/blob/HEAD/test/Journalist.EventStore.UnitTests/Notifications/Listeners/NotificationListenerSubscriptionTest.cs | ghcode:00012:5c3ae3ad4685 | apache-2.0 | codeparrot/github-code | 5c3ae3ad468554bb096fe5d3a161647dcb991ad2134350627b52b9d6f28be8da | 0.6 | testing_debugging_repair_refactoring | 1,324 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Net;
using FluentAssertions;
using NUnit.Framework;
using Toscana.Common;
namespace Toscana.Tests
{
public class GithubRepositoryTests
{
public const s... | johnathanvidu/Toscana | Toscana.Tests/GithubRepositoryTests.cs | https://github.com/johnathanvidu/Toscana/blob/HEAD/Toscana.Tests/GithubRepositoryTests.cs | ghcode:00012:e1260098ff41 | apache-2.0 | codeparrot/github-code | e1260098ff416fa147f9a65d35f678c20d16532f6e89a26c209931ec772dba4e | 0.75 | testing_debugging_repair_refactoring | 1,008 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
/*
Класс для запуска асинхронных методов синхронно
взят отсюда
https://social.msdn.microsoft.com/Forums/en-US/163ef755-ff7b-4ea5-b226-bbe8ef5f4796/is-there-a-pattern-for-calling-an-async-method-synchronously?... | qreal/robostore.net | RoboStore/Tests/Services/AsyncHelpers.cs | https://github.com/qreal/robostore.net/blob/HEAD/RoboStore/Tests/Services/AsyncHelpers.cs | ghcode:00012:cf27fd178e70 | apache-2.0 | codeparrot/github-code | cf27fd178e708207428c7e0b92c4f552334bddbfd9ab058f0bac0d8bbe39f15b | 0.95 | testing_debugging_repair_refactoring | 812 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Reevoo.Api;
using Shouldly;
namespace ReevooTests.Api
{
[TestClass]
public class OrganisationTests
{
[TestMethod]
public void Organisation_List_ExpectResults()
{
var reevooApi = new ReevooApi();
var ... | Steve-Fenton/Reevoo | ReevooTests/Api/OrganisationTests.cs | https://github.com/Steve-Fenton/Reevoo/blob/HEAD/ReevooTests/Api/OrganisationTests.cs | ghcode:00012:9a82c0226da6 | apache-2.0 | codeparrot/github-code | 9a82c0226da69f631ad4a7a1718cb0c5707a3da10e6497f6cb050b641a13bdf6 | 0.75 | testing_debugging_repair_refactoring | 237 | false | 2026-07-17 |
using System;
using Xunit;
using Xunit.Abstractions;
using Nest;
using Elasticsearch.Net;
using System.Collections.Generic;
using System.Diagnostics;
namespace Evol.Elasticsearch.Tests
{
public class Post
{
public int Id
{
get;
set;
}
public string Name
... | supernebula/evol-core | test/Evol.Elasticsearch.Tests/ElasticTest.cs | https://github.com/supernebula/evol-core/blob/HEAD/test/Evol.Elasticsearch.Tests/ElasticTest.cs | ghcode:00012:110495c6e1cb | apache-2.0 | codeparrot/github-code | 110495c6e1cbd1f90232ec2fc993d9a5c95453d277d9668e8d1cc23b05b64779 | 0.7 | testing_debugging_repair_refactoring | 1,337 | 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/HighLevelAPI40/_14_MechanismTest.cs | https://github.com/thearkhelist/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop/Pkcs11InteropTests/HighLevelAPI40/_14_MechanismTest.cs | ghcode:00012:f6993f26dbd9 | apache-2.0 | codeparrot/github-code | f6993f26dbd9f3f4bc850bf7d22aedddfc961cd8090c14032abec54d15ee9439 | 0.85 | testing_debugging_repair_refactoring | 1,663 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using Zirpl.AppEngine.Model;
namespace Zirpl.AppEngine.Testing
{
public static class AssertionUtils
{
public static void AssertNavigationPropertyMatchesAndIsNotNu... | zirplsoftware/ZAppEngine | Zirpl.AppEngine.Testing/AssertionUtilities.cs | https://github.com/zirplsoftware/ZAppEngine/blob/HEAD/Zirpl.AppEngine.Testing/AssertionUtilities.cs | ghcode:00012:80ffcc5c3556 | apache-2.0 | codeparrot/github-code | 80ffcc5c3556d4fba896bcb8a0efd6e82e7f485af55b629bb0f4a60e809de0ee | 0.75 | testing_debugging_repair_refactoring | 375 | false | 2026-07-17 |
/*
* Copyright 2012-2021 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 ap... | Pkcs11Interop/Pkcs11Interop | src/Pkcs11Interop.Tests/LowLevelAPI40/_28_Pkcs11UriUtilsTest.cs | https://github.com/Pkcs11Interop/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop.Tests/LowLevelAPI40/_28_Pkcs11UriUtilsTest.cs | ghcode:00012:10a5a8ee0297 | apache-2.0 | codeparrot/github-code | 10a5a8ee0297be6f854549437a4b87075acbb7ad1ace6fcb003dc1d4e91bd7eb | 0.7 | testing_debugging_repair_refactoring | 1,990 | false | 2026-07-17 |
using NUnit.Framework;
using TempConverter.Model;
using TempConverter.Model.Interfaces;
namespace TempConverter.UnitTests.Standard.Celsius.ToDecimalPlace_2
{
[TestFixture]
public class StandardConverter_C_To_F_Should
{
private ConversionFormula _celsiusToFahrenheit;
private ITemperatureCo... | danieldutton/TempPlus_CSharp | TempConverter.UnitTests/Standard/Celsius/ToDecimalPlace_2/StandardConverter_C_To_F_Should.cs | https://github.com/danieldutton/TempPlus_CSharp/blob/HEAD/TempConverter.UnitTests/Standard/Celsius/ToDecimalPlace_2/StandardConverter_C_To_F_Should.cs | ghcode:00012:72a537e3e07f | apache-2.0 | codeparrot/github-code | 72a537e3e07f63bfac4a6f6da71692cbf45cf919ae4eede8c4bf82c9d40cf0cf | 0.6 | testing_debugging_repair_refactoring | 4,314 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
namespace MetaDslx.CodeAnalysis.Antlr4Test.TestLanguageAnnotations
{
public class UnitTest06 : UnitTestBase02
{
public UnitTest06()
{
TestId = "06";
}
}
}
| balazssimon/meta-cs | src/Test/MetaDslx.CodeAnalysis.Antlr4.Test/TestLanguageAnnotations/UnitTest06.cs | https://github.com/balazssimon/meta-cs/blob/HEAD/src/Test/MetaDslx.CodeAnalysis.Antlr4.Test/TestLanguageAnnotations/UnitTest06.cs | ghcode:00012:c5c68357cef2 | apache-2.0 | codeparrot/github-code | c5c68357cef2a2b991556b35a0088247c394fff6d8ab3fa5f2ecd423870f085d | 0.85 | testing_debugging_repair_refactoring | 66 | false | 2026-07-17 |
using Elasticsearch.Net;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.MockData;
using Xunit;
using static Nest.Infer;
namespace Tests.Indices.IndexManagement.IndicesExists
{
[Collection(TypeOfCluster.ReadOnly)]
public class IndexExistsApiTests : ApiIntegrationTestBase<... | TheFireCookie/elasticsearch-net | src/Tests/Indices/IndexManagement/IndicesExists/IndexExistsApiTests.cs | https://github.com/TheFireCookie/elasticsearch-net/blob/HEAD/src/Tests/Indices/IndexManagement/IndicesExists/IndexExistsApiTests.cs | ghcode:00012:9e6ff45b255a | apache-2.0 | codeparrot/github-code | 9e6ff45b255a2161e8e4319562da473d20a827918f1ee3545ce7b02c7c9513f5 | 0.85 | testing_debugging_repair_refactoring | 245 | false | 2026-07-17 |
#if FEATURE_SERIALIZABLE_EXCEPTIONS
using Lucene.Net.Attributes;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Lucene.Net.Support
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOT... | laimis/lucenenet | src/Lucene.Net.Tests.Analysis.Phonetic/Support/TestExceptionSerialization.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Analysis.Phonetic/Support/TestExceptionSerialization.cs | ghcode:00012:4e5b28f43156 | apache-2.0 | codeparrot/github-code | 4e5b28f43156713ee3faf735ce6acdbd45bb28babf17880ae0fb96a71c94d5e9 | 0.85 | testing_debugging_repair_refactoring | 413 | false | 2026-07-17 |
using BenchmarkDotNet.Attributes;
using Lime.Messaging;
using Lime.Protocol;
using Lime.Protocol.Network;
using Lime.Protocol.Serialization;
using Lime.Protocol.Serialization.Newtonsoft;
using Lime.Protocol.Server;
using Lime.Protocol.UnitTests;
using Lime.Transport.WebSocket;
using System;
using System.Threading;
usi... | takenet/lime-csharp | src/Lime.Benchmarks/WebsocketTransportBenchmark.cs | https://github.com/takenet/lime-csharp/blob/HEAD/src/Lime.Benchmarks/WebsocketTransportBenchmark.cs | ghcode:00012:21cde9aa4ed6 | apache-2.0 | codeparrot/github-code | 21cde9aa4ed64062d92ba83fb52ab1933905b474ccc0d989cc0d0851dc217830 | 0.6 | testing_debugging_repair_refactoring | 173 | 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 ap... | thearkhelist/Pkcs11Interop | src/Pkcs11Interop/TestProject1/LowLevelAPI41/_28_Pkcs11UriUtilsTest.cs | https://github.com/thearkhelist/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop/TestProject1/LowLevelAPI41/_28_Pkcs11UriUtilsTest.cs | ghcode:00012:6e411d98f492 | apache-2.0 | codeparrot/github-code | 6e411d98f4925bb86a73414c0341ced64676f3835318b6827b3737bc35a30b74 | 0.85 | testing_debugging_repair_refactoring | 1,941 | 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.Linq;
using Microsoft.CodeAnalysis.CodeGen;
using Microsoft.... | mattscheffer/roslyn | src/ExpressionEvaluator/CSharp/Test/ExpressionCompiler/LocalsTests.cs | https://github.com/mattscheffer/roslyn/blob/HEAD/src/ExpressionEvaluator/CSharp/Test/ExpressionCompiler/LocalsTests.cs | ghcode:00012:cf1d83e4fcfb | apache-2.0 | codeparrot/github-code | cf1d83e4fcfb6e45357c8a8f7d4a88c8c928748d4d8cd929771eb343d4214bb3 | 0.82 | testing_debugging_repair_refactoring | 37,333 | false | 2026-07-17 |
using Lucene.Net.Documents;
using NUnit.Framework;
using System;
using System.IO;
namespace Lucene.Net.Search
{
/*
* 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 regardin... | laimis/lucenenet | src/Lucene.Net.Tests/Search/TestFieldCacheRangeFilter.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Search/TestFieldCacheRangeFilter.cs | ghcode:00012:334cd983f4dc | apache-2.0 | codeparrot/github-code | 334cd983f4dc56b3ff17a86dfb48ba32ec6572da501d6dc5e9c8521b88b8cc03 | 0.85 | testing_debugging_repair_refactoring | 8,483 | false | 2026-07-17 |
#region Using Directives
using System;
using System.Globalization;
using ServiceBusExplorer.Helpers;
using ServiceBusExplorer.Utilities.Helpers;
using NUnit.Framework;
#endregion
namespace ServiceBusExplorer.Tests.Helpers
{
[TestFixture]
public class ConversionHelperTests
{
[Test]
public... | paolosalvatori/ServiceBusExplorer | src/ServiceBusExplorer.Tests/Helpers/ConversionHelperTests.cs | https://github.com/paolosalvatori/ServiceBusExplorer/blob/HEAD/src/ServiceBusExplorer.Tests/Helpers/ConversionHelperTests.cs | ghcode:00012:019fcecf68a7 | apache-2.0 | codeparrot/github-code | 019fcecf68a70c1bed00101a599494e338d18f211c3a35d21db24eae26c184b6 | 0.75 | testing_debugging_repair_refactoring | 442 | false | 2026-07-17 |
// Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo.Applicative
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Runti... | chtoucas/Narvalo.NET | src/Narvalo.Fx/Applicative/Maybe`1.cs | https://github.com/chtoucas/Narvalo.NET/blob/HEAD/src/Narvalo.Fx/Applicative/Maybe`1.cs | ghcode:00012:df6a52ce015a | bsd-2-clause | codeparrot/github-code | df6a52ce015adf15fffd71966216bbf10d1d272e1e2cd2e5d97e7dfc6c272fc0 | 0.63 | testing_debugging_repair_refactoring | 2,103 | false | 2026-07-17 |
/*
* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1) Redistributions of source code must retain the above copyright
* notice,... | huizh/xenadmin | XenModel/XenAPI/PCI.cs | https://github.com/huizh/xenadmin/blob/HEAD/XenModel/XenAPI/PCI.cs | ghcode:00012:2615901b9773 | bsd-2-clause | codeparrot/github-code | 2615901b97733bd6476fd6d0d2ce9d74432427ee6b0e13fb6c2fe9032879d9b5 | 0.78 | testing_debugging_repair_refactoring | 4,507 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Collections.Generic;
using NUnit.Framework;
using NServiceKit.DataAnnotations;
using System.ComponentModel.DataAnnotations;
namespace NServiceKit.OrmLite.Tests
{
/// <summary>An ORM lite get scalar tests.</summary>
[TestFixture]
public class OrmLiteGetScalarTests:Orm... | NServiceKit/NServiceKit.OrmLite | tests/NServiceKit.OrmLite.Tests/OrmLiteGetScalarTests.cs | https://github.com/NServiceKit/NServiceKit.OrmLite/blob/HEAD/tests/NServiceKit.OrmLite.Tests/OrmLiteGetScalarTests.cs | ghcode:00012:e51bb0862ecf | bsd-3-clause | codeparrot/github-code | e51bb0862ecf8e3047d4323dde25943d7ba3b531265c47f45afe2f1b1b28cf7b | 0.85 | testing_debugging_repair_refactoring | 3,689 | false | 2026-07-17 |
// JsonWriter.cs
// DynamicRest provides REST service access using C# 4.0 dynamic programming.
// The latest information and code for the project can be found at
// https://github.com/NikhilK/dynamicrest
//
// This project is licensed under the BSD license. See the License.txt file for
// more information.
//
using Sy... | Huddle/dynamicrest | DynamicRest/Json/JsonWriter.cs | https://github.com/Huddle/dynamicrest/blob/HEAD/DynamicRest/Json/JsonWriter.cs | ghcode:00012:b9f4c15746c4 | bsd-3-clause | codeparrot/github-code | b9f4c15746c4b39f728ce41346bab95b27495c164a9f31e93e6d08ce68c32bc2 | 0.7 | testing_debugging_repair_refactoring | 3,159 | false | 2026-07-17 |
//
// Author:
// Alexandru Ciobanu alex+git@ciobanu.org
//
// Copyright (c) 2015-2018, Alexandru Ciobanu (alex+git@ciobanu.org)
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
//
// ... | pavkam/XtraLiteTemplates | XtraLiteTemplates.Tests/Operators/LogicalAndOperatorTests.cs | https://github.com/pavkam/XtraLiteTemplates/blob/HEAD/XtraLiteTemplates.Tests/Operators/LogicalAndOperatorTests.cs | ghcode:00012:2989f396b27b | bsd-3-clause | codeparrot/github-code | 2989f396b27b0e7300c43025bf55ae585300d01a2576399b8d69c98a9f7cba1d | 0.85 | testing_debugging_repair_refactoring | 869 | 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.Diagnostics;
using System.Linq;
using Xunit;
namespace System.Threading.Tasks.Channels.Tests
{
public abstract class ChannelTestBase : TestBase
{
... | hanblee/corefxlab | tests/System.Threading.Tasks.Channels.Tests/ChannelTestBase.cs | https://github.com/hanblee/corefxlab/blob/HEAD/tests/System.Threading.Tasks.Channels.Tests/ChannelTestBase.cs | ghcode:00012:ac7539565308 | mit | codeparrot/github-code | ac753956530849d504e04df1a288c4a534ea9037ec0da3f867d212c2b8fc5068 | 0.85 | testing_debugging_repair_refactoring | 5,361 | false | 2026-07-17 |
#region Disclaimer/Info
///////////////////////////////////////////////////////////////////////////////////////////////////
// Subtext WebLog
//
// Subtext is an open source weblog system that is a fork of the .TEXT
// weblog system.
//
// For updated news and information please visit http://subtextproject.com/
// Su... | jeuvin/Subtext | src/UnitTests.Subtext/Framework/Components/MetaTagTests/MetaTagGetTests.cs | https://github.com/jeuvin/Subtext/blob/HEAD/src/UnitTests.Subtext/Framework/Components/MetaTagTests/MetaTagGetTests.cs | ghcode:00012:fcf4ed2d92ba | mit | codeparrot/github-code | fcf4ed2d92baee96ad132207e5adfe651705250a45cffdfb8ed79b7737caee47 | 0.85 | testing_debugging_repair_refactoring | 952 | 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.Data.Common;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace... | jcme/corefx | src/System.Data.SqlClient/src/System/Data/SqlClient/SqlSequentialStream.cs | https://github.com/jcme/corefx/blob/HEAD/src/System.Data.SqlClient/src/System/Data/SqlClient/SqlSequentialStream.cs | ghcode:00012:d880a75e29a5 | mit | codeparrot/github-code | d880a75e29a5a0ad4553ede61beb8ed0bc70e44f757ebda117f370325b259632 | 0.95 | testing_debugging_repair_refactoring | 1,890 | false | 2026-07-17 |
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel
//
// 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, modi... | wyrover/SharpDX | Source/Tests/SharpDX.Tests/TestSerialization.cs | https://github.com/wyrover/SharpDX/blob/HEAD/Source/Tests/SharpDX.Tests/TestSerialization.cs | ghcode:00012:981f2eabb00f | mit | codeparrot/github-code | 981f2eabb00f60dc0b9d79977d54d14e40791766bd5b9548b32c75117ae87915 | 0.95 | testing_debugging_repair_refactoring | 6,663 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.