text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using NUnit.Framework;
using Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Framework.Tests
{
[TestFixture()]
public class ChessUtilTests
{
[Test()]
[TestCase(21, 28, 24, true)]
... | joha4270/ChessSharp | Framework.Tests/ChessUtilTests.cs | https://github.com/joha4270/ChessSharp/blob/HEAD/Framework.Tests/ChessUtilTests.cs | ghcode:00009:4cb3877606cc | mit | codeparrot/github-code | 4cb3877606ccb824b479e6012b99d8d31fd79841ff08a41a2f19d1c5b8d2b700 | 0.75 | testing_debugging_repair_refactoring | 277 | 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.Collections.Generic;
using Xunit;
namespace System.Linq.Tests
{
public class MinTests
{
[Fact]
public void SameResultsRepeatCalls... | kyulee1/corefx | src/System.Linq/tests/MinTests.cs | https://github.com/kyulee1/corefx/blob/HEAD/src/System.Linq/tests/MinTests.cs | ghcode:00009:eb467334e241 | mit | codeparrot/github-code | eb467334e241b1c67c97cfcaf9d72f3ad9693618ea63bdc88c109e1cc378243a | 0.95 | testing_debugging_repair_refactoring | 12,523 | false | 2026-07-17 |
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ExpressiveExpressionTrees.Tests.CompareExpressionBaseTests
{
[TestClass]
public abstract class CompareNewBaseTests : CompareExpressionTestBase
{
public class NewConstructorData
{
pub... | hannasm/ExpressiveExpressionTreesDotNet | ExpressiveExpressionTrees.Tests/CompareExpressionBaseTests/CompareNewBaseTests.cs | https://github.com/hannasm/ExpressiveExpressionTreesDotNet/blob/HEAD/ExpressiveExpressionTrees.Tests/CompareExpressionBaseTests/CompareNewBaseTests.cs | ghcode:00009:fd1444f67232 | mit | codeparrot/github-code | fd1444f672322bbb90b0fde8518ad2cb8d323b12fe95abda0343977534ad9eba | 0.75 | testing_debugging_repair_refactoring | 2,983 | false | 2026-07-17 |
using DesignPatterns.Structural.Proxy;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnitTests.Structural.Proxy
{
[TestClass]
public class ProxyTest
{
[TestMethod]
... | mrpb/DesignPatterns | UnitTests/Structural/Proxy/ProxyTest.cs | https://github.com/mrpb/DesignPatterns/blob/HEAD/UnitTests/Structural/Proxy/ProxyTest.cs | ghcode:00009:35b07c53cee5 | mit | codeparrot/github-code | 35b07c53cee57daf7d2400ca4f0da865aaa2cbf14d34c421e2c244c7ddfaad76 | 0.6 | testing_debugging_repair_refactoring | 115 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace Api.Tests.S3FTests.SecurityFunctionsTests.Example4
{
public class SecurityFunctionsTests
{
private const string AwsAccessKeyId = "AKIAIOSFODNN7EXAMPLE";
private const string AwsSecretAccessKey = "wJalrXUt... | mfilippov/s3-server-net | src/Api.Tests/S3FTests/SecurityFunctionsTests/Example4/SecurityFunctionsTests.cs | https://github.com/mfilippov/s3-server-net/blob/HEAD/src/Api.Tests/S3FTests/SecurityFunctionsTests/Example4/SecurityFunctionsTests.cs | ghcode:00009:c899f3a2c526 | mit | codeparrot/github-code | c899f3a2c5264b5990e45e25e78fbc786a23488eba7b7ba13fe72187f54bb785 | 0.75 | testing_debugging_repair_refactoring | 1,070 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace FizzBuzz.Tests
{
[TestFixture]
public class FizzBuzzConverterTests
{
private FizzBuzzCompositeConverter _sut;
[SetUp]
public void Initialize()
{
_sut = new FizzBuzzCompositeConverter(new NumberConverter(), new Fizz... | HerrLoesch/Trapeze | Code/FizzBuzz/FizzBuzz.Tests/FizzBuzzConverterTests.cs | https://github.com/HerrLoesch/Trapeze/blob/HEAD/Code/FizzBuzz/FizzBuzz.Tests/FizzBuzzConverterTests.cs | ghcode:00009:c2e958688982 | mit | codeparrot/github-code | c2e958688982f8252cd3490090678752eb84b0045e15f5e814dde145225f541f | 0.75 | testing_debugging_repair_refactoring | 159 | false | 2026-07-17 |
// Copyright © Microsoft Corporation. All Rights Reserved.
// This code released under the terms of the
// Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.)
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Xml;
us... | adamdriscoll/TfsIntegrationPlatform | IntegrationPlatform/Adapters/TFS/Tfs2010WITAdapter/TfsMigrationWorkItem.cs | https://github.com/adamdriscoll/TfsIntegrationPlatform/blob/HEAD/IntegrationPlatform/Adapters/TFS/Tfs2010WITAdapter/TfsMigrationWorkItem.cs | ghcode:00009:e13afdb857e5 | mit | codeparrot/github-code | e13afdb857e5c20d4778d36a2739c715ce57f80422eac38636d3aab955608649 | 0.7 | testing_debugging_repair_refactoring | 5,313 | false | 2026-07-17 |
namespace Gu.Reactive.Tests.Conditions
{
using System;
using System.Collections.Generic;
using Gu.Reactive.Tests.Helpers;
using NUnit.Framework;
public static class NullIsFalseTests
{
[TestCase(false, false)]
[TestCase(true, true)]
[TestCase(null, false)]
public ... | JohanLarsson/Gu.Reactive | Gu.Reactive.Tests/Conditions/NullIsFalseTests.cs | https://github.com/JohanLarsson/Gu.Reactive/blob/HEAD/Gu.Reactive.Tests/Conditions/NullIsFalseTests.cs | ghcode:00009:2a4ea4e5fe34 | mit | codeparrot/github-code | 2a4ea4e5fe341db216c201bbcdcda26ab4819bda8d5423b44141edbec72ec2e7 | 0.75 | testing_debugging_repair_refactoring | 484 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using Wyam.Core.Modules;
using Wyam.Common;
using Wyam.Core.Documents;
using Wyam.Core.Pipelines;
using ExecutionContext = Wyam.Core.Pipeli... | Rohansi/Wyam | Wyam.Core.Tests/Modules/WriteFilesFixture.cs | https://github.com/Rohansi/Wyam/blob/HEAD/Wyam.Core.Tests/Modules/WriteFilesFixture.cs | ghcode:00009:72f21f5a1404 | mit | codeparrot/github-code | 72f21f5a1404cf0131cb32815551037e7fb96bae1586829975c05a5868129275 | 0.7 | testing_debugging_repair_refactoring | 982 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
using System.IO;
namespace Pdoxcl2Sharp.Test
{
class MultipleListRead
{
[Fact]
public void SimpleMultiple()
{
var data = "list = { 1 2 3 4 } \r\n list2 = { 1 2 3 4 }".ToStream... | nickbabcock/Pdoxcl2Sharp | tests/Pdoxcl2Sharp.Test/MultipleListRead.cs | https://github.com/nickbabcock/Pdoxcl2Sharp/blob/HEAD/tests/Pdoxcl2Sharp.Test/MultipleListRead.cs | ghcode:00009:3dd55ed1c5a9 | mit | codeparrot/github-code | 3dd55ed1c5a92e082e156cf6cac6b08413bd86cc3cbce7bd8a09e6ca03f64a3c | 0.6 | testing_debugging_repair_refactoring | 609 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
namespace Test
{
[TestFixture]
internal class NetworkableIdRegistryTest
{
class DummyClass1
{
}
class DummyClass2
{
}
[Test]
public void RootRegistries()
{
... | falldamagestudio/Networkable | Assets/Networkable/Editor/Test/NetworkableIdRegistryTest.cs | https://github.com/falldamagestudio/Networkable/blob/HEAD/Assets/Networkable/Editor/Test/NetworkableIdRegistryTest.cs | ghcode:00009:7dbf3d288ed4 | mit | codeparrot/github-code | 7dbf3d288ed47f3ce791c53dcb822c0f495f5317753593893741b5a5703ae208 | 0.95 | testing_debugging_repair_refactoring | 674 | false | 2026-07-17 |
using System.Collections.Generic;
using EPI.BinaryTree;
using EPI.BinaryTree.BinarySearchTree;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.BinaryTree.BinarySearchTree
{
[TestClass]
public class RadiusFromBSTNodeUnitTest
{
private BinaryTree<int> bst = new B... | dipakboyed/epibook.github.io.Puzzles | EPIUnitTests/BinaryTree/BinarySearchTree/RadiusFromBSTNodeUnitTest.cs | https://github.com/dipakboyed/epibook.github.io.Puzzles/blob/HEAD/EPIUnitTests/BinaryTree/BinarySearchTree/RadiusFromBSTNodeUnitTest.cs | ghcode:00009:605b308f1018 | mit | codeparrot/github-code | 605b308f1018270c99126d1d0d758105557dca9c11ba62f03d0fb1e2a963bae0 | 0.6 | testing_debugging_repair_refactoring | 1,197 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Ziks.WebServer.Test
{
[TestClass]
public class UrlMatchers
{
[TestMethod]
public void SimplePrefix1()
{
var matcher = UrlMatcher.Parse( "/foo/bar" );
var prefix = new Uri( "http://lo... | Metapyziks/Ziks.WebServer | Ziks.WebServer.Test/UrlMatchers.cs | https://github.com/Metapyziks/Ziks.WebServer/blob/HEAD/Ziks.WebServer.Test/UrlMatchers.cs | ghcode:00009:3e14afe351dc | mit | codeparrot/github-code | 3e14afe351dcb15eece8f18891f82f54bf3f8e41871472b08b104c08d3875fe5 | 0.7 | testing_debugging_repair_refactoring | 1,678 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="<file>.cs" company="The Outercurve Foundation">
// Copyright (c) 2011, The Outercurve Foundation.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in comp... | IAmAnubhavSaini/facebook-csharp-sdk | Source/Facebook.Tests/FacebookOAuthResult/Parse/GivenAUrlContainingAccessTokenAndExpiresInFragmentThen.cs | https://github.com/IAmAnubhavSaini/facebook-csharp-sdk/blob/HEAD/Source/Facebook.Tests/FacebookOAuthResult/Parse/GivenAUrlContainingAccessTokenAndExpiresInFragmentThen.cs | ghcode:00009:ff7b77221790 | apache-2.0 | codeparrot/github-code | ff7b772217906c7fe3653dcb6e1e826e0f086f6719a67df54af7bddfde0d3540 | 0.7 | testing_debugging_repair_refactoring | 676 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using MissingLinq;
using NUnit.Framework;
namespace MissingLinqTests
{
[TestFixture]
public class MiscExtensionsTests
{
[Test]
public void IsNullOrEmpty()
{
Assert.That(((IEnumerable<int>) null).IsNullOr... | jayotterbein/MissingLinq | MissingLinqTests/MiscExtensionsTests.cs | https://github.com/jayotterbein/MissingLinq/blob/HEAD/MissingLinqTests/MiscExtensionsTests.cs | ghcode:00009:14fae6dbd58e | apache-2.0 | codeparrot/github-code | 14fae6dbd58e86a30d50ecd1ef562dedc049a8b453f33f82bac065b21e98c878 | 0.75 | testing_debugging_repair_refactoring | 816 | false | 2026-07-17 |
// Copyright 2004-2009 Castle Project - http://www.castleproject.org/
//
// 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 ... | castleproject/castle-READONLY-SVN-dump | Experiments/Attic/Generator/Castle.ActiveRecord.Generator.Components.Tests/TypeInferenceServiceTestCase.cs | https://github.com/castleproject/castle-READONLY-SVN-dump/blob/HEAD/Experiments/Attic/Generator/Castle.ActiveRecord.Generator.Components.Tests/TypeInferenceServiceTestCase.cs | ghcode:00009:0f3049aa6313 | apache-2.0 | codeparrot/github-code | 0f3049aa631380c7eeeb181f3ba2f23e364e8e0a9d76471cc3a2a65079f50960 | 0.7 | testing_debugging_repair_refactoring | 294 | false | 2026-07-17 |
using System;
using BlueRain.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BlueRain.Tests
{
[TestClass]
public class RequiresTests
{
[TestMethod]
[ExpectedException(typeof(ArgumentException))]
public void RequiresConditionThrows()
{
var p... | aevitas/bluerain | src/BlueRain.Tests/RequiresTests.cs | https://github.com/aevitas/bluerain/blob/HEAD/src/BlueRain.Tests/RequiresTests.cs | ghcode:00009:8c86628136f2 | apache-2.0 | codeparrot/github-code | 8c86628136f271320eec1b9bb5204a1e7594d1032038619b7ea80adc1617c64c | 0.75 | testing_debugging_repair_refactoring | 170 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.IO;
using NUnit.Framework;
using System.Reflection;
using Yargon.Parser.Sdf.ParseTrees;
using Yargon.Parser.Sdf.Productions.IO;
using Yargon.Parsing;
using Yargon.ATerms;
using Yargon.ATerms.IO;
namespace Yargon.Parser.Sdf
{
[TestFixture]
public class Example3
{... | cyberlect/yargon-parser | test/Yargon.Parser.Sdf.Tests/Example3.cs | https://github.com/cyberlect/yargon-parser/blob/HEAD/test/Yargon.Parser.Sdf.Tests/Example3.cs | ghcode:00009:85dc09c71e7c | apache-2.0 | codeparrot/github-code | 85dc09c71e7c09afd5f3c49b3f10b85775a7df4c4a39b0722d372faf198d6250 | 0.7 | testing_debugging_repair_refactoring | 977 | false | 2026-07-17 |
using System;
using System.IO;
using System.Threading;
using System.Text.RegularExpressions;
using System.Collections.Generic;
using NUnit.Framework;
namespace SharpTools
{
[TestFixture]
public class ThrowerTest
{
[Test]
public void MakeTest()
{
var inner = Thrower.Make(... | samuelventura/SharpTools | SharpTools.Test/ThrowerTest.cs | https://github.com/samuelventura/SharpTools/blob/HEAD/SharpTools.Test/ThrowerTest.cs | ghcode:00009:bced57d04c49 | apache-2.0 | codeparrot/github-code | bced57d04c49cecaab79a37eed90ea051d58c489cb99d3d7e6c1ec54212bd327 | 0.6 | testing_debugging_repair_refactoring | 486 | false | 2026-07-17 |
// <copyright file="TestZPagesExporter.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apa... | open-telemetry/opentelemetry-dotnet | examples/Console/TestZPagesExporter.cs | https://github.com/open-telemetry/opentelemetry-dotnet/blob/HEAD/examples/Console/TestZPagesExporter.cs | ghcode:00009:114952affb49 | apache-2.0 | codeparrot/github-code | 114952affb49a23da51220a785c7c2c419ba7a08d8d799f6c9bc1c2fa8e881a9 | 0.85 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
#region License
/*
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... | jgoz/netcommon-logging | test/Common.Logging.NLog.Tests/Logger/NLog/NLogLoggerFactoryAdapterTests.cs | https://github.com/jgoz/netcommon-logging/blob/HEAD/test/Common.Logging.NLog.Tests/Logger/NLog/NLogLoggerFactoryAdapterTests.cs | ghcode:00009:599e92969e79 | apache-2.0 | codeparrot/github-code | 599e92969e7977f2aa03a5b51087b7c3a2818601d4d573fd995103612323b5c1 | 0.85 | testing_debugging_repair_refactoring | 576 | false | 2026-07-17 |
// -------------------------------------------------------------------------------
// <copyright file="DelayMessagesWhenImmediateRetryCountIsReachedStepTest.cs" company="MMS AG">
// Copyright (c) MMS AG, 2008-2016
// </copyright>
// -----------------------------------------------------------------------------... | MultimediaSolutionsAg/ServiceBus | source/MMS.ServiceBus.Tests/Pipeline/DelayMessagesWhenImmediateRetryCountIsReachedStepTest.cs | https://github.com/MultimediaSolutionsAg/ServiceBus/blob/HEAD/source/MMS.ServiceBus.Tests/Pipeline/DelayMessagesWhenImmediateRetryCountIsReachedStepTest.cs | ghcode:00009:104fda1a4646 | apache-2.0 | codeparrot/github-code | 104fda1a464617254d653e687dde89e9888734d6d0ee4c9ca96de0cd3e73d2a4 | 0.7 | testing_debugging_repair_refactoring | 998 | false | 2026-07-17 |
// Copyright 2007-2011 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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.... | eswann/Burrows | src/Burrows/Testing/Instances/TestInstance.cs | https://github.com/eswann/Burrows/blob/HEAD/src/Burrows/Testing/Instances/TestInstance.cs | ghcode:00009:cc34163c1c2e | apache-2.0 | codeparrot/github-code | cc34163c1c2ea8285637697f74fe14323c5fca97c0e35a54457376983eda9b2c | 0.85 | testing_debugging_repair_refactoring | 466 | false | 2026-07-17 |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using PushNotifications.Contracts;
using PushNotifications.Contracts.PushNotifications.Delivery;
namespace PushNotifications.Aggregator.InMemory.Tests
{
public class TestDe... | Elders/Pushnotifications | src/PushNotifications.Aggregator.InMemory.Tests/TestDeliveryWithInMemoryAggregator.cs | https://github.com/Elders/Pushnotifications/blob/HEAD/src/PushNotifications.Aggregator.InMemory.Tests/TestDeliveryWithInMemoryAggregator.cs | ghcode:00009:e89dda4efa0a | apache-2.0 | codeparrot/github-code | e89dda4efa0aa7650895c3fb39cf1c13456e857cbe1bca68c2209a6820bccfb6 | 0.75 | testing_debugging_repair_refactoring | 297 | false | 2026-07-17 |
namespace BSWebServiceTests
{
using System;
using System.Collections.Generic;
using BSWebServiceTests.BookstoreDataService;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class AuthorDATests
{
/// <summary>
/// Gets BookDataServiceSoapClie... | dimoncomon/idptasks | BookStoreServiceUnitTests/BSWebServiceTests/BSWebServiceTests/AuthorDATests.cs | https://github.com/dimoncomon/idptasks/blob/HEAD/BookStoreServiceUnitTests/BSWebServiceTests/BSWebServiceTests/AuthorDATests.cs | ghcode:00009:a6838ae8cd0f | apache-2.0 | codeparrot/github-code | a6838ae8cd0f3931fa093a586501d36b706815b3017b13768a21da2d5c0d35e9 | 0.85 | testing_debugging_repair_refactoring | 915 | false | 2026-07-17 |
namespace NServiceBus.AcceptanceTests.Sagas
{
using System;
using EndpointTemplates;
using AcceptanceTesting;
using Features;
using NServiceBus.Config;
using NUnit.Framework;
using PubSub;
using Saga;
using ScenarioDescriptors;
public class When_replies_to_message_published_by_... | benjaminramey/GoodlyFere.NServiceBus.EntityFramework | src/AcceptanceTests/App_Packages/NSB.AcceptanceTests.5.2.14/Sagas/When_replies_to_message_published_by_a_saga.cs | https://github.com/benjaminramey/GoodlyFere.NServiceBus.EntityFramework/blob/HEAD/src/AcceptanceTests/App_Packages/NSB.AcceptanceTests.5.2.14/Sagas/When_replies_to_message_published_by_a_saga.cs | ghcode:00009:b1a36616b3d8 | apache-2.0 | codeparrot/github-code | b1a36616b3d829c8c35a991352fc6a84510fa04685d6005381b7edc4dc72c5cf | 0.6 | testing_debugging_repair_refactoring | 765 | false | 2026-07-17 |
#region License
/*
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... | spring-projects/spring-net | test/Spring/Spring.Services.Tests/WindowsService/Common/Deploy/TestingHandler.cs | https://github.com/spring-projects/spring-net/blob/HEAD/test/Spring/Spring.Services.Tests/WindowsService/Common/Deploy/TestingHandler.cs | ghcode:00009:fcbbd46dd4d3 | apache-2.0 | codeparrot/github-code | fcbbd46dd4d3e9a931a41fe7616218d1070280b5c7bf76a0a5a8864b85253eec | 0.75 | testing_debugging_repair_refactoring | 380 | 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 Roslyn.Utilities;
using System.Diagnostics;
using Microsoft.CodeAna... | xasx/roslyn | src/Compilers/CSharp/Portable/Symbols/PointerTypeSymbol.cs | https://github.com/xasx/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/PointerTypeSymbol.cs | ghcode:00009:11c26735dddb | apache-2.0 | codeparrot/github-code | 11c26735dddb4f4c07fecdd07c83cf4014f85bb04ca36c68427c337c1a0d7b91 | 0.85 | testing_debugging_repair_refactoring | 1,797 | false | 2026-07-17 |
// Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo.Finance.Rounding
{
using System;
using System.Collections.Generic;
using Xunit;
public static partial class RoundingAdjustersFacts
{
#region Round()
... | chtoucas/Narvalo.NET | tests/Narvalo.Money.Facts/Finance/Rounding/RoundingAdjustersFacts.cs | https://github.com/chtoucas/Narvalo.NET/blob/HEAD/tests/Narvalo.Money.Facts/Finance/Rounding/RoundingAdjustersFacts.cs | ghcode:00009:366de731d80e | bsd-2-clause | codeparrot/github-code | 366de731d80ea172721557cdb42c05c382d2c03d49316b33e147bb19518fe075 | 0.63 | testing_debugging_repair_refactoring | 4,138 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataExplorer.Application.Application;
using DataExplorer.Application.Application.Commands;
using DataExplorer.Application.Application.Events;
using DataExplorer.Application.Core.Events;
using Moq;
... | dataexplorer/dataexplorer | Application.Tests/Application/Commands/ShowPaneCommandHandlerTests.cs | https://github.com/dataexplorer/dataexplorer/blob/HEAD/Application.Tests/Application/Commands/ShowPaneCommandHandlerTests.cs | ghcode:00009:e96ec4e836a8 | bsd-3-clause | codeparrot/github-code | e96ec4e836a8ce35948bbe43851703820c4e282481c8a189d78b60549714db18 | 0.75 | testing_debugging_repair_refactoring | 222 | false | 2026-07-17 |
using NUnit.Framework;
namespace IntXLib.Test
{
[TestFixture]
public class IsOddTest
{
[Test]
public void ShouldBeFalseForZero()
{
IntX value = new IntX();
bool result = value.IsOdd;
Assert.That(result, Is.False);
}
[Test]
public void ShouldBeFalseForEvenNumber()
{
... | devoyster/IntXLib | IntXLib.Test/IsOddTest.cs | https://github.com/devoyster/IntXLib/blob/HEAD/IntXLib.Test/IsOddTest.cs | ghcode:00009:32e03fce678f | bsd-3-clause | codeparrot/github-code | 32e03fce678f1bb4ae2643bf31bdbcdc242722e1b1feb7b55420e7f557edb802 | 0.6 | testing_debugging_repair_refactoring | 166 | false | 2026-07-17 |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | AlexRa/opensim-mods-Alex | OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs | https://github.com/AlexRa/opensim-mods-Alex/blob/HEAD/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs | ghcode:00009:b139bfbc43b0 | bsd-3-clause | codeparrot/github-code | b139bfbc43b02b911bb1f4d9ac7f89d724d953fc484fa3b715fa4f0c0292ccec | 0.95 | testing_debugging_repair_refactoring | 4,906 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace Cookies.Tests.iOS
{
public class Application
{
// This is the main entry point of the application.
static void Main(string[] args)
{
// if you wa... | seansparkman/CookiesWebView | Cookies.Tests/Cookies.Tests.iOS/Main.cs | https://github.com/seansparkman/CookiesWebView/blob/HEAD/Cookies.Tests/Cookies.Tests.iOS/Main.cs | ghcode:00009:07ecc4d8e00f | mit | codeparrot/github-code | 07ecc4d8e00f9625f9ed8d6dcc33d517d1e14f90f258269d8c68bcd1f9e20b52 | 0.85 | testing_debugging_repair_refactoring | 97 | 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.Diagnostics;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Con... | ppy/osu | osu.Game/Screens/Edit/Compose/ComposeScreen.cs | https://github.com/ppy/osu/blob/HEAD/osu.Game/Screens/Edit/Compose/ComposeScreen.cs | ghcode:00009:cb6c208e1fd8 | mit | codeparrot/github-code | cb6c208e1fd86192f041a3f600273b3f5db781f4ab0b5509a7e242c971193f93 | 0.85 | testing_debugging_repair_refactoring | 942 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Defining_Classes
{
class GSMTests
{
static void Main()
{
GSMTest();
GSMCallHistoryTest();
}
private static void GSMTest()
... | Gyokay/Telerik-Homeworks | OOP-Homeworks/Defining-Classes/GSMTests.cs | https://github.com/Gyokay/Telerik-Homeworks/blob/HEAD/OOP-Homeworks/Defining-Classes/GSMTests.cs | ghcode:00009:2a82a407f1e0 | mit | codeparrot/github-code | 2a82a407f1e02cb3e27878b261c3a89d39bbe25be99bbb14fbdb565aadfffcf8 | 0.75 | testing_debugging_repair_refactoring | 524 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Threading;
using System.Threading.Tasks;
using Azure.Messaging.ServiceBus;
using Microsoft.Azure.WebJobs.Host.Executors;
using NUnit.Framewo... | ayeletshpigelman/azure-sdk-for-net | sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/tests/MessageProcessorTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/tests/MessageProcessorTests.cs | ghcode:00009:469cb24a5772 | mit | codeparrot/github-code | 469cb24a57723327fc729276cf512b66bf017f69e1ec86adb4950a1e281eccdd | 0.95 | testing_debugging_repair_refactoring | 481 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenProtocolInterpreter.Job;
using System.Linq;
namespace MIDTesters.Job
{
[TestClass]
public class TestMid0038 : MidTester
{
[TestMethod]
public void Mid0038Revision1()
{
string package = "00220038001 01... | Rickedb/OpenProtocolInterpreter | src/MIDTesters/Job/TestMid0038.cs | https://github.com/Rickedb/OpenProtocolInterpreter/blob/HEAD/src/MIDTesters/Job/TestMid0038.cs | ghcode:00009:6bcfc8379300 | mit | codeparrot/github-code | 6bcfc8379300c45946cbf9a23b683c35926c2cdf056b43ddec541d72879085d6 | 0.75 | testing_debugging_repair_refactoring | 425 | false | 2026-07-17 |
using AutoMapper.Attributes.TestAssembly.PropertyMapTests;
using NUnit.Framework;
namespace AutoMapper.Attributes.Tests
{
public class MapsToPropertyTests : MapTests
{
[Test]
public void TestMapToProperty()
{
var deeperContainer = new DeeperContainer
{
... | schneidsDotNet/AutoMapper.Attributes | AutoMapper.Attributes.V5.Tests/MapsToPropertyTests.cs | https://github.com/schneidsDotNet/AutoMapper.Attributes/blob/HEAD/AutoMapper.Attributes.V5.Tests/MapsToPropertyTests.cs | ghcode:00009:8eab426bdf96 | mit | codeparrot/github-code | 8eab426bdf96fe75e909294ef0dee40d4d8a44889d62fb12d675a028457b51b6 | 0.75 | testing_debugging_repair_refactoring | 151 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.CodeAnalysis.... | genlu/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/LookupPositionTests.cs | https://github.com/genlu/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/LookupPositionTests.cs | ghcode:00009:dbf5c5326756 | mit | codeparrot/github-code | dbf5c5326756b76cdde77633ff20db159ce0cf2c725f0c2a52e85c234b7377aa | 0.82 | testing_debugging_repair_refactoring | 19,573 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.CodeAnalysis;
u... | abock/roslyn | src/EditorFeatures/TestUtilities/Workspaces/TestHostProject.cs | https://github.com/abock/roslyn/blob/HEAD/src/EditorFeatures/TestUtilities/Workspaces/TestHostProject.cs | ghcode:00009:9a6223a098db | mit | codeparrot/github-code | 9a6223a098db044baedaba65c8294c391ddba9eae72ace5f3518fe48a1171530 | 0.85 | testing_debugging_repair_refactoring | 2,409 | false | 2026-07-17 |
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using Faker.Caching;
using NUnit.Framework;
namespace Faker.Tests.Common
{
public class ResourceCollectionCachingTests
{
private CultureInfo defaultUICulture;
[OneTimeSetUp]
public void OneTimeSetUp()
{
defaultUICulture = new Cultu... | AdmiringWorm/Faker.NET.Portable | tests/Faker.Tests/Common/ResourceCollectionCachingTests.cs | https://github.com/AdmiringWorm/Faker.NET.Portable/blob/HEAD/tests/Faker.Tests/Common/ResourceCollectionCachingTests.cs | ghcode:00009:e881da705afb | mit | codeparrot/github-code | e881da705afb2035e1faa52e5ce8ace0aaf2f870b4621117daf2ac944acf2970 | 0.85 | testing_debugging_repair_refactoring | 1,460 | false | 2026-07-17 |
using System.Threading;
using BenchmarkDotNet.Attributes;
namespace BenchmarkDotNet.Samples
{
[DryJob]
[CategoriesColumn]
[BenchmarkCategory("Awesome")]
[AnyCategoriesFilter("A", "1")]
public class IntroCategories
{
[Benchmark]
[BenchmarkCategory("A", "1")]
public void A... | ig-sinicyn/BenchmarkDotNet | samples/BenchmarkDotNet.Samples/IntroCategories.cs | https://github.com/ig-sinicyn/BenchmarkDotNet/blob/HEAD/samples/BenchmarkDotNet.Samples/IntroCategories.cs | ghcode:00009:d56488e13feb | mit | codeparrot/github-code | d56488e13febf8aa5cb89734e65c1de17762ce65e752ac6ef2718031a3cfd42a | 0.85 | testing_debugging_repair_refactoring | 183 | false | 2026-07-17 |
using System;
using Xunit;
using Ninject.Integration.SolrNet.Config;
using SolrNet;
namespace Ninject.Integration.SolrNet.Tests {
[Trait("Category","Integration")]
public class NinjectIntegrationFixture {
private StandardKernel kernel;
public NinjectIntegrationFixture()
... | mausch/SolrNet | Ninject.Integration.SolrNet.Tests/NinjectIntegrationFixture.cs | https://github.com/mausch/SolrNet/blob/HEAD/Ninject.Integration.SolrNet.Tests/NinjectIntegrationFixture.cs | ghcode:00009:e519b5988dc0 | apache-2.0 | codeparrot/github-code | e519b5988dc05e2e784f64168a98ec0cef5d37366169845d3ad20ec3d07cd775 | 0.85 | testing_debugging_repair_refactoring | 747 | false | 2026-07-17 |
// NameTable.cs
// Script#/Core/Compiler
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Text;
using System.Collections;
using System.Diagnostics;
namespace ScriptSharp.Parser {
/// <summary>
/// A container for unique Names
/// </s... | nikhilk/scriptsharp | src/Core/Compiler/Parser/NameTable.cs | https://github.com/nikhilk/scriptsharp/blob/HEAD/src/Core/Compiler/Parser/NameTable.cs | ghcode:00009:c476be5770c2 | apache-2.0 | codeparrot/github-code | c476be5770c2b0b0a6f04f4873379c564e3a33fe62249788708268201a617e6d | 0.7 | testing_debugging_repair_refactoring | 1,485 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Azure.Messaging.EventHubs.Amqp;
using Microsoft.Azure.Amqp.Framing;
using NUnit.Framework;
namespace Azure.Messaging.EventHubs.Tests
{
... | markcowl/azure-sdk-for-net | sdk/eventhub/Azure.Messaging.EventHubs/tests/Amqp/AmqpExceptionExtensionsTests.cs | https://github.com/markcowl/azure-sdk-for-net/blob/HEAD/sdk/eventhub/Azure.Messaging.EventHubs/tests/Amqp/AmqpExceptionExtensionsTests.cs | ghcode:00009:2c2c48c7fd58 | apache-2.0 | codeparrot/github-code | 2c2c48c7fd581386865d7c1642d183a18ff27a1b3b3c8a097a53d667753aed52 | 0.95 | testing_debugging_repair_refactoring | 2,033 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Text;
using Aardvark.Base;
namespace Aardvark.Tests.Images
{
[TestFixture]
class PixImageTests
{
static Volume<byte> Scaled(Volume<byte> source, V2d scaleFactor, ImageInterpolation ip = ImageInterpolation.Cubic)
... | vrvis/aardvark.base | src/Tests/Aardvark.Base.Tests/Images/PixImageTests.cs | https://github.com/vrvis/aardvark.base/blob/HEAD/src/Tests/Aardvark.Base.Tests/Images/PixImageTests.cs | ghcode:00009:839bfb3118cb | apache-2.0 | codeparrot/github-code | 839bfb3118cbc807e60d44c62525a9be96f41a50cf46db1e4b2a15f6cd279419 | 0.95 | testing_debugging_repair_refactoring | 1,026 | false | 2026-07-17 |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serializa... | xamarin/azure-mobile-services | sdk/windows/test/Microsoft.Azure.Zumo.Windows.CSharp.Test/Tests/Functional/ToDoTest.cs | https://github.com/xamarin/azure-mobile-services/blob/HEAD/sdk/windows/test/Microsoft.Azure.Zumo.Windows.CSharp.Test/Tests/Functional/ToDoTest.cs | ghcode:00009:8512e19c1c80 | apache-2.0 | codeparrot/github-code | 8512e19c1c80e6d3ac8624b4a5c1819fd61009bc4385e81b6f31652389d9eecc | 0.95 | testing_debugging_repair_refactoring | 1,683 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Threading;
namespace g3
{
/// <summary>
/// Basic sparse-symmetric-matrix class. Stores upper-triangular portion.
/// Uses Dictionary as sparsifying data structure, which is probably
/// no... | MatterHackers/agg-sharp | geometry3Sharp/solvers/SparseMatrix.cs | https://github.com/MatterHackers/agg-sharp/blob/HEAD/geometry3Sharp/solvers/SparseMatrix.cs | ghcode:00009:1b474c7b3bd4 | bsd-2-clause | codeparrot/github-code | 1b474c7b3bd41f99ec0238876992cf9302d9f661f77b7d41097543c5998afae1 | 0.63 | testing_debugging_repair_refactoring | 2,712 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using NUnit.Framework;
using ServiceStack.Text.Tests.DynamicModels.DataModel;
namespace ServiceStack.Text.Tests
{
[TestFixture]
public class DictionaryTests
: TestBase
{
[TestFixtureSetUp]
public void SetUp()
{
#if MONOTOUCH
JsConf... | telerik/ServiceStack.Text | tests/ServiceStack.Text.Tests/DictionaryTests.cs | https://github.com/telerik/ServiceStack.Text/blob/HEAD/tests/ServiceStack.Text.Tests/DictionaryTests.cs | ghcode:00009:2cddce79f4fc | bsd-3-clause | codeparrot/github-code | 2cddce79f4fccb244ca36136f5367b2b4308be9fa7c54aba38cfddea3a73a5fe | 0.85 | testing_debugging_repair_refactoring | 2,682 | false | 2026-07-17 |
using FluentAssertions;
using NUnit.Framework;
using System.Threading.Tasks;
namespace NSpec.Tests.WhenRunningSpecs.BeforeAndAfter
{
[TestFixture]
[Category("Async")]
public class async_abstract_class : when_running_specs
{
abstract class Abstract : sequence_spec
{
async Tas... | BennieCopeland/NSpec | sln/test/NSpec.Tests/WhenRunningSpecs/BeforeAndAfter/async_abstract_class.cs | https://github.com/BennieCopeland/NSpec/blob/HEAD/sln/test/NSpec.Tests/WhenRunningSpecs/BeforeAndAfter/async_abstract_class.cs | ghcode:00009:45e219fee996 | mit | codeparrot/github-code | 45e219fee99638b1a8c2c6ebb86a940e3b7f9ec25ae9ad8fa3e1aa9dd19381ec | 0.85 | testing_debugging_repair_refactoring | 292 | false | 2026-07-17 |
using Xunit;
namespace Shouldly.Tests.Strings.DetailedDifference.CaseInsensitive.LongStrings.MultipleDiffs
{
public class LongStringVsShortStringScenario
{
[Fact]
public void LongStringVsShortStringScenarioShouldFail()
{
var str = "1a,1b,1c,1d,1e,1f,1g,1h,1i,1j,1k,1l,1m,1n,... | JoeMighty/shouldly | src/Shouldly.Tests/Strings/DetailedDifference/CaseInsensitive/LongStrings/MultipleDiffs/LongStringVsShortStringScenario.cs | https://github.com/JoeMighty/shouldly/blob/HEAD/src/Shouldly.Tests/Strings/DetailedDifference/CaseInsensitive/LongStrings/MultipleDiffs/LongStringVsShortStringScenario.cs | ghcode:00009:16bd0c73dca9 | bsd-3-clause | codeparrot/github-code | 16bd0c73dca922ca2effb7472535188709885443474c46507f1a94476109f3b9 | 0.6 | testing_debugging_repair_refactoring | 2,720 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Li... | lggomez/corefx | src/System.Private.DataContractSerialization/src/System/Runtime/Serialization/Json/ReflectionJsonFormatReader.cs | https://github.com/lggomez/corefx/blob/HEAD/src/System.Private.DataContractSerialization/src/System/Runtime/Serialization/Json/ReflectionJsonFormatReader.cs | ghcode:00009:ae4f23add152 | mit | codeparrot/github-code | ae4f23add152b48eace364b3d45840a05523c4f369a074b35ec8d82e58821d96 | 0.95 | testing_debugging_repair_refactoring | 1,568 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
us... | stebet/roslyn | src/Compilers/CSharp/Portable/Lowering/LambdaRewriter/ExpressionLambdaRewriter.cs | https://github.com/stebet/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/LambdaRewriter/ExpressionLambdaRewriter.cs | ghcode:00009:e3df489c9a07 | apache-2.0 | codeparrot/github-code | e3df489c9a07f9282d410863202dcdf3bdaf3c47ac0daead6f642f099ab2e3e8 | 0.7 | testing_debugging_repair_refactoring | 8,301 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Text;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSh... | brettfo/roslyn | src/Compilers/CSharp/Test/Syntax/Syntax/SyntaxNormalizerTests.cs | https://github.com/brettfo/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Syntax/Syntax/SyntaxNormalizerTests.cs | ghcode:00009:6eb96fe334c5 | apache-2.0 | codeparrot/github-code | 6eb96fe334c5ee0f9850c8fc9608d6ccb2712dec6c3e19397220996238d18563 | 0.95 | testing_debugging_repair_refactoring | 6,993 | false | 2026-07-17 |
using Nest;
using Tests.Framework.Integration;
using Tests.Framework.MockData;
using static Nest.Infer;
namespace Tests.QueryDsl.Geo.Shape.Circle
{
public class GeoShapeCircleUsageTests : ShapeQueryUsageTestsBase
{
public GeoShapeCircleUsageTests(ReadOnlyCluster i, EndpointUsage usage) : base(i, usage) { }
pri... | RossLieberman/NEST | src/Tests/QueryDsl/Geo/Shape/Circle/GeoShapeCircleUsageTests.cs | https://github.com/RossLieberman/NEST/blob/HEAD/src/Tests/QueryDsl/Geo/Shape/Circle/GeoShapeCircleUsageTests.cs | ghcode:00009:ae282f4c43bc | apache-2.0 | codeparrot/github-code | ae282f4c43bc458becb071b3b871ce2c1ea35b62c5ce0ca8a6bd7d522f6405cd | 0.85 | testing_debugging_repair_refactoring | 347 | false | 2026-07-17 |
/*
* Copyright 2001-2008 The Apache Software Foundation.
*
* 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 r... | st609877063/juddi | juddi-parent/juddi-client.net/juddi-client.net.test/org.apache.juddi.client.test/DigitalSignatureTests.cs | https://github.com/st609877063/juddi/blob/HEAD/juddi-parent/juddi-client.net/juddi-client.net.test/org.apache.juddi.client.test/DigitalSignatureTests.cs | ghcode:00009:7b66f0330f9c | apache-2.0 | codeparrot/github-code | 7b66f0330f9c389ca653f4d09c7241b6673ac83a41034aa6e801e0ef260f108c | 0.85 | testing_debugging_repair_refactoring | 2,070 | 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.Globalization;
using System.IO;
using System.Reflection;
using Syste... | lggomez/corefx | src/System.Linq.Expressions/tests/ILReader/ILPrinter.cs | https://github.com/lggomez/corefx/blob/HEAD/src/System.Linq.Expressions/tests/ILReader/ILPrinter.cs | ghcode:00009:a3fd8181f41a | mit | codeparrot/github-code | a3fd8181f41a0814097e0b7288be78b8d9f27d57dae8f098f7177b6f37a72ba4 | 0.95 | testing_debugging_repair_refactoring | 1,045 | false | 2026-07-17 |
using System;
using Elasticsearch.Net;
namespace Tests.Framework
{
public class TestableDateTimeProvider : DateTimeProvider
{
private DateTime MutableNow { get; set; } = DateTime.UtcNow;
public override DateTime Now() => MutableNow;
public void ChangeTime(Func<DateTime, DateTime> change) => this.MutableNow ... | TheFireCookie/elasticsearch-net | src/Tests/Framework/VirtualClustering/Providers/TestableDateTimeProvider.cs | https://github.com/TheFireCookie/elasticsearch-net/blob/HEAD/src/Tests/Framework/VirtualClustering/Providers/TestableDateTimeProvider.cs | ghcode:00009:429b59cd5b5c | apache-2.0 | codeparrot/github-code | 429b59cd5b5c579caf5a4fc6b8ab64b13c1f43930aa5c4591f7d66fb5fcd98aa | 0.85 | testing_debugging_repair_refactoring | 74 | false | 2026-07-17 |
/*
* Farseer Physics Engine based on Box2D.XNA port:
* Copyright (c) 2010 Ian Qvist
*
* Box2D.XNA port of Box2D:
* Copyright (c) 2009 Brandon Furtwangler, Nathan Furtwangler
*
* Original source Box2D:
* Copyright (c) 2006-2009 Erin Catto http://www.gphysics.com
*
* This software is provided 'as-is', without any exp... | haithemaraissia/CocosSharp | tests/tests/classes/tests/Box2DTestBet/Tests/EdgeShapesTest.cs | https://github.com/haithemaraissia/CocosSharp/blob/HEAD/tests/tests/classes/tests/Box2DTestBet/Tests/EdgeShapesTest.cs | ghcode:00009:d13403303be5 | mit | codeparrot/github-code | d13403303be5b152c565f399f7653349853494c13c53d8809692af0595af1161 | 0.95 | testing_debugging_repair_refactoring | 2,043 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Editor.Shared.Extensions;
using Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft.CodeAnalysis.Text.Shared.Extensions;
usin... | OmarTawfik/roslyn | src/EditorFeatures/Test/Extensions/ITextSnapshotExtensionsTests.cs | https://github.com/OmarTawfik/roslyn/blob/HEAD/src/EditorFeatures/Test/Extensions/ITextSnapshotExtensionsTests.cs | ghcode:00009:48483ea8f88d | apache-2.0 | codeparrot/github-code | 48483ea8f88d837f61bf5d44ec4a6ac0d8a6f0c65815a46e372d6409552a8dfb | 0.95 | testing_debugging_repair_refactoring | 1,639 | 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;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.U... | Pvlerick/roslyn | src/EditorFeatures/CSharpTest/Diagnostics/UseImplicitOrExplicitType/UseImplicitTypeTests_FixAllTests.cs | https://github.com/Pvlerick/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/UseImplicitOrExplicitType/UseImplicitTypeTests_FixAllTests.cs | ghcode:00009:2cf385288451 | apache-2.0 | codeparrot/github-code | 2cf38528845145b36051c18f5146d8b153eb6166f04537b6da754f4a3d456bba | 0.75 | testing_debugging_repair_refactoring | 2,329 | 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,... | oschwald/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/Documentation/Samples/Serializer/SerializeTypeNameHandling.cs | https://github.com/oschwald/Newtonsoft.Json/blob/HEAD/Src/Newtonsoft.Json.Tests/Documentation/Samples/Serializer/SerializeTypeNameHandling.cs | ghcode:00009:473fd35969a2 | mit | codeparrot/github-code | 473fd35969a22fc02948a60bffafcddb31823dd1d2afcb5509a7ee83c870ac16 | 0.85 | testing_debugging_repair_refactoring | 858 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.IO.Enumeration;
using Xunit;
namespace System.IO.Tests
{
public class ErrorHandlingTests : FileSy... | Jiayili1/corefx | src/System.IO.FileSystem/tests/Enumeration/ErrorHandlingTests.netcoreapp.cs | https://github.com/Jiayili1/corefx/blob/HEAD/src/System.IO.FileSystem/tests/Enumeration/ErrorHandlingTests.netcoreapp.cs | ghcode:00009:1bd423763214 | mit | codeparrot/github-code | 1bd423763214f011debd1dece58011c772a4c773dadadf4ceb8e4b82c53dd22e | 0.95 | testing_debugging_repair_refactoring | 646 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using NUnit.Framework;
using Umbraco.Core.Models;
using Umbraco.Core.Serialization;
namespace Umbraco.Tests.Models
{
[TestFixture]
public class RelationTests
{
[Test]
public void Can_Deep_Clone()
{
var item = new Relation(9, 8, new... | neilgaietto/Umbraco-CMS | src/Umbraco.Tests/Models/RelationTests.cs | https://github.com/neilgaietto/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Models/RelationTests.cs | ghcode:00009:96fb19d06de6 | mit | codeparrot/github-code | 96fb19d06de6813c63784885a3f200be3c9a6f26739852bd5fcd41430f62c7cb | 0.75 | testing_debugging_repair_refactoring | 450 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnaly... | CyrusNajmabadi/roslyn | src/Compilers/CSharp/Portable/Syntax/InternalSyntax/SyntaxLastTokenReplacer.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Syntax/InternalSyntax/SyntaxLastTokenReplacer.cs | ghcode:00009:559f87acb494 | mit | codeparrot/github-code | 559f87acb49449d63f7e8607aff3b67813ef18b42467bedf8602403f59e1a612 | 0.85 | testing_debugging_repair_refactoring | 393 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.... | physhi/roslyn | src/EditorFeatures/TestUtilities/Diagnostics/GenerateType/GenerateTypeTestState.cs | https://github.com/physhi/roslyn/blob/HEAD/src/EditorFeatures/TestUtilities/Diagnostics/GenerateType/GenerateTypeTestState.cs | ghcode:00009:d7605c021865 | apache-2.0 | codeparrot/github-code | d7605c0218657f8acf3aab3355bbd941f0d4225f55daa3de69f5b843a8edaf08 | 0.85 | testing_debugging_repair_refactoring | 615 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
namespace System.Reflection.Metadata.Ecma335.Tests
{
public class MetadataTokensTests
{
private static readonly EntityHandle s_assemblyRef... | Alcaro/corefx | src/System.Reflection.Metadata/tests/Metadata/Ecma335/MetadataTokensTests.cs | https://github.com/Alcaro/corefx/blob/HEAD/src/System.Reflection.Metadata/tests/Metadata/Ecma335/MetadataTokensTests.cs | ghcode:00009:3225dd0b6582 | mit | codeparrot/github-code | 3225dd0b6582a49c0952f6df29655475810890a7200f1b494ee29e6530d181e1 | 0.85 | testing_debugging_repair_refactoring | 861 | 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;
using System.Collections.Generic;
using System.Diagnostics;
namespace System.Net.Http.Hea... | shimingsg/corefx | src/System.Net.Http/src/System/Net/Http/Headers/HttpHeaderValueCollection.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Net.Http/src/System/Net/Http/Headers/HttpHeaderValueCollection.cs | ghcode:00009:6109db33c4c0 | mit | codeparrot/github-code | 6109db33c4c07e0daffd8c401b1210b9f1e406f9396f44beaa21314f3d9932b4 | 0.95 | testing_debugging_repair_refactoring | 1,637 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using Sys... | ViktorHofer/corefx | src/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/Validator.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/Validator.cs | ghcode:00009:f83b0c795ec4 | mit | codeparrot/github-code | f83b0c795ec45c8ac91d4217b7102caa631219a91855508663c97b01501f4c9e | 0.95 | testing_debugging_repair_refactoring | 6,266 | 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.Globalization;
using Xunit;
namespace System.Globalization.CalendarsTests
{
// System.Globalization.ThaiBuddhistCalendar.Eras
public... | bitcrazed/corefx | src/System.Globalization.Calendars/tests/ThaiBuddhistCalendar/ThaiBuddhistCalendarEras.cs | https://github.com/bitcrazed/corefx/blob/HEAD/src/System.Globalization.Calendars/tests/ThaiBuddhistCalendar/ThaiBuddhistCalendarEras.cs | ghcode:00009:0742730a3227 | mit | codeparrot/github-code | 0742730a3227a3908608cf9d9a5773ccb0edcb596621abb9f3ba439c4a16f576 | 0.95 | testing_debugging_repair_refactoring | 161 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.ComponentModel... | shimingsg/corefx | src/System.ComponentModel.Composition/tests/System/Integration/RequiredCreationPolicyTests.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.ComponentModel.Composition/tests/System/Integration/RequiredCreationPolicyTests.cs | ghcode:00009:d41c16eeed21 | mit | codeparrot/github-code | d41c16eeed21b55048eb04057abab007dead6f92c5e836be70f0b10fed9b9b51 | 0.95 | testing_debugging_repair_refactoring | 955 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis... | Pvlerick/roslyn | src/Compilers/CSharp/Portable/Compilation/SyntaxAndDeclarationManager.LazyState.cs | https://github.com/Pvlerick/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Compilation/SyntaxAndDeclarationManager.LazyState.cs | ghcode:00009:7b42ce87746c | apache-2.0 | codeparrot/github-code | 7b42ce87746c99d596dc59d0fda94f4f5c83f6c492223a72a84af461e0b94692 | 0.85 | testing_debugging_repair_refactoring | 414 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class MethodBuilderReturnParameter
{
[... | BrennanConroy/corefx | src/System.Reflection.Emit/tests/MethodBuilder/MethodBuilderReturnParameter.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Reflection.Emit/tests/MethodBuilder/MethodBuilderReturnParameter.cs | ghcode:00009:b56358af2e53 | mit | codeparrot/github-code | b56358af2e5398f66b335ab937b362c9b0ee5f29e9f4f1462e26002f67996eb2 | 0.95 | testing_debugging_repair_refactoring | 417 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Elasticsearch.Net.Integration.Yaml.Index10
{
public partial class Index10YamlTests
{
[NCrunch.Framework.ExclusivelyUses("Ela... | amitstefen/elasticsearch-net | src/Tests/Elasticsearch.Net.Integration.Yaml/index/70_timestamp.yaml.cs | https://github.com/amitstefen/elasticsearch-net/blob/HEAD/src/Tests/Elasticsearch.Net.Integration.Yaml/index/70_timestamp.yaml.cs | ghcode:00009:bd6db137409b | mit | codeparrot/github-code | bd6db137409bf6722848f847619f59bc0ee0ec550428efffe27b32d14b9d76ea | 0.95 | testing_debugging_repair_refactoring | 625 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Transactions;
namespace Altus.Suffūz.Collections.Tests
{
[TestClass]
public class Dict... | odinhaus/Suffuz | Altus.Suffūz.Collections.Tests/DictionaryTests.cs | https://github.com/odinhaus/Suffuz/blob/HEAD/Altus.Suffūz.Collections.Tests/DictionaryTests.cs | ghcode:00009:859db3879ba7 | mit | codeparrot/github-code | 859db3879ba7a280db0b9e256a06fd347c15e30fbee8b703a131d5ca18bcfa4a | 0.75 | testing_debugging_repair_refactoring | 2,912 | false | 2026-07-17 |
using CMS.Globalization;
using CMS.Tests;
using NUnit.Framework;
namespace Kentico.Ecommerce.Tests
{
[TestFixture, SharedDatabaseForAllTests]
class CustomerAddressValidatorTests : EcommerceTestsBase
{
private StateInfo mStateFromUnknownCountry;
[OneTimeSetUp]
public void Fixture... | Kentico/Mvc | test/Kentico.Ecommerce.Tests/Validators/CustomerAddressValidatorTests.cs | https://github.com/Kentico/Mvc/blob/HEAD/test/Kentico.Ecommerce.Tests/Validators/CustomerAddressValidatorTests.cs | ghcode:00009:225d04352be7 | mit | codeparrot/github-code | 225d04352be71e6d479d6d06f427ed33279f636ca9aa58aff74c13b3665dada2 | 0.75 | testing_debugging_repair_refactoring | 466 | false | 2026-07-17 |
using System.Threading.Tasks;
using FlickrDemo.BusinessLogic.Interfaces;
using FlickrDemo.BusinessLogic.Services;
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using System.Linq;
namespace FlickrDemo.Tests
{
[TestClass]
public class FlickrServiceTests
{
private IFlickrService _flick... | igorkulman/Talks.MUNI.2014 | FlickrDemo.Tests/FlickrServiceTests.cs | https://github.com/igorkulman/Talks.MUNI.2014/blob/HEAD/FlickrDemo.Tests/FlickrServiceTests.cs | ghcode:00009:74a5976769e0 | mit | codeparrot/github-code | 74a5976769e033c2e0aa1b29114778b9c3f13464c0816bd3c3abcafaa5cffe92 | 0.75 | testing_debugging_repair_refactoring | 130 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using NDummy.Factories;
namespace NDummy
{
/// <summary>
/// Represents generator spec for property and field
/// </summary>
public interface IPropertySpec
{
PropertyGenerator Gen... | antonmaju/ndummy | src/NDummy/NDummy/IPropertySpec.cs | https://github.com/antonmaju/ndummy/blob/HEAD/src/NDummy/NDummy/IPropertySpec.cs | ghcode:00009:1b31d726d4aa | mit | codeparrot/github-code | 1b31d726d4aad976841f2a5e515df3afae079a9cbebeaf593bc469568eac654f | 0.85 | testing_debugging_repair_refactoring | 502 | 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.
#pragma warning disable 0219
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.Build.Evalua... | Microsoft/msbuild | src/Utilities.UnitTests/ToolLocationHelper_Tests.cs | https://github.com/Microsoft/msbuild/blob/HEAD/src/Utilities.UnitTests/ToolLocationHelper_Tests.cs | ghcode:00009:7f0f3c6e4dc3 | mit | codeparrot/github-code | 7f0f3c6e4dc3cc67e95fcf91630975d220afdcb3ea94cabd15dd082d82e8701f | 0.65 | testing_debugging_repair_refactoring | 55,173 | false | 2026-07-17 |
// Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using System.Collections.Generic;
using DotSpatial.Symbology;
using NUnit.Framework;
using TestClass = NUnit.Framework.TestFixtureAttribute;
using Tes... | CGX-GROUP/DotSpatial | Source/DotSpatial.Controls.Tests/MapFrameTest.cs | https://github.com/CGX-GROUP/DotSpatial/blob/HEAD/Source/DotSpatial.Controls.Tests/MapFrameTest.cs | ghcode:00009:64dbe62dc852 | mit | codeparrot/github-code | 64dbe62dc8527ec9b7d3e8c82590d605be65239d4ca9bb094defd35d7af7940e | 0.85 | testing_debugging_repair_refactoring | 482 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.Core.Tests
{
public class ClientTestBaseTests : ClientTestBase
{
p... | hyonholee/azure-sdk-for-net | sdk/core/Azure.Core/tests/ClientTestBaseTests.cs | https://github.com/hyonholee/azure-sdk-for-net/blob/HEAD/sdk/core/Azure.Core/tests/ClientTestBaseTests.cs | ghcode:00009:939db2e34af8 | mit | codeparrot/github-code | 939db2e34af8f267946edf801960845694d463aef948137255b59aa106e438fd | 0.95 | testing_debugging_repair_refactoring | 1,679 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Cauterize;
namespace Cauterize.Test
{
class MyComposite : CauterizeComposite
{
public int MyInt1 { get; set; }
public int MyInt2 { get; set; }
}
enum Group... | sw17ch/Z-ARCHIVED-legacy-cauterize | support/cs/test/CauterizeTypeFormatterFactoryTest.cs | https://github.com/sw17ch/Z-ARCHIVED-legacy-cauterize/blob/HEAD/support/cs/test/CauterizeTypeFormatterFactoryTest.cs | ghcode:00009:cb40832e7ff9 | mit | codeparrot/github-code | cb40832e7ff9c326c4e596de559353712de38ea9df265dab33e7143eff5f0b59 | 0.85 | testing_debugging_repair_refactoring | 484 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Bike2Ride.Data.Contracts;
using Bike2Ride.Data.Models;
using Moq;
using NUnit.Framework;
namespace Bike2Ride.Services.UnitTests.CityServiceTest
{
[TestFixture]
public class CreateCity_Should
{
[Test]
public void ReturnTrue_WhenPass... | ludzhev/Bike2Ride.WebClient | Bike2Ride/Services/Bike2Ride.Services.UnitTests/CityServiceTest/CreateCity_Should.cs | https://github.com/ludzhev/Bike2Ride.WebClient/blob/HEAD/Bike2Ride/Services/Bike2Ride.Services.UnitTests/CityServiceTest/CreateCity_Should.cs | ghcode:00009:4a46e5320b62 | mit | codeparrot/github-code | 4a46e5320b622ad7c46efaa17aa7f664ca99f7b4be37a866052a940b5b1a0cb0 | 0.7 | testing_debugging_repair_refactoring | 748 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Simplic.AdaptiveTesting.Configuration
{
/// <summary>
/// Contains the configuration of a single test case
/// </summary>
public class TestCaseConfiguration
{
/// <... | simplicbe/Simplic.AdaptiveTesting | src/Simplic.AdaptiveTesting/Configuration/TestCaseConfiguration.cs | https://github.com/simplicbe/Simplic.AdaptiveTesting/blob/HEAD/src/Simplic.AdaptiveTesting/Configuration/TestCaseConfiguration.cs | ghcode:00009:bcbb5becdc1e | mit | codeparrot/github-code | bcbb5becdc1ebce667ef2037f4bab99972400346fdc6314ef2be7a23a196746b | 0.85 | testing_debugging_repair_refactoring | 208 | false | 2026-07-17 |
using System.Reflection;
using FclEx;
using FclEx.Utils;
namespace Xunit
{
public class DebugOnlyFactAttribute : FactAttribute
{
public bool DebugModeRequired { get; set; } = true;
public bool DebuggerRequired { get; set; } = false;
public override string? Skip
{
g... | huoshan12345/FclEx | src/FclEx.Xunit/Xunit/DebugOnlyFactAttribute.cs | https://github.com/huoshan12345/FclEx/blob/HEAD/src/FclEx.Xunit/Xunit/DebugOnlyFactAttribute.cs | ghcode:00009:775f7ce84e2c | mit | codeparrot/github-code | 775f7ce84e2c226aa96c2d2082a8c7f83d8f61d875898d5dadd6ce8e69ca8f31 | 0.75 | testing_debugging_repair_refactoring | 153 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using NUnit.Framework.Interfaces;
using NUnit.Framework.Internal;
using NUnit.Framework.Internal.Builders;
namespace Specs.Library.Helpers
{
/// <summary>
/// Sets the NUnit TestName to the name of the scenario class.
/// By default, NUnit would set every test with the... | mwhelan/Specify | src/Samples/AspNetCoreApi/specs/Specs.Library/Helpers/ExecuteScenarioAttribute.cs | https://github.com/mwhelan/Specify/blob/HEAD/src/Samples/AspNetCoreApi/specs/Specs.Library/Helpers/ExecuteScenarioAttribute.cs | ghcode:00009:f837bf06f7f6 | mit | codeparrot/github-code | f837bf06f7f6e7389e8949ce93a9f386757a90995704d9189278bde595d1671e | 0.85 | testing_debugging_repair_refactoring | 168 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using NUnit.Framework;
using Should;
#if !SILVERLIGHT
using NUnit.Framework.SyntaxHelpers;
#endif
namespace AutoMapper.UnitTests
{
[TestFixture]
public class CollectionMappin... | IanYates83/AutoMapper | src/UnitTests/CollectionMapping.cs | https://github.com/IanYates83/AutoMapper/blob/HEAD/src/UnitTests/CollectionMapping.cs | ghcode:00009:33c0d4e3647e | mit | codeparrot/github-code | 33c0d4e3647eb126457bdc6b22401605d06dbf79093bfc74834c3d6890581fc5 | 0.85 | testing_debugging_repair_refactoring | 1,680 | false | 2026-07-17 |
using NUnit.Framework;
using StyletIoC;
using System;
namespace StyletUnitTests.StyletIoC
{
[TestFixture]
public class StyletIoCBindingChecksTests
{
interface I1 { }
class C1 : I1 { }
class C2 { }
interface I3 : I1 { }
abstract class C4 : I1 { }
class C5<T> ... | canton7/Stylet | StyletUnitTests/StyletIoC/StyletIoCBindingChecksTests.cs | https://github.com/canton7/Stylet/blob/HEAD/StyletUnitTests/StyletIoC/StyletIoCBindingChecksTests.cs | ghcode:00009:3bd70b1d393b | mit | codeparrot/github-code | 3bd70b1d393b2866cca2018ec5f596473ec77721e327659a67e3303c4601455c | 0.75 | testing_debugging_repair_refactoring | 796 | false | 2026-07-17 |
namespace MyAccounts.Tests.Gmc.Steps
{
public class PasswordWrapper : Wrapper<string>
{
public PasswordWrapper(string value)
: base(value)
{
}
public static implicit operator PasswordWrapper(string val)
{
return new PasswordWrapper(val);
}... | blaise-braye/my-accounts | MyAccounts.Tests.Gmc/Steps/PasswordWrapper.cs | https://github.com/blaise-braye/my-accounts/blob/HEAD/MyAccounts.Tests.Gmc/Steps/PasswordWrapper.cs | ghcode:00009:4d4df7987713 | mit | codeparrot/github-code | 4d4df798771317a4e1a6acd5008abda67c6bc39fe1443e0a4bf0e3710c187143 | 0.75 | testing_debugging_repair_refactoring | 97 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using SJP.Schematic.Core;
using SJP.Schematic.PostgreSql.Comments;
namespace SJP.Schematic.PostgreSql.Tests.Comments
{
[TestFixture]
internal static class PostgreSqlTableCommentProviderTests
{
[Test]
public static void Ctor_GivenNullConnection_ThrowsArgNul... | sjp/Schematic | src/SJP.Schematic.PostgreSql.Tests/Comments/PostgreSqlTableCommentProviderTests.cs | https://github.com/sjp/Schematic/blob/HEAD/src/SJP.Schematic.PostgreSql.Tests/Comments/PostgreSqlTableCommentProviderTests.cs | ghcode:00009:3756f2e41904 | mit | codeparrot/github-code | 3756f2e41904a7c36f494727257b432bc4929fb2c3ed9fb0c624621b0b91b620 | 0.75 | testing_debugging_repair_refactoring | 366 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Security.Principal;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using AspNetCore2.Tests;
using Gibraltar.Agent;
using Loupe.Agent.AspNetCore.Infrastructure;
using Loupe.Agent.AspNetCore.Models;
using NSubsti... | GibraltarSoftware/Loupe.Agent.Core | src/AspNetCore.Tests/TestLogging.cs | https://github.com/GibraltarSoftware/Loupe.Agent.Core/blob/HEAD/src/AspNetCore.Tests/TestLogging.cs | ghcode:00009:37045caba6fd | mit | codeparrot/github-code | 37045caba6fd4dd9bc7d5ed0027b6c05ecf82ee0d23ef78414baff6b54eb4e4d | 0.75 | testing_debugging_repair_refactoring | 694 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace Simple.Misc
{
public class RangeTests
{
[Theory]
[InlineData(1)]
[InlineData(54)]
[InlineData(980800)]
public void Increasing_WithSameParameter_YieldsTheParameter(int x)
{
va... | lsedlacek/Simple | SimpleTests/Misc/RangeTests.cs | https://github.com/lsedlacek/Simple/blob/HEAD/SimpleTests/Misc/RangeTests.cs | ghcode:00009:71c779e5a736 | mit | codeparrot/github-code | 71c779e5a73615f2c5a82093b995f3b6e45ea5a8703636b397df55fa284db2b3 | 0.75 | testing_debugging_repair_refactoring | 1,344 | false | 2026-07-17 |
/*
* SonarScanner for .NET
* Copyright (C) 2016-2022 SonarSource SA
* mailto: info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of ... | SonarSource-DotNet/sonar-msbuild-runner | Tests/SonarScanner.MSBuild.TFS.Test/Infrastructure/MockReportUrlProvider.cs | https://github.com/SonarSource-DotNet/sonar-msbuild-runner/blob/HEAD/Tests/SonarScanner.MSBuild.TFS.Test/Infrastructure/MockReportUrlProvider.cs | ghcode:00009:76c11621e15c | mit | codeparrot/github-code | 76c11621e15c5f0842c20e2e2cee7e26ee7c74f6ac839b72448570414af4fda2 | 0.75 | testing_debugging_repair_refactoring | 425 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using NUnit.Framework;
using WelderCalculator.Model;
using WelderCalculator.Repositories;
namespace Tests
{
[TestFixture]
public class MaterialRepositoryTests
{
private NormRepository _repo;
priva... | BartoszBaczek/Welder-Calculator | WelderCalculator/Tests/MaterialRepositoryTests.cs | https://github.com/BartoszBaczek/Welder-Calculator/blob/HEAD/WelderCalculator/Tests/MaterialRepositoryTests.cs | ghcode:00009:8e80192ef386 | mit | codeparrot/github-code | 8e80192ef386d0ee979e4d7adbed0f4f625b896c750727f2ec0da3d59f09df68 | 0.95 | testing_debugging_repair_refactoring | 843 | false | 2026-07-17 |
using FluentAssertions;
using FluentExtensions.Int;
using NUnit.Framework;
namespace FluentExtensions.Tests.Int
{
[TestFixture]
public class TimesExtensionTests
{
[Test]
public void TestPositiveIntegerWithoutIndex()
{
var sum = 0;
5.Times(() => ... | gnazareth/FluentExtensions | FluentExtensions.Tests/Int/TimesExtensionTests.cs | https://github.com/gnazareth/FluentExtensions/blob/HEAD/FluentExtensions.Tests/Int/TimesExtensionTests.cs | ghcode:00009:403e7f6bad7a | mit | codeparrot/github-code | 403e7f6bad7a5a789fec7cf6e6bfdb8a49735d1c20b271e0e71b00ed138bf83a | 0.75 | testing_debugging_repair_refactoring | 313 | false | 2026-07-17 |
using System;
using System.Threading;
namespace ExamQuestions.Tests.Events
{
public static class EventArgsExtender
{
public static void Raise<TEventArgs>(this TEventArgs e, object sender,
ref EventHandler<TEventArgs> eventDelegate) where TEventArgs : EventArgs
{
... | Foxpips/ExamQuestions | ExamQuestions/Tests/Events/EventArgsExtender.cs | https://github.com/Foxpips/ExamQuestions/blob/HEAD/ExamQuestions/Tests/Events/EventArgsExtender.cs | ghcode:00009:b48969264de5 | mit | codeparrot/github-code | b48969264de5e954718587c4c29513895e2a0d06dbea9901deaefb406c3c1be6 | 0.85 | testing_debugging_repair_refactoring | 152 | false | 2026-07-17 |
#region References
using System.Linq;
using System.Management.Automation;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestR.Elements;
using TestR.PowerShell;
#endregion
namespace TestR.IntegrationTests
{
[TestClass]
[Cmdlet(VerbsDiagnostic.Test, "Browsers")]
public class BrowserTests : BrowserTestC... | whiteninga/TestR | TestR/TestR.IntegrationTests/BrowserTests.cs | https://github.com/whiteninga/TestR/blob/HEAD/TestR/TestR.IntegrationTests/BrowserTests.cs | ghcode:00009:48d154c3fe4f | mit | codeparrot/github-code | 48d154c3fe4fe7a6b04d38e39ec385bbd8ce5cbf62f2ebe285b9e98d453a4199 | 0.85 | testing_debugging_repair_refactoring | 2,082 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Geocoding.Google;
using System.Linq;
namespace UnitTest
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public async void TestMethod()
{
var geoCoder = new GoogleGeocoder
{
... | carlowahlstedt/GoogleMapsGeocodePCL | src/UnitTest/UnitTest1.cs | https://github.com/carlowahlstedt/GoogleMapsGeocodePCL/blob/HEAD/src/UnitTest/UnitTest1.cs | ghcode:00009:879585e84579 | mit | codeparrot/github-code | 879585e84579d4b49c161b28fbad6d718854a4cddae73e15a151b78200c3f960 | 0.6 | testing_debugging_repair_refactoring | 274 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ServiceStack.Text;
namespace TrueVault.Net.Test
{
public sealed class TestConfig
{
static readonly TestConfig instance = new TestConfig... | hsrob/TrueVault.Net | TrueVault.Net.Test/TestConfig.cs | https://github.com/hsrob/TrueVault.Net/blob/HEAD/TrueVault.Net.Test/TestConfig.cs | ghcode:00009:20bd82a20c21 | mit | codeparrot/github-code | 20bd82a20c210e92f7fc06471c323d35f9447b90b40ed11ff7497883e3c8c3ab | 0.75 | testing_debugging_repair_refactoring | 300 | 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... | joshball/Lucene.In.Action.NET | vendor/lucene.net/test/core/Index/TestAddIndexesNoOptimize.cs | https://github.com/joshball/Lucene.In.Action.NET/blob/HEAD/vendor/lucene.net/test/core/Index/TestAddIndexesNoOptimize.cs | ghcode:00009:3f24edc87e89 | mit | codeparrot/github-code | 3f24edc87e89aecffd0a55777108e31eda500f391846558d3a1d32622d2f846d | 0.95 | testing_debugging_repair_refactoring | 4,756 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.