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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
/*
Gaigen 2.5 Test Suite
*/
/*
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it ... | Nethersoul/Genetische-Algorithmen-geometrische-Algebra | Projekt 1.4/Assets/GAmOG/GAmOG/OG/TestSuite.cs | https://github.com/Nethersoul/Genetische-Algorithmen-geometrische-Algebra/blob/HEAD/Projekt 1.4/Assets/GAmOG/GAmOG/OG/TestSuite.cs | ghcode:00163:362c4d81ac53 | mit | codeparrot/github-code | 362c4d81ac53cdfe28a76ceb3467d8e4389c4abf4ee088a50abc63b03e3baf87 | 0.65 | testing_debugging_repair_refactoring | 104,605 | false | 2026-07-17 |
[assembly: AssemblyVersion("1.0.5117.1")] | munr/UpdateVersion | build/TestAssemblyInfoOut.cs | https://github.com/munr/UpdateVersion/blob/HEAD/build/TestAssemblyInfoOut.cs | ghcode:00163:43b13ffe56a7 | mit | codeparrot/github-code | 43b13ffe56a7cb0ebb5603bbfff551fae42901becb38c6be04e5551f0574258a | 0.35 | testing_debugging_repair_refactoring | 15 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using NUnit.Framework;
namespace Mandro.Utils.Tests
{
public class BoyerMooreSearchTests
{
[TestCase('P', ExpectedResult = 0)]
[TestCase('A', ExpectedResult = 1)]
[TestCase('N', ExpectedResult... | mandrek44/Mandro.Utils | Mandro.Utils.Tests/BoyerMooreSearchTests.cs | https://github.com/mandrek44/Mandro.Utils/blob/HEAD/Mandro.Utils.Tests/BoyerMooreSearchTests.cs | ghcode:00163:f5972e446ae0 | mit | codeparrot/github-code | f5972e446ae0b4758026a4c9d8edb27d92c8e191af4e1731f86b62f3635fa087 | 0.85 | testing_debugging_repair_refactoring | 1,646 | 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.Collections.Sequences;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Numerics;
namespace System.Buffers
{
public stat... | Vedin/corefxlab | src/System.Buffers.Experimental/System/Buffers/BufferExtensions.cs | https://github.com/Vedin/corefxlab/blob/HEAD/src/System.Buffers.Experimental/System/Buffers/BufferExtensions.cs | ghcode:00163:36e89ae81f00 | mit | codeparrot/github-code | 36e89ae81f001549313748cfea0efe4d1412c9b028f598f7315eafed28f8953b | 0.85 | testing_debugging_repair_refactoring | 4,901 | false | 2026-07-17 |
// Copyright (c) Autofac Project. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Autofac.Builder;
namespace Autofac.Integration.Mvc.Test;
public abstract class AutofacFilterBaseFixture<TFilter1, TFilter2, TFilterType> : IClassFixture<AutofacFil... | autofac/Autofac.Mvc | test/Autofac.Integration.Mvc.Test/AutofacFilterBaseFixture.cs | https://github.com/autofac/Autofac.Mvc/blob/HEAD/test/Autofac.Integration.Mvc.Test/AutofacFilterBaseFixture.cs | ghcode:00163:e5e808ca6dd6 | mit | codeparrot/github-code | e5e808ca6dd6e05d19c6210b3379060b31af974509052aa8f565d5eb159c6f72 | 0.75 | testing_debugging_repair_refactoring | 2,024 | false | 2026-07-17 |
using SysCommand.ConsoleApp;
using SysCommand.Parsing;
using SysCommand.Mapping;
using System;
using System.Collections.Generic;
using static SysCommand.Helpers.ReflectionHelper;
namespace SysCommand.Tests.UnitTests.Common.Commands.T35
{
public class Command1 : Command
{
[Action(IsDefault = true)]
... | juniorgasparotto/SysCommand | src/SysCommand.Tests.UnitTests.Common/Console.App/Commands/T35/Command1.cs | https://github.com/juniorgasparotto/SysCommand/blob/HEAD/src/SysCommand.Tests.UnitTests.Common/Console.App/Commands/T35/Command1.cs | ghcode:00163:2f196c89adff | mit | codeparrot/github-code | 2f196c89adffc2ccaec622655c3bb1bc9ce4b7f66c435c98d53bb5a42fb08390 | 0.75 | testing_debugging_repair_refactoring | 197 | false | 2026-07-17 |
// <copyright file="ConfigurationFixture.cs">
// Copyright © 2013 Dan Piessens All rights reserved.
// </copyright>
namespace SpecBind.Tests
{
using System;
using System.Configuration;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SpecBind.Configura... | Nels-P-Olsen/specbind | src/SpecBind.Tests/ConfigurationFixture.cs | https://github.com/Nels-P-Olsen/specbind/blob/HEAD/src/SpecBind.Tests/ConfigurationFixture.cs | ghcode:00163:8fe46e278795 | mit | codeparrot/github-code | 8fe46e27879519a5e394ac198829c86917dab45606612f884f6fca27475ee26b | 0.7 | testing_debugging_repair_refactoring | 564 | false | 2026-07-17 |
using Castle.Core;
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using Laurus.UiTest.Controls;
using Laurus.UiTest.Locators;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xun... | thebeekeeper/Laurus.UiTest | InterceptorExperiment/SampleTests.cs | https://github.com/thebeekeeper/Laurus.UiTest/blob/HEAD/InterceptorExperiment/SampleTests.cs | ghcode:00163:ea85aacac53d | mit | codeparrot/github-code | ea85aacac53d0046c2cc7046dafab162aa321f5bb75367cce2acc18681687867 | 0.85 | testing_debugging_repair_refactoring | 376 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OnePlat.DiceNotation.DiceTerms;
using OnePlat.DiceNotation.DieRoller;
using System.Collections.Generic;
using System.Linq;
namespace OnePlat.DiceNotation.UnitTests.DiceTerms
{
/// <summary>
/// Summary description for ConstantTermTests
/// </summar... | DarthPedro/OnePlat.DiceNotation | OnePlat.DiceNotation.UnitTests/DiceTerms/ConstantTermTests.cs | https://github.com/DarthPedro/OnePlat.DiceNotation/blob/HEAD/OnePlat.DiceNotation.UnitTests/DiceTerms/ConstantTermTests.cs | ghcode:00163:accf0ab505a7 | mit | codeparrot/github-code | accf0ab505a776d8817bd4bf224dac7c35483714ce3641867b1d1c7234f8dedc | 0.85 | testing_debugging_repair_refactoring | 662 | false | 2026-07-17 |
using MarsRovers.Instructions;
using MarsRovers.Terrain;
using NUnit.Framework;
namespace MarsRovers.Test.InstructionTests
{
[TestFixture]
public class PlateauInfoTest
{
[Test]
public void CorrectPlateauSizeTest()
{
var instructionSet = new InstructionSet();... | iworm/marsexplorer | src/MarsRovers.Test/InstructionTests/PlateauInfoTest.cs | https://github.com/iworm/marsexplorer/blob/HEAD/src/MarsRovers.Test/InstructionTests/PlateauInfoTest.cs | ghcode:00163:c69beb698924 | mit | codeparrot/github-code | c69beb698924415c3d9ef57e6fd37ab2472627cd600558b940d6768f6e4c0e68 | 0.6 | testing_debugging_repair_refactoring | 411 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FizzWare.NBuilder;
using NTestDataBuilder;
using TestFixtureDataPresentation.Implementation.Models;
namespace TestFixtureDataPresentation.Tests._04_TestDataBuilder.BuildersWithNBuilder
{
static class ProductBuilderExtensions
{
public static IList<P... | robdmoore/TestFixtureDataGenerationPresentation | TestFixtureDataPresentation/Tests/04_TestDataBuilderWithNBuilder/Builders/ProductBuilder.cs | https://github.com/robdmoore/TestFixtureDataGenerationPresentation/blob/HEAD/TestFixtureDataPresentation/Tests/04_TestDataBuilderWithNBuilder/Builders/ProductBuilder.cs | ghcode:00163:8560227b9aa1 | mit | codeparrot/github-code | 8560227b9aa1e16f9c2c2bbdc7774fa8065bc21d9c8ee6f139d72fbeedcb4703 | 0.85 | testing_debugging_repair_refactoring | 305 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CSharpDiscriminatedUnion.Generator.Tests.UnionTypes;
using NUnit.Framework;
namespace CSharpDiscriminatedUnion.Generator.Tests.Struct
{
public class DefaultCaseTest
{
public static... | Galad/CSharpDiscriminatedUnion | src/CSharpDiscriminatedUnion.Generator.Tests/Struct/DefaultCaseTest.cs | https://github.com/Galad/CSharpDiscriminatedUnion/blob/HEAD/src/CSharpDiscriminatedUnion.Generator.Tests/Struct/DefaultCaseTest.cs | ghcode:00163:28b7176b1538 | mit | codeparrot/github-code | 28b7176b1538af2da3474400465510eaba1303dc9face700d6c991bda1ccd9cb | 0.75 | testing_debugging_repair_refactoring | 319 | false | 2026-07-17 |
// File name: PostgreSqlKVLiteCacheTests.cs
//
// Author(s): Alessio Parma <alessio.parma@gmail.com>
//
// The MIT License (MIT)
//
// Copyright (c) 2014-2018 Alessio Parma <alessio.parma@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
// associated do... | pomma89/KVLite | test/PommaLabs.KVLite.UnitTests/IdentityServer3/PostgreSqlKVLiteCacheTests.cs | https://github.com/pomma89/KVLite/blob/HEAD/test/PommaLabs.KVLite.UnitTests/IdentityServer3/PostgreSqlKVLiteCacheTests.cs | ghcode:00163:90af0e159a76 | mit | codeparrot/github-code | 90af0e159a76864113ccb9d375ac7d42d1a36871f18abb7c419047bc14014088 | 0.85 | testing_debugging_repair_refactoring | 346 | false | 2026-07-17 |
namespace CSharpMath.CoreTests.FrontEnd {
using TGlyph = System.Text.Rune;
public static class TestTypesettingContexts {
public static Display.FrontEnd.TypesettingContext<TestFont, TGlyph> Instance { get; } =
new Display.FrontEnd.TypesettingContext<TestFont, TGlyph>(
(font, size) => new TestFont(s... | verybadcat/CSharpMath | CSharpMath.CoreTests/_Helpers/FrontEnd/TestTypesettingContext.cs | https://github.com/verybadcat/CSharpMath/blob/HEAD/CSharpMath.CoreTests/_Helpers/FrontEnd/TestTypesettingContext.cs | ghcode:00163:53ac932c58db | mit | codeparrot/github-code | 53ac932c58db48702c76ff0491752855e5737f2868bb9297040dba9ea5f7ff37 | 0.75 | testing_debugging_repair_refactoring | 140 | false | 2026-07-17 |
using AutoMapper.Internal;
using NUnit.Framework;
using ReMi.Contracts.Enums;
using ReMi.Contracts.Plugins.Data;
using ReMi.Plugin.Common.PluginsConfiguration;
using System.Linq;
using ReMi.TestUtils.UnitTests;
namespace ReMi.Plugin.Common.Tests.PluginsConfiguration
{
[TestFixture]
public class PluginConfigura... | wongatech/remi | ReMi.Utils/ReMi.Plugin.Common.Tests/PluginsConfiguration/PluginConfigurationTemplateBuilderTests.cs | https://github.com/wongatech/remi/blob/HEAD/ReMi.Utils/ReMi.Plugin.Common.Tests/PluginsConfiguration/PluginConfigurationTemplateBuilderTests.cs | ghcode:00163:73e421b0e38e | mit | codeparrot/github-code | 73e421b0e38ee311ac250cd58c43ceb78182d74b180ba23503d2c10a20115521 | 0.75 | testing_debugging_repair_refactoring | 908 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Threading.Tasks;
using MediatR;
using Moq;
using NLog;
using NUnit.Framework;
using SFA.DAS.EmployerUsers.Application.Commands.RequestPasswordResetCode;
using SFA.DAS.EmployerUsers.Application.Exceptions;
using SFA.DAS.EmployerUsers.Web.Authentication;
using SFA.DAS.Emplo... | SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Web.UnitTests/OrchestratorTests/AccountOrchestratorTests/WhenRequestingPasswordReset.cs | https://github.com/SkillsFundingAgency/das-employerusers/blob/HEAD/src/SFA.DAS.EmployerUsers.Web.UnitTests/OrchestratorTests/AccountOrchestratorTests/WhenRequestingPasswordReset.cs | ghcode:00163:74799f7f128d | mit | codeparrot/github-code | 74799f7f128db522cc621786af2ceab2a22b2989c8c45682b3707818bca30f77 | 0.6 | testing_debugging_repair_refactoring | 537 | false | 2026-07-17 |
using System;
using MeetMe.Data.Contracts;
using MeetMe.Data.Models;
using MeetMe.Services.Contracts;
using Moq;
using NUnit.Framework;
namespace MeetMe.Services.Tests.FriendServiceTests
{
[TestFixture]
public class Constructor_Should
{
[Test]
public void ThrowsWhen_UserFriendRepositoryIsN... | Warez-VD/MeetMe | MeetMe/MeetMe.Services.Tests/FriendServiceTests/Constructor_Should.cs | https://github.com/Warez-VD/MeetMe/blob/HEAD/MeetMe/MeetMe.Services.Tests/FriendServiceTests/Constructor_Should.cs | ghcode:00163:725621b24cd1 | mit | codeparrot/github-code | 725621b24cd11ae32f3b71215d278daaaf9c1affd1c09fc832d98066147f6064 | 0.7 | testing_debugging_repair_refactoring | 664 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using StackExchange.Redis;
using StackRedis.L1.MemoryCache;
using System.Threading.Tasks;
namespace StackRedis.L1.Test.Set
{
[TestClass]
public class SetContains : UnitTestBase
{
[TestMethod]
public void SetContains_ValueInR... | johnnycardy/StackRedis.L1 | StackRedis.L1.Test/Set/SetContains.cs | https://github.com/johnnycardy/StackRedis.L1/blob/HEAD/StackRedis.L1.Test/Set/SetContains.cs | ghcode:00163:263737d832a3 | mit | codeparrot/github-code | 263737d832a37bc6130f9ff386d836c838af92648a51819df3821df17b91d561 | 0.75 | testing_debugging_repair_refactoring | 172 | false | 2026-07-17 |
using System;
using System.Globalization;
using Dot.Net.DevFast.Extensions.StringExt;
using NUnit.Framework;
namespace Dot.Net.DevFast.Tests.Extensions.StringExt
{
[TestFixture]
public class StringSafeTest
{
[Test]
[TestCase(null, true)]
[TestCase("", true)]
[TestCase(" ... | samaysar/dotdotnet | Dot.Net.DevFast/src/Dot.Net.DevFast.Tests/Extensions/StringExt/StringSafeTest.cs | https://github.com/samaysar/dotdotnet/blob/HEAD/Dot.Net.DevFast/src/Dot.Net.DevFast.Tests/Extensions/StringExt/StringSafeTest.cs | ghcode:00163:66d6f73becdd | mit | codeparrot/github-code | 66d6f73becdd42cb40be07f0bb94b6161abcd89651240f9b0686574c9350ff9d | 0.85 | testing_debugging_repair_refactoring | 8,777 | false | 2026-07-17 |
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Xunit;
using TestData = System.Collections.Generic.IEnumerable<object[]>;
#pragma warning disable CS0436 // Type conflicts with imported type
namespace Light.Serialization.Json.Tests.SerializationTests
{
publi... | feO2x/Light.Serialization | Code/Light.Serialization.Json.Tests/SerializationTests/CollectionTests.cs | https://github.com/feO2x/Light.Serialization/blob/HEAD/Code/Light.Serialization.Json.Tests/SerializationTests/CollectionTests.cs | ghcode:00163:6745b46c43bc | mit | codeparrot/github-code | 6745b46c43bcdfd427c0322160bf92c6c88a03d4cb1b6e032e5469a5f5e50614 | 0.75 | testing_debugging_repair_refactoring | 931 | false | 2026-07-17 |
using Castle.Core.Interceptor;
using FakeItEasy;
using FluentAssertions;
using NUnit.Framework;
using Ploeh.AutoFixture;
using Rest.Proxy.Settings;
using Rest.Proxy.UnitTests.Support;
namespace Rest.Proxy.UnitTests
{
public class ProxyInterceptorTests : BaseAutoFakerTestFixture
{
[Test]
public... | carlos-vicente/Rest.Proxy | tests/Rest.Proxy.UnitTests/ProxyInterceptorTests.cs | https://github.com/carlos-vicente/Rest.Proxy/blob/HEAD/tests/Rest.Proxy.UnitTests/ProxyInterceptorTests.cs | ghcode:00163:5445c4806cdc | mit | codeparrot/github-code | 5445c4806cdcdf89eebb7067062a71c5f6da7730bee99086ed1d9423fbdb81c7 | 0.85 | testing_debugging_repair_refactoring | 1,060 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using log4net;
using NetGore.Content;
using NetGore.IO;
using SFML.Graphics;
namespace NetGore.Graphics
{
... | LAGIdiot/NetGore | NetGore/Graphics/Sprite/Grh/AutomaticAnimatedGrhData.cs | https://github.com/LAGIdiot/NetGore/blob/HEAD/NetGore/Graphics/Sprite/Grh/AutomaticAnimatedGrhData.cs | ghcode:00163:916c6227ebc0 | unlicense | codeparrot/github-code | 916c6227ebc0e76df22ce38d2ece4c0922f690040eae87cb1c1f0355372d750c | 0.78 | testing_debugging_repair_refactoring | 3,275 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Recipes.Joins;
using Recipes.RepoDB.Models;
namespace Recipes.RepoDB.Joins
{
[TestClass]
public class JoinsTests : JoinsTests<EmployeeDetail, EmployeeSimple>
{
protected override IJoinsScenario<EmployeeDetail, EmployeeSimple> GetScenario()
... | Grauenwolf/DotNet-ORM-Cookbook | ORM Cookbook/Recipes.RepoDb/Joins/JoinsTests.cs | https://github.com/Grauenwolf/DotNet-ORM-Cookbook/blob/HEAD/ORM Cookbook/Recipes.RepoDb/Joins/JoinsTests.cs | ghcode:00163:eb68db091d79 | unlicense | codeparrot/github-code | eb68db091d799dfbf9f19faea2e3b1f446373fd5a8941e7ded9d63ee459240e0 | 0.68 | testing_debugging_repair_refactoring | 82 | false | 2026-07-17 |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// 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.a... | citizenmatt/gallio | src/Gallio/Gallio.Tests/Common/IO/ContentFileTest.cs | https://github.com/citizenmatt/gallio/blob/HEAD/src/Gallio/Gallio.Tests/Common/IO/ContentFileTest.cs | ghcode:00163:16e927724525 | apache-2.0 | codeparrot/github-code | 16e927724525dea486abf7b2a8ac9577ca576ae0ffdccca5258784cd112d859f | 0.85 | testing_debugging_repair_refactoring | 576 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.IO;
namespace Microsoft.AspNetCore.WebSockets.ConformanceTest
{
public class Helpers
{
public static string GetApplicationPath(string proj... | aspnet/AspNetCore | src/Middleware/WebSockets/test/ConformanceTests/Helpers.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Middleware/WebSockets/test/ConformanceTests/Helpers.cs | ghcode:00163:86ee6bf0a048 | apache-2.0 | codeparrot/github-code | 86ee6bf0a04899497da6c59ddcf6fce0f675471c0fe3515aa42a4fb6ff428649 | 0.85 | testing_debugging_repair_refactoring | 84 | false | 2026-07-17 |
using Lucene.Net.Support;
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
namespace Lucene.Net.Search
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE... | NikolayXHD/Lucene.Net.Contrib | Lucene.Net/Search/TopDocs.cs | https://github.com/NikolayXHD/Lucene.Net.Contrib/blob/HEAD/Lucene.Net/Search/TopDocs.cs | ghcode:00163:3167d701606e | apache-2.0 | codeparrot/github-code | 3167d701606e80c375946ba8b15df45147a07b98dd12b0a4b805c54d454e2220 | 0.7 | testing_debugging_repair_refactoring | 2,833 | false | 2026-07-17 |
#region Using directives
using System;
using System.Collections.Generic;
using System.Data.OleDb;
using System.Data.SqlClient;
using Microsoft.AnalysisServices.AdomdClient;
using NBi.Core.Assemblies;
using NUnit.Framework;
#endregion
namespace NBi.Testing.Core.Assemblies
{
[TestFixture]
public class AssemblyM... | Seddryck/NBi | NBi.Testing.Core/Assemblies/AssemblyManagerTest.cs | https://github.com/Seddryck/NBi/blob/HEAD/NBi.Testing.Core/Assemblies/AssemblyManagerTest.cs | ghcode:00163:7df8de44224e | apache-2.0 | codeparrot/github-code | 7df8de44224e3d2cb7a408ae89178dfb0d1e5be93398ed3330f051d2f9483483 | 0.85 | testing_debugging_repair_refactoring | 896 | false | 2026-07-17 |
using System.IO;
using System.Linq;
using IxMilia.Dxf.Entities;
using IxMilia.Dxf.Objects;
using IxMilia.Dxf.Sections;
using Xunit;
namespace IxMilia.Dxf.Test
{
public class XDataTests : AbstractDxfTests
{
[Fact]
public void AssignOwnerHandlesInXDataTest()
{
// read a layou... | IxMilia/Dxf | src/IxMilia.Dxf.Test/XDataTests.cs | https://github.com/IxMilia/Dxf/blob/HEAD/src/IxMilia.Dxf.Test/XDataTests.cs | ghcode:00163:991aefc443d4 | apache-2.0 | codeparrot/github-code | 991aefc443d4a05a6aeaff7786f8cb0f4ee589f1232be0646d9690336525a4da | 0.85 | testing_debugging_repair_refactoring | 2,389 | false | 2026-07-17 |
using System;
using System.Diagnostics;
namespace NLiblet.Text.Formatters
{
/// <summary>
/// Defines common base class of item formatter.
/// </summary>
/// <typeparam name="T"></typeparam>
internal abstract class ItemFormatter<T> : ItemFormatter, NLiblet.Text.Formatters.IItemFormatter<T>
{
public abstract v... | yfakariya/NLiblet | src/Core/Text/Formatters/ItemFormatter`1.cs | https://github.com/yfakariya/NLiblet/blob/HEAD/src/Core/Text/Formatters/ItemFormatter`1.cs | ghcode:00163:fc21b651e31e | apache-2.0 | codeparrot/github-code | fc21b651e31ee9f33e4949a8a78bdb83ae65f9eec825de335b1f0e340f0175fa | 0.7 | testing_debugging_repair_refactoring | 159 | 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.FullText.MultiMatch
{
public class MultiMatchUsageTests : QueryDslUsageTestsBase
{
public MultiMatchUsageTests(ReadOnlyCluster i, En... | CSGOpenSource/elasticsearch-net | src/Tests/QueryDsl/FullText/MultiMatch/MultiMatchUsageTests.cs | https://github.com/CSGOpenSource/elasticsearch-net/blob/HEAD/src/Tests/QueryDsl/FullText/MultiMatch/MultiMatchUsageTests.cs | ghcode:00163:44d60c6b6486 | apache-2.0 | codeparrot/github-code | 44d60c6b6486c9545d1db5fcab48a52fcb30f2f837587d6a63e5e2b0eae14ba7 | 0.85 | testing_debugging_repair_refactoring | 939 | false | 2026-07-17 |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// 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.a... | citizenmatt/gallio | src/MbUnit/MbUnit.TestResources/Fixtures/FixtureInheritanceSample.cs | https://github.com/citizenmatt/gallio/blob/HEAD/src/MbUnit/MbUnit.TestResources/Fixtures/FixtureInheritanceSample.cs | ghcode:00163:1f276fc1977b | apache-2.0 | codeparrot/github-code | 1f276fc1977bf02a06cbb9b3622c362c99d3387a9bfa6376a749871e405ca4b9 | 0.85 | testing_debugging_repair_refactoring | 622 | false | 2026-07-17 |
/*****************************************************************************
* Copyright 2016 Aurora Solutions
*
* http://www.aurorasolutions.io
*
* Aurora Solutions is an innovative services and product company at
* the forefront of the software industry, with processes and practices
* involving Domain Dri... | trade-nexus/tradesharp-core | Backend/Optimization/TradeHub.Optimization.Genetic.Tests.Application/HelperFunctions/ParallelForLoop.cs | https://github.com/trade-nexus/tradesharp-core/blob/HEAD/Backend/Optimization/TradeHub.Optimization.Genetic.Tests.Application/HelperFunctions/ParallelForLoop.cs | ghcode:00163:360b0c2ea1d6 | apache-2.0 | codeparrot/github-code | 360b0c2ea1d6db82b5d9e3991170c704f193cdfcdbac06d33d177723b993aa43 | 0.85 | testing_debugging_repair_refactoring | 840 | false | 2026-07-17 |
using System;
using JetBrains.Annotations;
namespace Test
{
internal class NotifyPropertyChangedInvocatorFromConstructor
{
public NotifyPropertyChangedInvocatorFromConstructor()
{
Notify();
Action lambda = () => Notify();
Action lambda2 = Notify;
... | prodot/ReCommended-Extension | Sources/ReCommendedExtension.Tests/test/data/Analyzers/NotifyPropertyChangedInvocatorFromConstructor/NotifyPropertyChangedInvocatorFromConstructor.cs | https://github.com/prodot/ReCommended-Extension/blob/HEAD/Sources/ReCommendedExtension.Tests/test/data/Analyzers/NotifyPropertyChangedInvocatorFromConstructor/NotifyPropertyChangedInvocatorFromConstructor.cs | ghcode:00163:0941e5d8f28a | apache-2.0 | codeparrot/github-code | 0941e5d8f28abff923f7cd70d582653b7ad944f102cc81105e4dc9a1425ab8d7 | 0.85 | testing_debugging_repair_refactoring | 113 | false | 2026-07-17 |
using System.Threading.Tasks;
namespace AppTonic.Tests
{
public class TestRequestHandler :
IHandle<TestRequestMessage>,
IHandle<TestRequestResponseMessage, string>,
IHandleAsync<TestAsyncRequestMessage>,
IHandleAsync<TestAsyncRequestResponseMessage, string>
{
public void... | AppTonic/AppTonic | src/AppTonic.Tests/TestRequestHandler.cs | https://github.com/AppTonic/AppTonic/blob/HEAD/src/AppTonic.Tests/TestRequestHandler.cs | ghcode:00163:307a467c9851 | apache-2.0 | codeparrot/github-code | 307a467c985188b8542a7a557201699f2025bc2c258fc046b7b1a5fce00a47d6 | 0.75 | testing_debugging_repair_refactoring | 175 | false | 2026-07-17 |
#region Copyright & License
//
// Author: Ian Davis <ian.f.davis@gmail.com>
// Copyright (c) 2007, Ian Davs
//
// Portions of this software were developed for NUnit.
// See NOTICE.txt for more information.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file exc... | idavis/Ensurance | Tests/NotEqualFixture.cs | https://github.com/idavis/Ensurance/blob/HEAD/Tests/NotEqualFixture.cs | ghcode:00163:b502a4c1ea85 | apache-2.0 | codeparrot/github-code | b502a4c1ea85efcfef072c1b07b01c31893aac1c7615c443736cae7905134b33 | 0.85 | testing_debugging_repair_refactoring | 1,135 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Diagnostics;
using System.Text;
namespace OpenQA.Selenium.Environment
{
public class TestWebServer
{
private Process webserverProcess;
private string standaloneTestJar = @"java/client/test/org/openq... | valfirst/selenium | dotnet/test/common/Environment/TestWebServer.cs | https://github.com/valfirst/selenium/blob/HEAD/dotnet/test/common/Environment/TestWebServer.cs | ghcode:00163:d5e5b29a06b2 | apache-2.0 | codeparrot/github-code | d5e5b29a06b2563b077d7758fd1c861823a993e1329f2dc21aec5ee3e86fb0cd | 0.85 | testing_debugging_repair_refactoring | 792 | false | 2026-07-17 |
using DigitalPlatform.Core;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Threading;
namespace DigitalPlatform.IO
{
/// <summary>
/// Path功能扩展函数
/// </summary>
public class PathUtil
{
//... | DigitalPlatform/dp2 | DigitalPlatform.IO/PathUtil.cs | https://github.com/DigitalPlatform/dp2/blob/HEAD/DigitalPlatform.IO/PathUtil.cs | ghcode:00163:205690735a24 | apache-2.0 | codeparrot/github-code | 205690735a24a619f350946a98a3ed0152e85317b47c62cb066ab6d5e1cc3c79 | 0.85 | testing_debugging_repair_refactoring | 13,210 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using static DigitalPlatform.Z3950.ZClient;
using DigitalPlatform;
using DigitalPlatform.Script;
using DigitalPlatform.Z3950;
using DigitalPlatform.Z3950.UI;
using System.Threading;
us... | DigitalPlatform/dp2 | dp2Circulation/SearchForms/Z3950Searcher.cs | https://github.com/DigitalPlatform/dp2/blob/HEAD/dp2Circulation/SearchForms/Z3950Searcher.cs | ghcode:00163:b275c58ddb04 | apache-2.0 | codeparrot/github-code | b275c58ddb049694a429736fa4e07f9d8c0e582fe5f83c3e8851d11ac72a2513 | 0.85 | testing_debugging_repair_refactoring | 3,809 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Projac.SqlClient;
namespace Projac.Sql.Tests.SqlClient
{
public partial class SqlClientSyntaxTests
{
[Test]
public void VarCharReturnsExpectedInstance()
{
Assert.That(Sql.VarChar("value", 123), Is.EqualTo(new TSqlVarCharValue("valu... | yreynhout/Projac | src/Projac.SqlClient.Tests/SqlClientSyntaxTests.DataTypes.cs | https://github.com/yreynhout/Projac/blob/HEAD/src/Projac.SqlClient.Tests/SqlClientSyntaxTests.DataTypes.cs | ghcode:00163:c24d1aa031d3 | bsd-3-clause | codeparrot/github-code | c24d1aa031d3d30b0e7c5a37c4e4d3c727a800fe4df4753f510e7d1481b59caa | 0.75 | testing_debugging_repair_refactoring | 2,029 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Autofac;
using log4net.Appender;
using log4net.Core;
using NUnit.Framework;
using Orchard.Environment;
using Orchard.Logging;
using Orchard.Tests.Environment;
using ILogger = Orchard.Logging.ILogger;
using ILoggerFactory = Orchard.Logging.ILoggerFactory;
using Null... | TalaveraTechnologySolutions/Orchard | src/Orchard.Tests/Logging/LoggingModuleTests.cs | https://github.com/TalaveraTechnologySolutions/Orchard/blob/HEAD/src/Orchard.Tests/Logging/LoggingModuleTests.cs | ghcode:00163:0f9c81ce5be6 | bsd-3-clause | codeparrot/github-code | 0f9c81ce5be6364b4e792d113ce08ecbba5a141fb8b2e29f7c54b9cb265d810f | 0.75 | testing_debugging_repair_refactoring | 675 | false | 2026-07-17 |
//
// Copyright (c) 2004-2018 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of s... | nazim9214/NLog | tests/NLog.UnitTests/LayoutRenderers/GDCTests.cs | https://github.com/nazim9214/NLog/blob/HEAD/tests/NLog.UnitTests/LayoutRenderers/GDCTests.cs | ghcode:00163:cdf9f0d22929 | bsd-3-clause | codeparrot/github-code | cdf9f0d229293e97f4770e06d865843bebf1bc9eb968c5dc9ba6f4199ce8253e | 0.85 | testing_debugging_repair_refactoring | 729 | false | 2026-07-17 |
// -----------------------------------------------------------------------
// <copyright file="Predict.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------
namespace Liblinear
{
using System;
using System.Collections.Generic... | foreverzet/Sharpkit.Learn | src/Liblinear/Predict.cs | https://github.com/foreverzet/Sharpkit.Learn/blob/HEAD/src/Liblinear/Predict.cs | ghcode:00163:ec305b26e420 | bsd-3-clause | codeparrot/github-code | ec305b26e420b435a8a826b4db9bd2c03c2f4b3ca65f8d1bf5fabcec5037f691 | 0.7 | testing_debugging_repair_refactoring | 1,293 | 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 ServiceBus.Tests.ScenarioTests
{
using System.Net;
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Management.ServiceBus... | AsrOneSdk/azure-sdk-for-net | sdk/servicebus/Microsoft.Azure.Management.ServiceBus/tests/Tests/ScenarioTests.cs | https://github.com/AsrOneSdk/azure-sdk-for-net/blob/HEAD/sdk/servicebus/Microsoft.Azure.Management.ServiceBus/tests/Tests/ScenarioTests.cs | ghcode:00163:d1ced313b00a | mit | codeparrot/github-code | d1ced313b00aeeb22e3d013cbf8226ee0b8f304b6b93a4f52e517ae52696f1a4 | 0.85 | testing_debugging_repair_refactoring | 419 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Whois.Parsers;
namespace Whois.Parsing.Whois.Jprs.Jp.Jp
{
[TestFixture]
public class JpParsingTests : ParsingTests
{
private WhoisParser parser;
[SetUp]
public void SetUp()
{
SerilogConfig.Init();
parser = ... | flipbit/whois | Whois.Tests/Parsing/whois.jprs.jp/jp/JpParsingTests.cs | https://github.com/flipbit/whois/blob/HEAD/Whois.Tests/Parsing/whois.jprs.jp/jp/JpParsingTests.cs | ghcode:00163:9436f363d307 | mit | codeparrot/github-code | 9436f363d30700c89ebcc729730b7a8ad2a3a9b1cda245db6b876dd7fa992a7b | 0.85 | testing_debugging_repair_refactoring | 2,863 | false | 2026-07-17 |
using System;
using Ploeh.AutoFixture.Kernel;
using Xunit;
namespace Ploeh.AutoFixtureUnitTest.Kernel
{
public class NoSpecimenTest
{
[Fact]
public void DefaultConstructorWillSetRequestToNull()
{
// Fixture setup
var sut = new NoSpecimen();
... | dlongest/AutoFixture | Src/AutoFixtureUnitTest/Kernel/NoSpecimenTest.cs | https://github.com/dlongest/AutoFixture/blob/HEAD/Src/AutoFixtureUnitTest/Kernel/NoSpecimenTest.cs | ghcode:00163:ae3e0101bf2f | mit | codeparrot/github-code | ae3e0101bf2fd3e2e96d5e9333ce7ff1d52368e8944d8325e0b285e26bb855e0 | 0.7 | testing_debugging_repair_refactoring | 1,456 | 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.IO;
using System.Net.Http;
using System.Net... | ravimeda/corefx | src/System.Net.WebSockets.Client/src/System/Net/WebSockets/WebSocketHandle.Managed.cs | https://github.com/ravimeda/corefx/blob/HEAD/src/System.Net.WebSockets.Client/src/System/Net/WebSockets/WebSocketHandle.Managed.cs | ghcode:00163:0e373e172aa6 | mit | codeparrot/github-code | 0e373e172aa6671d8bd37e4a30cab86be8ad9d1af15f70a7b7f5790f19cbe56f | 0.95 | testing_debugging_repair_refactoring | 2,142 | false | 2026-07-17 |
using QUnit;
using Serenity;
using System;
using System.Html;
namespace Serenity.Test
{
[TestFixture]
public class QCultureTests
{
[Test]
public void CultureDateSeparatorCanBeSet()
{
// to check script name safety
var qCulture = Window.Instance... | TukekeSoft/Serenity | Serenity.Script.Test/Q/QCultureTests.cs | https://github.com/TukekeSoft/Serenity/blob/HEAD/Serenity.Script.Test/Q/QCultureTests.cs | ghcode:00163:ed45bb9493df | mit | codeparrot/github-code | ed45bb9493dfdbae750a484ed0a5641c062e8d07f6f68bbc006ec0fec9994e53 | 0.85 | testing_debugging_repair_refactoring | 671 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
public class PTest10
{
protected Board board;
protected InputGenerator inputGenerator;
protected class InputGenerator
{
private int[] damage = { 3, 4, 5, 6, 7, 8, 10, 9 };
... | MihailDobrev/SoftUni | Open Courses/Data Structures/Practical Exam 24.02.2019/Hearthstone/Hearthstone.Tests/Performance/PTest10.cs | https://github.com/MihailDobrev/SoftUni/blob/HEAD/Open Courses/Data Structures/Practical Exam 24.02.2019/Hearthstone/Hearthstone.Tests/Performance/PTest10.cs | ghcode:00163:5c66b5ac9240 | mit | codeparrot/github-code | 5c66b5ac9240215b47aa7562ad1295074113d8d6fbfa0f624deb1b050fefe8e6 | 0.75 | testing_debugging_repair_refactoring | 453 | 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.Core.Test/System.String/String.RemoveLetter.cs | https://github.com/mario-loza/Z.ExtensionMethods/blob/HEAD/test/Z.Core.Test/System.String/String.RemoveLetter.cs | ghcode:00163:0208bbacba6b | mit | codeparrot/github-code | 0208bbacba6b2a84da14ab491c6d95edfa7bb013e263eab128ee43f60a3f2507 | 0.7 | testing_debugging_repair_refactoring | 190 | 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.IO;
using System.Text;
using Xunit;
namespace System.Security.Crypto... | rahku/corefx | src/System.Security.Cryptography.X509Certificates/tests/ChainTests.cs | https://github.com/rahku/corefx/blob/HEAD/src/System.Security.Cryptography.X509Certificates/tests/ChainTests.cs | ghcode:00163:273e087e9d6e | mit | codeparrot/github-code | 273e087e9d6e998b2d2005c16fd62f43028259dff9b2a265ace5efa763d78b46 | 0.95 | testing_debugging_repair_refactoring | 5,651 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace LiteDB.Tests.Mapper
{
#region Model
public class DataRecord
{
public Guid Id { get; set; }
public string Value { get; set; }
}
#endreg... | 89sos98/LiteDB | LiteDB.Tests/Mapper/Mapper_Exceptions_Tests.cs | https://github.com/89sos98/LiteDB/blob/HEAD/LiteDB.Tests/Mapper/Mapper_Exceptions_Tests.cs | ghcode:00163:a84d1508e115 | mit | codeparrot/github-code | a84d1508e115b694a44c2cb83842d36f005ac17be1bc53e433f9614bcf459495 | 0.75 | testing_debugging_repair_refactoring | 198 | false | 2026-07-17 |
using System;
using Newtonsoft.Json;
using Xunit;
namespace GridDomain.Tests.Unit.Serialization
{
public class Private_setters_without_parameter_in_constructor_deserialization
{
private class TestClass
{
public TestClass(string name)
{
Name = name;
... | linkelf/GridDomain | GridDomain.Tests.Unit/Serialization/Private_setters_without_parameter_in_constructor_deserialization.cs | https://github.com/linkelf/GridDomain/blob/HEAD/GridDomain.Tests.Unit/Serialization/Private_setters_without_parameter_in_constructor_deserialization.cs | ghcode:00163:55e55d2ddc65 | apache-2.0 | codeparrot/github-code | 55e55d2ddc65b10fbdf0e2f97b65aa66b196d0d7a50da351f86ac7e87859ac20 | 0.75 | testing_debugging_repair_refactoring | 179 | false | 2026-07-17 |
//
// Copyright (C) DataStax Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | datastax/csharp-driver | src/Cassandra.IntegrationTests/Mapping/Tests/CreateTable.cs | https://github.com/datastax/csharp-driver/blob/HEAD/src/Cassandra.IntegrationTests/Mapping/Tests/CreateTable.cs | ghcode:00163:bc39dd98e778 | apache-2.0 | codeparrot/github-code | bc39dd98e778eeeb583ff783abac22e9baf9733ee87773e0804b061a3aa1ea61 | 0.95 | testing_debugging_repair_refactoring | 1,195 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Diagnostics;
using System.Xml;
using NUnit.Framework;
using StructureMap.Graph;
using StructureMap.Pipeline;
using StructureMap.Source;
using StructureMap.Testing.TestData;
namespace StructureMap.Testing.Configuration
{
[TestFixture]
public class Dicti... | chester89/structuremap-35-client | Source/StructureMap.Testing/Configuration/DictionaryAndArrayArgumentTester.cs | https://github.com/chester89/structuremap-35-client/blob/HEAD/Source/StructureMap.Testing/Configuration/DictionaryAndArrayArgumentTester.cs | ghcode:00163:43913925ab45 | apache-2.0 | codeparrot/github-code | 43913925ab45f6ac292bb830d3909e90a2ed2f29ad8b6468377f2a425c3dd723 | 0.6 | testing_debugging_repair_refactoring | 842 | false | 2026-07-17 |
using System;
using Bridge.Test.NUnit;
namespace Bridge.ClientTest.Batch3.BridgeIssues
{
[Category(Constants.MODULE_ISSUES)]
[TestFixture(TestNameFormat = "#2446 - {0}")]
public class Bridge2446
{
[Test]
public static void TestDoubleMinValue()
{
Assert.AreEqual(doubl... | AndreyZM/Bridge | Tests/Batch3/BridgeIssues/2400/N2446.cs | https://github.com/AndreyZM/Bridge/blob/HEAD/Tests/Batch3/BridgeIssues/2400/N2446.cs | ghcode:00163:0f00ce5eb33e | apache-2.0 | codeparrot/github-code | 0f00ce5eb33e926c8206bba38159300660c77465f3412dd99fefc9c2fd2dffb1 | 0.75 | testing_debugging_repair_refactoring | 332 | false | 2026-07-17 |
// Copyright © Microsoft Corporation. All Rights Reserved.
// This code released under the terms of the
// Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.)
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.Diagnosti... | adamdriscoll/TfsIntegrationPlatform | IntegrationPlatform/Adapters/TFS/Tfs2010VCAdapter/TfsVCSyncMonitorProvider.cs | https://github.com/adamdriscoll/TfsIntegrationPlatform/blob/HEAD/IntegrationPlatform/Adapters/TFS/Tfs2010VCAdapter/TfsVCSyncMonitorProvider.cs | ghcode:00163:bef30e5e34b8 | mit | codeparrot/github-code | bef30e5e34b8a0d42147dae81d3831c39e725ef60cb6d208bdddbfc131561f51 | 0.85 | testing_debugging_repair_refactoring | 1,115 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Nest.Tests.MockData.Domain
{
public class Person
{
public int Id { get; set; }
[ElasticProperty(Index = FieldIndexOption.analyzed)]
public string FirstName { get; set; }
[ElasticProperty(Index = FieldIndexOption.... | NickCraver/NEST | src/Tests/Nest.Tests.MockData/Domain/Person.cs | https://github.com/NickCraver/NEST/blob/HEAD/src/Tests/Nest.Tests.MockData/Domain/Person.cs | ghcode:00163:2126a4d24e75 | apache-2.0 | codeparrot/github-code | 2126a4d24e75d5b3c2c4c82c89560423f77993dfaa719933b3120e4f989eee08 | 0.85 | testing_debugging_repair_refactoring | 132 | false | 2026-07-17 |
using Apache.NMS.Util;
using System;
using System.Threading;
using Lucene.Net.Documents;
namespace Lucene.Net.Index
{
using Lucene.Net.Randomized.Generators;
using Lucene.Net.Support;
using NUnit.Framework;
using System.IO;
using BytesRef = Lucene.Net.Util.BytesRef;
using Directory = Lucene.Net... | zmaruo/lucenenet | src/Lucene.Net.Tests/core/Index/TestIndexWriterNRTIsCurrent.cs | https://github.com/zmaruo/lucenenet/blob/HEAD/src/Lucene.Net.Tests/core/Index/TestIndexWriterNRTIsCurrent.cs | ghcode:00163:546d4d574894 | apache-2.0 | codeparrot/github-code | 546d4d574894c4fb3b1e6236446184158241660854f9a8f19d3db1593a1960b4 | 0.75 | testing_debugging_repair_refactoring | 1,473 | false | 2026-07-17 |
/* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice... | huizh/xenadmin | XenAdminTests/UnitTests/WlbTests/WlbPoolConfigurationTests.cs | https://github.com/huizh/xenadmin/blob/HEAD/XenAdminTests/UnitTests/WlbTests/WlbPoolConfigurationTests.cs | ghcode:00163:11dc4c54fc9b | bsd-2-clause | codeparrot/github-code | 11dc4c54fc9b0825bd310109f666f140507c21693680e59542ff8bd55117fcc9 | 0.78 | testing_debugging_repair_refactoring | 1,944 | false | 2026-07-17 |
using System.Threading.Tasks;
using MahApps.Metro.Controls;
using MahApps.Metro.Tests;
using Xunit;
using MahApps.Metro.Tests.TestHelpers;
namespace Mahapps.Metro.Tests
{
public class AutoWatermarkTest : AutomationTestBase
{
[Fact]
[DisplayTestMethodName]
public async Task TestAutoWate... | jumulr/MahApps.Metro | src/Mahapps.Metro.Tests/Mahapps.Metro.Tests.Shared/Tests/AutoWatermarkTest.cs | https://github.com/jumulr/MahApps.Metro/blob/HEAD/src/Mahapps.Metro.Tests/Mahapps.Metro.Tests.Shared/Tests/AutoWatermarkTest.cs | ghcode:00163:a9cda353f1b4 | mit | codeparrot/github-code | a9cda353f1b4fb5cbf395f80ea6aa1aace206f47574c20c5998ed80f14ce257b | 0.85 | testing_debugging_repair_refactoring | 225 | false | 2026-07-17 |
using NUnit.Framework;
namespace TestSandbox6
{
[TestFixture]
public class Class1
{
[Test]
public void Test()
{
}
}
}
| elv1s42/Sandbox | TestSandbox6/TestSandbox6/Class1.cs | https://github.com/elv1s42/Sandbox/blob/HEAD/TestSandbox6/TestSandbox6/Class1.cs | ghcode:00163:c181a692048d | mit | codeparrot/github-code | c181a692048df2ef6831007686af1713d98ec0c92a2b92fe86cf34a8fbf453ee | 0.35 | testing_debugging_repair_refactoring | 39 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.Net.Http;
using Swashbuckle.Application;
using Swashbuckle.Dummy.Controllers;
using Swashbuckle.Tests.Swagger;
using Swashbuckle.Dummy.SwaggerExtensions;
namespace Swashbuckle.Tests.Swagger
{
[TestFixtu... | davetransom/Swashbuckle | Swashbuckle.Tests/Swagger/XmlCommentsTests.cs | https://github.com/davetransom/Swashbuckle/blob/HEAD/Swashbuckle.Tests/Swagger/XmlCommentsTests.cs | ghcode:00163:256d10f33469 | bsd-3-clause | codeparrot/github-code | 256d10f33469b5cc2d828356a44b1f18b2762ca59f80a8d8259e110ea268c88c | 0.85 | testing_debugging_repair_refactoring | 1,795 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Polly.Specs.Helpers;
using Xunit;
namespace Polly.Specs
{
public class RetryAsyncSpecs
{
[Fact]
public void Should_throw_when_retry_count_is_less_than_one... | cicorias/Polly | src/Polly.Specs/RetryAsyncSpecs.cs | https://github.com/cicorias/Polly/blob/HEAD/src/Polly.Specs/RetryAsyncSpecs.cs | ghcode:00163:9dda8ead1333 | bsd-3-clause | codeparrot/github-code | 9dda8ead1333f53bc38fbede2806dcaa06ec0cf7ec3ad374db77cd8d9bee627e | 0.6 | testing_debugging_repair_refactoring | 1,543 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Net;
using Microsoft.Azure.Management.Network;
using Microsoft.Azure.Management.Network.Models;
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Management.Resources.Models;
using Microsoft.Azure.Test;
using Networks.Tests.Helpers;
using ResourceGroups.Te... | MichaelCommo/azure-sdk-for-net | src/ResourceManagement/Network/Network.Tests/Tests/LoadBalancerTests.cs | https://github.com/MichaelCommo/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/Network/Network.Tests/Tests/LoadBalancerTests.cs | ghcode:00163:295fa7e8c175 | mit | codeparrot/github-code | 295fa7e8c175f156dd9cc6c9894ae9a0edf5c270e1beda8d35c6ace2af4b1b8c | 0.82 | testing_debugging_repair_refactoring | 13,180 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysi... | mavasani/roslyn | src/Compilers/CSharp/Test/Symbol/Symbols/ExtensionMethodTests.cs | https://github.com/mavasani/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/Symbols/ExtensionMethodTests.cs | ghcode:00163:c842f6fd9dbe | mit | codeparrot/github-code | c842f6fd9dbeb7ddeb168b2fe02d9988087cfa68155b65ccdc392801109d1d8e | 0.82 | testing_debugging_repair_refactoring | 36,196 | 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 ... | dpavlenkov/Lean | Tests/Common/Securities/SecurityManagerTests.cs | https://github.com/dpavlenkov/Lean/blob/HEAD/Tests/Common/Securities/SecurityManagerTests.cs | ghcode:00163:145b79673c92 | apache-2.0 | codeparrot/github-code | 145b79673c92474e7d580e2151358fbc6074c317a1f7113ad14514290bef2c85 | 0.75 | testing_debugging_repair_refactoring | 762 | false | 2026-07-17 |
#region Copyright
//
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2014
// by DotNetNuke Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restrict... | raphael-m/Dnn.Platform | DNN Platform/Tests/DotNetNuke.Tests.Utilities/FileAssert.cs | https://github.com/raphael-m/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DotNetNuke.Tests.Utilities/FileAssert.cs | ghcode:00163:20cd27dad7ae | mit | codeparrot/github-code | 20cd27dad7ae7cef06d12bb2e9978cb6d9867d128c870811865da9a4d1c551d1 | 0.95 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="FlowWhereSpec.cs" company="Akka.NET Project">
// Copyright (C) 2015-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//... | derwasp/akka.net | src/core/Akka.Streams.Tests/Dsl/FlowWhereSpec.cs | https://github.com/derwasp/akka.net/blob/HEAD/src/core/Akka.Streams.Tests/Dsl/FlowWhereSpec.cs | ghcode:00163:e5789d030940 | apache-2.0 | codeparrot/github-code | e5789d0309405263c981826f0c73685dcb95a93893f2413ecccca8875edf8c99 | 0.85 | testing_debugging_repair_refactoring | 652 | false | 2026-07-17 |
using Lucene.Net.Index;
using Lucene.Net.Search;
using Lucene.Net.Util;
using NUnit.Framework;
using System;
using System.IO;
using System.Text;
using System.Xml;
namespace Lucene.Net.QueryParsers.Xml.Builders
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor licens... | apache/lucenenet | src/Lucene.Net.Tests.QueryParser/Xml/Builders/TestNumericRangeFilterBuilder.cs | https://github.com/apache/lucenenet/blob/HEAD/src/Lucene.Net.Tests.QueryParser/Xml/Builders/TestNumericRangeFilterBuilder.cs | ghcode:00163:5aab595d3c29 | apache-2.0 | codeparrot/github-code | 5aab595d3c2902f74b01152dbb4265d214e03c261f182854ef957727118fc363 | 0.75 | testing_debugging_repair_refactoring | 2,066 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using AlertsManagement.Tests.Helpers;
using Microsoft.Azure.Management.A... | brjohnstmsft/azure-sdk-for-net | sdk/alertsmanagement/Microsoft.Azure.Management.AlertsManagement/tests/ScenarioTests/ActionRuleTests.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/alertsmanagement/Microsoft.Azure.Management.AlertsManagement/tests/ScenarioTests/ActionRuleTests.cs | ghcode:00163:d5f4ee980a92 | mit | codeparrot/github-code | d5f4ee980a92a5641763c094cdfba2dad2c9787d5c52b04105400ad553e9afc4 | 0.95 | testing_debugging_repair_refactoring | 1,482 | false | 2026-07-17 |
using System.Linq;
using WebStack.QA.Test.OData.Common.Controllers;
using WebStack.QA.Test.OData.Formatter.JsonLight.Metadata.Model;
namespace WebStack.QA.Test.OData.Formatter.JsonLight.Metadata.Controllers
{
public class BaseEntityController : InMemoryEntitySetController<BaseEntity, int>
{
public Bas... | lungisam/WebApi | OData/test/E2ETestV3/WebStack.QA.Test.OData/Formatter/JsonLight/Metadata/Controllers/BaseEntityController.cs | https://github.com/lungisam/WebApi/blob/HEAD/OData/test/E2ETestV3/WebStack.QA.Test.OData/Formatter/JsonLight/Metadata/Controllers/BaseEntityController.cs | ghcode:00163:023dbf187782 | mit | codeparrot/github-code | 023dbf1877822b84286f80ac2a992a16044ac71092d738066be5e05d050df105 | 0.85 | testing_debugging_repair_refactoring | 305 | false | 2026-07-17 |
using System.Linq;
using FluentAssertions;
using NUnit.Framework;
using Saltarelle.Compiler.ScriptSemantics;
namespace Saltarelle.Compiler.Tests.CompilerTests.MethodCompilation.Expressions {
[TestFixture]
public class InvocationTests : MethodCompilerTestBase {
[Test]
public void MethodInvocationWithNoArgumentsW... | jamescourtney/SaltarelleCompiler | Compiler/Saltarelle.Compiler.Tests/CompilerTests/MethodCompilation/Expressions/InvocationTests.cs | https://github.com/jamescourtney/SaltarelleCompiler/blob/HEAD/Compiler/Saltarelle.Compiler.Tests/CompilerTests/MethodCompilation/Expressions/InvocationTests.cs | ghcode:00163:6e411ae5ab16 | apache-2.0 | codeparrot/github-code | 6e411ae5ab167ebfcf7582a3bc4c8968c3b5e4c4b1a17089aea38b3520a71509 | 0.72 | testing_debugging_repair_refactoring | 20,283 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Collections.ObjectModel;
using System.Linq;
using Microsoft.... | OmarTawfik/roslyn | src/ExpressionEvaluator/CSharp/Test/ExpressionCompiler/DynamicTests.cs | https://github.com/OmarTawfik/roslyn/blob/HEAD/src/ExpressionEvaluator/CSharp/Test/ExpressionCompiler/DynamicTests.cs | ghcode:00163:9c2ccb9fb68b | apache-2.0 | codeparrot/github-code | 9c2ccb9fb68b571eec051b8642477d4945cba651086f4644797e83e233c03a9c | 0.82 | testing_debugging_repair_refactoring | 18,712 | 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... | samaitra/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/CacheAffinityParityTest.cs | https://github.com/samaitra/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/CacheAffinityParityTest.cs | ghcode:00163:f78b62942199 | apache-2.0 | codeparrot/github-code | f78b629421992fdc9dc7f32559b4561273a779a49dd367f4774b2546c97b4cd4 | 0.85 | testing_debugging_repair_refactoring | 326 | 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 ... | samaitra/ignite | modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/BinaryWriterExtensions.cs | https://github.com/samaitra/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/BinaryWriterExtensions.cs | ghcode:00163:83984b880ff4 | apache-2.0 | codeparrot/github-code | 83984b880ff4626ae7a0d5b1a99aeb6b1471ec0295eb22fd8252710ba60592b4 | 0.85 | testing_debugging_repair_refactoring | 1,599 | 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.
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// GroupByQueryOperator... | shimingsg/corefx | src/System.Linq.Parallel/src/System/Linq/Parallel/QueryOperators/Unary/GroupByQueryOperator.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Linq.Parallel/src/System/Linq/Parallel/QueryOperators/Unary/GroupByQueryOperator.cs | ghcode:00163:96fd71706851 | mit | codeparrot/github-code | 96fd717068517ca1a784a7f8b22bada253c34233ce0b683b1ed85e2dc2a95e10 | 0.95 | testing_debugging_repair_refactoring | 6,594 | 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.Text;
using System.Collections;
using System.IO;
using System.Globalization;
using System... | Jiayili1/corefx | src/System.Private.Xml/src/System/Xml/Serialization/CodeIdentifier.cs | https://github.com/Jiayili1/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/Serialization/CodeIdentifier.cs | ghcode:00163:f040cccca9eb | mit | codeparrot/github-code | f040cccca9ebe68b7cccc9394c8889172ac44d9ca71ebe15f59f810fe1413075 | 0.95 | testing_debugging_repair_refactoring | 1,885 | 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 Cake.Core;
using Cake.Core.Polyfill;
using Xunit;
namespace Cake.Testing.Xunit
{
public sealed class Win... | michael-wolfenden/cake | src/Cake.Testing.Xunit/WindowsFact.cs | https://github.com/michael-wolfenden/cake/blob/HEAD/src/Cake.Testing.Xunit/WindowsFact.cs | ghcode:00163:08676a78c11d | mit | codeparrot/github-code | 08676a78c11d57e1cb76e67d9b94173b983ea149ae4c5fe703e4261651c8f727 | 0.85 | testing_debugging_repair_refactoring | 150 | 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.IO;
using Xunit;
namespace System.IO.Tests
{
public class TestLeaveOpen
{
protected vi... | ellismg/corefx | src/System.IO/tests/Stream/Stream.TestLeaveOpen.cs | https://github.com/ellismg/corefx/blob/HEAD/src/System.IO/tests/Stream/Stream.TestLeaveOpen.cs | ghcode:00163:091cea3845c9 | mit | codeparrot/github-code | 091cea3845c96c31e0734b47e91c2cf9e5c9629ce5f212a6d0879e574e4eb121 | 0.95 | testing_debugging_repair_refactoring | 985 | 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... | praveennet/azure-powershell | src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/RemoveAzureSqlDatabaseTests.cs | https://github.com/praveennet/azure-powershell/blob/HEAD/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/RemoveAzureSqlDatabaseTests.cs | ghcode:00163:45873ce53dff | apache-2.0 | codeparrot/github-code | 45873ce53dff2f4ae5a80ea9f6df2e99112871cdcb81310f9895253f330357ad | 0.85 | testing_debugging_repair_refactoring | 726 | 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 Xunit;
namespace System.Reflection.Emit.Tests
{
public class ConstructorBuilderToString
... | vs-team/corefx | src/System.Reflection.Emit/tests/ConstructorBuilder/ConstructorBuilderToString.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Reflection.Emit/tests/ConstructorBuilder/ConstructorBuilderToString.cs | ghcode:00163:efca956d9900 | mit | codeparrot/github-code | efca956d99000fc6417c6dc3b2d026d8d658ca101f1ecd67e605e0b030e16bf1 | 0.85 | testing_debugging_repair_refactoring | 338 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace SampleDynamicTests
{
public class Animal
{
}
public class Tiger : Animal
... | nbarbettini/corefx | src/System.Dynamic.Runtime/tests/Dynamic.Simple/VarianceTest.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Dynamic.Runtime/tests/Dynamic.Simple/VarianceTest.cs | ghcode:00163:c3d7b96ee94f | mit | codeparrot/github-code | c3d7b96ee94f1344d0937008dbc49adb7e1b612d723610723904f7b04571ba7d | 0.95 | testing_debugging_repair_refactoring | 178 | false | 2026-07-17 |
namespace Jwc.Experiment
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Moq;
using Ploeh.Albedo;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Kernel;
using global::Xunit;
using global::Xunit.Extensions;
public class M... | jwChung/Experimentalism | test/Experiment.Idioms.UnitTest/MemberReferenceCollectorTest.cs | https://github.com/jwChung/Experimentalism/blob/HEAD/test/Experiment.Idioms.UnitTest/MemberReferenceCollectorTest.cs | ghcode:00163:d85f318b728a | mit | codeparrot/github-code | d85f318b728a1b8f3672f100937d236a36834c59badd2422bb3fe7386efc0b3b | 0.75 | testing_debugging_repair_refactoring | 1,780 | false | 2026-07-17 |
#region Licence
// The MIT License
//
// Copyright (c) 2011 Julien Blin, julien.blin@gmail.com
//
// 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... | julienblin/Remora | src/Remora.Tests/Pipeline/AbstractPipelineComponentTest.cs | https://github.com/julienblin/Remora/blob/HEAD/src/Remora.Tests/Pipeline/AbstractPipelineComponentTest.cs | ghcode:00163:07602a8ef9bf | mit | codeparrot/github-code | 07602a8ef9bf83514410b4fc738aa89167acb18205858453b2b4d201426df092 | 0.7 | testing_debugging_repair_refactoring | 472 | false | 2026-07-17 |
#pragma warning disable 0649
using UnityEngine;
public enum CrewAssignment
{
Unassigned,
Passenger,
Captain,
}
[CreateAssetMenu(menuName = "SpaceTrader/Crew/Crew Member")]
public class CrewMember : ScriptableObject
{
[SerializeField]
private Sprite portrait;
[Header("Skill Points")]
[Se... | spriest487/spacetrader-unity | Assets/Crew/CrewMember.cs | https://github.com/spriest487/spacetrader-unity/blob/HEAD/Assets/Crew/CrewMember.cs | ghcode:00163:f50f080238e1 | mit | codeparrot/github-code | f50f080238e1eb7be6114353a67edaf380666a3ecddd9b8c5e18e311166a5ff6 | 0.6 | testing_debugging_repair_refactoring | 816 | false | 2026-07-17 |
using Academy.Commands.Adding;
using Academy.Core.Contracts;
using Moq;
using NUnit.Framework;
using System;
namespace Academy.NewTests.Commands.Adding
{
[TestFixture]
public class AddStudentToCourseCommand_Should
{
[Test]
public void ShouldThrowArgumentNullException_WhenFactoryAProvider... | VVoev/Telerik-Academy | 07.Unit Testing with C#/05. Workshop (Students)/Academy/Workshop/Academy.NewTests/Commands/Adding/AddStudentToCourseCommand_Should.cs | https://github.com/VVoev/Telerik-Academy/blob/HEAD/07.Unit Testing with C#/05. Workshop (Students)/Academy/Workshop/Academy.NewTests/Commands/Adding/AddStudentToCourseCommand_Should.cs | ghcode:00163:21665233e8a3 | mit | codeparrot/github-code | 21665233e8a315546edd29a05bbe4a20c3e680f2f143152532c8ea6ff6891577 | 0.75 | testing_debugging_repair_refactoring | 376 | false | 2026-07-17 |
using abremir.AllMyBricks.Data.Enumerations;
using abremir.AllMyBricks.Data.Interfaces;
using abremir.AllMyBricks.DataSynchronizer.Events.UserSynchronizationService;
using abremir.AllMyBricks.DataSynchronizer.Interfaces;
using abremir.AllMyBricks.DataSynchronizer.Services;
using abremir.AllMyBricks.Onboarding.Interfac... | zmira/abremir.AllMyBricks | abremir.AllMyBricks.DataSynchronizer.Tests/Services/UserSynchronizationServiceTests.cs | https://github.com/zmira/abremir.AllMyBricks/blob/HEAD/abremir.AllMyBricks.DataSynchronizer.Tests/Services/UserSynchronizationServiceTests.cs | ghcode:00163:0ac52acffe7d | mit | codeparrot/github-code | 0ac52acffe7d99cba675e46c24304fafd320c0a9bbff01ebc5c86c3cdcb501f9 | 0.75 | testing_debugging_repair_refactoring | 2,953 | false | 2026-07-17 |
using Azure.ResourceManager.Resources.Models;
using NUnit.Framework;
using System;
namespace Azure.ResourceManager.Tests
{
[Parallelizable]
public class LocationTests
{
[TestCase("westus", "westus", "west-us", "West US")]
[TestCase("west-us", "westus", "west-us", "West US")]
[TestC... | AsrOneSdk/azure-sdk-for-net | sdk/resourcemanager/Azure.ResourceManager/tests/Unit/LocationTests.cs | https://github.com/AsrOneSdk/azure-sdk-for-net/blob/HEAD/sdk/resourcemanager/Azure.ResourceManager/tests/Unit/LocationTests.cs | ghcode:00163:a3d85c189dfc | mit | codeparrot/github-code | a3d85c189dfc68886d8867b08ecb1622f53525c9dc90463bdf59cd8f9d7367d8 | 0.85 | testing_debugging_repair_refactoring | 2,860 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using RiotSharp.Caching;
using RiotSharp.Endpoints.Interfaces;
using RiotSharp.Endpoints.MatchEndpoint;
using RiotSharp.Http.Interfaces;
using RiotSharp.Misc;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Ri... | BenFradet/RiotSharp | RiotSharp.Test/EndpointTests/MatchEndpointTests.cs | https://github.com/BenFradet/RiotSharp/blob/HEAD/RiotSharp.Test/EndpointTests/MatchEndpointTests.cs | ghcode:00163:97e9420a4747 | mit | codeparrot/github-code | 97e9420a47473ca9f2d4c6afd2cefc3bc8f07138b71e39fb1cdbff6481d9985b | 0.75 | testing_debugging_repair_refactoring | 323 | false | 2026-07-17 |
using NUnit.Framework;
using TestStack.Seleno.BrowserStack.Core.Configuration;
using TestStack.Seleno.Configuration.Contracts;
namespace BlogUnitTests
{
[SetUpFixture]
public class BrowserStackLocalServerRunner
{
private static readonly IConfigurationProvider Configuration = new ConfigurationProvid... | Team-Kumquat/SoftUni-QA-Blog | testcommit/BlogUnitTests/BrowserStackLocalServerRunner.cs | https://github.com/Team-Kumquat/SoftUni-QA-Blog/blob/HEAD/testcommit/BlogUnitTests/BrowserStackLocalServerRunner.cs | ghcode:00163:b1154998b075 | mit | codeparrot/github-code | b1154998b0752c077d225ec2946f4825ba52cf1c0cbc999fcbd439479e5461f9 | 0.75 | testing_debugging_repair_refactoring | 157 | false | 2026-07-17 |
using System;
using Xunit;
using ISTS.Domain.Common;
namespace ISTS.Domain.Test.Common
{
public class BillingRateTests
{
[Fact]
public void BillingRate_None_Returns_Default_None()
{
var none = BillingRate.None;
Assert.Equal(BillingRate.NoneType, none.Name);
... | meutley/ISTS | src/Domain.Test/Common/BillingRateTests.cs | https://github.com/meutley/ISTS/blob/HEAD/src/Domain.Test/Common/BillingRateTests.cs | ghcode:00163:1f58588b9dcc | mit | codeparrot/github-code | 1f58588b9dccb64494e9e818f1597ec0e1af1a458ab22326af745a306f54ef31 | 0.75 | testing_debugging_repair_refactoring | 245 | false | 2026-07-17 |
using MusicLibrary.Models;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MusicLibrary.Tests.Models
{
[TestFixture]
public class UserModel_Should
{
[Test]
public void HaveParametlessConstr... | bbojkov/MushroomMusicLibrary | MusicLibrary.Tests/Models/UserModel_Should.cs | https://github.com/bbojkov/MushroomMusicLibrary/blob/HEAD/MusicLibrary.Tests/Models/UserModel_Should.cs | ghcode:00163:8e6696ba272f | mit | codeparrot/github-code | 8e6696ba272fcf5588a5c974b4cca03bfd7e5c5c17b4f4150853a1e24464f137 | 0.6 | testing_debugging_repair_refactoring | 397 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DartSharp.Commands;
using DartSharp.Expressions;
namespace DartSharp.Tests.Commands
{
[TestClass]
public class ReturnCommandTests
{
[TestMeth... | ajlopez/DartSharp | Src/DartSharp.Tests/Commands/ReturnCommandTests.cs | https://github.com/ajlopez/DartSharp/blob/HEAD/Src/DartSharp.Tests/Commands/ReturnCommandTests.cs | ghcode:00163:794351181c60 | mit | codeparrot/github-code | 794351181c60ab7ab5dd315631a524bcab4aa62160e203ce06208dc58d5489e7 | 0.75 | testing_debugging_repair_refactoring | 134 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Vulnerator.Model.Entity
{
public class TestScheduleItem : INotifyPropertyChanged
{
public event... | Vulnerator/Vulnerator | Model/Entity/TestScheduleItem.cs | https://github.com/Vulnerator/Vulnerator/blob/HEAD/Model/Entity/TestScheduleItem.cs | ghcode:00163:cad59baa14b5 | mit | codeparrot/github-code | cad59baa14b5967ff6dc55ccedbc763c1380cb3950bb274a8c169548dfdd4656 | 0.75 | testing_debugging_repair_refactoring | 239 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.Extensions.Logging;
using System;
namespace LogShark.Tests.E2E
{
class TestLogger : ILogger
{
public IDisposable BeginScope<TState>(TState state)
{
return null;
}
public bool IsEnabled(LogLevel logLevel)
{
... | tableau/Logshark | Logshark.Tests/E2E/TestLogger.cs | https://github.com/tableau/Logshark/blob/HEAD/Logshark.Tests/E2E/TestLogger.cs | ghcode:00163:8b4831296667 | mit | codeparrot/github-code | 8b483129666793ba329f86fa98442284d6a7b8380007c15a3a10ddc8cc1888e9 | 0.75 | testing_debugging_repair_refactoring | 173 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Diagnostics;
using Org.BouncyCastle.Asn1.X9;
using Org.BouncyCastle.Math.EC.Multiplier;
namespace Org.BouncyCastle.Math.EC
{
/**
* base class for points on elliptic curves.
*/
public abstract class ECPoint
{
internal readonly ECCurve curve;
internal r... | maurobennici/LicenseOn | crypto/src/math/ec/ECPoint.cs | https://github.com/maurobennici/LicenseOn/blob/HEAD/crypto/src/math/ec/ECPoint.cs | ghcode:00163:d17af8b0c38c | mit | codeparrot/github-code | d17af8b0c38c6a22b347e2b3c92af3620d87863913c50de6c2dd1c7ceeb77976 | 0.8 | testing_debugging_repair_refactoring | 4,106 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Collections.Specialized.Tests
{
public class GetSyncRootNameObjectCollectionBaseT... | cartermp/corefx | src/System.Collections.Specialized/tests/NameObjectCollectionBase/GetSyncRootTests.cs | https://github.com/cartermp/corefx/blob/HEAD/src/System.Collections.Specialized/tests/NameObjectCollectionBase/GetSyncRootTests.cs | ghcode:00163:6d733e97e923 | mit | codeparrot/github-code | 6d733e97e92331d5451cb45ec2a0ca2f32f2321bdcde58273e453c748710da9b | 0.95 | testing_debugging_repair_refactoring | 156 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Vipr.Writer.CSharp.Lite.Settings;
using Microsoft.Its.Recipes;
using Microsoft.MockService;
using Microsoft.MockService.Extensions.ODataV4;
using Microsoft.OData.ProxyExtensions.Lite;
using Moq;
using Vipr.Core;
using Vi... | v-am/Vipr | test/CSharpLiteWriterUnitTests/Given_an_OdcmClass_Entity_Navigation_Property_Instance_forced_to_pascal_case.cs | https://github.com/v-am/Vipr/blob/HEAD/test/CSharpLiteWriterUnitTests/Given_an_OdcmClass_Entity_Navigation_Property_Instance_forced_to_pascal_case.cs | ghcode:00163:1d6c52e06a6b | mit | codeparrot/github-code | 1d6c52e06a6bd3d2beed08de11cdbec24d1a08dd4683f3a2fd3c317794f5bfaf | 0.6 | testing_debugging_repair_refactoring | 1,137 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LagoVista.IoT.DeviceAdmin.Tests.ValidationTests
{
[TestClass]
public class StateMachineValidation : NodeBaseTests
{
[Tes... | LagoVista/DeviceAdmin | tests/LagoVista.IoT.DeviceAdmin.Tests/ValidationTests/StateMachineValidation.cs | https://github.com/LagoVista/DeviceAdmin/blob/HEAD/tests/LagoVista.IoT.DeviceAdmin.Tests/ValidationTests/StateMachineValidation.cs | ghcode:00163:21edb612bfc3 | mit | codeparrot/github-code | 21edb612bfc39ea6c1fd67a3918ab54db61c09e3cfa698b4d8ae312987eea84b | 0.6 | testing_debugging_repair_refactoring | 309 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Vici.Core.Test
{
[TestFixture]
public class StringConverterPluginTest
{
private class Custom1
{
public readonly string Content;
public Custom1(string content)
{
Content = content;
... | viciproject/core | Test/Tests/StringConverter/StringConverterPluginTest.cs | https://github.com/viciproject/core/blob/HEAD/Test/Tests/StringConverter/StringConverterPluginTest.cs | ghcode:00163:936efaa05f53 | mit | codeparrot/github-code | 936efaa05f53cb9e748be951c85a3b5e9311f573381787216797717ef47d46be | 0.85 | testing_debugging_repair_refactoring | 473 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.