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 System;
using System.Collections.Generic;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using PPeX;
using PPeX.Archives;
using PPeX.Compressors;
namespace PPeXTests
{
[TestClass]
public class HybridChunkWriterTests
{
[TestMethod]
public void HybridCh... | aa2g/PPeX | PPeXTests/HybridChunkWriterTests.cs | https://github.com/aa2g/PPeX/blob/HEAD/PPeXTests/HybridChunkWriterTests.cs | ghcode:00171:e422c76dfcf4 | mit | codeparrot/github-code | e422c76dfcf45993156bf45d301119e81131421e83e55e0744e3a847000c54b5 | 0.75 | testing_debugging_repair_refactoring | 1,247 | false | 2026-07-17 |
using Aliencube.TextEncodingConverter.Configs;
using Aliencube.TextEncodingConverter.Configs.Interfaces;
using Aliencube.TextEncodingConverter.Services;
using Aliencube.TextEncodingConverter.Services.Interfaces;
using NUnit.Framework;
using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace... | aliencube/Text-Encoding-Converter | SourceCodes/99_Tests/TextEncodingConverter.Tests/ConverterServiceTest.cs | https://github.com/aliencube/Text-Encoding-Converter/blob/HEAD/SourceCodes/99_Tests/TextEncodingConverter.Tests/ConverterServiceTest.cs | ghcode:00171:6f015bba2b09 | mit | codeparrot/github-code | 6f015bba2b09bce7e1c56df7dc1b31dad49fcecce2bf8332743aa3533b7244b1 | 0.6 | testing_debugging_repair_refactoring | 538 | false | 2026-07-17 |
using DeveImageOptimizer.FileProcessing;
using DeveImageOptimizer.Helpers;
using DeveImageOptimizer.ImageOptimization;
using DeveImageOptimizer.State;
using DeveImageOptimizer.State.StoringProcessedDirectories;
using DeveImageOptimizer.Tests.TestHelpers;
using System.Collections.Generic;
using System.Diagnostics;
usin... | devedse/DeveImageOptimizer | DeveImageOptimizer.Tests/FileProcessingDirect/OptimizationLevelTests.cs | https://github.com/devedse/DeveImageOptimizer/blob/HEAD/DeveImageOptimizer.Tests/FileProcessingDirect/OptimizationLevelTests.cs | ghcode:00171:66324632350e | mit | codeparrot/github-code | 66324632350ef1e10522f63bf45288d78ca4128fbd4ec32b21d4b6c85b6c65be | 0.75 | testing_debugging_repair_refactoring | 1,005 | false | 2026-07-17 |
namespace given
{
using FluentAssertions;
using Microsoft.Web;
using Microsoft.Web.OData.Basic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
using static System.Net.HttpStatusCode;
public class _a_url_versioned_ODataController : BasicAcceptan... | joaopbnogueira/aspnet-api-versioning | test/Microsoft.AspNet.WebApi.Acceptance.Tests/OData/Basic/given/a_url_versioned_ODataController.cs | https://github.com/joaopbnogueira/aspnet-api-versioning/blob/HEAD/test/Microsoft.AspNet.WebApi.Acceptance.Tests/OData/Basic/given/a_url_versioned_ODataController.cs | ghcode:00171:1b0a5fae8ce2 | mit | codeparrot/github-code | 1b0a5fae8ce233a465d230a08dd935c816be0608605ab210ee96d2644fa745f1 | 0.7 | testing_debugging_repair_refactoring | 263 | false | 2026-07-17 |
using Opbot.Core.Tasks;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Opbot.Tests.Tasks
{
public class FtpEnumeratorTests
{
public const string FtpHost = "betclick.upload.llnw.net";
public const string... | Cybermaxs/Opbot | test/Opbot.Tests/Tasks/FtpEnumeratorTests.cs | https://github.com/Cybermaxs/Opbot/blob/HEAD/test/Opbot.Tests/Tasks/FtpEnumeratorTests.cs | ghcode:00171:1ac222a690a0 | mit | codeparrot/github-code | 1ac222a690a0fcf9cb3f684a91fe0e842539b39fe1e8f183952af9958f664368 | 0.75 | testing_debugging_repair_refactoring | 167 | false | 2026-07-17 |
using NUnit.Framework;
using DnDGen.TreasureGen.Tables;
using DnDGen.TreasureGen.Items;
namespace DnDGen.TreasureGen.Tests.Integration.Tables.Items.Magical.Wands
{
[TestFixture]
public class MinorWandsTests : PercentileTests
{
protected override string tableName
{
get { return ... | DnDGen/TreasureGen | DnDGen.TreasureGen.Tests.Integration.Tables/Items/Magical/Wands/MinorWandsTests.cs | https://github.com/DnDGen/TreasureGen/blob/HEAD/DnDGen.TreasureGen.Tests.Integration.Tables/Items/Magical/Wands/MinorWandsTests.cs | ghcode:00171:f2ce6a7c20c9 | mit | codeparrot/github-code | f2ce6a7c20c90fdac27d716940a33202d52573caba7ed8a2c98f2c6f5b8dd037 | 0.75 | testing_debugging_repair_refactoring | 771 | false | 2026-07-17 |
using ManagedDns.Internal.Extensions;
using Xunit;
namespace ManagedDns.Tests.Internals.ExtensionTests
{
public class DnsExtensions
{
[Fact]
public void ToLabelBytesTest()
{
Assert.Equal(new byte[] { 8, 99, 99, 99, 103, 45, 105, 110, 99, 3, 99, 111, 109, 0 }, "cccg-inc.com.... | tburnett80/ManagedDns | ManagedDns.Tests/Internals/ExtensionTests/DnsExtensions.cs | https://github.com/tburnett80/ManagedDns/blob/HEAD/ManagedDns.Tests/Internals/ExtensionTests/DnsExtensions.cs | ghcode:00171:9ed4f1581689 | mit | codeparrot/github-code | 9ed4f1581689e91e156e784d0664675b0b9727048c4a2392b25db7248cca4b8c | 0.6 | testing_debugging_repair_refactoring | 124 | false | 2026-07-17 |
using NUnit.Framework;
using System;
namespace BasicVector.Tests
{
[TestFixture]
public class VectorOperatorTests
{
[Test]
public void Equals()
{
Vector v1 = new Vector(10, 10);
Vector v2 = new Vector(10, 10);
Vector v3 = new Vector(10, 5);
... | styxtwo/Vector-2D | Test/VectorOperatorTests.cs | https://github.com/styxtwo/Vector-2D/blob/HEAD/Test/VectorOperatorTests.cs | ghcode:00171:5a1155e25637 | mit | codeparrot/github-code | 5a1155e25637975b4f6cf6c4bfe29eb433a38ed70a3120a92c04ef336ecffc25 | 0.75 | testing_debugging_repair_refactoring | 612 | false | 2026-07-17 |
using System;
using System.Linq;
using FluentAssertions;
using Paramore.Brighter.MessagingGateway.RMQ;
using Xunit;
namespace Paramore.Brighter.RMQ.Tests.MessagingGateway
{
[Collection("RMQ")]
[Trait("Category", "RMQ")]
public class RmqMessageConsumerMultipleTopicTests : IDisposable
{
... | BrighterCommand/Paramore.Brighter | tests/Paramore.Brighter.RMQ.Tests/MessagingGateway/When_binding_a_channel_to_multiple_topics.cs | https://github.com/BrighterCommand/Paramore.Brighter/blob/HEAD/tests/Paramore.Brighter.RMQ.Tests/MessagingGateway/When_binding_a_channel_to_multiple_topics.cs | ghcode:00171:64aac4c4ecfc | mit | codeparrot/github-code | 64aac4c4ecfc9550f62f5f0f2df888316a202b328633b1faeca98cf954a3603d | 0.85 | testing_debugging_repair_refactoring | 569 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Charlotte.Tools;
namespace Charlotte.Tests.Tools
{
public class EnumerableToolsTest
{
public void Test01()
{
//Console.WriteLine(EnumerableTools.Join("ABC").ToArray()); // ビルドエラー:そんなメソッドありません!
Console.WriteLine(Enu... | stackprobe/CSharp | Chocolate/Test01/Tests/Tools/EnumerableToolsTest.cs | https://github.com/stackprobe/CSharp/blob/HEAD/Chocolate/Test01/Tests/Tools/EnumerableToolsTest.cs | ghcode:00171:52a9bbeb1bb9 | mit | codeparrot/github-code | 52a9bbeb1bb9f13f94068fc32850ed5a8a2f0373f94657c394283c69bfb1e549 | 0.85 | testing_debugging_repair_refactoring | 270 | false | 2026-07-17 |
namespace Shopify.UIToolkit.Test.Unit {
using NUnit.Framework;
using Shopify.Tests;
using Shopify.Unity.SDK.Editor;
using Shopify.Unity.SDK;
using Shopify.Unity;
using System.Linq;
using UnityEngine;
using NSubstitute;
using UnityEngine.TestTools;
using System.Collections.Generic... | Shopify/unity-buy-sdk | Assets/Shopify/UIToolkit/Test/Unit/Editor/TestShopControllerBase.cs | https://github.com/Shopify/unity-buy-sdk/blob/HEAD/Assets/Shopify/UIToolkit/Test/Unit/Editor/TestShopControllerBase.cs | ghcode:00171:5c19d305bfe4 | mit | codeparrot/github-code | 5c19d305bfe4b2dae8e07be0f35f274466ca6163b0db075f8befc87c48b02a1a | 0.85 | testing_debugging_repair_refactoring | 1,561 | false | 2026-07-17 |
#region Copyright (c) 2004 Ian Davis and James Carlyle
/*------------------------------------------------------------------------------
COPYRIGHT AND PERMISSION NOTICE
Copyright (c) 2004 Ian Davis and James Carlyle
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software a... | iand/spiralrdf | src/SemPlan.Spiral.Tests.Utility/XmlWriterCounter.cs | https://github.com/iand/spiralrdf/blob/HEAD/src/SemPlan.Spiral.Tests.Utility/XmlWriterCounter.cs | ghcode:00171:71d525437ccf | mit | codeparrot/github-code | 71d525437ccfb2c186661950a01215e4e4d7aba460cc138e939696fa0dac3150 | 0.85 | testing_debugging_repair_refactoring | 949 | false | 2026-07-17 |
// Copyright (c) 2001-2014 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
// "as is", without warranty of any kind, either expressed or implied.
////////////////////////////////////////... | assadvirgo/Aspose_Words_NET | QA Tests/AW Tests/Examples/Document/ExInsertDocument.cs | https://github.com/assadvirgo/Aspose_Words_NET/blob/HEAD/QA Tests/AW Tests/Examples/Document/ExInsertDocument.cs | ghcode:00171:1322828ab4cd | mit | codeparrot/github-code | 1322828ab4cd5b686369946ce1f385b107984fddaf42a9dcb0859641d6f4f50f | 0.85 | testing_debugging_repair_refactoring | 2,040 | false | 2026-07-17 |
using System;
using Invio.Xunit;
using Xunit;
namespace Invio.Immutable {
[UnitTest]
public sealed class StringComparisonAttributeTests {
[Fact]
public void Constructor_UnsupportedStringComparison() {
// Arrange
var comparison = (StringComparison)99;
//... | invio/Invio.Immutable | test/Invio.Immutable.Tests/StringComparisonAttributeTests.cs | https://github.com/invio/Invio.Immutable/blob/HEAD/test/Invio.Immutable.Tests/StringComparisonAttributeTests.cs | ghcode:00171:8a2d70a6e515 | mit | codeparrot/github-code | 8a2d70a6e5153912f3aba1e9cb442aa8887d018a7d00b6f310bc52dc28a4807c | 0.85 | testing_debugging_repair_refactoring | 242 | false | 2026-07-17 |
using RichardSzalay.MockHttp;
using System.Net.Http;
namespace Mollie.Tests.Unit.Client {
public abstract class BaseClientTests {
protected MockHttpMessageHandler CreateMockHttpMessageHandler(HttpMethod httpMethod, string url, string response, string expectedPartialContent = null) {
MockHttpMe... | Viincenttt/MollieApi | Mollie.Tests.Unit/Client/BaseClientTests.cs | https://github.com/Viincenttt/MollieApi/blob/HEAD/Mollie.Tests.Unit/Client/BaseClientTests.cs | ghcode:00171:3158a2ce86a0 | mit | codeparrot/github-code | 3158a2ce86a0ab554f094eba05ac79c1f52e371d81302a675bf3d89390476a10 | 0.75 | testing_debugging_repair_refactoring | 129 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Common.Logging;
using DotNetEngine.Engine.Enums;
using DotNetEngine.Engine.Helpers;
using DotNetEngine.Engine.Objects;
namespace DotNetEngine.Engine
{
/// <summary>
/// The Chess Engin... | aaronmell/dotnetchess | DotNetEngine.Engine/Engine.cs | https://github.com/aaronmell/dotnetchess/blob/HEAD/DotNetEngine.Engine/Engine.cs | ghcode:00171:ff234d1567f8 | mit | codeparrot/github-code | ff234d1567f84b7434558b0e2ddce0fa0a72917394720025d95e90ce3985d996 | 0.85 | testing_debugging_repair_refactoring | 3,527 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTestProject1
{
[TestClass]
public class DBTest
{
private Database database;
[TestMethod]
public void CanConstructorTake16Elements()
{
int[] testArray = new[] {1, 2, 3, ... | KaloyanDragiev/OOP-C-Sharp-Advanced | UnitTesting/01-DBTest.cs | https://github.com/KaloyanDragiev/OOP-C-Sharp-Advanced/blob/HEAD/UnitTesting/01-DBTest.cs | ghcode:00171:7c3866814c1b | mit | codeparrot/github-code | 7c3866814c1b9e5f52e94fe49eeb716ff2b42448f9608bae929f6f7a60574a57 | 0.75 | testing_debugging_repair_refactoring | 417 | false | 2026-07-17 |
using DnDGen.TreasureGen.Goods;
using DnDGen.TreasureGen.Tables;
using NUnit.Framework;
namespace DnDGen.TreasureGen.Tests.Integration.Tables.Goods.Levels
{
[TestFixture]
public class Level4GoodsTests : TypeAndAmountPercentileTests
{
protected override string tableName
{
get { ... | DnDGen/TreasureGen | DnDGen.TreasureGen.Tests.Integration.Tables/Goods/Levels/Level4GoodsTests.cs | https://github.com/DnDGen/TreasureGen/blob/HEAD/DnDGen.TreasureGen.Tests.Integration.Tables/Goods/Levels/Level4GoodsTests.cs | ghcode:00171:cabf9048150f | mit | codeparrot/github-code | cabf9048150fffd92234e1e310f86be8a4e8238080cc3cdbf6551c250360bd56 | 0.75 | testing_debugging_repair_refactoring | 279 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using PSWinCom.Gateway.MMS.Client;
using System.IO;
namespace MMSClient.Test
{
[TestFixture]
public class When_composing_messages
{
[Test]
public void Can_save_to_stream_and_load_from_... | PSWinCom/PSWinComGatewayClient | net20/MMSClient/MMSClient.Test/When_composing_messages.cs | https://github.com/PSWinCom/PSWinComGatewayClient/blob/HEAD/net20/MMSClient/MMSClient.Test/When_composing_messages.cs | ghcode:00171:e5b5e3d98ad8 | mit | codeparrot/github-code | e5b5e3d98ad8821e7d7ecb5bac29a60c344c23a0d78c69b09dc544f3a9a44b9f | 0.75 | testing_debugging_repair_refactoring | 322 | false | 2026-07-17 |
// Copyright (c) 2017 Jan Pluskal
//
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in w... | nesfit/NetfoxDetective | Framework/Framework.Tests/L7ConversationTrackerTimeIntensiveTests.cs | https://github.com/nesfit/NetfoxDetective/blob/HEAD/Framework/Framework.Tests/L7ConversationTrackerTimeIntensiveTests.cs | ghcode:00171:768409e69832 | apache-2.0 | codeparrot/github-code | 768409e69832018da99e30bd78828930f542a83bd44ddfc8d8cbc04fc9378ee8 | 0.85 | testing_debugging_repair_refactoring | 12,675 | false | 2026-07-17 |
/**
* Copyright 2015 d-fens GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | dfensgmbh/biz.dfch.CS.Web.Utilities | src/biz.dfch.CS.Web.Utilities.Tests/Contracts/Endpoint/IHttpApplicationEventsTest.cs | https://github.com/dfensgmbh/biz.dfch.CS.Web.Utilities/blob/HEAD/src/biz.dfch.CS.Web.Utilities.Tests/Contracts/Endpoint/IHttpApplicationEventsTest.cs | ghcode:00171:d28619c63d02 | apache-2.0 | codeparrot/github-code | d28619c63d0247ee6b4ae66d1b0698f434573978f738ce852e36958ba50c74b7 | 0.7 | testing_debugging_repair_refactoring | 508 | false | 2026-07-17 |
// Copyright (C) 2017 MarketFactory, Inc
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | buybackoff/simple-binary-encoding | csharp/sbe-tests/SinceDeprecatedTests.cs | https://github.com/buybackoff/simple-binary-encoding/blob/HEAD/csharp/sbe-tests/SinceDeprecatedTests.cs | ghcode:00171:362db771cba1 | apache-2.0 | codeparrot/github-code | 362db771cba1902e002f3017f19b77b4491afe8199b00ca827495a1842af5ca2 | 0.85 | testing_debugging_repair_refactoring | 807 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using Roslyn... | AmadeusW/roslyn | src/Compilers/CSharp/Portable/Symbols/PointerTypeSymbol.cs | https://github.com/AmadeusW/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/PointerTypeSymbol.cs | ghcode:00171:a391c05b61f5 | apache-2.0 | codeparrot/github-code | a391c05b61f52e183fc14659f09c8719f177cfe6400d72f0ab6c05ae02068aca | 0.85 | testing_debugging_repair_refactoring | 1,799 | 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.Testing;
using Xunit;
using VerifyCS = Test.Utilities.CSharpSecurityCodeFixVerifier<
Microsoft.... | mavasani/roslyn-analyzers | src/NetAnalyzers/UnitTests/Microsoft.NetFramework.Analyzers/DoNotUseInsecureDtdProcessingUseXmlReaderForDataTableReadXmlSchemaTests.cs | https://github.com/mavasani/roslyn-analyzers/blob/HEAD/src/NetAnalyzers/UnitTests/Microsoft.NetFramework.Analyzers/DoNotUseInsecureDtdProcessingUseXmlReaderForDataTableReadXmlSchemaTests.cs | ghcode:00171:967865ba955a | apache-2.0 | codeparrot/github-code | 967865ba955a18854c44b4296b39b9ee2ba4a5cedc1a993117d87333bc428d4d | 0.85 | testing_debugging_repair_refactoring | 2,494 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SlothScript
{
/// <summary>
/// 编译结果
/// </summary>
public class CompileResult
{
/// <summary>
/// 编译是否成功
/// </summary>
public bool success = false;
/// <summar... | inspoy/SlothScript | SlothScript/Program.cs | https://github.com/inspoy/SlothScript/blob/HEAD/SlothScript/Program.cs | ghcode:00171:b83a8c89977c | apache-2.0 | codeparrot/github-code | b83a8c89977c97f869e6db64c6bd580180b487ffce244b266c9d4642a8166f9e | 0.7 | testing_debugging_repair_refactoring | 1,038 | false | 2026-07-17 |
#region copyright
// Copyright 2015 Habart Thierry
//
// 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 ... | thabart/SimpleIdentityServer | SimpleIdentityServer/tests/SimpleIdentityServer.Core.UnitTests/WebSite/Authenticate/GenerateAndSendCodeActionFixture.cs | https://github.com/thabart/SimpleIdentityServer/blob/HEAD/SimpleIdentityServer/tests/SimpleIdentityServer.Core.UnitTests/WebSite/Authenticate/GenerateAndSendCodeActionFixture.cs | ghcode:00171:a33c8096ba88 | apache-2.0 | codeparrot/github-code | a33c8096ba889d58b17eead1340a9c40a9cd2cc5a7bfd27400c4630ada8f394d | 0.95 | testing_debugging_repair_refactoring | 1,459 | false | 2026-07-17 |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
using MvcTemplate.Components.Mvc;
using MvcTemplate.Resources.Form;
using MvcTemplate.Tests.Objects;
using System;
using System.Collections.Generic;
using Xunit;
namespace MvcTemplate.T... | liyanippon/working | data/work/asp.net/MVC6.Template-develop/test/MvcTemplate.Tests/Unit/Components/Mvc/Adapters/IntegerAdapterTests.cs | https://github.com/liyanippon/working/blob/HEAD/data/work/asp.net/MVC6.Template-develop/test/MvcTemplate.Tests/Unit/Components/Mvc/Adapters/IntegerAdapterTests.cs | ghcode:00171:b3710da11a2d | apache-2.0 | codeparrot/github-code | b3710da11a2d26ff3036abe3858ec6fe108932e7d55a8aec175f2af97a33f4bf | 0.85 | testing_debugging_repair_refactoring | 308 | false | 2026-07-17 |
using System;
using System.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using Senparc.Weixin;
using Senparc.Weixin.MP.AdvancedAPIs.TemplateMessage;
using Senparc.Weixin.MP.CommonAPIs;
using Yufu.Notify.Entities;
using Yufu.Notify.Enums;
using Yufu.Notify.Services;
... | extensivewang/Yufu.Notify | Yufu.Notify.Tests/NotifyWeChatAppServiceTests.cs | https://github.com/extensivewang/Yufu.Notify/blob/HEAD/Yufu.Notify.Tests/NotifyWeChatAppServiceTests.cs | ghcode:00171:f2ee2b274c52 | apache-2.0 | codeparrot/github-code | f2ee2b274c527021d84fcc08d7f9781609a07f445e03457bbfa28ae8960fd564 | 0.85 | testing_debugging_repair_refactoring | 679 | 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 System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CS... | Hosch250/roslyn | src/EditorFeatures/CSharpTest/Diagnostics/UpgradeProject/UpgradeProjectTests.cs | https://github.com/Hosch250/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/UpgradeProject/UpgradeProjectTests.cs | ghcode:00171:0e0f170b9e56 | apache-2.0 | codeparrot/github-code | 0e0f170b9e567a0dd2fdbbd56965e2428122408841e95310e2cf3d26ba866d7c | 0.75 | testing_debugging_repair_refactoring | 3,399 | 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/TestProject1/HighLevelAPI41/_22_DigestEncryptAndDecryptDigestTest.cs | https://github.com/thearkhelist/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop/TestProject1/HighLevelAPI41/_22_DigestEncryptAndDecryptDigestTest.cs | ghcode:00171:10962a66ae55 | apache-2.0 | codeparrot/github-code | 10962a66ae552b2030ba47ebac6b3026b73a7c6d224af19d3c783f054ea4ae4a | 0.85 | testing_debugging_repair_refactoring | 763 | 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... | xasx/roslyn | src/Compilers/CSharp/Portable/Binder/Binder_Conversions.cs | https://github.com/xasx/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/Binder_Conversions.cs | ghcode:00171:1d9d35287c24 | apache-2.0 | codeparrot/github-code | 1d9d35287c243df62518d18c2ffc092e64eb13fe792e8e7c7f06d012c214df74 | 0.72 | testing_debugging_repair_refactoring | 13,505 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace Elmah.Everywhere.Appenders.Test
{
public class DetailAppenderTest
{
[Fact]
public void Name_Test()
{
// Assert
Assert.Equal("Detail Appender", new Detai... | vincoss/vinco-logging-toolkit | Source/Test/Elmah.Everywhere.Test/Everywhere/Appenders/Test/DetailAppenderTest.cs | https://github.com/vincoss/vinco-logging-toolkit/blob/HEAD/Source/Test/Elmah.Everywhere.Test/Everywhere/Appenders/Test/DetailAppenderTest.cs | ghcode:00171:dfa3ae87e0cf | apache-2.0 | codeparrot/github-code | dfa3ae87e0cfc8872dceb4a2d7e2add59d90fdaf852af8ed945f48e5b60483a1 | 0.85 | testing_debugging_repair_refactoring | 76 | false | 2026-07-17 |
using System;
using System.Management.Automation.Runspaces;
using NUnit.Framework;
using Wish.Commands;
using Wish.Commands.Runner;
using Wish.Common;
using Wish.Scripts;
namespace Wish.Module.Tests
{
[TestFixture]
public class WishModelTests
{
//private WishModel _wishModel;
//private sta... | tltjr/Wish | Wish.Module.Tests/WishModelTests.cs | https://github.com/tltjr/Wish/blob/HEAD/Wish.Module.Tests/WishModelTests.cs | ghcode:00171:816daaf093db | bsd-2-clause | codeparrot/github-code | 816daaf093dbd8dd859d716c6cd423f9e1eb105c209ed88b3a4ae9d10b161865 | 0.78 | testing_debugging_repair_refactoring | 1,136 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Autofac;
using NUnit.Framework;
using Coevery.Caching;
using Coevery.Core.Settings.Descriptor;
using Coevery.Core.Settings.Descriptor.Records;
using Coevery.Core.Settings.State;
using Coevery.Environment.Configuration;
u... | Coevery/Coevery-Framework | src/Coevery.Tests/Environment/Features/FeatureManagerTests.cs | https://github.com/Coevery/Coevery-Framework/blob/HEAD/src/Coevery.Tests/Environment/Features/FeatureManagerTests.cs | ghcode:00171:15c31d60daa5 | bsd-3-clause | codeparrot/github-code | 15c31d60daa5c442a1820fa23b6fc518f9e1bc0e9445da56ff1557c97ad6223e | 0.85 | testing_debugging_repair_refactoring | 1,489 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Azure.AI.FormRecognizer.Tests
{
/// <summary>
/// A static class that lumps together the filenames of all forms to be used for tests.
/// A single constant string must be added to this class for each ... | brjohnstmsft/azure-sdk-for-net | sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/TestFile.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/TestFile.cs | ghcode:00171:1be6a420c885 | mit | codeparrot/github-code | 1be6a420c8859fcaf599d701fe5b01f71908f0bb989bf1ab1d03b4e24aff098d | 0.95 | testing_debugging_repair_refactoring | 449 | 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 DataFactory.Tests.Utils;
using Microsoft.Azure.Management.DataFactory;
using Microsoft.Azure.Management.DataFactory.Models;
using Microsoft.Rest.Azure;
... | jackmagic313/azure-sdk-for-net | sdk/datafactory/Microsoft.Azure.Management.DataFactory/tests/UnitTests/ExamplesUnitTest.cs | https://github.com/jackmagic313/azure-sdk-for-net/blob/HEAD/sdk/datafactory/Microsoft.Azure.Management.DataFactory/tests/UnitTests/ExamplesUnitTest.cs | ghcode:00171:4766e2145592 | mit | codeparrot/github-code | 4766e214559225a5975927bfd28664de641f399351525c00f2892cd0b2629f53 | 0.95 | testing_debugging_repair_refactoring | 7,636 | false | 2026-07-17 |
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace applicationGateway
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Threading;
using System.Threading.Ta... | ljhljh235/AutoRest | Samples/test/end-to-end/network/Client/ExpressRouteServiceProvidersOperationsExtensions.cs | https://github.com/ljhljh235/AutoRest/blob/HEAD/Samples/test/end-to-end/network/Client/ExpressRouteServiceProvidersOperationsExtensions.cs | ghcode:00171:6a4ff669664a | mit | codeparrot/github-code | 6a4ff669664a75c36a0f4d38a97cbecafc25eff743082f8df12e7e21b8b6a6bf | 0.95 | testing_debugging_repair_refactoring | 601 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using DD.CBU.Compute.Api.Client;
using DD.CBU.Compute.Api.Client.Server20;
using DD.CBU.Compute.Api.Contracts.Network20;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Compute.Client.UnitTests.Server20
{
[TestClass]
public class MonitoringAccessorTests : Ba... | samuelchong/Compute.Api.Client | ComputeClient/Compute.Client.UnitTests/Server20/MonitoringAccessorTests.cs | https://github.com/samuelchong/Compute.Api.Client/blob/HEAD/ComputeClient/Compute.Client.UnitTests/Server20/MonitoringAccessorTests.cs | ghcode:00171:e800a314d86e | mit | codeparrot/github-code | e800a314d86e595899e3b243ec79a57ec9384fb570c71b67000889f5cb585886 | 0.75 | testing_debugging_repair_refactoring | 620 | false | 2026-07-17 |
// Copyright (c) 2021 .NET Foundation and Contributors. All rights reserved.
// 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 full license information.
using System.IO;
using System.... | akavache/Akavache | src/Akavache.Tests/SqliteBlobCacheBulkOperationsTests.cs | https://github.com/akavache/Akavache/blob/HEAD/src/Akavache.Tests/SqliteBlobCacheBulkOperationsTests.cs | ghcode:00171:762a406ed935 | mit | codeparrot/github-code | 762a406ed93569a1f2bd1b625ad457d74f1316d99fa5a249787dd2f9b20c7dd4 | 0.85 | testing_debugging_repair_refactoring | 180 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Zombus.IntegrationTests.Extensions;
using NUnit.Framework;
using Shouldly;
using Zombus.IntegrationTests.Tests.AbstractBaseTypeMessageTests.MessageContracts;
using Zombus.Tests.Common;
namespace Zombus.IntegrationTests.Tests.AbstractBaseTypeMessageT... | Royal-Jay/Zombus | src/Tests/Zombus.IntegrationTests/Tests/AbstractBaseTypeMessageTests/WhenSendingACommandThatHasAnAbstractBaseType.cs | https://github.com/Royal-Jay/Zombus/blob/HEAD/src/Tests/Zombus.IntegrationTests/Tests/AbstractBaseTypeMessageTests/WhenSendingACommandThatHasAnAbstractBaseType.cs | ghcode:00171:7d2c9dda9c49 | mit | codeparrot/github-code | 7d2c9dda9c4925bb6cdb73349722c327194b008e84d7ae2c15620563579e786c | 0.85 | testing_debugging_repair_refactoring | 235 | 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.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.CShar... | abock/roslyn | src/Compilers/CSharp/Portable/Binder/Binder_Initializers.cs | https://github.com/abock/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/Binder_Initializers.cs | ghcode:00171:622a28f40d3a | mit | codeparrot/github-code | 622a28f40d3ad61fe3f77c8437c7f017008516e9beff3503014e0994dc7daa4f | 0.85 | testing_debugging_repair_refactoring | 2,298 | false | 2026-07-17 |
using Zombus.MessageContracts;
namespace Zombus.IntegrationTests.Tests.InterceptorTests.MessageContracts
{
public class FooCommand : IBusCommand
{
}
} | MikeLarned/Zombus | src/Tests/Zombus.IntegrationTests/Tests/InterceptorTests/MessageContracts/FooCommand.cs | https://github.com/MikeLarned/Zombus/blob/HEAD/src/Tests/Zombus.IntegrationTests/Tests/InterceptorTests/MessageContracts/FooCommand.cs | ghcode:00171:ec0ea893f085 | mit | codeparrot/github-code | ec0ea893f085de4906b5cfb14b968af7a29dd90328d78b9b5f14b12d65b96612 | 0.6 | testing_debugging_repair_refactoring | 37 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Bumblebee.Setup;
using Bumblebee.Setup.DriverEnvironments;
using FluentAssertions;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.PhantomJ... | qchicoq/Bumblebee | src/Bumblebee.IntegrationTests/Setup/DriverEnvironmentTests.cs | https://github.com/qchicoq/Bumblebee/blob/HEAD/src/Bumblebee.IntegrationTests/Setup/DriverEnvironmentTests.cs | ghcode:00171:a7ec5854109e | mit | codeparrot/github-code | a7ec5854109eb4e4bfef1a4cf814ca4f6b91d93f5a7ff5b67bf00888abba2855 | 0.75 | testing_debugging_repair_refactoring | 505 | false | 2026-07-17 |
using ExtendedXmlSerializer.Configuration;
using ExtendedXmlSerializer.Tests.ReportedIssues.Support;
using FluentAssertions;
using JetBrains.Annotations;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace ExtendedXmlSerializer.Tests.ReportedIssues
{
public sealed class Issue205Tests
{
[Fa... | Mike-EEE/ExtendedXmlSerializer | test/ExtendedXmlSerializer.Tests.ReportedIssues/Issue205Tests.cs | https://github.com/Mike-EEE/ExtendedXmlSerializer/blob/HEAD/test/ExtendedXmlSerializer.Tests.ReportedIssues/Issue205Tests.cs | ghcode:00171:8e92f4993212 | mit | codeparrot/github-code | 8e92f4993212a30cd4272ee29bb6604901616751b7f17ee06c1e3af26cb53e99 | 0.75 | testing_debugging_repair_refactoring | 345 | false | 2026-07-17 |
using Bender.NamingConventions;
using NUnit.Framework;
using Should;
namespace Tests.NamingConventions
{
[TestFixture]
public class NamingConventionsTests
{
private static NamingConventions<int> GetConventions()
{
return new NamingConventions<int>(x => x.ToString());... | mikeobrien/Bender | src/Tests/NamingConventions/NamingConventionsTests.cs | https://github.com/mikeobrien/Bender/blob/HEAD/src/Tests/NamingConventions/NamingConventionsTests.cs | ghcode:00171:feb80d2a809f | mit | codeparrot/github-code | feb80d2a809f0ec60839aeb9fbc79a9937d261aa4e3b7aeb3d660db08de3ce41 | 0.85 | testing_debugging_repair_refactoring | 659 | false | 2026-07-17 |
using Xunit;
namespace TrackableData.PostgreSql.Tests
{
public class TrackablePocoTest : SqlTestKits.TrackablePocoTest, IClassFixture<Database>
{
public TrackablePocoTest(Database db)
: base(db, Database.SqlProvider)
{
}
}
public class TrackablePocoWithAutoIdTest :... | SaladbowlCreative/TrackableData | plugins/TrackableData.PostgreSql.Tests/SqlTestKitsTests.cs | https://github.com/SaladbowlCreative/TrackableData/blob/HEAD/plugins/TrackableData.PostgreSql.Tests/SqlTestKitsTests.cs | ghcode:00171:d5da7fa48f00 | mit | codeparrot/github-code | d5da7fa48f00a076d437512306c895fc80ace2e50a1cbedf09689f7ebcb33533 | 0.75 | testing_debugging_repair_refactoring | 653 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2014-2017, Institute for Software & Systems Engineering
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including wi... | maul-esel/ssharp | SafetySharpTests/FaultActivation/StateGraph/undone fault activation not observable enum.cs | https://github.com/maul-esel/ssharp/blob/HEAD/SafetySharpTests/FaultActivation/StateGraph/undone fault activation not observable enum.cs | ghcode:00171:83a6dcb9cf02 | mit | codeparrot/github-code | 83a6dcb9cf0277f0ec5342205d732c44b16b421d9c2545b7196e6ce3f2a07f86 | 0.85 | testing_debugging_repair_refactoring | 581 | false | 2026-07-17 |
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Class: Hashtable
**
**
** Purpose: Hash table implementation
**
**
===========================================================*/
namespace System.Collections
{
... | jkotas/llilum | Zelig/Zelig/RunTime/Framework/mscorlib/System/Collections/Hashtable.cs | https://github.com/jkotas/llilum/blob/HEAD/Zelig/Zelig/RunTime/Framework/mscorlib/System/Collections/Hashtable.cs | ghcode:00171:2c823907ae15 | mit | codeparrot/github-code | 2c823907ae15847113b4cd67f0b28aa50383a182150291a6ac24a0795b37381b | 0.72 | testing_debugging_repair_refactoring | 14,880 | false | 2026-07-17 |
#region license
// Copyright (c) 2007-2010 Mauricio Scheffer
//
// 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 requir... | mausch/SolrNet | SolrNet.Tests/RandomSortTests.cs | https://github.com/mausch/SolrNet/blob/HEAD/SolrNet.Tests/RandomSortTests.cs | ghcode:00171:8732b88c5fc7 | apache-2.0 | codeparrot/github-code | 8732b88c5fc78a096a2efb858542881c32aef35d080ea27fdfda70962ada4a7c | 0.85 | testing_debugging_repair_refactoring | 440 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using Fake;
using Machine.Specifications;
using Microsoft.FSharp.Core;
namespace Test.FAKECore
{
public class when_accessing_internals
{
It should_have_access_to_FAKE_internals =
() => AssemblyInfoFile.getDependencies(new List... | RMCKirby/FAKE | src/test/Test.FAKECore/AssemblyInfoSpecs.cs | https://github.com/RMCKirby/FAKE/blob/HEAD/src/test/Test.FAKECore/AssemblyInfoSpecs.cs | ghcode:00171:6f93a3367657 | apache-2.0 | codeparrot/github-code | 6f93a33676577a81691f53ba88ad551b3cefb422c779621e431e598aae6f57eb | 0.95 | testing_debugging_repair_refactoring | 2,825 | false | 2026-07-17 |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using Microsoft.WindowsAzure.MobileServices.TestF... | MatkovIvan/azure-mobile-apps-net-client | unittest/Microsoft.WindowsAzure.MobileServices.Test/UnitTests/MobileServiceUrlBuilder.Test.cs | https://github.com/MatkovIvan/azure-mobile-apps-net-client/blob/HEAD/unittest/Microsoft.WindowsAzure.MobileServices.Test/UnitTests/MobileServiceUrlBuilder.Test.cs | ghcode:00171:e4b7634fae92 | apache-2.0 | codeparrot/github-code | e4b7634fae92c978cd341c29b91c18065c92b90bea634e9df860710cce9679cb | 0.85 | testing_debugging_repair_refactoring | 559 | false | 2026-07-17 |
using NUnit.Framework;
using Sitecore.SecurityModel;
namespace Glass.Mapper.Sc.FakeDb.DataMappers
{
public class AbstractMapperFixture
{
[SetUp]
public void Setup()
{
new SecurityDisabler();
}
}
}
| RvanDalen/Glass.Mapper | Tests/Unit Tests/Glass.Mapper.Sc.FakeDb/DataMappers/AbstractMapperFixture.cs | https://github.com/RvanDalen/Glass.Mapper/blob/HEAD/Tests/Unit Tests/Glass.Mapper.Sc.FakeDb/DataMappers/AbstractMapperFixture.cs | ghcode:00171:8a2e755dce9d | apache-2.0 | codeparrot/github-code | 8a2e755dce9d4563a9938102e4c10026a801b095a2cedc83af0cd49544321a48 | 0.6 | testing_debugging_repair_refactoring | 53 | false | 2026-07-17 |
// FieldSymbol.cs
// Script#/Core/Compiler
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Diagnostics;
using System.Text;
namespace ScriptSharp.ScriptModel {
internal sealed class EventSymbol : CodeMemberSymbol {
private strin... | nikhilk/scriptsharp | src/Core/Compiler/ScriptModel/Symbols/EventSymbol.cs | https://github.com/nikhilk/scriptsharp/blob/HEAD/src/Core/Compiler/ScriptModel/Symbols/EventSymbol.cs | ghcode:00171:2684a7cad12d | apache-2.0 | codeparrot/github-code | 2684a7cad12d4fc6ea690408fabcfe10491e9663d5623df464e44f0e48ca04db | 0.7 | testing_debugging_repair_refactoring | 525 | false | 2026-07-17 |
// Copyright 2008-2009 Louis DeJardin - http://whereslou.com
//
// 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... | SparkViewEngine/spark | src/Spark.Tests/SparkBatchDescriptorTester.cs | https://github.com/SparkViewEngine/spark/blob/HEAD/src/Spark.Tests/SparkBatchDescriptorTester.cs | ghcode:00171:c55767705d28 | apache-2.0 | codeparrot/github-code | c55767705d28995e9ca26772162db919bd121da70aa017069c0adad71258c297 | 0.85 | testing_debugging_repair_refactoring | 590 | false | 2026-07-17 |
using System.Linq;
using EventStore.Core.Data;
using NUnit.Framework;
namespace EventStore.Core.Tests.TransactionLog.Truncation
{
[TestFixture]
public class when_truncating_single_uncompleted_chunk_with_index_in_memory_and_then_reopening_db : TruncateAndReOpenDbScenario
{
private EventRecord _even... | msbahrul/EventStore | src/EventStore/EventStore.Core.Tests/TransactionLog/Truncation/when_truncating_single_uncompleted_chunk_with_index_in_memory_and_then_reopening_db.cs | https://github.com/msbahrul/EventStore/blob/HEAD/src/EventStore/EventStore.Core.Tests/TransactionLog/Truncation/when_truncating_single_uncompleted_chunk_with_index_in_memory_and_then_reopening_db.cs | ghcode:00171:98790d997c48 | bsd-3-clause | codeparrot/github-code | 98790d997c4898803ed574726c3b151292cf4271a30aff357cf6fb39eacc4a67 | 0.75 | testing_debugging_repair_refactoring | 794 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using AutoFixture.Kernel;
using AutoFixtureUnitTest.Kernel;
using Xunit;
namespace AutoFixtureUnitTest
{
public class RecursionGuardTest
{
[Fact]
public void SutIsSpecimenBuilder()
{
... | Pvlerick/AutoFixture | Src/AutoFixtureUnitTest/RecursionGuardTest.cs | https://github.com/Pvlerick/AutoFixture/blob/HEAD/Src/AutoFixtureUnitTest/RecursionGuardTest.cs | ghcode:00171:453eda46c983 | mit | codeparrot/github-code | 453eda46c9830c59381c5db7010ae300d45cd039dedca99997e2e6708caed1ef | 0.85 | testing_debugging_repair_refactoring | 4,731 | false | 2026-07-17 |
namespace FakeItEasy.Specs
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using FakeItEasy.Creation;
using FakeItEasy.Tests.TestHelpers;
using FluentAssertions;
... | blairconrad/FakeItEasy | tests/FakeItEasy.Specs/CreationOptionsSpecs.cs | https://github.com/blairconrad/FakeItEasy/blob/HEAD/tests/FakeItEasy.Specs/CreationOptionsSpecs.cs | ghcode:00171:01d775be71a6 | mit | codeparrot/github-code | 01d775be71a643ea386b975fe5322a39f617f47d9555998a42c9df328e7bb882 | 0.75 | testing_debugging_repair_refactoring | 7,897 | 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... | jameschch/Lean | Tests/Common/ExchangeTest.cs | https://github.com/jameschch/Lean/blob/HEAD/Tests/Common/ExchangeTest.cs | ghcode:00171:7e02d1202265 | apache-2.0 | codeparrot/github-code | 7e02d1202265cb5e0072c7e6cfdfc5078edcdf352cd256bd13aced57c809790d | 0.85 | testing_debugging_repair_refactoring | 1,568 | false | 2026-07-17 |
// ****************************************************************
// This is free software licensed under the NUnit license. You
// may obtain a copy of the license as well as information regarding
// copyright ownership at http://nunit.org/?p=license&r=2.4.
// ****************************************************... | vimaier/conqat | org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/NUnitCore/interfaces/TestResult.cs | https://github.com/vimaier/conqat/blob/HEAD/org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/NUnitCore/interfaces/TestResult.cs | ghcode:00171:91596a1cb717 | apache-2.0 | codeparrot/github-code | 91596a1cb71798d83b5053bb43d3538c83ffe1fff85a5897f06bf07d813b2cc7 | 0.85 | testing_debugging_repair_refactoring | 2,773 | 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.Completion.Providers;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Completion.Providers;
using Micro... | akoeplinger/roslyn | src/EditorFeatures/CSharpTest/Completion/CompletionProviders/SymbolCompletionProviderTests.cs | https://github.com/akoeplinger/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Completion/CompletionProviders/SymbolCompletionProviderTests.cs | ghcode:00171:f8a81d8455b6 | apache-2.0 | codeparrot/github-code | f8a81d8455b6773a3077de542ddb68d1ca010b3ef78909de7077fe8afb0fe892 | 0.65 | testing_debugging_repair_refactoring | 48,978 | false | 2026-07-17 |
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,... | nareshjo/nodejstools | Nodejs/Product/TestAdapter/TestDiscoverer.cs | https://github.com/nareshjo/nodejstools/blob/HEAD/Nodejs/Product/TestAdapter/TestDiscoverer.cs | ghcode:00171:f599e643dab8 | apache-2.0 | codeparrot/github-code | f599e643dab8f5b91a4593f7a34324ec3c98c6716cada9bdbb5cbca6630f12c8 | 0.85 | 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.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Reflection.Metadata;
using Microsoft.CodeAnalysi... | ljw1004/roslyn | src/Compilers/CSharp/Portable/CodeGen/CodeGenerator.cs | https://github.com/ljw1004/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/CodeGen/CodeGenerator.cs | ghcode:00171:da4a05c0a9f7 | apache-2.0 | codeparrot/github-code | da4a05c0a9f79512abe4a007babd32e996ebee71232248dbfabf95a895c610bf | 0.85 | testing_debugging_repair_refactoring | 3,024 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Toggl.Phoebe.Data.Models;
namespace Toggl.Phoebe.Tests.Data.Models
{
[TestFixture]
public class WorkspaceModelTest : ModelTest<WorkspaceModel>
{
}
}
| ZhangLeiCharles/mobile | Tests/Data/Models/WorkspaceModelTest.cs | https://github.com/ZhangLeiCharles/mobile/blob/HEAD/Tests/Data/Models/WorkspaceModelTest.cs | ghcode:00171:f51ece413863 | bsd-3-clause | codeparrot/github-code | f51ece413863055c28a64a7b2c527f421d75baa645c021a7ce6a2cb16ccf405d | 0.6 | testing_debugging_repair_refactoring | 51 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2009 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, inclu... | Suremaker/nunit | src/NUnitFramework/framework/SpecialValue.cs | https://github.com/Suremaker/nunit/blob/HEAD/src/NUnitFramework/framework/SpecialValue.cs | ghcode:00171:5519d63dad66 | mit | codeparrot/github-code | 5519d63dad66dab1b2b50b9803a7bfbee182fe9ee9753d4613bdb2c4f26db040 | 0.85 | testing_debugging_repair_refactoring | 340 | false | 2026-07-17 |
using CSharpVerbalExpressions;
using NUnit.Framework;
using System.Text.RegularExpressions;
namespace VerbalExpressionsUnitTests
{
[TestFixture]
public class StartOfLineTests
{
[Test]
public void StartOfLine_CreatesCorrectRegex()
{
var verbEx = VerbalExpressions.Defaul... | fenyopeti/CSharpVerbalExpressions | VerbalExpressionsUnitTests/StartOfLineTests.cs | https://github.com/fenyopeti/CSharpVerbalExpressions/blob/HEAD/VerbalExpressionsUnitTests/StartOfLineTests.cs | ghcode:00171:e3d69233d8c1 | mit | codeparrot/github-code | e3d69233d8c1e1f2bbc2b87b615bda2ee293900618d82f81545b6195accf5fc2 | 0.75 | testing_debugging_repair_refactoring | 355 | false | 2026-07-17 |
using System;
using Should;
using Xunit;
namespace AutoMapper.UnitTests.BeforeAfterMapping
{
using Bug;
public class When_configuring_before_and_after_methods
{
public class Source
{
}
public class Destination
{
}
[Fact]
pu... | jbogard/AutoMapper | src/UnitTests/BeforeAfterMapping.cs | https://github.com/jbogard/AutoMapper/blob/HEAD/src/UnitTests/BeforeAfterMapping.cs | ghcode:00171:6fd8025132b9 | mit | codeparrot/github-code | 6fd8025132b9b823b247decda0959a0ef2ce6df84e131accf8c32c658c337342 | 0.75 | testing_debugging_repair_refactoring | 1,095 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.EmbeddedLanguages.VirtualChars;
namespace Microsoft.CodeAnalysis.... | DustinCampbell/roslyn | src/Workspaces/Core/Portable/EmbeddedLanguages/Common/EmbeddedSyntaxTrivia.cs | https://github.com/DustinCampbell/roslyn/blob/HEAD/src/Workspaces/Core/Portable/EmbeddedLanguages/Common/EmbeddedSyntaxTrivia.cs | ghcode:00171:efed1517392d | apache-2.0 | codeparrot/github-code | efed1517392dba1db5ab1e8f89490011262d35fca4d4f69ef7fb65feb8ee257f | 0.85 | testing_debugging_repair_refactoring | 269 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | AzureAutomationTeam/azure-powershell | src/ResourceManager/MachineLearning/Commands.MachineLearning.Test/ScenarioTests/CommitmentPlanTests.cs | https://github.com/AzureAutomationTeam/azure-powershell/blob/HEAD/src/ResourceManager/MachineLearning/Commands.MachineLearning.Test/ScenarioTests/CommitmentPlanTests.cs | ghcode:00171:8a8ade16a823 | apache-2.0 | codeparrot/github-code | 8a8ade16a823ebc291a4683cc319901b7b8c9ad56cbdd1e082dcade69375ca8d | 0.85 | testing_debugging_repair_refactoring | 450 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.IO;
using System.Text.Json;
using Azure.Core;
using Azure.Search.Documents.Indexes.Models;
using NUnit.Framework;
namespace Azure.Search.Documents.Tests.Models
{
public class LuceneStandardTokenizerTests
... | ayeletshpigelman/azure-sdk-for-net | sdk/search/Azure.Search.Documents/tests/Models/LuceneStandardTokenizerTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/search/Azure.Search.Documents/tests/Models/LuceneStandardTokenizerTests.cs | ghcode:00171:a8f141030621 | mit | codeparrot/github-code | a8f141030621c6175e98fa806e081c029738461791e1b1b6137aafee954cc287 | 0.85 | testing_debugging_repair_refactoring | 361 | false | 2026-07-17 |
//
// Copyright (c) Microsoft. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... | AuxMon/azure-sdk-for-net | src/ResourceManagement/ApiManagement/ApiManagement.Tests/ScenarioTests/SmapiTests/SmapiFunctionalTests.Loggers.cs | https://github.com/AuxMon/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/ApiManagement/ApiManagement.Tests/ScenarioTests/SmapiTests/SmapiFunctionalTests.Loggers.cs | ghcode:00171:632e463004b7 | apache-2.0 | codeparrot/github-code | 632e463004b7de6e77e7925c843c1a03ea57379d976ae4c067ad5051c9f8cb3c | 0.85 | testing_debugging_repair_refactoring | 937 | false | 2026-07-17 |
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... | brjohnstmsft/azure-sdk-for-net | sdk/batch/Microsoft.Azure.Batch.Conventions.Files/tests/UnitTests/CloudJobExtensionsUnitTests.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/batch/Microsoft.Azure.Batch.Conventions.Files/tests/UnitTests/CloudJobExtensionsUnitTests.cs | ghcode:00171:497dfa958ba9 | mit | codeparrot/github-code | 497dfa958ba937f2063f07c8df73c0eb76b3c479f1ac0d815080e52ce262ec09 | 0.95 | testing_debugging_repair_refactoring | 1,302 | 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... | NSAmelchev/ignite | modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client/Cluster/ClientClusterNode.cs | https://github.com/NSAmelchev/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client/Cluster/ClientClusterNode.cs | ghcode:00171:edf650d9ef51 | apache-2.0 | codeparrot/github-code | edf650d9ef51439026e9d1051b20fa7875ea7d22689a4e6e46e96ea6eb40716e | 0.85 | testing_debugging_repair_refactoring | 965 | 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... | antonba/azure-sdk-tools | WindowsAzurePowershell/src/Management.Test.Utilities/Websites/SimpleDeploymentServiceManagement.cs | https://github.com/antonba/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.Test.Utilities/Websites/SimpleDeploymentServiceManagement.cs | ghcode:00171:db865d3e7b6e | apache-2.0 | codeparrot/github-code | db865d3e7b6e56a53b30d1f03236acd9fb2559278819c389a751bad414c5796c | 0.95 | testing_debugging_repair_refactoring | 1,475 | false | 2026-07-17 |
using System.IO;
using System.Text;
using System.Xml.Schema;
using System.Xml.XPath;
using System.Diagnostics;
using System.Globalization;
using System.Collections;
using System.Security.Policy;
using System.Threading.Tasks;
namespace System.Xml {
internal partial class XsdCachingReader : XmlReader, IXmlLineInf... | sekcheong/referencesource | System.Xml/System/Xml/Core/XsdCachingReaderAsync.cs | https://github.com/sekcheong/referencesource/blob/HEAD/System.Xml/System/Xml/Core/XsdCachingReaderAsync.cs | ghcode:00171:2a58b73f94b2 | mit | codeparrot/github-code | 2a58b73f94b206f13d679220d3ffe6110f89cb6f8f8ae04d33c3403eb6071991 | 0.7 | testing_debugging_repair_refactoring | 919 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.ComponentModel.Tests
{
public class InstallerT... | Jiayili1/corefx | src/System.ComponentModel.TypeConverter/tests/InstallerTypeAttributeTests.cs | https://github.com/Jiayili1/corefx/blob/HEAD/src/System.ComponentModel.TypeConverter/tests/InstallerTypeAttributeTests.cs | ghcode:00171:c065958aac2a | mit | codeparrot/github-code | c065958aac2a50869ad7c505e5244bfba7d250e626b1a4449ddb13e20ef68c08 | 0.95 | testing_debugging_repair_refactoring | 569 | 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 Xunit;
namespace DataLakeStore.Tests
{
/// <summary>
/// Helpful additions to the NUnit Assert class.
/// </summary>
internal static class... | SiddharthChatrolaMs/azure-sdk-for-net | src/SDKs/DataLake.Store/DataLakeStore.Tests/DataTransferTests/AssertExtensions.cs | https://github.com/SiddharthChatrolaMs/azure-sdk-for-net/blob/HEAD/src/SDKs/DataLake.Store/DataLakeStore.Tests/DataTransferTests/AssertExtensions.cs | ghcode:00171:00a61d1ee6c2 | apache-2.0 | codeparrot/github-code | 00a61d1ee6c2fef65778f5921465ff79534b252b9ffaa8d79c02c60835a089f5 | 0.85 | testing_debugging_repair_refactoring | 270 | 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.Uni... | MatthieuMEZIL/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/ExternKeywordRecommenderTests.cs | https://github.com/MatthieuMEZIL/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/ExternKeywordRecommenderTests.cs | ghcode:00171:0821b4ee9d19 | apache-2.0 | codeparrot/github-code | 0821b4ee9d199d7c667ea5331df80e72c80d759506c448cf2f49ada256a08779 | 0.75 | testing_debugging_repair_refactoring | 1,209 | 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.Xml;
using Xunit.Abstractions;
usin... | krk/coreclr | tests/src/readytorun/r2rdump/TestHelpers.cs | https://github.com/krk/coreclr/blob/HEAD/tests/src/readytorun/r2rdump/TestHelpers.cs | ghcode:00171:5b25203f1961 | mit | codeparrot/github-code | 5b25203f19614286a1d95b3c0fe2c3ac2a5e3b78e61114ed26cb8bff83f327bb | 0.95 | testing_debugging_repair_refactoring | 817 | 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.Xml;
using Microsoft.Xunit.Performance;
namespace XmlDocumentTests.XmlNodeListTests
{
... | iamjasonp/corefx | src/System.Xml.XmlDocument/tests/Performance/Perf.XmlNodeList.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Xml.XmlDocument/tests/Performance/Perf.XmlNodeList.cs | ghcode:00171:3ceb6b23daec | mit | codeparrot/github-code | 3ceb6b23daec096482b1ed068f5d7d136463e7081e7a6b1bd1d0b45b7b715b06 | 0.95 | testing_debugging_repair_refactoring | 363 | 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.Xml.Tests
{
public class TimeSpanAttributeTests
{
[Fact]
publ... | kkurni/corefx | src/System.Xml.ReaderWriter/tests/XmlReader/ReadContentAs/ReadAsTimeSpanAttributeTests.cs | https://github.com/kkurni/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/XmlReader/ReadContentAs/ReadAsTimeSpanAttributeTests.cs | ghcode:00171:b38c813b4277 | mit | codeparrot/github-code | b38c813b42776275fcf9a470a0f273f4ff91de2995d61f757c8c36a42ba3d4e5 | 0.95 | testing_debugging_repair_refactoring | 141 | false | 2026-07-17 |
using Sniper.Common;
using Sniper.Http;
using Sniper.TargetProcess.Routes;
using Xunit;
namespace Sniper.Tests.CRUD.Read.Common.Assignments
{
public class ReadAssignmentTests
{
[Fact]
public void AssignmentThrowsError()
{
var client = new TargetProcessClient
... | bluetread/sniper | Sniper.Tests/CRUD/Read/Common/Assignments/ReadAssignmentTests.cs | https://github.com/bluetread/sniper/blob/HEAD/Sniper.Tests/CRUD/Read/Common/Assignments/ReadAssignmentTests.cs | ghcode:00171:55393c579903 | mit | codeparrot/github-code | 55393c5799038e68f96efebcaef19801e66f6c424747ac6c7230b042e7dcd46b | 0.75 | testing_debugging_repair_refactoring | 108 | false | 2026-07-17 |
using System;
using Microsoft.Extensions.Logging.Abstractions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MigrationTools._EngineV1.Configuration;
namespace _VstsSyncMigrator.Engine.Tests
{
[TestClass]
public class EngineConfigurationTests
{
[TestMethod, TestCategory("L1")]
p... | nkdAgility/vsts-sync-migration | src/VstsSyncMigrator.Core.Tests/EngineConfigurationTests.cs | https://github.com/nkdAgility/vsts-sync-migration/blob/HEAD/src/VstsSyncMigrator.Core.Tests/EngineConfigurationTests.cs | ghcode:00171:dce0adbd9fe7 | mit | codeparrot/github-code | dce0adbd9fe772806bb94257f616cff6786020073036b974975a530098f35988 | 0.85 | testing_debugging_repair_refactoring | 311 | false | 2026-07-17 |
namespace Microsoft.AspNetCore.Mvc.Versioning
{
using Extensions.Primitives;
using FluentAssertions;
using Http;
using Moq;
using System;
using Xunit;
public class QueryStringOrHeaderApiVersionReaderTest
{
[Theory]
[InlineData( "api-version", "2.1" )]
[InlineDat... | joaopbnogueira/aspnet-api-versioning | test/Microsoft.AspNetCore.Mvc.Versioning.Tests/Versioning/QueryStringOrHeaderApiVersionReaderTest.cs | https://github.com/joaopbnogueira/aspnet-api-versioning/blob/HEAD/test/Microsoft.AspNetCore.Mvc.Versioning.Tests/Versioning/QueryStringOrHeaderApiVersionReaderTest.cs | ghcode:00171:d6f4ec3b7d0d | mit | codeparrot/github-code | d6f4ec3b7d0d668974080090b0ccf38b407815e0343912cb1fdf69e0fe6eba7f | 0.7 | testing_debugging_repair_refactoring | 619 | 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.
//-----------------------------------------------------------------------
// </copyright>
// <summary>Test that we can retrieve the list of SDKs and output them to the ... | yazeng/msbuild | src/XMakeTasks/UnitTests/GetInstalledSDKLocations_Tests.cs | https://github.com/yazeng/msbuild/blob/HEAD/src/XMakeTasks/UnitTests/GetInstalledSDKLocations_Tests.cs | ghcode:00171:394fa4a11d0f | mit | codeparrot/github-code | 394fa4a11d0fdd739dd2ad24167ba5803d4efa524c99e6bf737fdeb0697bfd56 | 0.85 | testing_debugging_repair_refactoring | 3,873 | false | 2026-07-17 |
using FluentAssertions;
using Xunit;
namespace SoftwarePassion.LogBridge.EnterpriseLibrary.Tests.Unit.EnterpriseLibraryWrapperTests
{
public class When_logging_information_messages : SoftwarePassion.LogBridge.Tests.Shared.When_logging_information_messages
{
public When_logging_information_messa... | TorbenRahbekKoch/LogBridge | Source/LogBridge.EnterpriseLibrary.Tests.Unit/EnterpriseLibraryWrapperTests/When_logging_information_messages.cs | https://github.com/TorbenRahbekKoch/LogBridge/blob/HEAD/Source/LogBridge.EnterpriseLibrary.Tests.Unit/EnterpriseLibraryWrapperTests/When_logging_information_messages.cs | ghcode:00171:1e880215e912 | mit | codeparrot/github-code | 1e880215e91264f32ef816dc2775fc4e27ab36044669b3daa7bded9b2d3235f6 | 0.75 | testing_debugging_repair_refactoring | 97 | false | 2026-07-17 |
using System.Linq;
using Moq;
using NUnit.Framework;
using WinBlocks.Game;
using WinBlocks.Game.BlockSelection;
using WinBlocks.Game.Input;
using WinBlocks.Game.Model;
namespace WinBlocks.Tests.Game
{
/// <summary>
/// Use C's in the matrix here to set the current piece.
/// </summary>
[TestFixture]
... | davidwhitney/GamePorts | Tetris/WinForms/WinBlocks/WinBlocks.Tests/Game/TetrisTests.cs | https://github.com/davidwhitney/GamePorts/blob/HEAD/Tetris/WinForms/WinBlocks/WinBlocks.Tests/Game/TetrisTests.cs | ghcode:00171:9506b251a61d | mit | codeparrot/github-code | 9506b251a61d75614706cafa847d402eab684ed1a2feec79c64f437d3bd3b1f9 | 0.85 | testing_debugging_repair_refactoring | 1,045 | false | 2026-07-17 |
// <copyright file="DataStepsFixture.cs">
// Copyright © 2013 Dan Piessens. All rights reserved.
// </copyright>
namespace SpecBind.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using... | Nels-P-Olsen/specbind | src/SpecBind.Tests/DataStepsFixture.cs | https://github.com/Nels-P-Olsen/specbind/blob/HEAD/src/SpecBind.Tests/DataStepsFixture.cs | ghcode:00171:e608f95272fc | mit | codeparrot/github-code | e608f95272fc8541d98855bc8033d47786ab81b4e1f1f9528db81a285061e61c | 0.7 | testing_debugging_repair_refactoring | 5,301 | 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.Text;
using Xunit;
namespace System.Linq.Expressions.Tests
{
public static class ArrayArrayLengthTest... | mellinoe/corefx | src/System.Linq.Expressions/tests/Array/ArrayArrayLengthTests.cs | https://github.com/mellinoe/corefx/blob/HEAD/src/System.Linq.Expressions/tests/Array/ArrayArrayLengthTests.cs | ghcode:00171:afccc6227c8b | mit | codeparrot/github-code | afccc6227c8b1f4b557e9868baaf9e588abd2006a68803d4e2566fe9c9416c31 | 0.82 | testing_debugging_repair_refactoring | 14,047 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JudgeClient.Definition;
namespace JudgeClient.Fetcher
{
public class TestDataAccessor : IDataAccessor
{
public int GetDataCount(Problem Problem)
{
return 1;
}
int _c_v_coun... | sdnuacmicpc/sdnuoj | oldJudger/src/TaskFetcher/TestDataAccessor.cs | https://github.com/sdnuacmicpc/sdnuoj/blob/HEAD/oldJudger/src/TaskFetcher/TestDataAccessor.cs | ghcode:00171:6824ec988315 | mit | codeparrot/github-code | 6824ec98831589da0d07b0503965a7055ab804799b0d05beadef74c969e9adab | 0.85 | testing_debugging_repair_refactoring | 190 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ServiceRegister.Application.Localization;
using ServiceRegister.Common;
namespace ServiceRegister.Application.Tests.Localization
{
[TestClass]
public class LocalizedTextsTests
{
private L... | City-of-Helsinki/palvelutietovaranto | Source/ServiceRegister.Application.Tests/Localization/LocalizedTextsTests.cs | https://github.com/City-of-Helsinki/palvelutietovaranto/blob/HEAD/Source/ServiceRegister.Application.Tests/Localization/LocalizedTextsTests.cs | ghcode:00171:f4c3034d6a47 | mit | codeparrot/github-code | f4c3034d6a4771336f616b1444305cc2121d6a3c00d69967afe45f62c3b4f9aa | 0.75 | testing_debugging_repair_refactoring | 165 | false | 2026-07-17 |
using NUnit.Framework;
using System;
namespace NValidate.Tests
{
[AttributeUsage(AttributeTargets.Parameter)]
class OneAttribute : Attribute { }
[AttributeUsage(AttributeTargets.Parameter)]
class TwoAttribute : Attribute { }
class TestBase { }
class TestDerived : TestBase { }
... | horia141/nvalidate | test/EnvironTest.cs | https://github.com/horia141/nvalidate/blob/HEAD/test/EnvironTest.cs | ghcode:00171:a77703e0538c | mit | codeparrot/github-code | a77703e0538c25e5fde9f60a8979adba8e84fa967531050b6def9a3c23be92ee | 0.6 | testing_debugging_repair_refactoring | 2,151 | false | 2026-07-17 |
using System;
using DailyEnterprise.Core.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DailyEnterprise.Core.Tests
{
[TestClass]
public class UserConstructionTests
{
[TestMethod]
public void CanCreateNewUser()
{
var first = "First";
va... | ZEJustin/DailyEnterpriseProgrammer | Solutions/Challenges 1 to 100/Challenge 1/Easy/DailyEnterprise.Core.Tests/UserConstructionTests.cs | https://github.com/ZEJustin/DailyEnterpriseProgrammer/blob/HEAD/Solutions/Challenges 1 to 100/Challenge 1/Easy/DailyEnterprise.Core.Tests/UserConstructionTests.cs | ghcode:00171:3ac537938ef8 | mit | codeparrot/github-code | 3ac537938ef8ba9d7f6551406c397721f66228bd7bde496c25048a0d7016efc7 | 0.75 | testing_debugging_repair_refactoring | 366 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace FutureSight.lib
{
public static class Hello
{
public static void Main()
{
GameState aa = new GameState();
System.Console.WriteLine(aa.GetElapsedTurn());
aa.ForwardTurn();
GameState b... | kore52/FutureSight | lib/TestMain.cs | https://github.com/kore52/FutureSight/blob/HEAD/lib/TestMain.cs | ghcode:00171:7547666740f3 | mit | codeparrot/github-code | 7547666740f3e1951adc6fd3749213c89f86144ca8ae46e3881e09b63ff52921 | 0.75 | testing_debugging_repair_refactoring | 173 | false | 2026-07-17 |
using System;
using FluentAssertions;
using Moq;
using Obvs.AzureServiceBus.Infrastructure;
using Xunit;
namespace Obvs.AzureServiceBus.Tests
{
public class PeekLockMessageControlFacts
{
private Mock<IMessagePeekLockControlProvider> _mockMessagePeekLockControlProvider;
private Mock<IMessagePee... | drub0y/Obvs.AzureServiceBus | Obvs.AzureServiceBus.Tests/PeekLockMessageControlFacts.cs | https://github.com/drub0y/Obvs.AzureServiceBus/blob/HEAD/Obvs.AzureServiceBus.Tests/PeekLockMessageControlFacts.cs | ghcode:00171:03565654449d | mit | codeparrot/github-code | 03565654449d4e264b6d29ae6bc9432284da5053ca406472435c419736b5ec61 | 0.6 | testing_debugging_repair_refactoring | 402 | false | 2026-07-17 |
namespace Xunit
{
/// <summary>
/// Represents the metadata available for VSX integration tests
/// at the assembly, class or method level.
/// </summary>
public interface IVsixAttribute
{
/// <summary>
/// Whether to start a new instance of Visual Studio for each
/// t... | kzu/xunit.vsix | src/Xunit.Vsix/IVsixAttribute.cs | https://github.com/kzu/xunit.vsix/blob/HEAD/src/Xunit.Vsix/IVsixAttribute.cs | ghcode:00171:70618beff4a9 | mit | codeparrot/github-code | 70618beff4a9e080941b23d696b8a0ee616748355a1fd020cbb6f03dc237817f | 0.7 | testing_debugging_repair_refactoring | 425 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using Arebis.Types;
namespace Arebis.Extensions.Tests.Arebis.Types
{
[UnitDefinitionClass]
public static class MonetaryUnits
{
public static Unit Euro = new Unit("euro", "", new UnitType("Currency"));
public static Unit KEuro = new U... | codetuner/Arebis.Common | Test.Arebis.Extensions/Tests/Arebis.Types/TestUnits.cs | https://github.com/codetuner/Arebis.Common/blob/HEAD/Test.Arebis.Extensions/Tests/Arebis.Types/TestUnits.cs | ghcode:00171:cd3de489ed12 | mit | codeparrot/github-code | cd3de489ed12ef21d5d5069128b1623221d2646df13ab228cbe3821e25641b2b | 0.85 | testing_debugging_repair_refactoring | 90 | false | 2026-07-17 |
using ExtendedXmlSerializer.Configuration;
using ExtendedXmlSerializer.Tests.ReportedIssues.Support;
using FluentAssertions;
using FluentAssertions.Common;
using System;
using Xunit;
namespace ExtendedXmlSerializer.Tests.ReportedIssues
{
public sealed class Issue497Tests
{
[Fact]
public void Verify()
{
ICo... | wojtpl2/ExtendedXmlSerializer | test/ExtendedXmlSerializer.Tests.ReportedIssues/Issue497Tests.cs | https://github.com/wojtpl2/ExtendedXmlSerializer/blob/HEAD/test/ExtendedXmlSerializer.Tests.ReportedIssues/Issue497Tests.cs | ghcode:00171:f4a909a2c284 | mit | codeparrot/github-code | f4a909a2c284e7510893e54eb1931482201f6ebb64a30d85f4162556d1f1288c | 0.75 | testing_debugging_repair_refactoring | 258 | false | 2026-07-17 |
using System;
using FakeItEasy;
using RapidCore.Redis.Locking;
using StackExchange.Redis;
using StackExchange.Redis.Extensions.Core.Abstractions;
using Xunit;
namespace UnitTests.Redis.Locking
{
public class RedisDistributedAppLockProviderTest
{
[Fact]
public void Test_does_create_new_redis_cli... | rapidcore/rapidcore | src/test-unit/Redis/Locking/RedisDistributedAppLockProviderTest.cs | https://github.com/rapidcore/rapidcore/blob/HEAD/src/test-unit/Redis/Locking/RedisDistributedAppLockProviderTest.cs | ghcode:00171:2fd4d83c39a6 | mit | codeparrot/github-code | 2fd4d83c39a629f7d426bb7eaf8db25142df1186b2572c3c68fb8f3801b963b2 | 0.75 | testing_debugging_repair_refactoring | 525 | false | 2026-07-17 |
using BenchmarkDotNet.Tasks;
namespace BenchmarkDotNet.Samples
{
[Task(platform: BenchmarkPlatform.X86, jitVersion: BenchmarkJitVersion.LegacyJit)]
[Task(platform: BenchmarkPlatform.X64, jitVersion: BenchmarkJitVersion.LegacyJit)]
[Task(platform: BenchmarkPlatform.X64, jitVersion: BenchmarkJitVersion.RyuJ... | NN---/BenchmarkDotNet | BenchmarkDotNet.Samples/Jit_LoopUnrolling.cs | https://github.com/NN---/BenchmarkDotNet/blob/HEAD/BenchmarkDotNet.Samples/Jit_LoopUnrolling.cs | ghcode:00171:9c6a74d1c232 | mit | codeparrot/github-code | 9c6a74d1c232d97125a24e71232c7c8d4fa6d7de8ab3b1e5c5e19daf39b4f481 | 0.6 | testing_debugging_repair_refactoring | 148 | false | 2026-07-17 |
namespace DALs.UnitTests.DAlsSql.Extensions
{
using DALs.Sql.Extensions;
using NUnit.Framework;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
[TestFixture]
public class SqlCommandExtensionsTest
{
[Test]
public void LoadParameters()
... | TianyuanC/dals | DALs.UnitTests/DAlsSql/Extensions/SqlCommandExtensionsTest.cs | https://github.com/TianyuanC/dals/blob/HEAD/DALs.UnitTests/DAlsSql/Extensions/SqlCommandExtensionsTest.cs | ghcode:00171:870916ce232d | mit | codeparrot/github-code | 870916ce232d526860043e3c6ca58b6f08b638b153b5e74324c842dea0f26d3e | 0.75 | testing_debugging_repair_refactoring | 109 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.