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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
//---------------------------------------------------------------------
// <copyright file="GeographyBuilderTests.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/Microsoft.Spatial/GeographyBuilderTests.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/Microsoft.Spatial/GeographyBuilderTests.cs | ghcode:00158:b84e2a679d4d | mit | codeparrot/github-code | b84e2a679d4d7cc5285efa0f5a7c072df3151e791d25240ff669c3cdff689f6c | 0.95 | testing_debugging_repair_refactoring | 2,718 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="BinderErrorTests.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/Tests/OData.Query.Tests/MetadataBinder/BinderErrorTests.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Tests/OData.Query.Tests/MetadataBinder/BinderErrorTests.cs | ghcode:00158:f5b93de6d127 | mit | codeparrot/github-code | f5b93de6d127231aeaff1a478db9fb70d74ff74ca9755c23e4a43104e12c6f82 | 0.95 | testing_debugging_repair_refactoring | 987 | 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.Linq;
using Xunit;
namespace System.Collections.Tests
{
/// <su... | marksmeltzer/corefx | src/System.Collections/tests/Generic/Stack/Stack.Generic.Tests.cs | https://github.com/marksmeltzer/corefx/blob/HEAD/src/System.Collections/tests/Generic/Stack/Stack.Generic.Tests.cs | ghcode:00158:d8293468145b | mit | codeparrot/github-code | d8293468145b1bd573bafa8bfca0355fb11cbed400ed160985143a0d7516f8f5 | 0.95 | testing_debugging_repair_refactoring | 1,553 | 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 OLEDB.Test.ModuleCore;
using XmlCoreTest.Common;
namespace System.Xml.Tests
{
public partial class TCEOFH... | nbarbettini/corefx | src/System.Private.Xml/tests/Writers/XmlWriterApi/TCEOFHandling.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Private.Xml/tests/Writers/XmlWriterApi/TCEOFHandling.cs | ghcode:00158:1ff6723f5b58 | mit | codeparrot/github-code | 1ff6723f5b5858899f86502ce2eb98342d2bb999add9670f5bd28233a2de2904 | 0.95 | testing_debugging_repair_refactoring | 7,166 | 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.Buffers;
using System.Globalization;
using System.Text.Unicode.Tests;
using Xunit;
using Xunit.Sdk;
na... | ViktorHofer/corefx | src/System.Runtime/tests/System/Text/RuneTests.netcoreapp.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Runtime/tests/System/Text/RuneTests.netcoreapp.cs | ghcode:00158:2132e374ced2 | mit | codeparrot/github-code | 2132e374ced21e699cf3da442f5563a569e9445e6fb1c20c87583359d0b3e843 | 0.95 | testing_debugging_repair_refactoring | 8,739 | 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.Text;
using Xunit;
namespace System.Collections.Tests
{
public class SortedList_GetEnumeratorTests : IComparer
{
public virtual int Compar... | vs-team/corefx | src/System.Collections.NonGeneric/tests/SortedList/GetEnumeratorTests.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Collections.NonGeneric/tests/SortedList/GetEnumeratorTests.cs | ghcode:00158:75d9e6636df7 | mit | codeparrot/github-code | 75d9e6636df74248a7ee8e617759e20170112b3f671d4ed41d730ca071fdc100 | 0.95 | testing_debugging_repair_refactoring | 869 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Confi... | nbarbettini/corefx | src/System.Configuration.ConfigurationManager/src/System/Configuration/BaseConfigurationRecord.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Configuration.ConfigurationManager/src/System/Configuration/BaseConfigurationRecord.cs | ghcode:00158:38b06590c79e | mit | codeparrot/github-code | 38b06590c79ef6a8ce541ed9151aa703b71674144f63978c1707ba81d05e240c | 0.75 | testing_debugging_repair_refactoring | 29,223 | 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.Reflection;
using System.Reflection.Emit;
using System.Threading;
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class Typ... | vs-team/corefx | src/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderGUID.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderGUID.cs | ghcode:00158:f5cdca22c215 | mit | codeparrot/github-code | f5cdca22c21513ff6bf1d542205918f53b6708f91983c5e34f272e06a43c8253 | 0.85 | testing_debugging_repair_refactoring | 254 | 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.Xml.XPath;
namespace XPathTests.Common
{
public interface ICreateNavigator
{
XPathNavigator CreateNavigatorFromFile(string fileName);
... | rajansingh10/corefx | src/Common/tests/System/Xml/XPath/Common/ICreateNavigator.cs | https://github.com/rajansingh10/corefx/blob/HEAD/src/Common/tests/System/Xml/XPath/Common/ICreateNavigator.cs | ghcode:00158:64e1e87106bd | mit | codeparrot/github-code | 64e1e87106bda43bdb3feece86f512cc8ceeb0fdbb4af2df93834f843f759a62 | 0.85 | testing_debugging_repair_refactoring | 70 | false | 2026-07-17 |
using NUnit.Framework;
using Orchard.Environment.ShellBuilders.Models;
using Orchard.Tests.Records;
namespace Orchard.Tests.Data.Builders {
[TestFixture]
public class SessionFactoryBuilderTests {
[Test]
public void SqlCeSchemaShouldBeGeneratedAndUsable() {
var recordDescriptors = ... | the-only-brivad/HOPM | src/orchard.tests/Data/Builders/SessionFactoryBuilderTests.cs | https://github.com/the-only-brivad/HOPM/blob/HEAD/src/orchard.tests/Data/Builders/SessionFactoryBuilderTests.cs | ghcode:00158:fc4c7c57b693 | bsd-3-clause | codeparrot/github-code | fc4c7c57b693814f1d2851d30be69a582b9ae7709e2c6141fea0ba46b575ef65 | 0.75 | testing_debugging_repair_refactoring | 257 | false | 2026-07-17 |
using MonopolyTests.Builders;
using NUnit.Framework;
namespace MonopolyTests.Tests.PassingGoTests
{
public class ArrivingAtGo : WebTestBase
{
[Test]
public void When_arriving_at_GO__do_NOT_collect_200_dollars()
{
TestHelper.StartAGame();
TestHelper.WithHumanRoll(10, () =>
{
b... | pseale/monopoly-dotnet | src/MonopolyTests/Tests/PassingGoTests/ArrivingAtGo.cs | https://github.com/pseale/monopoly-dotnet/blob/HEAD/src/MonopolyTests/Tests/PassingGoTests/ArrivingAtGo.cs | ghcode:00158:8d6e1f392501 | mit | codeparrot/github-code | 8d6e1f392501b675854ce7d1e714a18add869399f2d3588a3686725961de6972 | 0.85 | testing_debugging_repair_refactoring | 139 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Obacher.RandomOrgSharp.JsonRPC.Method;
using Should.Fluent;
namespace RandomOrgSharp.FunctionalTest
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design",
... | gsteinbacher/RandomOrgSharp | Obacher.RandomOrgSharp.FunctionalTest/IntegerBasicMethodTest.cs | https://github.com/gsteinbacher/RandomOrgSharp/blob/HEAD/Obacher.RandomOrgSharp.FunctionalTest/IntegerBasicMethodTest.cs | ghcode:00158:25b5b71c698e | mit | codeparrot/github-code | 25b5b71c698e01dd846c32e2234d7c27536ddf3ed2bf580980763de2965e00b2 | 0.7 | testing_debugging_repair_refactoring | 543 | false | 2026-07-17 |
namespace LiveDocs.Diagrams.Graph.UnitTests.Models
{
using System;
using LiveDocs.Diagrams.Graph.Models;
public class TestVertex : IVertex<Guid>
{
public TestVertex(Guid id)
{
this.Id = id;
}
public Guid Id { get; }
}
} | devdigital/LiveDocs | Source/LiveDocs.Diagrams.Graph.UnitTests/Models/TestVertex.cs | https://github.com/devdigital/LiveDocs/blob/HEAD/Source/LiveDocs.Diagrams.Graph.UnitTests/Models/TestVertex.cs | ghcode:00158:3b0dafa3e734 | mit | codeparrot/github-code | 3b0dafa3e7342b517bb9ea7497066ede70f7f4dd2a23ec8b9c15921f471f584f | 0.75 | testing_debugging_repair_refactoring | 64 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Tests.Visual;
namespace osu.Game.Rulesets.Catch.Tests
{
[TestF... | johnneijzen/osu | osu.Game.Rulesets.Catch.Tests/TestSceneHyperDash.cs | https://github.com/johnneijzen/osu/blob/HEAD/osu.Game.Rulesets.Catch.Tests/TestSceneHyperDash.cs | ghcode:00158:6a4a2cbd1bcf | mit | codeparrot/github-code | 6a4a2cbd1bcf62751c03206e664ae6b419ed6a82bfc70190fff40d7754cd53ee | 0.85 | testing_debugging_repair_refactoring | 412 | false | 2026-07-17 |
using System.Linq;
using NUnit.Framework;
using SevenDigital.Api.Schema.Tags;
namespace SevenDigital.Api.Wrapper.Integration.Tests.EndpointTests.TagsEndpoint
{
[TestFixture]
public class TagsTests
{
[Test]
public async void Can_hit_endpoint()
{
Tags tags = await Api<Tags>.Create
.Please();
Asse... | bettiolo/SevenDigital.Api.Wrapper | src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/TagsEndpoint/TagsTests.cs | https://github.com/bettiolo/SevenDigital.Api.Wrapper/blob/HEAD/src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/TagsEndpoint/TagsTests.cs | ghcode:00158:6c10b6f72178 | mit | codeparrot/github-code | 6c10b6f7217887ed58611ce6fa1b06cdfd9fe95259b2dfad38aa9daab0073c84 | 0.75 | testing_debugging_repair_refactoring | 236 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Eos.Atomic.Tests
{
[TestFixture]
public class AtomicLongTests
{
[Test]
public void CtorDefaultShouldBeZero()
{
var value = new AtomicLong();
Assert.AreEqual(0L, value.ReadUnfenced());
}
[Test]
... | mr-bt/Eos | Eos.Atomic.Tests/AtomicLongTests.cs | https://github.com/mr-bt/Eos/blob/HEAD/Eos.Atomic.Tests/AtomicLongTests.cs | ghcode:00158:339be8397059 | mit | codeparrot/github-code | 339be8397059f47f9fb828304de425a4233256e36a76e15e827a0e8ec31f2223 | 0.75 | testing_debugging_repair_refactoring | 1,851 | false | 2026-07-17 |
using System;
using System.Net.Http;
using Moq;
using Sample.Models.Settings;
using WorldDomination.Net.Http;
namespace Sample.Services.Tests.Fixtures
{
/// <summary>
/// This represents the fixture entity for the <see cref="GitHubServiceTests"/> class.
/// </summary>
public class GitHubServiceFixt... | devkimchi/Testing-Serverless-Applications | test/Sample.Services.Tests/Fixtures/GitHubServiceFixture.cs | https://github.com/devkimchi/Testing-Serverless-Applications/blob/HEAD/test/Sample.Services.Tests/Fixtures/GitHubServiceFixture.cs | ghcode:00158:65ac3f7b6485 | mit | codeparrot/github-code | 65ac3f7b648509b81191f40bd9d05f91c09b163cde55c52d2bf1f66069a75bc3 | 0.85 | testing_debugging_repair_refactoring | 390 | false | 2026-07-17 |
namespace Assertions_Homework
{
using System;
using System.Diagnostics;
internal class SortingMethods
{
internal static void SelectionSort<T>(T[] arr) where T : IComparable<T>
{
Debug.Assert(arr != null, "Array could not be null!");
Debug.Assert(arr.Length != 0,... | NikitoG/TelerikAcademyHomeworks | Hight-Quality-Code/DefensiveProgrammingAndExceptionsHomework/Assertions-Homework/SortingMethods.cs | https://github.com/NikitoG/TelerikAcademyHomeworks/blob/HEAD/Hight-Quality-Code/DefensiveProgrammingAndExceptionsHomework/Assertions-Homework/SortingMethods.cs | ghcode:00158:60c264eb8123 | mit | codeparrot/github-code | 60c264eb8123dd5d12e5579865436daf01dbe3fd1d286dd6d337cdb9fb5f4dc7 | 0.75 | testing_debugging_repair_refactoring | 448 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using Behemoth.Util;
namespace Behemoth.Util
{
[TestFixture]
public class TestAlg
{
[Test]
public void TestConcat()
{
Assert.AreEqual(Alg.L<int>(), Alg.Concat(Alg.L(Alg.L<int>(), Alg.L<int>())));
Assert.AreEqual(Alg.... | rsaarelm/behemoth | tests/Behemoth.Util/TestAlg.cs | https://github.com/rsaarelm/behemoth/blob/HEAD/tests/Behemoth.Util/TestAlg.cs | ghcode:00158:b2d78aa0ac6c | mit | codeparrot/github-code | b2d78aa0ac6c04eeded5eacead181e2981db6594c7d24b1fb74d300ae36b00e4 | 0.75 | testing_debugging_repair_refactoring | 428 | false | 2026-07-17 |
using System.Threading;
using System.Threading.Tasks;
using Nimbus.Handlers;
using Nimbus.IntegrationTests.Tests.MulticastRequestResponseTests.MessageContracts;
using Nimbus.Tests.Common.TestUtilities;
namespace Nimbus.IntegrationTests.Tests.MulticastRequestResponseTests.RequestHandlers
{
public class SlowBlackBa... | KodrAus/Nimbus | src/Tests/Nimbus.IntegrationTests/Tests/MulticastRequestResponseTests/RequestHandlers/SlowBlackBallRequestHandler.cs | https://github.com/KodrAus/Nimbus/blob/HEAD/src/Tests/Nimbus.IntegrationTests/Tests/MulticastRequestResponseTests/RequestHandlers/SlowBlackBallRequestHandler.cs | ghcode:00158:afe303cfe7fd | mit | codeparrot/github-code | afe303cfe7fd66d5af0797b338ac8160d45c54f8d7b07ea01b0bb2fb07ca7f31 | 0.85 | testing_debugging_repair_refactoring | 198 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Vigil;
namespace VigilDataContext.Tests
{
[TestClass]
public class VigilDataContextTests
{
[TestMethod]
public void Can_Create_Database_And_Add_User()
{
var context = new Vigil.VigilDataContext("Vig... | drovani/sandbox | VigilDataContext/VigilDataContext.Tests/VigilDataContextTests.cs | https://github.com/drovani/sandbox/blob/HEAD/VigilDataContext/VigilDataContext.Tests/VigilDataContextTests.cs | ghcode:00158:8c5998ac36a9 | mit | codeparrot/github-code | 8c5998ac36a9c87af73825a6e3a01db5b2f6486ef6eb97a9ac7e16d7404c4a5a | 0.75 | testing_debugging_repair_refactoring | 146 | false | 2026-07-17 |
#pragma warning disable GU0009 // Name the boolean parameter.
namespace Gu.Persist.Core.Tests.Repositories
{
using System;
using System.Collections.Generic;
using NUnit.Framework;
public abstract partial class RepositoryTests
{
[TestCaseSource(nameof(TestCases))]
public void Save(Te... | JohanLarsson/Gu.Persist | Gu.Persist.Core.Tests/Repositories/RepositoryTests.Save.cs | https://github.com/JohanLarsson/Gu.Persist/blob/HEAD/Gu.Persist.Core.Tests/Repositories/RepositoryTests.Save.cs | ghcode:00158:a4456069b6d8 | mit | codeparrot/github-code | a4456069b6d8a8bf6bda4da72c1c019585e9cbf177c668dee62748961d2b906c | 0.75 | testing_debugging_repair_refactoring | 1,939 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
using UAOOI.Networking.SemanticData.Encoding;
using System.Xml;
using UAOOI.Configuration.Networking.Serialization;
namespace UAOOI.Networking.SemanticData.UnitTest
{
[TestClass]
public class UABinaryDecoderImplementationUnitTest
... | mpostol/OPC-UA-OOI | Networking/Tests/SemanticDatalUnitTest/UABinaryDecoderImplementationUnitTest.cs | https://github.com/mpostol/OPC-UA-OOI/blob/HEAD/Networking/Tests/SemanticDatalUnitTest/UABinaryDecoderImplementationUnitTest.cs | ghcode:00158:e54b73b9b5a4 | mit | codeparrot/github-code | e54b73b9b5a4cdea8d8ef7f109e2db62ef1f84c4530352ef82aa16fd908ebfdc | 0.85 | testing_debugging_repair_refactoring | 2,523 | false | 2026-07-17 |
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Desktop.Platform;
using osu.Framework.Extensions.TypeExtensions;
using osu... | naoey/osu-framework | osu.Framework.Testing/TestCase.cs | https://github.com/naoey/osu-framework/blob/HEAD/osu.Framework.Testing/TestCase.cs | ghcode:00158:001d71a18796 | mit | codeparrot/github-code | 001d71a18796d272fb779d18bc48f3081a7450bff6cdc7322a37ca088a660c4e | 0.85 | testing_debugging_repair_refactoring | 1,039 | false | 2026-07-17 |
#region copyright
// Autofac Quartz integration
// https://github.com/alphacloud/Autofac.Extras.Quartz
// Licensed under MIT license.
// Copyright (c) 2014-2021 Alphacloud.Net
#endregion
namespace Autofac.Extras.Quartz.Tests
{
using System;
using System.Threading.Tasks;
using FluentAssertions;
using... | alphacloud/Autofac.Extras.Quartz | src/Tests/UnitTests/NestedScopeConfiguratorTests.cs | https://github.com/alphacloud/Autofac.Extras.Quartz/blob/HEAD/src/Tests/UnitTests/NestedScopeConfiguratorTests.cs | ghcode:00158:ccc2e4a35371 | mit | codeparrot/github-code | ccc2e4a353716eb0781fa32e1bb5bdc446a20cd58cfe193608ccbbe22dc37cfc | 0.95 | testing_debugging_repair_refactoring | 600 | false | 2026-07-17 |
using System.Diagnostics;
using System.IO;
using System.Net;
using NUnit.Framework;
using metrics.Net;
namespace metrics.Tests.Net
{
[TestFixture]
public class MetricsListenerTests
{
private MetricsListener _listener;
private const int Port = 9898;
Metrics _metrics=new Metrics();
... | criteo-forks/metrics-net | src/metrics.Tests/Net/MetricsListenerTests.cs | https://github.com/criteo-forks/metrics-net/blob/HEAD/src/metrics.Tests/Net/MetricsListenerTests.cs | ghcode:00158:f5a695181ded | mit | codeparrot/github-code | f5a695181ded750c89df7f7573ddb3ef3e4a6b59aeeb4e08b295a6a563b8b317 | 0.85 | testing_debugging_repair_refactoring | 602 | false | 2026-07-17 |
using AspNetCoreComponentLibrary;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace AspNetCore
{
public class CheckDefaultTests
{
[Theory]
[InlineData(null)]
public void CheckDefaultForString_Valid(string input)
{
Assert.... | 96467840/AspNetCore | test/AspNetCore.Test/CheckDefaultTests.cs | https://github.com/96467840/AspNetCore/blob/HEAD/test/AspNetCore.Test/CheckDefaultTests.cs | ghcode:00158:85034982b6e1 | mit | codeparrot/github-code | 85034982b6e14e3ae6513648cb1cd863ae5817014d158522410cbc936bbb889a | 0.85 | testing_debugging_repair_refactoring | 254 | false | 2026-07-17 |
/**
* SmithNgine Game Framework
*
* Copyright (C) 2013 by Erno Pakarinen / Codesmith (www.codesmith.fi)
* All Rights Reserved
*/
namespace Codesmith.SmithNgine.Gfx
{
#region Using statements
using System.Collections.Generic;
using System.Diagnostics;
using Codesmith.SmithNgine.Particles;
usi... | codesmith-fi/smithngine | smithNgine/Gfx/BackgroundLayer.cs | https://github.com/codesmith-fi/smithngine/blob/HEAD/smithNgine/Gfx/BackgroundLayer.cs | ghcode:00158:0c2c5a4d08a7 | mit | codeparrot/github-code | 0c2c5a4d08a7d41b13cdb4d1c5667d1624cb5ddad81c61429df8ac040b187a4e | 0.7 | testing_debugging_repair_refactoring | 1,031 | false | 2026-07-17 |
using NUnit.Framework;
using UnityFinger.Factories;
using UnityEngine;
namespace UnityFinger.Test
{
class ScreenObserverTest : IScreenListener
{
ObserverTestSet<ScreenObserverFactory> testSet;
Vector2? position;
[SetUp]
public void SetUp()
{
position = null... | tagia0212/UnityFinger | Tests/ScreenObserverTest.cs | https://github.com/tagia0212/UnityFinger/blob/HEAD/Tests/ScreenObserverTest.cs | ghcode:00158:bdce042dd5e1 | mit | codeparrot/github-code | bdce042dd5e149e789b912209d6170a752a3dfab1cbc48b8e92db7d3fb4a5511 | 0.6 | testing_debugging_repair_refactoring | 202 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pregunta.Me.Services.Administration;
namespace Pregunta.Me.UnitTests.Core.Administration
{
[TestClass]
public class InquirerEditTest
{
[TestMethod]
public void Shoul_BeCorrect_When_CreatingInquirerInstance()
{
... | anibalvelarde/pregunta.me | src/Pregunta.Me/Pregunta.Me.UnitTests/Core/Administration/InquirerEditTest.cs | https://github.com/anibalvelarde/pregunta.me/blob/HEAD/src/Pregunta.Me/Pregunta.Me.UnitTests/Core/Administration/InquirerEditTest.cs | ghcode:00158:f79369e1d896 | mit | codeparrot/github-code | f79369e1d896373d3c31310c8266d71b96918519f2b7d8e8d50b991d7ca8eed1 | 0.85 | testing_debugging_repair_refactoring | 207 | false | 2026-07-17 |
namespace Microsoft.ApplicationInsights.Channel
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Reflection;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.T... | pharring/ApplicationInsights-dotnet | BASE/Test/Microsoft.ApplicationInsights.Test/Microsoft.ApplicationInsights.Tests/Channel/TransmissionTest.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/BASE/Test/Microsoft.ApplicationInsights.Test/Microsoft.ApplicationInsights.Tests/Channel/TransmissionTest.cs | ghcode:00158:62fc9208e4ef | mit | codeparrot/github-code | 62fc9208e4efd77d7a021ec3e80cf4a17d985f58d6899707af810e5031fd9744 | 0.95 | testing_debugging_repair_refactoring | 6,405 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Reverb.Data.Contracts;
using Reverb.Data.Models;
using System;
namespace Reverb.Services.UnitTests.CreationServiceTests
{
[TestClass]
public class Constructor_Should
{
[TestMethod]
public void Thorw_WhenSongRepoIsNotSuppl... | Xenoleth/Reverb-MVC | Reverb/Reverb.Services.UnitTests/CreationServiceTests/Constructor_Should.cs | https://github.com/Xenoleth/Reverb-MVC/blob/HEAD/Reverb/Reverb.Services.UnitTests/CreationServiceTests/Constructor_Should.cs | ghcode:00158:907fceef6a15 | mit | codeparrot/github-code | 907fceef6a1517a91a25b659f006ac4ac616c6e1e85205e60f4e47bc33d7e15b | 0.7 | testing_debugging_repair_refactoring | 741 | false | 2026-07-17 |
using Gold_Client.Validations;
using Xunit;
namespace Gold_ClientTests
{
public class LoginValidatorTests
{
readonly LoginValidator validator;
string login;
public LoginValidatorTests()
{
validator = new LoginValidator();
}
public bool execute()
... | Radseq/Gold-Chat | Gold-Chat/Gold_ClientTests/LoginValidatorTests.cs | https://github.com/Radseq/Gold-Chat/blob/HEAD/Gold-Chat/Gold_ClientTests/LoginValidatorTests.cs | ghcode:00158:9efdb9fded2e | mit | codeparrot/github-code | 9efdb9fded2eb658799a6ce21c3dec2e3951209ede057a6da7c497eff79e911f | 0.75 | testing_debugging_repair_refactoring | 104 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AM.AOT.Stemming;
namespace UnitTests.AM.AOT.Stemming
{
[TestClass]
public class RussianStemmerTest
{
private void _TestStemmer
(
IStemmer stemmer,
string word,
strin... | amironov73/ManagedIrbis | Source/UnitTests/AM/AOT/Stemming/RussianStemmerTest.cs | https://github.com/amironov73/ManagedIrbis/blob/HEAD/Source/UnitTests/AM/AOT/Stemming/RussianStemmerTest.cs | ghcode:00158:d4be7452a878 | mit | codeparrot/github-code | d4be7452a878a8e2ad4ce35df303dbcb78b97f4b2dd178ab3383db14eec05326 | 0.75 | testing_debugging_repair_refactoring | 229 | false | 2026-07-17 |
using System;
using System.Configuration;
using System.Threading;
using System.Xml;
using log4net;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MongoDB.Bson;
using MongoDB.Driver;
using Log4net.Appender.MongoDb;
using MongoDB.Driver.Builders;
using log4net.Config;
using System.Diagnostics;
namespace Mong... | zhangyaoxing/MongoDbAppender | MongoDbAppernderTest/MongoDbAppenderTest.cs | https://github.com/zhangyaoxing/MongoDbAppender/blob/HEAD/MongoDbAppernderTest/MongoDbAppenderTest.cs | ghcode:00158:3b2b0d3e4d04 | mit | codeparrot/github-code | 3b2b0d3e4d0438b571e1d2a46fc2d476bebcfd3fb8104e0223f1f9b9ee98d28c | 0.7 | testing_debugging_repair_refactoring | 1,265 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Renci.SshNet.Common;
namespace Renci.SshNet.Tests.Classes
{
[TestClass]
public class ScpClientTest_Download_PathAndStream_SendExecRequestReturnsFals... | Bloomcredit/SSH.NET | src/Renci.SshNet.Tests/Classes/ScpClientTest_Download_PathAndStream_SendExecRequestReturnsFalse.cs | https://github.com/Bloomcredit/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/ScpClientTest_Download_PathAndStream_SendExecRequestReturnsFalse.cs | ghcode:00158:9910229584b7 | mit | codeparrot/github-code | 9910229584b7effc6f944dd6290d28bbed8a93c3b011bfdcf414617213c4e1d2 | 0.6 | testing_debugging_repair_refactoring | 847 | false | 2026-07-17 |
#if FEATURE_TAP
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Tests.Properties;
using System;
using System.IO;
using System.Threading.Tasks;
namespace Renci.SshNet.Tests.Classes
{
/// <summary>
/// Implementation of the SSH File Transfer Protocol (SFTP) over SSH.
/// </summary>
... | sshnet/SSH.NET | src/Renci.SshNet.Tests/Classes/SftpClientTest.RenameFileAsync.cs | https://github.com/sshnet/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/SftpClientTest.RenameFileAsync.cs | ghcode:00158:38dacea3dca8 | mit | codeparrot/github-code | 38dacea3dca88c57409132ead502b9c68e99e71d4602172356c2e5359a93fe0e | 0.7 | testing_debugging_repair_refactoring | 403 | false | 2026-07-17 |
using aaatest.executor.testadapter;
namespace aaatest.Tests
{
internal class TestingSubject
{
public int AddTwoValues(int a, int b)
{
return a + b;
}
}
} | nothrow/aaatest | test/aaatest.Tests/TestingSubject.cs | https://github.com/nothrow/aaatest/blob/HEAD/test/aaatest.Tests/TestingSubject.cs | ghcode:00158:680a659ac8fa | mit | codeparrot/github-code | 680a659ac8fa476e137917f40dbb7f57def5bbf9d1814fcda43f5d7e400ada3e | 0.75 | testing_debugging_repair_refactoring | 46 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
namespace AspectCore.Extensions.Windsor.Test.Fakes
{
public class CacheService : ICacheService
{
public Model Get(int id)
{
return new Model { Id = id, Version = Guid.NewGuid() };
}
public Task<Model> GetAsync(int id)
... | AspectCore/AspectCore-Framework | extras/test/AspectCore.Extensions.Windsor.Test/Fakes/CacheService.cs | https://github.com/AspectCore/AspectCore-Framework/blob/HEAD/extras/test/AspectCore.Extensions.Windsor.Test/Fakes/CacheService.cs | ghcode:00159:8b68dd0369a9 | mit | codeparrot/github-code | 8b68dd0369a9f141416ca1203d6e6ed0f70a370c3632e4e2970620803924f731 | 0.85 | testing_debugging_repair_refactoring | 82 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Management.Automation;
using Xunit;
namespace PSTests.Parallel
{
public static class SecuritySupportTests
{
[Fact]
public static void TestScanContent()
{
... | Cowmonaut/PowerShell | test/xUnit/csharp/test_SecuritySupport.cs | https://github.com/Cowmonaut/PowerShell/blob/HEAD/test/xUnit/csharp/test_SecuritySupport.cs | ghcode:00159:5b2aed368a65 | mit | codeparrot/github-code | 5b2aed368a65a5dab52fe918196ba1680441cc5917bf5b33319c3f3608524d6d | 0.75 | testing_debugging_repair_refactoring | 150 | false | 2026-07-17 |
using System.IO;
using System.Text;
using System.Reflection;
using System.Linq;
using NUnit.Framework;
using KSPPartRemover.KspFormat;
using KSPPartRemover.KspFormat.Objects;
namespace KSPPartRemover.Tests.KspFormat
{
public class KspFormatTest
{
[Test]
public void CanReadAndWriteEmptyObject()... | ChrisDeadman/KSPPartRemover | KSPPartRemover.Tests/KspFormat/KspFormatTest.cs | https://github.com/ChrisDeadman/KSPPartRemover/blob/HEAD/KSPPartRemover.Tests/KspFormat/KspFormatTest.cs | ghcode:00159:83439265335b | mit | codeparrot/github-code | 83439265335b39becd43c12a29bd383b97c1f3f12679ecd33c57fef3b75a51f1 | 0.7 | testing_debugging_repair_refactoring | 1,641 | false | 2026-07-17 |
using System;
using InterfaceInterceptionProxy;
namespace InterfaceInterceptionProxyTest
{
public interface INewInterceptionHandler : IInterceptionHandler
{
}
public class TestInterceptorAttribute : InterceptorAttribute
{
public TestInterceptorAttribute() : base(0)
{
}
... | cspwizard/InterfaceInterceptionProxy | InterfaceInterceptionProxyTest/TestData/TestInterceptorAttribute.cs | https://github.com/cspwizard/InterfaceInterceptionProxy/blob/HEAD/InterfaceInterceptionProxyTest/TestData/TestInterceptorAttribute.cs | ghcode:00159:b8b05d8f2935 | mit | codeparrot/github-code | b8b05d8f2935a04919d80dd7377a3413d94715329ab8b9626985b2c54855b6b4 | 0.75 | testing_debugging_repair_refactoring | 203 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2015 Rasmus Mikkelsen
// https://github.com/rasmus/EventFlow
//
// 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... | liemqv/EventFlow | Source/EventFlow.Tests/UnitTests/ReadStores/ReadStoreManagerTests.cs | https://github.com/liemqv/EventFlow/blob/HEAD/Source/EventFlow.Tests/UnitTests/ReadStores/ReadStoreManagerTests.cs | ghcode:00159:502cbc29b3d2 | mit | codeparrot/github-code | 502cbc29b3d25096d5eab22cb8830764567708573d7d8e8861c301af40de2088 | 0.85 | testing_debugging_repair_refactoring | 646 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using Wolfram.NETLink;
// C:\Program Files\Wolfram Research\Mathematica\7.0\SystemFiles\Links\NETLink
namespace HTLib2
{
public partial class Mathematica
{
public static string ToString(params object... | htna/HCsbLib | HCsbLib/HCsbLib/HTLib2.Mathematica/Mathematica.ToString.cs | https://github.com/htna/HCsbLib/blob/HEAD/HCsbLib/HCsbLib/HTLib2.Mathematica/Mathematica.ToString.cs | ghcode:00159:809821d25b62 | mit | codeparrot/github-code | 809821d25b6273472cbf428e754d481dce6a1a6e0067cabf1bd0589b09116886 | 0.7 | testing_debugging_repair_refactoring | 6,010 | false | 2026-07-17 |
// Description: C# Extension Methods | Enhance the .NET Framework and .NET Core with over 1000 extension methods.
// Website & Documentation: https://csharp-extension.com/
// Issues: https://github.com/zzzprojects/Z.ExtensionMethods/issues
// License (MIT): https://github.com/zzzprojects/Z.ExtensionMethods/blob/master/... | zzzprojects/Z.ExtensionMethods | test/Z.Reflection.Test/GetSignature/Type/IGenericInterfaceWithInParameter.cs | https://github.com/zzzprojects/Z.ExtensionMethods/blob/HEAD/test/Z.Reflection.Test/GetSignature/Type/IGenericInterfaceWithInParameter.cs | ghcode:00159:b55a4e92c33b | mit | codeparrot/github-code | b55a4e92c33ba4b2c1bbc9cfceffad1eb945eb14923c91996f33483dc0896732 | 0.7 | testing_debugging_repair_refactoring | 201 | false | 2026-07-17 |
namespace Sorting.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class MergeSortTest
{
private static Random randomNumber = new Random();
[TestMethod]
public void Tes... | DimitarSD/Telerik-Academy | 01. Programming/05. Data Structures and Algorithms [C#]/11. Sorting Algorithms/Sorting.Tests/MergeSortTest.cs | https://github.com/DimitarSD/Telerik-Academy/blob/HEAD/01. Programming/05. Data Structures and Algorithms [C#]/11. Sorting Algorithms/Sorting.Tests/MergeSortTest.cs | ghcode:00159:c3bfcbe2b9eb | mit | codeparrot/github-code | c3bfcbe2b9ebe3ed30b26fabffafb6619be8e2a53eb9da07324d6734e9c44616 | 0.75 | testing_debugging_repair_refactoring | 711 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
namespace Vertigo.Live.Test
{
/// <summary>
/// Summary description for UnitTest1
/// </summary>
[TestClass]
public class TestLiveDictionary
{
... | filmackay/live | Live/LiveTest/TestLiveDictionary.cs | https://github.com/filmackay/live/blob/HEAD/Live/LiveTest/TestLiveDictionary.cs | ghcode:00159:31e45bc14321 | mit | codeparrot/github-code | 31e45bc14321b5b9456554422b622b8e05242a5a7cc388fc884c1a4f0d964d1d | 0.85 | testing_debugging_repair_refactoring | 1,437 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs.Host.FunctionalTests.TestDoubles;
using ... | shrishrirang/azure-webjobs-sdk | test/Microsoft.Azure.WebJobs.Host.FunctionalTests/Queues/QueueTests.cs | https://github.com/shrishrirang/azure-webjobs-sdk/blob/HEAD/test/Microsoft.Azure.WebJobs.Host.FunctionalTests/Queues/QueueTests.cs | ghcode:00159:4a8823bba44d | mit | codeparrot/github-code | 4a8823bba44d5845496b000aab8df7ff8d70e4610bf7e9c3f65aade2e860fac5 | 0.85 | testing_debugging_repair_refactoring | 2,641 | false | 2026-07-17 |
using System;
using System.Xml;
using NUnit.Framework;
using StructureMap.Testing.GenericWidgets;
using StructureMap.Testing.TestData;
using StructureMap.Testing.Widget;
namespace StructureMap.Testing
{
[TestFixture]
public class AlternativeConfigurationTester
{
#region Setup/Teardown
[Set... | hp4711/structuremap | Source/StructureMap.Testing/AlternativeConfigurationTester.cs | https://github.com/hp4711/structuremap/blob/HEAD/Source/StructureMap.Testing/AlternativeConfigurationTester.cs | ghcode:00159:bc96870fbeaa | apache-2.0 | codeparrot/github-code | bc96870fbeaa1f69de140ea5cbebc7282d0df505cad9086a828d827f274cc59d | 0.7 | testing_debugging_repair_refactoring | 507 | false | 2026-07-17 |
using System;
using QuickGraph.Concepts;
using QuickGraph.Concepts.Traversals;
using QuickGraph.Representations;
using QuickGraph.Algorithms;
using System.Collections;
using QuickGraph.Concepts.Collections;
using MbUnit.Core.Framework;
using MbUnit.Framework;
using QuickGraph.Collections;
using QuickGraph.Exc... | Gallio/mbunit-v2 | src/quickgraph/QuickGraph.Tests/Algorithms/SourceFirstTopologicalSortAlgorithmTest.cs | https://github.com/Gallio/mbunit-v2/blob/HEAD/src/quickgraph/QuickGraph.Tests/Algorithms/SourceFirstTopologicalSortAlgorithmTest.cs | ghcode:00159:eef2ad01eb6f | apache-2.0 | codeparrot/github-code | eef2ad01eb6fe024be3a11ab794d6864e58d5577c8f114df5eb4ea7a30e01fc1 | 0.75 | testing_debugging_repair_refactoring | 943 | 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.Threading;
using System.Threading.T... | reaction1989/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/RecommenderTests.cs | https://github.com/reaction1989/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/RecommenderTests.cs | ghcode:00159:330ee86e1bc5 | apache-2.0 | codeparrot/github-code | 330ee86e1bc59e160c92a2441f6f1c76e6d5fc278e3afe3c99a1ce09c42c5059 | 0.85 | testing_debugging_repair_refactoring | 1,715 | false | 2026-07-17 |
#region License
/*
* Copyright © 2002-2007 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
*
* Un... | MaferYangPointJun/Spring.net | test/Spring/Spring.Messaging.Tests/Messaging/Listener/DistributedTxMessageListenerContainerTests.cs | https://github.com/MaferYangPointJun/Spring.net/blob/HEAD/test/Spring/Spring.Messaging.Tests/Messaging/Listener/DistributedTxMessageListenerContainerTests.cs | ghcode:00159:665bb422e34e | apache-2.0 | codeparrot/github-code | 665bb422e34e1a577ce3bc2c7bf58c214b69689f5771edde83ab25a84cd904a2 | 0.85 | testing_debugging_repair_refactoring | 1,026 | false | 2026-07-17 |
using BabyBrother.Models;
using BabyBrother.Services;
using BabyBrother.ViewModels;
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Text;
using System.Threading;
using System.... | oasalonen/babybrother | BabyBrother.UnitTest/TestSetInfantPageViewModel.cs | https://github.com/oasalonen/babybrother/blob/HEAD/BabyBrother.UnitTest/TestSetInfantPageViewModel.cs | ghcode:00159:648e9295fd76 | apache-2.0 | codeparrot/github-code | 648e9295fd7668b1ea69550a7edeb4931b3f65d2a3d6bad7d53d7d3223b0d8b6 | 0.75 | testing_debugging_repair_refactoring | 1,374 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NuPattern.Authoring.WorkflowDesign;
using NuPattern.Modeling;
namespace NuPattern.Authoring.UnitTests
{
[TestClass]
public class VariabilityRequirementSpec
{
internal static readonly IAssertion Assert = new Assertion();
... | NuPattern/NuPattern | Src/Authoring/UnitTests/WorkflowDesign/VariabilityRequirementSpec.cs | https://github.com/NuPattern/NuPattern/blob/HEAD/Src/Authoring/UnitTests/WorkflowDesign/VariabilityRequirementSpec.cs | ghcode:00159:70149b8987bd | apache-2.0 | codeparrot/github-code | 70149b8987bd0fa619dbb9fcece1eefea512e1e32298ad09c660d84e05de1a8d | 0.75 | testing_debugging_repair_refactoring | 292 | false | 2026-07-17 |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using FluentAssertions;
using IdentityModel;
using IdentityModel.Client;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestH... | chrisowhite/IdentityServer4 | test/IdentityServer.IntegrationTests/Clients/ClientCredentialsClient.cs | https://github.com/chrisowhite/IdentityServer4/blob/HEAD/test/IdentityServer.IntegrationTests/Clients/ClientCredentialsClient.cs | ghcode:00159:497f73069e0e | apache-2.0 | codeparrot/github-code | 497f73069e0ec1b469a05c5a6a0d8d856cd43497f7f12b272cc15d43878df9e4 | 0.85 | testing_debugging_repair_refactoring | 2,278 | 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 Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
namespace Raz... | aspnet/AspNetCore | src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithClientValidationDisabled.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithClientValidationDisabled.cs | ghcode:00159:331f50315d21 | apache-2.0 | codeparrot/github-code | 331f50315d213bffcb2310e8061adae7f122106c5c6a1ea3a6fbd6eb1b39a5c8 | 0.85 | testing_debugging_repair_refactoring | 197 | false | 2026-07-17 |
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); y... | laimis/lucenenet | src/Lucene.Net.Tests.Queries/ChainedFilterTest.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Queries/ChainedFilterTest.cs | ghcode:00159:721ea2c99332 | apache-2.0 | codeparrot/github-code | 721ea2c993326913507128914a50a3ea146eb5eb95a46566b054b26c6950b1a6 | 0.85 | testing_debugging_repair_refactoring | 1,819 | false | 2026-07-17 |
// Copyright © Naked Objects Group Ltd ( http://www.nakedobjects.net).
// All Rights Reserved. This code released under the terms of the
// Microsoft Public License (MS-PL) ( http://opensource.org/licenses/ms-pl.html)
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace RestfulObjects.Test.EndToEnd {
... | NakedObjectsGroup/NakedObjectsFramework | Test/NakedObjects.Rest.Test.EndToEnd/CollectionDelete.cs | https://github.com/NakedObjectsGroup/NakedObjectsFramework/blob/HEAD/Test/NakedObjects.Rest.Test.EndToEnd/CollectionDelete.cs | ghcode:00159:a0090311ffee | apache-2.0 | codeparrot/github-code | a0090311ffeeffd29c503bb3c7aeef8a666a17f18ae829b868049ac3554019d0 | 0.85 | testing_debugging_repair_refactoring | 178 | false | 2026-07-17 |
using System;
using System.Threading;
using System.Threading.Tasks;
using Divergic.Logging.Xunit;
using Microsoft.Extensions.Logging;
using Proto.Remote.Tests.Messages;
using Xunit;
using Xunit.Abstractions;
namespace Proto.Remote.Tests
{
[Collection("RemoteTests"), Trait("Category", "Remote")]
public class Co... | AsynkronIT/protoactor-dotnet | tests/Proto.Remote.Tests/ConnectionFailTests.cs | https://github.com/AsynkronIT/protoactor-dotnet/blob/HEAD/tests/Proto.Remote.Tests/ConnectionFailTests.cs | ghcode:00159:b98c9404d732 | apache-2.0 | codeparrot/github-code | b98c9404d732b332af6a9d0ace937d920ebf9cd00f4a1ea13e72d9af7c407dc9 | 0.75 | testing_debugging_repair_refactoring | 809 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
using Functional.Implementation;
using Test.Contracts;
using Tests;
namespace UnitTests.Tests {
[TestClass]
public class TestLanguageParserTokenizerTokens {
[TestMethod]
public async Task test_parser... | codecore/Functional | UnitTests/Tests/TestLanguageParserTokenizerTokens.cs | https://github.com/codecore/Functional/blob/HEAD/UnitTests/Tests/TestLanguageParserTokenizerTokens.cs | ghcode:00159:dfded8ebd820 | apache-2.0 | codeparrot/github-code | dfded8ebd820fc7f53d75fcfbc9fce2f348e536bea7f1d94d0a8e1bdebd8926f | 0.85 | testing_debugging_repair_refactoring | 138 | false | 2026-07-17 |
namespace MediatR.Tests
{
using Microsoft.Practices.ServiceLocation;
using Shouldly;
using StructureMap;
using StructureMap.Graph;
public class SendTests
{
public class Ping : IRequest<Pong>
{
public string Message { get; set; }
}
public class Pong
... | CollaboratingPlatypus/MediatR | src/Portable.MediatR.Tests/SendTests.cs | https://github.com/CollaboratingPlatypus/MediatR/blob/HEAD/src/Portable.MediatR.Tests/SendTests.cs | ghcode:00159:804f8ca5f10a | apache-2.0 | codeparrot/github-code | 804f8ca5f10ab7220fb2d19ae4d4b975be7526aeb2a87aa91af66a6022cc9a18 | 0.75 | testing_debugging_repair_refactoring | 259 | false | 2026-07-17 |
/*
Copyright (c) 2003-2006 Niels Kokholm and Peter Sestoft
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, me... | T145/razordbx | RazorDBx.Tests/C5/linkedlists/LinkedListTest.cs | https://github.com/T145/razordbx/blob/HEAD/RazorDBx.Tests/C5/linkedlists/LinkedListTest.cs | ghcode:00159:808cf39ff644 | apache-2.0 | codeparrot/github-code | 808cf39ff64433082576131e5c67382d36f739582b643fc30ffeccea8fa313c8 | 0.72 | testing_debugging_repair_refactoring | 28,134 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. 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.Linq.Expressions;
using System.Reflection;
usi... | rlocus/SPAccess | LinqToSP/SP.Client/Extensions/ExpressionExtensions.cs | https://github.com/rlocus/SPAccess/blob/HEAD/LinqToSP/SP.Client/Extensions/ExpressionExtensions.cs | ghcode:00159:54e92c89f387 | apache-2.0 | codeparrot/github-code | 54e92c89f3875b3849b0855fc4e15a3e6460c0cdf7b6d158a4069ffb061fdb4e | 0.7 | testing_debugging_repair_refactoring | 2,178 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using FooFramework;
namespace TemperatureAlarm
{
[TestFixture()]
public class AlarmTest
{
Alarm alarm;
FakeConfigurationProvider confProvider;
OutPort<TempData> alarmInPort;
InPort<Notification> alarmOutPort;
List<Notific... | scallar/TemperatureAlarm | TemperatureAlarm/TemperatureAlarm/UnitTests/TestCases/AlarmTest.cs | https://github.com/scallar/TemperatureAlarm/blob/HEAD/TemperatureAlarm/TemperatureAlarm/UnitTests/TestCases/AlarmTest.cs | ghcode:00159:5deca3edf6cf | bsd-2-clause | codeparrot/github-code | 5deca3edf6cfd382f307ead8d63ff870c5510a6ead3d6579f98fdb5a6ffb3eb8 | 0.53 | testing_debugging_repair_refactoring | 997 | false | 2026-07-17 |
// Copyright © 2010 onwards, Andrew Whewell
// All rights reserved.
//
// Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright notice, this l... | VincentFortuneDeng/VirtualRadarSource2.0.2 | Test/Test.VirtualRadar.Interface/EventArgsTests.cs | https://github.com/VincentFortuneDeng/VirtualRadarSource2.0.2/blob/HEAD/Test/Test.VirtualRadar.Interface/EventArgsTests.cs | ghcode:00159:f86b69b31606 | bsd-3-clause | codeparrot/github-code | f86b69b316069b8308d50c381b935377d716f06e3ad2c8e1bbd3405a122fb098 | 0.85 | testing_debugging_repair_refactoring | 370 | false | 2026-07-17 |
namespace Central.Util.Test
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class PathUtilTest
{
[TestMethod]
public void AppendRelativePath()
{
Assert.AreEqual(@"C:\test2\child", PathUtil.AppendRelativePath(@"C:\test1", @"C:\test1\child", @... | apkbox/central | Central.Util.Test/UnitTest1.cs | https://github.com/apkbox/central/blob/HEAD/Central.Util.Test/UnitTest1.cs | ghcode:00159:eabae67772dd | bsd-3-clause | codeparrot/github-code | eabae67772dd2ed8cb0b714d684ea4eb9f135dddf18e32b70be3bb387bf87837 | 0.6 | testing_debugging_repair_refactoring | 80 | false | 2026-07-17 |
namespace Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.Helpers
{
using System;
using System.Collections.Generic;
using Microsoft.ApplicationInsights.Channel;
using Microsoft.ApplicationInsights.TestFramework;
using Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.Impleme... | pharring/ApplicationInsights-dotnet | BASE/Test/ServerTelemetryChannel.Test/TelemetryChannel.Tests/Helpers/StubTransmissionStorage.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/BASE/Test/ServerTelemetryChannel.Test/TelemetryChannel.Tests/Helpers/StubTransmissionStorage.cs | ghcode:00159:64c12cc47c05 | mit | codeparrot/github-code | 64c12cc47c05771bb3f98353ad2d58e0fc38f71feab37b8fcb0a6abc863a6cab | 0.85 | testing_debugging_repair_refactoring | 376 | false | 2026-07-17 |
namespace SimpleInjector.Tests.Unit
{
using System.Collections.Generic;
using System.Linq;
public static class EnumerableExtensions
{
public static T Second<T>(this IEnumerable<T> collection) => collection.Skip(1).First();
}
} | simpleinjector/SimpleInjector | src/SimpleInjector.Tests.Unit/EnumerableExtensions.cs | https://github.com/simpleinjector/SimpleInjector/blob/HEAD/src/SimpleInjector.Tests.Unit/EnumerableExtensions.cs | ghcode:00159:44250b701ba4 | mit | codeparrot/github-code | 44250b701ba4c519f7dd7e48e223065970d7e232f3d39f5bbb3ab0f79839e278 | 0.75 | testing_debugging_repair_refactoring | 51 | false | 2026-07-17 |
using GenFx.Validation;
using System;
using TestCommon.Mocks;
using Xunit;
namespace GenFx.Tests
{
/// <summary>
/// Contains unit tests for the <see cref="ComponentValidatorExtensions"/> class.
/// </summary>
public class ComponentValidatorExtensionsTest
{
/// <summary>
/// Tests ... | mthalman/GenFx | src/GenFx.Tests/ComponentValidatorExtensionsTest.cs | https://github.com/mthalman/GenFx/blob/HEAD/src/GenFx.Tests/ComponentValidatorExtensionsTest.cs | ghcode:00159:c7e0fe22334a | mit | codeparrot/github-code | c7e0fe22334a3cf30bb831b07a3fd60613caa9568d72235de255e859e28201f8 | 0.7 | testing_debugging_repair_refactoring | 452 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.MSBuild;
using Xunit;
namespace MSBuilder
{
public ... | adalon/MSBuilder | src/Roslyn/Roslyn.Tests/ProjectLoaderSpec.cs | https://github.com/adalon/MSBuilder/blob/HEAD/src/Roslyn/Roslyn.Tests/ProjectLoaderSpec.cs | ghcode:00159:cc6256a94e81 | mit | codeparrot/github-code | cc6256a94e81d393405d3e2086d9753c3aecf61209b8bd67a3341ae1a7f09690 | 0.85 | testing_debugging_repair_refactoring | 1,022 | false | 2026-07-17 |
// Copyright (c) 2015 ZZZ Projects. All rights reserved
// Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
// Website: http://www.zzzprojects.com/
// Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927
// All ZZZ Projects products: Entity Framework ... | mario-loza/Z.ExtensionMethods | test/Z.IO.Test/System.IO.DirectoryInfo/DirectoryInfo.CreateAllDirectories.cs | https://github.com/mario-loza/Z.ExtensionMethods/blob/HEAD/test/Z.IO.Test/System.IO.DirectoryInfo/DirectoryInfo.CreateAllDirectories.cs | ghcode:00159:5d6f555e1832 | mit | codeparrot/github-code | 5d6f555e1832b6d9cd359ac1ed93585bff443da8867d7a32ccb9c19143fb727c | 0.7 | testing_debugging_repair_refactoring | 212 | false | 2026-07-17 |
using System;
using GridDomain.CQRS;
namespace GridDomain.Tests.Unit.BalloonDomain.Commands
{
public class PlanBallonBlowCommand : Command
{
public PlanBallonBlowCommand(string aggregateId, TimeSpan? sleepTime = null) : base(aggregateId)
{
SleepTime = sleepTime ?? TimeSpan.FromMilli... | linkelf/GridDomain | GridDomain.Tests.Unit/BalloonDomain/Commands/PlanBallonBlowCommand.cs | https://github.com/linkelf/GridDomain/blob/HEAD/GridDomain.Tests.Unit/BalloonDomain/Commands/PlanBallonBlowCommand.cs | ghcode:00159:6fce1a547792 | apache-2.0 | codeparrot/github-code | 6fce1a547792e7c3ecd7fa08b3d832e20a22a2ee760dcc89689ad4c73ae29348 | 0.75 | testing_debugging_repair_refactoring | 91 | false | 2026-07-17 |
using System;
using Bridge.Test.NUnit;
namespace Bridge.ClientTest.Batch3.BridgeIssues
{
[Category(Constants.MODULE_ISSUES)]
[TestFixture(TestNameFormat = "#2538 - {0}")]
public class Bridge2538
{
[Test]
public static void TestArraySegment()
{
var arr = new byte[usho... | bridgedotnet/Bridge | Tests/Batch3/BridgeIssues/2500/N2538.cs | https://github.com/bridgedotnet/Bridge/blob/HEAD/Tests/Batch3/BridgeIssues/2500/N2538.cs | ghcode:00159:8eeaf0a15f4c | apache-2.0 | codeparrot/github-code | 8eeaf0a15f4ce90f0b3639151fd92ba4d0cde9f80bd48fb8f7e716fa4969dc2f | 0.75 | testing_debugging_repair_refactoring | 126 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.SharePoint.Client;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Security;
using System.Configuration;
using OfficeDevPnP.Core.Tests;
using OfficeDevPnP.Core.Entities;
... | kendomen/PnP | OfficeDevPnP.Core/OfficeDevPnP.Core.Tests/AppModelExtensions/FieldAndContentTypeExtensionsTests.cs | https://github.com/kendomen/PnP/blob/HEAD/OfficeDevPnP.Core/OfficeDevPnP.Core.Tests/AppModelExtensions/FieldAndContentTypeExtensionsTests.cs | ghcode:00159:eb470a74fccd | apache-2.0 | codeparrot/github-code | eb470a74fccd44a41bdba1fba69d5be5d0f48fde543b34ee5c88b885f86bcd16 | 0.85 | testing_debugging_repair_refactoring | 4,480 | 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.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace System.Text.Js... | ViktorHofer/corefx | src/System.Text.Json/src/System/Text/Json/Serialization/ReflectionMemberAccessor.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Text.Json/src/System/Text/Json/Serialization/ReflectionMemberAccessor.cs | ghcode:00159:0e767ec64626 | mit | codeparrot/github-code | 0e767ec64626d7e6d5e8a89cd4541abcb92898d2e7c932f2221d5d765d938ba9 | 0.95 | testing_debugging_repair_refactoring | 1,292 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using GitVersion;
using Shouldly;
namespace GitVersionCore.Tests
{
[TestFixture]
public class LoggerTest
{
[Test]
[TestCase("http")]
[TestCase("https")]
public void LoggerObscuresPassword(string protocol)
{
const stri... | DanielRose/GitVersion | src/GitVersionCore.Tests/LoggerTest.cs | https://github.com/DanielRose/GitVersion/blob/HEAD/src/GitVersionCore.Tests/LoggerTest.cs | ghcode:00159:dd8e29cdb9d7 | mit | codeparrot/github-code | dd8e29cdb9d743e968a179cea3d0d8a10cc009c72c150580decbc83729d70b3c | 0.75 | testing_debugging_repair_refactoring | 260 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using FluentAssertions;
using Mic... | AlexanderSher/RTVS | src/Package/Test/Project/ProjectSystem/PropertyPages/RunPageViewModelTest.cs | https://github.com/AlexanderSher/RTVS/blob/HEAD/src/Package/Test/Project/ProjectSystem/PropertyPages/RunPageViewModelTest.cs | ghcode:00159:fa85e3bbdd3a | mit | codeparrot/github-code | fa85e3bbdd3afb228c1f30559154ed1a4b7bb6e9edbc610490aa8a23aeb90ccc | 0.95 | testing_debugging_repair_refactoring | 1,459 | false | 2026-07-17 |
using Merchello.Tests.Base.TestHelpers;
namespace Merchello.Tests.IntegrationTests.Invoices
{
using System;
using System.Globalization;
using System.Linq;
using Merchello.Core;
using Merchello.Core.Gateways.Shipping.FixedRate;
using Merchello.Core.Models;
using Merchello.Core.Models.TypeF... | BluefinDigital/Merchello | test/Merchello.Tests.IntegrationTests/Invoices/InvoiceTests.cs | https://github.com/BluefinDigital/Merchello/blob/HEAD/test/Merchello.Tests.IntegrationTests/Invoices/InvoiceTests.cs | ghcode:00159:81029225c4b5 | mit | codeparrot/github-code | 81029225c4b56c7b748aa7dd08043ed57d96e80dcfb3b399e8b46f56fa8fe14d | 0.85 | testing_debugging_repair_refactoring | 2,389 | false | 2026-07-17 |
using Xunit;
namespace Humanizer.Tests
{
[UseCulture("en-US")]
public class HeadingTests
{
[InlineData(0, "N")]
[InlineData(11.2, "N")]
[InlineData(11.3, "NNE")]
[InlineData(22.5, "NNE")]
[InlineData(33.7, "NNE")]
[InlineData(33.8, "NE")]
[InlineData... | hazzik/Humanizer | src/Humanizer.Tests.Shared/HeadingTests.cs | https://github.com/hazzik/Humanizer/blob/HEAD/src/Humanizer.Tests.Shared/HeadingTests.cs | ghcode:00159:ecd267a2e76f | mit | codeparrot/github-code | ecd267a2e76fb7aa84d460f5075ba306d23b7a1ea2f3fc3f669501ca0c2b7bca | 0.75 | testing_debugging_repair_refactoring | 1,793 | 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.Text;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Util... | vslsnap/roslyn | src/Compilers/CSharp/Test/Syntax/Parsing/ParserErrorMessageTests.cs | https://github.com/vslsnap/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Syntax/Parsing/ParserErrorMessageTests.cs | ghcode:00159:a6039dd0cec1 | apache-2.0 | codeparrot/github-code | a6039dd0cec11a4e20f1635eac19a7b1b322f4d8457da679704342a060ce044b | 0.75 | testing_debugging_repair_refactoring | 47,784 | false | 2026-07-17 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
///////////////////////////////////////////////////////... | smaillet-ms/llilum | Zelig/Zelig/Test/RunTime/NETMF/mscorlib/namespaces/NamespacesTests.cs | https://github.com/smaillet-ms/llilum/blob/HEAD/Zelig/Zelig/Test/RunTime/NETMF/mscorlib/namespaces/NamespacesTests.cs | ghcode:00159:71db27590472 | mit | codeparrot/github-code | 71db2759047299d5f37185b567c302a8a79898bcaa7c242923bde476be560b92 | 0.95 | testing_debugging_repair_refactoring | 10,188 | 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 System.Text;
using System.Globalization;
using System.Runtime.CompilerServices;
using Xunit;
public class Directory_Exists
{
[... | destinyclown/corefx | src/System.IO.FileSystem/tests/Directory/Exists.cs | https://github.com/destinyclown/corefx/blob/HEAD/src/System.IO.FileSystem/tests/Directory/Exists.cs | ghcode:00159:bca2023c9657 | mit | codeparrot/github-code | bca2023c96570adc4d14d5af0b569cb35b34f2960983b3fdb5146cbd7243a484 | 0.95 | testing_debugging_repair_refactoring | 2,102 | false | 2026-07-17 |
using System;
using NSubstitute.Exceptions;
using NUnit.Framework;
namespace NSubstitute.Acceptance.Specs
{
public class PartialSubs
{
[Test]
public void CanNotCreatePartialSubForInterface()
{
Assert.Throws<CanNotPartiallySubForInterfaceOrDelegateException>(() => Substitute... | huoxudong125/NSubstitute | Source/NSubstitute.Acceptance.Specs/PartialSubs.cs | https://github.com/huoxudong125/NSubstitute/blob/HEAD/Source/NSubstitute.Acceptance.Specs/PartialSubs.cs | ghcode:00159:f58aca9cc682 | bsd-3-clause | codeparrot/github-code | f58aca9cc68230a5a940f58a8e5ee32aa26c2ad8a2162a26443bf247311709f7 | 0.6 | testing_debugging_repair_refactoring | 1,376 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Xunit;
namespace System.Collec... | mokchhya/corefx | src/System.Collections.Immutable/tests/ImmutableSortedSetBuilderTest.cs | https://github.com/mokchhya/corefx/blob/HEAD/src/System.Collections.Immutable/tests/ImmutableSortedSetBuilderTest.cs | ghcode:00159:2e13335142af | mit | codeparrot/github-code | 2e13335142afe4b31f366badb8b587366ce7eff19a6493d80f4977aa88258c7a | 0.95 | testing_debugging_repair_refactoring | 2,555 | false | 2026-07-17 |
/*
* Farseer Physics Engine based on Box2D.XNA port:
* Copyright (c) 2010 Ian Qvist
*
* Box2D.XNA port of Box2D:
* Copyright (c) 2009 Brandon Furtwangler, Nathan Furtwangler
*
* Original source Box2D:
* Copyright (c) 2006-2009 Erin Catto http://www.gphysics.com
*
* This software is provided 'as-is', without any exp... | haithemaraissia/CocosSharp | tests/tests/classes/tests/Box2DTestBet/Tests/CircleBenchmarkTest.cs | https://github.com/haithemaraissia/CocosSharp/blob/HEAD/tests/tests/classes/tests/Box2DTestBet/Tests/CircleBenchmarkTest.cs | ghcode:00159:1fb0f910c99e | mit | codeparrot/github-code | 1fb0f910c99e210ae97fa72154c552f65cd6ae4a6a502af51f4830b2f7edf2db | 0.95 | testing_debugging_repair_refactoring | 736 | false | 2026-07-17 |
namespace HybridData.Tests.Tests
{
using Microsoft.Azure.Management.HybridData;
using System;
using Xunit;
using Xunit.Abstractions;
public class PublicKeysTest : HybridDataTestBase
{
public PublicKeysTest(ITestOutputHelper testOutputHelper) : base(testOutputHelper)
{
}... | ayeletshpigelman/azure-sdk-for-net | sdk/hybriddatamanager/Microsoft.Azure.Management.HybridDataManager/tests/Tests/PublicKeysTest.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/hybriddatamanager/Microsoft.Azure.Management.HybridDataManager/tests/Tests/PublicKeysTest.cs | ghcode:00159:2cd805ddc0e5 | mit | codeparrot/github-code | 2cd805ddc0e5fcdcf6688c792ebcb5b116b2408bd44c460f4711eacaff07ffbe | 0.85 | testing_debugging_repair_refactoring | 276 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Moq;
using Ploeh.TestTypeFoundation;
using Xunit;
using System;
namespace Ploeh.AutoFixture.AutoMoq.UnitTest
{
public class FixtureIntegrationWithAutoMoqCustomizationTest
{
[Fact]
public void FixtureAutoMocksInterface()
{
... | StevenJiang2015/AutoFixture | Src/AutoMoqUnitTest/FixtureIntegrationWithAutoMoqCustomizationTest.cs | https://github.com/StevenJiang2015/AutoFixture/blob/HEAD/Src/AutoMoqUnitTest/FixtureIntegrationWithAutoMoqCustomizationTest.cs | ghcode:00159:0df1aac42c9e | mit | codeparrot/github-code | 0df1aac42c9eab7024329644206af8947eb27728b33438212022e7814314463f | 0.7 | testing_debugging_repair_refactoring | 1,014 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache... | Madhukarc/azure-sdk-tools | WindowsAzurePowershell/src/Management.Test.Utilities/Resources/ResourceLocator.cs | https://github.com/Madhukarc/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.Test.Utilities/Resources/ResourceLocator.cs | ghcode:00159:965e9660e87a | apache-2.0 | codeparrot/github-code | 965e9660e87a4e39f16bea17b429e4760d3f0fbe640cd0ae3c81f93e81a02c6a | 0.95 | testing_debugging_repair_refactoring | 174 | 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 StorSimple1200Series.Tests
{
using System.Collections.Generic;
using System.Linq;
using Xunit;
using Microsoft.Azure.Management.Sto... | shahabhijeet/azure-sdk-for-net | src/SDKs/StorSimple/Series1200/StorSimple1200Series.Tests/Helpers/StorageDomainTestUtilities.cs | https://github.com/shahabhijeet/azure-sdk-for-net/blob/HEAD/src/SDKs/StorSimple/Series1200/StorSimple1200Series.Tests/Helpers/StorageDomainTestUtilities.cs | ghcode:00159:18951ff07f2c | mit | codeparrot/github-code | 18951ff07f2c554d2fb5ba38a043d3030a2ed87f1eb64a8a8e4fff9bca7ff567 | 0.85 | testing_debugging_repair_refactoring | 1,059 | 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.Diagnostics;
using System.Diagnostics.Contracts;
namespace System.Text
{
public sealed class Decod... | tijoytom/coreclr | src/mscorlib/shared/System/Text/DecoderReplacementFallback.cs | https://github.com/tijoytom/coreclr/blob/HEAD/src/mscorlib/shared/System/Text/DecoderReplacementFallback.cs | ghcode:00159:9e86c480b6dd | mit | codeparrot/github-code | 9e86c480b6dd19369df089956abf0a1cec1c0b0669f11047407188b7a564b762 | 0.85 | testing_debugging_repair_refactoring | 1,224 | false | 2026-07-17 |
using NUnit.Framework;
using Quartz.Util;
namespace Quartz.Tests.Unit.Utils
{
[TestFixture]
public class TimeZoneUtilTest
{
[Test]
public void ShouldBeAbleToFindWithAlias()
{
var infoWithUtc = TimeZoneUtil.FindTimeZoneById("UTC");
var infoWithUniversalCoord... | sean-gilliam/quartznet | src/Quartz.Tests.Unit/Utils/TimeZoneUtilTest.cs | https://github.com/sean-gilliam/quartznet/blob/HEAD/src/Quartz.Tests.Unit/Utils/TimeZoneUtilTest.cs | ghcode:00159:fbaa8ce05b64 | apache-2.0 | codeparrot/github-code | fbaa8ce05b6429fcd7ba3c0e3e8d7a475efd147b179c379d25f23b79d86198c4 | 0.75 | testing_debugging_repair_refactoring | 99 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Reflection;
using System.Collections.Generic;
using System.Diagnostics;
using Internal.... | zenos-os/zenos | vendor/corert/src/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/TypeSystemExtensions.cs | https://github.com/zenos-os/zenos/blob/HEAD/vendor/corert/src/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/TypeSystemExtensions.cs | ghcode:00159:b2647c954b01 | mit | codeparrot/github-code | b2647c954b01338b912982544738e082c58ec31f29ed02a9535772ec15f0fc88 | 0.95 | testing_debugging_repair_refactoring | 1,185 | false | 2026-07-17 |
using System;
using Xunit;
using Xunit.Extensions;
namespace NuGet.Test
{
public class ManifestSchemaUtilityTest
{
[Theory]
[InlineData(new object[] { 0 })]
[InlineData(new object[] { -1 })]
[InlineData(new object[] { -5 })]
public void GetSchemaNamespaceThr... | mrward/nuget | test/Core.Test/ManifestSchemaUtilityTest.cs | https://github.com/mrward/nuget/blob/HEAD/test/Core.Test/ManifestSchemaUtilityTest.cs | ghcode:00159:87838d6b531e | apache-2.0 | codeparrot/github-code | 87838d6b531ec19fd26ae799feac9a64ec0842718cb0b522c8ee4261f5b838ee | 0.85 | testing_debugging_repair_refactoring | 319 | 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;
using Xunit.Abstractions;
using System.Xml.Schema;
namespace System.Xml.Tests
{
//[TestCase(Name =... | nbarbettini/corefx | src/System.Private.Xml/tests/XmlSchema/XmlSchemaSet/TC_SchemaSet_XmlNameTable.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Private.Xml/tests/XmlSchema/XmlSchemaSet/TC_SchemaSet_XmlNameTable.cs | ghcode:00159:f9dc6ef225f9 | mit | codeparrot/github-code | f9dc6ef225f9e93d02e7a1753ec0d841e02e90d52b1f7d72189401ec0a99be4c | 0.95 | testing_debugging_repair_refactoring | 217 | 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.
// Code adapted from https://blogs.msdn.microsoft.com/haibo_luo/2010/04/19/ilvisualizer-2010-solution
using System.... | krytarowski/corefx | src/System.Linq.Expressions/tests/ILReader/DynamicScopeTokenResolver.cs | https://github.com/krytarowski/corefx/blob/HEAD/src/System.Linq.Expressions/tests/ILReader/DynamicScopeTokenResolver.cs | ghcode:00159:ed07ff583077 | mit | codeparrot/github-code | ed07ff583077a9d3398cface8e8504408a3ce509957670b951faa0d399e7c43e | 0.95 | testing_debugging_repair_refactoring | 1,032 | false | 2026-07-17 |
// suppress "Missing XML comment for publicly visible type or member"
#pragma warning disable 1591
#region ReSharper warnings
// ReSharper disable PartialTypeWithSinglePart
// ReSharper disable RedundantNameQualifier
// ReSharper disable InconsistentNaming
// ReSharper disable CheckNamespace
// ReSharper disable Un... | jdubrule/bond | compiler/tests/generated/collection-interfaces/complex_types_types.cs | https://github.com/jdubrule/bond/blob/HEAD/compiler/tests/generated/collection-interfaces/complex_types_types.cs | ghcode:00159:a8f347e2b42b | mit | codeparrot/github-code | a8f347e2b42bc13dda2f25777e35cde5f561aaf9ec7b3ad0f8916ea985294373 | 0.95 | testing_debugging_repair_refactoring | 545 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using bgTeam.Queues.Exceptions;
using Newtonsoft.Json;
using Xunit;
namespace bgTeam.Core.Tests.Tests.Queues
{
public class QueueWatcherWarningExceptionTests
{
[Fact]
public async Task Exception()
{
await Assert.ThrowsAsync<QueueW... | bgTeamDev/bgTeam.Core | tests/bgTeam.Core.Tests/Tests/Queues/QueueWatcherWarningExceptionTests.cs | https://github.com/bgTeamDev/bgTeam.Core/blob/HEAD/tests/bgTeam.Core.Tests/Tests/Queues/QueueWatcherWarningExceptionTests.cs | ghcode:00159:f65cbfcb4f32 | mit | codeparrot/github-code | f65cbfcb4f32e7397a5a3612437a8c09e614d53afa6ee3d7e8261db9a318b6a4 | 0.85 | testing_debugging_repair_refactoring | 225 | false | 2026-07-17 |
using System.IO;
//using ApprovalTests;
//using ApprovalTests.Reporters;
using NUnit.Framework;
using Shouldly;
using Specify.Configuration;
namespace Specify.Tests.Configuration
{
[TestFixture]
public class LoggingProcessorTests
{
//#if NET46
// [Test]
// //[UseReporter(typeof(DiffReporter)... | mwhelan/Specify | src/tests/Specify.Tests/Configuration/LoggingProcessorTests.cs | https://github.com/mwhelan/Specify/blob/HEAD/src/tests/Specify.Tests/Configuration/LoggingProcessorTests.cs | ghcode:00159:a38d65cfce5f | mit | codeparrot/github-code | a38d65cfce5fa99f192c7e3317b734e02c691159496fd85185837cea5bf48aca | 0.95 | testing_debugging_repair_refactoring | 310 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BitPacker;
using Xunit;
namespace BitPackerUnitTests
{
public class StringTests
{
[BitPackerObject]
private class HasNullTerminatedString
{
... | canton7/BitPacker | BitPackerUnitTests/StringTests.cs | https://github.com/canton7/BitPacker/blob/HEAD/BitPackerUnitTests/StringTests.cs | ghcode:00159:ab71351490da | mit | codeparrot/github-code | ab71351490da8c7b57e60c8c7de90114b2b09b0062d00e808621297a7451715b | 0.85 | testing_debugging_repair_refactoring | 2,260 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Autofac.Events.Tests.Handlers
{
public abstract class AsyncTestHandler<TEvent> : IHandleEventAsync<TEvent>
{
protected AsyncTestHandler()
{
Events = new Lis... | jonstelly/AutofacEvents | tests/Autofac.Events.Tests/Tests/Handlers/AsyncTestHandler.cs | https://github.com/jonstelly/AutofacEvents/blob/HEAD/tests/Autofac.Events.Tests/Tests/Handlers/AsyncTestHandler.cs | ghcode:00159:babb884ad75e | mit | codeparrot/github-code | babb884ad75ef2e33f9dc579313586026b97c0b59a4be42af336923dff96f64c | 0.85 | testing_debugging_repair_refactoring | 122 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.