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 NUnit.Framework;
using NSubstitute;
using System.Collections.Generic;
using strange.extensions.injector.api;
using strange.extensions.injector.impl;
namespace reversi.game
{
public class HorizontalMoveRuleTest
{
const int NumRows = 8;
const int NumCols = 8;
const int MinimumPiecesToTake = 2... | wlindley/strangeioc-reversi | Assets/Editor/reversi/game/model/HorizontalMoveRuleTest.cs | https://github.com/wlindley/strangeioc-reversi/blob/HEAD/Assets/Editor/reversi/game/model/HorizontalMoveRuleTest.cs | ghcode:00159:da75851fd2ed | mit | codeparrot/github-code | da75851fd2ed411d17228c959e7de6063f664d7f2982680ca2d33ed0c7c4517d | 0.6 | testing_debugging_repair_refactoring | 599 | false | 2026-07-17 |
namespace Collector.Serilog.Enrichers.Assembly.UnitTest
{
using System.Reflection;
using Collector.Serilog.Enrichers.Assembly;
using global::Serilog;
using global::Serilog.Events;
using NUnit.Framework;
[TestFixture]
public class SourceSystemEnricher_Test
{
[Test]
pu... | collector-bank/serilog-enrichers-assembly | test/Collector.Serilog.Enrichers.Assembly.UnitTest/SourceSystemEnricher_Test.cs | https://github.com/collector-bank/serilog-enrichers-assembly/blob/HEAD/test/Collector.Serilog.Enrichers.Assembly.UnitTest/SourceSystemEnricher_Test.cs | ghcode:00159:6678aa3bc5eb | mit | codeparrot/github-code | 6678aa3bc5eb3fbb9c67fce2d1358ebe28152fc29b8855f75faa2c69488c6652 | 0.6 | testing_debugging_repair_refactoring | 406 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NUnit.Framework.Internal;
using NUnit.Framework.Internal.Execution;
using NUnit.TestData;
using NUnit.TestUtilities;
namespace NUnit.Framework.Attributes
{
[TestFixture]
public class TestOrderAttributeTests
{
[Test]
public void CheckOrd... | ggeurts/nunit | src/NUnitFramework/tests/Attributes/TestOrderAttributeTests.cs | https://github.com/ggeurts/nunit/blob/HEAD/src/NUnitFramework/tests/Attributes/TestOrderAttributeTests.cs | ghcode:00159:9f8edeff3ed3 | mit | codeparrot/github-code | 9f8edeff3ed3086874595d7f3cd8fdcc4b382385b24e7d6573ae5fc29c3409ad | 0.85 | testing_debugging_repair_refactoring | 480 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Xunit;
namespace LaYumba.Functional.Tests
{
public class TaskTests
{
async Task<string> Fail(string message = null) => await Task.FromException<string>(new Exception(message));
async Task<T> Succeed<T>(T t) => await Task.FromResult(t);
[Fact]... | la-yumba/functional-csharp-code | LaYumba.Functional.Tests/Task.cs | https://github.com/la-yumba/functional-csharp-code/blob/HEAD/LaYumba.Functional.Tests/Task.cs | ghcode:00159:fc27d40536dc | mit | codeparrot/github-code | fc27d40536dc9cc8561c724c1c3fe78f23dae644eb67e43fd3a969e0e979ee9d | 0.6 | testing_debugging_repair_refactoring | 1,516 | false | 2026-07-17 |
using Brandbank.Xml.MessageHelpers;
using Brandbank.Xml.Models.Message;
using Xunit;
namespace Brandbank.Xml.Tests.MessageHelpers
{
public class ImageTypeReaderExtensionsTests
{
private readonly ImageType _imageType;
public ImageTypeReaderExtensionsTests()
{
_imageType = n... | Brandbank/Brandbank-Xml-And-Api-Helpers | Brandbank.Xml.Tests/MessageHelpers/ImageTypeReaderExtensionsTests.cs | https://github.com/Brandbank/Brandbank-Xml-And-Api-Helpers/blob/HEAD/Brandbank.Xml.Tests/MessageHelpers/ImageTypeReaderExtensionsTests.cs | ghcode:00159:90f752e67d53 | mit | codeparrot/github-code | 90f752e67d535e8fd12886b9a5afd692510dda3ae8d8191d99db291807780a02 | 0.75 | testing_debugging_repair_refactoring | 183 | false | 2026-07-17 |
using System;
using System.Configuration;
using System.Collections.Generic;
using System.Linq;
using System.Data.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TypeMock.ArrangeActAssert;
using Nucleo.Configuration;
using Nucleo.Context;
using Nucleo.Context.Services;
using Nucleo.EventArguments;
usin... | brianmains/Nucleo.NET | src/Nucleo.UnitTests.40.MS/Orm/DataContextManagerTest.cs | https://github.com/brianmains/Nucleo.NET/blob/HEAD/src/Nucleo.UnitTests.40.MS/Orm/DataContextManagerTest.cs | ghcode:00159:e4d2ff2dcda9 | mit | codeparrot/github-code | e4d2ff2dcda981369b414f1a1e9f09392eb1d7560674481f3c9f02a5799dc2e9 | 0.85 | testing_debugging_repair_refactoring | 2,149 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Eventos.Core;
using Eventos.Core.Base;
using Eventos.Core.Exceptions;
namespace Eventos.Tests
{
public class TestCalculationEventoParameters
{
public int a { get; set; }
public int b { get; set; }
}
public class TestCalculationEventoResults : TestCalculationEventoPar... | deviqllc/Eventos | Eventos.Tests/Test.cs | https://github.com/deviqllc/Eventos/blob/HEAD/Eventos.Tests/Test.cs | ghcode:00159:745208df0c32 | mit | codeparrot/github-code | 745208df0c326fe9417c9f476b4934e3f09bc0309b3d6c287519fe7781b4bd95 | 0.85 | testing_debugging_repair_refactoring | 2,023 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using PholioVisualisation.Analysis;
using PholioVisualisation.DataAccess;
using PholioVisualisation.DataConstruction;
using PholioVisualisation.Export;
using PholioVisualisation.Export.FileBuilder.Containers;
using PholioVisualisation.Export.FileBuilder.Su... | PublicHealthEngland/fingertips-open | PholioVisualisationWS/ExportTest/FileBuilder/Containers/BodyPeriodSearchContainerTest.cs | https://github.com/PublicHealthEngland/fingertips-open/blob/HEAD/PholioVisualisationWS/ExportTest/FileBuilder/Containers/BodyPeriodSearchContainerTest.cs | ghcode:00159:389fcad309cd | mit | codeparrot/github-code | 389fcad309cd9f6faeb6dc77c8a5d0f37b3ddfc68674452c29c5931e6e5d4e4d | 0.75 | testing_debugging_repair_refactoring | 7,487 | false | 2026-07-17 |
/*using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Newtonsoft.Json.Bson;
using Newtonsoft.Json.Tests.TestObjects;
using Newtonsoft.Json.Utilities;
using NUnit.Framework;
namespace Newtonsoft.Json.Tests.Converters
{
public class ObjectIdConverterTests : Tes... | jorik041/Newtonsoft.Json | Newtonsoft.Json.Tests/Converters/ObjectIdConverterTests.cs | https://github.com/jorik041/Newtonsoft.Json/blob/HEAD/Newtonsoft.Json.Tests/Converters/ObjectIdConverterTests.cs | ghcode:00159:4a98f566098f | mit | codeparrot/github-code | 4a98f566098fcd61b5bc38cc81e5f01a5f6674bcd605633002ba119a347dd045 | 0.75 | testing_debugging_repair_refactoring | 516 | false | 2026-07-17 |
namespace NS.A
{
public class TestA
{
}
}
| jbatonnet/system | Source/[Libraries]/Mono/mono/tests/bug-81691-a.cs | https://github.com/jbatonnet/system/blob/HEAD/Source/[Libraries]/Mono/mono/tests/bug-81691-a.cs | ghcode:00159:6af43fd87db7 | mit | codeparrot/github-code | 6af43fd87db7a07cba6ed39ab0bd14d10dcef8f0d9984f10c0e46f6a74b3a3fb | 0.45 | testing_debugging_repair_refactoring | 15 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tab.Slack.Common.Model.Responses;
using Xunit;
namespace Tab.Slack.WebApi.Tests
{
public class StarsApiTests : ApiTestBase
{
[Fact]
public void StarsListShouldCallCorrectEn... | robladbrook/slack | test/Tab.Slack.WebApi.Tests/StarsApiTests.cs | https://github.com/robladbrook/slack/blob/HEAD/test/Tab.Slack.WebApi.Tests/StarsApiTests.cs | ghcode:00159:143f03664784 | mit | codeparrot/github-code | 143f036647846038ec3c8b1f09f2483e434f27235a04a6c68a5328242c15c393 | 0.75 | testing_debugging_repair_refactoring | 128 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using Should;
using NUnit.Framework;
using System.Linq;
using AutoMapper.QueryableExtensions;
namespace AutoMapper.UnitTests
{
namespace ExpressionBridge
{
public class SimpleProductDto
{
public string Na... | patuww/Automapper | src/UnitTests/ExpressionBridge.cs | https://github.com/patuww/Automapper/blob/HEAD/src/UnitTests/ExpressionBridge.cs | ghcode:00159:521b9d0ec5d5 | mit | codeparrot/github-code | 521b9d0ec5d5845ace0428e4d331037b00ad5a15cdd8ed6792aebb2e3a94b9a4 | 0.6 | testing_debugging_repair_refactoring | 1,062 | false | 2026-07-17 |
using NUnit.Framework;
using Unity;
using UnityConfiguration.Services;
using UnityConfiguration;
namespace UnityConfiguration
{
[TestFixture]
public class LifetimeManagementTests
{
[Test]
public void Can_configure_concrete_types_as_singleton()
{
var containe... | thedersen/UnityConfiguration | src/UnityConfiguration.Tests/LifetimeManagementTests.cs | https://github.com/thedersen/UnityConfiguration/blob/HEAD/src/UnityConfiguration.Tests/LifetimeManagementTests.cs | ghcode:00159:09d1d79df896 | mit | codeparrot/github-code | 09d1d79df8969b96b8e2ee54ab0bbea795f89437d84771bb2b11c1fd8b540734 | 0.75 | testing_debugging_repair_refactoring | 809 | false | 2026-07-17 |
using System.Collections.Generic;
using log4net.Core;
using log4net.Raygun.Core;
using log4net.Util;
using NUnit.Framework;
namespace log4net.Raygun.Tests
{
[TestFixture]
public class UserCustomDataBuilderTests
{
private UserCustomDataBuilder _userCustomDataBuilder;
[SetUp]
public... | plmwong/log4net-raygun | log4net.Raygun.Tests/UserCustomDataBuilderTests.cs | https://github.com/plmwong/log4net-raygun/blob/HEAD/log4net.Raygun.Tests/UserCustomDataBuilderTests.cs | ghcode:00159:1c16a69f8ff6 | mit | codeparrot/github-code | 1c16a69f8ff64cfd5c0e33a4f8eb69df7f8e8ac691441e42b58c4c636b663d44 | 0.75 | testing_debugging_repair_refactoring | 622 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace HTLib2.Bioinfo
{
public partial class Pdb
{
[Serializable]
public class Siguij : Element, IComparable<Siguij>
{
/// http://www.wwpdb.org/docu... | htna/HCsbLib | HCsbLibMin/HCsbLibMin/HTLib2.Bioinfo/Pdb/Pdb.Element/CoordinateSection/Pdb.SIGUIJ.cs | https://github.com/htna/HCsbLib/blob/HEAD/HCsbLibMin/HCsbLibMin/HTLib2.Bioinfo/Pdb/Pdb.Element/CoordinateSection/Pdb.SIGUIJ.cs | ghcode:00159:8226030b24df | mit | codeparrot/github-code | 8226030b24df21f2f3152f120ffd0d34b59682897af81030a6f8ee372ca93dc1 | 0.7 | testing_debugging_repair_refactoring | 2,931 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using JudoPayDotNet;
using JudoPayDotNet.Errors;
using JudoPayDotNet.Http;
using JudoPayDotNet.Models;
us... | JudoPay/DotNetSDK | JudoPayDotNetTests/Clients/RegisterCardsTests.cs | https://github.com/JudoPay/DotNetSDK/blob/HEAD/JudoPayDotNetTests/Clients/RegisterCardsTests.cs | ghcode:00159:cf4b69e13fc6 | mit | codeparrot/github-code | cf4b69e13fc65175835539818ce112b9d95b065299ebd112b84a952ec7ecba42 | 0.85 | testing_debugging_repair_refactoring | 1,791 | false | 2026-07-17 |
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Reusable.OneTo1;
using Reusable.OneTo1.Converters;
using Reusable.OneTo1.Converters.Collections.Generic;
using Reusable.Utilities.MSTest;
namespace Reusable.Tests.OneTo1
{
[TestClass]
public class HashSetTest : Converte... | he-dev/Reusable | Reusable.Tests.MSTest/src/OneTo1/impl/Collections/Generic/HashSetTest.cs | https://github.com/he-dev/Reusable/blob/HEAD/Reusable.Tests.MSTest/src/OneTo1/impl/Collections/Generic/HashSetTest.cs | ghcode:00159:6e9ff8493cae | mit | codeparrot/github-code | 6e9ff8493caec50ab775b971216da2482b6a95effc89431cf13825029c0622e5 | 0.95 | testing_debugging_repair_refactoring | 407 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using FclEx;
using Xunit.Sdk;
namespace Xunit
{
public partial class AssertExtTests
{
public class Tester
{
public bool Bool { get; set; }
public int Int { get; set; }
public int? NullableInt... | huoshan12345/FclEx | test/FclEx.Test/Xunit/AssertExtTests.EveryMemberEqual.cs | https://github.com/huoshan12345/FclEx/blob/HEAD/test/FclEx.Test/Xunit/AssertExtTests.EveryMemberEqual.cs | ghcode:00159:7ec3da6a329d | mit | codeparrot/github-code | 7ec3da6a329d20719f8f6f020d2bf7e508c5bca09df29f0c6686f88736fd85c0 | 0.75 | testing_debugging_repair_refactoring | 863 | false | 2026-07-17 |
using System.Collections.Generic;
using ErrorProne.NET.Common;
using ErrorProne.NET.Rules.Formatting;
using NUnit.Framework;
using RoslynNunitTestRunner;
namespace ErrorProne.NET.Test.StringFormatRules
{
[TestFixture]
public class InvalidRegexAnalyzerTests : CSharpAnalyzerTestFixture<RegexPatternAnalyzer>
... | SergeyTeplyakov/ErrorProne.NET | src/ErrorProne.NET/ErrorProne.NET.Test/FormatRules/RegexPatternAnalyzerTests.cs | https://github.com/SergeyTeplyakov/ErrorProne.NET/blob/HEAD/src/ErrorProne.NET/ErrorProne.NET.Test/FormatRules/RegexPatternAnalyzerTests.cs | ghcode:00159:2352f1b0372e | mit | codeparrot/github-code | 2352f1b0372e76787e42cea820c83d13a1ce20142d9f6137e2cea84866729910 | 0.75 | testing_debugging_repair_refactoring | 196 | false | 2026-07-17 |
/*
* Tencent is pleased to support the open source community by making xLua available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the Lice... | stzb321/CowboyRun | Assets/XLua/Src/Utils.cs | https://github.com/stzb321/CowboyRun/blob/HEAD/Assets/XLua/Src/Utils.cs | ghcode:00159:e537ddfbd9f1 | mit | codeparrot/github-code | e537ddfbd9f150e45a1f5b194b5bcbef6f20556f39cfedef7713468443a4e26f | 0.8 | testing_debugging_repair_refactoring | 10,659 | false | 2026-07-17 |
using Xunit;
namespace GraduatedCylinder
{
public class EnumerationVerification
{
/// <summary>
/// instantiate all types to verify all enums.
/// </summary>
[Fact]
public void VerifyAllEnums() {
var acceleration = new Acceleration(1, AccelerationUnit.Bas... | EddieGarmon/GraduatedCylinder | Tests/GraduatedCylinder.Tests/EnumerationVerification.cs | https://github.com/EddieGarmon/GraduatedCylinder/blob/HEAD/Tests/GraduatedCylinder.Tests/EnumerationVerification.cs | ghcode:00159:9c592f891da4 | mit | codeparrot/github-code | 9c592f891da43ed55b8fdc2b48ae73fa6c1ff49792ecbbbe64701f8140afac7d | 0.7 | testing_debugging_repair_refactoring | 437 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CocosSharp;
namespace tests
{
public class SpriteMainScene : CCScene
{
public SpriteMainScene() : base(AppDelegate.SharedWindow)
{
}
public virtual string title()
{
r... | hig-ag/CocosSharp | tests/tests/classes/tests/PerformanceTest/PerformanceSpriteTest/SpriteMainScene.cs | https://github.com/hig-ag/CocosSharp/blob/HEAD/tests/tests/classes/tests/PerformanceTest/PerformanceSpriteTest/SpriteMainScene.cs | ghcode:00159:5360b52822a9 | mit | codeparrot/github-code | 5360b52822a90f25171a0856bd3335dc39b21d7aeb118c5eec4bec02629e3be0 | 0.95 | testing_debugging_repair_refactoring | 1,149 | false | 2026-07-17 |
namespace Swan.Test
{
using NUnit.Framework;
using Swan.Threading;
using System;
using System.Threading.Tasks;
[TestFixture]
public class AtomicTypeTest
{
private enum Companies
{
Value1,
Value2,
Value3,
}
[Test]
... | unosquare/swan | test/Swan.Test/AtomicTypesTest.cs | https://github.com/unosquare/swan/blob/HEAD/test/Swan.Test/AtomicTypesTest.cs | ghcode:00159:c9cbe7264951 | mit | codeparrot/github-code | c9cbe726495165575b1ff26314a98c33b80abdfc448b337d3ef7ba6253d573cd | 0.6 | testing_debugging_repair_refactoring | 1,017 | false | 2026-07-17 |
using System;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.ApplicationInsights.Metrics;
using Microsoft.ApplicationInsights.Metrics.Extensibility;
using System.Collections.Generic;
using Microsoft.ApplicationInsights.Ch... | Microsoft/ApplicationInsights-SDK-Labs | Metrics/Tests/Microsoft.ApplicationInsights.Metrics.Core.Test/Microsoft.ApplicationInsights.Metrics/MetricEmissionTestsVirtualTime.cs | https://github.com/Microsoft/ApplicationInsights-SDK-Labs/blob/HEAD/Metrics/Tests/Microsoft.ApplicationInsights.Metrics.Core.Test/Microsoft.ApplicationInsights.Metrics/MetricEmissionTestsVirtualTime.cs | ghcode:00159:a05045a9da16 | mit | codeparrot/github-code | a05045a9da16ce97b33be7cba26ca338c2e52cdce4906c69b66682565331265f | 0.95 | testing_debugging_repair_refactoring | 1,614 | false | 2026-07-17 |
using System.Linq;
using NUnit.Framework;
using VMLib.IOC;
namespace VMLib.UnitTest
{
public interface ITest
{
}
public class Test1 : ITest
{
}
public class Test2 : ITest
{
}
[TestFixture]
public class ServiceDiscoveryTests
{
publ... | wiltaylor/VMLib | Src/VMLib.UnitTest/ServiceDiscoveryTests.cs | https://github.com/wiltaylor/VMLib/blob/HEAD/Src/VMLib.UnitTest/ServiceDiscoveryTests.cs | ghcode:00159:42b3db4d6584 | mit | codeparrot/github-code | 42b3db4d6584f6df095108779c9b9a08c1592b37735758e733dcc79123c1274f | 0.75 | testing_debugging_repair_refactoring | 112 | false | 2026-07-17 |
using Xunit;
using Nicomputer.PokerBot.PokerGame;
namespace Nicomputer.PokerBot.UnitTests.PokerGame
{
public class PlayerUnitTests
{
[Fact]
public void Player_Constructor()
{
var player = new Player
{
Name = "John Doe",
Displ... | Elgolfin/PokerBot | PokerBotUnitTests/PokerGame/PlayerUnitTests.cs | https://github.com/Elgolfin/PokerBot/blob/HEAD/PokerBotUnitTests/PokerGame/PlayerUnitTests.cs | ghcode:00159:75118c58b08b | mit | codeparrot/github-code | 75118c58b08b226ad5433ff2009a4884bb76b475062dfce1c8aab38fba7ae641 | 0.75 | testing_debugging_repair_refactoring | 126 | false | 2026-07-17 |
using System;
namespace ConstantConditionalExpression
{
class Main
{
const int ZERO = 0;
public void Foo()
{
int i = (ZERO == 1 - 1) ? 0 : 1; // BAD
int j = false ? 0 : 1; // BAD
int k = " " == " " ? 0 : 1; // BAD
int l = (" "[0] == ' ') ... | github/codeql | csharp/ql/test/query-tests/Bad Practices/Control-Flow/ConstantCondition/ConstantConditionalExpressionCondition.cs | https://github.com/github/codeql/blob/HEAD/csharp/ql/test/query-tests/Bad Practices/Control-Flow/ConstantCondition/ConstantConditionalExpressionCondition.cs | ghcode:00159:fb32bedf890d | mit | codeparrot/github-code | fb32bedf890d0b4833b0da62074f6d4c43efc3de5f44ab75c5c371fac9a84f49 | 0.95 | testing_debugging_repair_refactoring | 149 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Diagnostics;
using System.Reflection;
using System.ComponentModel;
namespace Proxemity.UnitTests {
using DescrAttr = System.ComponentModel.DescriptionAttribute;
[... | rivantsov/proxemity | Proxemity.UnitTests/ProxyTests_EntityProxy.cs | https://github.com/rivantsov/proxemity/blob/HEAD/Proxemity.UnitTests/ProxyTests_EntityProxy.cs | ghcode:00159:438083e21899 | mit | codeparrot/github-code | 438083e218999aad0be8cbae5398ae9c8a9da51e52d57c4107079e416b026d09 | 0.7 | testing_debugging_repair_refactoring | 646 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TimeyWimey.Abstractions;
namespace TimeyWimey.Tests
{
[TestClass]
public class SystemClockTests
{
[TestMethod]
public void SystemClock_R... | Yortw/TimeyWimey | src/TimeyWimey.Tests/SystemClockTests.cs | https://github.com/Yortw/TimeyWimey/blob/HEAD/src/TimeyWimey.Tests/SystemClockTests.cs | ghcode:00159:4b3829a0cc75 | mit | codeparrot/github-code | 4b3829a0cc75e46071c302dfd889116fffa13fdac13ee28b2c75fb49575e63e7 | 0.75 | testing_debugging_repair_refactoring | 183 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Speculous
{
public abstract class TestContainer : ITestContainer
{
/// <summary>
/// Gets or sets the object definition container.
/// </summary>
/// <... | netxph/speculous | src/Speculous/TestContainer.cs | https://github.com/netxph/speculous/blob/HEAD/src/Speculous/TestContainer.cs | ghcode:00159:d29c8d4f2be2 | mit | codeparrot/github-code | d29c8d4f2be2221fdc0bce69d30fd156ff8886f630e255ef6a748f97678e2709 | 0.85 | testing_debugging_repair_refactoring | 856 | false | 2026-07-17 |
using System;
using Xunit;
using tetsujin;
namespace XUnitTestProject
{
public class UnitTest1
{
[Fact]
public void Test1()
{
}
}
}
| hMatoba/tetsujin | tetsujin/XUnitTestProject/UnitTest1.cs | https://github.com/hMatoba/tetsujin/blob/HEAD/tetsujin/XUnitTestProject/UnitTest1.cs | ghcode:00159:ccacd173fe2f | mit | codeparrot/github-code | ccacd173fe2f3a8511e3b754d554a5a765cb7397f88af37ff6a6de52d0426ea4 | 0.35 | testing_debugging_repair_refactoring | 44 | 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... | mono/cocos2d-xna | tests/tests/classes/tests/Box2DTestBet/Farseer Physics Engine 3.3 XNA/Dynamics/World.cs | https://github.com/mono/cocos2d-xna/blob/HEAD/tests/tests/classes/tests/Box2DTestBet/Farseer Physics Engine 3.3 XNA/Dynamics/World.cs | ghcode:00159:156bd755c974 | mit | codeparrot/github-code | 156bd755c974dfe1098d64583dcb733455be965ee34fe6acf81ee28070fb74b3 | 0.95 | testing_debugging_repair_refactoring | 9,525 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Kontur.Courses.Testing.Patterns.Antipatterns
{
public class Stack_tests2
{
[Test]
public void TestPushPop()
{
var stack = new Stack<int>();
stack.Push(10);
stack.Push(20);
stack.Push(30);
while (... | xoposhiy/testing-course | Patterns/Antipatterns/Stack_tests2.cs | https://github.com/xoposhiy/testing-course/blob/HEAD/Patterns/Antipatterns/Stack_tests2.cs | ghcode:00159:e81c3fcda71c | cc0-1.0 | codeparrot/github-code | e81c3fcda71ca42bbcc0741df295a434c8d80da3a12e92cfefc7636db0db9202 | 0.53 | testing_debugging_repair_refactoring | 176 | false | 2026-07-17 |
namespace Kangarooper.Text
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
public static partial class StringFixedExtensionsTests
{
[TestClass]
public class VerifyCoalesceAndFitFields
{
[TestMethod]
public void Basic()
{
... | Kangarooper/Kangarooper.Text | Kangarooper.Text.Test/String/Columnar/Fixed/Extensions/HelpersVerifyCoalesceAndFitFields.cs | https://github.com/Kangarooper/Kangarooper.Text/blob/HEAD/Kangarooper.Text.Test/String/Columnar/Fixed/Extensions/HelpersVerifyCoalesceAndFitFields.cs | ghcode:00159:851851e2b20b | apache-2.0 | codeparrot/github-code | 851851e2b20b42c738363bf1ec1975036d6cc0c1cf79ad27393678ef698a117c | 0.6 | testing_debugging_repair_refactoring | 839 | false | 2026-07-17 |
/*
Shared.TestMessage.cs
Copyright 2015 George Stevens
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 l... | gstevens-SoApps/Blog1-WcfNQueueSMEx | Shared/TestMessage.cs | https://github.com/gstevens-SoApps/Blog1-WcfNQueueSMEx/blob/HEAD/Shared/TestMessage.cs | ghcode:00159:7dfbdf99425a | apache-2.0 | codeparrot/github-code | 7dfbdf99425a1fa088cb89f5dd89ba7d7ad9380290bbff38e1da6be8efbe0843 | 0.75 | testing_debugging_repair_refactoring | 232 | false | 2026-07-17 |
// Copyright 2015-2016 Google Inc. All Rights Reserved.
// Licensed under the Apache License Version 2.0.
using Google.PowerShell.Common;
using NUnit.Framework;
using System;
using System.Threading;
namespace Google.PowerShell.Tests.Common
{
[TestFixture]
public class TestActiveUserConfig
{
priva... | GoogleCloudPlatform/google-cloud-powershell | Google.PowerShell.Tests/Common/TestActiveUserConfig.cs | https://github.com/GoogleCloudPlatform/google-cloud-powershell/blob/HEAD/Google.PowerShell.Tests/Common/TestActiveUserConfig.cs | ghcode:00159:315be6321e92 | apache-2.0 | codeparrot/github-code | 315be6321e92343a8df622265196f60fc4b2c25da6cb778ec682710b4cf277c4 | 0.85 | testing_debugging_repair_refactoring | 1,494 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
namespace Microsoft.AspNetCore.Mvc.DataAnnotations
{
public class ModelV... | aspnet/AspNetCore | src/Mvc/Mvc.DataAnnotations/test/ModelValidationResultComparer.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/Mvc.DataAnnotations/test/ModelValidationResultComparer.cs | ghcode:00159:d84085cf56dd | apache-2.0 | codeparrot/github-code | d84085cf56dd3ef791c47b06ca43263198508c7f36dde1623c0840ff780e39b7 | 0.85 | testing_debugging_repair_refactoring | 206 | 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... | kaffeebrauer/Lean | Tests/Common/Orders/Slippage/SlippageModelsTests.cs | https://github.com/kaffeebrauer/Lean/blob/HEAD/Tests/Common/Orders/Slippage/SlippageModelsTests.cs | ghcode:00159:bc1d80a3f607 | apache-2.0 | codeparrot/github-code | bc1d80a3f6075dd256a1287898c9a01f0658b967d84cf67e9336cee1a9fbdf19 | 0.85 | testing_debugging_repair_refactoring | 1,239 | false | 2026-07-17 |
using System;
using IFSSharedObjects.Models;
using System.Text;
using System.Collections.Generic;
using System.Linq;
namespace IFSComparer.Measures
{
/// <summary>
/// This measure was proposed in:
///
/// Loor, M., De Tré, G.: In a Quest for Suitable Similarity Measures to Compare Experience-Based Evaluat... | ifsmetrics-lab/ifsmetrics | IFSComparer/Measures/XVBSM.cs | https://github.com/ifsmetrics-lab/ifsmetrics/blob/HEAD/IFSComparer/Measures/XVBSM.cs | ghcode:00159:70c1b4eb570c | apache-2.0 | codeparrot/github-code | 70c1b4eb570c78f75861c4f5b41969d129218605586adcc8f995c8d47b1634e1 | 0.7 | testing_debugging_repair_refactoring | 2,481 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.IO.Pipelines;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Fea... | aspnet/AspNetCore | src/Servers/Kestrel/test/InMemory.FunctionalTests/KeepAliveTimeoutTests.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Servers/Kestrel/test/InMemory.FunctionalTests/KeepAliveTimeoutTests.cs | ghcode:00159:aea5bba8c466 | apache-2.0 | codeparrot/github-code | aea5bba8c466a7920ffafd580cd2963d9b645aae19855c52d2d0a57cdc5a1aca | 0.95 | testing_debugging_repair_refactoring | 1,879 | false | 2026-07-17 |
#region License
/*
* Copyright 2004 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
*
... | spring-projects/spring-net | test/Spring/Spring.Core.Tests/Objects/Factory/Xml/XmlListableObjectFactoryTests.cs | https://github.com/spring-projects/spring-net/blob/HEAD/test/Spring/Spring.Core.Tests/Objects/Factory/Xml/XmlListableObjectFactoryTests.cs | ghcode:00159:71c0ebf00cfd | apache-2.0 | codeparrot/github-code | 71c0ebf00cfd21cb48c59e37b11d606ef09d0727cfce1977cfa27646b24236ae | 0.85 | testing_debugging_repair_refactoring | 1,490 | false | 2026-07-17 |
/*
| Version 10.1.84
| Copyright 2013 Esri
|
| 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 o... | Esri/route-planner-csharp | RoutePlanner_DeveloperTools/Source/ArcLogisticsApp/Commands/AutoArchiveProjectCmd.cs | https://github.com/Esri/route-planner-csharp/blob/HEAD/RoutePlanner_DeveloperTools/Source/ArcLogisticsApp/Commands/AutoArchiveProjectCmd.cs | ghcode:00159:598fc567e765 | apache-2.0 | codeparrot/github-code | 598fc567e765461869f40512d1a75bb701c5edfd5248b99a89d504de29e8b44a | 0.7 | testing_debugging_repair_refactoring | 1,240 | false | 2026-07-17 |
//
// Copyright (C) 2012 DataStax 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 applica... | trurl123/csharp-driver | src/Cassandra.Tests/AbstractResponseTest.cs | https://github.com/trurl123/csharp-driver/blob/HEAD/src/Cassandra.Tests/AbstractResponseTest.cs | ghcode:00159:066a0eafbade | apache-2.0 | codeparrot/github-code | 066a0eafbade03400b97c862b5d969df3316b19b9bc259dcf5e70f0727b09d66 | 0.85 | testing_debugging_repair_refactoring | 612 | false | 2026-07-17 |
using System;
using DropNet.Authenticators;
using DropNet.Exceptions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DropNet.Tests
{
[TestClass]
public class UserTests1
{
readonly DropNetClient _client;
public UserTests1()
{
_client = new DropNetClient(T... | DropNet/DropNet | DropNet.Tests/UserTests1.cs | https://github.com/DropNet/DropNet/blob/HEAD/DropNet.Tests/UserTests1.cs | ghcode:00159:89c3162aab42 | apache-2.0 | codeparrot/github-code | 89c3162aab427448cc10f0465d5cb7198e42a20c185911208874b8543fd1c639 | 0.7 | testing_debugging_repair_refactoring | 762 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CodeModel;
using NUnit.Framework;
using TestTarget.Implementing;
namespace Tests
{
[TestFixture]
public class ReflectionExtensionsTest
{
[Test]
public vo... | Novakov/HighLevelCodeAnalysis | src/Tests/ReflectionExtensionsTest.cs | https://github.com/Novakov/HighLevelCodeAnalysis/blob/HEAD/src/Tests/ReflectionExtensionsTest.cs | ghcode:00159:eedee89fc2af | apache-2.0 | codeparrot/github-code | eedee89fc2afe1aabf2d431655408e50cd81769c3df6b76ea50d9dfadc23de6e | 0.85 | testing_debugging_repair_refactoring | 141 | false | 2026-07-17 |
using DeftPack.TestAutomation.Reporting.Models;
using DeftPack.TestAutomation.Reporting.Templating;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
namespace DeftPack.TestAutomation.Reporting.UnitTests
{
[TestFixture]
public class IndexReporterTests
{
... | deftpack/testautomation | UnitTests/DeftPack.TestAutomation.Reporting.UnitTests/IndexReporterTests.cs | https://github.com/deftpack/testautomation/blob/HEAD/UnitTests/DeftPack.TestAutomation.Reporting.UnitTests/IndexReporterTests.cs | ghcode:00159:846709f353ab | apache-2.0 | codeparrot/github-code | 846709f353ab748eb67e7ecb6f4a33db91f02613cdead3a6df941527c1b67f41 | 0.75 | testing_debugging_repair_refactoring | 680 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Linq;
using System.Threading;
namespace Reactive4.NET.Test.Direct
{
[TestFixture]
public class ComputationTest
{
[Test]
public void Direct()
{
var t = Executors.Computation.Now;
Executors.Computation.Schedule... | akarnokd/Reactive4.NET | Reactive4.NET.Test/ComputationTest.cs | https://github.com/akarnokd/Reactive4.NET/blob/HEAD/Reactive4.NET.Test/ComputationTest.cs | ghcode:00159:105449c05043 | apache-2.0 | codeparrot/github-code | 105449c05043fd11d15aab482203656d143578972d88961d86e5a8fc5da465a5 | 0.6 | testing_debugging_repair_refactoring | 169 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Xunit;
namespace Microsoft.AspNetCore.Mvc.ViewFeatures
{
public class ViewDataOfTTest
{
[Fact]
... | aspnet/AspNetCore | src/Mvc/Mvc.ViewFeatures/test/ViewDataOfTTest.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/Mvc.ViewFeatures/test/ViewDataOfTTest.cs | ghcode:00159:b0a9e6000463 | apache-2.0 | codeparrot/github-code | b0a9e6000463870ad179e6e701bf3560c2ff7349ebb9c0fc6401819ba0e15a05 | 0.95 | testing_debugging_repair_refactoring | 632 | false | 2026-07-17 |
// Copyright 2014 The Rector & Visitors of the University of Virginia
//
// 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 re... | predictive-technology-laboratory/sensus | Sensus.Shared.Tests/Sensus.Shared/Probes/User/Scripts/ScriptTests.cs | https://github.com/predictive-technology-laboratory/sensus/blob/HEAD/Sensus.Shared.Tests/Sensus.Shared/Probes/User/Scripts/ScriptTests.cs | ghcode:00159:c62c77ae3829 | apache-2.0 | codeparrot/github-code | c62c77ae3829fc6cee2b9d986db1ad2fff6ef063839f5d8431ee017778198578 | 0.85 | testing_debugging_repair_refactoring | 584 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.Completion.Providers;
using Microso... | reaction1989/roslyn | src/EditorFeatures/CSharpTest/Completion/CompletionProviders/PropertySubPatternCompletionProviderTests.cs | https://github.com/reaction1989/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Completion/CompletionProviders/PropertySubPatternCompletionProviderTests.cs | ghcode:00159:99cca6b5d69e | apache-2.0 | codeparrot/github-code | 99cca6b5d69eb5c689b4deb1f0a98f3453e1c20f054676ab79f1cbf43e04af3a | 0.85 | testing_debugging_repair_refactoring | 4,014 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Stripe.Client.Sdk.Clients;
using Stripe.Client.Sdk.Models.Arguments;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace Stripe.Client.Sdk.Tests.Models.Arguments
{
... | smiggleworth/Stripe.Client | src/Stripe.Client.Sdk.Tests/Models/Arguments/CustomerCardCreateArgumentsTests.cs | https://github.com/smiggleworth/Stripe.Client/blob/HEAD/src/Stripe.Client.Sdk.Tests/Models/Arguments/CustomerCardCreateArgumentsTests.cs | ghcode:00159:8a7dea78cd18 | apache-2.0 | codeparrot/github-code | 8a7dea78cd186e1348fc9f121780783cd4eb137d7c118c235454901e3a121488 | 0.85 | testing_debugging_repair_refactoring | 519 | false | 2026-07-17 |
using System.Collections.Generic;
using WampSharp.Core.Listener;
using WampSharp.Tests.TestHelpers;
using WampSharp.V1.Core.Contracts;
namespace WampSharp.Tests.Proxy.Helpers
{
public class MockClientContainer : IWampClientContainer<MockRaw, IWampClient>
{
public IWampClient GetClient(IWampConnection<... | jmptrader/WampSharp | src/net45/Tests/WampSharp.Tests/Proxy/Helpers/MockClientContainer.cs | https://github.com/jmptrader/WampSharp/blob/HEAD/src/net45/Tests/WampSharp.Tests/Proxy/Helpers/MockClientContainer.cs | ghcode:00159:9dbf4e0d5462 | bsd-2-clause | codeparrot/github-code | 9dbf4e0d546215aa4dea20a83070bcf706e785ba1e9a2e2053abbc75db216dcd | 0.78 | testing_debugging_repair_refactoring | 205 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Reflection;
using BitDiffer.Core;
using BitDiffer.Common.Model;
using BitDiffer.Common.Utility;
using BitDiffer.Common.Misc;
using BitDiffer.Common.Interfaces;
using BitDiffer.Common.Conf... | edvineshagh/bitdiffer | Source/BitDiffer.Tests/Enums.cs | https://github.com/edvineshagh/bitdiffer/blob/HEAD/Source/BitDiffer.Tests/Enums.cs | ghcode:00159:6c8080231675 | mit | codeparrot/github-code | 6c80802316752f39a4c26cfc1aa57b6c45e67e7b57b120efa1110d0d01e7b30f | 0.85 | testing_debugging_repair_refactoring | 605 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Net.Mail;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using Grean.Exude;
using Ploeh.Albedo;
using ... | StevenJiang2015/AutoFixture | Src/AutoFixtureUnitTest/FixtureTest.cs | https://github.com/StevenJiang2015/AutoFixture/blob/HEAD/Src/AutoFixtureUnitTest/FixtureTest.cs | ghcode:00159:647e648b0ab9 | mit | codeparrot/github-code | 647e648b0ab9a547fb2625bbc38a8f804e5cb752f16e64a5122c73e2e9de325c | 0.5 | testing_debugging_repair_refactoring | 40,088 | 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.
namespace PingPongServer
{
using System;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Bond.Comm;
using Bond.C... | gencer/bond | cs/test/compat/comm/server/Program.cs | https://github.com/gencer/bond/blob/HEAD/cs/test/compat/comm/server/Program.cs | ghcode:00159:c3962101f504 | mit | codeparrot/github-code | c3962101f504a28bbe69f36af37d08f5156099cf064855bba4b734b3c956d53c | 0.85 | testing_debugging_repair_refactoring | 809 | false | 2026-07-17 |
using System;
using System.Globalization;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Renci.SshNet.Sftp;
namespace Renci.SshNet.Tests.Classes.Sftp
{
[TestClass]
public class SftpFileStreamTest_CanWrite_SessionOpen_FileAccessReadWrite
{
private ... | GenericHero/SSH.NET | src/Renci.SshNet.Tests/Classes/Sftp/SftpFileStreamTest_CanWrite_SessionOpen_FileAccessReadWrite.cs | https://github.com/GenericHero/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileStreamTest_CanWrite_SessionOpen_FileAccessReadWrite.cs | ghcode:00159:682be6a5b9bc | mit | codeparrot/github-code | 682be6a5b9bc863833ebc40b6ea416ada36e097b8d1037672d54374cffc546a1 | 0.75 | testing_debugging_repair_refactoring | 554 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Melanchall.DryWetMidi.MusicTheory;
using NUnit.Framework;
namespace Melanchall.DryWetMidi.Tests.MusicTheory
{
[TestFixture]
public sealed class ChordUtilitiesTests
{
#region Test methods
[Test]
public void Ge... | melanchall/drywetmidi | DryWetMidi.Tests/MusicTheory/Chord/ChordUtilitiesTests.cs | https://github.com/melanchall/drywetmidi/blob/HEAD/DryWetMidi.Tests/MusicTheory/Chord/ChordUtilitiesTests.cs | ghcode:00159:a26f3eb78ded | mit | codeparrot/github-code | a26f3eb78ded5f05a5874635cbcc422b021e62567fb343528822a06dce4a6e41 | 0.75 | testing_debugging_repair_refactoring | 851 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Micr... | nguerrera/roslyn | src/Features/Core/Portable/SolutionCrawler/WorkCoordinator.AsyncWorkItemQueue.cs | https://github.com/nguerrera/roslyn/blob/HEAD/src/Features/Core/Portable/SolutionCrawler/WorkCoordinator.AsyncWorkItemQueue.cs | ghcode:00159:317db2a89dc2 | apache-2.0 | codeparrot/github-code | 317db2a89dc2eec5a69cdc66d9f411f23fbc1eec724fd3223db547cfab5971c7 | 0.85 | testing_debugging_repair_refactoring | 1,736 | false | 2026-07-17 |
//
// Copyright (c) 2004-2020 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of s... | BrutalCode/NLog | tests/NLog.UnitTests/LayoutRenderers/ProcessIdLayoutRendererTests.cs | https://github.com/BrutalCode/NLog/blob/HEAD/tests/NLog.UnitTests/LayoutRenderers/ProcessIdLayoutRendererTests.cs | ghcode:00159:a1289df5bc71 | bsd-3-clause | codeparrot/github-code | a1289df5bc716cb39d236da7d1f326305595a68994f871753506c0e0d8d0891d | 0.85 | testing_debugging_repair_refactoring | 495 | false | 2026-07-17 |
#region Copyright
//
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2017
// by DotNetNuke Corporation
//
// 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 restrict... | janjonas/Dnn.Platform | DNN Platform/Tests/DotNetNuke.Tests.Urls/TestUtil.cs | https://github.com/janjonas/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DotNetNuke.Tests.Urls/TestUtil.cs | ghcode:00159:fbb7f2dd36f3 | mit | codeparrot/github-code | fbb7f2dd36f3eb6e96ecb7aa8c3f61106d857fd1c3b25b1d0fa1d408bb181b06 | 0.95 | testing_debugging_repair_refactoring | 934 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Shouldly;
namespace Marten.Testing.Events.Utils
{
internal static class When
{
public static MultipleActionCheck<T> CalledForEach<T>(IEnumerable<T> elements, Action<T, int> action)
{
... | JasperFx/Marten | src/Marten.Testing/Events/Utils/MultipleActionCheck.cs | https://github.com/JasperFx/Marten/blob/HEAD/src/Marten.Testing/Events/Utils/MultipleActionCheck.cs | ghcode:00159:cdb01dbf37ad | mit | codeparrot/github-code | cdb01dbf37adc962de85b867ae2313e16458ead00fe15ce329fed580e5bb9e82 | 0.75 | testing_debugging_repair_refactoring | 442 | false | 2026-07-17 |
// ********************************************************************************************************
// Product Name: DotSpatial.Data.dll
// Description: The data access libraries for the DotSpatial project.
//
// **********************************************************************************************... | swsglobal/DotSpatial | Source/DotSpatial.Data/LineShapefile.cs | https://github.com/swsglobal/DotSpatial/blob/HEAD/Source/DotSpatial.Data/LineShapefile.cs | ghcode:00159:a96816e26d86 | mit | codeparrot/github-code | a96816e26d86ec8e09007554abfb76b74d6d208742261f380fa5364529a6621b | 0.85 | testing_debugging_repair_refactoring | 5,798 | false | 2026-07-17 |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using ICSharpCode.AvalonEdit.Utils;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Lin... | frenemations/WPFoverlay | WpfOverlay/bin/Debug/ICSharpCode.AvalonEdit/Document/LineManager.cs | https://github.com/frenemations/WPFoverlay/blob/HEAD/WpfOverlay/bin/Debug/ICSharpCode.AvalonEdit/Document/LineManager.cs | ghcode:00159:256572ab8184 | apache-2.0 | codeparrot/github-code | 256572ab8184c941df1dcc8871c444a0f93bef532263f829ce2a649579802ff7 | 0.7 | testing_debugging_repair_refactoring | 2,575 | false | 2026-07-17 |
using Lucene.Net.Index.Extensions;
using Lucene.Net.Support;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using Assert = Lucene.Net.TestFramework.Assert;
using JCG = J2N.Collections.Generic;
namespace Lucene.Net.Store
{
/*
* Licensed to the Apache Software Foundatio... | apache/lucenenet | src/Lucene.Net.Tests/Store/TestFileSwitchDirectory.cs | https://github.com/apache/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Store/TestFileSwitchDirectory.cs | ghcode:00159:7f11dea553d1 | apache-2.0 | codeparrot/github-code | 7f11dea553d11e644ae2a9586fab160e60dc977c70e4c2bdd06a531baca041ee | 0.85 | testing_debugging_repair_refactoring | 1,739 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="TestActor.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//---... | ali-ince/akka.net | src/contrib/persistence/Akka.Persistence.Sql.TestKit/TestActor.cs | https://github.com/ali-ince/akka.net/blob/HEAD/src/contrib/persistence/Akka.Persistence.Sql.TestKit/TestActor.cs | ghcode:00159:f46d05abbfc4 | apache-2.0 | codeparrot/github-code | f46d05abbfc46716d557a5fc56e757043a2fb1357e0ec5eefbf9fada898ca20b | 0.85 | testing_debugging_repair_refactoring | 352 | 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 Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.... | jmarolf/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenRefReadonlyReturnTests.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenRefReadonlyReturnTests.cs | ghcode:00159:ee0538e0c1a9 | mit | codeparrot/github-code | ee0538e0c1a9c3b2a48a237c08325b9a9620646c61a88f6454d77dda404eae26 | 0.95 | testing_debugging_repair_refactoring | 12,343 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Core;
using OpenQA.Selenium.Environment;
using System.Reflection;
namespace OpenQA.Selenium
{
public class WebDriverTestMethod : NUnitTestMethod
{
private bool needsDriverBefore = false;
private bool nee... | jmt4/Selenium2 | dotnet/test/WebDriver.Common.Tests/CustomTestAttributes/WebDriverTestMethod.cs | https://github.com/jmt4/Selenium2/blob/HEAD/dotnet/test/WebDriver.Common.Tests/CustomTestAttributes/WebDriverTestMethod.cs | ghcode:00159:1ab80f9e778e | apache-2.0 | codeparrot/github-code | 1ab80f9e778e7d75a38aec22b46417acd211c9d489e71c97f10a3b1f390360a6 | 0.85 | testing_debugging_repair_refactoring | 252 | 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.Runtime.CompilerServices;
using Mi... | Pvlerick/roslyn | src/Compilers/CSharp/Portable/Lowering/AsyncRewriter/AsyncMethodToStateMachineRewriter.cs | https://github.com/Pvlerick/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/AsyncRewriter/AsyncMethodToStateMachineRewriter.cs | ghcode:00159:fb9a6cad0863 | apache-2.0 | codeparrot/github-code | fb9a6cad08635c8598c5377e60a743cc875749048a14170d64fd5eb6d970a125 | 0.85 | testing_debugging_repair_refactoring | 4,619 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using Box2D.Common;
namespace Box2D.Collision.Shapes
{
public class b2PolygonShape : b2Shape
{
public b2Vec2 Centroid;
public b2Vec2[] Vertices = new b2Vec2[b2Settings.b2_maxPolygonV... | mono/CocosSharp | box2d/Collision/Shapes/b2PolygonShape.cs | https://github.com/mono/CocosSharp/blob/HEAD/box2d/Collision/Shapes/b2PolygonShape.cs | ghcode:00159:0afa9db4145c | mit | codeparrot/github-code | 0afa9db4145c53db421abf51494cd5ce22776d10526f211dfeca9fdf8fcc999e | 0.85 | testing_debugging_repair_refactoring | 3,591 | 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.Diagnostics;
using System.Runtime.CompilerServices;
usi... | iamjasonp/corefx | src/System.IO.FileSystem/src/System/IO/WinRTFileSystem.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.IO.FileSystem/src/System/IO/WinRTFileSystem.cs | ghcode:00159:f83d8a162628 | mit | codeparrot/github-code | f83d8a1626282c519d78ef5ca93b716ab93973de6dcbb607ac9b8c9d83c757f9 | 0.95 | testing_debugging_repair_refactoring | 6,304 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="ODataPayloadElementUtils.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//----------------------------... | hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataOData/Common/OData/Common/ODataPayloadElementUtils.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Common/OData/Common/ODataPayloadElementUtils.cs | ghcode:00159:8fe960cd1210 | mit | codeparrot/github-code | 8fe960cd1210a890ccff4fbc21f4c2633cf25da7cb2189f5e4e0722c2316b5a4 | 0.95 | testing_debugging_repair_refactoring | 1,592 | false | 2026-07-17 |
using System;
using Ploeh.AutoFixture.Kernel;
using Xunit;
namespace Ploeh.AutoFixtureUnitTest.Kernel
{
public class MissingParametersSupplyingMethodFactoryTests
{
[Fact]
public void SutIsIMethodFactory()
{
var owner = new object();
var sut = new MissingParamete... | sbrockway/AutoFixture | Src/AutoFixtureUnitTest/Kernel/MissingParametersSupplyingMethodFactoryTests.cs | https://github.com/sbrockway/AutoFixture/blob/HEAD/Src/AutoFixtureUnitTest/Kernel/MissingParametersSupplyingMethodFactoryTests.cs | ghcode:00159:0e658dfeb3cf | mit | codeparrot/github-code | 0e658dfeb3cfb259584f64fd4345ecb9d57f7be8f497ca95bfb90da6db2342e2 | 0.75 | testing_debugging_repair_refactoring | 289 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="LeaderLeavingSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>... | MAOliver/akka.net | src/core/Akka.MultiNodeTests/LeaderLeavingSpec.cs | https://github.com/MAOliver/akka.net/blob/HEAD/src/core/Akka.MultiNodeTests/LeaderLeavingSpec.cs | ghcode:00159:6fa7a871629d | apache-2.0 | codeparrot/github-code | 6fa7a871629d270f5628546803c114d7d7917c22a3c50e6e4e91ac5ef0d5a40d | 0.85 | testing_debugging_repair_refactoring | 1,014 | 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;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.FindSymbols;
using Roslyn.Test.Utilities;
using Xunit;
... | MatthieuMEZIL/roslyn | src/Workspaces/CoreTest/DependentTypeFinderTests.cs | https://github.com/MatthieuMEZIL/roslyn/blob/HEAD/src/Workspaces/CoreTest/DependentTypeFinderTests.cs | ghcode:00159:b3309cfe1f69 | apache-2.0 | codeparrot/github-code | b3309cfe1f69e449cd0ae6c1b8bc14fe63eaff3734554a4a1bc0529a3f5dbf53 | 0.85 | testing_debugging_repair_refactoring | 3,117 | 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.
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// SpoolingTask.cs
//
/... | ViktorHofer/corefx | src/System.Linq.Parallel/src/System/Linq/Parallel/Scheduling/SpoolingTask.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Linq.Parallel/src/System/Linq/Parallel/Scheduling/SpoolingTask.cs | ghcode:00159:c6a7d0671ccb | mit | codeparrot/github-code | c6a7d0671ccb6cebfea66da156b079d25b5f7cb6ab781bc83893ab075a07a5fc | 0.95 | testing_debugging_repair_refactoring | 3,534 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NUnit.Framework;
namespace CoreLib.Tests.Core {
[TestFixture]
public class ActivatorTests : CoreLibTestBase {}
[TestFixture]
public class AppDomainTests : CoreLibTestBase {}
[TestFixture]
public class ArgumentsTests : Co... | cezary12/SaltarelleCompiler | Runtime/CoreLib.Tests/Core/Tests.cs | https://github.com/cezary12/SaltarelleCompiler/blob/HEAD/Runtime/CoreLib.Tests/Core/Tests.cs | ghcode:00159:ed4c1298f687 | apache-2.0 | codeparrot/github-code | ed4c1298f6873b45ee37c347fd7bdb2f7f6993453256cdda8d3d9c3860ddb2c4 | 0.75 | testing_debugging_repair_refactoring | 366 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysi... | physhi/roslyn | src/Workspaces/CoreTestUtilities/Formatting/FormattingTestBase.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Workspaces/CoreTestUtilities/Formatting/FormattingTestBase.cs | ghcode:00159:ff85673ba78d | apache-2.0 | codeparrot/github-code | ff85673ba78d8fa4313c384b1439beb068c71df4c751373beac5476538d35101 | 0.85 | testing_debugging_repair_refactoring | 783 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using AutoPoco.Engine;
namespace Nest.Tests.MockData.DataSources
{
public class FloatSource : DatasourceBase<float>
{
private Random mRandom = new Random(1337);
public override float Next(IGenerationSession session)
{
float f = mRandom.Next... | Grastveit/NEST | src/Tests/Nest.Tests.MockData/DataSources/FloatSource.cs | https://github.com/Grastveit/NEST/blob/HEAD/src/Tests/Nest.Tests.MockData/DataSources/FloatSource.cs | ghcode:00159:9d8d8c6a5288 | apache-2.0 | codeparrot/github-code | 9d8d8c6a5288760e84315e4d1bda05a335c26565942a29be58d22f4c9ae827e1 | 0.85 | testing_debugging_repair_refactoring | 105 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="PropsSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//-----... | tillr/akka.net | src/core/Akka.Tests/Actor/PropsSpec.cs | https://github.com/tillr/akka.net/blob/HEAD/src/core/Akka.Tests/Actor/PropsSpec.cs | ghcode:00159:a920482e4c4c | apache-2.0 | codeparrot/github-code | a920482e4c4cfa681bda0ed40a2762bf7183e6a3369aa3b85d1875fe94ebac60 | 0.85 | testing_debugging_repair_refactoring | 768 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalys... | physhi/roslyn | src/EditorFeatures/CSharpTest/UnsealClass/UnsealClassTests.cs | https://github.com/physhi/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/UnsealClass/UnsealClassTests.cs | ghcode:00159:5dd60cf70671 | apache-2.0 | codeparrot/github-code | 5dd60cf70671eb386fb0f2342cbd14e140aaa9421620eef32b9de5ea93f2570d | 0.85 | testing_debugging_repair_refactoring | 1,147 | 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.ComponentModel.DataAnnotations
{
public class RangeAttributeTests
{
p... | shahid-pk/corefx | src/System.ComponentModel.Annotations/tests/RangeAttributeTests.cs | https://github.com/shahid-pk/corefx/blob/HEAD/src/System.ComponentModel.Annotations/tests/RangeAttributeTests.cs | ghcode:00159:5134fca2650a | mit | codeparrot/github-code | 5134fca2650a83826e978961c3bc53735eb37f59ef0ec17283597b1b0b66dda0 | 0.95 | testing_debugging_repair_refactoring | 2,260 | 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.Xml;
using OLEDB.Test.ModuleCore;
using XmlReaderTest.Common;
namespace XmlReaderTest.ReaderSettingsTest
{
public partial class TCFilte... | dkorolev/corefx | src/System.Xml.ReaderWriter/tests/Readers/ReaderSettings/TCFilterSettings.cs | https://github.com/dkorolev/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/Readers/ReaderSettings/TCFilterSettings.cs | ghcode:00159:19e3a92604a8 | mit | codeparrot/github-code | 19e3a92604a8045a69fbdcd6a61fa25a6d69c31426a59f9a868b57bd46ba57f1 | 0.95 | testing_debugging_repair_refactoring | 555 | false | 2026-07-17 |
using Xunit;
namespace Octokit.Tests.Exceptions
{
public class TwoFactorChallengeFailedExceptionTests
{
public class TheConstructor
{
[Fact]
public void SetsDefaultMessage()
{
var exception = new TwoFactorChallengeFailedException();
... | SmithAndr/octokit.net | Octokit.Tests/Exceptions/TwoFactorChallengeFailedException.cs | https://github.com/SmithAndr/octokit.net/blob/HEAD/Octokit.Tests/Exceptions/TwoFactorChallengeFailedException.cs | ghcode:00159:dd14b3068801 | mit | codeparrot/github-code | dd14b3068801759fe59e4eedbe2af8a727f1cc715cc7201b547f6409ccf3527f | 0.75 | testing_debugging_repair_refactoring | 78 | 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.
//Zip Spec here: http://www.pkware.com/documents/casestudies/APPNOTE.TXT
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnost... | fffej/corefx | src/System.IO.Compression/src/System/IO/Compression/ZipArchive.cs | https://github.com/fffej/corefx/blob/HEAD/src/System.IO.Compression/src/System/IO/Compression/ZipArchive.cs | ghcode:00159:69459bf8febc | mit | codeparrot/github-code | 69459bf8febc0198faf3d91fbb6700ccb1ef1dfd6f67b2387ee22929c8dcf928 | 0.95 | testing_debugging_repair_refactoring | 7,276 | 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.Immutable;
using System.Linq;
using Roslyn.Utilities;
using System.Diagnostics;
namespace Microsoft.CodeAnalysis
{
... | balazssimon/meta-cs | src/Main/MetaDslx.CodeAnalysis.Common/Compilation/SymbolInfo.cs | https://github.com/balazssimon/meta-cs/blob/HEAD/src/Main/MetaDslx.CodeAnalysis.Common/Compilation/SymbolInfo.cs | ghcode:00159:53ca84e2b0e5 | apache-2.0 | codeparrot/github-code | 53ca84e2b0e535943ee9ecff0882563dec18a4a3876470d9c9b8be4b6476dbb6 | 0.85 | testing_debugging_repair_refactoring | 865 | 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.Linq;
using CoreXml.Test.XLinq;
... | Ttxman/NanoTrans | xml.linq/tests/TreeManipulation/XAttributeRemove.cs | https://github.com/Ttxman/NanoTrans/blob/HEAD/xml.linq/tests/TreeManipulation/XAttributeRemove.cs | ghcode:00159:9dd87212935e | mit | codeparrot/github-code | 9dd87212935e43a50910eb4f4af926d04d8d1812d12baef907fab993e533a022 | 0.95 | testing_debugging_repair_refactoring | 2,631 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace TypeLite.Tests.RegressionTests {
public class Issue44_EnumsWithExport {
[Fact]
public void WhenEnumIsGenerated_ItHasExportKeyword() {
var builder =... | BluestoneEU/TypeGap | LukasKabrt-typelite-076249af9d12/TypeLite.Tests/RegressionTests/Issue44_EnumsWithExport.cs | https://github.com/BluestoneEU/TypeGap/blob/HEAD/LukasKabrt-typelite-076249af9d12/TypeLite.Tests/RegressionTests/Issue44_EnumsWithExport.cs | ghcode:00159:e8917bbc4c19 | mit | codeparrot/github-code | e8917bbc4c1941fdaf3ccc2d4887956ba0aff4d49fcfb3f68b77bf032631cd9b | 0.75 | testing_debugging_repair_refactoring | 165 | false | 2026-07-17 |
using NUnit.Framework;
using PoESkillTree.Computation.Common.Parsing;
using PoESkillTree.Computation.Parsing.Referencing;
using static PoESkillTree.Computation.Parsing.Tests.Referencing.MatcherMocks;
namespace PoESkillTree.Computation.Parsing.Tests.Referencing
{
[TestFixture]
public class ReferenceValidatorTe... | l0g0sys/PoESkillTree | PoESkillTree.Computation.Parsing.Tests/Referencing/ReferenceValidatorTest.cs | https://github.com/l0g0sys/PoESkillTree/blob/HEAD/PoESkillTree.Computation.Parsing.Tests/Referencing/ReferenceValidatorTest.cs | ghcode:00159:e53edf83140f | mit | codeparrot/github-code | e53edf83140ffa82db28f4f6ba7da4ee9e7809996673ae9389e584f6c762b587 | 0.6 | testing_debugging_repair_refactoring | 1,256 | false | 2026-07-17 |
using System.Globalization;
using FluentAssertions;
using Xunit;
namespace Meziantou.Framework.Tests;
public class DefaultConverterTests_ByteArrayTo
{
[Fact]
public void TryConvert_ByteArrayToString_Base64()
{
var converter = new DefaultConverter();
var cultureInfo = CultureInfo.InvariantC... | meziantou/Meziantou.Framework | tests/Meziantou.Framework.TypeConverter.Tests/DefaultConverterTests_ByteArrayTo.cs | https://github.com/meziantou/Meziantou.Framework/blob/HEAD/tests/Meziantou.Framework.TypeConverter.Tests/DefaultConverterTests_ByteArrayTo.cs | ghcode:00159:2b8dab68ee72 | mit | codeparrot/github-code | 2b8dab68ee72433285eb66861663faeb18a151a6abf7885ff735a50261d8f838 | 0.75 | testing_debugging_repair_refactoring | 333 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using mstest = Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MCEControl.xUnit
{
public class CommandInvokerTests
{
... | tig/mcec | tests/MCEControl.xUnit/CommandInvokerTests.cs | https://github.com/tig/mcec/blob/HEAD/tests/MCEControl.xUnit/CommandInvokerTests.cs | ghcode:00159:d9c59de5f4ce | mit | codeparrot/github-code | d9c59de5f4cec0d5f7f2bd7126f6245beacb15b4a6b011482137e4d14a2ebdff | 0.85 | testing_debugging_repair_refactoring | 926 | false | 2026-07-17 |
// This file was auto-generated based on version 1.3.0 of the canonical data.
using System;
using System.Collections.Generic;
using Xunit;
public class NucleotideCountTest
{
[Fact]
public void Empty_strand()
{
var expected = new Dictionary<char, int>
{
['A'] = 0,
['... | neiesc/Problem-solving | Exercism/csharp/nucleotide-count/NucleotideCountTest.cs | https://github.com/neiesc/Problem-solving/blob/HEAD/Exercism/csharp/nucleotide-count/NucleotideCountTest.cs | ghcode:00159:512611d978a2 | mit | codeparrot/github-code | 512611d978a263e735a8b1bbba8dabd6988732b586fed1708f00607d18717a4f | 0.6 | testing_debugging_repair_refactoring | 428 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace CorpAlgoCourse.Spock
{
/// <summary>
/// Codeforces: Fence
/// https://codeforces.com/gym/269631/problem/G
/// </summary>
[Trait("Category", "Corporate Algorithmic Course: Spock, HW 1.2")]
public class Fen... | tim-f/Education | src/Algorithms/CorpAlgoCourse/Spock/HW-1-2/G-Fence.cs | https://github.com/tim-f/Education/blob/HEAD/src/Algorithms/CorpAlgoCourse/Spock/HW-1-2/G-Fence.cs | ghcode:00159:c793ffc1ad71 | mit | codeparrot/github-code | c793ffc1ad711bcdf2d2348cde4027d1ebb206e622c8506285bd58aef672afb1 | 0.7 | testing_debugging_repair_refactoring | 569 | false | 2026-07-17 |
using Ducode.Wolk.Infrastructure.Impl;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Ducode.Wolk.Infrastructure.Tests
{
[TestClass]
public class MimeServiceTests
{
private readonly MimeService _service = new MimeService();
[DataTestMethod]
[DataRow("jpg",... | dukeofharen/wolk | src/Ducode.Wolk.Infrastructure.Tests/MimeServiceTests.cs | https://github.com/dukeofharen/wolk/blob/HEAD/src/Ducode.Wolk.Infrastructure.Tests/MimeServiceTests.cs | ghcode:00159:829952bf2ec4 | mit | codeparrot/github-code | 829952bf2ec42a692c652740b81562f16069af70f6fd07b6b057f01ab0a2f75f | 0.75 | testing_debugging_repair_refactoring | 144 | false | 2026-07-17 |
using System;
using System.Xaml;
using BudgetAnalyser.Engine.Ledger.Data;
using BudgetAnalyser.Engine.UnitTest.TestData;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BudgetAnalyser.Engine.UnitTest.Ledger
{
[TestClass]
public class LedgerBookDtoTest
{
[TestMethod]
public vo... | Benrnz/BudgetAnalyser | BudgetAnalyser.Engine.UnitTest/Ledger/LedgerBookDtoTest.cs | https://github.com/Benrnz/BudgetAnalyser/blob/HEAD/BudgetAnalyser.Engine.UnitTest/Ledger/LedgerBookDtoTest.cs | ghcode:00159:7ca542978f28 | mit | codeparrot/github-code | 7ca542978f28941a9b0b72f58451c196c0c538b0d179bec57427277b3ed5dd45 | 0.6 | testing_debugging_repair_refactoring | 162 | false | 2026-07-17 |
using Entitas;
using NUnit.Framework;
using UnityEngine;
class GameStartSystemTests
{
[Test]
public void game_init()
{
//given
var pools = Pools.sharedInstance;
TestsHelper.setPools(pools);
var system = (ReactiveSystem)pools.input.CreateSystem(new GameStartSystem());
... | KuaileY/DungeonsGame | DungeonsGame/Assets/Tests/Editor/Unity/GameStartSystemTests.cs | https://github.com/KuaileY/DungeonsGame/blob/HEAD/DungeonsGame/Assets/Tests/Editor/Unity/GameStartSystemTests.cs | ghcode:00159:a46edaea5174 | mit | codeparrot/github-code | a46edaea5174ce37747e7175b5a3f9e9e5515f2b49dc15cc5a7f11bb8b7a636b | 0.95 | testing_debugging_repair_refactoring | 101 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
namespace Tested.Tests.AggregatorTests
{
[TestFixture]
public class MoqStubsTests
{
[Test]
public void MoqStubsTest()
{
// Arrange
var depend = Mock.Of<IDepend>();
var another = Mock.Of<IAnother>(t => t.Calabanga... | KozhevnikovDmitry/MockMetrics | MockMetrics/test/data/daemon/Tested/Tested.Tests/AggregatorTests/MoqStubTests.cs | https://github.com/KozhevnikovDmitry/MockMetrics/blob/HEAD/MockMetrics/test/data/daemon/Tested/Tested.Tests/AggregatorTests/MoqStubTests.cs | ghcode:00159:45ad5fbdf234 | mit | codeparrot/github-code | 45ad5fbdf234a66786b6fd8adf87c6a92a2569def34710ec69d7d41973f24f19 | 0.95 | testing_debugging_repair_refactoring | 171 | false | 2026-07-17 |
using System;
using LibGD;
using NUnit.Framework;
[TestFixture]
public class GlobalMembersBug00079
{
[Test]
public void TestBug00079()
{
gdImageStruct im;
string path = new string(new char[1024]);
im = gd.gdImageCreateTrueColor(300, 300);
gd.gdImageFilledRectangle(im, 0,0, 299,2... | imazen/deprecated-gd-bindings-generator-old | LibGD.Tests/gdimagearc/bug00079.cs | https://github.com/imazen/deprecated-gd-bindings-generator-old/blob/HEAD/LibGD.Tests/gdimagearc/bug00079.cs | ghcode:00159:3eb0c536ea91 | mit | codeparrot/github-code | 3eb0c536ea911347c9adac9d06b070423c0d42372a558f02903f03c5dcf0aaee | 0.6 | testing_debugging_repair_refactoring | 291 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using FluentAssertions;
using KickStart.Services;
using Test.Core;
using Xunit;
namespace KickStart.Tests.Services
{
public class ConcreteTypeFilterTest
{
[Fact]
public void Assignabl... | loresoft/KickStart | test/KickStart.Tests/Services/ConcreteTypeFilterTest.cs | https://github.com/loresoft/KickStart/blob/HEAD/test/KickStart.Tests/Services/ConcreteTypeFilterTest.cs | ghcode:00159:d1e98e5c4f83 | mit | codeparrot/github-code | d1e98e5c4f83d07bcf3b851fe3793b6dca6ad48d30813e0b4a82ef0015eb79b5 | 0.6 | testing_debugging_repair_refactoring | 240 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.Library1
{
public class Class1
{
public string Foo(string msg)
{
return $"bar {msg}";
}
}
}
| qbikez/ps-csproj | test/input/test/src/Core/Core.Library1/Class1.cs | https://github.com/qbikez/ps-csproj/blob/HEAD/test/input/test/src/Core/Core.Library1/Class1.cs | ghcode:00159:dba0460bd106 | mit | codeparrot/github-code | dba0460bd1061c7f1bebd0ac8a16c9189d346f776826605190462888356cec41 | 0.85 | testing_debugging_repair_refactoring | 56 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2012 Charlie Poole, Rob Prouse
//
// 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 restri... | ggeurts/nunit | src/NUnitFramework/framework/Internal/Execution/WorkItemQueue.cs | https://github.com/ggeurts/nunit/blob/HEAD/src/NUnitFramework/framework/Internal/Execution/WorkItemQueue.cs | ghcode:00159:3a0eb02b1467 | mit | codeparrot/github-code | 3a0eb02b1467becb0e201b1828dc069b37462889b2a716272e327a567241b71a | 0.85 | testing_debugging_repair_refactoring | 2,495 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.