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.Threading.Tasks;
using AllReady.Areas.Admin.Features.Events;
using AllReady.Models;
using Xunit;
namespace AllReady.UnitTest.Areas.Admin.Features.Events
{
public class OrganizationIdByEventIdQueryHandlerShould : InMemoryContextTest
{
[Fact]
public async Task ReturnCorrec... | VishalMadhvani/allReady | AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Events/OrganizationIdByEventIdQueryHandlerShould.cs | https://github.com/VishalMadhvani/allReady/blob/HEAD/AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Events/OrganizationIdByEventIdQueryHandlerShould.cs | ghcode:00169:1c36cf4f51b8 | mit | codeparrot/github-code | 1c36cf4f51b8ab5126df4e2738e7e055efcf7e53173e8a4cb709dccf23f38f22 | 0.75 | testing_debugging_repair_refactoring | 163 | 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;
#pragma warning disable 0618
namespace System.Reflection.Tests
{
public class AssemblyFlagsAttrib... | ViktorHofer/corefx | src/System.Runtime/tests/System/Reflection/AssemblyFlagsAttributeTests.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Runtime/tests/System/Reflection/AssemblyFlagsAttributeTests.cs | ghcode:00169:9f7a5753d225 | mit | codeparrot/github-code | 9f7a5753d2259469544559d5a56229aa21da67c94678f7933ef957537dad071a | 0.95 | testing_debugging_repair_refactoring | 441 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Generic;
using Xunit;
using Tests.HashSet_HashSetTestSupport;
namespace Tests
{
namespace HashSet... | misterzik/corefx | src/System.Collections/tests/Generic/HashSet/HashSetTestSupport.cs | https://github.com/misterzik/corefx/blob/HEAD/src/System.Collections/tests/Generic/HashSet/HashSetTestSupport.cs | ghcode:00169:6cfa6c72fe44 | mit | codeparrot/github-code | 6cfa6c72fe4462774ded5e561521a03c0b35dc150587a140b5692df2a206eae5 | 0.95 | testing_debugging_repair_refactoring | 10,930 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
using Xunit;
namespace System.Globalization.Tests
{
public class DateTimeFormatInfoGetFormat
{
// PosTest1: C... | vs-team/corefx | src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoGetFormat.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoGetFormat.cs | ghcode:00169:51bcaf1f818d | mit | codeparrot/github-code | 51bcaf1f818d88fb3062b8fa7983c03c42c673491a13b5ae3b35e4d3e89f5f97 | 0.95 | testing_debugging_repair_refactoring | 201 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Scratch.SequentialLinq
{
// http://stackoverflow.com/questions/30937901/merge-two-or-more-t-in-listt-based-on-condition
public static class IEnumerableExtensions
{
public static IEnumerable<IList<T>> MakeSets<T>(t... | handcraftsman/Scratch | src/Scratch/SequentialLinq/SplitByBreakInSequence.cs | https://github.com/handcraftsman/Scratch/blob/HEAD/src/Scratch/SequentialLinq/SplitByBreakInSequence.cs | ghcode:00169:e7608dc5854d | mit | codeparrot/github-code | e7608dc5854dac33c0dd6d416dd8139f767092909dac9b9bec3dd2e0247d012f | 0.85 | testing_debugging_repair_refactoring | 696 | false | 2026-07-17 |
using System;
using System.Xml;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using YamlDotNet.RepresentationModel;
using YamlDotNet.Converters.Xml;
using YamlDotNet.Converters.Xml.Extensions;
using System.IO;
namespace YamlDotNet.UnitTests
{
[TestClass]
public class XmlConverterTests : YamlTest
{
private ... | chipdude/yamldotnet | YamlDotNet.UnitTests/Converters/Xml/XmlConverterTests.cs | https://github.com/chipdude/yamldotnet/blob/HEAD/YamlDotNet.UnitTests/Converters/Xml/XmlConverterTests.cs | ghcode:00169:d624147ca53a | mit | codeparrot/github-code | d624147ca53ac4be53647ff1fa47e6c41c6b89ed03783c751e06884fbc1e44a6 | 0.75 | testing_debugging_repair_refactoring | 568 | false | 2026-07-17 |
using System.Threading.Tasks;
using Lunchorder.Test.Integration.Helpers;
using Lunchorder.Test.Integration.Helpers.Base;
using Moq;
using NUnit.Framework;
namespace Lunchorder.Test.Integration.ApiController
{
[TestFixture]
public class BadgeControllerTest : AuthorizationControllerTestBase
{
privat... | CoditEU/lunchorder | backend/WebApi/Lunchorder.Test/Integration/ApiController/BadgeControllerTest.cs | https://github.com/CoditEU/lunchorder/blob/HEAD/backend/WebApi/Lunchorder.Test/Integration/ApiController/BadgeControllerTest.cs | ghcode:00169:660efdba2bc1 | mit | codeparrot/github-code | 660efdba2bc1994fc27ce1111d11edc9f022ae2125cc4e4d2bec58ca7b20d7f0 | 0.75 | testing_debugging_repair_refactoring | 165 | false | 2026-07-17 |
using Cumulus.MessageContracts;
namespace Cumulus.StressTests.ThroughputTests.MessageContracts
{
public class BazCommand : IBusCommand
{
}
} | AtmosphereMessaging/Cumulus | src/Tests/Cumulus.StressTests/ThroughputTests/MessageContracts/BazCommand.cs | https://github.com/AtmosphereMessaging/Cumulus/blob/HEAD/src/Tests/Cumulus.StressTests/ThroughputTests/MessageContracts/BazCommand.cs | ghcode:00169:26c95aed6412 | mit | codeparrot/github-code | 26c95aed64121ae130864cee5dd7661b489f554e7c5a489ed4205e2edf8b36eb | 0.6 | testing_debugging_repair_refactoring | 35 | false | 2026-07-17 |
#region [R# naming]
// ReSharper disable ArrangeTypeModifiers
// ReSharper disable UnusedMember.Local
// ReSharper disable FieldCanBeMadeReadOnly.Local
// ReSharper disable ArrangeTypeMemberModifiers
// ReSharper disable InconsistentNaming
#endregion
using FluentAssertions;
using NSpectator;
namespace SampleSpecs.D... | nspectator/NSpectator | test/SampleSpecs/Demo/Describe_Extensions.cs | https://github.com/nspectator/NSpectator/blob/HEAD/test/SampleSpecs/Demo/Describe_Extensions.cs | ghcode:00169:e61eed7c3314 | mit | codeparrot/github-code | e61eed7c3314ff87588d4ba2a182fe42c2dde2f6f0e0f42d7c60b1db4cb451b9 | 0.7 | testing_debugging_repair_refactoring | 285 | false | 2026-07-17 |
using CharacterGen.CharacterClasses;
using CharacterGen.Domain.Tables;
using NUnit.Framework;
using System;
using System.Linq;
namespace CharacterGen.Tests.Integration.Tables.Magics.Spells.PerDay.Clerics
{
[TestFixture]
public class Level14ClericSpellsPerDayTests : AdjustmentsTests
{
protected ove... | DnDGen/CharacterGen | CharacterGen.Tests.Integration.Tables/Magics/Spells/PerDay/Clerics/Level14ClericSpellsPerDayTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Integration.Tables/Magics/Spells/PerDay/Clerics/Level14ClericSpellsPerDayTests.cs | ghcode:00169:823e17de9414 | mit | codeparrot/github-code | 823e17de9414cd24d7f676b3964bce593ad623404656f4e5ff86b38b962e9b38 | 0.75 | testing_debugging_repair_refactoring | 256 | false | 2026-07-17 |
namespace PSher.Api.Tests.ControllersTests
{
class MarksControllerTests
{
}
}
| Kratos-TA/pSher | Tests/pSher.Api.Tests/ControllersTests/MarksControllerTests.cs | https://github.com/Kratos-TA/pSher/blob/HEAD/Tests/pSher.Api.Tests/ControllersTests/MarksControllerTests.cs | ghcode:00169:a34b40d54294 | mit | codeparrot/github-code | a34b40d54294e2980b085cd7e7fef374db1fdde35b0c2310803ce1455c90e365 | 0.35 | testing_debugging_repair_refactoring | 20 | false | 2026-07-17 |
////////////////////////////////////////////////////////////////////////
// Copyright (c) 2011-2016 by Rob Jellinghaus. //
// All Rights Reserved. //
////////////////////////////////////////////////////////////////////////
using Holofunk.Core;
using ... | RobJellinghaus/Holofunk | SceneGraph/AParentSceneNode.cs | https://github.com/RobJellinghaus/Holofunk/blob/HEAD/SceneGraph/AParentSceneNode.cs | ghcode:00169:e4a88e51ecb7 | mit | codeparrot/github-code | e4a88e51ecb7fa59675931874812c625058add5d2e0cc44ade9caa0c7071c3b2 | 0.7 | testing_debugging_repair_refactoring | 749 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Miracle.Arguments.Test
{
[TestFixture]
public class SimpleCommandLineTests
{
/// <summary>
/// Sample argument class that shows examples of most of the functionality of the CommandLineParser.
/// </summary>
[ArgumentSettings(
... | PolarbearDK/Miracle.Arguments | Source/Miracle.Arguments.Tests/SimpleCommandLineTests.cs | https://github.com/PolarbearDK/Miracle.Arguments/blob/HEAD/Source/Miracle.Arguments.Tests/SimpleCommandLineTests.cs | ghcode:00169:af73fdae727b | mit | codeparrot/github-code | af73fdae727b656f5cfd1aee4cf9577c9321ebccf2befff93a06aa264f1ddb6a | 0.85 | testing_debugging_repair_refactoring | 436 | false | 2026-07-17 |
using System;
using Moq;
using NUnit.Framework;
using HomeMadeFood.Data.Data;
using HomeMadeFood.Models;
using System.Collections.Generic;
using HomeMadeFood.Services.Data.Contracts;
namespace HomeMadeFood.Services.Data.UnitTests.IngredientsServiceUnitTests
{
[TestFixture]
public class AddIngredient_Should
... | MilStancheva/HomeMadeFood | HomeMadeFood/Tests/HomeMadeFood.Services.Data.UnitTests/IngredientsServiceUnitTests/AddIngredient_Should.cs | https://github.com/MilStancheva/HomeMadeFood/blob/HEAD/HomeMadeFood/Tests/HomeMadeFood.Services.Data.UnitTests/IngredientsServiceUnitTests/AddIngredient_Should.cs | ghcode:00169:6778be80865a | mit | codeparrot/github-code | 6778be80865a89e1fd6127a967ac31bdfc4ff202e1a0059b0389792aaf674f41 | 0.95 | testing_debugging_repair_refactoring | 1,654 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using HtmlAgilityPack;
using JudoPayDotNet.Models;
using JudoPayDotNetDotNet;
using NUnit.Framework;
namespace JudoPayDotNetIntegrationTests
{
[TestFixture]
public class WebPaymentsTests
... | ChrisRowtcliff/JudoPayDotNet4 | JudoPayDotNetIntegrationTests/WebPaymentsTests.cs | https://github.com/ChrisRowtcliff/JudoPayDotNet4/blob/HEAD/JudoPayDotNetIntegrationTests/WebPaymentsTests.cs | ghcode:00169:27178d9866ee | mit | codeparrot/github-code | 27178d9866eeb26cc8105c8060d88631f2a171ce31229928f331f458b1400efe | 0.85 | testing_debugging_repair_refactoring | 2,935 | false | 2026-07-17 |
namespace Nancy.Tests.Unit.Responses
{
using System.IO;
using Nancy.Responses;
using Xunit;
public class EmbeddedFileResponseFixture
{
[Fact]
public void Should_contain_etag_in_response_header_if_embedded_resource_exists()
{
// Given, when
... | 151706061/Nancy | src/Nancy.Tests/Unit/Responses/EmbeddedFileResponseFixture.cs | https://github.com/151706061/Nancy/blob/HEAD/src/Nancy.Tests/Unit/Responses/EmbeddedFileResponseFixture.cs | ghcode:00169:7c5ba618a6fa | mit | codeparrot/github-code | 7c5ba618a6fa2d5a36c14ce31aede0de2abaee33d2e5a077d7ffb721d9eb608c | 0.85 | testing_debugging_repair_refactoring | 428 | false | 2026-07-17 |
/*
The MIT License(MIT)
Copyright(c) 2015 IgorSoft
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, publi... | viciousviper/DokanCloudFS | DokanCloudFS.Tests/CloudItemNodeTests.cs | https://github.com/viciousviper/DokanCloudFS/blob/HEAD/DokanCloudFS.Tests/CloudItemNodeTests.cs | ghcode:00169:ef04f0b29144 | mit | codeparrot/github-code | ef04f0b2914469e09e3036b92aee436fae018564b9b38d20a87cb89b8fcff98b | 0.75 | testing_debugging_repair_refactoring | 855 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using ZimmerBot.Core.Knowledge;
using ZimmerBot.Core.Statements;
namespace ZimmerBot.Core.Tests.ConfigParser
{
[TestFixture]
public class OutputTests : TestHelper
{
[Test]
public void CanParseMultipleOneOfOutputLin... | JornWildt/ZimmerBot | ZimmerBot.Core.Tests/ConfigParser/OutputTests.cs | https://github.com/JornWildt/ZimmerBot/blob/HEAD/ZimmerBot.Core.Tests/ConfigParser/OutputTests.cs | ghcode:00169:bdb01811451b | mit | codeparrot/github-code | bdb01811451b09a1c0d02028c25f5926ee0b4b3ebafd90f87a63d1f85ba5b6f8 | 0.75 | testing_debugging_repair_refactoring | 932 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Testing;
using Xunit;
using VerifyCS = Test.Utilities.CSharpSecurityCodeFixVerifier<
Microsoft.NetCore.Analyze... | dotnet/roslyn-analyzers | src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Security/UseRSAWithSufficientKeySizeTests.cs | https://github.com/dotnet/roslyn-analyzers/blob/HEAD/src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Security/UseRSAWithSufficientKeySizeTests.cs | ghcode:00169:0c5a1246f046 | mit | codeparrot/github-code | 0c5a1246f0465778464d4af2122da0c167955aa7b8c3b1897dba92eda02dcc49 | 0.85 | testing_debugging_repair_refactoring | 3,125 | false | 2026-07-17 |
using System.Linq;
using System.Threading.Tasks;
using BitShuva.Chavah.Models;
using BitShuva.Chavah.Models.Indexes;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using Raven.Client.Documents;
using Raven.Client.Documents.Session;
namespace... | kdcllc/Chavah | Chavah.NetCore/Controllers/TestController.cs | https://github.com/kdcllc/Chavah/blob/HEAD/Chavah.NetCore/Controllers/TestController.cs | ghcode:00169:9f7ffd4d8c60 | mit | codeparrot/github-code | 9f7ffd4d8c60b7d1f965910c465f698e8b25f36c95e49ab16f3c7e8e0a627cbc | 0.85 | testing_debugging_repair_refactoring | 391 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Windows;
using System.Collections.Generic;
using Genlog;
namespace AnswerMemoryTest
{
[TestClass]
public class MemoryAnswerTest ///Permet d'effectuer un test unitaire sur des méthodes présentes dans MemoryTestView
{
//... | skaaj/genlog | Solution/AnswerMemoryTest/MemoryAnswerTest.cs | https://github.com/skaaj/genlog/blob/HEAD/Solution/AnswerMemoryTest/MemoryAnswerTest.cs | ghcode:00169:27000ee7c3b5 | mit | codeparrot/github-code | 27000ee7c3b5423c433480e52c621e04bb2bd763153ceb92c7f3b9392749f8a1 | 0.7 | testing_debugging_repair_refactoring | 459 | false | 2026-07-17 |
namespace ReamQuery.Server.Test
{
using System;
using Xunit;
using System.Linq;
using ReamQuery.Server.Api;
using ReamQuery.Server.Models;
using ReamQuery.Core.Api;
using System.Net.Http;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
public class ExecuteQueryEndpointForSqlS... | stofte/ream-query | test/ReamQuery.Server.Test/ExecuteQueryEndpointForSqlServer.cs | https://github.com/stofte/ream-query/blob/HEAD/test/ReamQuery.Server.Test/ExecuteQueryEndpointForSqlServer.cs | ghcode:00169:3d13151a23b1 | mit | codeparrot/github-code | 3d13151a23b1fd4da96e0f92accaa97d566d8a8facd8001a5a021f59aea1f2b9 | 0.7 | testing_debugging_repair_refactoring | 393 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Autodash.Core
{
public static class TestRunnerPreProcessorProvider
{
private static readonly List<ITestRunnerPreProcessor> PreProcessors = new List<ITestRunnerPreProcessor>();
public static void Add(ITestRunnerPrePro... | epignosisx/autodash | src/Autodash.Core/TestRunnerPreProcessorProvider.cs | https://github.com/epignosisx/autodash/blob/HEAD/src/Autodash.Core/TestRunnerPreProcessorProvider.cs | ghcode:00169:ecbc678523e9 | mit | codeparrot/github-code | ecbc678523e931cb8a476fb1601c05ed73adba74a26f92dcd94c279683930a20 | 0.75 | testing_debugging_repair_refactoring | 168 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Autofac;
using SS.DAL.DB;
using SS.Contracts.DAL;
using System.Linq;
namespace SS.Tests.DAL
{
/// <summary>
/// A set of tests for <see cref="SS.DAL.DB.ContentPageRepository"/>
/// </summary>
[TestClass]
public class ContentPa... | jenyayel/WebStupidSolution | SS.Tests/DAL/ContentPageRepoTests.cs | https://github.com/jenyayel/WebStupidSolution/blob/HEAD/SS.Tests/DAL/ContentPageRepoTests.cs | ghcode:00169:abcf198ee523 | mit | codeparrot/github-code | abcf198ee5231b045d4d7fc7273df8e109a49f2848c57bb8363f50b12952b9e8 | 0.85 | testing_debugging_repair_refactoring | 473 | false | 2026-07-17 |
//
// MotionBlurEffectTest.cs
//
// Author:
// Jonathan Pobst <monkey@jpobst.com>
//
// Copyright (c) 2012 Jonathan Pobst
//
// 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 wit... | PintaProject/Pinta.ImageManipulation | Pinta.ImageManipulation.UnitTests/Effects/MotionBlurEffectTest.cs | https://github.com/PintaProject/Pinta.ImageManipulation/blob/HEAD/Pinta.ImageManipulation.UnitTests/Effects/MotionBlurEffectTest.cs | ghcode:00169:2dbe6800348f | mit | codeparrot/github-code | 2dbe6800348f028abcfecea0c4a30034ebe1589c70a406d7abf69e200733420f | 0.7 | testing_debugging_repair_refactoring | 440 | false | 2026-07-17 |
using Business.Common.Security;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Security.Cryptography;
namespace Business.Test.Security
{
[TestClass]
public class RngCryptoTests
{
[TestMethod]
public void MakeTripleDesKeyAndIv()
{
var keyB... | JohnPKosh/IODataBlock | IODataBlock/Test/Business.Test/Security/RngCryptoTests.cs | https://github.com/JohnPKosh/IODataBlock/blob/HEAD/IODataBlock/Test/Business.Test/Security/RngCryptoTests.cs | ghcode:00169:71718d71258b | mit | codeparrot/github-code | 71718d71258b5ccb1c04227ab6f9a41473d1748e737b15381b72cec0d10cecff | 0.95 | testing_debugging_repair_refactoring | 914 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Net;
using AutoMock;
using Nop.Core.Domain.Orders;
using Nop.Plugin.Api.Constants;
using Nop.Plugin.Api.Controllers;
using Nop.Plugin.Api.DTOs.ShoppingCarts;
using Nop.Plugin.Api.Models.ShoppingCartsParameters;
using Nop.Plugin.Api.Services;
using NUnit.Framework;
using R... | SevenSpikes/api-plugin-for-nopcommerce | Nop.Plugin.Api.Tests/ControllersTests/ShoppingCartItems/ShoppingCartItemsControllerTests_GetShoppingCartItems.cs | https://github.com/SevenSpikes/api-plugin-for-nopcommerce/blob/HEAD/Nop.Plugin.Api.Tests/ControllersTests/ShoppingCartItems/ShoppingCartItemsControllerTests_GetShoppingCartItems.cs | ghcode:00169:7a4e7cb6147d | mit | codeparrot/github-code | 7a4e7cb6147d456f6a3a16a513dbc4ccbd0926507a0607da46e6980937c9a3e4 | 0.85 | testing_debugging_repair_refactoring | 1,179 | false | 2026-07-17 |
using System;
using Curse.RestProxy.Authentication;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Curse.RestProxy.Tests.Authentication
{
[TestClass]
public class TokenIdentityTests
{
[TestMethod]
public void ConstructorSetsUserId()
{
var identity = new T... | amcoder/Curse.RestProxy | Curse.RestProxy.Tests/Authentication/TokenIdentityTests.cs | https://github.com/amcoder/Curse.RestProxy/blob/HEAD/Curse.RestProxy.Tests/Authentication/TokenIdentityTests.cs | ghcode:00169:3a6da1f63126 | mit | codeparrot/github-code | 3a6da1f6312676456afa654f553c54ebe2b529b793aba365fd5e100af2cff74e | 0.75 | testing_debugging_repair_refactoring | 320 | false | 2026-07-17 |
using Detached.Annotations;
using Detached.Mappers.Context;
using System.Collections.Generic;
using Xunit;
namespace Detached.Mappers.Tests.Mapping
{
public class MultipleManyToManyTests
{
readonly Mapper mapper = new Mapper();
[Fact]
public void MapMultipleManyToMany()
{
... | leonardoporro/Detached | test/Detached.Mappers.Tests/Mapping/MultipleManyToManyTests.cs | https://github.com/leonardoporro/Detached/blob/HEAD/test/Detached.Mappers.Tests/Mapping/MultipleManyToManyTests.cs | ghcode:00169:9034fc48b8d5 | mit | codeparrot/github-code | 9034fc48b8d5d6f15f6c43a3e4d657657ab48d3f2595af97de801e5f2901a9e9 | 0.75 | testing_debugging_repair_refactoring | 394 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2014 Charlie Poole, Rob Prouse
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restri... | appel1/nunit | src/NUnitFramework/framework/Internal/TestExecutionContext.cs | https://github.com/appel1/nunit/blob/HEAD/src/NUnitFramework/framework/Internal/TestExecutionContext.cs | ghcode:00169:c795f058dff6 | mit | codeparrot/github-code | c795f058dff61fe1678ddc5c74c97d0a1bdc0194f13c8448241d285ae1cf4e79 | 0.85 | testing_debugging_repair_refactoring | 3,853 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using ALinq.Mapping;
using ALinq.SqlClient;
using ALinq.Provider;
namespace ALinq
{
#if DEBUG
class MyMetaTable... | ansiboy/ALinq | ALinq/Table.cs | https://github.com/ansiboy/ALinq/blob/HEAD/ALinq/Table.cs | ghcode:00169:141784cb461c | mit | codeparrot/github-code | 141784cb461c19c962c8276b835e2358ba5b250d5d6fcef6b3cb8755b3ae5a0d | 0.7 | testing_debugging_repair_refactoring | 5,444 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Rhino.Mocks;
using Styx.Bootstrappers;
using Styx.Configuration;
using Styx.Engine;
using Styx.Logging;
using Styx.Routing;
using Styx.Sockets;
namespace Styx.Tests
{
[TestFixture]
public class StyxHostExtensionsTests
{
[Test]
public void Register... | ReactiveMarkets/Styx | src/Styx.Tests/StyxHostExtensionsTests.cs | https://github.com/ReactiveMarkets/Styx/blob/HEAD/src/Styx.Tests/StyxHostExtensionsTests.cs | ghcode:00169:be2fc2e0cdb0 | mit | codeparrot/github-code | be2fc2e0cdb09aa5ac109102d1452507477f96a6dbe400a6ffcb91c33135066e | 0.75 | testing_debugging_repair_refactoring | 656 | false | 2026-07-17 |
using System.IO;
using DatenMeister.Actions;
using DatenMeister.Core.EMOF.Implementation;
using DatenMeister.Core.EMOF.Interface.Reflection;
using DatenMeister.Core.Models;
using DatenMeister.Core.Provider.InMemory;
using DatenMeister.Core.Runtime.Workspaces;
using DatenMeister.Tests.Modules.Reports;
using NUnit.Frame... | mbrenn/datenmeister-new | src/Tests/DatenMeister.Tests/Modules/Actions/SimpleReportActionTests.cs | https://github.com/mbrenn/datenmeister-new/blob/HEAD/src/Tests/DatenMeister.Tests/Modules/Actions/SimpleReportActionTests.cs | ghcode:00169:62f30f0963c4 | mit | codeparrot/github-code | 62f30f0963c4bf37e7d0e8968dda2cd963c37202ed0b6ba54ec2f802b18ed219 | 0.95 | testing_debugging_repair_refactoring | 766 | false | 2026-07-17 |
using NUnit.Framework;
namespace WhenItsDone.Models.Tests.WorkerReviewTests
{
[TestFixture]
public class WorkerReviewClientIdTests
{
[TestCase(542)]
[TestCase(-44444444)]
public void ClientId_GetAndSetShould_WorkProperly(int randomNumber)
{
var obj = new WorkerR... | army-of-two/when-its-done | WhenItsDone/Tests/LibTests/WhenItsDone.Models.Tests/WorkerReviewTests/WorkerReviewClientIdTests.cs | https://github.com/army-of-two/when-its-done/blob/HEAD/WhenItsDone/Tests/LibTests/WhenItsDone.Models.Tests/WorkerReviewTests/WorkerReviewClientIdTests.cs | ghcode:00169:92b159bb1929 | mit | codeparrot/github-code | 92b159bb192953f49b21484e6dab4175b9b2d94e9c881ca5789c4bab78384319 | 0.85 | testing_debugging_repair_refactoring | 99 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SFA.DAS.EmployerAccounts.Data;
using SFA.DAS.EmployerAccounts.Models.AccountTeam;
using SFA.DAS.EmployerAccounts.Queries.GetUnsignedEmployerAgreement;
namespace SFA.DAS.EmployerAccounts.UnitTests.Queries.GetUnsignedEmployerAgreementTe... | SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.UnitTests/Queries/GetUnsignedEmployerAgreementTests/WhenIValidateTheRequest.cs | https://github.com/SkillsFundingAgency/das-employerapprenticeshipsservice/blob/HEAD/src/SFA.DAS.EmployerAccounts.UnitTests/Queries/GetUnsignedEmployerAgreementTests/WhenIValidateTheRequest.cs | ghcode:00169:8b39a2da7be9 | mit | codeparrot/github-code | 8b39a2da7be99a5f5d892a7a210b3493073e803cc656e0491f5c9f789a5a337a | 0.85 | testing_debugging_repair_refactoring | 590 | false | 2026-07-17 |
using NUnit.Framework;
namespace IronVelocity.Tests.TemplateExecution
{
[TestFixture(StaticTypingMode.AsProvided)]
[TestFixture(StaticTypingMode.PromoteContextToGlobals)]
public class TemplatedForeachTests : TemplateExeuctionBase
{
public TemplatedForeachTests(StaticTypingMode mode) : base(mod... | afscrome/IronVelocity | test/IronVelocity/TemplateExecution/TemplatedForeachTests.cs | https://github.com/afscrome/IronVelocity/blob/HEAD/test/IronVelocity/TemplateExecution/TemplatedForeachTests.cs | ghcode:00169:72406fa3221c | mit | codeparrot/github-code | 72406fa3221c0896a0de19f830b3002c2dd86c6510ddb36265666fc5d525702b | 0.75 | testing_debugging_repair_refactoring | 1,119 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FluentValidation;
using FluentValidation.Results;
using Moq;
using NSpec;
using NSpec.Domain.Extensions;
using RestApiTester.Common;
using RestApiTester.Specifications.Helpers;
using RestSharp;
using IRestRequest = RestApiTester.Common.IRestRequest;
namespace Rest... | narkhedegs/RestApiTester | RestApiTester.Specifications/rest_sharp_rest_request_builder_specifications.cs | https://github.com/narkhedegs/RestApiTester/blob/HEAD/RestApiTester.Specifications/rest_sharp_rest_request_builder_specifications.cs | ghcode:00169:797b1d32f0c4 | mit | codeparrot/github-code | 797b1d32f0c45a4c578595176481b09106472d7a92138bc5e1775422a0920c14 | 0.6 | testing_debugging_repair_refactoring | 460 | false | 2026-07-17 |
using Mdo.Acceptance.Selenium;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.PhantomJS;
using PersistenceMocks;
namespace Mdo.Acceptance.Tests
{
[TestClass]
public class UserSessionTest
{
private static IWebDriver driver = new PhantomJSDriver();
... | Kmaczek/MDOWebSite | Mdo/Mdo.Acceptance/Tests/UserSessionTest.cs | https://github.com/Kmaczek/MDOWebSite/blob/HEAD/Mdo/Mdo.Acceptance/Tests/UserSessionTest.cs | ghcode:00169:bfb8b7fa512f | mit | codeparrot/github-code | bfb8b7fa512f4f541275d4145f425dab2a734b09ec3f99e89c47b663084250f6 | 0.85 | testing_debugging_repair_refactoring | 319 | false | 2026-07-17 |
using System;
using Dematt.Airy.Core;
using NodaTime;
namespace Dematt.Airy.Tests.NodaTime.Entities
{
public class OffsetDateTimeTestEntity : EntityWithIntId
{
public virtual string Description { get; set; }
public virtual DateTimeOffset SystemDateTimeOffset { get; set; }
public virt... | MatthewRudolph/Airy-Nhibernate-Extensions | tests/Dematt.Airy.Tests.NodaTime/Entities/OffsetDateTimeTestEntity.cs | https://github.com/MatthewRudolph/Airy-Nhibernate-Extensions/blob/HEAD/tests/Dematt.Airy.Tests.NodaTime/Entities/OffsetDateTimeTestEntity.cs | ghcode:00169:3af90d1597d1 | mit | codeparrot/github-code | 3af90d1597d1ef935e367e7ea4324b3c7de43b8d1bd36e611b91915237e938ec | 0.75 | testing_debugging_repair_refactoring | 98 | false | 2026-07-17 |
//
// Library: KaosCollections
// File: TestRdSerializaton.cs
//
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Runtime.Serialization;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
#if TEST_BCL
using System.Collections.Generic;
#else
using Kaos.Collections;
... | kaosborn/KaosCollections | Source/KaosTestCollections/TestRdSerialization.cs | https://github.com/kaosborn/KaosCollections/blob/HEAD/Source/KaosTestCollections/TestRdSerialization.cs | ghcode:00169:d1f85049f714 | mit | codeparrot/github-code | d1f85049f714f8a9fa3b0aac3303cd7ba13d41fe81eabd6497a1b5ff412a002e | 0.85 | testing_debugging_repair_refactoring | 1,373 | false | 2026-07-17 |
// Copyright (c) Timm Krause. All rights reserved. See LICENSE file in the project root for license information.
namespace AspNet.Identity.OracleProvider.Tests.IntegrationTests.Managers
{
using System;
using System.Linq;
using Microsoft.AspNet.Identity;
using Microsoft.VisualStudio.TestTools.UnitTesti... | timmkrause/AspNet.Identity.OracleProvider | src/AspNet.Identity.OracleProvider.Tests/IntegrationTests/Managers/RoleManagerTests.cs | https://github.com/timmkrause/AspNet.Identity.OracleProvider/blob/HEAD/src/AspNet.Identity.OracleProvider.Tests/IntegrationTests/Managers/RoleManagerTests.cs | ghcode:00169:09061fab7c42 | mit | codeparrot/github-code | 09061fab7c42a5886ec9484f2e63ba28e8e7f5ec49efe80addf55d139f34eab5 | 0.75 | testing_debugging_repair_refactoring | 1,012 | false | 2026-07-17 |
using System;
using System.IO;
using Autofac;
using Cumulus.Configuration;
using Cumulus.Infrastructure;
using Cumulus.Infrastructure.Logging;
using Cumulus.LargeMessages.FileSystem.Configuration;
using NUnit.Framework;
namespace Cumulus.Extensions.IntegrationTests
{
[TestFixture]
public class WhenBuildingABu... | AtmosphereMessaging/Cumulus | src/Tests/Cumulus.Extensions.IntegrationTests/WhenBuildingABusWithAutofacAndFileSystemMessageStorage.cs | https://github.com/AtmosphereMessaging/Cumulus/blob/HEAD/src/Tests/Cumulus.Extensions.IntegrationTests/WhenBuildingABusWithAutofacAndFileSystemMessageStorage.cs | ghcode:00169:1513022207cb | mit | codeparrot/github-code | 1513022207cb6149e2a250a400f9137d8cf7e4bbed7006b7a70c7530bc509a45 | 0.85 | testing_debugging_repair_refactoring | 396 | false | 2026-07-17 |
using System.IO;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using AM.Runtime;
using JetBrains.Annotations;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ManagedIrbis.Menus;
using Newtonsoft.Json;
namespace UnitTests.ManagedIrbis.Menus
{
[TestClass]
public class MenuE... | amironov73/ManagedIrbis2 | Source/UnitTests/ManagedIrbis/Menus/MenuEntryTest.cs | https://github.com/amironov73/ManagedIrbis2/blob/HEAD/Source/UnitTests/ManagedIrbis/Menus/MenuEntryTest.cs | ghcode:00169:80a528242686 | mit | codeparrot/github-code | 80a52824268688d34eae9ce3a4de5465239a1cb6bf90b3c3ef4624cefef6792a | 0.7 | testing_debugging_repair_refactoring | 951 | false | 2026-07-17 |
using NUnit.Framework;
namespace Convertinator.Tests
{
[TestFixture]
public class Currencies
{
[Test]
public void DollarsToYen()
{
var dollar = new Unit("dollar")
.UsePluralFormat("{0}s");
var yen = new Unit("yen");
var system = ... | hartez/Convertinator | Convertinator.Tests/Currencies.cs | https://github.com/hartez/Convertinator/blob/HEAD/Convertinator.Tests/Currencies.cs | ghcode:00169:d2b5fa105c84 | mit | codeparrot/github-code | d2b5fa105c84daa46438a758759914532eed8bc0587f953fe632e48367e67f24 | 0.75 | testing_debugging_repair_refactoring | 184 | false | 2026-07-17 |
using Academy.Models;
using Academy.Models.Contracts;
using Academy.Models.Enums;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Academy.Test.SeasonTest
{
[TestFixture]
public class ListCoursesTest... | LambrianaYanakieva/TelerikAcademy | C#/04.Unit-Testing/Exams/Academy/Academy.Test/SeasonTest/ListCoursesTest.cs | https://github.com/LambrianaYanakieva/TelerikAcademy/blob/HEAD/C#/04.Unit-Testing/Exams/Academy/Academy.Test/SeasonTest/ListCoursesTest.cs | ghcode:00169:023cee66c11c | mit | codeparrot/github-code | 023cee66c11c775d9edd1fb483d5066622d2f84ec7ca55285bbc0a21e0741572 | 0.6 | testing_debugging_repair_refactoring | 243 | false | 2026-07-17 |
using System;
using Moq;
using NRaft.Server.States;
using NUnit.Framework;
namespace NRaft.Server.Tests.States
{
[TestFixture]
public class StateTests
{
private class TestState : State
{
public TestState(IConsensusServerStateApi server) : base(server)
{
}
public IConsensusServerStateApi PublicServe... | devatwork/NRaft | NRaft.Server.Tests/States/StateTests.cs | https://github.com/devatwork/NRaft/blob/HEAD/NRaft.Server.Tests/States/StateTests.cs | ghcode:00169:5944b39243d6 | mit | codeparrot/github-code | 5944b39243d687c3fe5d3a0f4f9cfb28f2dac8fee21573e5a6f07cf4bdd88907 | 0.85 | testing_debugging_repair_refactoring | 191 | false | 2026-07-17 |
namespace Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Tests
{
using Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models;
using Microsoft.Azure.Test.HttpRecorder;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Sy... | jamestao/azure-sdk-for-net | src/SDKs/CognitiveServices/dataPlane/Vision/CustomVision/Training.Tests/BaseTests.cs | https://github.com/jamestao/azure-sdk-for-net/blob/HEAD/src/SDKs/CognitiveServices/dataPlane/Vision/CustomVision/Training.Tests/BaseTests.cs | ghcode:00169:868b5d351502 | mit | codeparrot/github-code | 868b5d351502100891c766606002eed7a962ae2767999937b0f6afaced0d07da | 0.75 | testing_debugging_repair_refactoring | 641 | false | 2026-07-17 |
using AccountAtAGlance.Model;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AccountAtAGlance.Tests
{
[TestCl... | DanWahlin/AccountAtAGlance | AccountAtAGlance.Tests/ModelTests.cs | https://github.com/DanWahlin/AccountAtAGlance/blob/HEAD/AccountAtAGlance.Tests/ModelTests.cs | ghcode:00169:60d71b3a947f | mit | codeparrot/github-code | 60d71b3a947f4f4bf69b135baf67dccf5a00d6c83bb5c47319990dfd0b0bd737 | 0.75 | testing_debugging_repair_refactoring | 425 | false | 2026-07-17 |
namespace Gu.Units.Generator.Tests.Scripts
{
using System;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using NUnit.Framework;
public class DumpMissing
{
//// ReSharper disable UnusedMember.Local
private const string Superscripts = "⁺⁻⁰¹²³⁴⁵⁶⁷⁸⁹";
... | JohanLarsson/Gu.Units | Gu.Units.Generator.Tests/Scripts/DumpMissing.cs | https://github.com/JohanLarsson/Gu.Units/blob/HEAD/Gu.Units.Generator.Tests/Scripts/DumpMissing.cs | ghcode:00169:0a7d61a2e233 | mit | codeparrot/github-code | 0a7d61a2e2337090f97dfa992375c56e14b9b5db9d0bad65f14e5c50f9ce25c0 | 0.85 | testing_debugging_repair_refactoring | 538 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TIS100.Chips;
using TIS100.RWs;
using System.Collections.Generic;
using TIS100.Operations;
namespace TIS100.Test {
[TestClass]
public class MovTest {
[TestMethod]
public void Mov_Basic_Works() {
var board = new... | barsae/TIS100 | TIS100.Test/MovTest.cs | https://github.com/barsae/TIS100/blob/HEAD/TIS100.Test/MovTest.cs | ghcode:00169:928e7c78fff8 | mit | codeparrot/github-code | 928e7c78fff8ad2f3e8c50c5de70fe39d0fabe3f9b3dddd72584da58ef3e0ace | 0.6 | testing_debugging_repair_refactoring | 206 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Requests.Movies
{
using FluentAssertions;
using System.Collections.Generic;
using Traits;
using TraktApiSharp.Requests.Base;
using TraktApiSharp.Requests.Movies;
using TraktApiSharp.Requests.Parameters;
using Xunit;
[Category("Requests.Movies.Lists")]
... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Requests/Movies/MoviesBoxOfficeRequest_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Requests/Movies/MoviesBoxOfficeRequest_Tests.cs | ghcode:00169:6ec1476953be | mit | codeparrot/github-code | 6ec1476953bea2edf6f1fd6b41ec4dc37bedb5c19ba01a7e7aaccdc63b143121 | 0.85 | testing_debugging_repair_refactoring | 334 | false | 2026-07-17 |
using Banana.Common.Metrics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Banana.MLP.Tests.Metrics
{
[TestClass]
public class HalfSquaredEuclidianDistanceFixture
{
[TestMethod]
public void Test()
{
var metric = new HalfSquaredEuclidianDistanc... | lsoft/Banana | Banana.MLP.Tests/Metrics/HalfSquaredEuclidianDistanceFixture.cs | https://github.com/lsoft/Banana/blob/HEAD/Banana.MLP.Tests/Metrics/HalfSquaredEuclidianDistanceFixture.cs | ghcode:00169:f531cfae2380 | mit | codeparrot/github-code | f531cfae2380cc498f82385046a5c57dfebe0d87a21144cd0cd6e2d5f4afd07f | 0.75 | testing_debugging_repair_refactoring | 83 | 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 Microsoft.MixedReality.Toolkit.Core.Definitions.InputSystem;
using Microsoft.MixedReality.Toolkit.Core.EventDatum.Input;
using Microsoft.MixedReality.Toolkit.C... | StephenHodgson/MixedRealityToolkit-Unity | Assets/MixedRealityToolkit-SDK/Features/Input/Handlers/SpeechInputHandler.cs | https://github.com/StephenHodgson/MixedRealityToolkit-Unity/blob/HEAD/Assets/MixedRealityToolkit-SDK/Features/Input/Handlers/SpeechInputHandler.cs | ghcode:00169:0ec63b23fad6 | mit | codeparrot/github-code | 0ec63b23fad6e83d59d1073b5ba287a3e5b0ef1a07f03c5e23a560dc481b7705 | 0.7 | testing_debugging_repair_refactoring | 557 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SimpleAnalytics;
namespace SimpleAnalyticsTests
{
[TestClass]
public class WhenUsingEventsSummaryDataPoint
{
[TestInitialize]
public ... | raphaelmun/SimpleAnalytics | SimpleAnalyticsTests/WhenUsingEventsSummaryDataPoint.cs | https://github.com/raphaelmun/SimpleAnalytics/blob/HEAD/SimpleAnalyticsTests/WhenUsingEventsSummaryDataPoint.cs | ghcode:00169:8fb3448bd6ac | mit | codeparrot/github-code | 8fb3448bd6ac8beaf0198b67642b145a5e1cdf55ef724ae82a0583c202f26e6a | 0.6 | testing_debugging_repair_refactoring | 403 | false | 2026-07-17 |
using Moq;
using Newtonsoft.Json.Linq;
using SolrExpress.Builder;
using SolrExpress.Configuration;
using SolrExpress.Options;
using SolrExpress.Search;
using SolrExpress.Search.Parameter;
using SolrExpress.Search.Parameter.Validation;
using SolrExpress.Search.Query;
using SolrExpress.Solr5.Search.Parameter;
using Solr... | solr-express/solr-express | test/SolrExpress.Solr5.UnitTests/Search/Parameter/FacetRangeParameterTests.cs | https://github.com/solr-express/solr-express/blob/HEAD/test/SolrExpress.Solr5.UnitTests/Search/Parameter/FacetRangeParameterTests.cs | ghcode:00169:10db353931e2 | mit | codeparrot/github-code | 10db353931e2219ddf2dbddb9bbb6865525fb42b14e014a404b197157c1a1356 | 0.85 | testing_debugging_repair_refactoring | 2,010 | 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 Internal.TypeSystem;
using Xunit;
namespace TypeSystemTests
{
public class VirtualFuncti... | mjp41/corert | src/ILCompiler.TypeSystem/tests/VirtualFunctionOverrideTests.cs | https://github.com/mjp41/corert/blob/HEAD/src/ILCompiler.TypeSystem/tests/VirtualFunctionOverrideTests.cs | ghcode:00169:a684ee64b381 | mit | codeparrot/github-code | a684ee64b3818b2e161189ac17381bbc73d3159cccc8b09ebaf3febed38f7e0b | 0.95 | testing_debugging_repair_refactoring | 1,189 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
}
[TestMethod]
public void TestMethod2()
{
Assert.IsTrue(true);
}
... | polybioz/hello-world | HelloWorld/Tests/UnitTest1.cs | https://github.com/polybioz/hello-world/blob/HEAD/HelloWorld/Tests/UnitTest1.cs | ghcode:00169:68beb373e3bd | mit | codeparrot/github-code | 68beb373e3bd3bb0902abeaf67a2bcd72afa901ed4522b9a45cae66ac7b4a6a4 | 0.85 | testing_debugging_repair_refactoring | 64 | false | 2026-07-17 |
using System;
namespace Com.TestFlightApp.Lib
{
public partial class TestFlight
{
/// <summary>
/// Create an entry in the TestFlight crash log.
/// </summary>
/// <param name="stackTrace">A string to write to the log. At minimum it should include the error message and stack tra... | BehindTheCode/TestFlight-Xamarin.Android | TestFlightBindings/Additions/TestFlight.cs | https://github.com/BehindTheCode/TestFlight-Xamarin.Android/blob/HEAD/TestFlightBindings/Additions/TestFlight.cs | ghcode:00169:6e1bda86c47a | unlicense | codeparrot/github-code | 6e1bda86c47a4a91cc9ed2bca74c0b89656f3b0dbb55a63b130ebaebb5b4410b | 0.78 | testing_debugging_repair_refactoring | 302 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MarshallingMessageConverterTests.cs" company="The original author or authors.">
// Copyright 2002-2012 the original author or authors.
//
// Licensed under the Apache Licen... | spring-projects/spring-net-amqp | test/Spring.Messaging.Amqp.Tests/Support/Converter/MarshallingMessageConverterTests.cs | https://github.com/spring-projects/spring-net-amqp/blob/HEAD/test/Spring.Messaging.Amqp.Tests/Support/Converter/MarshallingMessageConverterTests.cs | ghcode:00169:e5ab33c4c69e | apache-2.0 | codeparrot/github-code | e5ab33c4c69eab613d22488369e1df01d5fbf8758ad0d606cecb7585610039b5 | 0.85 | testing_debugging_repair_refactoring | 233 | false | 2026-07-17 |
using Xunit;
namespace Structure.Sketching.Tests.Formats.Png.Format.Filters
{
public class SubFilter
{
[Fact]
public void Creation()
{
var TestObject = new Sketching.Formats.Png.Format.Filters.SubFilter();
Assert.Equal(1, TestObject.FilterValue);
... | JaCraig/Structure.Sketching | Structure.Sketching.Tests/Formats/Png/Format/Filters/SubFilter.cs | https://github.com/JaCraig/Structure.Sketching/blob/HEAD/Structure.Sketching.Tests/Formats/Png/Format/Filters/SubFilter.cs | ghcode:00169:54239ea36acc | apache-2.0 | codeparrot/github-code | 54239ea36accf824810e751c4e2046ee725eedc94b61a899dc1e9efd0e000063 | 0.75 | testing_debugging_repair_refactoring | 355 | false | 2026-07-17 |
using System;
using Avatars;
namespace Moq.Sdk
{
/// <summary>
/// An <see cref="IAvatarBehavior"/> that keeps track of property
/// get/set invocations so that a stunt behaves like a stub.
/// </summary>
public class PropertyBehavior : IAvatarBehavior
{
/// <summary>
/// Whet... | Moq/moq | src/Moq.Sdk/PropertyBehavior.cs | https://github.com/Moq/moq/blob/HEAD/src/Moq.Sdk/PropertyBehavior.cs | ghcode:00169:46f119938398 | apache-2.0 | codeparrot/github-code | 46f11993839838012f60ef52598a9df0a81aaae1d394f1c34c2e8ae446d86ca3 | 0.85 | testing_debugging_repair_refactoring | 464 | false | 2026-07-17 |
using System;
using System.IO;
using Atata.Tests.DataProvision;
using NUnit.Framework;
using NUnit.Framework.Internal;
namespace Atata.Tests
{
public class NLogFileConsumerTests : UITestFixtureBase
{
[Test]
public void ConfigureByDefault()
{
ConfigureBaseAtataContext()
... | atata-framework/atata | test/Atata.Tests/NLogFileConsumerTests.cs | https://github.com/atata-framework/atata/blob/HEAD/test/Atata.Tests/NLogFileConsumerTests.cs | ghcode:00169:8071cf3c60a2 | apache-2.0 | codeparrot/github-code | 8071cf3c60a29cacd24fd4adfe4b674f2436074260f2c6d2280676f763799283 | 0.75 | testing_debugging_repair_refactoring | 678 | false | 2026-07-17 |
// ----------------------------------------------------------------
// * The LOOM.NET project http://rapier-loom.net *
// (C) Copyright by Wolfgang Schult. All rights reserved.
// This code is licensed under the Apache License 2.0
// To get more information, go to http://loom.codeplex.com/license
// -----------------... | wschult23/LOOM.NET | Rapier-LOOM.NET/Test/BindMethodAspect.cs | https://github.com/wschult23/LOOM.NET/blob/HEAD/Rapier-LOOM.NET/Test/BindMethodAspect.cs | ghcode:00169:e989b5682ea6 | apache-2.0 | codeparrot/github-code | e989b5682ea6827992996118bd20870f0d3c694d01d83aca421eac23ec3f412a | 0.95 | testing_debugging_repair_refactoring | 503 | false | 2026-07-17 |
namespace Xunit.Faking.RhinoMocks.FakeApiSpecs
{
[Concern(typeof(FakeApi))]
public class Given_that_the_return_value_of_a_configured_parameterless_method_is_evaluated_by_a_function_when_the_configure_method_is_invoked : StaticContextSpecification
{
private IDependencyWithReturnValues _dependency;
... | BjRo/xunitbddextensions | Source/xUnit.BDDExtensions.Specs/Using_value_functions_for_generating_return_values_using_xunitbddextensions_api.cs | https://github.com/BjRo/xunitbddextensions/blob/HEAD/Source/xUnit.BDDExtensions.Specs/Using_value_functions_for_generating_return_values_using_xunitbddextensions_api.cs | ghcode:00169:d61f304b4d3c | apache-2.0 | codeparrot/github-code | d61f304b4d3c5ab0771aa281280bcdb6e6890a78b767981d97a041494c52ddb7 | 0.6 | testing_debugging_repair_refactoring | 1,853 | false | 2026-07-17 |
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// 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
/... | int19h/PTVS | Python/Tests/TestAdapterTests/ProjectInfoTests.cs | https://github.com/int19h/PTVS/blob/HEAD/Python/Tests/TestAdapterTests/ProjectInfoTests.cs | ghcode:00169:ef77239c4220 | apache-2.0 | codeparrot/github-code | ef77239c4220baff41d9b95759c3ca63f7bfeafb2bd45554389edde1fb6b9e37 | 0.95 | testing_debugging_repair_refactoring | 589 | false | 2026-07-17 |
using De.Osthus.Ambeth.Collections.Specialized;
using De.Osthus.Ambeth.Helloworld.Transfer;
using De.Osthus.Ambeth.Ioc;
using De.Osthus.Ambeth.Ioc.Annotation;
using De.Osthus.Ambeth.Log;
using De.Osthus.Ambeth.Merge;
using De.Osthus.Ambeth.Merge.Model;
using De.Osthus.Ambeth.Proxy;
using De.Osthus.Ambeth.Test;
using D... | Dennis-Koch/ambeth | ambeth/Minerva.Client/ambeth/cache/prefetch/PrefetchTest.cs | https://github.com/Dennis-Koch/ambeth/blob/HEAD/ambeth/Minerva.Client/ambeth/cache/prefetch/PrefetchTest.cs | ghcode:00169:a983615ddcf1 | apache-2.0 | codeparrot/github-code | a983615ddcf19345c7a760d04169b4a4bfefab25e076492a2e58436b6da75800 | 0.75 | testing_debugging_repair_refactoring | 382 | false | 2026-07-17 |
using GitHubLabelInitialiser.Models;
using NUnit.Framework;
namespace GitHubLabelInitialiser.Test.Models
{
[TestFixture]
class GitHubCredentialsTest
{
[Test]
public void GitHubCredentials_Implements_IGitHubAccess()
{
var credentials = CreateCredentials();
Assert.That(credentials, Is.InstanceOf<IGitHub... | baynezy/GitHubLabelInitialiser | test/GitHubLabelInitialiser.Test/Models/GitHubCredentialsTest.cs | https://github.com/baynezy/GitHubLabelInitialiser/blob/HEAD/test/GitHubLabelInitialiser.Test/Models/GitHubCredentialsTest.cs | ghcode:00169:ed33b670a42c | apache-2.0 | codeparrot/github-code | ed33b670a42c4fa476b93b724888e4893584586fe3339ccf2d56c1331be3636b | 0.6 | testing_debugging_repair_refactoring | 196 | false | 2026-07-17 |
using System;
using System.Linq;
using Xunit;
namespace Structurizr.Core.Tests.View
{
public class StaticViewTests : AbstractTestBase
{
[Fact]
public void Test_AddAnimationStep_ThrowsAnException_WhenNoElementsAreSpecified()
{
try
{
SystemLa... | structurizr/dotnet | Structurizr.Core.Tests/View/StaticViewTests.cs | https://github.com/structurizr/dotnet/blob/HEAD/Structurizr.Core.Tests/View/StaticViewTests.cs | ghcode:00169:426c576d1a4f | apache-2.0 | codeparrot/github-code | 426c576d1a4fec3674a25010a81f0c8481bbfe6342c48d68882514631b5d14b7 | 0.75 | testing_debugging_repair_refactoring | 727 | false | 2026-07-17 |
using System;
using System.Collections.Specialized;
using FluentAssertions;
using Charm.Logging.Mongo.Layouts;
using MongoDB.Bson;
using NUnit.Framework;
namespace Charm.Logging.Mongo.Tests.Layouts
{
[TestFixture]
public class MessagePackDataLayoutTests
{
[Test]
public void Format_DynamicD... | carmbrester/Charm.Logging | Charm.Logging.Mongo/Charm.Logging.Mongo.Tests/Layouts/MessagePackDataLayoutTests.cs | https://github.com/carmbrester/Charm.Logging/blob/HEAD/Charm.Logging.Mongo/Charm.Logging.Mongo.Tests/Layouts/MessagePackDataLayoutTests.cs | ghcode:00169:1372eb763839 | apache-2.0 | codeparrot/github-code | 1372eb76383961691deb496bc5f1c4e9653d3067d90ee82d1ff70f1f4b9a3ceb | 0.75 | testing_debugging_repair_refactoring | 1,153 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | mcherkasov/ignite | modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/Marshaller.cs | https://github.com/mcherkasov/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/Marshaller.cs | ghcode:00169:09be547e0b2b | apache-2.0 | codeparrot/github-code | 09be547e0b2b0bdb534047c04857a2ef90b333489e4018246489dbe3f5aa1c8e | 0.7 | testing_debugging_repair_refactoring | 6,315 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TravelService.Model;
using TravelService.Model.ServiceModel;
using TravelService.Service;
using TravelService.Service.ServiceRepository;
namespace Application.Back.TravelService.UnitTest
{
[TestClass]
public class GetAssociatedProductsInf... | CtripHackthon/TravelOnline | TravelOnline/Application.Back.TravelService.UnitTest/GetAssociatedProductsInfoUnitTest.cs | https://github.com/CtripHackthon/TravelOnline/blob/HEAD/TravelOnline/Application.Back.TravelService.UnitTest/GetAssociatedProductsInfoUnitTest.cs | ghcode:00169:7ab5afcd196c | apache-2.0 | codeparrot/github-code | 7ab5afcd196c7eb10f9fe53bc78a8971ea21b5df6977d90884cf94d60fbb9b88 | 0.75 | testing_debugging_repair_refactoring | 147 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may n... | abelli85/nvelocity | NVelocity/NVelocity.Tests/MethodInvocationExceptionTestCase.cs | https://github.com/abelli85/nvelocity/blob/HEAD/NVelocity/NVelocity.Tests/MethodInvocationExceptionTestCase.cs | ghcode:00169:b775a057ce63 | apache-2.0 | codeparrot/github-code | b775a057ce63741eab0078e330571a132fc43be8cc7fba3e0e7acb8f2e386c3e | 0.85 | testing_debugging_repair_refactoring | 1,613 | false | 2026-07-17 |
using System;
namespace Xunit
{
/// <summary>
/// Used to declare a test collection container class. The container class gives
/// developers a place to attach interfaces like <see cref="IClassFixture{T}"/> and
/// <see cref="ICollectionFixture{T}"/> that will be applied to all tests classes
/// that are members... | cuteant/xunit-v2-net40-fork | xunit.core/CollectionDefinitionAttribute.cs | https://github.com/cuteant/xunit-v2-net40-fork/blob/HEAD/xunit.core/CollectionDefinitionAttribute.cs | ghcode:00169:9ecdfceed1de | apache-2.0 | codeparrot/github-code | 9ecdfceed1de684b464318c025fd089d2b2ae959f20de2409821e2071812108b | 0.85 | testing_debugging_repair_refactoring | 178 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using AVF.MemberManagement.StandardLibrary.Interfaces;
using Newtonsoft.Json;
namespace AVF.MemberManagement.StandardLibrary.Tbo
{
public class TestObject : IId<string>
{
public const string PrimaryKey = "Key";
[JsonIgnore]
... | aikido-forchheim/membermanagement | AVF.MemberManagement.StandardLibrary/Tbo/TestObject.cs | https://github.com/aikido-forchheim/membermanagement/blob/HEAD/AVF.MemberManagement.StandardLibrary/Tbo/TestObject.cs | ghcode:00169:7f317974af35 | apache-2.0 | codeparrot/github-code | 7f317974af3576a7b2a01eedb55d8a101893df8a07e884c27cc721eb00c97d3c | 0.75 | testing_debugging_repair_refactoring | 151 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using jgshort.SqlDom.Expressions;
namespace jgshort.SqlDom.Tests
{
/// <summary>
///This is a test class for StringTest and is intended
///to contain all StringTest Unit Tests
///</summary>
[TestClass()]
public class StringTest
... | jgshort/SqlDom | jgshort.SqlDom.Tests/StringTest.cs | https://github.com/jgshort/SqlDom/blob/HEAD/jgshort.SqlDom.Tests/StringTest.cs | ghcode:00169:b618960e13fc | bsd-3-clause | codeparrot/github-code | b618960e13fc465230b9199dae1ff421bead50c6488c0c564f15e35f056f791a | 0.7 | testing_debugging_repair_refactoring | 396 | false | 2026-07-17 |
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD, and Contributors.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace Moq
{
/// <summary>
/// Setup used ... | Moq/moq4 | src/Moq/AutoImplementedPropertySetterSetup.cs | https://github.com/Moq/moq4/blob/HEAD/src/Moq/AutoImplementedPropertySetterSetup.cs | ghcode:00169:d340830c8675 | bsd-3-clause | codeparrot/github-code | d340830c8675501276d4d21e4934e6261402fae464f631421dd93d5946bdaa46 | 0.7 | testing_debugging_repair_refactoring | 249 | false | 2026-07-17 |
using System;
using FireworksNet.Differentiation;
using Xunit;
namespace FireworksNet.Tests.Differentiation
{
public class DifferentiationTests
{
private readonly Differentiator differentiator;
private readonly Func<double, double> targetFunc;
private readonly double inputValue;
... | sleshJdev/Fireworks.NET | src/FireworksNet.Tests/Differentiation/DifferentiationTests.cs | https://github.com/sleshJdev/Fireworks.NET/blob/HEAD/src/FireworksNet.Tests/Differentiation/DifferentiationTests.cs | ghcode:00169:f9265bdcc5ed | mit | codeparrot/github-code | f9265bdcc5ed4695ae43cc01e724cc2c80b519f978fff955f3013347ab399682 | 0.75 | testing_debugging_repair_refactoring | 319 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using CodeConverters.Mvc.Diagnostics;
using CodeConverters.MvcTests.Diagnostics.Helpers;
using Xunit;
namespace CodeConverters.MvcTests.Diagnostics
{
public class MvcErrorLogEventFixtures
{
private readonly MvcErrorLogEvent _sut;
private cons... | ckieran/Mvc | src/CodeConverters.MvcTests/Diagnostics/MvcErrorLogEventFixtures.cs | https://github.com/ckieran/Mvc/blob/HEAD/src/CodeConverters.MvcTests/Diagnostics/MvcErrorLogEventFixtures.cs | ghcode:00169:1413db1663a3 | apache-2.0 | codeparrot/github-code | 1413db1663a325502a5dff57543cf9d2c75d9da2e94b7a60c93744df0cf59691 | 0.6 | testing_debugging_repair_refactoring | 343 | false | 2026-07-17 |
using Nest;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Tests.Framework.MockData;
using static Nest.Infer;
namespace Tests.QueryDsl.TermLevel.Terms
{
public class TermsLookupQueryUsageTests : QueryDslUsageTestsBase
{
public TermsLookupQueryUsageTests(ReadOnlyCluste... | adam-mccoy/elasticsearch-net | src/Tests/QueryDsl/TermLevel/Terms/TermsLookupQueryUsageTests.cs | https://github.com/adam-mccoy/elasticsearch-net/blob/HEAD/src/Tests/QueryDsl/TermLevel/Terms/TermsLookupQueryUsageTests.cs | ghcode:00169:df6a9e762a9b | apache-2.0 | codeparrot/github-code | df6a9e762a9b2ba35b38547db7193a2a033d7a2c048e8fe5ded3d3ee3019ef60 | 0.85 | testing_debugging_repair_refactoring | 469 | false | 2026-07-17 |
using System;
using System.Globalization;
using EnvDTE;
using Moq;
using NuGet.Test.Mocks;
using NuGet.VisualStudio.Resources;
using VSLangProj;
using Xunit;
using Xunit.Extensions;
namespace NuGet.VisualStudio.Test
{
public class VsProjectSystemTest
{
[Fact]
public void GetProp... | anurse/NuGet | test/VisualStudio.Test/VsProjectSystemTest.cs | https://github.com/anurse/NuGet/blob/HEAD/test/VisualStudio.Test/VsProjectSystemTest.cs | ghcode:00169:e0ac1aad5b96 | apache-2.0 | codeparrot/github-code | e0ac1aad5b96c22b8e5dd01a1e5b9cecf5693bd08e66b41548e08578d7d5c6c9 | 0.85 | testing_debugging_repair_refactoring | 1,740 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Text;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Mi... | DustinCampbell/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenAsyncIteratorTests.cs | https://github.com/DustinCampbell/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenAsyncIteratorTests.cs | ghcode:00169:9fc3542f2fe7 | apache-2.0 | codeparrot/github-code | 9fc3542f2fe72c80a363a8aa219826ff4be4891995fa952274713323ebe76b84 | 0.75 | testing_debugging_repair_refactoring | 47,329 | false | 2026-07-17 |
using System;
using UnityEngine;
public class Test
{
[HideIn{caret}Inspector] [NonSerialized] public int Value;
}
| JetBrains/resharper-unity | resharper/resharper-unity/test/data/Unity/CSharp/Intentions/QuickFixes/RedundantHideInInspectorAttribute/Test01.cs | https://github.com/JetBrains/resharper-unity/blob/HEAD/resharper/resharper-unity/test/data/Unity/CSharp/Intentions/QuickFixes/RedundantHideInInspectorAttribute/Test01.cs | ghcode:00169:983b3d3d9bd6 | apache-2.0 | codeparrot/github-code | 983b3d3d9bd6fde8ec0e7bdec812364d276a5777df69af7a460e1331ec016ce2 | 0.45 | testing_debugging_repair_refactoring | 29 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Packager.Extensions;
namespace Packager.Test.Extensions
{
[TestFixture]
public class ExceptionExtensionTests
{
[Test]
public void GetFirstMessageShouldReturnCorrectResult()
{
var firstException = new Exception("first message");... | IUMDPI/IUMediaHelperApps | Packager.Test/Extensions/ExceptionExtensionTests.cs | https://github.com/IUMDPI/IUMediaHelperApps/blob/HEAD/Packager.Test/Extensions/ExceptionExtensionTests.cs | ghcode:00169:141b96e3f6f1 | apache-2.0 | codeparrot/github-code | 141b96e3f6f175e6dd55d52591bf76ea45413d666af76c68f79b08500feae7a9 | 0.75 | testing_debugging_repair_refactoring | 139 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | mayurid/azure-powershell | src/ResourceManager/Profile/Commands.Profile.Test/MockSubscriptionClientFactory.cs | https://github.com/mayurid/azure-powershell/blob/HEAD/src/ResourceManager/Profile/Commands.Profile.Test/MockSubscriptionClientFactory.cs | ghcode:00169:50e7757a58c5 | apache-2.0 | codeparrot/github-code | 50e7757a58c50d0f15b59cc55368b8947e072869b5d750938564bf3501182513 | 0.85 | testing_debugging_repair_refactoring | 753 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using AspectCore.Configuration;
using AspectCore.DynamicProxy;
using Xunit;
namespace AspectCore.Tests.DynamicProxy
{
public class ConfigureInterceptorSelectorTest : DynamicProxyTestBase
{
[Fact]
public void Selector_Test()
{
var ... | AspectCore/Abstractions | tests/AspectCore.Tests/DynamicProxy/ConfigureInterceptorSelectorTest.cs | https://github.com/AspectCore/Abstractions/blob/HEAD/tests/AspectCore.Tests/DynamicProxy/ConfigureInterceptorSelectorTest.cs | ghcode:00169:105d10f10467 | mit | codeparrot/github-code | 105d10f1046788ea1998e9fc1aa35b05f44c299e11f868717eda5c8e60334ac8 | 0.75 | testing_debugging_repair_refactoring | 293 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bloom;
using Bloom.TeamCollection;
using BloomTemp;
using NUnit.Framework;
using SIL.IO;
namespace BloomTests.TeamCollection
{
public class TeamCollectionManagerTests
{
}
}
| StephenMcConnel/BloomDesktop | src/BloomTests/TeamCollection/TeamCollectionManagerTests.cs | https://github.com/StephenMcConnel/BloomDesktop/blob/HEAD/src/BloomTests/TeamCollection/TeamCollectionManagerTests.cs | ghcode:00169:0c6bb6ff7002 | mit | codeparrot/github-code | 0c6bb6ff7002f8ec27174862846548ff2d5fcf79291ddc773f7d10a51294f2c0 | 0.75 | testing_debugging_repair_refactoring | 65 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Xunit;
namespace Test
{
public class MaxTests
{
publi... | destinyclown/corefx | src/System.Linq.Parallel/tests/QueryOperators/MaxTests.cs | https://github.com/destinyclown/corefx/blob/HEAD/src/System.Linq.Parallel/tests/QueryOperators/MaxTests.cs | ghcode:00169:69bc9d2ddb6d | mit | codeparrot/github-code | 69bc9d2ddb6d5d8753d63bd48a226bff031a89b96839da4dcafdfbaa00001394 | 0.95 | testing_debugging_repair_refactoring | 4,237 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using FakeItEasy;
using FluentAssertions;
using FluentTc.Domain;
using FluentTc.Engine;
using FluentTc.Exceptions;
using FluentTc.Locators;
using FluentTc.Tests.Locators;
using NUnit.Framework;
using Ploeh.AutoFixture;
namespace FluentTc.Tests
{
[... | GibbOne/FluentTc | FluentTc.Tests/ConnectedTcTests.cs | https://github.com/GibbOne/FluentTc/blob/HEAD/FluentTc.Tests/ConnectedTcTests.cs | ghcode:00169:b1ce05a5b95e | apache-2.0 | codeparrot/github-code | b1ce05a5b95e29d02d64232e6ebd8107dd1ae79429a77c63b08dd4d613b69963 | 0.85 | testing_debugging_repair_refactoring | 1,806 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAna... | physhi/roslyn | src/Features/LanguageServer/ProtocolUnitTests/Hover/HoverTests.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Features/LanguageServer/ProtocolUnitTests/Hover/HoverTests.cs | ghcode:00169:72951f0330a6 | apache-2.0 | codeparrot/github-code | 72951f0330a619286863f6d8f06050cfc08ab69b02a307b35074d38ba55a40bf | 0.85 | testing_debugging_repair_refactoring | 3,067 | false | 2026-07-17 |
using NUnit.Framework;
namespace StructureMap.Testing.Pipeline
{
[TestFixture]
public class ContainerIsInTheContainerTester
{
[Test]
public void build_a_class_that_needs_a_container_and_inject_the_current_container()
{
var container = new Container();
... | NightOwl888/structuremap | src/StructureMap.Testing/Pipeline/ContainerIsInTheContainerTester.cs | https://github.com/NightOwl888/structuremap/blob/HEAD/src/StructureMap.Testing/Pipeline/ContainerIsInTheContainerTester.cs | ghcode:00169:4ac48126cfd3 | apache-2.0 | codeparrot/github-code | 4ac48126cfd384b117922d079835b27a373caf4483660978665908816d88d7f3 | 0.75 | testing_debugging_repair_refactoring | 182 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using HealthMonitoring.Queueing;
using Xunit;
namespace HealthMonitoring.UnitTests
{
public class OutgoingQueueTests
{
private static readonly TimeSpan AcceptableTimeDelta = TimeSpan.FromMilliseconds(50);
[Fact... | williamlord/HealthMonitoring | HealthMonitoring.UnitTests/OutgoingQueueTests.cs | https://github.com/williamlord/HealthMonitoring/blob/HEAD/HealthMonitoring.UnitTests/OutgoingQueueTests.cs | ghcode:00169:e62be4dd87ca | mit | codeparrot/github-code | e62be4dd87cab382a47f88514d29efc91ce8d7e0b96de603050e9052d97ef8cb | 0.75 | testing_debugging_repair_refactoring | 787 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Linq;
using Roslyn.Utilities;
using System.Diagnostics;
namespace Microsoft.CodeAnalysis
{
... | DavidKarlas/roslyn | src/Compilers/Core/Portable/Compilation/SymbolInfo.cs | https://github.com/DavidKarlas/roslyn/blob/HEAD/src/Compilers/Core/Portable/Compilation/SymbolInfo.cs | ghcode:00169:2f446251c3ef | apache-2.0 | codeparrot/github-code | 2f446251c3efdfbbf3a8e930dce67b2cedb23c51e70b363795807ea777a0d747 | 0.85 | testing_debugging_repair_refactoring | 871 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Semantics;
using Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft... | jkotas/roslyn | src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_IArgument.cs | https://github.com/jkotas/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_IArgument.cs | ghcode:00169:c763ab227061 | apache-2.0 | codeparrot/github-code | c763ab22706187d4040bcfb130865d666451bbfa68fb657d7b91b313483c1f65 | 0.75 | testing_debugging_repair_refactoring | 37,454 | 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 o... | StefanoRaggi/Lean | Tests/Common/Securities/Forex/ForexTests.cs | https://github.com/StefanoRaggi/Lean/blob/HEAD/Tests/Common/Securities/Forex/ForexTests.cs | ghcode:00169:3cfd8f5a2bed | apache-2.0 | codeparrot/github-code | 3cfd8f5a2bedd41a21d12832f5933c4b773286224e559150df83dd1b48aa73e8 | 0.75 | testing_debugging_repair_refactoring | 619 | false | 2026-07-17 |
using CocosSharp;
namespace tests.Extensions
{
public class S9SpriteTestDemo : CCControlScene
{
public override void OnEnter()
{
base.OnEnter();
CCSpriteFrameCache.SharedSpriteFrameCache.AddSpriteFrames("Images/blocks9ss.plist");
SceneTitleLabel.Text = Title... | mono/CocosSharp | tests/tests/classes/tests/ExtensionsTest/Scale9SpriteTest/Scale9SpriteTest.cs | https://github.com/mono/CocosSharp/blob/HEAD/tests/tests/classes/tests/ExtensionsTest/Scale9SpriteTest/Scale9SpriteTest.cs | ghcode:00169:8df19993e647 | mit | codeparrot/github-code | 8df19993e647f977defebfea4899f33b0d41efeae7c3bc2cfc113cc24fa9666b | 0.95 | testing_debugging_repair_refactoring | 5,501 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2015 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | jnm2/nunit | src/NUnitFramework/framework/Internal/TestNameGenerator.cs | https://github.com/jnm2/nunit/blob/HEAD/src/NUnitFramework/framework/Internal/TestNameGenerator.cs | ghcode:00169:ead7b563a089 | mit | codeparrot/github-code | ead7b563a089b302deeb14acc3f87791ffac29b77f6a5909b46b7df2b1b17982 | 0.85 | testing_debugging_repair_refactoring | 3,281 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="BaseAsyncResult.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-------------------------------------... | hotchandanisagar/odata.net | src/Microsoft.OData.Client/BaseAsyncResult.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/src/Microsoft.OData.Client/BaseAsyncResult.cs | ghcode:00169:20bbe14d1bf3 | mit | codeparrot/github-code | 20bbe14d1bf30218658fb9f94b9f2757d98863f67058d82d3863ce3e0700ea1c | 0.85 | testing_debugging_repair_refactoring | 10,945 | false | 2026-07-17 |
// ****************************************************************
// Copyright 2007, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org
// ****************************************************************
using System;
using NUnit.Frame... | prepare/LiteDB | NUnit-2.6.0.12051/src/NUnitCore/tests/TestFixtureTests.cs | https://github.com/prepare/LiteDB/blob/HEAD/NUnit-2.6.0.12051/src/NUnitCore/tests/TestFixtureTests.cs | ghcode:00169:4e14150dee59 | mit | codeparrot/github-code | 4e14150dee5910e73e45e851e222690d72f863e4579e59774d7f378e7065311c | 0.95 | testing_debugging_repair_refactoring | 2,675 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="ODataMetadataReaderTest.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-----------------------------... | abkmr/odata.net | test/FunctionalTests/Tests/DataOData/Tests/OData.TDD.Tests/Reader/ODataMetadataReaderTest.cs | https://github.com/abkmr/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Tests/OData.TDD.Tests/Reader/ODataMetadataReaderTest.cs | ghcode:00169:ed434f02a5d3 | mit | codeparrot/github-code | ed434f02a5d3c1dc44d07d8b1893ab1b096ab57754bb72474ba175f90d71a2a2 | 0.95 | testing_debugging_repair_refactoring | 1,013 | 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.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
using R... | weltkante/roslyn | src/Compilers/CSharp/Portable/Binder/Semantics/Operators/BinaryOperatorOverloadResolution.cs | https://github.com/weltkante/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/Semantics/Operators/BinaryOperatorOverloadResolution.cs | ghcode:00169:369c37fddd0b | apache-2.0 | codeparrot/github-code | 369c37fddd0ba4b0d22fdab6f62dbaf9aa4f9977d7074e85855b92ad3ab05fdc | 0.85 | testing_debugging_repair_refactoring | 9,596 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.