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.Threading.Tasks;
using NSubstitute;
using Xunit;
namespace Octokit.Tests.Clients
{
public class IssueCommentReactionsClientTests
{
public class TheCtor
{
[Fact]
public void EnsuresNonNullArguments()
{
Assert.Throws<... | alfhenrik/octokit.net | Octokit.Tests/Clients/IssueCommentReactionsClientTests.cs | https://github.com/alfhenrik/octokit.net/blob/HEAD/Octokit.Tests/Clients/IssueCommentReactionsClientTests.cs | ghcode:00160:941a824e00f8 | mit | codeparrot/github-code | 941a824e00f85b6a54679f4a48815220ba9f5e6d7fc5b353d83b3310e752df31 | 0.75 | testing_debugging_repair_refactoring | 1,194 | false | 2026-07-17 |
using XCommon.Patterns.Ioc;
using Xunit;
using FluentAssertions;
using System;
using XCommon.Test.Patterns.Ioc.Sample;
namespace XCommon.Test.Patterns.Ioc
{
public class KernelTest
{
public KernelTest()
{
Kernel.Reset();
}
[Fact(DisplayName = "Map (Simple, valid - i... | marviobezerra/XCommon | test/XCommon.Test/Patterns/Ioc/KernelTest.cs | https://github.com/marviobezerra/XCommon/blob/HEAD/test/XCommon.Test/Patterns/Ioc/KernelTest.cs | ghcode:00160:f78254ae15bd | mit | codeparrot/github-code | f78254ae15bd20392c9f0d225f91783f36091862fb7d067d52003da847efc0e4 | 0.75 | testing_debugging_repair_refactoring | 2,897 | 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.Models
{
/// <summary>
/// Defines values for ApplicationGatewayProtocol.
/// </summary>
public static class Applicati... | sergey-shandar/autorest | Samples/test/end-to-end/network/Client/Models/ApplicationGatewayProtocol.cs | https://github.com/sergey-shandar/autorest/blob/HEAD/Samples/test/end-to-end/network/Client/Models/ApplicationGatewayProtocol.cs | ghcode:00160:37208fea93cc | mit | codeparrot/github-code | 37208fea93cce42d501235ef989cc53c122c0cc5839c2cba5beee752b082d4c3 | 0.95 | testing_debugging_repair_refactoring | 96 | false | 2026-07-17 |
using System;
using System.IO;
using MidiUtils.Sequencer;
using NUnit.Framework;
namespace UnitTest
{
[TestFixture]
public class SequencerTest
{
[Test]
[TestCase("mini.mid")]
[TestCase("empty.mid")]
public void CtorTest(string filename)
{
var inputFilepa... | nanase/MidiUtils | test/UnitTest/SequencerTest.cs | https://github.com/nanase/MidiUtils/blob/HEAD/test/UnitTest/SequencerTest.cs | ghcode:00160:06fb6ed3fe5e | mit | codeparrot/github-code | 06fb6ed3fe5e2b295b54192b874009647dd433764f828785f30e8cd76c17bd3e | 0.6 | testing_debugging_repair_refactoring | 185 | false | 2026-07-17 |
// ---------------------------------------------------------------------------------------
// <copyright file="StaticTests.cs" company="Corale">
// Copyright © 2015-2016 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this softwar... | WolfspiritM/Colore | Corale.Colore.Tests/Razer/Keyboard/Effects/StaticTests.cs | https://github.com/WolfspiritM/Colore/blob/HEAD/Corale.Colore.Tests/Razer/Keyboard/Effects/StaticTests.cs | ghcode:00160:e89c1e964c0b | mit | codeparrot/github-code | e89c1e964c0bf35e61bc9a62e647f7b75f453440a6faf1ad5b58dab0c16407d4 | 0.85 | testing_debugging_repair_refactoring | 379 | false | 2026-07-17 |
using J2N.IO;
using J2N.IO.MemoryMappedFiles;
using J2N.Numerics;
using Lucene.Net.Support;
using System;
using System.Diagnostics;
using System.IO;
using System.IO.MemoryMappedFiles;
namespace Lucene.Net.Store
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor licens... | Ref12/Codex | lucenenet/src/Lucene.Net/Store/MMapDirectory.cs | https://github.com/Ref12/Codex/blob/HEAD/lucenenet/src/Lucene.Net/Store/MMapDirectory.cs | ghcode:00160:46ed2146f81e | mit | codeparrot/github-code | 46ed2146f81e88a62e54c895c966cb81ff75979819f50b9f7a5f5a8c753e3d78 | 0.95 | testing_debugging_repair_refactoring | 3,378 | false | 2026-07-17 |
// TestingStringMethodCompare.cs (c) 2004 Kari Laitinen
// www.naturalprogramming.com
// 12.09.2004 C# file created.
// 12.09.2004 Last modification
using System ;
class TestingStringMethodCompare
{
static void Main()
{
int comparison_result = 0 ;
comparison_result = S... | Mitali-Sodhi/CodeLingo | Dataset/cs/TestingStringMethodCompare.cs | https://github.com/Mitali-Sodhi/CodeLingo/blob/HEAD/Dataset/cs/TestingStringMethodCompare.cs | ghcode:00160:fac42e1b5a27 | mit | codeparrot/github-code | fac42e1b5a27a5ba1b25e1acb1a6a51e04c29c5a82fd192926d9983917bacf54 | 0.85 | testing_debugging_repair_refactoring | 580 | false | 2026-07-17 |
using System.Linq;
using NUnit.Framework;
namespace Tests.LINQMethods
{
[TestFixture]
public class SkipWhile_WithIndex : LINQQueryableInventoryMethodTestBase<IntegratedTestsBase.InventorySelect>
{
protected override IQueryable<InventorySelect> GetQuery(IQueryable<InventorySelect> source)
{
... | SolutionheadOpenTech/EF-Split-Projector | Tests/LINQMethods/SkipWhile_WithIndex.cs | https://github.com/SolutionheadOpenTech/EF-Split-Projector/blob/HEAD/Tests/LINQMethods/SkipWhile_WithIndex.cs | ghcode:00160:cfaed83cd41b | mit | codeparrot/github-code | cfaed83cd41b59a04f9fbecd4363c2d5561b3da0a4725edae2ca1a91445a3f74 | 0.75 | testing_debugging_repair_refactoring | 89 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Net;
namespace DataSiftTests
{
[TestClass]
public class ODP : TestBase
{
private const string VALID_SOURCE_ID = "fa2e72e3a7ae40c2a6e86e96381d8165";
public dynamic DummyData
{
get
... | datasift/datasift-dotnet | DataSiftTests/ODP.cs | https://github.com/datasift/datasift-dotnet/blob/HEAD/DataSiftTests/ODP.cs | ghcode:00160:d1688c02ed4a | mit | codeparrot/github-code | d1688c02ed4a7ece821e9021ad28f8372d6a4e3099b6d40824cb8c3d8e8e99bb | 0.75 | testing_debugging_repair_refactoring | 394 | false | 2026-07-17 |
namespace Host.UnitTests.Serialization.UrlEncoded
{
using System;
using System.IO;
using System.Text;
using Crest.Host.Serialization.UrlEncoded;
using FluentAssertions;
using Xunit;
public class UrlEncodedStreamWriterTests : IDisposable
{
private readonly byte[] keyValue = new b... | samcragg/Crest | test/Host.UnitTests/Serialization/UrlEncoded/UrlEncodedStreamWriterTests.cs | https://github.com/samcragg/Crest/blob/HEAD/test/Host.UnitTests/Serialization/UrlEncoded/UrlEncodedStreamWriterTests.cs | ghcode:00160:d2dcf6a799e9 | mit | codeparrot/github-code | d2dcf6a799e9839563ed54d07a9b9d67222719b739cfbebb450c48c02b4ebffc | 0.85 | testing_debugging_repair_refactoring | 1,459 | false | 2026-07-17 |
using B2Net.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
namespace B2Net.Tests {
[TestClass]
public class PublicFileTests : BaseTest {
private B2Bucket TestBucket = new B2Bucket();
private B2Client Client = null;
private ... | coryrwest/B2.NET | tests/PublicFileTests.cs | https://github.com/coryrwest/B2.NET/blob/HEAD/tests/PublicFileTests.cs | ghcode:00160:01d8bc2c0870 | mit | codeparrot/github-code | 01d8bc2c087031d9cc6e4607f4b71c592ece8e2bdc9a6c84a96f5818bfacf57f | 0.85 | testing_debugging_repair_refactoring | 544 | false | 2026-07-17 |
using AzureFromTheTrenches.Commanding.Abstractions;
namespace AzureFromTheTrenches.Commanding.Tests.Acceptance.Helpers
{
public class SimpleCommandWithNoResult : ICommand
{
}
}
| JamesRandall/AccidentalFish.Commanding | Tests/AzureFromTheTrenches.Commanding.Tests.Acceptance/Helpers/SimpleCommandWithNoResult.cs | https://github.com/JamesRandall/AccidentalFish.Commanding/blob/HEAD/Tests/AzureFromTheTrenches.Commanding.Tests.Acceptance/Helpers/SimpleCommandWithNoResult.cs | ghcode:00160:ebe8c20ff77f | mit | codeparrot/github-code | ebe8c20ff77fccd0d2e8a4a37b2659b603ca82ba63325d5f44841eb880cb2338 | 0.5 | testing_debugging_repair_refactoring | 42 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
namespace Net.Code.ADONet.Tests.Unit
{
class FakeConnection : DbConnection
{
public Action OnDispose { get; }
public FakeConnection()
{
Commands = new List<FakeCommand>();
... | jhgbrt/yadal | Net.Code.ADONet.Tests.Unit/Fakes/FakeConnection.cs | https://github.com/jhgbrt/yadal/blob/HEAD/Net.Code.ADONet.Tests.Unit/Fakes/FakeConnection.cs | ghcode:00160:0d97b98b4755 | mit | codeparrot/github-code | 0d97b98b475500dd2d9007f54ae1957bdc46d57747accb4eddf620e33fb40b86 | 0.75 | testing_debugging_repair_refactoring | 265 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using CURSOR = Contoso.Core.BtreeCursor.CursorState;
using DbPage = Contoso.Core.PgHdr;
using Pgno = System.UInt32;
using PTRMAP = Contoso.Core.MemPage.PTRMAP;
using SAVEPOINT = Contoso.Core.Pager.SAVEPOINT;
using VFSOPEN = Contoso.IO.VirtualFileSystem.OPEN;
using LOCK =... | Grimace1975/gpustructs | src/Structs.Data.Btree/Core+Btree/Btree+Internal.cs | https://github.com/Grimace1975/gpustructs/blob/HEAD/src/Structs.Data.Btree/Core+Btree/Btree+Internal.cs | ghcode:00160:21a2c5e1d25d | mit | codeparrot/github-code | 21a2c5e1d25d0e5b758ed013d95cdcf05fd8143405798cc1dad71df4aa3e05b4 | 0.85 | testing_debugging_repair_refactoring | 3,151 | false | 2026-07-17 |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Threading;
using Syste... | ronnymgm/csla-light | Source/Csla.Analyzers/Csla.Analyzers.Tests/EvaluateManagedBackingFieldsCodeFixTests.cs | https://github.com/ronnymgm/csla-light/blob/HEAD/Source/Csla.Analyzers/Csla.Analyzers.Tests/EvaluateManagedBackingFieldsCodeFixTests.cs | ghcode:00160:978c2a43973c | mit | codeparrot/github-code | 978c2a43973ce0bff2ac9f461f17da69b3f6851635932432022e73bc963f584b | 0.75 | testing_debugging_repair_refactoring | 667 | false | 2026-07-17 |
using Xunit;
using UnitTest.DummyClasses;
#if ON_VISUAL_STUDIO
using FactAttribute = Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute;
using TestClassAttribute = Microsoft.VisualStudio.TestTools.UnitTesting.TestClassAttribute;
using ClassInitializeAttribute = Microsoft.VisualStudio.TestTools.UnitTesti... | SunriseDigital/cs-sdx | UnitTest/Sdx/Db/Adapter.cs | https://github.com/SunriseDigital/cs-sdx/blob/HEAD/UnitTest/Sdx/Db/Adapter.cs | ghcode:00160:6e0f66c14cb3 | mit | codeparrot/github-code | 6e0f66c14cb3826f494d2c53bb6fa0e6ea57c9fdb5f22ed85074592450035956 | 0.85 | testing_debugging_repair_refactoring | 1,577 | false | 2026-07-17 |
namespace Strinken.Tests.FiltersTests;
public class LowerFilterTests
{
[Fact]
public void Resolve_Data_ReturnsDataToLowerCase()
{
var filter = new LowerFilter();
filter.Resolve("DAta", Array.Empty<string>()).Should().Be("data");
}
[Fact]
public void Validate_NoArguments_Return... | k94ll13nn3/Strinken | tests/Strinken.Tests/FiltersTests/LowerFilterTests.cs | https://github.com/k94ll13nn3/Strinken/blob/HEAD/tests/Strinken.Tests/FiltersTests/LowerFilterTests.cs | ghcode:00160:e8ee6c42be7d | mit | codeparrot/github-code | e8ee6c42be7d7ed449f3082e2b598fb991ce1e0bcce4f4ccb094433b50ee3917 | 0.75 | testing_debugging_repair_refactoring | 373 | false | 2026-07-17 |
using Mustache.Reports.Domain;
using Mustache.Reports.Domain.Pdf;
using Mustache.Reports.Domain.Report;
using Mustache.Reports.Domain.Report.Word;
using Mustache.Reports.UseCase.Pdf;
using Mustache.Reports.UseCase.Word;
using NSubstitute;
using StoneAge.CleanArchitecture.Domain.Messages;
using StoneAge.CleanAr... | T-rav/Reference-CleanArchitecture-DotNet | Mustache.Reports.UseCase.Tests/Pdf/RenderAsWordThenPdfUseCaseTests.cs | https://github.com/T-rav/Reference-CleanArchitecture-DotNet/blob/HEAD/Mustache.Reports.UseCase.Tests/Pdf/RenderAsWordThenPdfUseCaseTests.cs | ghcode:00160:fd189bd4b8f3 | mit | codeparrot/github-code | fd189bd4b8f319da65a59a5eef02614e3934c8fe491037b8f71f282ae40a6554 | 0.85 | testing_debugging_repair_refactoring | 458 | false | 2026-07-17 |
using Diagnostics.Tracing.StackSources;
using Microsoft.Diagnostics.Tracing.Stacks;
using PerfView.TestUtilities;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xunit;
namespace LinuxTracing.Tests
{
public class EventParseTests
{
private void DoStackTraceTest(string path, ... | vancem/perfview | src/LinuxEvent.Tests/EventParseTests.cs | https://github.com/vancem/perfview/blob/HEAD/src/LinuxEvent.Tests/EventParseTests.cs | ghcode:00160:a58a4a270173 | mit | codeparrot/github-code | a58a4a27017332ec51fb2d5bbb48bb136e8be4a052f1e1d69c28c2626734fe47 | 0.75 | testing_debugging_repair_refactoring | 2,099 | false | 2026-07-17 |
namespace SignalXLib.Tests
{
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SignalXLib.Lib;
using SignalXLib.TestHelperLib;
[TestClass]
public class when_server_receives_message_from_multiple_clients
{
static readonly i... | signalx/dev | SignalX.Tests/IntegrationTests/when_server_receives_message_from_multiple_clients.cs | https://github.com/signalx/dev/blob/HEAD/SignalX.Tests/IntegrationTests/when_server_receives_message_from_multiple_clients.cs | ghcode:00160:e598229dec5f | mit | codeparrot/github-code | e598229dec5fc420ca09bbc31963837774698f1b35c0f1ff65080dc0bcf925eb | 0.75 | testing_debugging_repair_refactoring | 2,780 | false | 2026-07-17 |
using Csjtter.http;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Csjtter.test {
public class MainTest {
public void mainTest() {
string json="{\"errors\":[{\"message\":\"Sorry, that pag... | MeilCli/Csjtter | src/Csjtter/test/MainTest.cs | https://github.com/MeilCli/Csjtter/blob/HEAD/src/Csjtter/test/MainTest.cs | ghcode:00160:9db65e109806 | mit | codeparrot/github-code | 9db65e109806f92999707fb5a4a3458684fe6e4c0a507d5221c275dbdf17bf61 | 0.85 | testing_debugging_repair_refactoring | 149 | false | 2026-07-17 |
namespace Automaty.Samples.Test
{
using System.IO;
using Automaty.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class EFCoreMSBuildTest
{
protected const string ProjectDirectoryPath = "./samples/Automaty.Samples.EFCore.MSBuild/";
protected const string ProjectFilePath = "Autom... | Dresel/Automaty | test/Automaty.Samples.Test/EFCoreMSBuildTest.cs | https://github.com/Dresel/Automaty/blob/HEAD/test/Automaty.Samples.Test/EFCoreMSBuildTest.cs | ghcode:00160:ce62b546364c | mit | codeparrot/github-code | ce62b546364c2f889bf64183c1fcb197ceb4ec3ec3bb40ec112e1d1e2f05bbb1 | 0.6 | testing_debugging_repair_refactoring | 268 | false | 2026-07-17 |
using System.Net;
using CommonTestTools;
using CommonTestTools.Contracts;
using NUnit.Framework;
using TNT.Api;
using TNT.Exceptions.Remote;
using TNT.Presentation.ReceiveDispatching;
using TNT.Tcp;
namespace TNT.IntegrationTests.TcpLocalhost
{
[TestFixture]
public class TcpConnectionTest
{
[Test]... | tmteam/TheNetTunnel | tests/TNT.Intergration.Tests/TcpLocalhost/TcpConnectionTest.cs | https://github.com/tmteam/TheNetTunnel/blob/HEAD/tests/TNT.Intergration.Tests/TcpLocalhost/TcpConnectionTest.cs | ghcode:00160:ef1c68c8f1b3 | mit | codeparrot/github-code | ef1c68c8f1b36ad15ae834638b1f5b139324731f9318f7b40a779c5ddfec43a6 | 0.6 | testing_debugging_repair_refactoring | 496 | false | 2026-07-17 |
using Shouldly;
using Xunit;
namespace Valit.Tests.Int16
{
public class Int16_Required_Tests
{
[Fact]
public void Int16_Required_For_Nullable_Value_Throws_When_Null_Rule_Is_Given()
{
var exception = Record.Exception(() => {
((IValitRule<Model, short?>)null)
... | valit-stack/Valit | tests/Valit.Tests/Int16/Int16_Required_Tests.cs | https://github.com/valit-stack/Valit/blob/HEAD/tests/Valit.Tests/Int16/Int16_Required_Tests.cs | ghcode:00160:aed32619d147 | mit | codeparrot/github-code | aed32619d147d49a766d12d6c13ac504f60eb0c9135bfc9c27efc9f06a1a2677 | 0.75 | testing_debugging_repair_refactoring | 298 | false | 2026-07-17 |
using int32.Utils.Core.Extensions;
using int32.Utils.Core.Generic.Repository.Contracts;
using int32.Utils.Core.Generic.Singleton;
namespace Tests.Samples
{
public class SampleModel
{
// ReSharper disable once InconsistentNaming
private string _test = "a";
private string Internal { get... | int32at/utils | src/Tests/Samples/SampleModel.cs | https://github.com/int32at/utils/blob/HEAD/src/Tests/Samples/SampleModel.cs | ghcode:00160:2f0ec352cd83 | mit | codeparrot/github-code | 2f0ec352cd83ecfe369f9c851311fee59cd682f094a1609ee837579885951c0e | 0.85 | testing_debugging_repair_refactoring | 196 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Diagnostics;
using DataStructures.Graphs;
namespace C_Sharp_Algorithms.DataStructuresTests
{
public static class Graphs_DirectedWeightedDenseGraphTest
{
public static void DoTest()
{
var graph = new DirectedWeightedDenseGraph<string>()... | qdimka/C-Sharp-Algorithms | MainProgram/DataStructuresTests/Graphs_DirectedWeightedDenseGraphTest.cs | https://github.com/qdimka/C-Sharp-Algorithms/blob/HEAD/MainProgram/DataStructuresTests/Graphs_DirectedWeightedDenseGraphTest.cs | ghcode:00160:5461e39e34ff | mit | codeparrot/github-code | 5461e39e34ff569d33d92a7768b9e1df82c91def5413177fae65ac551efb794c | 0.7 | testing_debugging_repair_refactoring | 1,968 | false | 2026-07-17 |
using Ipfs.Http;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
using System.IO;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Ipfs.Http
{
[TestClass]
public class FileSystemNodeTest
{
[TestMethod]
public async Task... | richardschneider/net-ipfs-api | test/FileSystemNodeTest.cs | https://github.com/richardschneider/net-ipfs-api/blob/HEAD/test/FileSystemNodeTest.cs | ghcode:00160:d985009b760a | mit | codeparrot/github-code | d985009b760abaa413686bfbdf9bd532993bc23efe33d7965d56d01f5bed7844 | 0.6 | testing_debugging_repair_refactoring | 215 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Syntaxiom.Exceptions;
namespace Syntaxiom.Liquid.Tests.Integration.Original
{
[TestFixture]
public class PassingQuirksTests : TagTestsBase
{
[Test]
public void TestParsingCss()
{
const string css = " div { font-weight: bold; } ... | SteveLillis/Syntaxiom | src/Syntaxiom.Liquid.Tests/Integration/Original/PassingQuirksTests.cs | https://github.com/SteveLillis/Syntaxiom/blob/HEAD/src/Syntaxiom.Liquid.Tests/Integration/Original/PassingQuirksTests.cs | ghcode:00160:443e882b22be | mit | codeparrot/github-code | 443e882b22be49063f172f5305bd6afe341e51eb4a6d6c1806028a4944ad1ffe | 0.85 | testing_debugging_repair_refactoring | 1,097 | false | 2026-07-17 |
using JetBrains.Annotations;
using OpenQA.Selenium;
namespace AlphaDev.Web.Tests.Integration.Extensions
{
public static class WebElementExtensions
{
public static string GetInnerHtml([NotNull] this IWebElement element) => element.GetAttribute("innerHTML");
}
} | OlegKleyman/AlphaDev | tests/integration/AlphaDev.Web.Tests.Integration/Extensions/WebElementExtensions.cs | https://github.com/OlegKleyman/AlphaDev/blob/HEAD/tests/integration/AlphaDev.Web.Tests.Integration/Extensions/WebElementExtensions.cs | ghcode:00160:eabc2dee9861 | unlicense | codeparrot/github-code | eabc2dee986189039b392f6a4e90a1f4e2e1d426b74167cccf35c46e8bf7b7d3 | 0.68 | testing_debugging_repair_refactoring | 53 | false | 2026-07-17 |
/*
Copyright 2011-2020 Rolf Michelsen
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 ... | rolfmichelsen/dragontools | DragonTools.test/Tape/DragonFileNameTest.cs | https://github.com/rolfmichelsen/dragontools/blob/HEAD/DragonTools.test/Tape/DragonFileNameTest.cs | ghcode:00160:a5cc9247873c | apache-2.0 | codeparrot/github-code | a5cc9247873c418253dee5d26cd8ed2d73d8243cb42b260b01fe065bc19c1779 | 0.6 | testing_debugging_repair_refactoring | 334 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Net;
using Orchestrate.Io;
using Xunit;
public class ListTests : IClassFixture<ListTestFixture>
{
Collection collection;
public ListTests(ListTestFixture listTestFixture)
{
collection = listTestFixture.Collection;
}
[Fact]
... | CenturyLinkCloud/Orchestrate-.NET-SDK | Orchestrate.Tests/Integration Tests/ListTests.cs | https://github.com/CenturyLinkCloud/Orchestrate-.NET-SDK/blob/HEAD/Orchestrate.Tests/Integration Tests/ListTests.cs | ghcode:00160:a71d267b580b | apache-2.0 | codeparrot/github-code | a71d267b580b110c5a35a0bab030a0f81fa4a5f5b2b62c8c4efe4bbadc6b5a5a | 0.75 | testing_debugging_repair_refactoring | 688 | false | 2026-07-17 |
namespace _11.AttributeImplimentation
{
using System;
//11.Create a [Version] attribute that can be applied to structures, classes, interfaces, enumerations and methods and holds a version in the format major.minor (e.g. 2.11). Apply the version attribute to a sample class and display its version at runtime.
... | iliantrifonov/TelerikAcademy | OOP/2.Defining Classes II/DefiningClassesII/11.AttributeImplimentation/TestAttributes.cs | https://github.com/iliantrifonov/TelerikAcademy/blob/HEAD/OOP/2.Defining Classes II/DefiningClassesII/11.AttributeImplimentation/TestAttributes.cs | ghcode:00160:e8278eb22933 | apache-2.0 | codeparrot/github-code | e8278eb22933a13221ab57164c0d460c5a781f00afcb387b94e0f2b35e011988 | 0.75 | testing_debugging_repair_refactoring | 154 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Knightware
{
[TestClass]
public class TimedCacheWeakReferenceTests
{
public class TestObject
{
public string Name { get... | dsmithson/KnightwareCore | src/KnightwareCoreTests/TimedCacheWeakReferenceTests.cs | https://github.com/dsmithson/KnightwareCore/blob/HEAD/src/KnightwareCoreTests/TimedCacheWeakReferenceTests.cs | ghcode:00160:11d9f78d5dfc | apache-2.0 | codeparrot/github-code | 11d9f78d5dfcc561cc217578c45aae4124ef592c27d7344944f2145f4f9b630f | 0.85 | testing_debugging_repair_refactoring | 290 | false | 2026-07-17 |
using System;
using System.Linq;
using Moq;
using NUnit.Framework;
// ReSharper disable ReturnValueOfPureMethodIsNotUsed
namespace Freya.WFEngine.Tests.WorkflowTests
{
public class WhenNewWorkflowIsCreated : SpecificationBase
{
private Workflow<SpecificationBase> workflow;
public... | modulexcite/Freya.WFEngine | Freya.WFEngine.Tests/WorkflowTests/WhenNewWorkflowIsCreated.cs | https://github.com/modulexcite/Freya.WFEngine/blob/HEAD/Freya.WFEngine.Tests/WorkflowTests/WhenNewWorkflowIsCreated.cs | ghcode:00160:d4656791ac5f | apache-2.0 | codeparrot/github-code | d4656791ac5f93036a1ca22f5721e19145cb9cd257051948c7cc9fd0c10a0443 | 0.75 | testing_debugging_repair_refactoring | 245 | false | 2026-07-17 |
// -----------------------------------------------------------------------------------------
// <copyright file="TestBase.cs" company="Microsoft">
// Copyright 2012 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance wi... | takekazuomi/azure-sdk-for-net | microsoft-azure-api/Services/Storage/Test/Unit/Common/TestBase.cs | https://github.com/takekazuomi/azure-sdk-for-net/blob/HEAD/microsoft-azure-api/Services/Storage/Test/Unit/Common/TestBase.cs | ghcode:00160:e0d30948a27c | apache-2.0 | codeparrot/github-code | e0d30948a27c23072f9f5684174310740ce8db7aa4e702d4aa0b23069ff819c9 | 0.95 | testing_debugging_repair_refactoring | 497 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Lucene.Net.Documents;
using Lucene.Net.Index;
using Lucene.Net.Store;
using Lucene.Net.Support;
using NUnit.Framework;
namespace Lucene.Net.Search
{
using BytesRef = Lucene.Net.Util.BytesRef;
using DefaultSimilarity = Lucene.Net.Search.Similarities.DefaultS... | laimis/lucenenet | src/Lucene.Net.Tests/Search/TestElevationComparator.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Search/TestElevationComparator.cs | ghcode:00160:be20dde4c86d | apache-2.0 | codeparrot/github-code | be20dde4c86d0c72c127a91a882acc706f25860d4efbc09e675e1b968ded8e8f | 0.85 | testing_debugging_repair_refactoring | 1,907 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="CustomClaimsAuthenticationManagerFixture.cs" company="Rare Crowds Inc.">
// Copyright 2012-2013 Rare Crowds, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except i... | chinnurtb/OpenAdStack | OAuthSecurity/SecurityUnitTests/CustomClaimsAuthenticationManagerFixture.cs | https://github.com/chinnurtb/OpenAdStack/blob/HEAD/OAuthSecurity/SecurityUnitTests/CustomClaimsAuthenticationManagerFixture.cs | ghcode:00160:f22f96abe0b0 | apache-2.0 | codeparrot/github-code | f22f96abe0b0cd6d77a7875fd95340b906ffd160e594519a78274b55f6ff883e | 0.85 | testing_debugging_repair_refactoring | 2,338 | false | 2026-07-17 |
using System;
using Hudl.Common.Clock;
using Hudl.Config;
using Hudl.Mjolnir.External;
using Hudl.Mjolnir.Key;
using Hudl.Mjolnir.Metrics;
using Hudl.Mjolnir.Tests.Helper;
using Moq;
using Xunit;
namespace Hudl.Mjolnir.Tests.Stats
{
public class StandardCommandMetricsStatsTests : TestFixture
{
[Fact]
... | courtneyklatt/Mjolnir | Hudl.Mjolnir.Tests/Stats/StandardCommandMetricsStatsTests.cs | https://github.com/courtneyklatt/Mjolnir/blob/HEAD/Hudl.Mjolnir.Tests/Stats/StandardCommandMetricsStatsTests.cs | ghcode:00160:6db0c965b5fc | apache-2.0 | codeparrot/github-code | 6db0c965b5fc95df6697b48f47d0b5f0f949c2757a57b718a625fddcf51b93e6 | 0.85 | testing_debugging_repair_refactoring | 659 | false | 2026-07-17 |
/*
* Copyright (c) 2010-2021, Achim Friedland <achim.friedland@graphdefined.com>
* This file is part of Styx <https://www.github.com/Vanaheimr/Styx>
*
* 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... | Vanaheimr/Styx | StyxTests/Pipes/ComparisonFilterPipes/CollectionFilterPipeTests.cs | https://github.com/Vanaheimr/Styx/blob/HEAD/StyxTests/Pipes/ComparisonFilterPipes/CollectionFilterPipeTests.cs | ghcode:00160:9245a5235107 | apache-2.0 | codeparrot/github-code | 9245a5235107819ae76ca4308e2100face6ca65cccd5b737bd83e761b526e443 | 0.85 | testing_debugging_repair_refactoring | 611 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace OSky.UnitTest.Infrastructure
{
/// <summary>
/// 用于异常Exception的断言
/// </summary>
public class ExceptionAssert
{
/// <summary>
/// 获取指定代码执行所引发的异常,无异常返回null
/// </summary>
/// <param name="a... | liumeifu/OSky | tests/OSky.UnitTest.Infrastructure/ExceptionAssert.cs | https://github.com/liumeifu/OSky/blob/HEAD/tests/OSky.UnitTest.Infrastructure/ExceptionAssert.cs | ghcode:00160:1bc32724aebc | apache-2.0 | codeparrot/github-code | 1bc32724aebcbee6d4f64bced4fc4415e777666211c77d563c2f6b3eedb3bd08 | 0.85 | testing_debugging_repair_refactoring | 324 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using JetBrains.DataFlow;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.Generate;
using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.Plugins.Tests.UnityTestComponents;
using JetBrains.ReSharper.Plugins.Uni... | JetBrains/resharper-unity | resharper/resharper-unity/test/src/Unity.Tests/Unity/CSharp/Intentions/ContextActions/GenerateUnityEventFunctionsActionTest.cs | https://github.com/JetBrains/resharper-unity/blob/HEAD/resharper/resharper-unity/test/src/Unity.Tests/Unity/CSharp/Intentions/ContextActions/GenerateUnityEventFunctionsActionTest.cs | ghcode:00160:8f319c200ecc | apache-2.0 | codeparrot/github-code | 8f319c200ecc5024fa40bd8302d9f7817e7f4cf0c8c21fc54773df495a7a9599 | 0.85 | testing_debugging_repair_refactoring | 377 | false | 2026-07-17 |
using FluentAssertions;
using NPoint.Transport;
using NSubstitute;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
namespace NPoint.Tests
{
public partial class EndpointTest
{
public class Head
{
[Fact]
public void ShouldNotAcceptNullUrl(... | justinzhong/npoint | test/NPoint.Tests/EndpointTest.Head.cs | https://github.com/justinzhong/npoint/blob/HEAD/test/NPoint.Tests/EndpointTest.Head.cs | ghcode:00160:034cb2d5eb0a | apache-2.0 | codeparrot/github-code | 034cb2d5eb0a484a819a9980bcc90422b2efca2922c5551ac4007053c292fa5b | 0.7 | testing_debugging_repair_refactoring | 320 | false | 2026-07-17 |
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using System;
using ImageMagick;
using Xunit;
#if Q8
using QuantumType = System.Byte;
#elif Q16
using QuantumType = System.UInt16;
#elif Q16HDRI
using QuantumType = System.Single;
#else
#error Not imp... | dlemstra/Magick.NET | tests/Magick.NET.Tests/MagickImageTests/TheEvaluateMethod.cs | https://github.com/dlemstra/Magick.NET/blob/HEAD/tests/Magick.NET.Tests/MagickImageTests/TheEvaluateMethod.cs | ghcode:00160:36850b01e54b | apache-2.0 | codeparrot/github-code | 36850b01e54b84595da81a56e3c4f43d73270480f56b44ea62abd4d996258f19 | 0.85 | testing_debugging_repair_refactoring | 789 | 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 ... | aricooperman/jLean | orig-src/Tests/Common/Securities/ImmediateSettlementModelTests.cs | https://github.com/aricooperman/jLean/blob/HEAD/orig-src/Tests/Common/Securities/ImmediateSettlementModelTests.cs | ghcode:00160:c5a1e53b5a5a | apache-2.0 | codeparrot/github-code | c5a1e53b5a5aacd8ae1e6fe4973095395e84ea7102b37baad148d266e91074a3 | 0.85 | testing_debugging_repair_refactoring | 628 | false | 2026-07-17 |
// ReSharper disable ConvertToConstant.Local
namespace dotless.Test.Specs.Compression
{
using NUnit.Framework;
[TestFixture]
public class WhitespaceFixture : CompressedSpecFixtureBase
{
[Test]
public void Whitespace()
{
var input =
@"
.whitespace { c... | madaboutcode/dotless | src/dotless.Test/Specs/Compression/WhitespaceFixture.cs | https://github.com/madaboutcode/dotless/blob/HEAD/src/dotless.Test/Specs/Compression/WhitespaceFixture.cs | ghcode:00160:067a8f2a123b | apache-2.0 | codeparrot/github-code | 067a8f2a123b6eb7d7abfaa7bc40d626e412426ee1f01fcc90feb7c306636b0f | 0.75 | testing_debugging_repair_refactoring | 509 | false | 2026-07-17 |
using System.Collections.Generic;
using DeckManager.Cards.Enums;
using DeckManager.Characters;
using DeckManager.Characters.Enums;
using NUnit.Framework;
namespace DeckManagerTests
{
[TestFixture]
public class CharacterTests
{
private Character Adama
{
get
{
... | tmesser/DeckManager | DeckManagerTests/CharacterTests.cs | https://github.com/tmesser/DeckManager/blob/HEAD/DeckManagerTests/CharacterTests.cs | ghcode:00160:1b0549dacc8d | bsd-3-clause | codeparrot/github-code | 1b0549dacc8d28edfe218aae910ab9e7010b8c5851ec662e42a70c890e2078ca | 0.75 | testing_debugging_repair_refactoring | 838 | false | 2026-07-17 |
using JetBat.Client.Entities;
using JetBat.Client.Metadata;
using JetBat.Client.Metadata.Abstract;
using NUnit.Framework;
namespace JetBat.Test.BusinessObjectTest
{
public class GoodTest : PlainObjectTest
{
private int goodCategoryIdInsert;
private int goodCategoryIdUpdate;
public GoodTest(IAcces... | shestakov/jetbat | JetBat.Test/BusinessObjectTest/GoodTest.cs | https://github.com/shestakov/jetbat/blob/HEAD/JetBat.Test/BusinessObjectTest/GoodTest.cs | ghcode:00160:d2be17403127 | bsd-3-clause | codeparrot/github-code | d2be174031279a3b9eb87181375e21770681849383508fc594904efc2ee079a8 | 0.6 | testing_debugging_repair_refactoring | 501 | false | 2026-07-17 |
//
// Copyright (c) 2004-2021 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... | NLog/NLog | tests/NLog.UnitTests/Layouts/XmlLayoutTests.cs | https://github.com/NLog/NLog/blob/HEAD/tests/NLog.UnitTests/Layouts/XmlLayoutTests.cs | ghcode:00160:cb07dfb656aa | bsd-3-clause | codeparrot/github-code | cb07dfb656aa467e03d0ad8851e181a40f8bc458c6ab7326c6cb5ec84e9cda75 | 0.85 | testing_debugging_repair_refactoring | 5,130 | false | 2026-07-17 |
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
namespace EndToEndMailCourse._01
{
[TestFixture]
public class Workshop01Tests
{
private string testUrl = "https://suvroc.github.io/selenium-mail-course/01/workshop.html";
[Test]
public void ShouldTestFirst... | suvroc/selenium-mail-course | EndToEndMailCourse/EndToEndMailCourse/01/Workshop01Tests.cs | https://github.com/suvroc/selenium-mail-course/blob/HEAD/EndToEndMailCourse/EndToEndMailCourse/01/Workshop01Tests.cs | ghcode:00160:a7120db51a2c | mit | codeparrot/github-code | a7120db51a2c7b0808a55c9ad030ccb2ad0091e2620fdca660550dbf81e3cd24 | 0.85 | testing_debugging_repair_refactoring | 661 | false | 2026-07-17 |
namespace Microsoft.ApplicationInsights.DataContracts
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using KellermanSoftware.CompareNetObjects;
using Microsoft.ApplicationInsights.Channel;
using Microsoft.ApplicationInsi... | pharring/ApplicationInsights-dotnet | BASE/Test/Microsoft.ApplicationInsights.Test/Microsoft.ApplicationInsights.Tests/DataContracts/DependencyTelemetryTest.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/BASE/Test/Microsoft.ApplicationInsights.Test/Microsoft.ApplicationInsights.Tests/DataContracts/DependencyTelemetryTest.cs | ghcode:00160:6a854c47f81f | mit | codeparrot/github-code | 6a854c47f81f5a9f516caa07d00362996d391615b012e6c55c085875104404fa | 0.95 | testing_debugging_repair_refactoring | 3,076 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using Zyan.Communication.Toolbox.Compression;
using Zyan.Communication.ChannelSinks.Compression;
using Zyan.Communication.Protocols.Wrapper;
namespace Zyan.Tests
{
#region Unit testing platform abstracti... | yallie/Zyan | source/Zyan.Tests/ChannelWrapperTests.cs | https://github.com/yallie/Zyan/blob/HEAD/source/Zyan.Tests/ChannelWrapperTests.cs | ghcode:00160:795bd68d76c9 | mit | codeparrot/github-code | 795bd68d76c9d81e17923c185f5554377e3119a5992f059266330afdde0ee0e7 | 0.85 | testing_debugging_repair_refactoring | 439 | false | 2026-07-17 |
using FluentAssertions;
using Xunit;
namespace Rocks.Helpers.Tests
{
public class CryptoExtensionsTests
{
[Fact]
public void Decode_Null_ReturnsNull ()
{
((string) null).Decode ("abc").Should ().BeNull ();
}
[Fact]
public void Decode_Empty_ReturnsEmpty ()
{
string.Empty.Decode ("abc").Should (... | MichaelLogutov/Rocks.Helpers | src/Rocks.Helpers.Tests/CryptoExtensionsTests.cs | https://github.com/MichaelLogutov/Rocks.Helpers/blob/HEAD/src/Rocks.Helpers.Tests/CryptoExtensionsTests.cs | ghcode:00160:150e648e5775 | mit | codeparrot/github-code | 150e648e5775a46820a2943cd50cebf5ce6495549c98556d4cd1c4256f0a28bd | 0.85 | testing_debugging_repair_refactoring | 585 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections;
using System.Globalization;
using System.IO;
using System.Text;
namespace System.Diagnost... | BrennanConroy/corefx | src/System.Diagnostics.TextWriterTraceListener/tests/CommonUtilities.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Diagnostics.TextWriterTraceListener/tests/CommonUtilities.cs | ghcode:00160:18289949c7fd | mit | codeparrot/github-code | 18289949c7fd85f5f76db8856f8308f02833503647a834a8ffa70f3dd98037b2 | 0.95 | testing_debugging_repair_refactoring | 1,030 | false | 2026-07-17 |
// Copyright (c) Petabridge <https://petabridge.com/>. All rights reserved.
// Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information.
// See ThirdPartyNotices.txt for references to third party code used inside Helios.
using System.Net;
using System.Threading;
using H... | helios-io/helios | tests/Helios.Tests/Net/TcpConnectionTests.cs | https://github.com/helios-io/helios/blob/HEAD/tests/Helios.Tests/Net/TcpConnectionTests.cs | ghcode:00160:3bfdde411a5f | apache-2.0 | codeparrot/github-code | 3bfdde411a5fa1c9bc2377e408d805853c041869ef4034ff515fb50c08433cdd | 0.85 | testing_debugging_repair_refactoring | 385 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading.Tasks;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Xunit;
using static Tests.Framework.TimesHelper;
namespace Tests.Client... | UdiBen/elasticsearch-net | src/Tests/ClientConcepts/ConnectionPooling/Sniffing/RoleDetection.doc.cs | https://github.com/UdiBen/elasticsearch-net/blob/HEAD/src/Tests/ClientConcepts/ConnectionPooling/Sniffing/RoleDetection.doc.cs | ghcode:00160:954d2bc295bf | apache-2.0 | codeparrot/github-code | 954d2bc295bf54bc5e77b158b6117ab3093f5b2347d00ac83f8381847880ef04 | 0.85 | testing_debugging_repair_refactoring | 1,381 | false | 2026-07-17 |
using System;
using System.Linq;
using FluentNUnit;
using Moq;
using NUnit.Framework;
using VkNet.Categories;
using VkNet.Enums;
using VkNet.Enums.Filters;
using VkNet.Exception;
using VkNet.Model;
using VkNet.Utils;
namespace VkNet.Tests.Categories
{
[TestFixture]
public class AccountCategoryTest
... | J2GIS/vk | VkNet.Tests/Categories/AccountCategoryTest.cs | https://github.com/J2GIS/vk/blob/HEAD/VkNet.Tests/Categories/AccountCategoryTest.cs | ghcode:00160:7218de0e9210 | mit | codeparrot/github-code | 7218de0e92106ba7d2279aaad671838e6f4f0ebdb8ce936bf2686709e7ade60b | 0.7 | testing_debugging_repair_refactoring | 8,383 | false | 2026-07-17 |
using System;
using System.Data;
using System.IO;
using DotSpatial.NTSExtension;
using DotSpatial.Projections;
using DotSpatial.Tests.Common;
using GeoAPI.Geometries;
using NetTopologySuite.Geometries;
using NUnit.Framework;
namespace DotSpatial.Data.Tests
{
[TestFixture]
public class FeatureSetT... | swsglobal/DotSpatial | Source/DotSpatial.Data.Tests/FeatureSetTests.cs | https://github.com/swsglobal/DotSpatial/blob/HEAD/Source/DotSpatial.Data.Tests/FeatureSetTests.cs | ghcode:00160:13025ea79bb0 | mit | codeparrot/github-code | 13025ea79bb018714ac68d31cb3a2f969dc3eacef68cd2d8341bc1044e9a4859 | 0.85 | testing_debugging_repair_refactoring | 2,177 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
namespace System.Time.Tests
{
public class DateTimeOffsetTests
{
#if Windows
string TimeZoneId = "Pacific Standard Time";
#else
string T... | Vedin/corefxlab | tests/System.Time.Tests/DateTimeOffsetTests.cs | https://github.com/Vedin/corefxlab/blob/HEAD/tests/System.Time.Tests/DateTimeOffsetTests.cs | ghcode:00160:0bd049535f70 | mit | codeparrot/github-code | 0bd049535f702a1c5b9ccf9cf7cbfd29be887ab2aa8d00ef556a2292b37b2801 | 0.75 | testing_debugging_repair_refactoring | 1,507 | 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 System;
using System.Collections.Generic;
using System.Net;
using Monitor.Tests.Helpers;
using Microsoft.Azure.Management.Monitor;
using Microsoft.Azure.Ma... | shahabhijeet/azure-sdk-for-net | src/SDKs/Monitor/Monitor.Tests/Scenarios/DiagnosticSettingsTests.cs | https://github.com/shahabhijeet/azure-sdk-for-net/blob/HEAD/src/SDKs/Monitor/Monitor.Tests/Scenarios/DiagnosticSettingsTests.cs | ghcode:00160:d2368f9947ae | mit | codeparrot/github-code | d2368f9947aecff9afc3ffa97eabb0bd0632a7f1cb346fca78685aa45998bbe0 | 0.85 | testing_debugging_repair_refactoring | 867 | false | 2026-07-17 |
using System.Linq;
using LinqToDB;
using LinqToDB.Linq;
using LinqToDB.Mapping;
using NUnit.Framework;
namespace Tests.Linq
{
[TestFixture]
public class InternalsTests : TestBase
{
[Table]
class SampleClass
{
[Column] public int Id { get; set; }
[Column] public int Value { get; set; }
}
[Test]
... | linq2db/linq2db | Tests/Linq/Linq/InternalsTests.cs | https://github.com/linq2db/linq2db/blob/HEAD/Tests/Linq/Linq/InternalsTests.cs | ghcode:00160:6d727abbe452 | mit | codeparrot/github-code | 6d727abbe45270c3fec33db5f16d06eb2f228ca1b3f1740acf104f12b988ad07 | 0.75 | testing_debugging_repair_refactoring | 448 | 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.Completion;
using Microsoft.CodeAnalysis.CSharp.Completion.Providers;
using Mic... | ericfe-ms/roslyn | src/EditorFeatures/CSharpTest/Completion/CompletionProviders/ObjectInitializerCompletionProviderTests.cs | https://github.com/ericfe-ms/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Completion/CompletionProviders/ObjectInitializerCompletionProviderTests.cs | ghcode:00160:c1d59815c2cd | apache-2.0 | codeparrot/github-code | c1d59815c2cdbde728cc2b44f4e6e8e00e6997c2d8f3b0fd2ce7065571840697 | 0.85 | testing_debugging_repair_refactoring | 4,613 | false | 2026-07-17 |
// Copyright 2017, Google Inc. 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 applicab... | chrisdunelm/google-cloud-dotnet | apis/Google.Cloud.PubSub.V1/Google.Cloud.PubSub.V1.Tests/Tasks/TestScheduler.cs | https://github.com/chrisdunelm/google-cloud-dotnet/blob/HEAD/apis/Google.Cloud.PubSub.V1/Google.Cloud.PubSub.V1.Tests/Tasks/TestScheduler.cs | ghcode:00160:8fe8ad5bb360 | apache-2.0 | codeparrot/github-code | 8fe8ad5bb36051f68f13f9790da41de72426499ff9b078239cd04d17eceb3fc2 | 0.85 | testing_debugging_repair_refactoring | 3,144 | false | 2026-07-17 |
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MatterHackers.MatterControl.PartPreviewWindow;
using MatterHackers.MatterControl.SlicerConfiguration;
using NUnit.Framework;
namespace MatterHackers.MatterControl.Tests.Automation
{
[TestFixture, Category("MatterControl.UI.Automation"), R... | jlewin/MatterControl | Tests/MatterControl.AutomationTests/PrinterDropDownTests.cs | https://github.com/jlewin/MatterControl/blob/HEAD/Tests/MatterControl.AutomationTests/PrinterDropDownTests.cs | ghcode:00160:46837f53b927 | bsd-2-clause | codeparrot/github-code | 46837f53b92774345119aeec50f86d277a374993b3c4762fff6dfbb88a99b217 | 0.78 | testing_debugging_repair_refactoring | 422 | false | 2026-07-17 |
using NUnit.Framework;
using NServiceKit.Common;
using NServiceKit.Text;
namespace NServiceKit.WebHost.IntegrationTests.Tests
{
/// <summary>A filter tests.</summary>
[TestFixture]
public class FilterTests
{
/// <summary>Can call service returning string.</summary>
[Test]
public void Can_call_servi... | NServiceKit/NServiceKit | tests/NServiceKit.WebHost.IntegrationTests/Tests/FilterTests.cs | https://github.com/NServiceKit/NServiceKit/blob/HEAD/tests/NServiceKit.WebHost.IntegrationTests/Tests/FilterTests.cs | ghcode:00161:451cc4c5a0d8 | bsd-3-clause | codeparrot/github-code | 451cc4c5a0d8bbcef8b75434f3f5665f19701360012528498e4fb11d0b7b9035 | 0.85 | testing_debugging_repair_refactoring | 119 | 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 Windows.Networking.Connectivity;
using Xunit;
namespace System.Net.NetworkInformation.Unit.Tests
{
publi... | dhoehna/corefx | src/System.Net.NetworkInformation/tests/UnitTests/NetworkInterfaceTest.cs | https://github.com/dhoehna/corefx/blob/HEAD/src/System.Net.NetworkInformation/tests/UnitTests/NetworkInterfaceTest.cs | ghcode:00161:d2d5108cc200 | mit | codeparrot/github-code | d2d5108cc200857f527cfbecf1ec221df070653f394d8e471b9abdc3dd27442a | 0.95 | testing_debugging_repair_refactoring | 415 | 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.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Tasks;
using Xunit;
namespace Microsoft.Build.UnitTests
{
public class Resol... | nikson/msbuild | src/XMakeTasks/UnitTests/ResolveCodeAnalysisRuleSet_Tests.cs | https://github.com/nikson/msbuild/blob/HEAD/src/XMakeTasks/UnitTests/ResolveCodeAnalysisRuleSet_Tests.cs | ghcode:00161:79b36b73cb86 | mit | codeparrot/github-code | 79b36b73cb862376fb4ac485060bd9f08f6e2635ee6753c2c6ac353eccaf871b | 0.75 | testing_debugging_repair_refactoring | 2,315 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Configuration.Startup;
using Abp.Dependency;
using Abp.Runtime.Caching;
using Abp.Runtime.Caching.Configuration;
using Abp.Runtime.Caching.Memory;
using Castle.MicroKernel.Registration;
using NSubstitute;
using Shouldly;
using Xuni... | virtualcca/aspnetboilerplate | test/Abp.Tests/Runtime/Caching/Memory/MemoryCacheManager_Tests.cs | https://github.com/virtualcca/aspnetboilerplate/blob/HEAD/test/Abp.Tests/Runtime/Caching/Memory/MemoryCacheManager_Tests.cs | ghcode:00161:a09e336f9c04 | mit | codeparrot/github-code | a09e336f9c046cc68118f8c25fb80cec016daa5b62be3730143b0c5e6ca18c5d | 0.85 | testing_debugging_repair_refactoring | 1,276 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using FluentAssertions.Equivalency;
namespace FluentAssertions.Common
{
public static class ExpressionExtensions
{
public static SelectedMemberInfo GetSelectedMemberInfo<T, TValu... | jeroenpot/FluentAssertions | Src/Core/Common/ExpressionExtensions.cs | https://github.com/jeroenpot/FluentAssertions/blob/HEAD/Src/Core/Common/ExpressionExtensions.cs | ghcode:00161:742ae9a20984 | apache-2.0 | codeparrot/github-code | 742ae9a20984335209ff0fe1e88d948a196cf00db9bbe6210b11b26c712d5233 | 0.7 | testing_debugging_repair_refactoring | 970 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.ResourceManager;
using Microsoft.Azure.Management.ResourceManager.Models;
using Microsoft.Azure.Management.StreamAnalytics;
using... | ScottHolden/azure-sdk-for-net | src/SDKs/StreamAnalytics/StreamAnalytics.Tests/ScenarioTests/InputTests.ScenarioTests.cs | https://github.com/ScottHolden/azure-sdk-for-net/blob/HEAD/src/SDKs/StreamAnalytics/StreamAnalytics.Tests/ScenarioTests/InputTests.ScenarioTests.cs | ghcode:00161:ba86538fa4ae | mit | codeparrot/github-code | ba86538fa4ae54257d700f6b45df1a28757690518336c6a96afad226016bda63 | 0.85 | testing_debugging_repair_refactoring | 4,827 | 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.
namespace Microsoft.Azure.Search.Tests.Utilities
{
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Azure.Se... | ayeletshpigelman/azure-sdk-for-net | sdk/search/Microsoft.Azure.Search/tests/Utilities/DocumentsFixture.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/search/Microsoft.Azure.Search/tests/Utilities/DocumentsFixture.cs | ghcode:00161:b5f964df32ed | mit | codeparrot/github-code | b5f964df32edbb3752cd2f8b6a375954d9e92d6a2151979df205417a0bd061b7 | 0.95 | testing_debugging_repair_refactoring | 2,440 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="DSPStreamProvider.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/DataServices/UnitTests/ServerUnitTests/Stubs/DataServiceProvider/DSPStreamProvider.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataServices/UnitTests/ServerUnitTests/Stubs/DataServiceProvider/DSPStreamProvider.cs | ghcode:00161:adf228c4c465 | mit | codeparrot/github-code | adf228c4c465ca383aca2e5b406bae9e620ccd28b6bdb7c9f166bc2c0525ae29 | 0.95 | testing_debugging_repair_refactoring | 564 | 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;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.Completion.KeywordRecommenders;
using Microsoft.CodeAnalysis.Text;
u... | ericfe-ms/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/VarKeywordRecommenderTests.cs | https://github.com/ericfe-ms/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/VarKeywordRecommenderTests.cs | ghcode:00161:bf78355726df | apache-2.0 | codeparrot/github-code | bf78355726dfe90920775c923e23d23053a7f02775bae4a9fb7a9b876594d691 | 0.75 | testing_debugging_repair_refactoring | 1,493 | 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.Collections.Immutable;
using System.Diagnostics;
using... | AmadeusW/roslyn | src/Workspaces/Core/Portable/Diagnostics/DiagnosticData.cs | https://github.com/AmadeusW/roslyn/blob/HEAD/src/Workspaces/Core/Portable/Diagnostics/DiagnosticData.cs | ghcode:00161:8771c227a932 | apache-2.0 | codeparrot/github-code | 8771c227a932456d11655c8d982a4fc7c8d563ac474d6188599cfc959a6d7b53 | 0.85 | testing_debugging_repair_refactoring | 4,009 | false | 2026-07-17 |
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.CSharp.UnitTests
{
[CompilerTrait(CompilerFeature.LocalFunctions)]
public class LocalFunctions : FlowTestBase
{
[Fact]
public void ConstUnassigned()
{
... | mmitche/roslyn | src/Compilers/CSharp/Test/Semantic/FlowAnalysis/LocalFunctions.cs | https://github.com/mmitche/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/FlowAnalysis/LocalFunctions.cs | ghcode:00161:4a709b01fca5 | apache-2.0 | codeparrot/github-code | 4a709b01fca5c7253d1f93f63559acc9bde78cf63ec2f299ab65b8ffe68809d8 | 0.95 | testing_debugging_repair_refactoring | 9,412 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// <copyright file="DocumentXPathNavigator.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" ... | sekcheong/referencesource | System.Xml/System/Xml/Dom/DocumentXPathNavigator.cs | https://github.com/sekcheong/referencesource/blob/HEAD/System.Xml/System/Xml/Dom/DocumentXPathNavigator.cs | ghcode:00161:17d390911874 | mit | codeparrot/github-code | 17d390911874d10ae5eaf218db65269120561a2d570b28c1aca3c7e9a4cf50f0 | 0.57 | testing_debugging_repair_refactoring | 12,732 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Diagnostics;
using System.Threading;
using BlogServer.XmlRpc;
namespace BlogServer.Model
{
public abstract class Blog
{
protected ArrayList _postList = new ArrayList();
protected Hashtable _postTable = new Hashtable();
private readonly ReaderWriterLock _rwLo... | adilmughal/OpenLiveWriter | utilities/BlogServer/Model/Blog.cs | https://github.com/adilmughal/OpenLiveWriter/blob/HEAD/utilities/BlogServer/Model/Blog.cs | ghcode:00161:0a06f4e9689f | mit | codeparrot/github-code | 0a06f4e9689f4f2b1a84acefa4a1c4f2f7c0c2edf28c34e246779498190b4f88 | 0.75 | testing_debugging_repair_refactoring | 1,216 | 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 Microsoft.Win32.SafeHandles;
using System;
using System.Threading;
using Xunit;
public partial class SafeWaitHandleExtensions_4000_Tests
{
public class MyWa... | vs-team/corefx | src/System.Runtime.Handles/tests/SafeWaitHandleExtensions.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Runtime.Handles/tests/SafeWaitHandleExtensions.cs | ghcode:00161:8cac4be03cfb | mit | codeparrot/github-code | 8cac4be03cfb5735707b439078022fb212c3a3725e2d53978ee6aea4828f9290 | 0.85 | testing_debugging_repair_refactoring | 318 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using XidNet;
using System.Threading.Tasks;
namespace XidNet.Tests
{
[TestClass]
public class Xid_Tests
{
[TestMethod]
public void Xid_New_GeneratesXid()
{
var xid = Xid.NewXid();
var t = xid.GetTimesta... | Yortw/Xid.Net | src/Xid.Net.Tests/Xid_New_Tests.cs | https://github.com/Yortw/Xid.Net/blob/HEAD/src/Xid.Net.Tests/Xid_New_Tests.cs | ghcode:00161:05381f42cd06 | mit | codeparrot/github-code | 05381f42cd06e2dd14f7f5197161ae60a10314cc7f0deea89666bd1fa813d470 | 0.75 | testing_debugging_repair_refactoring | 1,103 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SpirvNet.Spirv.Enums;
// This file is auto-generated and should not be modified manually.
namespace SpirvNet.Spirv.Ops.DeviceSideEnqueue
{
/// <summary>
/// OpCreateUserEvent
///
... | Philip-Trettner/SpirvNet | SpirvNet/SpirvNet/Spirv/Ops/DeviceSideEnqueue/OpCreateUserEvent.cs | https://github.com/Philip-Trettner/SpirvNet/blob/HEAD/SpirvNet/SpirvNet/Spirv/Ops/DeviceSideEnqueue/OpCreateUserEvent.cs | ghcode:00161:5ef72fadb125 | mit | codeparrot/github-code | 5ef72fadb125a2fb1ca9678b70d687140abb8d9f8a61204d85a828a8904afadc | 0.85 | testing_debugging_repair_refactoring | 395 | false | 2026-07-17 |
using System.IO;
using Xunit;
namespace Handlebars.Core.Test
{
public class WhitespaceTests
{
[Fact]
public void PreceedingWhitespace()
{
var source = "Hello, {{~name}} !";
var engine = new HandlebarsEngine();
var template = engine.Compile(source);
... | esskar/handlebars-core | source/Handlebars.Core.Test/WhitespaceTests.cs | https://github.com/esskar/handlebars-core/blob/HEAD/source/Handlebars.Core.Test/WhitespaceTests.cs | ghcode:00161:6d4a972d67a3 | mit | codeparrot/github-code | 6d4a972d67a3994241b0b11224f14790cb52455464732267ecf6afcf279e514a | 0.85 | testing_debugging_repair_refactoring | 1,548 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace BeeHive.Tests
{
public class TraceTests
{
[Fact]
public void TraceErrorDoesNotThrowException()
{
TheTrace.TraceError("chappi {1} {0}", ... | FeodorFitsner/BeeHive | test/BeeHive.Tests/TraceTests.cs | https://github.com/FeodorFitsner/BeeHive/blob/HEAD/test/BeeHive.Tests/TraceTests.cs | ghcode:00161:6757296a38a2 | mit | codeparrot/github-code | 6757296a38a2e8d0ed9ba00858112d50a3165015f57cb5c11e14d799aec62033 | 0.75 | testing_debugging_repair_refactoring | 206 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IPFilter.Tests
{
[TestClass]
public class ListMergerTests
{
[TestMethod]
public void Merge()
{
var lines1 = new[] { "000.000.000.000 - 000.25... | DavidMoore/ipfilter | Tests/UnitTests/IPFilter.Tests/ListMergerTests.cs | https://github.com/DavidMoore/ipfilter/blob/HEAD/Tests/UnitTests/IPFilter.Tests/ListMergerTests.cs | ghcode:00161:5a504eb28ba6 | mit | codeparrot/github-code | 5a504eb28ba6ef59c7eb6602df1e85341019cbdcdcc9003dee4817e638540869 | 0.75 | testing_debugging_repair_refactoring | 881 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Reflection;
using UnityEditor;
using UnityEngine;
using Random = UnityEngine.Random;
class Vector3Tests : StaticTest
{
[MenuItem("Tests/Vector3/All")]
[SkipTest]
protected static void AllTests()
{
RunAllMenuItems<Vector3Tests>();
}
privat... | jbruening/UnEngine | src/UnEngineComparisonTests/Assets/Scripts/Static Tests/Vector3Tests.cs | https://github.com/jbruening/UnEngine/blob/HEAD/src/UnEngineComparisonTests/Assets/Scripts/Static Tests/Vector3Tests.cs | ghcode:00161:e824320711c5 | mit | codeparrot/github-code | e824320711c5958919edac6c4d71c7b8879abd559a49e3a5e357982cd0e7ee5e | 0.75 | testing_debugging_repair_refactoring | 413 | false | 2026-07-17 |
namespace CommonTestsInternal.Collections.Generic
{
using System.Collections;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
public partial class SkipListTests
{
#region IEnumerable
[TestMethod]
[TestCategory("SkipList")]
... | ArsenShnurkov/Common | CommonTests/Collections/Generic/SkipListTests.Unit.IEnumerable.cs | https://github.com/ArsenShnurkov/Common/blob/HEAD/CommonTests/Collections/Generic/SkipListTests.Unit.IEnumerable.cs | ghcode:00161:c4d44ca58812 | mit | codeparrot/github-code | c4d44ca58812003752f2fa5817e3b426f0692d05589ca3e8db58d44e5a890e3e | 0.6 | testing_debugging_repair_refactoring | 301 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.Identity.Tests
{
public class ClientSecretCredenti... | Azure/azure-sdk-for-net | sdk/identity/Azure.Identity/tests/ClientSecretCredentialLiveTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/identity/Azure.Identity/tests/ClientSecretCredentialLiveTests.cs | ghcode:00161:c40569a1c1b8 | mit | codeparrot/github-code | c40569a1c1b89e1906caa3d56cfed604e82f2b9843a82b8ab9e022458701ec34 | 0.95 | testing_debugging_repair_refactoring | 873 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Baku.Quma.Low.Api;
using Baku.Quma.Low;
namespace TestQumarionDotNet.Low
{
/// <summary>
/// ボーン関連のテストです。
/// 全身についてはラッパクラスQumarionDevice/QumarionBoneで
/// テストする方が効率的なため、ここではルートボーンを中心としたテストのみを行います。
/// </summary>
[TestCla... | malaybaku/QumarionDotNet | QumarionDotNet/TestQumarionDotNetLow/Low/LowApi/LowBone.cs | https://github.com/malaybaku/QumarionDotNet/blob/HEAD/QumarionDotNet/TestQumarionDotNetLow/Low/LowApi/LowBone.cs | ghcode:00161:fa5221ea7e76 | mit | codeparrot/github-code | fa5221ea7e76d9284b4181998edcb5fcb27c26f1c2bfede5ed433852f592a51e | 0.7 | testing_debugging_repair_refactoring | 1,095 | false | 2026-07-17 |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using NUnit.Framework;
using Rocks.Extensions;
using System.Collections.Immutable;
namespace Rocks.Tests.Extensions;
public static class IMethodSymbolExtensionsRequiresDefaultConstraintTests
{
private stat... | JasonBock/Rocks | src/Rocks.Tests/Extensions/IMethodSymbolExtensionsRequiresDefaultConstraintTests.cs | https://github.com/JasonBock/Rocks/blob/HEAD/src/Rocks.Tests/Extensions/IMethodSymbolExtensionsRequiresDefaultConstraintTests.cs | ghcode:00161:3f611e4a4e64 | mit | codeparrot/github-code | 3f611e4a4e64226254cd51d54195b5f4bdac81c765a4dc8230b1cdf953e65070 | 0.75 | testing_debugging_repair_refactoring | 488 | false | 2026-07-17 |
//
// Copyright (c) 2013 Agustin Santos
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge... | agustinsantos/LibNoise | LibNoise/Operator/Max.cs | https://github.com/agustinsantos/LibNoise/blob/HEAD/LibNoise/Operator/Max.cs | ghcode:00161:717c834902b0 | mit | codeparrot/github-code | 717c834902b0f3b5610cbd9630c8f45b4c3103f348b65380f4e23bb8f1f047f6 | 0.7 | testing_debugging_repair_refactoring | 656 | false | 2026-07-17 |
using Jeden.Engine.Object;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SFML.Graphics;
using SFML.Window;
using System.Diagnostics;
namespace Jeden.Engine.Render
{
//Maintains all Drawable components. Query each frame for them with GetDr... | robert-porter/Jeden | Jeden/Engine/Render/RenderManager.cs | https://github.com/robert-porter/Jeden/blob/HEAD/Jeden/Engine/Render/RenderManager.cs | ghcode:00161:255b355b0dec | mit | codeparrot/github-code | 255b355b0dec589391707f15093df586f6331aa1e30e23ae02855f2b5fc4c760 | 0.7 | testing_debugging_repair_refactoring | 2,485 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ProjectTracker.Library;
namespace ProjectTracker.Test.Library
{
[TestClass]
public class DashboardTest
{
[TestMethod]
public void GetDashboard()
{
var... | BrettJaner/csla | Samples/NET/cs/ProjectTracker/ProjectTracker.Test.Library/DashboardTest.cs | https://github.com/BrettJaner/csla/blob/HEAD/Samples/NET/cs/ProjectTracker/ProjectTracker.Test.Library/DashboardTest.cs | ghcode:00161:844ef30daa11 | mit | codeparrot/github-code | 844ef30daa11be8039b2e7c197194e9b9bed9cd4bf0d3324ecb77194bd5f735d | 0.75 | testing_debugging_repair_refactoring | 102 | false | 2026-07-17 |
namespace ExistsForAll.Shepherd.SimpleInjector.UnitTests.Subjects
{
public class OpenCloseGeneric : IOpenCloseGeneric<int>
{
public int TypeOfGeneric { get; }
}
} | existall/Shepherd | src/tests/ExistsForAll.Shepherd.SimpleInjector.UnitTests.Subjects/OpenCloseGeneric.cs | https://github.com/existall/Shepherd/blob/HEAD/src/tests/ExistsForAll.Shepherd.SimpleInjector.UnitTests.Subjects/OpenCloseGeneric.cs | ghcode:00161:d13cbcb0bc9b | mit | codeparrot/github-code | d13cbcb0bc9be60f7d795af3743a1f1ffa000a40d39221a3ecd7f6a83fdbcbfb | 0.6 | testing_debugging_repair_refactoring | 41 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Cheer.Freesound.Tests
{
[TestClass]
public class AssureTest
{
[TestMethod]
[ExpectedException(typeof(ArgumentNul... | cheer-cheer/freesound-net | Cheer.Freesound.Tests/AssureTest.cs | https://github.com/cheer-cheer/freesound-net/blob/HEAD/Cheer.Freesound.Tests/AssureTest.cs | ghcode:00161:583e1e50ca4c | mit | codeparrot/github-code | 583e1e50ca4c4076b7d526da6f38ee2116037616b909b8c00e77573741f62e63 | 0.7 | testing_debugging_repair_refactoring | 291 | false | 2026-07-17 |
/*
* SonarScanner for MSBuild
* Copyright (C) 2016-2019 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 o... | SonarSource/sonar-msbuild-runner | Tests/SonarScanner.MSBuild.Tasks.UnitTests/MSBuildLoggerAdapterTests.cs | https://github.com/SonarSource/sonar-msbuild-runner/blob/HEAD/Tests/SonarScanner.MSBuild.Tasks.UnitTests/MSBuildLoggerAdapterTests.cs | ghcode:00161:342d2a45cb19 | mit | codeparrot/github-code | 342d2a45cb199acb0ed5a0c7e95b2d3189636bce5c8e2e5489a53b77910ca08c | 0.85 | testing_debugging_repair_refactoring | 320 | false | 2026-07-17 |
using HaloSharp.Model.HaloWars2.Metadata;
using HaloSharp.Test.Config;
using HaloSharp.Test.Utility;
using Newtonsoft.Json;
using NUnit.Framework;
using System;
using System.IO;
namespace HaloSharp.Test.Serialization
{
internal class HaloWars2SerializationTests
{
[Test]
[TestCase(HaloWars2Conf... | gitFurious/HaloSharp | Source/HaloSharp.Test/Serialization/HaloWars2SerializationTests.cs | https://github.com/gitFurious/HaloSharp/blob/HEAD/Source/HaloSharp.Test/Serialization/HaloWars2SerializationTests.cs | ghcode:00161:e9d1c961578a | mit | codeparrot/github-code | e9d1c961578ad6c1ff32a8ecfeff336b752722d72c8eb5064525a1f91fdc8540 | 0.75 | testing_debugging_repair_refactoring | 886 | false | 2026-07-17 |
using ExactOnline.Client.Models.Assets;
using ExactOnline.Client.Models.Budget;
using ExactOnline.Client.Models.Cashflow;
using ExactOnline.Client.Models.CRM;
using ExactOnline.Client.Models.Documents;
using ExactOnline.Client.Models.Financial;
using ExactOnline.Client.Models.HRM;
using ExactOnline.Client.Models.Inven... | PerplexWouter/exactonline-api-dotnet-client | test/ExactOnline.Client.Sdk.UserAcceptanceTests/UserLevel/AttributesToAllEntities.cs | https://github.com/PerplexWouter/exactonline-api-dotnet-client/blob/HEAD/test/ExactOnline.Client.Sdk.UserAcceptanceTests/UserLevel/AttributesToAllEntities.cs | ghcode:00161:9ddcaea715d7 | mit | codeparrot/github-code | 9ddcaea715d74bbfe318e315cb5071902597c309663f0c91b134e4dde8cef793 | 0.7 | testing_debugging_repair_refactoring | 1,260 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using FluentDate;
using FluentDateTimeOffset;
using GitVersion;
using LibGit2Sharp;
using NUnit.Framework;
[TestFixture]
public class LibGitExtensionsTests
{
[Test]
public void NewestSemVerTag_RetrieveTheHighestSemanticVersionPointingAtTheSpecifiedCommit()
... | potherca-contrib/GitVersion | Tests/LibGitExtensionsTests.cs | https://github.com/potherca-contrib/GitVersion/blob/HEAD/Tests/LibGitExtensionsTests.cs | ghcode:00161:a3808593639b | mit | codeparrot/github-code | a3808593639b0fb2628b33430d7d5158b692ffa447852459a1ea0f08991c5a06 | 0.75 | testing_debugging_repair_refactoring | 780 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using SourceCode.Clay.AspNetCore.Middleware.Correlation.Tests.Mocks;
using Xunit;
namespace SourceCode.Clay.AspNetCore.Middleware.Correlation.Tests
{
public class UseCo... | k2workflow/Clay | tests/SourceCode.Clay.AspNetCore.Middleware.Correlation.Tests/UseCorrelationIdShould.cs | https://github.com/k2workflow/Clay/blob/HEAD/tests/SourceCode.Clay.AspNetCore.Middleware.Correlation.Tests/UseCorrelationIdShould.cs | ghcode:00161:c59908a0196a | mit | codeparrot/github-code | c59908a0196a0b88ff9468fdd50ea4c40f1b0b9984ff4595299b56dd1c58cc90 | 0.85 | testing_debugging_repair_refactoring | 1,184 | false | 2026-07-17 |
using UnityEngine;
namespace NaughtyAttributes.Test
{
public class AnimatorParamTest : MonoBehaviour
{
public Animator animator0;
[AnimatorParam("animator0")]
public int hash0;
[AnimatorParam("animator0")]
public string name0;
public AnimatorPar... | dbrizov/NaughtyAttributes | Assets/NaughtyAttributes/Scripts/Test/AnimatorParamTest.cs | https://github.com/dbrizov/NaughtyAttributes/blob/HEAD/Assets/NaughtyAttributes/Scripts/Test/AnimatorParamTest.cs | ghcode:00161:0965ef231e17 | mit | codeparrot/github-code | 0965ef231e17ce77e625d65e79288dbfc44a53057ee0264b13840d37faff8969 | 0.85 | testing_debugging_repair_refactoring | 298 | false | 2026-07-17 |
using System;
using Xunit;
namespace SimpleMarkdown.Tests
{
public class UnorderedListTests
{
[Fact]
public void Extension_MarkdownUnorderedList_WithEmpty_ReturnsEmpty()
{
var sample = string.Empty;
Assert.Equal(string.Empty, sample.MarkdownUnorderedList());
... | agatlin/SimpleMarkdown | SimpleMarkdown.Tests/UnorderedListTests.cs | https://github.com/agatlin/SimpleMarkdown/blob/HEAD/SimpleMarkdown.Tests/UnorderedListTests.cs | ghcode:00161:19adb5ef87d0 | mit | codeparrot/github-code | 19adb5ef87d0c05ce35902105567c6b0638241e92bc689a570f4f21a7e17293a | 0.75 | testing_debugging_repair_refactoring | 538 | false | 2026-07-17 |
using NUnit.Framework;
using System.Collections;
using System.Collections.Generic;
namespace Node.Net.JsonRPC
{
[TestFixture]
internal class ResponderTest
{
[Test]
public void Respond()
{
Responder responder = GetTestResponder();
Response response = responde... | node-net/Node.Net | Node.Net.Test/JsonRPC/Responder.Test.cs | https://github.com/node-net/Node.Net/blob/HEAD/Node.Net.Test/JsonRPC/Responder.Test.cs | ghcode:00161:b6adbd702c7b | mit | codeparrot/github-code | b6adbd702c7b23b03e8bd30284bec3b1253eaa5ddca87bdff79acc2137be6dde | 0.75 | testing_debugging_repair_refactoring | 708 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.